[BZ 21340] add support for POSIX_SPAWN_SETSID
[glibc.git] / ChangeLog
blob449c6a282b048d7ad045b236d9cae515373516e4
1 2017-04-24  Daurnimator  <quae@daurnimator.com>
2             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4         [BZ #21340]
5         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
7         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
8         valid flags.
9         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
10         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
11         POSIX_SPAWN_SETSID.
12         * sysdeps/posix/spawni.c (__spawni): Likewise.
13         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14         * NEWS: Add note about POSIX_SPAWN_SETSID support.
16 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18         * sysdeps/generic/math_private.h: Move the declaration of many
19         functions to sysdeps/generic/math_private_calls.h.
20         * sysdeps/generic/math_private_calls.h: New file with the
21         declarations of the functions removed from math_private.h
22         macroized by floating-point type.
24 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
26         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
27         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
28         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
29         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
30         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
31         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
33 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
35         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
36         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
37         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
38         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
39         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
40         New Define.
42 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
44         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
45         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
46         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
47         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
48         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
49         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
51 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
53         * sysdeps/s390/multiarch/ifunc-resolve.h
54         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
55         * sysdeps/s390/multiarch/8bit-generic.c
56         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
57         define ifunc resolvers.
59 2017-04-21  Florian Weimer  <fweimer@redhat.com>
61         [BZ #20424]
62         * manual/memory.texi (Replacing malloc): New section.
63         (Allocating Storage For Program Data): Reference it.
64         (The GNU Allocator): Likewise.
66 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
68         * stdlib/Versions (__strtod_internal): List explicitly, not as
69         wildcard.
70         (__strtof_internal): Likewise.
71         (__strtold_internal): Likewise.
72         (__strtol_internal): Likewise.
73         (__strtoll_internal): Likewise.
74         (__strtoul_internal): Likewise.
75         (__strtoull_internal): Likewise.
76         (__strtoq_internal): Likewise.
77         (__strtouq_internal): Likewise.
78         * wcsmbs/Versions (__wcstod_internal): Likewise.
79         (__wcstof_internal): Likewise.
80         (__wcstold_internal): Likewise.
81         (__wcstol_internal): Likewise.
82         (__wcstoll_internal): Likewise.
83         (__wcstoul_internal): Likewise.
84         (__wcstoull_internal): Likewise.
86 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
88         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
89         struct timespec definition.
91 2017-04-19  Florian Weimer  <fweimer@redhat.com>
93         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
95 2017-04-19  Florian Weimer  <fweimer@redhat.com>
97         * inet/rcmd.c (rresvport_af): Fix typo in comment.
98         * inet/rexec.c (rexec_af): Likewise.
100 2017-04-19  Zack Weinberg  <zackw@panix.com>
102         * posix/tst-mmap-offset.c: Include stdint.h.
103         * resolv/tst-ns_name_compress.c: Include string.h.
104         * resolv/tst-resolv-edns.c: Include resolv.h.
106 2017-04-19  Florian Weimer  <fweimer@redhat.com>
108         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
109         with __glibc_likely.
110         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
111         Replace __builtin_expect with __glibc_unlikely.
112         * resolv/res_init.c (__res_vinit): Likewise.
113         * resolv/res_query.c (__libc_res_nquery): Likewise.
114         * resolv/res_send.c (__libc_res_nsend): Likewise.
116 2017-04-19  Florian Weimer  <fweimer@redhat.com>
118         [BZ #15722]
119         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
120         with SOCK_CLOEXEC.
121         * resolv/res_send.c (send_vc, reopen): Likewise.
122         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
123         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
124         Likewise.
125         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
126         * inet/rexec.c (rexec_af): Add comment.
127         * inet/rcmd.c (rresvport_af): Likewise.
129 2017-04-19  Florian Weimer  <fweimer@redhat.com>
131         * nscd/connections.c (have_accept4): Removed definition.
132         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
133         accept4 works.
134         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
135         ia64 because that was the first version with accept4 support.
136         * support/Makefile (libsupport-routines): Add xaccept4.
137         * support/xsocket.h (xaccept4): Declare.
138         * support/xaccept4.c: New file.
139         * socket/tst-accept4.c: New file.
140         * socket/Makefile (tests): Add tst-accept4.
141         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
142         definition.
143         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
144         comment.
145         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
146         implementation is available.
147         (accept4): Use the system call if available, otherwise use the
148         socket call.
149         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
150         Set to 3.2.18.
151         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
152         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
153         accept4 is unconditionally available in later 3.2 stable kernels.
154         (__ASSUME_ACCEPT4_SYSCALL): Define.
155         * sysdeps/unix/sysv/linux/kernel-features.h
156         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
157         definitions.
158         * sysdeps/unix/sysv/linux/i386/kernel-features.h
159         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
161 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
163         * conform/Makefile (tests-special): Do not make addition of
164         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
165         (generated): Do not make addition of $(conformtest-header-base)
166         conditional on [$(cross-compiling) = no].
168         [BZ #21267]
169         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
170         if defined by <asm/socket.h> and not previously defined.
171         (IOCSIZE_SHIFT): Likewise.
172         (IOC_IN): Likewise.
173         (IOC_INOUT): Likewise.
174         (IOC_OUT): Likewise.
176 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
178         [BZ #21396]
179         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
180         Prefer_No_AVX512 if AVX512ER isn't available.
181         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
182         (index_arch_Prefer_No_AVX512): Likewise.
183         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
184         AVX512 version if Prefer_No_AVX512 is set.
185         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
186         Likewise.
187         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
188         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
189         Likewise.
190         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
191         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
192         Likewise.
193         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
194         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
195         Likewise.
197 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
199         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
200         Prefer_No_VZEROUPPER if AVX512ER is available.
201         * sysdeps/x86/cpu-features.h
202         (bit_cpu_AVX512PF): New.
203         (bit_cpu_AVX512ER): Likewise.
204         (bit_cpu_AVX512CD): Likewise.
205         (bit_cpu_AVX512BW): Likewise.
206         (bit_cpu_AVX512VL): Likewise.
207         (index_cpu_AVX512PF): Likewise.
208         (index_cpu_AVX512ER): Likewise.
209         (index_cpu_AVX512CD): Likewise.
210         (index_cpu_AVX512BW): Likewise.
211         (index_cpu_AVX512VL): Likewise.
212         (reg_AVX512PF): Likewise.
213         (reg_AVX512ER): Likewise.
214         (reg_AVX512CD): Likewise.
215         (reg_AVX512BW): Likewise.
216         (reg_AVX512VL): Likewise.
218 2017-04-18  Florian Weimer  <fweimer@redhat.com>
220         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
221         O_CLOEXEC is defined.
222         * include/fcntl.h (__have_o_cloexec): Remove declaration.
223         * io/Makefile (aux): Remove.
224         * io/have_o_cloexec.c: Remove file.
225         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
226         defined and works.
227         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
228         defined.
229         * login/utmp_file.c (O_flags): Remove definition.
230         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
231         O_CLOEXEC works.
232         (pututline_file): Likewise.
233         * malloc/mtrace.c: Assume that O_CLOEXEC works.
234         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
235         definition.
236         (internal_setgrent): Assume that O_CLOEXEC works.
237         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
238         Remove definition.
239         (internal_setgrent): Assume that O_CLOEXEC works.
240         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
241         definition.
242         (internal_setpwent): Assume that O_CLOEXEC works.
243         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
244         definition.
245         (internal_setspent): Assume that O_CLOEXEC works.
246         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
247         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
248         O_CLOEXEC is defined and works.
249         * nss/Makefile (libnss_files-routines): Remove
250         files-have_o_cloexec.
251         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
252         defined.
253         * nss/nss_files/files-XXX.c (internal_setent): Assume that
254         O_CLOEXEC is defined and works.
255         * nss/nss_files/files-alias.c (internal_setent): Likewise.
256         * nss/nss_files/files-have_o_cloexec.c: Remove.
257         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
258         defined.
259         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
260         and works.
261         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
262         definition.
263         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
264         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
265         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
266         (__opendirat, __opendir): Adjust opendir_oflags call.
267         (check_have_o_cloexec): Remove.
268         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
269         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
270         defined.
271         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
272         Remove definition.
274 2017-04-18  Florian Weimer  <fweimer@redhat.com>
276         * include/unistd.h (__have_dup3): Remove declaration.
277         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
278         dup3 is available.
279         * libio/freopen64.c (freopen64): Likewise.
280         * socket/Makefile (aux): Remove have_sock_cloexec.
281         * socket/have_sock_cloexec.c: Remove file.
282         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
283         definition.
284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
285         Likewise.
286         * sysdeps/nacl/kernel-features.h: Update comment.
288 2017-04-18  Florian Weimer  <fweimer@redhat.com>
290         * include/unistd.h (__have_pipe2): Remove declaration.
291         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
292         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
293         available.
294         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
295         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
296         Remove definition.
298 2017-04-18  Florian Weimer  <fweimer@redhat.com>
300         * malloc/malloc.c (cfree): Turn into compat symbol.
301         (__cfree): Remove alias.
302         * stdlib/stdlib.h (cfree): Remove declaration.
303         * malloc/malloc.h (cfree): Likewise.
304         * manual/memory.texi (Freeing after Malloc): Remove cfree.
305         * malloc/Versions (GLIBC_2.26): Add.
307 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
309         * sysdeps/powerpc/powerpc64/multiarch/Makefile
310         (sysdep_routines): Add strrchr-power8.
311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
312         (strrchr): Add __strrchr_power8 to list of strrchr functions.
313         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
314         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
315         (strrchr): Add __strrchr_power8 to ifunc list.
316         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
318 2017-04-17  Rabin Vincent  <rabinv@axis.com>
320         [BZ #21357]
321         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
322         Call free() outside of mutex.
324 2017-04-13  Florian Weimer  <fweimer@redhat.com>
326         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
327         is defined.
328         * elf/rtld.c (process_envvars): Likewise.
329         * sysdeps/posix/shm_open.c (shm_open): Likewise.
330         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
331         O_NOFOLLOW directly.
332         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
334 2017-04-13  Florian Weimer  <fweimer@redhat.com>
336         [BZ #21369]
337         Remove EDNS fallback.
338         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
339         handling.
340         * resolv/res_send.c (send_dg): Likewise.
341         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
342         "tcp." prefixes.
343         (do_test): Send a "formerr."-prefixed query in an attempt to
344         trigger EDNS fallback.
346 2017-04-13  Florian Weimer  <fweimer@redhat.com>
348         [BZ #21361]
349         Limit EDNS buffer size to 1200 bytes.
350         * include/resolv.h (__res_nopt): Remove declaration.
351         * resolv/Makefile (tests): tst-resolv-edns.
352         (tst-resolv-edns): Link with -lresolv, -lpthread.
353         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
354         interval [512, 1200].
355         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
356         we can resize the buffer.
357         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
358         (__res_nopt): Declare.
359         * resolv/tst-resolv-edns.c: New file.
360         * resolv/resolv_test.h (struct resolv_edns_info): Define.
361         (struct resolv_response_context): Add edns member.
362         * resolv/resolv_test.c (struct query_info): Add edns member.
363         (parse_query): Extract EDNS information from the query.
364         (server_thread_udp_process_one): Propagate EDNS data.
365         (server_thread_tcp_client): Likewise.
367 2017-04-13  Florian Weimer  <fweimer@redhat.com>
369         [BZ #21359]
370         * resolv/ns_name.c (ns_name_pack): Do not require an additional
371         byte in the destination buffer.  Avoid out-of-bounds pointer
372         arithmetic.
373         * resolv/Makefile (tests): Add tst-ns_name_compress.
374         (tst-ns_name_compress): Link with -lresolv.
375         * resolv/tst-ns_name_compress.c: New file.
376         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
377         (response): Recognize LONG_NAME.
378         (do_test): Add LONG_NAME tests.
379         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
380         for ns_name_unpack.  Add tests for ns_name_pton and
381         ns_name_compress.
383 2017-04-13  Florian Weimer  <fweimer@redhat.com>
385         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
386         (res_nisourserver): Remove definition.
387         (p_section, res_npquery, res_nisourserver): Remove declaration.
388         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
389         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
390         ... here.
391         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
392         <resolv.h>.
393         * resolv/res_query.c: Likewise.
394         * resolv/res_debug.c (p_section): Define as static.
396 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
398         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
399         strncat-power8.
400         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
401         __strncat_power8 to ifunc list.
402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
403         (strncat): Add __strncat_power8 to list of strncat functions.
404         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
406 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
408         [BZ #21270]
409         * posix/tst-mmap-offset.c (do_prepare): New function.
410         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
411         (do_test_bz21270): New function.
412         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
413         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
414         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
415         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
416         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
417         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
418         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
419         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
420         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
421         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
422         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
423         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
424         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
425         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
426         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
427         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
428         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
429         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
430         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
431         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
432         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
433         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
434         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
435         from auto-generation list.
436         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
437         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
438         * sysdeps/unix/sysv/linux/mmap.c: New file.
439         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
440         offsets and support for mmap2 syscall.
442         * posix/globtest.sh: Add cleanup routine on trap 0.
444 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
446         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
447         implementation-specific function name and remove unneeded
448         macros definition.
449         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
450         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
451         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
452         name if not defined and pass as parameter to macros accordingly.
453         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
454         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
456         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
457         implementation-specific function name and remove unneeded
458         macros definition.
459         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
460         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
461         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
462         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
463         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
464         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
465         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
466         name if not defined and pass as parameter to macros accordingly.
467         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
468         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
469         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
470         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
471         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
472         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
474         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
475         implementation-specific function name and remove unneeded macros
476         definition.
477         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
478         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
479         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
480         function name if not defined and pass as parameter to macros
481         accordingly.
482         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
483         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
485         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
486         implementation-specific function name and remove unneeded macros
487         definition.
488         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
489         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
490         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
491         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
492         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
493         not defined and pass as parameter to macros accordingly.
494         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
495         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
496         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
497         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
499         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
500         strcasestr implementation name and remove unneeded macros definition.
501         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
502         strstr implementation name and remove unneeded macros definition.
503         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
504         name if not defined and pass as parameter to macros accordingly.
505         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
507         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
508         implementation-specific function name and remove unneeded macros
509         definition.
510         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
511         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
512         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
513         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
514         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
515         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
516         function name if not defined and pass as parameter to macros
517         accordingly.
518         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
519         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
520         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
521         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
523         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
524         the strlen implementation name and remove unneeded macros definition.
525         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
526         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
527         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
528         the strnlen implementation name and remove unneeded macros definition.
529         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
530         name if not defined and pass as parameter to macros accordingly.
531         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
532         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
533         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
535         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
536         the implementation-specific function name and remove unneeded
537         macros definition.
538         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
539         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
540         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
541         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
542         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
543         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
544         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
545         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
546         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
547         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
548         name if not defined and pass as parameter to macros accordingly.
549         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
550         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
551         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
552         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
553         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
554         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
555         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
556         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
559         implementation-specific function name and remove unneeded macros
560         definition.
561         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
562         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
564         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
565         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
566         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
567         function name if not defined.
568         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
569         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
571 2017-04-11  Paul Clarke  <pc@us.ibm.com>
573         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
574         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
575         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
576         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
578 2017-04-11  Florian Weimer  <fweimer@redhat.com>
579             Zack Weinberg  <zackw@panix.com>
581         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
582         readdir64 as thread-safe.  Update warning about readdir_r.
584 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
586         * sysdeps/unix/sysv/linux/x86/Implies: New file.
587         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
588         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
589         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
590         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
591         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
592         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
594 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
596         * sysdeps/i386/dl-procinfo.c: Include
597         <sysdeps/x86/dl-procinfo.c>.
598         * sysdeps/x86_64/dl-procinfo.c: Likewise.
599         * sysdeps/x86/dl-procinfo.c: New file.
601 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
603         * sysdeps/generic/math_private.h: Remove declarations of
604         many functions that are already declared in math.h.
605         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
606         declaration for __frexpl.
607         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
608         the declarations for __scalbnl and fabsl.
610 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
612         [BZ #20831]
613         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
614         of __mprotect to change protection on the excess portion
615         to disallow all access.
617 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
619         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
620         HAS_CPU_FEATURE to check for SSE.
621         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
622         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
623         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
624         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
625         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
626         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
627         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
628         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
629         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
630         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
631         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
632         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
633         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
634         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
635         (index_cpu_SSE): Likewise.
636         (reg_SSE): Likewise.
638 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
640         * posix/getopt1.c: Include <config.h>, not "config.h".
642 2017-04-07  Zack Weinberg  <zackw@panix.com>
644         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
645         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
646         Mention in top-of-file boilerplate that these files are shared
647         with gnulib.
648         * posix/getopt.h, posix/bits/getopt_posix.h:
649         Mention in top-of-file boilerplate that these files are NOT shared
650         with gnulib, unlike the rest of the getopt implementation.
652         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
653         New files, intended to be shared with gnulib.
654         * posix/bits/getopt_posix.h:
655         New file, not intended to be shared with gnulib.
656         * posix/getopt.h: Now just includes features.h,
657         bits/getopt_core.h, and bits/getopt_ext.h.  Will
658         no longer be shared with gnulib.
659         * include/bits/getopt_core.h, include/bits/getopt_ext.h
660         * include/bits/getopt_posix.h: New wrappers.
661         * posix/Makefile: Install new headers.
662         * posix/unistd.h, libio/stdio.h:
663         Include bits/getopt_posix.h instead of getopt.h.
665         * include/libc-symbols.h: For gnulib compatibility, define
666         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
667         _GL_ATTRIBUTE_CONST.
668         * posix/getopt.c (_getopt_initialize): Mark argc and argv
669         parameters with _GL_UNUSED.
671         * posix/getopt.c: When used standalone, define __libc_use_alloca
672         as always false and alloca to abort if called.
673         (process_long_option): Rewrite handling of ambiguous long options
674         to use a single boolean vector, not a linked list; use
675         __libc_use_alloca to decide whether to allocate this using alloca.
676         * posix/tst-getopt_long1.c: Adjust text of expected error message.
678         * posix/getopt.c (process_long_option): New function split out
679         from _getopt_internal_r.
680         (_getopt_internal_r): Replace both copies of the long-option
681         processing code with calls to process_long_option.
682         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
683         (do_test): Differentiate argv[0] in the two subtests.
685         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
686         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
687         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
689         * posix/getopt.h: Add backup definition of __nonnull for
690         consistency with gnulib.  Define __getopt_argv_const to const
691         if not already defined.
692         (getopt): Update doc comment from gnulib.  Prototype
693         unconditionally.  Add __nonnull annotation.
694         (__posix_getopt): Add __nonnull annotation.
695         (getopt_long, getopt_long_only): Use __getopt_argv_const in
696         prototypes for consistency with gnulib.  Add __nonnull
697         annotations.
698         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
699         (getopt_internal): Change 'argv' argument to type 'char **'.
700         Remove now-unnecessary casts.
701         (getopt, __posix_getopt): Eliminate repetition with a macro.
702         Cast 'argv' to 'char **' when calling _getopt_internal.
703         * posix/getopt1.c (getopt_long, getopt_long_only):
704         Use __getopt_argv_const for consistency with gnulib.
705         Cast 'argv' to 'char **' when calling _getopt_internal.
706         (_getopt_long_r, _getopt_long_only_r):
707         Change 'argv' argument to type 'char **'.
708         (main): Constify 'long_options'.
709         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
710         (_getopt_long_r, _getopt_long_only_r):
711         Change 'argv' argument to type 'char **'.
713         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
714         (locked_vfxprintf): New helper function. Handle arbitrary
715         multibyte strings, not just ASCII.
716         * include/stdio.h: Declare __fxprintf_nocancel.
717         * posix/getopt.c: When _LIBC is defined, define fprintf to
718         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
719         to _IO_funlockfile.  When neither _LIBC nor
720         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
721         funlockfile as no-ops.
722         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
723         the standalone error-printing code can now be used for libc as
724         well.  Add an flockfile/funlockfile pair around one case where
725         the error message is printed in several chunks.  Don't use fputc.
726         * posix/tst-getopt-cancel.c: New test.
727         * posix/Makefile: Run it.
729         * posix/getopt.c (_getopt_internal_r): Don't increment
730         d->optind a second time when reporting ambiguous -W options.
732         * posix/getopt_int.h: Include getopt.h.
733         Use impl-namespace names for all arguments to _getopt_internal and
734         _getopt_internal_r.
735         Declare __ordering enum outside the struct.
736         Harmonize comments with gnulib.
737         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
738         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
739         #ifdef TEST block and make unconditional.  Do not define NULL.
740         * posix/getopt.c: Partial merge from gnulib, covering the
741         initial includes and global declarations, commentary, and
742         a couple of semantically-neutral code changes.
744         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
745         Use '...' instead of `...' for quotation marks inside
746         comments and strings.
748         * config.h.in (USE_NONOPTION_FLAGS): Remove.
749         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
750         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
751         * posix/getopt_int.h: Likewise.
752         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
753         __libc_argc and __libc_argv externs, which were only used by
754         #ifdef USE_NONOPTION_FLAGS blocks.
755         * posix/getopt_init.c: Remove file.
756         * posix/Makefile (routines): Remove getopt_init.
757         * include/getopt.h: Don't declare __getopt_initialize_environment.
758         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
759         a comment.
761 2017-04-07  Florian Weimer  <fweimer@redhat.com>
763         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
765 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
767         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
768         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
769         to __wrap_.udiv.
770         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
771         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
773         * sysdeps/i386/symbol-hacks.h: New file.
774         * sysdeps/m68k/symbol-hacks.h: New file.
775         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
776         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
777         * sysdeps/unix/sysv/linux/i386/Makefile
778         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
779         [$(subdir) = csu] (sysdep-only-routines): Likewise.
780         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
781         * sysdeps/unix/sysv/linux/m68k/Makefile
782         [$(subdir) = csu] (sysdep_routines): Likewise.
783         [$(subdir) = csu] (sysdep-only-routines): Likewise.
784         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
786         [$(subdir) = csu] (sysdep_routines): Likewise.
787         [$(subdir) = csu] (sysdep-only-routines): Likewise.
788         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
789         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
790         [$(subdir) = csu] (sysdep_routines): Likewise.
791         [$(subdir) = csu] (sysdep-only-routines): Likewise.
792         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
793         * sysdeps/wordsize-32/Makefile: Remove file.
794         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
795         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
797 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
799         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
800         (TEST_FUNCTION_ARGV): New.
802 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
804         * elf/next.c: Import support/test-driver.c instead of
805         test-skeleton.c and delete TEST_FUNCTION macro definition.
806         * elf/nodelete.c: Likewise.
807         * elf/order2.c: Likewise.
808         * elf/tst-_dl_addr_inside_object.c: Likewise.
809         * elf/tst-addr1.c: Likewise.
810         * elf/tst-align.c: Likewise.
811         * elf/tst-align2.c: Likewise.
812         * elf/tst-audit11.c: Likewise.
813         * elf/tst-audit12.c: Likewise.
814         * elf/tst-audit2.c: Likewise.
815         * elf/tst-audit9.c: Likewise.
816         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
817         * elf/tst-deep1.c: Likewise.
818         * elf/tst-dl-iter-static.c: Likewise.
819         * elf/tst-dlmodcount.c: Likewise.
820         * elf/tst-dlmopen1.c: Likewise.
821         * elf/tst-dlmopen2.c: Likewise.
822         * elf/tst-dlmopen3.c: Likewise.
823         * elf/tst-dlopen-aout.c: Likewise.
824         * elf/tst-dlopenrpath.c: Likewise.
825         * elf/tst-dlsym-error.c: Likewise.
826         * elf/tst-execstack-needed.c: Likewise.
827         * elf/tst-execstack-prog.c: Likewise.
828         * elf/tst-execstack.c: Likewise.
829         * elf/tst-global1.c: Likewise.
830         * elf/tst-gnu2-tls1.c: Likewise.
831         * elf/tst-latepthread.c: Likewise.
832         * elf/tst-leaks1.c: Likewise.
833         * elf/tst-linkall-static.c: Likewise.
834         (do_test): New function.
835         * elf/tst-nodelete-opened.c: Likewise.
836         * elf/tst-nodelete.cc: Likewise.
837         * elf/tst-nodelete2.c: Likewise.
838         * elf/tst-noload.c: Likewise.
839         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
840         * elf/tst-order-main.c: Likewise.
841         * elf/tst-pathopt.c: Likewise.
842         * elf/tst-pie2.c: Likewise.
843         * elf/tst-piemod1.c: Likewise.
844         * elf/tst-prelink.c: Likewise.
845         * elf/tst-protected1a.c: Likewise.
846         * elf/tst-protected1b.c: Likewise.
847         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
848         and define _GNU_SOURCE macro.
849         (cmdline_process_function): New function.
850         * elf/tst-relsort1.c: Likewise.
851         * elf/tst-stackguard1.c: Likewise, import getopt.h,
852         and define _GNU_SOURCE macro.
853         (cmdline_process_function): New function.
854         * elf/tst-thrlock.c: Likewise.
855         * elf/tst-tls-dlinfo.c: Likewise.
856         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
857         * elf/tst-tls1.c: Likewise.
858         * elf/tst-tls10.c: Likewise.
859         * elf/tst-tls11.c: Likewise.
860         * elf/tst-tls12.c: Likewise.
861         * elf/tst-tls13.c: Likewise.
862         * elf/tst-tls14.c: Likewise.
863         * elf/tst-tls15.c: Likewise.
864         * elf/tst-tls16.c: Likewise.
865         * elf/tst-tls17.c: Likewise.
866         * elf/tst-tls18.c: Likewise.
867         * elf/tst-tls19.c: Likewise.
868         * elf/tst-tls2.c: Likewise.
869         * elf/tst-tls3.c: Likewise.
870         * elf/tst-tls4.c: Likewise.
871         * elf/tst-tls5.c: Likewise.
872         * elf/tst-tls6.c: Likewise.
873         * elf/tst-tls7.c: Likewise.
874         * elf/tst-tls8.c: Likewise.
875         * elf/tst-tls9.c: Likewise.
876         * elf/tst-tlsalign-extern.c: Likewise.
877         * elf/tst-tlsalign.c: Likewise.
878         * elf/tst-unique1.c: Likewise.
879         * elf/tst-unique2.c: Likewise.
880         * elf/vismain.c: Likewise.
882 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
884         * string/test-strnlen.c (do_page_tests): New function
885         to check length of strings ending at the page boundary.
886         (test_main): Added call to the do_page_tests function.
888 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
889             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
891         * sysdeps/powerpc/powerpc64/multiarch/Makefile
892         (sysdep_routines): Add strnlen-power8.
893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
894         (strnlen): Add __strnlen_power8 to list of strnlen functions.
895         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
896         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
897         (__strnlen): Add __strnlen_power8 to ifunc list.
898         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
900 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
902         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
903         the TEST_FUNCTION macro definition.
904         * wcsmbs/tst-mbrtowc2.c: Likewise.
905         * wcsmbs/tst-mbsrtowcs.c: Likewise.
906         * wcsmbs/tst-wchar-h.c: Likewise.
907         * wcsmbs/tst-wcpncpy.c: Likewise.
908         * wcsmbs/tst-wcrtomb.c: Likewise.
909         * wcsmbs/tst-wcsnlen.c: Likewise.
910         * wcsmbs/tst-wcstof.c: Likewise.
912 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
914         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
915         CALL_THREAD_FCT macro usage.
916         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
917         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
918         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
920         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
921         * sysdeps/unix/sysv/linux/arm/kernel-features.h
922         (__ASSUME_REQUEUE_PI): Likewise.
923         * sysdeps/unix/sysv/linux/kernel-features.h
924         (__ASSUME_REQUEUE_PI): Likewise.
925         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
926         (__ASSUME_REQUEUE_PI): Likewise.
927         * sysdeps/unix/sysv/linux/mips/kernel-features.h
928         (__ASSUME_REQUEUE_PI): Likewise.
929         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
930         (__ASSUME_REQUEUE_PI): Likewise.
932 2017-04-04  Florian Weimer  <fweimer@redhat.com>
934         * resolv/tst-resolv-canonname.c: New file.
935         * resolv/Makefile (tests): Add tst-resolv-canonname.
936         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
938 2017-04-04  Florian Weimer  <fweimer@redhat.com>
940         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
941         Declare.
942         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
943         (NS_MAXCDNAME): Remove definition.
944         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
945         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
946         (NS_MAXCDNAME): Remove definition.
947         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
949 2017-04-04  Florian Weimer  <fweimer@redhat.com>
951         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
952         call whose result is not used.
954 2017-04-04  Florian Weimer  <fweimer@redhat.com>
956         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
957         * resolv/Makefile (tests): Add tst-ns_name.
958         (tst-ns_name): Link with -lresolv.
959         (tst-ns_name.out): Depend on the input data file.
961 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
963         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
964         Clobber also r14.
966 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
968         [BZ #21253]
969         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
970         slack space by 32KiB.
972 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
974         [BZ #21338]
975         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
976         instead of incorrect do_set_arena_test
978 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
980         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
981         * math/bits/math-finite.h: Likewise.
983 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
985         [BZ #21289]
986         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
988 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
990         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
991         non expected inotify_add_watch and quotactl return.
993 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
995         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
996         to int32_t.
997         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
998         as returning int32_t.
1000 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1002         * math/math.h: Include bits/math-finite.h once per
1003         floating-point type.
1004         * math/bits/math-finite.h: Macroize all declarations by
1005         floating-point type.
1007 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1009         [BZ #21182]
1010         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1011         near end of a page.
1012         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1013         overflow calculation.
1015 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1017         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1018         (IMPL) Call with 1 instead of 0 as argument.
1020 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1022         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1023         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1024         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1025         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1026         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1027         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1028         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1029         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1030         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1031         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1032         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1033         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1034         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1035         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1036         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1037         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1038         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1039         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1040         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1041         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1042         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1043         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1044         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1045         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1046         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1047         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1048         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1049         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1050         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1052         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1053         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1054         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1055         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1056         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1057         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1058         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1059         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1060         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1061         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1062         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1063         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1064         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1065         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1066         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1067         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1068         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1069         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1070         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1071         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1072         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1075         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1076         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1077         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1078         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1079         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1080         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1081         defined.
1082         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1083         __NR_setgroups32 if defined.
1084         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1085         if defined.
1086         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1087         __NR_setresgid32 is defined.
1088         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1089         __NR_setresuid32 if defined.
1090         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1091         __NR_setreuid32 if defined.
1092         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1093         defined.
1094         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1095         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1096         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1097         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1098         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1099         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1100         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1101         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1102         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1103         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1104         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1105         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1106         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1107         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1108         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1109         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1110         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1111         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1112         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1113         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1114         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1115         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1116         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1117         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1118         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1119         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1120         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1121         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1122         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1123         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1124         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1125         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1126         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1127         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1128         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1129         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1130         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1131         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1132         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1133         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1134         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1135         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1136         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1137         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1138         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1139         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1140         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1141         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1142         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1143         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1144         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1145         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1146         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1149         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1150         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1151         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1152         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1153         defined.
1154         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1155         __NR_setgroups32 if defined.
1156         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1157         if defined.
1158         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1159         __NR_setresgid32 is defined.
1160         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1161         __NR_setresuid32 if defined.
1162         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1163         __NR_setreuid32 if defined.
1164         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1165         defined.
1167 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1169         [BZ #21277]
1170         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1171         unconditionally.
1172         (IMAXBEL): Likewise.
1173         (IUTF8): Likewise.
1175 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1177         * sysdeps/aarch64/libm-test-ulps: Update.
1179 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1181         * README.tunables: Updated descriptions.
1182         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1183         * scripts/gen-tunables.awk: Updated the code related to the
1184         commit.
1186 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1188         * benchtests/Makefile (string-benchset): Add memcpy-random.
1189         * benchtests/bench-memcpy-random.c: New file.
1191 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1193         * stdio-common/printf.h (register_printf_modifier): Change the
1194         order of __wur and __THROW.
1195         (register_printf_type): Likewise.
1197 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1199         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1200         test_main ().
1201         (CMDLINE_PROCESS): Use function instead of defined macro.
1202         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1203         <suppport/support.h> to use set_fortify_handler().
1204         * string/bug-envz1.c: Import support/test-driver.c instead of
1205         test-skeleton.c.
1206         * string/bug-strcoll2.c: Likewise.
1207         * string/bug-strtok1.c: Likewise.
1208         * string/stratcliff.c: Likewise.
1209         * string/test-ffs.c: Likewise.
1210         * string/test-memccpy.c: Likewise.
1211         * string/test-memchr.c: Likewise.
1212         * string/test-memcmp.c: Likewise.
1213         * string/test-memcpy.c: Likewise.
1214         * string/test-memmem.c: Likewise.
1215         * string/test-memmove.c: Likewise.
1216         * string/test-memrchr.c: Likewise.
1217         * string/test-memset.c: Likewise.
1218         * string/test-rawmemchr.c: Likewise.
1219         * string/test-strcasecmp.c: Likewise.
1220         * string/test-strcasestr.c: Likewise.
1221         * string/test-strcat.c: Likewise.
1222         * string/test-strchr.c: Likewise.
1223         * string/test-strcmp.c: Likewise.
1224         * string/test-strcpy.c: Likewise.
1225         * string/test-string.h: Likewise.
1226         * string/test-strlen.c: Likewise.
1227         * string/test-strncasecmp.c: Likewise.
1228         * string/test-strncat.c: Likewise.
1229         * string/test-strncmp.c: Likewise.
1230         * string/test-strncpy.c: Likewise.
1231         * string/test-strnlen.c: Likewise.
1232         * string/test-strpbrk.c: Likewise.
1233         * string/test-strrchr.c: Likewise.
1234         * string/test-strspn.c: Likewise.
1235         * string/test-strstr.c: Likewise.
1236         * string/tst-bswap.c: Likewise.
1237         * string/tst-cmp.c: Likewise.
1238         * string/tst-endian.c: Likewise.
1239         * string/tst-inlcall.c: Likewise.
1240         * string/tst-strcoll-overflow.c: Likewise.
1241         * string/tst-strfry.c: Likewise.
1242         * string/tst-strlen.c: Likewise.
1243         * string/tst-strtok.c: Likewise.
1244         * string/tst-strtok_r.c: Likewise.
1245         * string/tst-strxfrm.c: Likewise.
1246         * string/tst-strxfrm2.c: Likewise.
1247         * string/tst-svc.c: Likewise.
1248         * string/tst-svc2.c: Likewise.
1250 2017-03-22  Zack Weinberg  <zackw@panix.com>
1252         * stdio-common/bug25.c: Include stdlib.h.
1253         * support/tst-support_format_dns_packet.c: Include stdio.h,
1254         stdlib.h, and string.h.
1255         * support/tst-support_record_failure.c: Include string.h.
1256         * support/tst-support_record_failure-2.sh: Adjust line number
1257         expectations and correct a typo in an error message.
1259 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1261         [BZ #21258]
1262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1263         Define only if _dl_runtime_resolve is defined to
1264         _dl_runtime_resolve_sse_vex.
1265         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1266         Fallthrough to _dl_runtime_resolve_sse_vex.
1268 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1270         * INSTALL: Regenerated.
1272 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1274         * config.h.in: Add LINK_OBSOLETE_NSL.
1275         * config.make.in: Add build-obsolete-nsl.
1276         * configure.ac: Add obsolete-nsl option.
1277         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1278         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1279         * include/rpcsvc/nislib.h: Likewise.
1280         * include/rpcsvc/ypclnt.h: Likewise.
1281         * manual/install.texi: Document --enable-obsolete-nsl.
1282         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1283         * nis/nis_add.c: Replace libnsl_hidden_def with
1284         libnsl_hidden_nolink_def.
1285         * nis/nis_addmember.c: Likewise.
1286         * nis/nis_call.c: Likewise.
1287         * nis/nis_clone_obj.c: Likewise.
1288         * nis/nis_defaults.c: Likeise.
1289         * nis/nis_domain_of_r.c: Likewise.
1290         * nis/nis_error.c: Likewise.
1291         * nis/nis_file.c: Likewise.
1292         * nis/nis_free.c: Likewise.
1293         * nis_local_names.c: Likewise.
1294         * nis/nis_lookup.c: Likewise.
1295         * nis/nis_modify.c: Likewise.
1296         * nis/nis_print.c: Likewise.
1297         * nis/nis_remove.c: Likewise.
1298         * nis/nis_table.c: Likewise.
1299         * nis/nis_util.c: Likewise.
1300         * nis/nis_xdr.c: Likewise.
1301         * nis/yp_xdr.c: Likewise.
1302         * nis/ypclnt.c: Likewise.
1303         * nis/ypupdate_xdr.c: Likewise.
1304         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1305         * nis/nis_clone_dir.c: Likewise.
1306         * nis/nis_clone_res.c: Likewise.
1307         * nis/nis_creategroup.c: Likewise.
1308         * nis/nis_destroygroup.c: Likewise.
1309         * nis/nis_domain_of.c: Likewise.
1310         * nis/nis_getservlist.c: Likewise.
1311         * nis/nis_ismember.c: Likewise.
1312         * nis/nis_mkdir.c: Likewise.
1313         * nis/nis_ping.c: Likewise.
1314         * nis/nis_print_group_entry.c: Likewise.
1315         * nis/nis_removemember.c: Likewise.
1316         * nis/nis_rmdir.c: Likewise.
1317         * nis/nis_server.c: Likewise.
1318         * nis/nis_subr.c: Likewise.
1319         * nis/nis_verifygroup.c: Likewise.
1321 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1323         * malloc/tst-interpose-aux.c (check_for_allocations):
1324         Move compiler barrier before free.
1326 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1328         [BZ #21279]
1329         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1330         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1331         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1332         x86_64-x32-linux.
1333         (mq_attr.mq_maxmsg): Likewise.
1334         (mq_attr.mq_msgsize): Likewise.
1335         (mq_attr.mq_curmsgs): Likewise.
1337         [BZ #21278]
1338         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1339         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1340         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1341         mips-o32-linux.
1343         [BZ #21268]
1344         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1345         if [__USE_MISC]
1346         (NL3): Likewise.
1348 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1350         [BZ #21275]
1351         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1352         __stack to __stackbase.
1353         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1354         checks so we can include defined(__ia64__) first.
1356 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1358         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1359         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1360         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1361         Call is_pty when the link does not exist or does not match, fail
1362         with ENODEV when it returns true.
1363         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1364         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1365         Call is_pty when the link does not exist or does not match, fail
1366         with ENODEV when it returns true.
1368 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1370         [BZ #16437]
1371         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1372         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1373         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1374         x86_64-x32-linux.
1375         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1376         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1377         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1379         [BZ #21261]
1380         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1381         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1382         names for all fields.
1383         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1384         for jmp_buf field renaming.
1385         (_JMPBUF_UNWINDS_ADJ): Likewise.
1387         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1388         with allow-header.
1390 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1392         * malloc/malloc.c (unlink): Add consistency check between size and
1393         next->prev->size, to further harden against 1-byte overflows.
1395 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1397         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1398         CPU_FEATURES_CPU_P.
1400 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1402         [BZ #21259]
1403         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1404         unconditionally, not just for [__USE_MISC].
1406         [BZ #17786]
1407         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1408         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1409         mips-o32-linux.
1411         [BZ #21260]
1412         * sysdeps/unix/sysv/linux/alpha/Makefile
1413         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1414         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1416         * conform/conformtest.pl ($cross): New variable.
1417         (--cross): New command-line option.
1418         (runtest): Skip test execution when cross-compiling.
1419         * conform/Makefile (conformtest-cross): New variable.
1420         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1421         conformtest.pl.
1423         * conform/conformtest.pl ($xfail_str): New variable.
1424         (--xfail=): New command-line option.
1425         (top level): Handle expectations starting xfail[cond]-.
1426         * conform/Makefile (conformtest-xfail): New variable.
1427         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1428         conformtest.pl.
1430 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1432         * conform/conformtest.pl: Use compilation instead of execution
1433         tests for testing values of constants and usability in #if.
1435 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1437         * math/auto-libm-test-in: Mark some catan and catanh as
1438         xfail-rounding:ibm128-libgcc.
1439         * math/auto-libm-test-out-catan: Regenerate.
1440         * math/auto-libm-test-out-catanh: Likewise.
1442 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1444         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1445         (__END_NAMESPACE_STD): Likewise.
1446         (__USING_NAMESPACE_STD): Likewise.
1447         (__BEGIN_NAMESPACE_C99): Likewise.
1448         (__END_NAMESPACE_C99): Likewise.
1449         (__USING_NAMESPACE_C99): Likewise.
1450         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1451         undefine macro.
1452         (_Mdouble_END_NAMESPACE): Likewise.
1453         * ctype/ctype.h: Do not handle C++ namespaces.
1454         * libio/bits/stdio-ldbl.h: Likewise.
1455         * libio/stdio.h: Likewise.
1456         * locale/locale.h: Likewise.
1457         * math/bits/mathcalls.h: Likewise.
1458         * setjmp/setjmp.h: Likewise.
1459         * signal/signal.h: Likewise.
1460         * stdlib/bits/stdlib-float.h: Likewise.
1461         * stdlib/bits/stdlib-ldbl.h: Likewise.
1462         * stdlib/stdlib.h: Likewise.
1463         * string/string.h: Likewise.
1464         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1465         * time/bits/types/clock_t.h: Likewise.
1466         * time/bits/types/struct_tm.h: Likewise.
1467         * time/bits/types/time_t.h: Likewise.
1468         * time/time.h: Likewise.
1469         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1470         * wcsmbs/uchar.h: Likewise.
1471         * wcsmbs/wchar.h: Likewise.
1472         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1473         * wctype/wctype.h: Do not handle C++ namespaces.
1474         * scripts/begin-end-check.pl: Remove.
1475         * Makefile (installed-headers): Likewise.
1476         (tests-special): Do not add $(objpfx)begin-end-check.out.
1477         ($(objpfx)begin-end-check.out): Remove.
1479 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1480             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1482         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1483         (DL_PLATFORM_INIT): New define.
1484         (dl_platform_init): New function.
1485         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1486         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1487         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1488         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1489         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1491 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1493         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1494         instead of PIC.
1496 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1498         [BZ #21094]
1499         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1500         24+24+24-bit pi for wider range of values around pi/2.
1501         * math/auto-libm-test-in: Add more tests of cos and tan.
1502         * math/auto-libm-test-out-cos: Regenerated.
1503         * math/auto-libm-test-out-tan: Likewise.
1505 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1507         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1508         (RTLD_START): Don't record stack end address in _dl_start_user.
1510 2017-03-15  Alexey Neyman  <stilor@att.net>
1512         [BZ #21088]
1513         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1514         around definitions match those around use.
1516 2017-03-15  Alexey Neyman  <stilor@att.net>
1518         * configure.ac: Avoid empty subexpression in grep.
1519         * configure: Regenerate.
1521 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1524         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1525         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1526         (test_wrp_rv): Fix format.
1527         (test_wrp_rv2): New macro.
1528         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1529         binaries.
1531 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1533         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1534         Use a union when storing pointers.
1535         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1536         cast result when passing to INIT_VEC_PTRS_LOOP.
1537         (VECTOR_WRAPPER_fFF_3): Likewise.
1538         (VECTOR_WRAPPER_fFF_4): Likewise.
1540 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1542         * include/bits/mathcalls-helper-functions.h: New file.
1543         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1544         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1545         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1546         math/bits/mathcalls-helper-functions.h.
1547         * math/bits/mathcalls-helper-functions.h: New file.
1548         * math/math.h: Include bits/mathcalls-helper-functions.h for
1549         float, double, and long double.
1551 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1553         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1554         instead of feraiseexcept.
1556 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1558         [BZ #21243]
1559         * support/temp_file.c (support_delete_temp_files): Add comment
1560         about ignored errors.
1562 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1564         [BZ #21244]
1565         * support/xclose.c: New file.
1566         * support/Makefile (libsupport-routines): Add xclose.
1567         * support/xunistd.h (xclose): Declare.
1568         * support/resolv_test.c (server_thread_tcp_client)
1569         (server_thread_tcp, make_server_sockets, resolv_test_start)
1570         (resolv_test_end): Call xclose instead of close.
1571         * support/support_enter_network_namespace.c
1572         (support_enter_network_namespace): Likewise.
1573         * support/support_run_diff.c (write_to_temp_file): Likewise.
1575 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1577         * support/support_format_dns_packet.c (support_format_dns_packet):
1578         Handle CNAME records in the response.  Extract RDATA names from
1579         rdata, not the whole packet.  Check AAAA record length.
1580         * support/tst-support_format_dns_packet.c: New file.
1581         * support/Makefile (tests): Add tst-support_format_dns_packet.
1582         (tst-support_format_dns_packet): Link against libresolv.
1584 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1586         [BZ #21232]
1587         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1588         posix_fadvise64 weak_alias for static build.
1590 2017-03-14  Andreas Schwab  <schwab@suse.de>
1592         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1593         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1594         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1595         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1596         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1597         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1598         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1599         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1601 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1603         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1604         posix error code.
1605         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1607 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1609         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1610         no_isolate usage for SH.
1612 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1614         [BZ #15105]
1615         [BZ #19463]
1616         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1617         * inet/rcmd.c (rcmd_af): Likewise.
1618         * inet/rexec.c   (rexec_af): Likewise.
1619         * intl/dcigettext.c (_LIBC): Likewise.
1620         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1621         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1622         * locale/setlocale.c (setlocale): Likewise.
1623         * posix/spawn_faction_addopen.c
1624         (posix_spawn_file_actions_addopen): Likewise.
1625         * stdlib/putenv.c (putenv): Use __strndup.
1626         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1628         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1629         (__Need_M_And_C) Remove define/undef.
1630         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1631         (__malloc_and_calloc_defined): Remove define.
1632         * string/bits/string2.h (__strdup): Remove define.
1633         (strdup): Likewise.
1634         (__strndup): Likewise.
1635         (strndup): Likewise.
1637 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1639         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1640         macro.
1641         (IPV6_ADDR_PREFERENCES): Likewise.
1642         (IPV6_MINHOPCOUNT): Likewise.
1643         (IPV6_ORIGDSTADDR): Likewise.
1644         (IPV6_RECVORIGDSTADDR): Likewise.
1645         (IPV6_TRANSPARENT): Likewise.
1646         (IPV6_UNICAST_IF): Likewise.
1647         (IPV6_RECVFRAGSIZE): Likewise.
1649 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1651         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1653 2017-03-12  Alexey Neyman <stilor@att.net>
1655         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1656         in R_SH_DIR32 case is always false when inlined from
1657         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1659 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1661         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1662         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1663         __ASSUME_SEND_SYSCALL.
1665 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1667         * sunrpc/Makefile: don't build and install rpcsvc header
1668         files, rpcgen and librpcsvc.a by default.
1670 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1672         * math/auto-libm-test-out-catan: Regenerated.
1673         * math/auto-libm-test-out-catanh: Likewise.
1674         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1676 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1678         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1679         for long double with corrected test expectations.
1681 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1683         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1684         Define.
1685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1686         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1687         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1688         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1689         * sysdeps/unix/sysv/linux/tile/sysdep.h
1690         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1691         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1692         (__ASSUME_RECV_SYSCALL): Define.
1693         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1694         (__ASSUME_RECV_SYSCALL): Likewise.
1695         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1696         (__ASSUME_RECV_SYSCALL): Likewise.
1697         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1698         (__ASSUME_RECV_SYSCALL): Likewise.
1699         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1700         (__ASSUME_RECV_SYSCALL): Likewise.
1701         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1702         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1704         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1705         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1706         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1707         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1708         auto-generation list.
1709         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1710         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1711         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1712         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1713         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1714         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1715         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1716         __ASSUME_SENDTO_SYSCALL.
1717         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1718         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1719         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1721         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1722         auto-generation list.
1723         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1724         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1725         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1726         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1727         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1728         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1729         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1730         * sysdeps/unix/sysv/linux/kernel-features.h
1731         (__ASSUME_SENDTO_SYSCALL): Define by default.
1732         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1733         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1734         __NR_sendto.
1735         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1736         (__ASSUME_SENDTO_SYSCALL): Likewise.
1737         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1738         (__ASSUME_SENDTO_SYSCALL): Likewise.
1739         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1740         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1741         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1742         (__ASSUME_SENDTO_SYSCALL): Likewise.
1743         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1744         (__ASSUME_SENDTO_SYSCALL): Likewise.
1745         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1747         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1748         auto-generation list.
1749         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1750         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1751         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1752         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1753         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1755         (__ASSUME_RECV_SYSCALL): New define.
1756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1757         (__ASSUME_RECV_SYSCALL): Likewise.
1758         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1759         (__ASSUME_RECV_SYSCALL): Likewise.
1760         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1761         (__ASSUME_RECV_SYSCALL): Likewise.
1762         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1763         (__ASSUME_RECV_SYSCALL): Likewise.
1764         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1765         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1766         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1767         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1768         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1769         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1770         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1771         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1772         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1773         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1774         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1775         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1777         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1778         auto-generation list.
1779         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1780         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1781         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1782         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1783         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1784         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1785         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1786         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1787         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1788         * sysdeps/unix/sysv/linux/kernel-features.h
1789         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1790         __NR_recvfrom.
1791         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1792         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1793         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1794         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1796         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1797         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1798         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1799         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1800         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1801         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1802         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1803         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1805         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect 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/sparc/sparc64/syscalls.list: Likewise.
1810         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1811         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1812         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1813         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1814         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1815         * sysdeps/unix/sysv/linux/kernel-features.h
1816         (__ASSUME_CONNECT_SYSCALL): Define.
1817         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1818         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1820         (__ASSUME_CONNECT_SYSCALL): Likewise.
1821         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1822         (__ASSUME_CONNECT_SYSCALL): Likewise.
1823         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1824         (__ASSUME_CONNECT_SYSCALL): Likewise.
1826         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1827         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1828         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1829         auto-generation list.
1830         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1831         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1832         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1833         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1834         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1835         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1836         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1837         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1838         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1839         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1840         * sysdeps/unix/sysv/linux/kernel-features.h
1841         (__ASSUME_ACCEPT_SYSCALL): New define.
1842         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1843         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1844         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1846         (__ASSUME_ACCEPT_SYSCALL): Define.
1847         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1848         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1849         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1850         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1851         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1852         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1853         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1854         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1855         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1857 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1858             Zack Weinberg  <zackw@panix.com>
1860         * posix/test-errno.c: New file.
1861         * posix/Makefile (tests): Add test-errno.
1862         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1863         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1865 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1867         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1869 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1871         * time/tzset.c (compute_offset): Open-code min macro.
1872         (min, max, sign): Remove.
1874 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1876         [BZ #15576]
1877         Remove TZNAME_MAX limit from sysconf.
1878         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1879         declaration.
1880         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1881         compute_tzname_max.
1882         (compute_tzname_max): Remove.
1883         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1884         (update_vars): Do not update __tzname_cur_max.
1885         (tzset_internal): Remove argument.
1886         (__tzset): Adjust call to tzset_internal.
1887         (__tz_convert): Likewise.
1889         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1890         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1891         * manual/conf.texi (Sysconf Definition): Update comment.
1893 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1895         [BZ #21209]
1896         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1897         AT_SECURE processes.
1898         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1899         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1900         (test_child): Likewise.
1901         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1903 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1905         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1907 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1909         * sysdeps/s390/atomic-machine.h
1910         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1911         (__arch_compare_and_exchange_val_8_acq,
1912         __arch_compare_and_exchange_val_16_acq,
1913         __arch_compare_and_exchange_val_32_acq,
1914         __arch_compare_and_exchange_val_64_acq):
1915         Delete macro.
1916         (atomic_compare_and_exchange_val_acq,
1917         atomic_compare_and_exchange_val_rel,
1918         atomic_compare_and_exchange_bool_acq,
1919         catomic_compare_and_exchange_bool_acq,
1920         atomic_exchange_acq, atomic_exchange_rel,
1921         atomic_exchange_and_add_acq,
1922         atomic_exchange_and_add_rel,
1923         catomic_exchange_and_add, atomic_or_val,
1924         atomic_or, catomic_or, atomic_bit_test_set,
1925         atomic_and_val, atomic_and, catomic_and):
1926         Define macros with help of C11 atomic builtins.
1928 2017-03-03  Justus Winter <justus@gnupg.org>
1930         * sysdeps/mach/hurd/ftruncate64.c: New file.
1931         * sysdeps/mach/hurd/truncate64.c: Likewise.
1933 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1935         * time/tzfile.c (NOID): Do not define.
1936         * time/tzset.c (NOID): Likewise.
1938 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1940         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1942 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1944         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1946 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1948         [BZ #21015]
1949         * manual/install.texi (Configuring and compiling): Document
1950         --enable-bind-now.
1951         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1952         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1953         (format.lds): Likewise.
1954         [bind-now] (LDFLAGS-c.so): Remove.
1955         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1956         be R_X86_64_GLOB_DAT.
1957         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1958         relocation can be R_386_GLOB_DAT.
1959         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1960         relocaiton can be R_ALPHA_GLOB_DAT.
1961         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1963 2017-03-01  Zack Weinberg  <zackw@panix.com>
1965         * include/libc-pointer-arith.h: New file.  Define
1966         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1967         PTR_ALIGN_DOWN here.
1968         * include/libc-internal.h: Definitions of above macros
1969         moved from here.  Don't include libc-diag.h anymore either.
1970         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1971         Don't include libc-internal.h.
1973         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1974         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1975         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1976         * string/strcoll_l.c, sysdeps/nacl/brk.c
1977         * sysdeps/unix/clock_settime.c
1978         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1979         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1980         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1981         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1982         Don't include libc-internal.h.
1984         * elf/get-dynamic-info.h, iconv/loop.c
1985         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1986         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1987         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1988         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1989         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1990         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1991         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1992         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1993         * sysdeps/ieee754/ldbl-128/k_tanl.c
1994         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1995         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1996         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1997         Include libc-diag.h instead of libc-internal.h.
1999         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2000         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2001         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2002         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2003         * sysdeps/unix/sysv/linux/spawni.c
2004         * sysdeps/x86_64/nptl/tls.h:
2005         Include libc-pointer-arith.h instead of libc-internal.h.
2007         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2008         * sysdeps/x86_64/atomic-machine.h:
2009         Add multiple include guard.
2011         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2012         * string/strcasestr.c: No need to include config.h.
2013         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2014         sys/auxv.h. Don't include sysdep.h.
2015         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2017         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2018         DL_LOOKUP_ADDRESS.
2019         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2020         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2021         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2022         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2023         of ARTIFICIAL_LIMIT.
2024         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2025         declaration of __clone2.
2027 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2029         * scripts/backport-support.sh (latest_commit): New file.
2031 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2033         [BZ #20257]
2034         * inet/Makefile (routines): Add deadline.
2035         (tests-static): Add tst-deadline.
2036         * inet/net-internal.h (struct deadline_current_time)
2037         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2038         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2039         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2040         * inet/deadline.c: New file.
2041         * inet/tst-deadline.c: Likewise.
2042         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2043         tst-udp-timeout, tst-udp-garbage.
2044         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2045         explicitly.
2046         (tst-udp-garbage): Likewise.  Also link against thread library.
2047         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2048         struct layout is part of the ABI.
2049         (clntudp_call): Rework timeout handling.
2050         * sunrpc/tst-udp-garbage.c: New file.
2051         * sunrpc/tst-udp-nonblocking.c: Likewise.
2052         * sunrpc/tst-udp-timeout.c: Likewise.
2054 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2056         [BZ #5010]
2057         * sunrpc/svc.c (svc_is_mapped): Remove.
2058         (svc_unregister): Obtain mapped status while the service is still
2059         registered.
2060         * sunrpc/Makefile [have-thread-library] (tests): Add
2061         tst-svc_register.
2062         (tst-svc_register): Link against libc.so explicitly and the thread
2063         library.
2064         * sunrpc/tst-svc_register.c: New file.
2066 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2068         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2069         * sysdeps/pthread/bits/sigthread.h: Likewise.
2071 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2073         [BZ #21115]
2074         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2075         * sunrpc/Makefile (tests): Add tst-udp-error.
2076         (tst-udp-error): Link against libc.so explicitly.
2077         * sunrpc/tst-udp-error: New file.
2079 2017-02-25  Zack Weinberg  <zackw@panix.com>
2081         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2082         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2084         * sysdeps/generic/math_ldbl.h
2085         * sysdeps/ia64/fpu/math_ldbl.h
2086         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2087         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2088         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2089         * sysdeps/powerpc/fpu/math_ldbl.h
2090         * sysdeps/x86_64/fpu/math_ldbl.h:
2091         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2092         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2093         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2094         Add copyright notices.
2096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2097         Don't use EXTRACT_WORDS64.
2099         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2100         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2101         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2102         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2103         Include math_ldbl.h, not math_private.h.
2105 2017-02-25  Zack Weinberg  <zackw@panix.com>
2107         * include/libc-diag.h: New file.  Define ignore_value,
2108         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2109         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2111         * include/libc-internal.h: Definitions of above macros moved from
2112         here.  Include libc-diag.h.  Add copyright notice.
2114         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2115         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2116         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2117         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2118         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2119         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2120         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2121         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2122         Include libc-diag.h instead of libc-internal.h.
2124         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2125         call to unsetenv (NULL).
2126         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2127         call to pthread_mutexattr_destroy (NULL).
2129 2017-02-25  Zack Weinberg  <zackw@panix.com>
2131         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2132         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2133         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2134         gets was removed from C++ in C++14.
2135         * include/stdio.h: Remove redundant declaration of gets.
2136         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2137         be declared, since we are testing it.
2138         * stdio-common/Makefile (tst-gets.c): Compile with
2139         -Wno-deprecated-declarations.
2140         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2141         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2142         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2143         Compile with -Wno-deprecated-declarations.
2145 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2147         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2148         numbers.
2150 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2152         * resolv/tst-resolv-qtypes.c (domain):
2153         Change type to const pointer to const char.
2155 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2157         * math/Makefile (libm-tests-generated): Remove variable.
2158         (libm-tests-base-normal): New variable.
2159         (libm-tests-base-finite): Likewise.
2160         (libm-tests-base-inline): Likewise.
2161         (libm-tests-base): Likewise.
2162         (libm-tests-normal): Likewise.
2163         (libm-tests-finite): Likewise.
2164         (libm-tests-inline): Likewise.
2165         (libm-tests-vector): Likewise.
2166         (libm-tests): Define in terms of these new variables.
2167         (libm-tests-for-type): New variable.
2168         (libm-tests.o): Move definition.
2169         (tests): Move addition of $(libm-tests).
2170         (generated): Update for new and removed libm test files.
2171         ($(objpfx)libm-test.c): Remove target.
2172         ($(objpfx)libm-have-vector-test.h): Likewise.
2173         (CFLAGS-test-double-vlen2.c): Remove variable.
2174         (CFLAGS-test-double-vlen4.c): Likewise.
2175         (CFLAGS-test-double-vlen8.c): Likewise.
2176         (CFLAGS-test-float-vlen4.c): Likewise.
2177         (CFLAGS-test-float-vlen8.c): Likewise.
2178         (CFLAGS-test-float-vlen16.c): Likewise.
2179         (CFLAGS-test-float.c): Likewise.
2180         (CFLAGS-test-float-finite.c): Likewise.
2181         (CFLAGS-libm-test-support-float.c): Likewise.
2182         (CFLAGS-test-double.c): Likewise.
2183         (CFLAGS-test-double-finite.c): Likewise.
2184         (CFLAGS-libm-test-support-double.c): Likewise.
2185         (CFLAGS-test-ldouble.c): Likewise.
2186         (CFLAGS-test-ldouble-finite.c): Likewise.
2187         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2188         (libm-test-inline-cflags): New variable.
2189         (CFLAGS-test-ifloat.c): Remove variable.
2190         (CFLAGS-test-idouble.c): Likewise.
2191         (CFLAGS-test-ildouble.c): Likewise.
2192         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2193         dependencies.
2194         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2195         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2196         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2197         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2198         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2199         Likewise.
2200         (dependencies on libm-test-support-*.o): Remove.
2201         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2202         rules using iterators.
2203         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2204         Likewise.
2205         ($(objpfx)libm-test-support-$(o).o): Likewise.
2206         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2207         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2208         instead.
2209         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2210         define rule instead.
2211         * math/README.libm-test: Update.
2212         * math/libm-test-acos.inc: Include libm-test-driver.c.
2213         (do_test): New function.
2214         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2215         (do_test): New function.
2216         * math/libm-test-asin.inc: Include libm-test-driver.c.
2217         (do_test): New function.
2218         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2219         (do_test): New function.
2220         * math/libm-test-atan.inc: Include libm-test-driver.c.
2221         (do_test): New function.
2222         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2223         (do_test): New function.
2224         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2225         (do_test): New function.
2226         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2227         (do_test): New function.
2228         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2229         (do_test): New function.
2230         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2231         (do_test): New function.
2232         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2233         (do_test): New function.
2234         * math/libm-test-carg.inc: Include libm-test-driver.c.
2235         (do_test): New function.
2236         * math/libm-test-casin.inc: Include libm-test-driver.c.
2237         (do_test): New function.
2238         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2239         (do_test): New function.
2240         * math/libm-test-catan.inc: Include libm-test-driver.c.
2241         (do_test): New function.
2242         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2243         (do_test): New function.
2244         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2245         (do_test): New function.
2246         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2247         (do_test): New function.
2248         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2249         (do_test): New function.
2250         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2251         (do_test): New function.
2252         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2253         (do_test): New function.
2254         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2255         (do_test): New function.
2256         * math/libm-test-clog.inc: Include libm-test-driver.c.
2257         (do_test): New function.
2258         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2259         (do_test): New function.
2260         * math/libm-test-conj.inc: Include libm-test-driver.c.
2261         (do_test): New function.
2262         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2263         (do_test): New function.
2264         * math/libm-test-cos.inc: Include libm-test-driver.c.
2265         (do_test): New function.
2266         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2267         (do_test): New function.
2268         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2269         (do_test): New function.
2270         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2271         (do_test): New function.
2272         * math/libm-test-creal.inc: Include libm-test-driver.c.
2273         (do_test): New function.
2274         * math/libm-test-csin.inc: Include libm-test-driver.c.
2275         (do_test): New function.
2276         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2277         (do_test): New function.
2278         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2279         (do_test): New function.
2280         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2281         (do_test): New function.
2282         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2283         (do_test): New function.
2284         * math/libm-test-erf.inc: Include libm-test-driver.c.
2285         (do_test): New function.
2286         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2287         (do_test): New function.
2288         * math/libm-test-exp.inc: Include libm-test-driver.c.
2289         (do_test): New function.
2290         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2291         (do_test): New function.
2292         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2293         (do_test): New function.
2294         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2295         (do_test): New function.
2296         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2297         (do_test): New function.
2298         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2299         (do_test): New function.
2300         * math/libm-test-floor.inc: Include libm-test-driver.c.
2301         (do_test): New function.
2302         * math/libm-test-fma.inc: Include libm-test-driver.c.
2303         (do_test): New function.
2304         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2305         (do_test): New function.
2306         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2307         (do_test): New function.
2308         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2309         (do_test): New function.
2310         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2311         (do_test): New function.
2312         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2313         (do_test): New function.
2314         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2315         (do_test): New function.
2316         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2317         (do_test): New function.
2318         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2319         (do_test): New function.
2320         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2321         (do_test): New function.
2322         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2323         (do_test): New function.
2324         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2325         (do_test): New function.
2326         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2327         (do_test): New function.
2328         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2329         (do_test): New function.
2330         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2331         (do_test): New function.
2332         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2333         (do_test): New function.
2334         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2335         (do_test): New function.
2336         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2337         (do_test): New function.
2338         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2339         (do_test): New function.
2340         * math/libm-test-isless.inc: Include libm-test-driver.c.
2341         (do_test): New function.
2342         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2343         (do_test): New function.
2344         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2345         (do_test): New function.
2346         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2347         (do_test): New function.
2348         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2349         (do_test): New function.
2350         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2351         (do_test): New function.
2352         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2353         (do_test): New function.
2354         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2355         (do_test): New function.
2356         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2357         (do_test): New function.
2358         * math/libm-test-j0.inc: Include libm-test-driver.c.
2359         (do_test): New function.
2360         * math/libm-test-j1.inc: Include libm-test-driver.c.
2361         (do_test): New function.
2362         * math/libm-test-jn.inc: Include libm-test-driver.c.
2363         (do_test): New function.
2364         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2365         (do_test): New function.
2366         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2367         (do_test): New function.
2368         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2369         (do_test): New function.
2370         * math/libm-test-llround.inc: Include libm-test-driver.c.
2371         (do_test): New function.
2372         * math/libm-test-log.inc: Include libm-test-driver.c.
2373         (do_test): New function.
2374         * math/libm-test-log10.inc: Include libm-test-driver.c.
2375         (do_test): New function.
2376         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2377         (do_test): New function.
2378         * math/libm-test-log2.inc: Include libm-test-driver.c.
2379         (do_test): New function.
2380         * math/libm-test-logb.inc: Include libm-test-driver.c.
2381         (do_test): New function.
2382         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2383         (do_test): New function.
2384         * math/libm-test-lround.inc: Include libm-test-driver.c.
2385         (do_test): New function.
2386         * math/libm-test-modf.inc: Include libm-test-driver.c.
2387         (do_test): New function.
2388         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2389         (do_test): New function.
2390         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2391         (do_test): New function.
2392         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2393         (do_test): New function.
2394         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2395         (do_test): New function.
2396         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2397         (do_test): New function.
2398         * math/libm-test-pow.inc: Include libm-test-driver.c.
2399         (do_test): New function.
2400         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2401         (do_test): New function.
2402         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2403         (do_test): New function.
2404         * math/libm-test-rint.inc: Include libm-test-driver.c.
2405         (do_test): New function.
2406         * math/libm-test-round.inc: Include libm-test-driver.c.
2407         (do_test): New function.
2408         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2409         (do_test): New function.
2410         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2411         (do_test): New function.
2412         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2413         (do_test): New function.
2414         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2415         (do_test): New function.
2416         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2417         (do_test): New function.
2418         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2419         (do_test): New function.
2420         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2421         (do_test): New function.
2422         * math/libm-test-significand.inc: Include libm-test-driver.c.
2423         (do_test): New function.
2424         * math/libm-test-sin.inc: Include libm-test-driver.c.
2425         (do_test): New function.
2426         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2427         (do_test): New function.
2428         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2429         (do_test): New function.
2430         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2431         (do_test): New function.
2432         * math/libm-test-tan.inc: Include libm-test-driver.c.
2433         (do_test): New function.
2434         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2435         (do_test): New function.
2436         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2437         (do_test): New function.
2438         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2439         (do_test): New function.
2440         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2441         (do_test): New function.
2442         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2443         (do_test): New function.
2444         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2445         (do_test): New function.
2446         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2447         (do_test): New function.
2448         * math/libm-test-y0.inc: Include libm-test-driver.c.
2449         (do_test): New function.
2450         * math/libm-test-y1.inc: Include libm-test-driver.c.
2451         (do_test): New function.
2452         * math/libm-test-yn.inc: Include libm-test-driver.c.
2453         (do_test): New function.
2454         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2455         (HAVE_VECTOR): Remove macro.
2456         (START): Do not call HAVE_VECTOR.
2457         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2458         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2459         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2460         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2461         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2462         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2463         * math/test-math-vector.h (FUNC_TEST): New macro.
2464         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2465         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2466         (double-vlen4-funcs): Likewise.
2467         (double-vlen4-avx2-funcs): Likewise.
2468         (double-vlen8-funcs): Likewise.
2469         (float-vlen4-funcs): Likewise.
2470         (float-vlen8-funcs): Likewise.
2471         (float-vlen8-avx2-funcs): Likewise.
2472         (float-vlen16-funcs): Likewise.
2473         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2474         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2475         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2476         macro.
2477         (TEST_VECTOR_sin): Likewise.
2478         (TEST_VECTOR_sincos): Likewise.
2479         (TEST_VECTOR_log): Likewise.
2480         (TEST_VECTOR_exp): Likewise.
2481         (TEST_VECTOR_pow): Likewise.
2482         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2483         Likewise.
2484         (TEST_VECTOR_sin): Likewise.
2485         (TEST_VECTOR_sincos): Likewise.
2486         (TEST_VECTOR_log): Likewise.
2487         (TEST_VECTOR_exp): Likewise.
2488         (TEST_VECTOR_pow): Likewise.
2489         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2490         Likewise.
2491         (TEST_VECTOR_sinf): Likewise.
2492         (TEST_VECTOR_sincosf): Likewise.
2493         (TEST_VECTOR_logf): Likewise.
2494         (TEST_VECTOR_expf): Likewise.
2495         (TEST_VECTOR_powf): Likewise.
2496         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2497         Likewise.
2498         (TEST_VECTOR_sinf): Likewise.
2499         (TEST_VECTOR_sincosf): Likewise.
2500         (TEST_VECTOR_logf): Likewise.
2501         (TEST_VECTOR_expf): Likewise.
2502         (TEST_VECTOR_powf): Likewise.
2503         * math/gen-libm-have-vector-test.sh: Remove file.
2504         * math/libm-test.inc: Likewise.
2505         * math/libm-test-support-double.c: Likewise.
2506         * math/libm-test-support-float.c: Likewise.
2507         * math/libm-test-support-ldouble.c: Likewise.
2508         * math/test-double-finite.c: Likewise.: Likewise.
2509         * math/test-double.c: Likewise.
2510         * math/test-float-finite.c: Likewise.
2511         * math/test-float.c: Likewise.
2512         * math/test-idouble.c: Likewise.
2513         * math/test-ifloat.c: Likewise.
2514         * math/test-ildouble.c: Likewise.
2515         * math/test-ldouble-finite.c: Likewise.
2516         * math/test-ldouble.c: Likewise.
2517         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2518         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2519         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2520         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2521         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2522         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2523         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2524         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2525         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2526         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2528 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2529            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2531         * math/Makefile: Add wrappers to gen-libm-calls.
2532         * math/w_acos_template.c: New file.
2533         * math/w_acosh_template.c: Likewise.
2534         * math/w_asin_template.c: Likewise.
2535         * math/w_atan2_template.c: Likewise.
2536         * math/w_atanh_template.c: Likewise.
2537         * math/w_cosh_template.c: Likewise.
2538         * math/w_exp10_template.c: Likewise.
2539         * math/w_exp2_template.c: Likewise.
2540         * math/w_exp_template.c: Likewise.
2541         * math/w_fmod_template.c: Likewise.
2542         * math/w_hypot_template.c: Likewise.
2543         * math/w_j0_template.c: Likewise.
2544         * math/w_j1_template.c: Likewise.
2545         * math/w_jn_template.c: Likewise.
2546         * math/w_lgamma_r_template.c: Likewise.
2547         * math/w_lgamma_template.c: Likewise.
2548         * math/w_log10_template.c: Likewise.
2549         * math/w_log2_template.c: Likewise.
2550         * math/w_log_template.c: Likewise.
2551         * math/w_pow_template.c: Likewise.
2552         * math/w_remainder_template.c: Likewise.
2553         * math/w_sinh_template.c: Likewise.
2554         * math/w_sqrt_template.c: Likewise.
2555         * math/w_tgamma_template.c: Likewise.: Likewise.
2556         * sysdeps/generic/math-type-macros-double.h
2557         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2558         the new wrappers.
2559         * sysdeps/generic/math-type-macros-float.h: Likewise.
2560         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2562 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2564         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2565         New enum constant and macro.
2567         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2568         kernel version to 4.10.
2570 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2572         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2574 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2578 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2580         * sysdeps/powerpc/tst-set_ppr.c: New file.
2581         Implement test cases for __ppc_set_ppr_* functions.
2582         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2583         in the list of tests.
2585 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2587         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2588         instead of test-skeleton.c.
2589         (do_test): Replaced pthread_create and pthread_join with
2590         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2591         Removed unneeded status variable.
2592         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2593         instead of test-skeleton.c.
2594         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2596 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2598         [BZ #20313]
2599         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2600         201605L, for Unicode 9.
2602 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2604         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2605         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2606         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2607         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2608         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2609         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2611 2017-02-19  Zack Weinberg  <zackw@panix.com>
2613         * rt/tst-mqueue4.c: Include stdint.h.
2615 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2617         * sysdeps/arm/libm-test-ulps: Update.
2618         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2619         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2620         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2622 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2624         [BZ #21029]
2625         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2626         * sysdeps/unix/sysv/linux/i386/Makefile
2627         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2628         (uses-6-syscall-arguments): Remove.
2629         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2630         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2631         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2632         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2633         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2634         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2635         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2636         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2637         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2638         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2639         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2640         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2641         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2642         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2643         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2644         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2645         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2646         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2647         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2648         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2649         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2650         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2651         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2652         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2653         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2654         Likewise.
2655         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2656         Likewise.
2657         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2658         Likewise.
2659         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2660         Likewise.
2661         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2662         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2663         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2664         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2665         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2666         ebp on inline assembly.
2667         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2668         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2669         Set if CAN_USE_REGISTER_ASM_EBP is set.
2671 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2673         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2674         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2676 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2678         * math/auto-libm-test-in: Add tests of catan and catanh.
2679         * math/auto-libm-test-out-catan: New generated file.
2680         * math/auto-libm-test-out-catanh: Likewise.
2681         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2682         Move tests with finite inputs, except divide-by-zero cases, to
2683         auto-libm-test-in.
2684         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2685         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2686         (libm-test-funcs-noauto): Remove catan and catanh.
2687         * sysdeps/i386/fpu/libm-test-ulps: Update.
2688         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2691         * math/auto-libm-test-in: Add tests of casin and casinh.
2692         * math/auto-libm-test-out-casin: New generated file.
2693         * math/auto-libm-test-out-casinh: Likewise.
2694         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2695         Move tests with finite inputs to auto-libm-test-in.
2696         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2697         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2698         (libm-test-funcs-noauto): Remove casin and casinh.
2699         * sysdeps/i386/fpu/libm-test-ulps: Update.
2700         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2703         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2704         * math/auto-libm-test-out-cacos: New generated file.
2705         * math/auto-libm-test-out-cacosh: Likewise.
2706         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2707         Move tests with finite inputs to auto-libm-test-in.
2708         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2709         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2710         (libm-test-funcs-noauto): Remove cacos and cacosh.
2711         * sysdeps/i386/fpu/libm-test-ulps: Update.
2712         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715         Revert:
2716         2017-02-16  Zack Weinberg  <zackw@panix.com>
2718         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2719         Don't include init-arch.h.
2720         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2721         Don't include init-arch.h.
2723 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2725         [BZ #21171]
2726         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2727         +Inf and raise divide-by-zero when x is negative.
2728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2729         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2730         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2731         -Inf and raise divide-by-zero when x = +-0.
2732         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2733         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2734         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2735         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2736         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2737         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2738         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2740 2017-02-16  Zack Weinberg  <zackw@panix.com>
2742         * scripts/build-many-glibcs.py (bot_build_mail): If the
2743         bot_config does not contain all of the necessary email-
2744         related settings, just print a warning and continue.
2746 2017-02-16  Zack Weinberg  <zackw@panix.com>
2748         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2749         * dirent/opendir-tst1.c: Include sys/stat.h.
2750         * dirent/tst-fdopendir.c: Include sys/stat.h.
2751         * dirent/tst-fdopendir2.c: Include stdlib.h.
2752         * dirent/tst-scandir.c: Include stdbool.h.
2753         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2754         * elf/tst-tls15.c: Include stdlib.h.
2755         * elf/tst-tls16.c: Include stdlib.h.
2756         * elf/tst-tls17.c: Include stdlib.h.
2757         * elf/tst-tls18.c: Include stdlib.h.
2758         * iconv/tst-iconv6.c: Include endian.h.
2759         * iconvdata/bug-iconv11.c: Include limits.h.
2760         * io/test-utime.c: Include stdint.h.
2761         * io/tst-faccessat.c: Include sys/stat.h.
2762         * io/tst-fchmodat.c: Include sys/stat.h.
2763         * io/tst-fchownat.c: Include sys/stat.h.
2764         * io/tst-fstatat.c: Include sys/stat.h.
2765         * io/tst-futimesat.c: Include sys/stat.h.
2766         * io/tst-linkat.c: Include sys/stat.h.
2767         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2768         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2769         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2770         * io/tst-openat.c: Include stdbool.h.
2771         * io/tst-readlinkat.c: Include sys/stat.h.
2772         * io/tst-renameat.c: Include sys/stat.h.
2773         * io/tst-symlinkat.c: Include sys/stat.h.
2774         * io/tst-unlinkat.c: Include stdbool.h.
2775         * libio/bug-memstream1.c: Include stdlib.h.
2776         * libio/bug-wmemstream1.c: Include stdlib.h.
2777         * libio/tst-fwrite-error.c: Include stdlib.h.
2778         * libio/tst-memstream1.c: Include stdlib.h.
2779         * libio/tst-memstream2.c: Include stdlib.h.
2780         * libio/tst-memstream3.c: Include stdlib.h.
2781         * malloc/tst-interpose-aux.c: Include stdint.h.
2782         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2783         * nptl/tst-basic7.c: Include limits.h.
2784         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2785         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2786         * nptl/tst-cancel4_1.c: Include stddef.h.
2787         * nptl/tst-cancel4_2.c: Include stddef.h.
2788         * nptl/tst-cond16.c: Include limits.h.
2789         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2790         * nptl/tst-cond18.c: Include limits.h.
2791         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2792         * nptl/tst-cond4.c: Include stdint.h.
2793         * nptl/tst-cond6.c: Include stdint.h.
2794         * nptl/tst-stack2.c: Include limits.h.
2795         * nptl/tst-stackguard1.c: Include stddef.h.
2796         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2797         * nptl/tst-tls4moda.c: Include stddef.h.
2798         Don't include stdio.h, unistd.h, or tls.h.
2799         * nptl/tst-tls4modb.c: Include stddef.h.
2800         Don't include stdio.h, unistd.h, or tls.h.
2801         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2802         * posix/tst-getaddrinfo2.c: Include stdio.h.
2803         * posix/tst-getaddrinfo5.c: Include stdio.h.
2804         * posix/tst-pathconf.c: Include sys/stat.h.
2805         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2806         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2807         * posix/tst-regex.c: Include stdint.h.
2808         Don't include spawn.h or spawn_int.h.
2809         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2810         * posix/tst-vfork3.c: Include sys/stat.h.
2811         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2812         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2813         * resolv/tst-resolv-search.c: Include stdlib.h.
2814         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2815         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2816         * stdlib/test-canon.c: Include sys/stat.h.
2817         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2818         * string/test-memchr.c: Include stdint.h.
2819         * string/tst-cmp.c: Include stdint.h.
2820         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2821         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2822         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2823         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2824         Don't include init-arch.h.
2825         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2826         Don't include init-arch.h.
2827         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2828         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2829         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2830         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2831         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2832         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2833         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2834         * time/clocktest.c: Include stdint.h.
2835         * time/tst-posixtz.c: Include stdint.h.
2836         * timezone/tst-timezone.c: Include stdint.h.
2838 2017-02-16  Zack Weinberg  <zackw@panix.com>
2840         * string/string.h [__USE_MISC]: Include strings.h.
2841         (__bzero, bcmp, bcopy, bzero, index, rindex)
2842         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2843         (ffs, ffsl, ffsll): Don't declare.
2844         * string/strings.h: Do not suppress the file if string.h has
2845         already been included.
2846         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2847         annotations.
2848         (index, rindex): Define inline forwarders even if
2849         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2850         (ffs): Use __attribute_const__.
2851         (ffsl, ffsll): Declare here.
2852         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2853         have now been standardized.
2854         * include/string.h (__bzero): Declare here.
2856         * bits/types.h: Move to posix/bits.
2857         * include/bits/types.h: New wrapper.
2859 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2861         * string/bits/string2.h (strcmp): Remove define.
2862         (__strcmp_cg): Likewise.
2863         (strncmp): Likewise.
2865 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2867         * include/string.h: Add __cplusplus check.
2869 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2871         [BZ #21134]
2872         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2873         "divide by zero" exception when the input is zero.
2874         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2875         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2876         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2877         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2878         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2880 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2882         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2883         and include ...
2884         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2885         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2886         to, and include ...
2887         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2888         file.
2889         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2890         and include ...
2891         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2892         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2893         and include ...
2894         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2895         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2896         and include ...
2897         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2898         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2899         and include ...
2900         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2901         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2902         to, and include ...
2903         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2904         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2905         and include ...
2906         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2908 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2910         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2911         here.
2912         * math/libm-test-support.c (libm_test_init): Do not call
2913         INIT_ARCH_EXT here.
2914         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2915         (main): Call INIT_ARCH_EXT.
2917 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2919         [BZ #21130]
2920         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2921         with the "invalid" exception raised when x is -Inf.
2922         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2924 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2926         * string/bits/string2.h (strchr): Remove define.
2928 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2930         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2931         tst-avx512.
2932         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2933         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2934         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2935         ($(objpfx)tst-sse): New rule.
2936         ($(objpfx)tst-avx): Likewise.
2937         ($(objpfx)tst-avx512): Likewise.
2938         (CFLAGS-tst-avx-aux.c): New.
2939         (CFLAGS-tst-avxmod.c): Likewise.
2940         (CFLAGS-tst-avx512-aux.c): Likewise.
2941         (CFLAGS-tst-avx512mod.c): Likewise.
2942         * sysdeps/x86_64/tst-avx-aux.c: New file.
2943         * sysdeps/x86_64/tst-avx.c: Likewise.
2944         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2945         * sysdeps/x86_64/tst-avx512.c: Likewise.
2946         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2947         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2948         * sysdeps/x86_64/tst-sse.c: Likewise.
2949         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2951 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2953         * math/auto-libm-test-in: Add more tests of csin and csinh.
2954         * math/auto-libm-test-out-csin: Regenerated.
2955         * math/auto-libm-test-out-csinh: Likewise.
2956         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2957         auto-libm-test-in.
2958         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2960 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2962         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2963         libm-compat-calls-auto.
2964         (libm-compat-calls): Likewise.
2965         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2966         w_lgamma_compatF and k_standardF (merged from the items above).
2967         (libm-routines): Use libm-compat-calls, instead of
2968         libm-compat-calls-auto, with type-foreach.
2970 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2972         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2973         macro.
2974         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2975         (CFLAGS-test-ifloat.c): ... this.  Remove
2976         -U__LIBC_INTERNAL_MATH_INLINES.
2977         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2978         (CFLAGS-test-idouble.c): ... this.  Remove
2979         -U__LIBC_INTERNAL_MATH_INLINES.
2980         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2981         (CFLAGS-test-ildouble.c): ... this.  Remove
2982         -U__LIBC_INTERNAL_MATH_INLINES.
2984 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2986         * math/libm-test-support.c: New file.  Content from
2987         math/libm-test-driver.c.
2988         * math/libm-test-support.h: Likewise.
2989         * math/libm-test-support-double.c: New file.
2990         * math/libm-test-support-float.c: Likewise.
2991         * math/libm-test-support-ldouble.c: Likewise.
2992         * math/libm-test-driver.c: Remove main comment and header
2993         includes.  Include libm-test-support.h.
2994         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2995         (flag_test_errno): Remove static.
2996         (flag_test_exceptions): Likewise.
2997         (flag_test_finite): Likewise.
2998         (flag_test_inline): Likewise.
2999         (flag_test_mathvec): Likewise.
3000         (test_msg): Likewise.
3001         (NO_EXCEPTION): Remove.
3002         (INVALID_EXCEPTION): Likewise.
3003         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3004         (OVERFLOW_EXCEPTION): Likewise.
3005         (UNDERFLOW_EXCEPTION): Likewise.
3006         (INEXACT_EXCEPTION): Likewise.
3007         (INVALID_EXCEPTION_OK): Likewise.
3008         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3009         (OVERFLOW_EXCEPTION_OK): Likewise.
3010         (UNDERFLOW_EXCEPTION_OK): Likewise.
3011         (NO_INEXACT_EXCEPTION): Likewise.
3012         (EXCEPTIONS_OK): Likewise.
3013         (IGNORE_ZERO_INF_SIGN): Likewise.
3014         (TEST_NAN_SIGN): Likewise.
3015         (TEST_NAN_PAYLOAD): Likewise.
3016         (NO_TEST_INLINE): Likewise.
3017         (XFAIL_TEST): Likewise.
3018         (ERRNO_UNCHANGED): Likewise.
3019         (ERRNO_EDOM): Likewise.
3020         (ERRNO_ERANGE): Likewise.
3021         (IGNORE_RESULT): Likewise.
3022         (NON_FINITE): Likewise.
3023         (TEST_SNAN): Likewise.
3024         (NO_TEST_MATHVEC): Likewise.
3025         (__CONCATX): Likewise.
3026         (TYPE_MIN): Likewise.
3027         (TYPE_TRUE_MIN): Likewise.
3028         (TYPE_MAX): Likewise.
3029         (MIN_EXP): Likewise.
3030         (MAX_EXP): Likewise.
3031         (MANT_DIG): Likewise.
3032         (FSTR_MAX): Likewise.
3033         (ulp_idx): Likewise.
3034         (qtype_str): Remove static.
3035         (TEST_COND_binary32): Remove.
3036         (TEST_COND_binary64): Likewise.
3037         (TEST_COND_binary128): Likewise.
3038         (TEST_COND_ibm128): Likewise.
3039         (TEST_COND_intel96): Likewise.
3040         (TEST_COND_m68k96): Likewise.
3041         (TEST_COND_ibm128_libgcc): Likewise.
3042         (XFAIL_IBM128_LIBGCC): Likewise.
3043         (PAYLOAD_DIG): Likewise.
3044         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3045         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3046         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3047         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3048         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3049         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3050         (TEST_COND_long32): Likewise.
3051         (TEST_COND_long64): Likewise.
3052         (TEST_COND_before_rounding): Likewise.
3053         (TEST_COND_after_rounding): Likewise.
3054         (ulps_file_name): Likewise.
3055         (ulps_file): Likewise.
3056         (output_ulps): Likewise.
3057         (output_dir): Likewise.
3058         (noErrors): Likewise.
3059         (noTests): Likewise.
3060         (noExcTests): Likewise.
3061         (noErrnoTests): Likewise.
3062         (verbose): Likewise.
3063         (output_max_error): Likewise.
3064         (output_points): Likewise.
3065         (ignore_max_ulp): Likewise.
3066         (max_error): Likewise.
3067         (real_max_error): Likewise.
3068         (imag_max_error): Likewise.
3069         (prev_max_error): Likewise.
3070         (prev_real_max_error): Likewise.
3071         (prev_imag_max_error): Likewise.
3072         (max_valid_error): Likewise.
3073         (TYPE_DECIMAL_DIG): Likewise.
3074         (TYPE_HEX_DIG): Likewise.
3075         (fmt_ftostr): Likewise.
3076         (compare_ulp_data): Likewise.
3077         (find_ulps): Likewise.
3078         (init_max_error): Likewise.
3079         (set_max_error): Likewise.
3080         (print_float): Likewise.
3081         (print_screen): Likewise.
3082         (print_screen_max_error): Likewise.
3083         (update_stats): Likewise.
3084         (print_function_ulps): Likewise.
3085         (print_complex_function_ulps): Likewise.
3086         (fpstack_test): Likewise.
3087         (print_max_error): Likewise.
3088         (print_complex_max_error): Likewise.
3089         (test_single_exception): Likewise.
3090         (test_exceptions): Likewise.
3091         (test_single_errno): Likewise.
3092         (test_errno): Likewise.
3093         (ULPDIFF): Likewise.
3094         (ulp): Likewise.
3095         (check_float_internal): Likewise.
3096         (check_float): Likewise.
3097         (check_complex): Likewise.
3098         (check_int): Likewise.
3099         (check_long): Likewise.
3100         (check_bool): Likewise.
3101         (check_longlong): Likewise.
3102         (check_intmax_t): Likewise.
3103         (check_uintmax_t): Likewise.
3104         (enable_test): Likewise.
3105         (matherr): Likewise.
3106         (initialize): Likewise.
3107         (options): Likewise.
3108         (doc): Remove static.
3109         (argp): Likewise.
3110         (parse_opt): Remove.
3111         (check_ulp): Likewise.
3112         (libm_test_init): Likewise.
3113         (libm_test_finish): Likewise.
3114         * math/Makefile (libm-test-support): New variable.
3115         (test-extras): Add libm-test-support files.
3116         (extra-test-objs): Likewise.
3117         (CFLAGS-libm-test-support-float.c): New variable.
3118         (CFLAGS-libm-test-support-double.c): Likewise.
3119         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3120         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3121         libm-test-support objects.
3123 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3125         * math/Makefile (libm-calls): Move w_exp...
3126         (libm-compat-calls-auto): Here.
3128         * math/w_expl.c: Add suffix "_compat" to filename.
3129         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3130         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3131         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3132         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3133         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3134         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3135         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3136         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3138         * math/w_expl_compat.c: New file, copied from above.
3139         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3140         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3141         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3142         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3143         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3144         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3145         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3146         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3148         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3149         to filename.
3150         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3152         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3153         copied from above and adjusted for the new filenames.
3154         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3156 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3158         * math/Makefile (libm-calls): Move w_lgammaF...
3159         (libm-compat-calls-auto): Here.
3161         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3162         * math/w_lgammaf.c: Likewise.
3163         * math/w_lgammal.c: Likewise.
3165         * math/w_lgamma_compat2.c: New file, copied from above.
3166         * math/w_lgammaf_compat2.c: Likewise.
3167         * math/w_lgammal_compat2.c: Likewise.
3169 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3171         * math/Makefile (libm-calls): Move w_lgammaF_r...
3172         (libm-compat-calls-auto): Here.
3174         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3175         * math/w_lgammaf_r.c: Likewise.
3176         * math/w_lgammal_r.c: Likewise.
3177         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3178         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3179         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3181         * math/w_lgamma_r_compat.c: New file, copied from above.
3182         * math/w_lgammaf_r_compat.c: Likewise.
3183         * math/w_lgammal_r_compat.c: Likewise.
3184         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3185         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3186         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3188         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3189         to filename.
3190         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3192         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3193         copied from above and adjusted for the new filenames.
3194         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3196 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3198         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3199         calculation in SYSCALL_ERROR_HANDLER().
3201 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3203         * manual/contrib.texi: Fix typo.
3205 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3207         [BZ #21109]
3208         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3209         tunable_val_t as argument.
3210         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3211         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3212         argument.
3213         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3215 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3217         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3218         Add PTRACE_EVENT_STOP.
3219         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3220         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3221         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3222         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3223         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3224         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3226 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3228         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3229         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3230         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3231         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3232         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3233         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3234         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3235         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3236         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3237         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3239         [BZ #21112]
3240         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3241         12 bits zero.
3242         (cp_l): Update for new value of cp_h.
3243         * math/auto-libm-test-in: Add another test of pow.
3244         * math/auto-libm-test-out-pow: Regenerated.
3246 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3248         * manual/contrib.texi: Fix typo.
3250 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3252         [BZ #15998]
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3254         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3257 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3259         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3260         STRCHR as __strchr_power8.
3261         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3262         strlen as __strlen_power8.
3264 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3266         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3267         unaligned load for shorter strings.
3268         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3270 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3272         * math/libm-test-driver.c (flag_test_errno): New variable.
3273         (flag_test_exceptions): Likewise.
3274         (flag_test_finite): Likewise.
3275         (flag_test_inline): Likewise.
3276         (flag_test_mathvec): Likewise.
3277         (test_msg): Likewise.
3278         (ulp_idx): Likewise.
3279         (qtype_str): Likewise.
3280         (ULP_IDX): Remove macro.
3281         (QTYPE_STR): Likewise.
3282         (find_ulps): Use ulp_idx not ULP_IDX.
3283         (print_function_ulps): Use qtype_str, printed with %s, not
3284         QTYPE_STR, printed with concatentation to format string.
3285         (print_complex_function_ulps): Likewise.
3286         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3287         (test_errno): Use flag_test_errno not TEST_ERRNO.
3288         (enable_test): Use flag_test_inline, flag_test_finite and
3289         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3290         TEST_MATHVEC.
3291         (libm_test_init): New function.  Factored out of main.
3292         (libm_test_finish): Likewise.
3293         (main): Call libm_test_init and libm_test_finish and move most
3294         code to those functions.
3296         * math/libm-test-driver.c (STRX): New macro.
3297         (STR): Likewise.
3298         (STR_FLOAT): Likewise.
3299         (STR_VEC_LEN): Likewise.
3300         (TEST_MSG): Likewise.  Define here instead of expecting to be
3301         defined by including file.
3302         * math/test-double-finite.c (TEST_MSG): Remove macro.
3303         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3304         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3305         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3306         * math/test-double.c (TEST_MSG): Likewise.
3307         * math/test-float-finite.c (TEST_MSG): Likewise.
3308         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3309         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3310         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3311         * math/test-float.c (TEST_MSG): Likewise.
3312         * math/test-idouble.c (TEST_MSG): Likewise.
3313         * math/test-ifloat.c (TEST_MSG): Likewise.
3314         * math/test-ildouble.c (TEST_MSG): Likewise.
3315         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3316         * math/test-ldouble.c (TEST_MSG): Likewise.
3318         * math/libm-test.inc: Move all tests of individual functions to
3319         libm-test-*.inc and #include libm-test-*.c files.
3320         (acos_test_data): Remove.
3321         (acos_test): Likewise.
3322         (acosh_test_data): Likewise.
3323         (acosh_test): Likewise.
3324         (asin_test_data): Likewise.
3325         (asin_test): Likewise.
3326         (asinh_test_data): Likewise.
3327         (asinh_test): Likewise.
3328         (atan_test_data): Likewise.
3329         (atan_test): Likewise.
3330         (atanh_test_data): Likewise.
3331         (atanh_test): Likewise.
3332         (atan2_test_data): Likewise.
3333         (atan2_test): Likewise.
3334         (cabs_test_data): Likewise.
3335         (cabs_test): Likewise.
3336         (cacos_test_data): Likewise.
3337         (cacos_test): Likewise.
3338         (cacosh_test_data): Likewise.
3339         (cacosh_test): Likewise.
3340         (canonicalize_test_data): Likewise.
3341         (canonicalize_test): Likewise.
3342         (carg_test_data): Likewise.
3343         (carg_test): Likewise.
3344         (casin_test_data): Likewise.
3345         (casin_test): Likewise.
3346         (casinh_test_data): Likewise.
3347         (casinh_test): Likewise.
3348         (catan_test_data): Likewise.
3349         (catan_test): Likewise.
3350         (catanh_test_data): Likewise.
3351         (catanh_test): Likewise.
3352         (cbrt_test_data): Likewise.
3353         (cbrt_test): Likewise.
3354         (ccos_test_data): Likewise.
3355         (ccos_test): Likewise.
3356         (ccosh_test_data): Likewise.
3357         (ccosh_test): Likewise.
3358         (ceil_test_data): Likewise.
3359         (ceil_test): Likewise.
3360         (cexp_test_data): Likewise.
3361         (cexp_test): Likewise.
3362         (cimag_test_data): Likewise.
3363         (cimag_test): Likewise.
3364         (clog_test_data): Likewise.
3365         (clog_test): Likewise.
3366         (clog10_test_data): Likewise.
3367         (clog10_test): Likewise.
3368         (conj_test_data): Likewise.
3369         (conj_test): Likewise.
3370         (copysign_test_data): Likewise.
3371         (copysign_test): Likewise.
3372         (cos_test_data): Likewise.
3373         (cos_test): Likewise.
3374         (cosh_test_data): Likewise.
3375         (cosh_test): Likewise.
3376         (cpow_test_data): Likewise.
3377         (cpow_test): Likewise.
3378         (cproj_test_data): Likewise.
3379         (cproj_test): Likewise.
3380         (creal_test_data): Likewise.
3381         (creal_test): Likewise.
3382         (csin_test_data): Likewise.
3383         (csin_test): Likewise.
3384         (csinh_test_data): Likewise.
3385         (csinh_test): Likewise.
3386         (csqrt_test_data): Likewise.
3387         (csqrt_test): Likewise.
3388         (ctan_test_data): Likewise.
3389         (ctan_test): Likewise.
3390         (ctanh_test_data): Likewise.
3391         (ctanh_test): Likewise.
3392         (erf_test_data): Likewise.
3393         (erf_test): Likewise.
3394         (erfc_test_data): Likewise.
3395         (erfc_test): Likewise.
3396         (exp_test_data): Likewise.
3397         (exp_test): Likewise.
3398         (exp10_test_data): Likewise.
3399         (exp10_test): Likewise.
3400         (pow10_test): Likewise.
3401         (exp2_test_data): Likewise.
3402         (exp2_test): Likewise.
3403         (expm1_test_data): Likewise.
3404         (expm1_test): Likewise.
3405         (fabs_test_data): Likewise.
3406         (fabs_test): Likewise.
3407         (fdim_test_data): Likewise.
3408         (fdim_test): Likewise.
3409         (floor_test_data): Likewise.
3410         (floor_test): Likewise.
3411         (fma_test_data): Likewise.
3412         (fma_test): Likewise.
3413         (fmax_test_data): Likewise.
3414         (fmax_test): Likewise.
3415         (fmaxmag_test_data): Likewise.
3416         (fmaxmag_test): Likewise.
3417         (fmin_test_data): Likewise.
3418         (fmin_test): Likewise.
3419         (fminmag_test_data): Likewise.
3420         (fminmag_test): Likewise.
3421         (fmod_test_data): Likewise.
3422         (fmod_test): Likewise.
3423         (fpclassify_test_data): Likewise.
3424         (fpclassify_test): Likewise.
3425         (frexp_test_data): Likewise.
3426         (frexp_test): Likewise.
3427         (fromfp_test_data): Likewise.
3428         (fromfp_test): Likewise.
3429         (fromfpx_test_data): Likewise.
3430         (fromfpx_test): Likewise.
3431         (getpayload_test_data): Likewise.
3432         (getpayload_test): Likewise.
3433         (hypot_test_data): Likewise.
3434         (hypot_test): Likewise.
3435         (ilogb_test_data): Likewise.
3436         (ilogb_test): Likewise.
3437         (iscanonical_test_data): Likewise.
3438         (iscanonical_test): Likewise.
3439         (iseqsig_test_data): Likewise.
3440         (iseqsig_test): Likewise.
3441         (isfinite_test_data): Likewise.
3442         (isfinite_test): Likewise.
3443         (finite_test): Likewise.
3444         (isgreater_test_data): Likewise.
3445         (isgreater_test): Likewise.
3446         (isgreaterequal_test_data): Likewise.
3447         (isgreaterequal_test): Likewise.
3448         (isinf_test_data): Likewise.
3449         (isinf_test): Likewise.
3450         (isless_test_data): Likewise.
3451         (isless_test): Likewise.
3452         (islessequal_test_data): Likewise.
3453         (islessequal_test): Likewise.
3454         (islessgreater_test_data): Likewise.
3455         (islessgreater_test): Likewise.
3456         (isnan_test_data): Likewise.
3457         (isnan_test): Likewise.
3458         (isnormal_test_data): Likewise.
3459         (isnormal_test): Likewise.
3460         (issignaling_test_data): Likewise.
3461         (issignaling_test): Likewise.
3462         (issubnormal_test_data): Likewise.
3463         (issubnormal_test): Likewise.
3464         (isunordered_test_data): Likewise.
3465         (isunordered_test): Likewise.
3466         (iszero_test_data): Likewise.
3467         (iszero_test): Likewise.
3468         (j0_test_data): Likewise.
3469         (j0_test): Likewise.
3470         (j1_test_data): Likewise.
3471         (j1_test): Likewise.
3472         (jn_test_data): Likewise.
3473         (jn_test): Likewise.
3474         (lgamma_test_data): Likewise.
3475         (lgamma_test): Likewise.
3476         (gamma_test): Likewise.
3477         (llogb_test_data): Likewise.
3478         (llogb_test): Likewise.
3479         (lrint_test_data): Likewise.
3480         (lrint_test): Likewise.
3481         (llrint_test_data): Likewise.
3482         (llrint_test): Likewise.
3483         (log_test_data): Likewise.
3484         (log_test): Likewise.
3485         (log10_test_data): Likewise.
3486         (log10_test): Likewise.
3487         (log1p_test_data): Likewise.
3488         (log1p_test): Likewise.
3489         (log2_test_data): Likewise.
3490         (log2_test): Likewise.
3491         (logb_test_data): Likewise.
3492         (logb_test): Likewise.
3493         (lround_test_data): Likewise.
3494         (lround_test): Likewise.
3495         (llround_test_data): Likewise.
3496         (llround_test): Likewise.
3497         (modf_test_data): Likewise.
3498         (modf_test): Likewise.
3499         (nearbyint_test_data): Likewise.
3500         (nearbyint_test): Likewise.
3501         (nextafter_test_data): Likewise.
3502         (nextafter_test): Likewise.
3503         (nextup_test_data): Likewise.
3504         (nextup_test): Likewise.
3505         (nextdown_test_data): Likewise.
3506         (nextdown_test): Likewise.
3507         (nexttoward_test_data): Likewise.
3508         (nexttoward_test): Likewise.
3509         (pow_test_data): Likewise.
3510         (pow_test): Likewise.
3511         (remainder_test_data): Likewise.
3512         (remainder_test): Likewise.
3513         (drem_test): Likewise.
3514         (remquo_test_data): Likewise.
3515         (remquo_test): Likewise.
3516         (rint_test_data): Likewise.
3517         (rint_test): Likewise.
3518         (round_test_data): Likewise.
3519         (round_test): Likewise.
3520         (roundeven_test_data): Likewise.
3521         (roundeven_test): Likewise.
3522         (scalb_test_data): Likewise.
3523         (scalb_test): Likewise.
3524         (scalbn_test_data): Likewise.
3525         (scalbn_test): Likewise.
3526         (ldexp_test): Likewise.
3527         (scalbln_test_data): Likewise.
3528         (scalbln_test): Likewise.
3529         (setpayload_test_data): Likewise.
3530         (setpayload_test): Likewise.
3531         (setpayloadsig_test_data): Likewise.
3532         (setpayloadsig_test): Likewise.
3533         (signbit_test_data): Likewise.
3534         (signbit_test): Likewise.
3535         (sin_test_data): Likewise.
3536         (sin_test): Likewise.
3537         (sincos_test_data): Likewise.
3538         (sincos_test): Likewise.
3539         (sinh_test_data): Likewise.
3540         (sinh_test): Likewise.
3541         (sqrt_test_data): Likewise.
3542         (sqrt_test): Likewise.
3543         (tan_test_data): Likewise.
3544         (tan_test): Likewise.
3545         (tanh_test_data): Likewise.
3546         (tanh_test): Likewise.
3547         (tgamma_test_data): Likewise.
3548         (tgamma_test): Likewise.
3549         (totalorder_test_data): Likewise.
3550         (totalorder_test): Likewise.
3551         (totalordermag_test_data): Likewise.
3552         (totalordermag_test): Likewise.
3553         (trunc_test_data): Likewise.
3554         (trunc_test): Likewise.
3555         (ufromfp_test_data): Likewise.
3556         (ufromfp_test): Likewise.
3557         (ufromfpx_test_data): Likewise.
3558         (ufromfpx_test): Likewise.
3559         (y0_test_data): Likewise.
3560         (y0_test): Likewise.
3561         (y1_test_data): Likewise.
3562         (y1_test): Likewise.
3563         (yn_test_data): Likewise.
3564         (yn_test): Likewise.
3565         (significand_test_data): Likewise.
3566         (significand_test): Likewise.
3567         * math/Makefile (auto-libm-test-out-files): Remove variable.
3568         (libm-test-funcs-noauto): New variable.
3569         (libm-test-funcs-all): Likewise.
3570         (libm-test-c-auto): Likewise.
3571         (libm-test-c-noauto): Likewise.
3572         (libm-tests-generated): Add $(libm-test-c-auto) and
3573         $(libm-test-c-noauto).
3574         (generated): Do not add auto-libm-test-out.
3575         (libm-test-c-auto-obj): New variable.
3576         (libm-test-c-noauto-obj): Likewise.
3577         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3578         ($(libm-test-c-noauto-obj)): New static pattern rule.
3579         ($(libm-test-c-auto-obj)): Likewise.
3580         (libm-test-incs): New variable.
3581         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3582         and pass it to gen-libm-have-vector-test.sh.
3583         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3584         be passed on command line.
3585         * math/libm-test-acos.inc: New file.  Content from
3586         math/libm-test.inc.
3587         * math/libm-test-acosh.inc: Likewise.
3588         * math/libm-test-asin.inc: Likewise.
3589         * math/libm-test-asinh.inc: Likewise.
3590         * math/libm-test-atan.inc: Likewise.
3591         * math/libm-test-atan2.inc: Likewise.
3592         * math/libm-test-atanh.inc: Likewise.
3593         * math/libm-test-cabs.inc: Likewise.
3594         * math/libm-test-cacos.inc: Likewise.
3595         * math/libm-test-cacosh.inc: Likewise.
3596         * math/libm-test-canonicalize.inc: Likewise.
3597         * math/libm-test-carg.inc: Likewise.
3598         * math/libm-test-casin.inc: Likewise.
3599         * math/libm-test-casinh.inc: Likewise.
3600         * math/libm-test-catan.inc: Likewise.
3601         * math/libm-test-catanh.inc: Likewise.
3602         * math/libm-test-cbrt.inc: Likewise.
3603         * math/libm-test-ccos.inc: Likewise.
3604         * math/libm-test-ccosh.inc: Likewise.
3605         * math/libm-test-ceil.inc: Likewise.
3606         * math/libm-test-cexp.inc: Likewise.
3607         * math/libm-test-cimag.inc: Likewise.
3608         * math/libm-test-clog.inc: Likewise.
3609         * math/libm-test-clog10.inc: Likewise.
3610         * math/libm-test-conj.inc: Likewise.
3611         * math/libm-test-copysign.inc: Likewise.
3612         * math/libm-test-cos.inc: Likewise.
3613         * math/libm-test-cosh.inc: Likewise.
3614         * math/libm-test-cpow.inc: Likewise.
3615         * math/libm-test-cproj.inc: Likewise.
3616         * math/libm-test-creal.inc: Likewise.
3617         * math/libm-test-csin.inc: Likewise.
3618         * math/libm-test-csinh.inc: Likewise.
3619         * math/libm-test-csqrt.inc: Likewise.
3620         * math/libm-test-ctan.inc: Likewise.
3621         * math/libm-test-ctanh.inc: Likewise.
3622         * math/libm-test-erf.inc: Likewise.
3623         * math/libm-test-erfc.inc: Likewise.
3624         * math/libm-test-exp.inc: Likewise.
3625         * math/libm-test-exp10.inc: Likewise.
3626         * math/libm-test-exp2.inc: Likewise.
3627         * math/libm-test-expm1.inc: Likewise.
3628         * math/libm-test-fabs.inc: Likewise.
3629         * math/libm-test-fdim.inc: Likewise.
3630         * math/libm-test-floor.inc: Likewise.
3631         * math/libm-test-fma.inc: Likewise.
3632         * math/libm-test-fmax.inc: Likewise.
3633         * math/libm-test-fmaxmag.inc: Likewise.
3634         * math/libm-test-fmin.inc: Likewise.
3635         * math/libm-test-fminmag.inc: Likewise.
3636         * math/libm-test-fmod.inc: Likewise.
3637         * math/libm-test-fpclassify.inc: Likewise.
3638         * math/libm-test-frexp.inc: Likewise.
3639         * math/libm-test-fromfp.inc: Likewise.
3640         * math/libm-test-fromfpx.inc: Likewise.
3641         * math/libm-test-getpayload.inc: Likewise.
3642         * math/libm-test-hypot.inc: Likewise.
3643         * math/libm-test-ilogb.inc: Likewise.
3644         * math/libm-test-iscanonical.inc: Likewise.
3645         * math/libm-test-iseqsig.inc: Likewise.
3646         * math/libm-test-isfinite.inc: Likewise.
3647         * math/libm-test-isgreater.inc: Likewise.
3648         * math/libm-test-isgreaterequal.inc: Likewise.
3649         * math/libm-test-isinf.inc: Likewise.
3650         * math/libm-test-isless.inc: Likewise.
3651         * math/libm-test-islessequal.inc: Likewise.
3652         * math/libm-test-islessgreater.inc: Likewise.
3653         * math/libm-test-isnan.inc: Likewise.
3654         * math/libm-test-isnormal.inc: Likewise.
3655         * math/libm-test-issignaling.inc: Likewise.
3656         * math/libm-test-issubnormal.inc: Likewise.
3657         * math/libm-test-isunordered.inc: Likewise.
3658         * math/libm-test-iszero.inc: Likewise.
3659         * math/libm-test-j0.inc: Likewise.
3660         * math/libm-test-j1.inc: Likewise.
3661         * math/libm-test-jn.inc: Likewise.
3662         * math/libm-test-lgamma.inc: Likewise.
3663         * math/libm-test-llogb.inc: Likewise.
3664         * math/libm-test-llrint.inc: Likewise.
3665         * math/libm-test-llround.inc: Likewise.
3666         * math/libm-test-log.inc: Likewise.
3667         * math/libm-test-log10.inc: Likewise.
3668         * math/libm-test-log1p.inc: Likewise.
3669         * math/libm-test-log2.inc: Likewise.
3670         * math/libm-test-logb.inc: Likewise.
3671         * math/libm-test-lrint.inc: Likewise.
3672         * math/libm-test-lround.inc: Likewise.
3673         * math/libm-test-modf.inc: Likewise.
3674         * math/libm-test-nearbyint.inc: Likewise.
3675         * math/libm-test-nextafter.inc: Likewise.
3676         * math/libm-test-nextdown.inc: Likewise.
3677         * math/libm-test-nexttoward.inc: Likewise.
3678         * math/libm-test-nextup.inc: Likewise.
3679         * math/libm-test-pow.inc: Likewise.
3680         * math/libm-test-remainder.inc: Likewise.
3681         * math/libm-test-remquo.inc: Likewise.
3682         * math/libm-test-rint.inc: Likewise.
3683         * math/libm-test-round.inc: Likewise.
3684         * math/libm-test-roundeven.inc: Likewise.
3685         * math/libm-test-scalb.inc: Likewise.
3686         * math/libm-test-scalbln.inc: Likewise.
3687         * math/libm-test-scalbn.inc: Likewise.
3688         * math/libm-test-setpayload.inc: Likewise.
3689         * math/libm-test-setpayloadsig.inc: Likewise.
3690         * math/libm-test-signbit.inc: Likewise.
3691         * math/libm-test-significand.inc: Likewise.
3692         * math/libm-test-sin.inc: Likewise.
3693         * math/libm-test-sincos.inc: Likewise.
3694         * math/libm-test-sinh.inc: Likewise.
3695         * math/libm-test-sqrt.inc: Likewise.
3696         * math/libm-test-tan.inc: Likewise.
3697         * math/libm-test-tanh.inc: Likewise.
3698         * math/libm-test-tgamma.inc: Likewise.
3699         * math/libm-test-totalorder.inc: Likewise.
3700         * math/libm-test-totalordermag.inc: Likewise.
3701         * math/libm-test-trunc.inc: Likewise.
3702         * math/libm-test-ufromfp.inc: Likewise.
3703         * math/libm-test-ufromfpx.inc: Likewise.
3704         * math/libm-test-y0.inc: Likewise.
3705         * math/libm-test-y1.inc: Likewise.
3706         * math/libm-test-yn.inc: Likewise.
3707         * math/README.libm-test: Update.
3709         * math/gen-auto-libm-tests.c: Update comment about use of program.
3710         (generate_output): Add argument FUNCTION.
3711         (main): Require extra argument.  Pass function name to
3712         generate_output.
3713         * math/Makefile (generated): Add auto-libm-test-out.
3714         (libm-test-funcs-auto): New variable.
3715         (auto-libm-test-out-files): New variable.
3716         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3717         Concatenate those files to form $(objpfx)auto-libm-test-out and
3718         use it as input to gen-libm-test.pl.
3719         * math/README.libm-test: Update.
3720         * math/auto-libm-test-out: Remove.
3721         * math/auto-libm-test-out-acos: New generated file.
3722         * math/auto-libm-test-out-acosh: Likewise.
3723         * math/auto-libm-test-out-asin: Likewise.
3724         * math/auto-libm-test-out-asinh: Likewise.
3725         * math/auto-libm-test-out-atan: Likewise.
3726         * math/auto-libm-test-out-atan2: Likewise.
3727         * math/auto-libm-test-out-atanh: Likewise.
3728         * math/auto-libm-test-out-cabs: Likewise.
3729         * math/auto-libm-test-out-carg: Likewise.
3730         * math/auto-libm-test-out-cbrt: Likewise.
3731         * math/auto-libm-test-out-ccos: Likewise.
3732         * math/auto-libm-test-out-ccosh: Likewise.
3733         * math/auto-libm-test-out-cexp: Likewise.
3734         * math/auto-libm-test-out-clog: Likewise.
3735         * math/auto-libm-test-out-clog10: Likewise.
3736         * math/auto-libm-test-out-cos: Likewise.
3737         * math/auto-libm-test-out-cosh: Likewise.
3738         * math/auto-libm-test-out-cpow: Likewise.
3739         * math/auto-libm-test-out-csin: Likewise.
3740         * math/auto-libm-test-out-csinh: Likewise.
3741         * math/auto-libm-test-out-csqrt: Likewise.
3742         * math/auto-libm-test-out-ctan: Likewise.
3743         * math/auto-libm-test-out-ctanh: Likewise.
3744         * math/auto-libm-test-out-erf: Likewise.
3745         * math/auto-libm-test-out-erfc: Likewise.
3746         * math/auto-libm-test-out-exp: Likewise.
3747         * math/auto-libm-test-out-exp10: Likewise.
3748         * math/auto-libm-test-out-exp2: Likewise.
3749         * math/auto-libm-test-out-expm1: Likewise.
3750         * math/auto-libm-test-out-fma: Likewise.
3751         * math/auto-libm-test-out-hypot: Likewise.
3752         * math/auto-libm-test-out-j0: Likewise.
3753         * math/auto-libm-test-out-j1: Likewise.
3754         * math/auto-libm-test-out-jn: Likewise.
3755         * math/auto-libm-test-out-lgamma: Likewise.
3756         * math/auto-libm-test-out-log: Likewise.
3757         * math/auto-libm-test-out-log10: Likewise.
3758         * math/auto-libm-test-out-log1p: Likewise.
3759         * math/auto-libm-test-out-log2: Likewise.
3760         * math/auto-libm-test-out-pow: Likewise.
3761         * math/auto-libm-test-out-sin: Likewise.
3762         * math/auto-libm-test-out-sincos: Likewise.
3763         * math/auto-libm-test-out-sinh: Likewise.
3764         * math/auto-libm-test-out-sqrt: Likewise.
3765         * math/auto-libm-test-out-tan: Likewise.
3766         * math/auto-libm-test-out-tanh: Likewise.
3767         * math/auto-libm-test-out-tgamma: Likewise.
3768         * math/auto-libm-test-out-y0: Likewise.
3769         * math/auto-libm-test-out-y1: Likewise.
3770         * math/auto-libm-test-out-yn: Likewise.
3772         * math/Makefile (generated): Do not include libm-test.stmp.
3773         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3774         on $(objpfx)libm-test.stmp.
3775         ($(objpfx)libm-test.stmp): Remove rule.
3776         ($(objpfx)libm-test-ulps.h): New rule.
3777         ($(objpfx)libm-test.c): Likewise.
3778         ($(objpfx)libm-have-vector-test.h): Likewise.
3779         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3780         individual generated files, not libm-test.stmp.
3782         * math/gen-libm-test.pl ($output_dir): Remove variable.
3783         ($srcdir): Likewise.
3784         ($opt_a): New variable.
3785         ($opt_c): Likewise.
3786         ($opt_C): Likewise.
3787         ($opt_H): Likewise.
3788         (-n): Make option take argument and use it as NewUlps output.
3789         (-a): New option.  Use its argument for auto-libm-test-out input.
3790         (-c): New option.  Use its argument for libm-test.inc input.
3791         (-C): New option.  Use its argument for libm-test.c output.
3792         (-H): New option.  Use its argument for libm-test-ulps.h output.
3793         (top level): Only process inputs needed to generate outputs
3794         specified by command-line options.  Only generate outputs
3795         specified by command-line options.
3796         * math/README.libm-test: Update example gen-libm-test.pl command.
3797         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3798         commands.
3799         (regen-ulps): Likewise.
3801 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3803         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3804         * include/string.h (index): Remove define.
3805         (rindex): Likewise.
3806         * misc/getttyent.c (__getttyent): Rename index to strchr.
3807         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3808         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3810 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3812         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3813         * math/libm-test.inc: Move all contents, other than tests of
3814         individual functions, to libm-test-driver.c.
3815         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3816         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3817         [!FE_UPWARD] (FE_UPWARD): Likewise.
3818         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3819         (NO_EXCEPTION): Likewise.
3820         (INVALID_EXCEPTION): Likewise.
3821         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3822         (OVERFLOW_EXCEPTION): Likewise.
3823         (UNDERFLOW_EXCEPTION): Likewise.
3824         (INEXACT_EXCEPTION): Likewise.
3825         (INVALID_EXCEPTION_OK): Likewise.
3826         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3827         (OVERFLOW_EXCEPTION_OK): Likewise.
3828         (UNDERFLOW_EXCEPTION_OK): Likewise.
3829         (NO_INEXACT_EXCEPTION): Likewise.
3830         (EXCEPTIONS_OK): Likewise.
3831         (IGNORE_ZERO_INF_SIGN): Likewise.
3832         (TEST_NAN_SIGN): Likewise.
3833         (TEST_NAN_PAYLOAD): Likewise.
3834         (NO_TEST_INLINE): Likewise.
3835         (XFAIL_TEST): Likewise.
3836         (ERRNO_UNCHANGED): Likewise.
3837         (ERRNO_EDOM): Likewise.
3838         (ERRNO_ERANGE): Likewise.
3839         (IGNORE_RESULT): Likewise.
3840         (NON_FINITE): Likewise.
3841         (TEST_SNAN): Likewise.
3842         (NO_TEST_MATHVEC): Likewise.
3843         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3844         (__CONCATX): Likewise.
3845         (TYPE_MIN): Likewise.
3846         (TYPE_TRUE_MIN): Likewise.
3847         (TYPE_MAX): Likewise.
3848         (MIN_EXP): Likewise.
3849         (MAX_EXP): Likewise.
3850         (MANT_DIG): Likewise.
3851         (FSTR_MAX): Likewise.
3852         (ULP_IDX): Likewise.
3853         (QTYPE_STR): Likewise.
3854         (TEST_COND_binary32): Likewise.
3855         (TEST_COND_binary64): Likewise.
3856         (TEST_COND_binary128): Likewise.
3857         (TEST_COND_ibm128): Likewise.
3858         (TEST_COND_intel96): Likewise.
3859         (TEST_COND_m68k96): Likewise.
3860         (TEST_COND_ibm128_libgcc): Likewise.
3861         (XFAIL_IBM128_LIBGCC): Likewise.
3862         (PAYLOAD_DIG): Likewise.
3863         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3864         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3865         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3866         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3867         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3868         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3869         (TEST_COND_long32): Likewise.
3870         (TEST_COND_long64): Likewise.
3871         (TEST_COND_before_rounding): Likewise.
3872         (TEST_COND_after_rounding): Likewise.
3873         (lit_pi_3_m_4_d): Likewise.
3874         (lit_pi_3_m_4_ln10_m_d): Likewise.
3875         (lit_pi_2_ln10_m_d): Likewise.
3876         (lit_pi_4_ln10_m_d): Likewise.
3877         (lit_pi_ln10_d): Likewise.
3878         (lit_pi_2_d): Likewise.
3879         (lit_pi_4_d): Likewise.
3880         (lit_pi): Likewise.
3881         (lit_e): Likewise.
3882         (ulps_file_name): Likewise.
3883         (ulps_file): Likewise.
3884         (output_ulps): Likewise.
3885         (output_dir): Likewise.
3886         (noErrors): Likewise.
3887         (noTests): Likewise.
3888         (noExcTests): Likewise.
3889         (noErrnoTests): Likewise.
3890         (verbose): Likewise.
3891         (output_max_error): Likewise.
3892         (output_points): Likewise.
3893         (ignore_max_ulp): Likewise.
3894         (plus_zero): Likewise.
3895         (minus_zero): Likewise.
3896         (plus_infty): Likewise.
3897         (minus_infty): Likewise.
3898         (qnan_value_pl): Likewise.
3899         (qnan_value): Likewise.
3900         (snan_value_pl): Likewise.
3901         (snan_value): Likewise.
3902         (max_value): Likewise.
3903         (min_value): Likewise.
3904         (min_subnorm_value): Likewise.
3905         (snan_value_ld): Likewise.
3906         (max_error): Likewise.
3907         (real_max_error): Likewise.
3908         (imag_max_error): Likewise.
3909         (prev_max_error): Likewise.
3910         (prev_real_max_error): Likewise.
3911         (prev_imag_max_error): Likewise.
3912         (max_valid_error): Likewise.
3913         (TYPE_DECIMAL_DIG): Likewise.
3914         (TYPE_HEX_DIG): Likewise.
3915         (fmt_ftostr): Likewise.
3916         (compare_ulp_data): Likewise.
3917         (find_ulps): Likewise.
3918         (init_max_error): Likewise.
3919         (set_max_error): Likewise.
3920         (print_float): Likewise.
3921         (print_screen): Likewise.
3922         (print_screen_max_error): Likewise.
3923         (update_stats): Likewise.
3924         (print_function_ulps): Likewise.
3925         (print_complex_function_ulps): Likewise.
3926         (fpstack_test): Likewise.
3927         (print_max_error): Likewise.
3928         (print_complex_max_error): Likewise.
3929         (test_single_exception): Likewise.
3930         (test_exceptions): Likewise.
3931         (test_single_errno): Likewise.
3932         (test_errno): Likewise.
3933         (ULPDIFF): Likewise.
3934         (ulp): Likewise.
3935         (check_float_internal): Likewise.
3936         (check_float): Likewise.
3937         (check_complex): Likewise.
3938         (check_int): Likewise.
3939         (check_long): Likewise.
3940         (check_bool): Likewise.
3941         (check_longlong): Likewise.
3942         (check_intmax_t): Likewise.
3943         (check_uintmax_t): Likewise.
3944         (enable_test): Likewise.
3945         (struct test_f_f_data): Likewise.
3946         (struct test_ff_f_data): Likewise.
3947         (struct test_fj_f_data): Likewise.
3948         (struct test_fi_f_data): Likewise.
3949         (struct test_fl_f_data): Likewise.
3950         (struct test_if_f_data): Likewise.
3951         (struct test_fff_f_data): Likewise.
3952         (struct test_fiu_M_data): Likewise.
3953         (struct test_fiu_U_data): Likewise.
3954         (struct test_c_f_data): Likewise.
3955         (struct test_f_f1_data): Likewise.
3956         (struct test_fF_f1_data): Likewise.
3957         (struct test_ffI_f1_data): Likewise.
3958         (struct test_c_c_data): Likewise.
3959         (struct test_cc_c_data): Likewise.
3960         (struct test_f_i_data): Likewise.
3961         (struct test_ff_i_data): Likewise.
3962         (struct test_f_l_data): Likewise.
3963         (struct test_f_L_data): Likewise.
3964         (struct test_fFF_11_data): Likewise.
3965         (struct test_Ff_b1_data): Likewise.
3966         (IF_ROUND_INIT_): Likewise.
3967         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3968         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3969         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3970         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3971         (ROUND_RESTORE_): Likewise.
3972         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3973         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3974         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3975         (ROUND_RESTORE_FE_UPWARD): Likewise.
3976         (RM_): Likewise.
3977         (RM_FE_DOWNWARD): Likewise.
3978         (RM_FE_TONEAREST): Likewise.
3979         (RM_FE_TOWARDZERO): Likewise.
3980         (RM_FE_UPWARD): Likewise.
3981         (COMMON_TEST_SETUP): Likewise.
3982         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3983         (COMMON_TEST_CLEANUP): Likewise.
3984         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3985         (RUN_TEST_f_f): Likewise.
3986         (RUN_TEST_LOOP_f_f): Likewise.
3987         (RUN_TEST_fp_f): Likewise.
3988         (RUN_TEST_LOOP_fp_f): Likewise.
3989         (RUN_TEST_2_f): Likewise.
3990         (RUN_TEST_LOOP_2_f): Likewise.
3991         (RUN_TEST_ff_f): Likewise.
3992         (RUN_TEST_LOOP_ff_f): Likewise.
3993         (RUN_TEST_LOOP_fj_f): Likewise.
3994         (RUN_TEST_fi_f): Likewise.
3995         (RUN_TEST_LOOP_fi_f): Likewise.
3996         (RUN_TEST_fl_f): Likewise.
3997         (RUN_TEST_LOOP_fl_f): Likewise.
3998         (RUN_TEST_if_f): Likewise.
3999         (RUN_TEST_LOOP_if_f): Likewise.
4000         (RUN_TEST_fff_f): Likewise.
4001         (RUN_TEST_LOOP_fff_f): Likewise.
4002         (RUN_TEST_fiu_M): Likewise.
4003         (RUN_TEST_LOOP_fiu_M): Likewise.
4004         (RUN_TEST_fiu_U): Likewise.
4005         (RUN_TEST_LOOP_fiu_U): Likewise.
4006         (RUN_TEST_c_f): Likewise.
4007         (RUN_TEST_LOOP_c_f): Likewise.
4008         (RUN_TEST_f_f1): Likewise.
4009         (RUN_TEST_LOOP_f_f1): Likewise.
4010         (RUN_TEST_fF_f1): Likewise.
4011         (RUN_TEST_LOOP_fF_f1): Likewise.
4012         (RUN_TEST_fI_f1): Likewise.
4013         (RUN_TEST_LOOP_fI_f1): Likewise.
4014         (RUN_TEST_ffI_f1_mod8): Likewise.
4015         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4016         (RUN_TEST_Ff_b1): Likewise.
4017         (RUN_TEST_LOOP_Ff_b1): Likewise.
4018         (RUN_TEST_Ffp_b1): Likewise.
4019         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4020         (RUN_TEST_c_c): Likewise.
4021         (RUN_TEST_LOOP_c_c): Likewise.
4022         (RUN_TEST_cc_c): Likewise.
4023         (RUN_TEST_LOOP_cc_c): Likewise.
4024         (RUN_TEST_f_i): Likewise.
4025         (RUN_TEST_LOOP_f_i): Likewise.
4026         (RUN_TEST_f_i_tg): Likewise.
4027         (RUN_TEST_LOOP_f_i_tg): Likewise.
4028         (RUN_TEST_ff_b): Likewise.
4029         (RUN_TEST_LOOP_ff_b): Likewise.
4030         (RUN_TEST_ff_i_tg): Likewise.
4031         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4032         (RUN_TEST_f_b): Likewise.
4033         (RUN_TEST_LOOP_f_b): Likewise.
4034         (RUN_TEST_f_b_tg): Likewise.
4035         (RUN_TEST_LOOP_f_b_tg): Likewise.
4036         (RUN_TEST_f_l): Likewise.
4037         (RUN_TEST_LOOP_f_l): Likewise.
4038         (RUN_TEST_f_L): Likewise.
4039         (RUN_TEST_LOOP_f_L): Likewise.
4040         (RUN_TEST_fFF_11): Likewise.
4041         (RUN_TEST_LOOP_fFF_11): Likewise.
4042         (VEC_SUFF): Likewise.
4043         (STR_CONCAT): Likewise.
4044         (STR_CON3): Likewise.
4045         (HAVE_VECTOR): Likewise.
4046         (START): Likewise.
4047         (END): Likewise.
4048         (END_COMPLEX): Likewise.
4049         (ALL_RM_TEST): Likewise.
4050         (matherr): Likewise.
4051         (initialize): Likewise.
4052         (options): Likewise.
4053         (doc): Likewise.
4054         (parse_opt): Likewise.
4055         (argp): Likewise.
4056         (check_ulp): Likewise.
4057         (main): Likewise.
4058         (do_test): New function.  Call tests of individual functions
4059         previously called from main.
4061         * math/libm-test.inc: Remove comment listing functions tested and
4062         not tested.
4064 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4066         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4067         (allocate_stack): Remove COLORING_INCREMENT usage.
4068         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4069         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4071 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4073         * manual/libm-err-tab.pl (@all_functions): Change to
4074         %all_functions.  Initialize as empty.
4075         (parse_ulps): Add to %all_functions based on functions found in
4076         ulps files.  Ignore results for non-default rounding modes and
4077         vector functions.
4078         (print_platforms): Use %all_platforms.
4079         * manual/math.texi (Errors in Math Functions): Document omissions
4080         from the table.
4082         * math/Makefile (before-compile): Remove.
4084 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4086         [BZ #21075]
4087         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4088         unused assignment.
4089         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4091 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4093         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4094         Add __glibc_unlikely hint.
4096 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4098         [BZ #16640]
4099         * sysdeps/i386/i686/strtok.S: Remove file.
4100         * sysdeps/i386/i686/strtok_r.S: Likewise.
4101         * sysdeps/i386/strtok.S: Likewise.
4102         * sysdeps/i386/strtok_r.S: Likewise.
4103         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4104         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4105         * sysdeps/x86_64/strtok.S: Likewise.
4106         * sysdeps/x86_64/strtok_r.S: Likewise.
4108         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4109         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4110         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4111         (__ASSUME_FADVISE64_AS_64_64): Define.
4112         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4113         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4114         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4115         __ALIGNMENT_ARG usage.
4116         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4117         __NR_fadvise64_64 if it is not defined.
4119 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4121         * version.h (RELEASE): Set to "development"
4122         (VERSION): Set to 2.25.90.
4123         * NEWS: Add 2.26 section.
4125         * version.h (RELEASE): Set to "stable"
4126         (VERSION): Set to 2.25.
4127         * include/features.h (__GLIBC_MINOR__): Set to 25.
4129         * manual/contrib.texi: Add more contributors from this release
4130         and past releases.
4132         * NEWS (2.25): Add list of bugs fixed.
4134         * NEWS: Add missing news items.
4136 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4138         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4139         parent if child exited in that manner.  Print WEXITSTATUS
4140         instead of the raw status.
4141         (do_test_prep): Rename to do_test.
4142         (do_test): Return the result of run_executable_sgid.
4143         (TEST_FUNCTION_ARGV): Adjust.
4145 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4146             Florian Weimer  <fweimer@redhat.com>
4147             Carlos O'Donell  <carlos@redhat.com>
4149         [BZ #20915]
4150         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4151         Do not initialize DTV.
4152         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4154 2017-02-03  David S. Miller  <davem@davemloft.net>
4156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4165         (libm-sysdep_routines): Update.
4166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4171         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4172         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4173         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4174         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4176         Likewise.
4177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4179         Likewise.
4180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4182         Likewise.
4183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4185         Likewise.
4186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4188         (libm-sysdep_routines): Update.
4190 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4192         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4193         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4194         against unrelocated shared library.
4195         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4197 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4199         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4200         * elf/tst-env-setuid-tunables.c
4201         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4202         GLIBC_TUNABLES is removed in a setgid process.
4204         [BZ #21073]
4205         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4206         * elf/dl-tunables.c (tunables_strdup): Remove.
4207         (get_next_env): Also return the previous envp.
4208         (parse_tunables): Erase tunables of category
4209         TUNABLES_SECLEVEL_SXID_ERASE.
4210         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4211         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4212         (__tunables_init)[TUNABLES_FRONTEND ==
4213         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4214         after parsing.
4215         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4216         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4217         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4218         to security_level.
4219         * elf/dl-tunables.list: Add security_level annotations for all
4220         tunables.
4221         * scripts/gen-tunables.awk: Recognize and generate enum values
4222         for security_level.
4223         * elf/tst-env-setuid.c: New test case.
4224         * elf/tst-env-setuid-tunables: new test case.
4225         * elf/Makefile (tests-static): Add them.
4227 2017-02-01  Richard Henderson  <rth@twiddle.net>
4229         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4230         adjusting the byte count.
4232 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4234         * conform/Makefile (linknamespace-libs): Define.
4236         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4237         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4238         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4239         operands.
4241 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4243         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4245 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4247         [BZ #21081]
4248         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4249         (L(stosb)): Add VZEROUPPER before ret.
4251 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4252             Alexey Makhalov <amakhalov@vmware.com>
4253             Florian Weimer <fweimer@redhat.com>
4255         [BZ #20116]
4256         * nptl/pthread_create.c: Document concurrency notes.
4257         Enhance thread creation notes.
4258         (create_thread): Use bool *stopped_start.
4259         (START_THREAD_DEFN): Comment ownership of PD.
4260         (__pthread_create_2_1): Add local bool stopped_start and use
4261         that instead of pd->stopped_start where appropriate.
4262         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4263         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4264         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4265         * nptl/tst-create-detached.c: New file.
4266         * nptl/Makefile (tests): Add tst-create-detached.
4267         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4268         Reference the enhanced thread creation notes.
4269         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4270         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4271         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4272         (__pthread_current_priority): Likewise.
4273         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4274         xpthread_attr_init, xpthread_attr_setdetachstate, and
4275         xpthread_attr_setstacksize.
4276         * support/xpthread_attr_destroy.c: New file.
4277         * support/xpthread_attr_init.c: New file.
4278         * support/xpthread_attr_setdetachstate.c: New file.
4279         * support/xpthread_attr_setstacksize.c: New file.
4280         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4281         xpthread_attr_init, xpthread_attr_setdetachstate, and
4282         xpthread_attr_setstacksize.
4284 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4286         * nptl/Makefile (tests): Add tst-robust-fork.
4287         * nptl/tst-robust-fork.c: New file.
4288         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4289         xpthread_mutex_consistent, xpthread_mutex_destroy,
4290         xpthread_mutex_init, xpthread_mutexattr_destroy,
4291         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4292         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4293         xpthread_mutexattr_settype.
4294         * support/xmmap.c: New file.
4295         * support/xmunmap.c: Likewise.
4296         * support/xpthread_mutex_consistent.c: Likewise.
4297         * support/xpthread_mutex_destroy.c: Likewise.
4298         * support/xpthread_mutex_init.c: Likewise.
4299         * support/xpthread_mutexattr_destroy.c: Likewise.
4300         * support/xpthread_mutexattr_init.c: Likewise.
4301         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4302         * support/xpthread_mutexattr_setpshared.c: Likewise.
4303         * support/xpthread_mutexattr_setrobust.c: Likewise.
4304         * support/xpthread_mutexattr_settype.c: Likewise.
4305         * support/xthread.h (xpthread_mutexattr_destroy)
4306         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4307         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4308         (xpthread_mutexattr_settype, xpthread_mutex_init)
4309         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4310         * support/xunistd.h (xmmap, xmunmap): Likewise.
4312 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4314         * string/Makefile (xtests): Add comment.
4315         (LOCALES): Add en_GB.UTF-8.
4316         (tst-strcoll-overflow.out): Depend on generated locales.
4317         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4318         (SIZE, TIMEOUT): Update comments.
4319         (do_test): Define as static.  Fail test if setlocale fails.
4320         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4321         messages.
4322         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4323         TIMEOUT at 300 seconds should be enough to run this test
4324         successfully.
4326 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4328         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4329         /* FALLTHRU */ comments.
4331 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4333         [BZ #21053]
4334         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4335         constants instead of the old R* ones.
4336         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4337         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4338         (NGREG): ... to this, to fit in with other architectures.
4339         (gpregset_t): Use new NGREG macro.
4340         [__USE_GNU]: Remove condition; all architectures other than tile
4341         are unconditional.
4342         (R*): Rename to REG_R*.
4344 2017-01-20  DJ Delorie  <dj@redhat.com>
4346         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4347         (tunable_set_val_if_valid_range_signed) ... this, and ...
4348         (tunable_set_val_if_valid_range_unsigned) ... this.
4349         (tunable_initialize): Call the correct one of the above based on type.
4351 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4353         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4354         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4355         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4356         * sysdeps/microblaze/libm-test-ulps: Likewise.
4357         * sysdeps/sh/libm-test-ulps: Likewise.
4359         * math/README.libm-test: Update list of characters for input and
4360         output types.
4362 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4364         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4365         (__lll_unlock_elision): Fix adapt_count decrement.
4367 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4369         * README.pretty-printers (Known issues): Warn about printers not
4370         always covering everything.
4371         * nptl/nptl-printers.py (MutexPrinter): Change output.
4372         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4374 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4376         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4377         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4378         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4379         (__lll_lock_elision): Do not test futex before starting a
4380         transaction.  Use __glibc_likely instead of __builtin_expect.
4381         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4382         (__lll_trylock_elision): Do not test futex before starting a
4383         transaction.  Use __glibc_likely instead of __builtin_expect.
4385 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4387         * po/Makefile (update-translations): New target.
4389 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4391         [BZ #21061]
4392         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4394 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4396         * elf/dl-tunables (get_next_env): Always advance envp.
4397         * stdlib/tst-empty-env.c: New test case.
4398         * stdlib/Makefile (tests): Use it.
4400 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #21047]
4403         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4404         name for instruction.
4405         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4407 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4409         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4410         for make install.
4412 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4414         * po/bg.po: Merge from Translation Project.
4415         * po/fr.po: Likewise.
4416         * po/ko.po: Likewise.
4417         * po/nl.po: Likewise.
4418         * po/sv.po: Likewise.
4420 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4422         * manual/install.texi (Tools for Compilation): Update GCC version
4423         known to work to build glibc.
4424         * INSTALL: Regenerated.
4426 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4428         [BZ #21006]
4429         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4431 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4433         [BZ #21045]
4434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4435         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4436         to __sigprocmask.
4438 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4440         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4441         wrap-around.
4442         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4444         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4446 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4448         * NEWS: Fix typo.
4450 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4452         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4453         barriers and comments.
4454         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4455         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4456         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4458 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4460         [BZ #19402]
4461         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4462         mutexes.
4464 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4466         [BZ #20985]
4467         * nptl/Makefile: Adapt.
4468         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4469         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4470         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4471         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4472         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4473         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4474         lll_robust* functions and adapt.
4475         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4476         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4477         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4478         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4480         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4481         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4482         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4483         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4484         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4485         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4486         * nptl/lowlevelrobustlock.c: Remove file.
4487         * nptl/lowlevelrobustlock.sym: Likewise.
4488         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4489         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4491 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4493         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4495 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4497         * po/cs.po: Merge translations from the Translation Project.
4498         * po/de.po: Likewise.
4499         * po/pl.po: Likewise.
4500         * po/ru.po: Likewise.
4501         * po/tr.po: Likewise.
4502         * po/uk.po: Likewise.
4503         * po/vi.po: Likewise.
4504         * po/zh_CN.po: Likewise.
4506 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4508         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4510         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4511         object.
4513 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4515         [BZ #16458]
4516         * bits/uintn-identity.h: New file.
4517         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4518         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4519         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4520         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4521         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4522         * string/endian.h: Include <bits/uintn-identity.h>.
4523         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4524         __uint16_identity.
4525         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4526         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4527         __uint32_identity.
4528         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4529         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4530         __uint64_identity.
4531         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4532         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4533         __uint16_identity.
4534         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4535         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4536         __uint32_identity.
4537         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4538         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4539         __uint64_identity.
4540         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4541         * string/Makefile (headers): Add bits/uintn-identity.h.
4542         (tests): Add test-endian-types.
4543         * string/test-endian-types.c: New file.
4544         * inet/Makefile (tests): Add test-hnto-types.
4545         * inet/test-hnto-types.c: New file.
4547 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4549         * po/be.po: Update from Translation Project.
4550         * po/bg.po: Likewise.
4551         * po/ca.po: Likewise.
4552         * po/cs.po: Likewise.
4553         * po/da.po: Likewise.
4554         * po/de.po: Likewise.
4555         * po/el.po: Likewise.
4556         * po/eo.po: Likewise.
4557         * po/es.po: Likewise.
4558         * po/fi.po: Likewise.
4559         * po/fr.po: Likewise.
4560         * po/gl.po: Likewise.
4561         * po/hr.po: Likewise.
4562         * po/hu.po: Likewise.
4563         * po/ia.po: Likewise.
4564         * po/id.po: Likewise.
4565         * po/it.po: Likewise.
4566         * po/ja.po: Likewise.
4567         * po/ko.po: Likewise.
4568         * po/lt.po: Likewise.
4569         * po/nb.po: Likewise.
4570         * po/nl.po: Likewise.
4571         * po/pl.po: Likewise.
4572         * po/pt_BR.po: Likewise.
4573         * po/ru.po: Likewise.
4574         * po/rw.po: Likewise.
4575         * po/sk.po: Likewise.
4576         * po/sl.po: Likewise.
4577         * po/sv.po: Likewise.
4578         * po/tr.po: Likewise.
4579         * po/uk.po: Likewise.
4580         * po/vi.po: Likewise.
4581         * po/zh_CN.po: Likewise.
4582         * po/zh_TW.po: Likewise.
4584 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4586         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4587         -Wformat-truncation instead of -Wformat-length.
4588         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4589         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4590         GCC 7.
4591         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4592         (do_test): Ignore -Wformat-truncation for GCC 7.
4594         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4595         buffer used to print long int value.
4597         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4598         one byte.  Print it with %ld, cast to long int.
4600 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4602         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4603         (re.fullmatch, subprocess.run): Likewise.
4605 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4607         * po/libc.pot: Regenerate.
4609 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4611         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4612         (min_strlen): Likewise.
4613         (disable_tunable): Likewise.
4614         (maybe_disable_malloc_check): Rename to
4615         maybe_enable_malloc_check.
4616         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4617         if /etc/suid-debug file exists.
4618         (__tunables_init): Update caller.
4619         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4620         secure.
4622 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4624         * nptl/DESIGN-rwlock.txt: Remove.
4625         * nptl/lowlevelrwlock.sym: Remove.
4626         * nptl/Makefile: Add new tests.
4627         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4628         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4629         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4630         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4631         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4632         PTHREAD_RWLOCK_FUTEX_USED): New.
4633         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4634         implementation.
4635         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4636         (__pthread_rwlock_rdlock): Adapt.
4637         * nptl/pthread_rwlock_timedrdlock.c
4638         (pthread_rwlock_timedrdlock): Adapt.
4639         * nptl/pthread_rwlock_timedwrlock.c
4640         (pthread_rwlock_timedwrlock): Adapt.
4641         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4642         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4643         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4644         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4645         (__pthread_rwlock_wrlock): Adapt.
4646         * nptl/tst-rwlock10.c: Adapt.
4647         * nptl/tst-rwlock11.c: Adapt.
4648         * nptl/tst-rwlock17.c: New file.
4649         * nptl/tst-rwlock18.c: New file.
4650         * nptl/tst-rwlock19.c: New file.
4651         * nptl/tst-rwlock2b.c: New file.
4652         * nptl/tst-rwlock8.c: Adapt.
4653         * nptl/tst-rwlock9.c: Adapt.
4654         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4655         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4656         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4657         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4658         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4659         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4660         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4661         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4662         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4663         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4664         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4665         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4666         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4667         (pthread_rwlock_t): Adapt.
4668         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4669         (pthread_rwlock_t): Adapt.
4670         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4671         * nptl/nptl-printers.py (): Adapt.
4672         * nptl/nptl_lock_constants.pysym: Adapt.
4673         * nptl/test-rwlock-printers.py: Adapt.
4674         * nptl/test-rwlockattr-printers.c: Adapt.
4675         * nptl/test-rwlockattr-printers.py: Adapt.
4677 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4679         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4680         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4681         (fma_test_data): Likewise.
4682         (hypot_test_data): Likewise.
4683         (log1p_test_data): Likewise.
4684         (modf_test_data): Likewise.
4685         (pow_test_data): Likewise.
4686         (remainder_test_data): Likewise.
4687         (remquo_test_data): Likewise.
4688         (scalb_test_data): Likewise.
4689         (scalbn_test_data): Likewise.
4690         (scalbln_test_data): Likewise.
4691         * math/gen-libm-test.pl (parse_args): Transform
4692         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4693         on the rounding mode.
4695 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4697         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4698         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4699         and those that can underflow to zero.
4700         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4701         add others.
4702         * math/auto-libm-test-out: Regenerated.
4704         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4705         supported.
4706         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4707         modes support if not supported.
4709         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4710         Add libc.so PLT entry.
4711         (__tls_get_addr): Make ld.so PLT entry optional.
4713 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4715         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4716         * string/bits/string3.h: ... here.
4718 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4720         [BZ #21028]
4721         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4722         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4723         if EXCEPTION_TESTS returns false.
4725 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4727         [BZ #20558]
4728         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4729         strings_fortified.h.
4730         [__USE_MISC] (bzero): Likewise.
4731         [__USE_MISC] (explicit_bzero): Likewise.
4732         * string/strings.h: Include strings_fortified.h.
4733         * string/Makefile (headers): Add strings_fortified.h.
4734         * string/bits/strings_fortified.h: New file.
4735         * include/bits/strings_fortified.h: Likewise.
4737 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4739         * elf/tst-tls13.c (TIMEOUT): Remove.
4740         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4741         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4742         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4743         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4744         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4746         [BZ #21026]
4747         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4748         (readahead): New syscall entry.
4750 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4752         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4753         around tests of strncat with large sizes.
4755         * malloc/tst-malloc.c: Include <libc-internal.h>.
4756         (do_test): Disable -Walloc-size-larger-than= around tests of
4757         malloc with negative sizes.
4758         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4759         (do_test): Disable -Walloc-size-larger-than= around tests of
4760         malloc and realloc with negative sizes.
4761         * malloc/tst-realloc.c: Include <libc-internal.h>.
4762         (do_test): Disable -Walloc-size-larger-than= around tests of
4763         realloc with negative sizes.
4765         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4766         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4767         allowed to 16 ulps.
4768         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4769         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4770         * math/auto-libm-test-out: Regenerated.
4772 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4774         * math/Makefile (libm-calls): Move wrappers...
4775         (libm-compat-call-auto): Here.
4776         (libm-routines): Add items in libm-compat-calls-auto.
4777         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4778         the filenames of the wrappers that have been renamed.
4779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4782         * math/w_acos.c: Add _compat suffix to filename.
4783         * math/w_acosf.c: Likewise.
4784         * math/w_acosh.c: Likewise.
4785         * math/w_acoshf.c: Likewise.
4786         * math/w_acoshl.c: Likewise.
4787         * math/w_acosl.c: Likewise.
4788         * math/w_asin.c: Likewise.
4789         * math/w_asinf.c: Likewise.
4790         * math/w_asinl.c: Likewise.
4791         * math/w_atan2.c: Likewise.
4792         * math/w_atan2f.c: Likewise.
4793         * math/w_atan2l.c: Likewise.
4794         * math/w_atanh.c: Likewise.
4795         * math/w_atanhf.c: Likewise.
4796         * math/w_atanhl.c: Likewise.
4797         * math/w_cosh.c: Likewise.
4798         * math/w_coshf.c: Likewise.
4799         * math/w_coshl.c: Likewise.
4800         * math/w_exp10.c: Likewise.
4801         * math/w_exp10f.c: Likewise.
4802         * math/w_exp10l.c: Likewise.
4803         * math/w_exp2.c: Likewise.
4804         * math/w_exp2f.c: Likewise.
4805         * math/w_exp2l.c: Likewise.
4806         * math/w_fmod.c: Likewise.
4807         * math/w_fmodf.c: Likewise.
4808         * math/w_fmodl.c: Likewise.
4809         * math/w_hypot.c: Likewise.
4810         * math/w_hypotf.c: Likewise.
4811         * math/w_hypotl.c: Likewise.
4812         * math/w_j0.c: Likewise.
4813         * math/w_j0f.c: Likewise.
4814         * math/w_j0l.c: Likewise.
4815         * math/w_j1.c: Likewise.
4816         * math/w_j1f.c: Likewise.
4817         * math/w_j1l.c: Likewise.
4818         * math/w_jn.c: Likewise.
4819         * math/w_jnf.c: Likewise.
4820         * math/w_jnl.c: Likewise.
4821         * math/w_log10.c: Likewise.
4822         * math/w_log10f.c: Likewise.
4823         * math/w_log10l.c: Likewise.
4824         * math/w_log2.c: Likewise.
4825         * math/w_log2f.c: Likewise.
4826         * math/w_log2l.c: Likewise.
4827         * math/w_log.c: Likewise.
4828         * math/w_logf.c: Likewise.
4829         * math/w_logl.c: Likewise.
4830         * math/w_pow.c: Likewise.
4831         * math/w_powf.c: Likewise.
4832         * math/w_powl.c: Likewise.
4833         * math/w_remainder.c: Likewise.
4834         * math/w_remainderf.c: Likewise.
4835         * math/w_remainderl.c: Likewise.
4836         * math/w_scalb.c: Likewise.
4837         * math/w_scalbf.c: Likewise.
4838         * math/w_scalbl.c: Likewise.
4839         * math/w_sinh.c: Likewise.
4840         * math/w_sinhf.c: Likewise.
4841         * math/w_sinhl.c: Likewise.
4842         * math/w_sqrt.c: Likewise.
4843         * math/w_sqrtf.c: Likewise.
4844         * math/w_sqrtl.c: Likewise.
4845         * math/w_tgamma.c: Likewise.
4846         * math/w_tgammaf.c: Likewise.
4847         * math/w_tgammal.c: Likewise.
4849         * math/w_acos_compat.c: New file copied from above and
4850         adjusted for new #includes path
4851         * math/w_acosf_compat.c: Likewise.
4852         * math/w_acosh_compat.c: Likewise.
4853         * math/w_acoshf_compat.c: Likewise.
4854         * math/w_acoshl_compat.c: Likewise.
4855         * math/w_acosl_compat.c: Likewise.
4856         * math/w_asin_compat.c: Likewise.
4857         * math/w_asinf_compat.c: Likewise.
4858         * math/w_asinl_compat.c: Likewise.
4859         * math/w_atan2_compat.c: Likewise.
4860         * math/w_atan2f_compat.c: Likewise.
4861         * math/w_atan2l_compat.c: Likewise.
4862         * math/w_atanh_compat.c: Likewise.
4863         * math/w_atanhf_compat.c: Likewise.
4864         * math/w_atanhl_compat.c: Likewise.
4865         * math/w_cosh_compat.c: Likewise.
4866         * math/w_coshf_compat.c: Likewise.
4867         * math/w_coshl_compat.c: Likewise.
4868         * math/w_exp10_compat.c: Likewise.
4869         * math/w_exp10f_compat.c: Likewise.
4870         * math/w_exp10l_compat.c: Likewise.
4871         * math/w_exp2_compat.c: Likewise.
4872         * math/w_exp2f_compat.c: Likewise.
4873         * math/w_exp2l_compat.c: Likewise.
4874         * math/w_fmod_compat.c: Likewise.
4875         * math/w_fmodf_compat.c: Likewise.
4876         * math/w_fmodl_compat.c: Likewise.
4877         * math/w_hypot_compat.c: Likewise.
4878         * math/w_hypotf_compat.c: Likewise.
4879         * math/w_hypotl_compat.c: Likewise.
4880         * math/w_j0_compat.c: Likewise.
4881         * math/w_j0f_compat.c: Likewise.
4882         * math/w_j0l_compat.c: Likewise.
4883         * math/w_j1_compat.c: Likewise.
4884         * math/w_j1f_compat.c: Likewise.
4885         * math/w_j1l_compat.c: Likewise.
4886         * math/w_jn_compat.c: Likewise.
4887         * math/w_jnf_compat.c: Likewise.
4888         * math/w_jnl_compat.c: Likewise.
4889         * math/w_log10_compat.c: Likewise.
4890         * math/w_log10f_compat.c: Likewise.
4891         * math/w_log10l_compat.c: Likewise.
4892         * math/w_log2_compat.c: Likewise.
4893         * math/w_log2f_compat.c: Likewise.
4894         * math/w_log2l_compat.c: Likewise.
4895         * math/w_log_compat.c: Likewise.
4896         * math/w_logf_compat.c: Likewise.
4897         * math/w_logl_compat.c: Likewise.
4898         * math/w_pow_compat.c: Likewise.
4899         * math/w_powf_compat.c: Likewise.
4900         * math/w_powl_compat.c: Likewise.
4901         * math/w_remainder_compat.c: Likewise.
4902         * math/w_remainderf_compat.c: Likewise.
4903         * math/w_remainderl_compat.c: Likewise.
4904         * math/w_scalb_compat.c: Likewise.
4905         * math/w_scalbf_compat.c: Likewise.
4906         * math/w_scalbl_compat.c: Likewise.
4907         * math/w_sinh_compat.c: Likewise.
4908         * math/w_sinhf_compat.c: Likewise.
4909         * math/w_sinhl_compat.c: Likewise.
4910         * math/w_sqrt_compat.c: Likewise.
4911         * math/w_sqrtf_compat.c: Likewise.
4912         * math/w_sqrtl_compat.c: Likewise.
4913         * math/w_tgamma_compat.c: Likewise.
4914         * math/w_tgammaf_compat.c: Likewise.
4915         * math/w_tgammal_compat.c: Likewise.
4917         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4918         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4919         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4920         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4921         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4922         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4923         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4924         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4925         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4926         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4927         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4928         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4929         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4930         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4931         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4932         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4933         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4934         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4935         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4936         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4937         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4938         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4939         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4940         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4941         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4942         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4943         * sysdeps/ia64/fpu/w_log.c: Likewise.
4944         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4945         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4946         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4947         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4948         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4949         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4950         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4951         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4952         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4953         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4954         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4955         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4956         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4957         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4958         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4959         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4960         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4961         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4962         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4963         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4964         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4965         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4966         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4967         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4968         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4969         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4970         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4971         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4972         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4973         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4974         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4975         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4976         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4977         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4978         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4979         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4980         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4981         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4982         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4983         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4984         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4985         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4986         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4987         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4988         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4989         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4990         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4991         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4992         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4993         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4994         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4995         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4996         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4997         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4998         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4999         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5000         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5001         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5002         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5003         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5004         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5005         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5006         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5007         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5008         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5009         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5010         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5011         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5012         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5013         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5014         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5015         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5016         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5018         Likewise.
5019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5020         Likewise.
5021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5023         Likewise.
5024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5025         Likewise.
5026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5027         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5028         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5029         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5030         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5031         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5032         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5037         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5038         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5039         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5040         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5042         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5043         and adjusted for new #includes path
5044         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5045         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5046         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5047         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5048         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5049         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5050         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5051         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5052         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5053         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5054         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5055         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5056         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5057         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5058         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5059         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5060         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5061         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5062         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5063         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5064         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5065         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5066         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5067         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5068         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5069         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5070         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5071         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5072         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5073         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5074         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5075         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5076         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5077         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5078         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5079         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5080         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5081         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5082         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5083         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5084         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5085         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5086         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5087         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5088         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5089         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5090         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5091         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5092         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5093         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5094         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5095         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5096         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5097         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5098         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5099         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5100         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5101         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5102         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5103         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5104         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5105         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5106         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5107         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5108         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5109         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5110         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5111         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5112         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5113         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5115         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5116         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5117         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5118         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5119         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5120         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5121         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5122         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5123         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5124         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5125         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5126         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5127         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5128         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5129         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5130         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5131         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5132         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5133         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5134         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5135         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5136         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5137         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5138         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5139         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5140         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5141         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5142         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5144         Likewise.
5145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5146         Likewise.
5147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5148         Likewise.
5149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5150         Likewise.
5151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5152         Likewise.
5153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5154         Likewise.
5155         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5156         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5157         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5158         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5159         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5160         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5162         Likewise.
5163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5164         Likewise.
5165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5166         Likewise.
5167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5168         Likewise.
5169         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5170         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5171         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5172         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5174 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5176         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5177         __jmp_buf_internal_tag.
5179         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5180         preserve NaN payload if [__mips_nan2008].
5181         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5183         [BZ #21022]
5184         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5186 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5188         * sysdeps/i386/fpu/libm-test-ulps: Update.
5190 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5192         * sysdeps/ia64/strcat.c: Remove file.
5193         * sysdeps/powerpc/strcat.c: Likewise.
5194         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5195         C implementation.
5196         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5197         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5199 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5200             Steven Munroe  <sjmunroe@us.ibm.com>
5201             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5203         [BZ #20822]
5204         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5205         (__lll_lock_elision): Access adapt_count via C11 atomics.
5206         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5207         (__lll_trylock_elision): Likewise.
5208         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5209         (__lll_unlock_elision):  Update adapt_count variable inside the
5210         critical section using C11 atomics.
5212 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5214         * math/test-fenvinline.c (do_test): Disable tests of raised
5215         exceptions if !EXCEPTION_TESTS (FLOAT).
5217 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5219         [BZ #19390]
5220         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5221         maximum string size.
5222         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5223         in pointer addition.
5224         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5225         Likewise.
5227 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5229         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5230         passed to tst-ldconfig-X.sh.
5232 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5234         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5236 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5238         [BZ #21019]
5239         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5240         New syscall entry.
5241         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5242         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5243         lseek.
5245         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5246         power4 glibc for powerpc-linux-gnu.
5248 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5250         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5251         semctl.
5253 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5255         * math/test-nearbyint-except.c: Include <stdbool.h>.
5256         (any_supported): New variable.
5257         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5258         set any_supported.
5259         (do_test): Return 77 if no floating-point type supported
5260         exceptions.
5262         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5263         condition on [__mips_hard_float].
5265 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5267         [BZ #21014]
5268         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5269         in pointer addition.
5270         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5272 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5274         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5275         new condvar.
5277 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5279         * scripts/build-many-glibcs.py (Context.checkout): Default
5280         binutils version to 2.28 branch.
5282 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5284         * support/support_format_netent.c (support_format_netent): Work
5285         around alpha struct netent definition difference.
5287 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5289         * support/xwrite.c (xwrite): Use %td for pointer difference.
5291 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5293         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5294         have-tunables only.
5295         (tests-static): Add tst-malloc-usable-static-tunables for
5296         have-tunables only.
5298 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5300         * scripts/config.guess: Update to version 2017-01-01.
5301         * scripts/config.sub: Update to version 2017-01-01.
5303         * NEWS: Update copyright dates.
5304         * catgets/gencat.c (print_version): Likewise.
5305         * csu/version.c (banner): Likewise.
5306         * debug/catchsegv.sh: Likewise.
5307         * debug/pcprofiledump.c (print_version): Likewise.
5308         * debug/xtrace.sh (do_version): Likewise.
5309         * elf/ldconfig.c (print_version): Likewise.
5310         * elf/ldd.bash.in: Likewise.
5311         * elf/pldd.c (print_version): Likewise.
5312         * elf/sotruss.sh: Likewise.
5313         * elf/sprof.c (print_version): Likewise.
5314         * iconv/iconv_prog.c (print_version): Likewise.
5315         * iconv/iconvconfig.c (print_version): Likewise.
5316         * locale/programs/locale.c (print_version): Likewise.
5317         * locale/programs/localedef.c (print_version): Likewise.
5318         * login/programs/pt_chown.c (print_version): Likewise.
5319         * malloc/memusage.sh (do_version): Likewise.
5320         * malloc/memusagestat.c (print_version): Likewise.
5321         * malloc/mtrace.pl: Likewise.
5322         * manual/libc.texinfo: Likewise.
5323         * nptl/version.c (banner): Likewise.
5324         * nscd/nscd.c (print_version): Likewise.
5325         * nss/getent.c (print_version): Likewise.
5326         * nss/makedb.c (print_version): Likewise.
5327         * posix/getconf.c (main): Likewise.
5328         * scripts/test-installation.pl: Likewise.
5329         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5331         * All files with FSF copyright notices: Update copyright dates
5332         using scripts/update-copyrights.
5333         * intl/plural.c: Regenerated.
5334         * locale/programs/charmap-kw.h: Likewise.
5335         * locale/programs/locfile-kw.h: Likewise.
5337 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5339         [BZ #20593]
5340         Update DNS RR type definitions.
5341         * scripts/gen-rrtypes.py: New file.
5342         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5343         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5344         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5345         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5346         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5347         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5348         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5349         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5350         ns_t_ta, ns_t_dlv.
5351         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5352         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5353         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5354         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5355         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5356         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5357         Define.
5358         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5359         entry for ns_t_zxfr.
5361 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5363         [BZ #18784]
5364         CVE-2015-5180
5365         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5366         T_UNSPEC.  Adjust value.
5367         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5368         * resolv/res_query.c (__libc_res_nquery): Likewise.
5369         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5370         QTYPEs.
5371         * resolv/tst-resolv-qtypes.c: New file.
5372         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5373         (tst-resolv-qtypes): Link against libresolv and libpthread.
5375 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5377         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5379 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5381         * manual/tunables.texi: New chapter.
5382         * manual/Makefile (chapters): Add it.
5383         * manual/probes.texi (@node): Point to the Tunables chapter.
5385         * Makeconfig (have-tunables): Check for non-negative instead
5386         of positive.
5387         * configure.ac: Add 'valstring' as a valid value for
5388         --enable-tunables.
5389         * configure: Regenerate.
5390         * elf/Makefile (have-tunables): Check for non-negative instead
5391         of positive.
5392         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5393         dl-tunables.c.
5394         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5395         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5396         (tunables_strdup): Likewise.
5397         (disable_tunables): Likewise.
5398         (parse_tunables): Likewise.
5399         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5400         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5401         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5402         (TUNABLES_FRONTEND_yes): New macro, define as
5403         TUNABLES_FRONTEND_valstring by default.
5404         * manual/install.texi: Document new acceptable values for
5405         --enable-tunables.
5406         * INSTALL: Regenerate.
5408         * config.make.in (have-loop-to-function): Define.
5409         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5410         -fno-tree-loop-distribute-patterns.
5411         * elf/dl-tunables.c: Include libc-internals.h.
5412         (GLIBC_TUNABLES): New macro.
5413         (tunables_strdup): New function.
5414         (parse_tunables): New function.
5415         (min_strlen): New function.
5416         (__tunables_init): Use the new functions and macro.
5417         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5418         * malloc/tst-malloc-usable-tunables.c: New test case.
5419         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5420         * malloc/Makefile (tests, tests-static): Add tests.
5422         * manual/install.texi: Add --enable-tunables option.
5423         * INSTALL: Regenerate.
5424         * README.tunables: New file.
5425         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5426         (before-compile): Generate dl-tunable-list.h early.
5427         * config.h.in: Add HAVE_TUNABLES.
5428         * config.make.in: Add have-tunables.
5429         * configure.ac: Add --enable-tunables option.
5430         * configure: Regenerate.
5431         * csu/init-first.c (__libc_init_first): Move
5432         __libc_init_secure earlier...
5433         * csu/init-first.c (LIBC_START_MAIN):... to here.
5434         Include dl-tunables.h, libc-internal.h.
5435         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5436         binaries.
5437         * elf/Makefile (dl-routines): Add dl-tunables.
5438         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5439         namespace.
5440         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5441         only when !HAVE_TUNABLES.
5442         * elf/rtld.c (process_envvars): Likewise.
5443         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5444         (_dl_sysdep_start): Call __tunables_init.
5445         * elf/dl-tunable-types.h: New file.
5446         * elf/dl-tunables.c: New file.
5447         * elf/dl-tunables.h: New file.
5448         * elf/dl-tunables.list: New file.
5449         * malloc/tst-malloc-usable-static.c: New test case.
5450         * malloc/Makefile (tests-static): Add it.
5451         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5452         Define TUNABLE_NAMESPACE.
5453         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5454         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5455         callback functions.
5456         (ptmalloc_init): Set tunable values.
5457         * scripts/gen-tunables.awk: New file.
5458         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5459         (_dl_sysdep_start): Call __tunables_init.
5461 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5463         * resolv/resolv.h (RES_BLAST): Deprecate.
5464         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5465         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5466         to RES_BLAST.
5468 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5470         [BZ #19582]
5471         Deprecate RES_USE_INET6.
5472         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5473         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5474         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5475         RES_USE_INET6.
5476         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5477         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5478         (_nss_nisplus_gethostbyaddr_r): Likewise.
5479         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5480         of res_use_inet6.
5481         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5482         instead of RES_USE_INET6.
5483         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5484         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5485         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5486         Likewise.
5487         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5488         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5489         Likewise.
5490         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5491         (_nss_dns_gethostbyname_r): Likewise.
5492         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5493         alternate RES_USE_INET6 handling.
5494         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5495         instead of RES_USE_INET6.
5496         * resolv/res_init.c (res_setoptions): Likewise.
5497         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5498         * resolv/resolv-internal.h: New file.
5499         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5500         make the deprecation warning non-fatal.
5501         * resolv/README (Using the resolver in multi-threaded code): Drop
5502         reference to RES_USE_INET6.
5503         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5504         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5506 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5508         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5509         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5510         tst-resolv-search.
5511         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5512         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5513         with libresolv and libpthread.
5514         * resolv/tst-bug18665.c: New file.
5515         * resolv/tst-bug18665-tcp: Likewise.
5516         * resolv/tst-res_use_inet6: Likewise.
5517         * resolv/tst-resolv-basic: Likewise.
5518         * resolv/tst-resolv-network: Likewise.
5519         * resolv/tst-resolv-search: Likewise.
5520         * support/Makefile (libsupport-routines): Add check_addrinfo,
5521         check_dns_packet, check_hostent, check_netent, resolv_test,
5522         support_format_address_family, support_format_addrinfo,
5523         support_format_dns_packet, support_format_herrno,
5524         support_format_hostent, support_format_netent, support_run_diff,
5525         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5526         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5527         xstrdup, xwrite.
5528         * support/check_addrinfo.c: New file.
5529         * support/check_dns_packet.c: Likewise.
5530         * support/check_hostent.c: Likewise.
5531         * support/check_netent.c: Likewise.
5532         * support/check_nss.h: Likewise.
5533         * support/format_nss.h: Likewise.
5534         * support/resolv_test.c: Likewise.
5535         * support/resolv_test.h: Likewise.
5536         * support/run_diff.h: Likewise.
5537         * support/support_format_address_family.c: Likewise.
5538         * support/support_format_addrinfo.c: Likewise.
5539         * support/support_format_dns_packet.c: Likewise.
5540         * support/support_format_herrno.c: Likewise.
5541         * support/support_format_hostent.c: Likewise.
5542         * support/support_format_netent.c: Likewise.
5543         * support/support_run_diff.c: Likewise.
5544         * support/xaccept.c: Likewise.
5545         * support/xbind.c: Likewise.
5546         * support/xconnect.c: Likewise.
5547         * support/xfclose.c: Likewise.
5548         * support/xfopen.c: Likewise.
5549         * support/xgetsockname.c: Likewise.
5550         * support/xlisten.c: Likewise.
5551         * support/xmemstream.c: Likewise.
5552         * support/xmemstream.h: Likewise.
5553         * support/xpoll.c: Likewise.
5554         * support/xpthread_once.c: Likewise.
5555         * support/xrecvfrom.c: Likewise.
5556         * support/xsendto.c: Likewise.
5557         * support/xsetsockopt.c: Likewise.
5558         * support/xstdio.h: Likewise.
5559         * support/xstrdup.c: Likewise.
5560         * support/support.h (xstrdup): Declare.
5561         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5562         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5563         * support/xthread.h (xpthread_once): Likwise.
5564         * support/xunistd.h (xwrite): Declare.
5566 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5568         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5569         (test_verbose): Declare.
5570         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5571         * support/support_test_main.c (default_options): Likewise.
5572         (usage, support_test_main): Handle 'v'.
5573         (test_verbose): Define.
5574         * support/tst-support_record_failure.c (do_test): Use
5575         test_verbose.
5576         * support/tst-support_record_failure-2.sh (different_status): Add
5577         --verbose test.
5579 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5581         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5582         test failures are recorded.
5583         * support/check.c (support_print_failure_impl): Call
5584         support_record_failure.
5585         (support_exit_failure_impl): Call support_record_failure if status
5586         indicates failure.
5587         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5588         * support/xasprintf.c (xasprintf): Likewise.
5589         * support/xfork.c (xfork): Likewise.
5590         * support/xpthread_check_return.c (xpthread_check_return):
5591         Likewise.
5592         * support/xsocket.c (xsocket): Likeweise.
5593         * support/xwaitpid.c (xwaitpid): Likewise.
5594         * support/support_record_failure.c (struct test_failures): Adjust
5595         to coding style.
5596         * support/support_test_verify_impl.c (support_test_verify_impl):
5597         Adjust error messages.
5598         * support/tst-support_record_failure-2.sh (different_status):
5599         Adjust error messages.
5601 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5603         * support/namespace.h: New file.
5604         * support/support_become_root.c: Likewise.
5605         * support/support_enter_network_namespace.c: Likewise.
5606         * support/tst-support-namespace.c: Likewise.
5607         * support/xsocket.c: Likewise.
5608         * support/xsocket.h: Likewise.
5609         * support/Makefile (libsupport-routines): Add support_become_root,
5610         support_enter_network_namespace, xsocket.
5611         (tests): Add tst-support-namespace.
5613 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5615         [BZ #17252]
5616         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5617         __USE_GNU.
5619 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5621         [BZ #13165]
5622         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5623         use new algorithm.
5624         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5625         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5626         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5627         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5628         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5629         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5630         __condvar_cleanup_waiting, __condvar_dec_grefs,
5631         __pthread_cond_wait_common): New.
5632         (__condvar_cleanup): Remove.
5633         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5634         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5635         Likewise.
5636         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5637         Likewise.
5638         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5639         * nptl/tst-cond1.c: Add comment.
5640         * nptl/tst-cond20.c (do_test): Adapt.
5641         * nptl/tst-cond22.c (do_test): Likewise.
5642         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5643         structure.
5644         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5645         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5646         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5647         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5648         Likewise.
5649         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5650         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5651         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5652         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5653         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5654         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5655         Likewise.
5656         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5657         Likewise.
5658         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5659         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5660         (COND_CLOCK_BITS): Adapt.
5661         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5662         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5663         __PTHREAD_COND_SHARED_MASK): New.
5664         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5665         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5666         * nptl/nptl_lock_constants.pysym: Adapt.
5667         * nptl/test-cond-printers.py: Adapt.
5668         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5669         cond_compat_check_and_clear): Adapt.
5670         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5671         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5672         (__pthread_cond_timedwait): ... and move here.
5673         * nptl/DESIGN-condvar.txt: Remove file.
5674         * nptl/lowlevelcond.sym: Likewise.
5675         * nptl/pthread_cond_timedwait.c: Likewise.
5676         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5677         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5679         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5680         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5681         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5682         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5684         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5685         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5686         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5687         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5688         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5689         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5690         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5693 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5695         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5696         (fromfp): New declaration.
5697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5700         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5705         * math/math.h: Include <bits/types.h>.
5706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5707         constant and macro.
5708         (FP_INT_DOWNWARD): Likewise.
5709         (FP_INT_TOWARDZERO): Likewise.
5710         (FP_INT_TONEARESTFROMZERO): Likewise.
5711         (FP_INT_TONEAREST): Likewise.
5712         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5713         (fromfpf): Likewise.
5714         (fromfpl): Likewise.
5715         (ufromfp): Likewise.
5716         (ufromfpf): Likewise.
5717         (ufromfpl): Likewise.
5718         (fromfpx): Likewise.
5719         (fromfpxf): Likewise.
5720         (fromfpxl): Likewise.
5721         (ufromfpx): Likewise.
5722         (ufromfpxf): Likewise.
5723         (ufromfpxl): Likewise.
5724         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5725         s_fromfpxF and s_ufromfpxF.
5726         * math/gen-fromfp-tests.py: New file.
5727         * math/gen-fromfp-tests-inputs: Likewise.
5728         * math/libm-test.inc: Include <stdint.h>
5729         (check_intmax_t): New function.
5730         (check_uintmax_t): Likewise.
5731         (struct test_fiu_M_data): New type.
5732         (struct test_fiu_U_data): Likewise.
5733         (RUN_TEST_fiu_M): New macro.
5734         (RUN_TEST_LOOP_fiu_M): Likewise.
5735         (RUN_TEST_fiu_U): Likewise.
5736         (RUN_TEST_LOOP_fiu_U): Likewise.
5737         (fromfp_test_data): New array.
5738         (fromfp_test): New function.
5739         (fromfpx_test_data): New array.
5740         (fromfpx_test): New function.
5741         (ufromfp_test_data): New array.
5742         (ufromfp_test): New function.
5743         (ufromfpx_test_data): New array.
5744         (ufromfpx_test): New function.
5745         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5746         ufromfpx_test.
5747         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5748         characters.
5749         * math/test-tgmath-ret.c: Include <stdint.h>.
5750         (rm): New variable.
5751         (width): Likewise.
5752         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5753         called function.
5754         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5755         CHECK_RET_CONST_TYPE.
5756         (CHECK_RET_CONST_DOUBLE): Likewise.
5757         (CHECK_RET_CONST_LDOUBLE): Likewise.
5758         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5759         macros.
5760         (fromfp): New CHECK_RET_CONST call.
5761         (ufromfp): Likewise.
5762         (fromfpx): Likewise.
5763         (ufromfpx): Likewise.
5764         (do_test): Call check_return_fromfp, check_return_ufromfp,
5765         check_return_fromfpx and check_return_ufromfpx.
5766         * math/test-tgmath.c: Include <stdint.h>
5767         (NCALLS): Increase to 138.
5768         (F(compile_test)): Initialize i.  Call fromfp functions.
5769         (F(fromfp)): New function.
5770         (F(fromfpx)): Likewise.
5771         (F(ufromfp)): Likewise.
5772         (F(ufromfpx)): Likewise.
5773         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5774         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5775         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5776         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5777         ufromfpxl.
5778         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5779         ufromfp and ufromfpx.
5780         * math/fromfp.h: New file.
5781         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5782         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5783         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5784         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5785         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5786         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5787         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5788         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5789         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5790         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5791         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5792         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5793         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5794         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5795         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5796         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5797         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5798         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5799         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5800         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5801         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5802         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5803         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5804         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5805         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5806         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5807         ufromfp, fromfpx and ufromfpx.
5808         (CFLAGS-nldbl-fromfp.c): New variable.
5809         (CFLAGS-nldbl-fromfpx.c): Likewise.
5810         (CFLAGS-nldbl-ufromfp.c): Likewise.
5811         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5812         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5813         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5814         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5815         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5816         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5817         * sysdeps/nacl/libm.abilist: Update.
5818         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5819         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5820         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5821         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5822         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5823         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5824         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5825         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5826         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5828         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5829         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5835         Likewise.
5836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5837         Likewise.
5838         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5839         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5840         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5841         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5842         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5844         Likewise.
5845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5846         Likewise.
5847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5848         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5849         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5851 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5853         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5854         compat-gethnamaddr.
5855         (CPPFLAGS): Remove.
5856         * resolv/gethnamaddr.c: Rename ...
5857         * resolv/compat-gethnamaddr.c: ... to this file.
5858         (_endhtent): Make static.
5859         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5860         symbol.
5861         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5862         compat symbol.
5863         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5864         symbol.
5865         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5866         Turn into compat symbol.
5867         * include/resolv.h (_endhtent): Remove declaration.
5869 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5871         * bits/types.h (__intmax_t): New typedef.
5872         (__uintmax_t): Likewise.
5873         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5874         (intmax_t): Define using __intmax_t.
5875         (uintmax_t): Define using __uintmax_t.
5877         * support/Makefile (tests-special): Make definition conditional on
5878         [$(run-built-tests) = yes].
5879         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5880         on [$(run-built-tests) = yes].
5882 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5884         * Rules (tests): Add tests-printers-programs to tests to be
5885         built.
5887 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5889         * sysvipc/Makefile (tests): Add test-sysvshm.
5890         * sysvipc/test-sysvshm.c: New file.
5892         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5893         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5894         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5895         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5896         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5897         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5898         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5899         Likewise.
5900         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5901         Likewise.
5902         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5903         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5904         is defined.
5906         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5907         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5908         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5909         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5910         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5911         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5912         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5913         Likewise.
5914         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5915         Likewise.
5916         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5917         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5918         defined.
5920         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5921         oldshmctl.
5922         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5923         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5924         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5925         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5926         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5927         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5928         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5931         Likewise.
5932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5933         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5934         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5935         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5936         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5937         implementation.
5938         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5939         if it is defined.
5941         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5942         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5943         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5944         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5945         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5946         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5947         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5948         Likewise.
5949         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5950         Likewise.
5951         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5952         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5953         Define to __NR_osf_shmat.
5954         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5955         defined.
5957         * sysvipc/Makefile (tests): Add test-sysvsem.
5958         * sysvipc/test-sysvsem.c: New file.
5960         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5961         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5962         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5963         Likewise.
5964         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5965         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5966         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5967         Likewise.
5968         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5969         Likewise.
5970         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5971         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5972         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5973         add a comment about s390 syscall difference from default one.
5974         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5975         syscall if it is defined.
5977         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5978         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5979         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5980         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5981         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5982         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5983         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5984         Likewise.
5985         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5986         Likewise.
5987         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5988         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5989         defined.
5991         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5992         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5993         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5994         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5995         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5996         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5997         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5998         Likewise.
5999         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6000         Likewise.
6001         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6002         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6003         if it is defined.
6005         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6006         oldsemctl.
6007         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6008         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6009         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6010         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6011         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6012         implementation.
6013         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6014         syscall if it is defined.
6015         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6016         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6017         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6018         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6019         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6020         Likewise.
6021         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6023         * sysvipc/Makefile (tests): Add test-sysvmsg.
6024         * sysvipc/test-sysvmsg.c: New file.
6025         * support/check.h (FAIL_UNSUPPORTED): New define.
6027         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6028         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6029         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6030         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6031         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6032         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6033         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6034         Likewise.
6035         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6036         Likewise.
6037         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6038         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6039         define.
6041         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6042         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6043         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6044         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6045         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6046         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6047         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6048         Likewise.
6049         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6050         Likewise.
6051         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6052         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6053         if defined.
6055         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6056         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6057         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6058         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6059         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6060         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6061         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6062         Likewise.
6063         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6064         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6065         Likewise.
6066         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6067         if defined.
6068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6070         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6071         oldmsgctl.
6072         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6073         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6074         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6075         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6076         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6077         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6078         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6079         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6080         Likewise.
6081         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6082         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6083         implementation.
6084         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6085         if defined.
6087         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6088         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6089         definition and define its own.
6090         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6091         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6092         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6093         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6094         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6095         definitions to common header.
6096         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6097         operation from ipc_ops.h.
6099         * sysdeps/unix/sysv/linux/kernel-features.h
6100         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6101         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6102         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6104         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6105         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6106         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6107         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6108         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6109         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6110         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6111         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6112         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6113         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6114         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6116 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6118         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6119         overflow in pointer addition.
6121 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6123         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6124         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6126         (strchr): Add __strchr_power8 to list of strchr functions.
6127         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6128         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6129         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6130         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6131         (strchr): Add __strchr_power8 to ifunc list.
6132         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6133         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6134         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6135         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6137 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6139         * support/Makefile (libsupport-routines): Add
6140         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6141         (tests): Add tst-support_record_failure.
6142         (tests-special): tst-support_record_failure-2.
6143         (tst-support_record_failure-2.out): Depend on
6144         tst-support_record_failure-2.sh and tst-support_record_failure.
6145         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6146         (support_test_verify_impl, support_record_failure)
6147         (support_report_failure, support_report_failure_reset): Declare.
6148         * support/support_test_main.c (adjust_exit_status): New function.
6149         (support_test_main): Call it to incorporate record test failures.
6150         * support/support_test_verify_impl.c: New file.
6151         * support/support_record_failure.c: Likewise.
6152         * support/tst-support_record_failure.c: Likewise.
6153         * support/tst-support_record_failure-2.sh: Likewise.
6154         * support/xunistd.h: Likewise.
6155         * support/xfork.c: Likewise.
6156         * support/xwaitpid.c: Likewise.
6158 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6160         * scripts/check-c++-types.sh: Add comments.
6162 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6164         [BZ #19514]
6165         * resolv/res_send.c: Fix typo in comment.
6166         * sysdeps/i386/i386-mcount.S: Likewise.
6167         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6168         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6169         * sysdeps/sparc/sparc-mcount.S: Likewise.
6171 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6173         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6174         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6175         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6176         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6177         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6178         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6179         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6180         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6182 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6184         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6186 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6188         [BZ #17252]
6189         * posix/unistd.h (getentropy): Declare.
6191 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6193         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6194         Remove.
6195         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6196         (cmd): Remove spoof, nospoof, spoofalert.
6197         (parse_line): Ignore spoof-related lines.
6198         (do_init): Do not process RESOLV_SPOOF_CHECK.
6200 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6202         [BZ #20964]
6203         sunrpc: Always obtain AF_INET addresses from NSS.
6204         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6205         * sunrpc/rpc_gethostbyname.c: New file.
6206         * sunrpc/Makefile (routines): Add it.
6207         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6208         * sunrpc/clnt_simp.c (callrpc): Likewise.
6209         * sunrpc/getrpcport.c (getrpcport): Likewise.
6211 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6213         * sunrpc/rpcinfo.c: Remove.
6214         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6216 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6218         [BZ #19387]
6219         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6220         addition.
6221         * string/test-memchr.c (do_test): Remove alignment limitation.
6222         (test_main): Add test that trigger BZ #19387.
6224 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6226         [BZ #7065]
6227         Enable stack protectore if requested by ./configure.
6228         * Makeconfig (+stack-protector): New variable.
6229         (+cflags): Use it.
6231 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6233         [BZ #7065]
6234         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6235         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6236         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6237         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6238         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6240 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6242         [BZ #7065]
6243         * login/Makefile (pt_chown-cflags): Remove.
6244         * nscd/Makefile (CFLAGS-nscd): Likewise.
6245         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6247 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6249         [BZ #7065]
6250         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6251         non-libc-linking testcase.
6253 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6254             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6255             Florian Weimer  <fweimer@redhat.com>
6257         [BZ #7065]
6258         PLT avoidance for __stack_chk_fail*.
6259         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6260         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6261         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6262         __stack_chk_fail_local alias.
6263         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6264         (__stack_chk_fail): Turn into hidden reference to
6265         __stack_chk_fail_local.
6267 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6269         [BZ #7065]
6270         * configure.ac: Add check for unsupported stack-protection level.
6271         (libc_cv_predef_stack_protector): Remove.
6272         (no_ssp): New variable.
6273         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6274         (stack_protector): Set to -fno-stack-protector similarly.
6275         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6276         (libc_cv_asm_set_directive): Likewise.
6277         (libc_cv_protected_data): Likewise.
6278         (libc_cv_z_combreloc): Likewise.
6279         (libc_cv_hashstyle): Likewise.
6280         (libc_cv_has_glob_dat): Likewise.
6281         (libc_cv_output_format): Likewise.
6282         (libc_cv_output_format): Likewise.
6283         (libc_cv_ehdr_start): Likewise.
6284         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6285         (LIBC_LINKER_FEATURE): Likewise.
6286         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6288 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6290         [BZ #7065]
6291         * elf/Makefile (dummy-stack-chk-fail): New.
6292         (librtld.map): Use it.
6294 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6296         [BZ #7065]
6297         Compile the dynamic linker without stack protection.
6298         * elf/Makefile (elide-stack-protector): New.
6299         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6300         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6301         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6302         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6304 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6306         [BZ #7065]
6307         * config.make.in (have-ssp, no-stack-protector): New.
6308         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6309         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6310         (CFLAGS-sbrk.op): Likewise.
6311         (CFLAGS-brk.o): Likewise.
6312         (CFLAGS-brk.op): Likewise.
6313         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6314         (CFLAGS-wordcopy.c): Likewise.
6316 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6318         [BZ #7065]
6319         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6320         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6321         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6322         (__ifunc_resolver): Use it.
6323         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6324         inhibit_stack_protector.
6325         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6326         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6327         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6328         (foo_protected_ifunc): Likewise.
6329         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6330         (foo_protected_ifunc): Likewise.
6331         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6332         * sysdeps/nacl/nacl_interface_query.c
6333         (nacl_interface_query_ifunc): Likewise.
6334         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6335         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6336         Likewise.
6337         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6338         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6339         the generated vDSO syscall resolver.
6341 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6342             Florian Weimer  <fweimer@redhat.com>
6344         [BZ #7065]
6345         Initialize the stack guard earlier when linking statically.
6346         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6347         (__pthread_initialize_minimal): Declare.
6348         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6349         declaration.
6350         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6351         stack canary and apply_irel initialization up.  Call
6352         __pthread_initialize_minimal only if linked in.
6353         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6354         constant values.
6355         (__pthread_initialize_minimal): Remove.
6356         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6357         (__pthread_initialize_minimal_internal): Do not call
6358         __libc_setup_tls.
6360 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6362         [BZ #7065]
6363         * configure.ac (libc_cv_ssp): Move up.
6364         (libc_cv_ssp_strong): Likewise.
6365         (libc_cv_ssp_all): New.
6366         (stack_protector): Augment, adding -fstack-protector-all.
6367         (no_stack_protector): New.
6368         (STACK_PROTECTOR_LEVEL): New.
6369         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6370         * manual/install.texi (--enable-stack-protector): Document it.
6371         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6373 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6375         * README.pretty-printers: Must specify CPPFLAGS-* also.
6376         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6377         (CPPFLAGS-test-mutex-printers.c): Define.
6378         (CPPFLAGS-test-condattr-printers.c): Define.
6379         (CPPFLAGS-test-cond-printers.c): Define.
6380         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6381         (CPPFLAGS-test-rwlock-printers.c): Define.
6383         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6384         (tests): Add tst-cancel-getpwuid_r.
6385         * nss/tst-cancel-getpwuid_r.c: New file.
6387         [BZ #11941]
6388         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6389         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6390         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6391         tst-nodelete-dlclose.
6392         (modules-names): Add tst-nodelete-dlclose-dso and
6393         tst-nodelete-dlclose-plugin.
6394         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6395         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6396         ($(objpfx)tst-nodelete-dlclose): Define.
6397         ($(objpfx)tst-nodelete-dlclose.out): Define.
6399 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6401         * scripts/test_printers_common.py: Log GDB output in case of
6402         Python detection failure.
6404 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6406         * configure.ac: Check for python3 or python.
6407         * configure: Regenerated.
6408         * config.make.in (PYTHON): New variable.
6409         * benchtests/Makefile: Don't define PYTHON.
6410         (bench): Define target only if PYTHON was defined.
6411         * Rules: Don't define PYTHON.
6412         Define pretty printer targets only if PYTHON was defined.
6413         (tests-printers): Add to tests-unsupported if PYTHON is not
6414         found.
6415         (python-flags, python-invoke): Remove.
6416         (tests-printers-out): Use PYTHON instead of python-invoke.
6418 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6420         [BZ #20978]
6421         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6422         Compare name == NULL, not name != NULL.
6424         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6425         trailing whitespace removed.
6426         * scripts/config.guess: Update to version 2016-10-02.
6427         * scripts/config.sub: Update to version 2016-11-19.
6428         * scripts/install-sh: Update to version 2016-01-11.22.
6429         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6430         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6432 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6434         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6435         (do_one_test) Restore original string so iteration works.
6436         * string/string-inlines.c (do_test): Create better input strings.
6437         (test_main) Reduce number of testruns.
6438         * string/string-inlines.c (__old_strsep_1c): New function.
6439         (__old_strsep_2c): Likewise.
6440         (__old_strsep_3c): Likewise.
6441         * string/strsep.c (__strsep): Remove case of small delim string.
6442         Call strcspn directly rather than strpbrk.
6443         * string/bits/string2.h (__strsep): Remove define.
6444         (__strsep_1c): Remove.
6445         (__strsep_2c): Remove.
6446         (__strsep_3c): Remove.
6447         (strsep): Remove.
6448         * sysdeps/unix/sysv/linux/internal_statvfs.c
6449         (__statvfs_getflags): Rename to __strsep.
6451 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6453         * csu/libc-tls.c (_dl_tls_setup): Remove.
6454         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6455         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6456         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6458 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6460         [BZ #7065]
6461         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6462         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6464 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6465             Florian Weimer  <fweimer@redhat.com>
6467         [BZ #7065]
6468         * csu/Makefile (tests): Empty assignment and document it.
6469         (tests-static): Remove.
6470         * csu/tst-empty.c: Move to...
6471         * misc/tst-empty.c: ... here.  Switch to new test driver.
6472         * csu/tst-atomic.c: Move to...
6473         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6474         * csu/tst-atomic-long.c: Move to...
6475         * misc/tst-atomic-long.c: ... here.
6476         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6477         tst-atomic-long.
6478         (tests-static): Add tst-empty.
6480 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6482         * manual/nss.texi: Change incorrect @vtable to @table.
6483         * manual/arith.texi: Convert @tables of variables to @vtables
6484         and remove unnecessary indexing.
6485         * manual/filesys.texi: Likewise.
6486         * manual/llio.texi: Likewise.
6487         * manual/memory.texi: Likewise.
6488         * manual/process.texi: Likewise.
6489         * manual/resource.texi: Likewise.
6490         * manual/search.texi: Likewise.
6491         * manual/signal.texi: Likewise.
6492         * manual/socket.texi: Likewise.
6493         * manual/stdio.texi: Likewise.
6494         * manual/sysinfo.texi: Likewise.
6495         * manual/syslog.texi: Likewise.
6496         * manual/terminal.texi: Likewise.
6497         * manual/time.texi: Likewise.
6498         * manual/users.texi: Likewise.
6500 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6502         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6503         (roundeven): New declaration.
6504         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6505         macro.
6506         * math/Versions (roundeven): New libm symbol at version
6507         GLIBC_2.25.
6508         (roundevenf): Likewise.
6509         (roundevenl): Likewise.
6510         * math/Makefile (libm-calls): Add s_roundevenF.
6511         * math/libm-test.inc (roundeven_test_data): New array.
6512         (roundeven_test): New function.
6513         (main): Call roundeven_test.
6514         * math/test-tgmath.c (NCALLS): Increase to 134.
6515         (F(compile_test)): Call roundeven.
6516         (F(roundeven)): New function.
6517         * manual/arith.texi (Rounding Functions): Document roundeven,
6518         roundevenf and roundevenl.
6519         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6520         * include/math.h (roundeven): Use libm_hidden_proto.
6521         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6522         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6523         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6524         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6525         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6526         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6527         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6528         roundeven.
6529         (CFLAGS-nldbl-roundeven.c): New variable.
6530         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6531         * sysdeps/nacl/libm.abilist: Update.
6532         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6533         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6536         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6537         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6545         Likewise.
6546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6547         Likewise.
6548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6549         Likewise.
6550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6551         Likewise.
6552         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6558         Likewise.
6559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6560         Likewise.
6561         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6562         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6563         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6565 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6567         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6568         preprocessor indentation inside #if.
6570 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6572         * math/libm-test.inc (fmt_ftostr): New function.
6573         (print_float, check_float_internal): Replace some uses of
6574         FTOSTR with uses of fmt_ftostr.
6575         (print_max_error, print_complex_max_error, print_function_ulps)
6576         (print_complex_function_ulps): Remove uses of the macros
6577         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6578         * math/test-double.h (FTOSTR): Define to strfromd.
6579         (PRINTF_EXPR): Delete.
6580         (PRINTF_XEXPR): Likewise.
6581         (PRINTF_NEXPR): Likewise.
6582         * math/test-float.h (FTOSTR): Define to strfromf.
6583         (PRINTF_EXPR): Delete.
6584         (PRINTF_XEXPR): Likewise.
6585         (PRINTF_NEXPR): Likewise.
6586         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6587         (PRINTF_EXPR): Delete.
6588         (PRINTF_XEXPR): Likewise.
6589         (PRINTF_NEXPR): Likewise.
6591 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6593         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6594         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6595         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6596         (__lll_lock_elision): Decrement adapt_count while unlocking
6597         instead of before locking.
6598         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6599         (__lll_trylock_elision): Likewise.
6600         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6601         (__lll_unlock_elision): Likewise.
6603 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6605         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6606         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6607         Use __libc_tbegin_retry macro.
6609 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6611         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6612         Add -msoft-float.
6613         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6614         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6615         Use __libc_t* transaction macros instead of __builtin_t*.
6616         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6617         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6619 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6621         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6622         (__lll_lock_elision): Use atomics to load / store adapt_count.
6623         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6624         (__lll_trylock_elision): Likewise.
6626 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6628         Do not require memset elimination in explicit_bzero test.
6629         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6630         (enum test_expectation): Add NO_EXPECTATIONS.
6631         (subtests): NO_EXPECTATIONS for ordinary clear.
6632         (check_test_buffer): Handle NO_EXPECTATIONS.
6633         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6635 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6637         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6638         (fmaxmag): New declaration.
6639         (fminmag): Likewise.
6640         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6641         macro.
6642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6643         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6644         (fmaxmagf): Likewise.
6645         (fmaxmagl): Likewise.
6646         (fminmag): Likewise.
6647         (fminmagf): Likewise.
6648         (fminmagl): Likewise.
6649         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6650         * math/s_fmaxmag_template.c: New file.
6651         * math/s_fminmag_template.c: Likewise.
6652         * math/libm-test.inc (fmaxmag_test_data): New array.
6653         (fmaxmag_test): New function.
6654         (fminmag_test_data): New array.
6655         (fminmag_test): New function.
6656         (main): Call fmaxmag_test and fminmag_test.
6657         * math/test-tgmath.c (NCALLS): Increase to 132.
6658         (F(compile_test)): Call fmaxmag and fminmag.
6659         (F(fminmag)): New function.
6660         (F(fmaxmag)): Likewise.
6661         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6662         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6663         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6664         fminmag.
6665         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6666         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6667         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6668         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6669         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6670         and fminmag.
6671         (CFLAGS-nldbl-fmaxmag.c): New variable.
6672         (CFLAGS-nldbl-fminmag.c): Likewise.
6673         * sysdeps/nacl/libm.abilist: Update.
6674         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6675         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6676         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6677         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6678         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6679         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6680         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6681         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6682         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6683         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6684         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6685         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6687         Likewise.
6688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6689         Likewise.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6691         Likewise.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6693         Likewise.
6694         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6702         Likewise.
6703         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6707 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6709         [BZ #20973]
6710         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6711         wake-up in robust mutexes.
6712         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6714 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6716         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6717         (CFLAGS-bench-fmaxf.c): New rule.
6718         (CFLAGS-bench-fminf.c): Likewise.
6719         * benchtests/fmaxf-inputs: New file.
6720         * benchtests/fminf-inputs: Likewise.
6722         * benchtests/Makefile (bench-math): Add fmin and fmax.
6723         (CFLAGS-bench-fmax.c): New rule.
6724         (CFLAGS-bench-fmin.c): Likewise.
6725         * benchtests/fmax-inputs: New file.
6726         * benchtests/fmin-inputs: Likewise.
6728         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6729         parenthesis.
6730         (CMDLINE_PROCESS): Define using function instead of macro.
6731         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6732         of test-skeleton.
6733         * benchtests/bench-memchr.c: Likewise.
6734         * benchtests/bench-memcmp.c: Likewise.
6735         * benchtests/bench-memcpy-large.c: Likewise.
6736         * benchtests/bench-memcpy.c: Likewise.
6737         * benchtests/bench-memmem.c: Likewise.
6738         * benchtests/bench-memmove-large.c: Likewise.
6739         * benchtests/bench-memmove.c: Likewise.
6740         * benchtests/bench-memset-large.c: Likewise.
6741         * benchtests/bench-memset.c: Likewise.
6742         * benchtests/bench-rawmemchr.c: Likewise.
6743         * benchtests/bench-strcasecmp.c: Likewise.
6744         * benchtests/bench-strcasestr.c: Likewise.
6745         * benchtests/bench-strcat.c: Likewise.
6746         * benchtests/bench-strchr.c: Likewise.
6747         * benchtests/bench-strcmp.c: Likewise.
6748         * benchtests/bench-strcpy.c: Likewise.
6749         * benchtests/bench-strcpy_chk.c: Likewise.
6750         * benchtests/bench-strlen.c: Likewise.
6751         * benchtests/bench-strncasecmp.c: Likewise.
6752         * benchtests/bench-strncmp.c: Likewise.
6753         * benchtests/bench-strncpy.c: Likewise.
6754         * benchtests/bench-strnlen.c: Likewise.
6755         * benchtests/bench-strpbrk.c: Likewise.
6756         * benchtests/bench-strrchr.c: Likewise.
6757         * benchtests/bench-strsep.c: Likewise.
6758         * benchtests/bench-strspn.c: Likewise.
6759         * benchtests/bench-strstr.c: Likewise.
6760         * benchtests/bench-strtok.c: Likewise.
6762 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6764         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6765         stepping identification.
6766         (init_cpu_features): Add handle of Haswell.
6768 2016-11-25  Jim Meyering  <meyering@fb.com>
6770         [BZ #20386]
6771         Let gcc detect assert(a = 1) errors.
6772         * assert/assert.h (assert): Rewrite, retaining the old definintion
6773         when required, but otherwise putting the expression as-is in an "if"
6774         expression (hence, with no added parentheses) within a statement
6775         expression.
6777 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6779         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6780         DSO.
6782 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6784         * Rules (python-flags, python-invoke): New.
6785         ($(test-printers-out)): Use $(python-flags).
6787 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6789         * manual/arith.texi (Math Error Reporting): Document that sNaN
6790         arguments are not considered domain errors.
6792 2016-12-16  Zack Weinberg <zackw@panix.com>
6793             Florian Weimer <fweimer@redhat.com>
6794             Nick Mathewson <nickm@torproject.org>
6796         * string/explicit_bzero.c: New routine.
6797         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6798         * string/Makefile (routines, strop-tests, tests): Add them.
6799         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6800         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6802         * debug/explicit_bzero_chk.c: New routine.
6803         * debug/Makefile (routines): Add it.
6804         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6805         * string/bits/string3.h: Fortify explicit_bzero.
6807         * manual/string.texi: Document explicit_bzero.
6808         * NEWS: Mention addition of explicit_bzero.
6810         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6811         data before returning, using explicit_bzero.
6812         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6813         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6814         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6816         * include/string.h: Redirect internal uses of explicit_bzero
6817         to __explicit_bzero_chk[_internal].
6818         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6819         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6820         * sysdeps/arm/nacl/libc.abilist
6821         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6822         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6823         * sysdeps/unix/sysv/linux/arm/libc.abilist
6824         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6825         * sysdeps/unix/sysv/linux/i386/libc.abilist
6826         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6827         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6828         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6829         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6830         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6831         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6832         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6833         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6834         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6839         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6840         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6841         * sysdeps/unix/sysv/linux/sh/libc.abilist
6842         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6843         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6846         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6847         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6848         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6849         Add entries for explicit_bzero and __explicit_bzero_chk.
6851 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6853         * math/fenv.h
6854         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6855         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6856         * math/test-fe-snans-always-signal.c: New file.
6857         * math/Makefile (tests): Add test-fe-snans-always-signal.
6858         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6859         * manual/arith.texi (Infinity and NaN): Document
6860         FE_SNANS_ALWAYS_SIGNAL.
6862 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6864         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6865         bracket.
6867 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6869         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6870         before calling execv.
6872 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6874         [BZ #20971]
6875         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6876         overflow in pointer addition.
6877         * string/test-memchr.c (do_test): Add an argument to pass as
6878         the size on memchr.
6879         (test_main): Add check for SIZE_MAX.
6881 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6883         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6884         (libm-calls): Add w_scalblnF.
6885         * math/w_scalbln.c: Remove.
6886         * math/w_scalblnf.c: Likewise.
6887         * math/w_scalblnl.c: Likewise.
6888         * math/w_scalbln_template.c: New file with type-generic
6889         implementation based on math/w_scalbln.c.
6890         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6891         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6893 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6895         [BZ #20947]
6896         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6897         either is a signaling NaN.
6898         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6899         follow fmaxl more closely.
6900         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6901         when either is a signaling NaN.
6902         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6903         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6904         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6905         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6906         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6907         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6908         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6909         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6910         (fmin_test_data): Likewise.
6912 2016-12-15  Andreas Schwab  <schwab@suse.de>
6914         * support/support_test_main.c (support_test_main): Don't shadow
6915         file-local variable test_pid.
6917 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6919         [BZ #20947]
6920         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6921         either is a signaling NaN.
6922         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6924 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6926         [BZ #20947]
6927         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6928         when either is a signaling NaN.
6929         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6931         * bits/long-double.h: New file.
6932         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6933         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6934         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6935         * sysdeps/mips/bits/long-double.h: Likewise.
6936         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6937         * math/Makefile (headers): Add bits/long-double.h.
6938         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6939         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6940         <bits/wordsize.h>.
6941         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6942         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6943         * math/math.h: Do not include <bits/mathdef.h>.
6944         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6945         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6946         inclusion.
6947         * sysdeps/ia64/bits/mathdef.h: Remove file.
6948         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6949         * sysdeps/mips/bits/mathdef.h: Likewise.
6950         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6951         * sysdeps/s390/bits/mathdef.h: Likewise.
6952         * sysdeps/sparc/bits/mathdef.h: Likewise.
6953         * sysdeps/x86/bits/mathdef.h: Likewise.
6954         * sysdeps/s390/s390-32/bits/wordsize.h
6955         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6956         conditional code.
6957         * sysdeps/s390/s390-64/bits/wordsize.h
6958         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6959         Likewise.
6960         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6961         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6962         Likewise.
6963         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6964         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6965         Likewise.
6966         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6967         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6968         Likewise.
6970         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6971         <linux/falloc.h>.
6972         (FALLOC_FL_KEEP_SIZE): Remove.
6973         (FALLOC_FL_PUNCH_HOLE): Likewise.
6974         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6975         (FALLOC_FL_ZERO_RANGE): Likewise.
6977 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6979         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6981 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6983         * sysdeps/unix/sysv/linux/renameat.c: New file.
6984         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6986         * sysdeps/unix/sysv/linux/rename.c: New file.
6987         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6989 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6991         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6992         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6993         * string/strtok_r.c (__strtok_r): Optimize for performance.
6994         * string/string-inlines.c (__old_strtok_r_1c): New function.
6995         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6997 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6999         * math/Makefile (gen-libm-calls): Add w_log1pF.
7000         (libm-calls): Remove w_log1pF.
7001         * math/w_log1p.c: Remove.
7002         * math/w_log1pf.c: Likewise.
7003         * math/w_log1pl.c: Likewise.
7004         * math/w_log1p_template.c: New file with type-generic
7005         implementation based on math/w_log1p.c.
7006         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7007         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7009 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7011         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7013 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7015         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7016         kernel version to 4.9.
7018 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7020         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7021         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7023 2016-12-13  Andreas Schwab  <schwab@suse.de>
7025         * sysdeps/powerpc/dl-procinfo.c: Don't define
7026         _dl_powerpc_platforms.
7027         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7028         constants instead of referencing _dl_powerpc_platforms.
7029         (_dl_platform_string): Remove.
7031 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7033         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7035 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7037         * Rules (binaries-shared-tests, binaries-pie-tests)
7038         (binaries-static-tests): Link with $(link-extra-libs-tests).
7039         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7040         Remove $(link-extra-libs-tests).
7042 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7044         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7045         (sysdep_routines): Add strncmp_power9.
7046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7047         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7048         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7049         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7050         (strncmp): Add __strncmp_power9 to ifunc list.
7051         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7053 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7055         [BZ #17252]
7056         Add getentropy, getrandom.
7057         * stdlib/sys/random.h: New file.
7058         (headers): Add it.
7059         * stdlib/Makefile (routines): Add getentropy, getrandom.
7060         (tests): Add tst-getrandom.
7061         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7062         * stdlib/getentropy.c: New file.
7063         * stdlib/getrandom.c: Likewise.
7064         * stdlib/tst-getrandom.c: Likewise.
7065         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7066         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7067         * manual/crypt.texi (Unpredictable Bytes): New section.
7068         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7069         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7070         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7071         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7072         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7073         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7079         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7082         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7083         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7085         Likewise.
7086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7087         Likewise.
7088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7090         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7091         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7092         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7093         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7094         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7097         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7098         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7099         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7101 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7103         [BZ #20956]
7104         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7105         as additional compiler barriers.
7106         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7107         (fn2, do_test): Declare with external linkage.
7108         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7109         (do_test): Declare with external linkage.
7110         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7111         (do_test): Declare with external linkage.
7112         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7113         (do_test): Declare with external linkage.
7115 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7117         * support/support_test_main.c (support_test_main): Use correct
7118         timeout.
7120 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7121             Florian Weimer  <fweimer@redhat.com>
7123         [BZ #16421]
7124         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7125         and __u6_addr32 members.
7126         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7127         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7128         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7129         Use __u6_addr32.
7130         * inet/tst-checks.c: Use <support/test-driver.c>
7131         * inet/tst-checks-posix.c: New file.
7132         * inet/Makefile (tests): Add it.
7133         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7135 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7137         New subdirectory support for build and test infrastructure.
7138         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7139         setting install-lib.
7140         * Makeconfig (link-extra-libs-tests): Define.
7141         (+link-pie-tests, +link-static-tests, +link-tests): Use
7142         link-extra-libs-tests.
7143         (rpath-dirs, all-subdirs): Add support.
7144         (built-modules): Add libsupport.
7145         (libsupport): Define.
7146         * support: New directory.
7147         * support/Makefile: New file.
7148         * support/check.c: Likewise.
7149         * support/check.h: Likewise.
7150         * support/delayed_exit.c: Likewise.
7151         * support/ignore_stderr.c: Likewise.
7152         * support/oom_error.c: Likewise.
7153         * support/set_fortify_handler.c: Likewise.
7154         * support/support.h: Likewise.
7155         * support/temp_file-internal.h: Likewise.
7156         * support/temp_file.c: Likewise.
7157         * support/test-driver.c: Likewise.
7158         * support/test-driver.h: Likewise.
7159         * support/test_main.c: Likewise.
7160         * support/write_message.c: Likewise.
7161         * support/xasprintf.c: Likewise.
7162         * support/xcalloc.c: Likewise.
7163         * support/xmalloc.c: Likewise.
7164         * support/xpthread_barrier_destroy.c: Likewise.
7165         * support/xpthread_barrier_init.c: Likewise.
7166         * support/xpthread_barrier_wait.c: Likewise.
7167         * support/xpthread_cancel.c: Likewise.
7168         * support/xpthread_check_return.c: Likewise.
7169         * support/xpthread_cond_wait.c: Likewise.
7170         * support/xpthread_create.c: Likewise.
7171         * support/xpthread_detach.c: Likewise.
7172         * support/xpthread_join.c: Likewise.
7173         * support/xpthread_mutex_lock.c: Likewise.
7174         * support/xpthread_mutex_unlock.c: Likewise.
7175         * support/xpthread_sigmask.c: Likewise.
7176         * support/xpthread_spin_lock.c: Likewise.
7177         * support/xpthread_spin_unlock.c: Likewise.
7178         * support/xrealloc.c: Likewise.
7179         * support/xsignal.h: Likewise.
7180         * support/xthread.h: Likewise.
7181         * support_tempfile.h: Likewise.
7182         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7183         (TEST_DATA_LIMIT): Remove unused macro.
7184         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7185         <support/check.h>.
7186         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7187         (ignore_stderr, set_fortify_handler): Remove.  Now in
7188         <support/support.h>.
7189         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7190         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7191         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7192         (xpthread_join): Remove.  Now in <support/xthread.h>.
7193         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7194         Introduce legacy wrappers.
7195         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7196         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7197         (write_message): Remove.
7198         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7199         test-skeleton.c.
7200         * io/test-open-tmpfile: Likewise.
7201         * io/tst-posix_fallocate-common.c: Likewise.
7202         * libio/tst-fseek.c: Likewise.
7203         * malloc/tst-malloc-backtrace.c: Likewise.
7204         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7205         * malloc/tst-malloc-thread-exit.c: Likewise.
7206         * nptl/tst-cancel7.c: Likewise.
7207         * nptl/tst-cleanup0.c: Likewise.
7208         * posix/tst-posix_fadvise-common.c: Likewise.
7209         * rt/tst-shm.c: Likewise.
7210         * time/bug-getdate1.c: Likewise.
7211         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7212         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7213         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7215 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7217         * Rules [$(run-built-tests) != no] (tests-expected): Add
7218         $(tests-printers).
7219         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7221 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7223         [BZ #20539]
7224         * math/Makefile (install-lib-ldscripts): Add libm.a.
7225         (install_subdir): Remove.
7226         (install-others): Add.
7227         ($(inst_libdir)/libm.a): Add rule for installation as
7228         linker script.
7229         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7231 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7233         * INSTALL: Regenerated.
7234         * Makeconfig: Add comments and whitespace to make the control flow
7235         clearer.
7236         (+link-printers-tests, +link-pie-printers-tests,
7237         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7238         built-rtld-LDFLAGS, link-libc-rpath,
7239         link-libc-tests-after-rpath-link,
7240         link-libc-printers-tests): New.
7241         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7242         link-libc-tests): Use the new variables as required.
7243         * Makerules ($(py-const)): New rule.
7244         generated: Add $(py-const).
7245         * README.pretty-printers: New file.
7246         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7247         (others): Depend on $(py-const).
7248         (tests): Depend on $(tests-printers-programs) or
7249         $(tests-printers-out),
7250         as required.  Pass $(tests-printers) to merge-test-results.sh.
7251         * manual/install.texi: Add requirements for testing the pretty
7252         printers.
7253         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7254         tests-printers, CFLAGS-test-mutexattr-printers.c
7255         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7256         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7257         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7258         * nptl/nptl-printers.py: New file.
7259         * nptl/nptl_lock_constants.pysym: Likewise.
7260         * nptl/test-cond-printers.c: Likewise.
7261         * nptl/test-cond-printers.py: Likewise.
7262         * nptl/test-condattr-printers.c: Likewise.
7263         * nptl/test-condattr-printers.py: Likewise.
7264         * nptl/test-mutex-printers.c: Likewise.
7265         * nptl/test-mutex-printers.py: Likewise.
7266         * nptl/test-mutexattr-printers.c: Likewise.
7267         * nptl/test-mutexattr-printers.py: Likewise.
7268         * nptl/test-rwlock-printers.c: Likewise.
7269         * nptl/test-rwlock-printers.py: Likewise.
7270         * nptl/test-rwlockattr-printers.c: Likewise.
7271         * nptl/test-rwlockattr-printers.py: Likewise.
7272         * scripts/gen-py-const.awk: Likewise.
7273         * scripts/test_printers_common.py: Likewise.
7274         * scripts/test_printers_exceptions.py: Likewise.
7276 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7278         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7279         argument.
7280         (Glibc.build_glibc): Strip installed shared libraries if
7281         requested.
7282         (get_parser): Add --strip option.
7283         (main): Update Context call.
7285 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7286             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7288         [BZ #20847]
7289         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7290         array bounds for else branch.
7291         (__execvpe): Style fixes.
7292         * posix/tst-vfork3.c (run_script): New function.
7293         (create_script): Likewise.
7294         (do_test): Use run_script internal function.
7295         (do_prepare): Use create_script internal function.
7297 2016-12-07  Andreas Schwab  <schwab@suse.de>
7299         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7300         (__elision_available): Don't declare.
7301         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7302         (__elision_available): Don't define.
7303         (elision_init): Don't set __elision_available.
7305 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7307         [BZ #20940]
7308         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7309         return Inf for arguments Inf and sNaN.
7310         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7311         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7312         Likewise.
7313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7314         Likewise.
7315         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7316         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7317         for arguments Inf and sNaN.  When returning a NaN, compute it by
7318         arithmetic on the arguments.
7319         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7320         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7321         arguments.
7323 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7325         [BZ #20916]
7326         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7327         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7328         to compute result.
7329         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7330         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7332 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7334         * include/atomic.h (__atomic_check_size_ls): New.
7335         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7336         atomic_store_release): Use it.
7337         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7338         (elision_adapt, ELIDE_LOCK): Use atomics.
7339         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7340         atomics and improve code comments.
7341         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7342         (__lll_trylock_elision): Likewise.
7344 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7346         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7347         programs.
7349 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7351         [BZ #20916]
7352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7353         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7354         arguments to compute result.
7355         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7356         1 for arguments (sNaN, 0) or (1, sNaN).
7357         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7360         [BZ #20919]
7361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7362         NaN first argument when raised to power 0.
7363         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7364         raising to power zero.
7365         * math/w_powf.c (__powf): Likewise.
7366         * math/w_powl.c (__powl): Likewise.
7367         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7368         pow (0, 0) or pow (NaN, 0).
7370 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7372         [BZ #20918]
7373         * configure.ac: Test for static NSS cryptographic libraries and set
7374         libc_cv_static_nss_crypt.
7375         * configure: Regenerate.
7376         * config.make.in (static-nss-crypt): Define.
7377         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7378         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7379         (CFLAGS-tst-linkall-static.c): Define.
7380         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7381         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7382         ($(objpfx)tst-linkall-static): Define.
7383         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7384         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7386 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7388         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7389         (one-hundred, tst-tls-many-dynamic-modules): Define.
7390         (modules-names): Add $(tst-tls-many-dynamic-modules).
7391         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7392         macros.
7393         (tst-tls-manydynamic): Link against libdl, libpthread.
7394         (tst-tls-manydynamic.out): The test needs the test modules at run
7395         time.
7396         * elf/tst-tls-manydynamic.c: New file.
7397         * elf/tst-tls-manydynamic.h: Likewise.
7398         * elf/tst-tls-manydynamicmod.c: Likewise.
7400 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7402         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7403         (TLS_DTV_UNALLOCATED): Add.
7404         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7405         offsets.
7407 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7409         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7411 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7413         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7414         Add -fno-optimize-sibling-calls.
7416 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7418         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7419         New declaration.
7420         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7421         macro.
7422         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7423         New macro.
7424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7426         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7427         (llogbf): Likewise.
7428         (llogbl): Likewise.
7429         * math/Makefile (gen-libm-calls): Add w_llogbF.
7430         (tests): Add test-fp-llogb-constants.
7431         * math/w_llogb_template.c: New file.  Based on
7432         math/w_ilogb_template.c.
7433         * math/libm-test.inc (llogb_test_data): New array.
7434         (llogb_test): New function.
7435         (main): Call llogb_test.
7436         * math/test-fp-llogb-constants.c: New file.  Based on
7437         math/test-fp-ilogb-constants.c.
7438         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7439         (do_test): Call check_return_llogb.
7440         * math/test-tgmath.c (NCALLS): Increase to 126.
7441         (F(compile_test)): Call llogb.
7442         (F(llogb)): New function.
7443         * manual/math.texi (Exponents and Logarithms): Document llogb,
7444         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7445         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7446         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7447         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7448         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7449         (CFLAGS-nldbl-llogb.c): New variable.
7450         * sysdeps/nacl/libm.abilist: Update.
7451         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7452         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7454         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7455         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7456         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7464         Likewise.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7466         Likewise.
7467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7468         Likewise.
7469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7470         Likewise.
7471         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7472         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7473         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7474         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7475         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7477         Likewise.
7478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7479         Likewise.
7480         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7481         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7482         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7484 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7486         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7487         _Float128 instead of long double.
7488         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7490         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7491         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7492         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7493         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7494         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7495         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7496         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7497         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7498         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7499         Likewise.
7501 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7503         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7504         Remove redirection to __strrchr_ppc.
7506 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7508         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7509         (sysdep_routines): Add strcmp_power9.
7510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7511         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7512         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7513         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7514         (strcmp): Add __strcmp_power9 to ifunc list.
7515         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7517 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7519         * bits/fp-logb.h: New file.
7520         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7521         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7522         * sysdeps/x86/bits/fp-logb.h: Likewise.
7523         * math/Makefile (headers): Add bits/fp-logb.h.
7524         * math/math.h: Include <bits/fp-logb.h>.
7525         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7526         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7527         * bits/mathdef.h (FP_ILOGB0): Remove.
7528         (FP_ILOGBNAN): Likewise.
7529         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7530         (FP_ILOGBNAN): Likewise.
7531         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7532         (FP_ILOGBNAN): Likewise.
7533         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7534         (FP_ILOGBNAN): Likewise.
7535         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7536         (FP_ILOGBNAN): Likewise.
7537         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7538         (FP_ILOGBNAN): Likewise.
7539         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7540         (FP_ILOGBNAN): Likewise.
7541         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7542         (FP_ILOGBNAN): Likewise.
7543         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7544         (FP_ILOGBNAN): Likewise.
7545         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7546         (FP_ILOGBNAN): Likewise.
7548         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7549         time module.
7550         (Context.__init__): Initialize self.logsdir_old.
7551         (Context.run_builds): Handle bot action.
7552         (Context.bot_cycle): Copy logs directory before running builds.
7553         (Context.bot_run_self): Take argument for whether to check
7554         subprocess result.  Flush stdout before running subprocess.
7555         (Context.bot): New function.
7556         (get_parser): Allow bot action.
7558 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7560         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7561         Import email.mime.text, email.utils and smtplib modules.
7562         (Context.__init__): Initialize self.bot_config_json.
7563         (Context.run_builds): Handle bot-cycle action.
7564         (Context.load_bot_config_json): New function.
7565         (Context.part_build_old): Likewise.
7566         (Context.bot_cycle): Likewise.
7567         (Context.bot_build_mail): Likewise.
7568         (Context.bot_run_self): Likewise.
7569         (get_parser): Allow bot-cycle action.
7571 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7574         Remove redirection to __stpcpy_ppc.
7576 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7578         Remove __libc_memalign from ld.so because it is unused.
7579         * elf/dl-minimal.c: Update comment on the malloc implementation.
7580         (malloc): Renamed from __libc_memalign, replacing the original
7581         malloc implementation.  Replace the align parameter with
7582         MALLOC_ALIGNMENT.
7583         * elf/Versions (ld): Update comment and remove __libc_memalign.
7584         * sysdeps/nacl/ld.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7592         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7593         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7594         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7595         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7596         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7597         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7601         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7602         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7603         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7604         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7605         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7608         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7609         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7610         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7611         * sysdeps/generic/localplt.data (ld.so): Likewise.
7612         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7613         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7614         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7615         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7616         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7617         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7618         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7619         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7620         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7622         (ld.so): Likewise.
7623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7624         (ld.so): Likewise.
7625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7626         Likewise.
7627         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7628         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7629         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7630         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7631         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7633 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7635         [BZ #16628]
7636         Implement _dl_catch_error, _dl_signal_error in libc.so.
7637         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7638         (catch_hook): Define as thread-local or regular variable,
7639         depending on DL_ERROR_BOOTSTRAP.
7640         (CATCH_HOOK): Remove.
7641         (dl_signal_error, _dl_catch_error): Use
7642         catch_hook.  Add hidden definition for libc.
7643         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7644         for DL_ERROR_BOOTSTRAP only.
7645         * elf/dl-error.c: New file.
7646         * elf/dl-error-minimal.c: Likewise.
7647         * elf/tst-latepthread.c: Likewise.
7648         * elf/tst-latepthreadmod.c: Likewise.
7649         * elf/Makefile (routines): Add dl-error.
7650         (dl-routines): Remove dl-error.
7651         (rtld-routines): Add dl-error-minimal.
7652         [build-shared] (tests): Add tst-latepthread.
7653         (module-names): Add tst-latepthreadmod.
7654         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7655         symbol.
7656         (tst-latepthreadmod.so): Link against libpthread.
7657         (tst-latepthread): Link against libdbl.
7658         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7659         _dl_catch_error.
7660         [ld] (GLIBC_PRIVATE): Likewise.
7661         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7662         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7663         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7664         directly.
7665         * elf/dl-tsd.c: Remove file.
7666         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7667         _dl_catch_error, _dl_signal_error.
7668         (_dl_initial_error_catch_tsd): Remove definition.
7669         (do_preload): Remove initialization of dl_error_catch_tsd.
7670         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7671         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7672         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7673         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7674         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7675         set dl_error_catch_tsd.
7676         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7677         _dl_error_catch_tsd member.
7678         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7679         members.
7680         (_dl_initial_error_catch_tsd): Remove declaration.
7681         (_dl_dprintf): Provide definition for use outside of ld.so.
7682         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7683         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7684         prototype for libc.
7685         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7686         _dl_catch_error.
7687         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7688         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7689         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7690         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7691         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7692         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7693         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7694         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7695         Likewise.
7696         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7698         (ld.so): Likewise.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7700         (ld.so): Likewise.
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7702         Likewise.
7703         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7704         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7705         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7706         Likewise.
7707         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7708         Likewise.
7709         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7711 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7713         [BZ #4099]
7714         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7715         _IO_BUFSIZ (8192).
7717 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7719         * PROJECTS: Remove file.
7721 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7723         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7725 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7726             Steve Ellcey  <sellcey@caviumnetworks.com>
7728         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7729         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7730         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7731         fxstatat.
7732         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7733         lxstat.
7734         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7735         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7736         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7737         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7738         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7739         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7740         __xstat.
7742 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7744         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7745         Define.
7746         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7747         definition.
7749 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7751         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7752         version and turn into strong alias.  Remove compat symbol.
7754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7755         (__longjmp): Remove.
7757 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7759         * bits/fp-fast.h: New file.
7760         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7761         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7762         * math/Makefile (headers): Add bits/fp-fast.h.
7763         * math/math.h: Include <bits/fp-fast.h>.
7764         * bits/mathdef.h (FP_FAST_FMA): Remove.
7765         (FP_FAST_FMAF): Likewise.
7766         (FP_FAST_FMAL): Likewise.
7767         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7768         (FP_FAST_FMAF): Likewise.
7769         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7770         (FP_FAST_FMAF): Likewise.
7771         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7772         (FP_FAST_FMAF): Likewise.
7773         (FP_FAST_FMAL): Likewise.
7774         * sysdeps/arm/bits/mathdef.h: Remove file.
7775         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7776         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7777         * sysdeps/tile/bits/mathdef.h: Likewise.
7779 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7781         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7782         * math/w_ilogb.c: Remove.
7783         * math/w_ilogbf.c: Likewise.
7784         * math/w_ilogbl.c: Likewise.
7785         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7786         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7787         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7788         (libm-calls): Remove w_ilogbF.
7789         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7790         (LDOUBLE_ilogbl_libm_version): New macro.
7792         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7794         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7795         [!__STRICT_ANSI__ && !__cplusplus].
7797 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7799         [BZ #20750]
7800         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7801         of PIC.
7803 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7804             Yury Norov  <ynorov@caviumnetworks.com>
7805             Steve Ellcey  <sellcey@caviumnetworks.com>
7807         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7808         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7809         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7810         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7811         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7812         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7813         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7814         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7815         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7816         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7817         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7818         to get correct reg name for ILP32.
7819         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7820         (RELA_SIZE): New Macro.
7821         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7822         to support ILP32.
7823         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7824         cast for ILP32 mode.
7825         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7826         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7827         * sysdeps/aarch64/memset.S (__memset): Ditto.
7828         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7829         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7830         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7831         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7832         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7833         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7834         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7835         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7836         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7837         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7838         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7839         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7840         change PTR_MANGLE call to use register numbers instead of names.
7841         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7842         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7843         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7844         * sysdeps/aarch64/start.S (_start): Ditto.
7845         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7846         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7847         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7848         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7849         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7850         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7851         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7852         Make defined values dependent on __ILP32__.
7853         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7854         (sem_t): Change __align type.
7855         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7856         PTR_SIZE): New Macros.
7857         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7858         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7859         Set when in ILP32 mode.
7860         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7861         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7862         Set elf flags for ILP32.
7863         (add_system_dir): Set ILP32 library directories.
7864         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7865         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7866         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7867         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7868         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7869         New Macros.
7870         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7872 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7874         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7875         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7876         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7878 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7880         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7881         <asm/cachectl.h>.
7883 2016-11-27  Zack Weinberg  <zackw@panix.com>
7885         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7886         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7888 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7890         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7891         error_t to fix usage in C++ programs.
7893 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7895         * scripts/build-many-glibcs.py: Import datetime module.
7896         (Context.__init__): Load JSON build state.  Initialize list of
7897         status logs.
7898         (Context.run_builds): Update saved build state.
7899         (Context.add_makefile_cmdlist): Update list of status logs.
7900         (Context.load_build_state_json): New function.
7901         (Context.store_build_state_json): Likewise.
7902         (Context.clear_last_build_state): Likewise.
7903         (Context.update_build_state): Likewise.
7904         (CommandList.status_logs): Likewise.
7906 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7908         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7909         script being executed.
7910         (Context.get_script_text): New function.
7911         (Context.exec_self): Likewise.
7912         (Context.checkout): Re-exec script if changed by checkout process.
7914 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7916         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7917         (setpayloadsig): New declaration.
7918         * math/Versions (setpayloadsig): New libm symbol at version
7919         GLIBC_2.25.
7920         (setpayloadsigf): Likewise.
7921         (setpayloadsigl): Likewise.
7922         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7923         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7924         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7925         (setpayloadsig_test_data): New array.
7926         (setpayloadsig_test): New function.
7927         (main): Call setpayloadsig_test.
7928         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7929         setpayloadsigf and setpayloadsigl.
7930         * manual/libm-err-tab.pl: Update comment on interfaces without
7931         ulps tabulated.
7932         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7933         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7934         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7935         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7936         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7937         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7938         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7939         setpayloadsig.
7940         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7941         * sysdeps/nacl/libm.abilist: Update.
7942         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7943         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7944         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7945         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7946         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7947         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7948         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7949         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7950         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7951         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7952         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7953         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7955         Likewise.
7956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7957         Likewise.
7958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7959         Likewise.
7960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7963         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7964         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7965         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7966         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7968         Likewise.
7969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7970         Likewise.
7971         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7972         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7973         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7975         * scripts/build-many-glibcs.py: Import json module.
7976         (Context.__init__): Take replace_sources argument.  Load
7977         versions.json.
7978         (Context.load_versions_json): New function.
7979         (Context.store_json): Likewise.
7980         (Context.store_versions_json): Likewise.
7981         (Context.set_component_version): Likewise.
7982         (Context.checkout): Update versions.json.  Check for and handle
7983         changes of version.  Prefer previously explicitly specified
7984         version to default version.
7985         (Context.checkout_vcs): Return a revision identifier.
7986         (Context.git_checkout): Likewise.
7987         (Context.gcc_checkout): Likewise.
7988         (get_parser): Add --replace-sources option.
7989         (main): Pass replace_sources argument to Context call.
7991 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7993         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7994         * nptl/allocatestack.c (allocate_stack): Likewise.
7995         (__reclaim_stacks): Likewise.
7996         (setxid_signal_thread): Obtain pid through syscall.
7997         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7998         (sighandle_setxid): Likewise.
7999         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8000         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8001         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8002         Likewise.
8003         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8004         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8005         comment.
8006         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8007         * nptl/descr.h (struct pthread): Change comment about pid value.
8008         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8009         pid assert.
8010         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8011         Do not set pid value.
8012         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8013         pid cache check.
8014         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8015         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8016         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8017         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8018         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8019         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8020         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8021         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8022         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8023         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8024         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8025         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8026         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8027         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8028         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8029         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8030         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8031         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8032         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8033         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8034         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8035         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8036         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8037         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8038         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8041         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8042         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8043         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8044         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8045         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8046         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8047         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8048         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8049         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8050         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8051         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8052         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8053         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8054         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8055         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8056         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8059         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8060         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8061         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8062         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8063         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8064         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8065         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8066         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8067         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8068         struct access.
8069         (clone_test): Remove function.
8070         (do_test): Rewrite to take in consideration pid is not cached anymore.
8072 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8074         * bits/flt-eval-method.h: New file.
8075         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8076         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8077         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8078         * math/Makefile (headers): Add bits/flt-eval-method.h.
8079         * math/math.h: Include <bits/flt-eval-method.h>.
8080         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8081         [__USE_ISOC99] (double_t): Likewise.
8082         * bits/mathdef.h (float_t): Remove.
8083         (double_t): Likewise.
8084         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8085         (double_t): Likewise.
8086         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8087         (double_t): Likewise.
8088         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8089         (double_t): Likewise.
8090         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8091         (double_t): Likewise.
8092         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8093         (double_t): Likewise.
8094         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8095         (double_t): Likewise.
8096         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8097         (double_t): Likewise.
8098         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8099         (double_t): Likewise.
8100         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8101         (double_t): Likewise.
8102         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8103         (double_t): Likewise.
8104         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8105         (double_t): Likewise.
8106         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8107         (double_t): Likewise.
8108         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8109         (double_t): Likewise.
8111 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8113         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8114         instead of PIC.
8116 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8118         [BZ #20859]
8119         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8120         (-0x7fffffff) instead of 0x80000001.
8121         * math/test-fp-ilogb-constants.c: New file.
8122         * math/Makefile (tests): Add test-fp-ilogb-constants.
8124 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8126         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8127         (_init): Use it in place of hardcoded R_MIPS_JALR.
8128         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8129         (_init): Use it in place of hardcoded R_MIPS_JALR.
8130         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8131         (_init): Use it in place of hardcoded R_MIPS_JALR.
8133 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8135         [BZ #20787]
8136         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8137         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8138         (double_t): Do not define to double if [__x86_64__] when
8139         __FLT_EVAL_METHOD__ is nonzero.
8140         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8141         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8142         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8143         test-flt-eval-method-387 and test-flt-eval-method-sse.
8144         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8145         variable.
8146         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8148 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8150         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8151         use of -fno-isolate-erroneous-paths options for tilepro.
8153 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8155         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8156         structure initialization is no longer needed.
8158 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8160         [BZ #20855]
8161         * bits/mathdef.h (float_t): Define to float.
8162         * math/test-flt-eval-method.c: New file.
8163         * math/Makefile (tests): Add test-flt-eval-method.
8164         (CFLAGS-test-flt-eval-method.c): New variable.
8166 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8168         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8169         and __fstatfs.  Make them aliases of __fstatfs64 if
8170         STATFS_IS_STATFS64 is set to non-zero.
8171         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8172         and __statfs64.
8173         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8174         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8175         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8176         for __statfs and statfs.
8177         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8178         to 0.
8179         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8180         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8181         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8182         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8183         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8184         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8187         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8188         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8189         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8190         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8192 2016-11-22  Andreas Schwab  <schwab@suse.de>
8194         * misc/mkstemp.c: Include <fcntl.h>.
8195         * misc/mkstemps.c: Likewise.
8196         * misc/mkostemp.c: Likewise.
8197         * misc/mkostemps.c: Likewise.
8199 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8201         [BZ #20847]
8202         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8203         array bounds.
8204         (__execvpe): Likewise.
8206 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8208         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8209         -fno-isolate-erroneous-paths options for tilepro.
8211 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8213         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8214         to 0 when in 32 bit mode.
8215         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8216         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8217         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8218         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8220         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8221         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8222         XSTAT_IS_XSTAT64 test.
8223         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8224         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8225         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8226         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8227         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8228         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8229         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8230         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8231         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8232         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8233         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8235 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8237         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8238         (setpayload): New declaration.
8239         * math/Versions (setpayload): New libm symbol at version
8240         GLIBC_2.25.
8241         (setpayloadf): Likewise.
8242         (setpayloadl): Likewise.
8243         * math/Makefile (libm-calls): Add s_setpayloadF.
8244         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8245         test_Ff_b1_data.
8246         (RUN_TEST_Ff_b1): New macro.
8247         (RUN_TEST_LOOP_Ff_b1): Likewise.
8248         (canonicalize_test_data): Update type.
8249         (setpayload_test_data): New array.
8250         (setpayload_test): New function.
8251         (main): Call setpayload_test.
8252         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8253         setpayloadf and setpayloadl.
8254         * manual/libm-err-tab.pl: Update comment on interfaces without
8255         ulps tabulated.
8256         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8257         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8258         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8259         Likewise.
8260         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8261         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8262         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8263         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8264         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8265         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8266         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8267         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8268         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8269         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8270         setpayload.
8271         (CFLAGS-nldbl-setpayload.c): New variable.
8272         * sysdeps/nacl/libm.abilist: Update.
8273         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8274         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8275         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8276         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8277         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8278         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8279         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8280         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8281         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8282         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8283         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8284         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8288         Likewise.
8289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8290         Likewise.
8291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8292         Likewise.
8293         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8294         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8295         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8296         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8297         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8299         Likewise.
8300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8301         Likewise.
8302         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8303         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8304         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8306 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8308         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8309         * include/unistd.h: Extend comment about __access_noerrno return
8310         semantics.
8311         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8312         (access_common): Correct typo for EACCES.
8314 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8316         * sysdeps/tile/math-tests.h: New file.
8318         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8319         (__old_set_dataplane): Rename from set_dataplane and make a
8320         compatibility symbol.
8321         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8322         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8323         sys/dataplane.h.
8325 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8327         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8328         script quote words in command output to log suitably for input to
8329         the shell.
8331 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8332             Maciej W. Rozycki  <macro@imgtec.com>
8334         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8335         `.Lno_weak_fn' label.
8336         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8337         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8339 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8340             Yury Norov  <ynorov@caviumnetworks.com>
8342         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8343         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8344         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8345         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8346         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8347         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8348         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8349         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8350         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8351         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8352         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8353         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8354         (sysdep_routines): Remove oldgetrlimit64.
8355         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8356         (sysdep_routines): Likewise.
8357         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8358         (sysdep_routines): Likewise.
8359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8360         [$(subdir) = resource] (sysdep_routines): Likewise.
8361         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8362         [$(subdir) = resource] (sysdep_routines): Likewise.
8363         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8364         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8365         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8366         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8367         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8368         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8369         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8370         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8371         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8372         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8373         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8374         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8375         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8376         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8377         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8378         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8379         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8380         setrlimit and getrlimit.
8381         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8382         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8383         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8386         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8387         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8388         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8389         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8390         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8391         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8392         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8393         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8394         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8395         (__old_getrlimit64): Add compatibility symbol.
8396         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8398 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8400         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8401         newly built gmp, mpfr and mpc.
8403         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8405 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8407         * conform/Makefile (linknamespace-libs): Rename to
8408         linknamespace-libs-thr.
8409         (linknamespace-libs-posix): New variable.
8410         (linknamespace-libs-xsi): Likewise.
8411         (linknamespace-libs-XPG3): Include libcrypt.a.
8412         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8413         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8414         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8415         (linknamespace-libs-XOPEN2K): Likewise.
8416         (linknamespace-libs-XOPEN2K8): Likewise.
8417         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8419         [BZ #20829]
8420         * stdio-common/Versions (__snprintf): Add to version
8421         GLIBC_PRIVATE.
8422         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8423         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8424         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8425         of snprintf.
8426         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8428 2016-11-16  Zack Weinberg  <zackw@panix.com>
8430         * string/string.h: Remove obsolete comment stating that
8431         strcoll_l and strxfrm_l have not yet been standardized.
8433 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8435         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8436         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8437         __access_noerrno.
8438         * io/access.c (__access_noerrno): New function.
8439         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8440         (hurd_fail_seterrno): Likewise.
8441         (access_common): Likewise.
8442         (__access_noerrno): Likewise.
8443         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8444         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8445         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8446         macro.
8448 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8450         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8451         Only declare fpregs if [__SH_FPU_ANY__].
8453 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8455         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8456         Make code unconditional.
8457         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8459 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8461         * manual/sysinfo.texi (S_APPEND): Delete.
8462         (S_IMMUTABLE): Likewise.
8464 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8465             Magnus Granberg  <zorry@gentoo.org>
8466             Mike Frysinger  <vapier@gentoo.org>
8468         [BZ #20662]
8469         * configure.ac (libc_cv_predef_stack_protector): Also check for
8470         __stack_chk_fail_local symbols.
8471         * configure: Regenerated.
8473 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8475         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8476         (libc_hidden_def): Remove redefinition.
8477         (__sigsetjmp): Add hidden definition.
8478         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8479         (libc_hidden_def): Remove redefinition.
8480         (__sigsetjmp): Add hidden definition.
8482 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8484         * scripts/build-many-glibcs.py (os.path): Do not import.
8485         (Context): Inherit explicitly from object.  Remove blank line
8486         between class and docstring.
8487         (Config): Likewise.
8488         (Glibc): Likewise.
8489         (Command): Likewise.
8490         (CommandList): Likewise.
8491         (Context.write_files): Store chmod mode in a variable.
8493         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8494         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8495         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8497 2016-11-14  Zack Weinberg  <zackw@panix.com>
8499         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8500         creating or re-creating it.
8502         * string/bits/string2.h: Fix typo in comment.
8504 2016-11-14  Zack Weinberg  <zackw@panix.com>
8506         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8507         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8508         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8509         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8510         of redirected function names.
8512         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8513         as well.  Document that MESSAGE must be a single string literal.
8515 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8517         * scripts/build-many-glibcs.py: New file.
8519         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8520         (do_test): Disable -Wmaybe-uninitialized around uses of
8521         except_mask.
8523         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8525 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8527         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8528         (atomic_store_release): Provide tilepro-specific implementations.
8530 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8532         * math/math.h (__MATH_TG): New macro.
8533         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8534         [__USE_ISOC99] (signbit): Likewise.
8535         [__USE_ISOC99] (isfinite): Likewise.
8536         [__USE_ISOC99] (isnan): Likewise.
8537         [__USE_ISOC99] (isinf): Likewise.
8538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8539         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8541         __MATH_TG and __MATH_EVAL_FMT2.
8542         * sysdeps/generic/math_private.h (fabs_tg): Define using
8543         __MATH_TG.
8544         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8545         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8546         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8547         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8548         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8549         macro.
8550         (__iscanonical): Likewise.
8551         (iscanonical): Define using __MATH_TG.
8553 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8555         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8556         guards.
8558         * sysdeps/unix/sysv/linux/access.c: New file.
8559         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8561 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8563         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8564         and __WORDSIZE32_PTRDIFF_LONG.
8566 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8568         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8570 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8572         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8573         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8574         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8575         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8576         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8578         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8579         * sysdeps/unix/sysv/linux/truncate.c: New file.
8580         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8581         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8582         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8583         Remove.
8584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8585         Likewise.
8587         * posix/tst-truncate-common.c: New file.
8588         * posix/tst-truncate.c: Use tst-truncate-common.c.
8589         * posix/tst-truncate64.c: Likewise and add LFS tests.
8590         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8591         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8592         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8593         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8594         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8596         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8597         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8598         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8599         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8600         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8601         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8602         Remove.
8603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8604         Likewise.
8606 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8608         [BZ #20790]
8609         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8610         to MAXLINESIZE.
8611         * sunrpc/bug20790.x: New file.
8612         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8613         variable.
8614         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8615         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8617         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8619         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8621         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8622         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8623         calloc, realloc, free, memalign and __libc_memalign rather than
8624         making them optional.
8626         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8627         for libc.so.
8629 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8631         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8632         ptw-lseek64.
8633         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8634         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8635         Likewise.
8636         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8637         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8638         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8639         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8640         * sysdeps/unix/sysv/linux/lseek.c: New file.
8641         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8642         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8643         __libc_lseek64 from auto-generation.
8644         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8645         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8647 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8649         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8650         * nptl/tst-cleanup1.c (do_test): Likewise.
8651         * nptl/tst-cleanup3.c (do_test): Likewise.
8652         * nptl/tst-key1.c (do_test): Likewise.
8653         * nptl/tst-key2.c (tf, do_test): Likewise.
8654         * nptl/tst-key3.c (tf, do_test): Likewise.
8655         * nptl/tst-stdio1.c (do_test): Likewise.
8656         * nptl/tst-stdio2.c (do_test): Likewise.
8658         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8659         * nptl/tst-kill6.c (handler): Likewise.
8660         * nptl/tst-tls2.c (CB): Likewise.
8661         * nptl/tst-tls3.c (CB): Likewise.
8663 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8665         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8667 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8668             Steve Ellcey  <sellcey@caviumnetworks.com>
8670         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8671           __ASSUME_ST_INO_64_BIT as 0
8672         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8673         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8674           over the code where __ASSUME_ST_INO_64_BIT is used.
8675         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8676         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8677         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8679 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8681         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8682         Document ABI exposure of the __kind offset.
8683         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8684         Mention reason for the __kind offset exposure in the ABI.
8685         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8686         Likewise.
8687         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8688         Likewise.
8689         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8690         Likewise.
8691         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8692         (struct __pthread_mutex_s): Likewise.
8693         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8694         Likewise.
8695         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8696         Likewise.
8697         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8698         Likewise.
8699         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8700         Likewise.
8701         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8702         Likewise.
8703         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8704         Likewise.
8705         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8706         (struct __pthread_mutex_s): Likewise.
8707         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8708         (struct __pthread_mutex_s): Likewise.
8709         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8710         Likewise.
8712 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8714         * test-skeleton.c: Document do_test usage.
8716 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8718         * iconv/gconv.h (__gconv_info): Define __data element using a
8719         zero-length array.
8721 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8723         * math/test-tgmath2.c: Split up test function.
8725 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8727         * Rules (tests-expected): New variable, depending on
8728         $(run-built-tests).
8729         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8730         $(tests).
8732         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8733         $(tests-unsupported).
8735 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8737         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8738         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8740 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8742         [BZ #20768]
8743         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8744         __fegetenv instead of fegetenv.
8746         [BZ #14139]
8747         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8748         (find_files): Obtain platform name from libm-test-ulps-name and
8749         store in %pplatforms.
8750         (canonicalize_platform): Remove.
8751         (print_platforms): Use $pplatforms directly.
8752         (by_platforms): Do not allow for platforms missing from
8753         %pplatforms.
8754         * sysdeps/aarch64/libm-test-ulps-name: New file.
8755         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8756         * sysdeps/arm/libm-test-ulps-name: Likewise.
8757         * sysdeps/generic/libm-test-ulps-name: Likewise.
8758         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8759         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8760         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8761         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8762         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8763         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8764         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8765         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8766         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8767         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8768         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8769         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8770         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8771         * sysdeps/sh/libm-test-ulps-name: Likewise.
8772         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8773         * sysdeps/tile/libm-test-ulps-name: Likewise.
8774         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8776         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8778         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8779         (test-xfail-check-execstack): New variable.
8781         * sysdeps/mips/localplt.data: New file.
8783 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8784             Steve Ellcey  <sellcey@caviumnetworks.com>
8786         * bits/wordsize.h: Add documentation.
8787         * sysdeps/aarch64/bits/wordsize.h : New file
8788         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8789         definitions.
8790         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8791         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8792         with #if instead of #ifdef.
8793         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8794         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8795         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8796         Add or change defines.
8797         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8798         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8799         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8800         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8801         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8802         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8803         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8804         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8805         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8806         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8807         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8808         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8809         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8810         * sysdeps/x86/bits/wordsize.h: Likewise.
8812 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8813             Kevin Petit  <kevin.petit@arm.com>
8815         * sysdeps/aarch64/memchr.S (__memchr): New file.
8817 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8819         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8821 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8823         [BZ #19398]
8824         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8825         $(linknamespace-symlists-tests).
8827 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8829         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8831 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8832             Carlos O'Donell  <carlos@redhat.com>
8834         [Bug #20729]
8835         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8836         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8837         for -Os related change.
8839 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8841         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8843 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8845         [BZ #19673]
8846         * manual/math.texi (Exponents and Logarithms): Correct description
8847         of clog10.
8849 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8851         [Bz #20729]
8852         * locale/weight.h: Include libc-internal.h.
8853         * locale/weightwc.h: Likewise.
8854         * nptl/nptl_dbP.h: Likewise.
8856 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8858         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8859         when it is MACH_PORT_NULL.
8861 2016-10-31  Andreas Schwab  <schwab@suse.de>
8863         [BZ #20707]
8864         * posix/glob.c (glob): Initialize pglob before checking for
8865         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8866         valid brace expression despite GLOB_BRACE.
8867         * posix/globtest.sh: Test it.
8869 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8871         [BZ #20729]
8872         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8873         Define.
8874         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8875         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8876         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8877         for seq2.back_us and seq1.back_us only for -Os compiles.
8878         * locale/weightwc.h (findix): Likewise.
8879         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8880         DB_GET_FIELD_ADDRESS only for -Os compiles.
8881         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8882         for slen only for -Os compiles.
8883         * string/strcoll_l.c (get_next_seq): Ignore
8884         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8885         for -Os compiles.
8887         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8888         * include/crypt.h: New file.
8890 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8892         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8893         from test-skeleton.c.
8894         (statclass): Replace calls to write with calls to write_message.
8896 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8898         * math/math.h
8899         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8900         New macro.
8901         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8902         Likewise.
8903         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8904         Likewise.
8905         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8906         SNANL.
8907         * math/test-double.h (snan_value_MACRO): New macro.
8908         * math/test-float.h (snan_value_MACRO): Likewise.
8909         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8910         * math/libm-test.inc (issignaling_test_data): Add tests of
8911         snan_value_MACRO.
8913 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8915         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8916         behavior when eliding a lock not held by the current thread.
8917         * sysdeps/powerpc/nptl/elide.h: Likewise.
8919 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8921         [BZ #20728]
8922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8923         branch to _exit() by a function call.
8925 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8927         * malloc/malloc.c: Update chunk layout comments.
8928         (chunk_main_arena): Update comment.
8930 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8932         * crypt/sha256.c, crypt/sha256-block.c,
8933         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8934         sha256_process_block to __sha256_process_block.
8935         * crypt/sha512.c, crypt/sha512-block.c,
8936         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8937         sha512_process_block to __sha512_process_block.
8939 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8941         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8943         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8945 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8947         [BZ #20019]
8948         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8949         definition in unrelocated shared library.
8950         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8952 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8954         [BZ #20729]
8955         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8956         * sysdeps/unix/sysv/linux/i386/Makefile
8957         (uses-6-syscall-arguments): Define.
8958         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8959         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8960         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8961         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8962         Likewise.
8963         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8964         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8965         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8966         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8967         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8968         (CFLAGS-fallocate64.os): Likewise.
8969         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8970         (CFLAGS-pthread_rwlock_timedrdlock.os)
8971         (CFLAGS-pthread_rwlock_timedwrlock.o)
8972         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8973         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8974         (CFLAGS-sem_timedwait.os): Likewise.
8976 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8978         * elf/tst-linkall-static.c: New file.
8979         * elf/Makefile (tests-static): Add tst-linkall-static.
8980         (tst-linkall-static): Link against static libraries.
8982 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8984         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8985         mmaped chunks.
8987 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8989         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8990         members to mchunk_prev_size, mchunk_size.
8991         (chunk_main_arena): Reverse sense and rename from
8992         chunk_non_main_arena.
8993         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8994         mchunk_size instead of size.
8995         (set_non_main_arena): Define.
8996         (chunksize): Use chunksize_nomask instead of direct member access.
8997         (chunksize_nomask): Define.
8998         (next_chunk): Use chunksize instead of direct member access.
8999         (prev_size, set_prev_size): Define.
9000         (prev_chunk): Use prev_size instead of direct member access.
9001         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9002         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9003         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9004         (mchunk_prev_size, mchunk_size): Poison tokens.
9005         (unlink): Use chunksize_nomask, prev_size accessors.
9006         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9007         (do_check_free_chunk): Use prev_size accessor.
9008         (sysmalloc): Use set_prev_size, set_head accessors.
9009         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9010         (__libc_free): Use chunksize_nomask accessor.
9011         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9012         chunk_main_arena accessors.
9013         (_int_free): Use chunksize_nomask, prev_size accessors.
9014         (malloc_consolidate): Use chunksize, prev_size accessors.
9015         (_int_realloc): Use chunksize_nomask accessor.
9016         (_int_memalign): Use set_prev_size accessor.
9017         (__malloc_info): Use chunksize_nomask accessor.
9018         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9019         accessors.
9020         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9021         (heap_trim): Use chunksize_nomask, prev_size accessors.
9023 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9025         [BZ #19380]
9026         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9027         for inexact results.
9028         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9029         of inexact result where mpfr_subnormalize is the only inexact
9030         step.
9031         * stdlib/tst-strtod-round-data.h: Regenerated.
9032         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9033         Define to 0.
9034         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9036 2016-10-27  David S. Miller  <davem@davemloft.net>
9038         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9040 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9042         * malloc/malloc.c (do_set_mallopt_check): New function.
9043         (do_set_mmap_threshold): Likewise.
9044         (do_set_mmaps_max): Likewise.
9045         (do_set_top_pad): Likewise.
9046         (do_set_perturb_byte): Likewise.
9047         (do_set_trim_threshold): Likewise.
9048         (do_set_arena_max): Likewise.
9049         (do_set_arena_test): Likewise.
9050         (__libc_mallopt): Use them.
9052 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9054         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9055         (canonicalize): New declaration.
9056         * math/Versions (canonicalize): New libm symbol at version
9057         GLIBC_2.25.
9058         (canonicalizef): Likewise.
9059         (canonicalizel): Likewise.
9060         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9061         * math/s_canonicalize_template.c: New file.
9062         * math/libm-test.inc: Update comment on functions tested and
9063         testing of NaN payloads.
9064         (TEST_NAN_PAYLOAD): New macro.
9065         (NO_TEST_INLINE): Update value.
9066         (XFAIL_TEST): Likewise.
9067         (ERRNO_UNCHANGED): Likewise.
9068         (ERRNO_EDOM): Likewise.
9069         (ERRNO_ERANGE): Likewise.
9070         (IGNORE_RESULT): Likewise.
9071         (NON_FINITE): Likewise.
9072         (TEST_SNAN): Likewise.
9073         (NO_TEST_MATHVEC): Likewise.
9074         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9075         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9076         (struct test_Ffp_b1_data): New type.
9077         (RUN_TEST_Ffp_b1): New macro.
9078         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9079         (canonicalize_test_data): New array.
9080         (canonicalize_test): New function.
9081         (main): Call canonicalize_test.
9082         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9083         canonicalizef and canonicalizel.
9084         * manual/libm-err-tab.pl: Update comment on interfaces without
9085         ulps tabulated.
9086         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9087         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9088         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9089         canonicalize.
9090         (CFLAGS-nldbl-canonicalize.c): New variable.
9091         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9092         to ...
9093         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9094         ... here.
9095         (do_test): Also test canonicalizel.
9096         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9097         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9098         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9099         file.
9100         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9101         Use libm_hidden_def.
9102         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9103         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9104         (do_test): Also test canonicalizel.
9105         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9106         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9107         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9108         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9109         libm_hidden_def.
9110         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9111         macro.
9112         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9113         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9114         * sysdeps/nacl/libm.abilist: Update.
9115         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9116         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9117         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9118         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9119         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9120         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9121         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9122         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9123         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9124         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9125         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9126         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9128         Likewise.
9129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9130         Likewise.
9131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9132         Likewise.
9133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9134         Likewise.
9135         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9136         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9137         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9138         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9139         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9141         Likewise.
9142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9143         Likewise.
9144         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9145         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9146         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9148         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9149         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9150         getpayload.
9151         (CFLAGS-nldbl-getpayload.c): New variable.
9153 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9155         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9156         integer from the format string.
9158 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9160         [BZ #19473]
9161         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9162         declarations.
9163         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9164         weak aliases.
9165         * malloc/hooks.c (__malloc_get_state): Remove definition.
9166         (malloc_get_state): New stub implementation as
9167         compatibility symbol.
9168         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9169         compat symbol.
9170         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9171         malloc_set_state.
9172         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9174 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9176         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9177         (names): Turn into concatenation of strings.
9178         (gconv_init): Adapt iteration over names.
9180 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9182         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9183         make const.
9184         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9185         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9186         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9187         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9188         character in sbconv.
9189         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9190         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9191         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9193 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9195         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9197         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9198         (M_TRIM_THRESHOLD): Likewise.
9200         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9201         (M_ARENA_MAX): Likewise.
9202         * malloc/malloc.c: Remove obsolete comment.
9204         * manual/memory.texi: Add environment variable alternatives to
9205         setting mallopt parameters.
9207 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9209         * include/atomic.h
9210         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9211         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9213 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9215         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9216         * stdlib/tst-strfrom.h: New file.
9217         * stdlib/tst-strfrom.c: New file.
9218         * stdlib/tst-strfrom-locale.c: New file.
9220         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9221         * stdlib/bug-strtod2.c: Likewise.
9222         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9223         * stdlib/tst-strtod6.c: Likewise.
9224         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9226 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9228         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9229         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9230         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9231         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9232         * stdlib/stdlib.h (strfromd): New declaration.
9233         (strfromf): Likewise.
9234         (strfroml): Likewise.
9235         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9236         strfrom.
9237         * stdlib/strfromd.c: New file.
9238         * stdlib/strfromf.c: Likewise.
9239         * stdlib/strfroml.c: Likewise.
9240         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9241         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9242         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9243         * sysdeps/arm/nacl/libc.abilist: Update.
9244         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9251         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9252         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9253         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9254         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9255         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9256         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9257         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9262         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9263         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9264         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9265         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9266         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9269         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9270         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9271         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9273 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9275         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9276         instead of cmpli.
9277         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9278         instead of cmpli.
9280 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9282         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9283         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9284         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9285         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9286         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9287         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9289 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9291         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9292         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9293         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9294         SYSCALL_LL64_PRW.
9295         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9296         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9297         __ASSUME_PRW_DUMMY_ARG.
9298         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9299         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9300         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9301         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9302         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9303         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9305 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9307         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9309 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9311         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9312         "C++", to override a potential extern "C" directive around the
9313         header file inclusion.
9315 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9317         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9319 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9321         * sysdeps/powerpc/fpu/fenv_private.h:
9322         (_FPU_MASK_ALL): Rename to...
9323         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9324         XE FPSCR bits.
9326         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9328         (_FPU_MASK_ROUNDING): Rename to...
9329         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9330         NI bits.
9332         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9333         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9334         bits and rounding bits.
9336         (__libc_feholdbits_ppc): New inline function to mask, set,
9337         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9338         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9339         (libc_feholdexcept_setround_ppc): Likewise.
9341         (__libc_femergeenv_ppc): New function to dynamically mask both
9342         old and new FP environments and merge.
9343         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9344         (libc_feresetround_ppc): Likewise.
9345         (libc_feupdateenv_test_ppc): Likewise.
9346         (libc_feupdateenv_ppc): Likewise.
9348         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9349         of ISA RN bits, and update macro names.
9350         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9351         effectively the same as the previously mentioned function.
9353         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9354         usage with fe_resetround_ppc.
9356         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9357         to be used.
9358         (libc_feholdexcept_setround_ctxf): Likewise.
9359         (libc_feholdexcept_setround_ctxl): Likewise.
9361 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9363         [BZ #20715]
9364         * math/math.h [__cplusplus] (iszero): Define as function template.
9365         * math/Makefile [CXX] (tests): Add test-math-iszero.
9366         (CFLAGS-test-math-iszero.cc): Set.
9367         * math/test-math-iszero.cc: New file.
9369 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9371         [BZ #20660]
9372         * sysdeps/arm/e_sqrt.c: New file.
9373         * sysdeps/arm/e_sqrtf.c: Likewise.
9375 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #20718]
9378         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9379         not use floating-point comparisons to test sign.
9380         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9381         Likewise.
9383         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9384         (getpayload): New declaration.
9385         * math/Versions (getpayload): New libm symbol at version
9386         GLIBC_2.25.
9387         (getpayloadf): Likewise.
9388         (getpayloadl): Likewise.
9389         * math/Makefile (libm-calls): Add s_getpayloadF.
9390         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9391         (struct test_f_f_data): Add comment.
9392         (RUN_TEST_fp_f): New macro.
9393         (RUN_TEST_LOOP_fp_f): Likewise.
9394         (getpayload_test_data): New array.
9395         (getpayload_test): New function.
9396         (main): Call getpayload_test.
9397         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9398         descriptor.
9399         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9400         getpayloadf and getpayloadl.
9401         * manual/libm-err-tab.pl: Update comment on interfaces without
9402         ulps tabulated.
9403         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9404         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9405         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9406         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9407         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9408         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9409         * sysdeps/nacl/libm.abilist: Update.
9410         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9420         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9421         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9423         Likewise.
9424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9425         Likewise.
9426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9427         Likewise.
9428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9429         Likewise.
9430         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9431         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9434         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9436         Likewise.
9437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9438         Likewise.
9439         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9440         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9441         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9443 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9445         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9446         tst-fallocate{64}.
9447         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9448         on syscall return.
9450 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9452         [BZ #20689]
9453         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9454         usable.
9456 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9458         * sysdeps/generic/nan-high-order-bit.h: New file.
9459         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9460         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9461         * sysdeps/hppa/math_private.h: Remove file.
9462         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9463         not define here.
9464         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9465         <nan-high-order-bit.h>.
9466         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9467         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9468         <nan-high-order-bit.h>.
9469         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9470         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9471         <nan-high-order-bit.h>.
9472         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9473         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9474         <nan-high-order-bit.h>.
9475         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9476         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9477         <nan-high-order-bit.h>.
9478         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9479         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9480         <nan-high-order-bit.h>.
9481         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9482         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9483         <nan-high-order-bit.h>.
9484         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9485         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9486         <nan-high-order-bit.h>.
9487         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9488         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9489         <nan-high-order-bit.h>.
9490         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9491         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9492         <nan-high-order-bit.h>.
9493         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9494         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9495         <nan-high-order-bit.h>.
9496         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9497         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9498         <nan-high-order-bit.h>.
9499         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9500         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9501         <nan-high-order-bit.h>.
9502         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9503         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9504         <nan-high-order-bit.h>.
9505         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9506         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9507         <nan-high-order-bit.h>.
9508         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9509         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9510         <nan-high-order-bit.h>.
9511         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9512         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9513         <nan-high-order-bit.h>.
9514         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9515         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9516         <nan-high-order-bit.h>.
9517         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9519 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9521         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9523 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9525         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9526         abort-instr.h.
9527         (EFAULT): Remove conditional define.
9528         (ENOSYS): Likewise.
9529         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9530         instead of conditional branch instructions.
9532 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9534         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9535         (totalordermag): New declaration.
9536         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9537         New macro.
9538         * math/Versions (totalordermag): New libm symbol at version
9539         GLIBC_2.25.
9540         (totalordermagf): Likewise.
9541         (totalordermagl): Likewise.
9542         * math/Makefile (libm-calls): Add s_totalordermagF.
9543         * math/libm-test.inc (totalordermag_test_data): New array.
9544         (totalordermag_test): New function.
9545         (main): Call totalordermag_test.
9546         * math/test-tgmath.c (NCALLS): Increase to 125.
9547         (F(compile_test)): Call totalordermag.
9548         (F(totalordermag)): New function.
9549         * manual/arith.texi (FP Comparison Functions): Document
9550         totalordermag, totalordermagf and totalordermagl.
9551         * manual/libm-err-tab.pl: Update comment on interfaces without
9552         ulps tabulated.
9553         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9554         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9555         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9556         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9557         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9558         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9559         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9560         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9561         totalordermag.
9562         (CFLAGS-nldbl-totalordermag.c): New variable.
9563         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9564         (do_test): Also test totalordermagl.
9565         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9566         Likewise.
9567         * sysdeps/nacl/libm.abilist: Update.
9568         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9569         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9570         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9571         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9572         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9573         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9574         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9577         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9579         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9583         Likewise.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9585         Likewise.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9587         Likewise.
9588         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9589         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9590         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9591         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9592         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9594         Likewise.
9595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9596         Likewise.
9597         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9598         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9599         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9601 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9603         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9604         boolean.
9606 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9608         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9609         raising FE_INVALID with feraisexcept in case where part of
9610         argument is infinite, subtract that part of argument from itself.
9611         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9612         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9613         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9615 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9617         * math/libm-test.inc (totalorder_test_data): Add more tests.
9619 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9621         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9622         Undefine weak_alias and add a comment why mips64 require
9623         versioning.
9625 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9627         [BZ #20647]
9628         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9629         maximum CPUID level is less than 2.
9631 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9633         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9634         (totalorder): New declaration.
9635         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9636         New macro.
9637         * math/Versions (totalorder): New libm symbol at version
9638         GLIBC_2.25.
9639         (totalorderf): Likewise.
9640         (totalorderl): Likewise.
9641         * math/Makefile (libm-calls): Add s_totalorderF.
9642         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9643         string.
9644         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9645         (qnan_value_pl): Likewise.
9646         (snan_value_pl): Likewise.
9647         (qnan_value): Define using qnan_value_pl.
9648         (snan_value): Define using snan_value_pl.
9649         (struct test_ff_i_data): Add comment about which tests use this
9650         structure.
9651         (RUN_TEST_ff_b): New macro.
9652         (RUN_TEST_LOOP_ff_b): Likewise.
9653         (totalorder_test_data): New array.
9654         (totalorder_test): New function.
9655         (main): Call totalorder_test.
9656         * math/test-tgmath.c (NCALLS): Increase to 122.
9657         (F(compile_test)): Call totalorder.
9658         (F(totalorder)): New function.
9659         * manual/arith.texi (FP Comparison Functions): Document
9660         totalorder, totalorderf and totalorderl.
9661         * manual/libm-err-tab.pl: Update comment on interfaces without
9662         ulps tabulated.
9663         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9664         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9665         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9666         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9669         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9670         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9671         totalorder.
9672         (CFLAGS-nldbl-totalorder.c): New variable.
9673         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9674         file.
9675         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9676         Add test-totalorderl-ldbl-128ibm.
9677         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9678         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9679         test-totalorderl-ldbl-96.
9680         * sysdeps/nacl/libm.abilist: Update.
9681         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9682         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9684         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9685         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9686         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9694         Likewise.
9695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9696         Likewise.
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9698         Likewise.
9699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9700         Likewise.
9701         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9702         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9703         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9704         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9705         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9707         Likewise.
9708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9709         Likewise.
9710         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9711         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9714 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9716         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9717         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9718         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9719         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9720         remove ENOSYS implementation.
9721         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9722         Consolidate all Linux implementations.
9724 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9726         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9727         * resolv/herror.c (herror): Cast away const-ness.
9728         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9729         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9731 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9733         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9734         instead of M_NAN + M_NAN.
9735         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9737 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9739         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9740         unused variable 'p'.
9742 2016-10-09  Alan Modra  <amodra@gmail.com>
9743             Andreas Schwab  <schwab@linux-m68k.org>
9745         [BZ #20554]
9746         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9747         [PIC && !SHARED]: Set up PIC register for PLT call.
9749 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9751         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9752         conditional on value of [__FLT_EVAL_METHOD__].
9753         * math/test-iseqsig-excess-precision.c: New file.
9754         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9756 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9758         * math/s_iseqsig_template.c: Include math-private.h.
9760         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9761         * posix/tst-posix_fadvise.c: New file.
9762         * posix/tst-posix_fadvise64.c: Likewise.
9763         * posix/tst-posix_fadvise-common.c: Likewise.
9764         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9765         (__ASSUME_FADVISE64_64_6ARG): Define.
9766         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9767         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9768         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9769         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9770         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9771         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9772         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9773         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9774         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9775         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9776         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9777         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9780         Likewise.
9781         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9782         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9783         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9784         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9785         Alias to __posix_fadvise64_l32.
9786         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9787         Add compat definition to posix_fadvise64.
9788         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9789         Add versioned definition to posix_fadvise64.
9790         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9791         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9792         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9793         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9794         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9796         * io/Makefile (tests): Add tst-posix_fallocate and
9797         tst-posix_fallocate64.
9798         * io/tst-posix_fallocate-common.c: New file.
9799         * io/tst-posix_fallocate.c: Likewise.
9800         * io/tst-posix_fallocate64.c: Likewise.
9801         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9802         file.
9803         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9804         Likewise.
9805         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9806         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9807         Likewise.
9808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9809         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9810         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9811         SYSCALL_LL to pass both offset and len arguments.
9812         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9813         Likewise.
9814         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9815         __libc_pwrite64 alias used by posix_fallocate64.
9817         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9818         tst-fallocate64.
9819         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9820         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9821         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9822         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9823         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9824         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9825         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9826         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9827         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9828         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9829         macro on offset argument.
9830         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9831         SYSCALL_LL64 on offset argument.
9833         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9834         tst-fallocate64.
9835         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9836         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9837         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9838         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9839         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9840         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9841         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9842         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9843         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9844         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9845         macro on offset argument.
9846         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9847         SYSCALL_LL64 on offset argument.
9848         * test-skeleton.c (FAIL_RET): Add macro.
9849         (FAIL_EXIT): Likewise.
9850         (FAIL_EXIT1): Likewise.
9851         (_FAIL): Likewise.
9853 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9855         [BZ #20629]
9856         resolv: Remove RES_USEBSTRING and its implementation.
9857         * resolv/resolv.h (RES_USEBSTRING): Remove.
9858         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9859         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9860         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9861         (labellen): Remove extended label types support.
9862         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9863         * resolv/res_init.c (res_setoptions): Likewise.
9864         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9866 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9868         resolv: Remove RES_NOIP6DOTINT and its implementation.
9869         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9870         (RES_NOIP6DOTINT): Remove.
9871         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9872         handling.
9873         * resolv/res_debug.c (p_option): Likewise.
9874         * resolv/res_init.c (res_setoptions): Likewise.
9875         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9877 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9879         resolv: Deprecate unimplemented flags.
9880         * misc/sys/cdefs.h (__glibc_macro_warning1)
9881         (__glibc_macro_warning): Define.
9882         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9883         (RES_KEEPTSIG): Mark as deprecated.
9884         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9885         RES_NOCHECKNAME, RES_KEEPTSIG.
9886         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9888 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9890         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9891         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9892         Use strong_alias to create symbols for glibc verison 2.19.
9894 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9896         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9898 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9900         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9902 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9904         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9906 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9908         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9909         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9910         in header for using it as type for ifunc function because __GI_* symbols
9911         for ppc32 do not target the ifunc symbols.
9912         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9914 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9916         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9917         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9918         libc_ifunc_hidden_def.
9919         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9920         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9921         Redirect ifunced function in header for using it as type of ifunc'ed
9922         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9923         function for __GI_* symbol.
9924         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9925         * include/libc-symbols.h
9926         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9928 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9930         [BZ #20478]
9931         * sysdeps/s390/multiarch/ifunc-resolve.h
9932         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9933         to create ifunc symbols.
9934         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9935         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9936         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9937         for using it as type for ifunc function.
9938         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9939         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9940         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9941         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9942         * sysdeps/s390/multiarch/strcat.c: Likewise.
9943         * sysdeps/s390/multiarch/strchr.c: Likewise.
9944         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9945         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9946         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9947         * sysdeps/s390/multiarch/strlen.c: Likewise.
9948         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9949         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9950         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9951         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9952         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9953         * sysdeps/s390/multiarch/strspn.c: Likewise.
9954         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9955         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9956         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9957         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9958         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9959         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9960         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9961         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9962         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9963         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9964         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9965         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9967 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9969         * include/libc-symbols.h (__ifunc_resolver):
9970         New macro is used by __ifunc* macros.
9971         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9972         depending on HAVE_GCC_IFUNC.
9973         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9974         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9976         Redirect ifunced function in header for using as type for ifunc function.
9977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9981         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9985         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9986         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9987         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9988         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9990         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9996         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9997         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9998         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9999         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10000         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10001         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10002         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10003         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10004         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10005         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10006         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10007         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10008         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10009         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10011         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10012         instead of libc_ifunc() macro.
10013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10014         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10016 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10018         * config.h.in (HAVE_GCC_IFUNC): New undef.
10019         * configure.ac: Add check if gcc supports attribute ifunc feature.
10020         * configure: Regenerated.
10021         * manual/install.texi: Add recommendation for gcc with
10022         indirect-function support.
10023         * INSTALL: Regenerated.
10025 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10027         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10028         macro.
10029         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10030         (__iseqsig): New declaration.
10031         * math/s_iseqsig_template.c: New file.
10032         * math/Versions (__iseqsigf): New libm symbol at version
10033         GLIBC_2.25.
10034         (__iseqsig): Likewise.
10035         (__iseqsigl): Likewise.
10036         * math/libm-test.inc (iseqsig_test_data): New array.
10037         (iseqsig_test): New function.
10038         (main): Call iseqsig_test.
10039         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10040         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10041         * manual/libm-err-tab.pl: Update comment on interfaces without
10042         ulps tabulated.
10043         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10044         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10045         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10046         * sysdeps/nacl/libm.abilist: Update.
10047         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10048         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10049         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10050         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10051         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10052         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10053         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10056         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10057         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10058         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10060         Likewise.
10061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10062         Likewise.
10063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10068         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10069         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10073         Likewise.
10074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10075         Likewise.
10076         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10077         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10078         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10080 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10082         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10083         do_sincos_2, sloww, sloww1): Update comments.
10085         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10086         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10088         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10089         K boolean and rename it.
10090         (__sin): Adjust.
10091         (__cos): Adjust.
10093 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10094             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10096         * manual/nss.texi: Fix typos in the manual.
10098 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10100         * manual/contrib.texi: Fix typos in the manual.
10102         * manual/maint.texi: Fix typos in the manual.
10104         * manual/install.texi: Fix typos in the manual.
10105         * INSTALL: Regenerated.
10107         * manual/lang.texi: Fix typos in the manual.
10109         * manual/probes.texi: Fix typos in the manual.
10111         * manual/threads.texi: Fix typos in the manual.
10113         * manual/debug.texi: Fix typos in the manual.
10115         * manual/crypt.texi: Fix typos in the manual.
10117         * manual/conf.texi: Fix typos in the manual.
10119         * manual/sysinfo.texi: Fix typos in the manual.
10121         * manual/users.texi: Fix typos in the manual.
10123         * manual/job.texi: Fix typos in the manual.
10125         * manual/process.texi: Fix typos in the manual.
10127         * manual/argp.texi: Fix typos in the manual.
10128         * manual/getopt.texi: Likewise.
10129         * manual/startup.texi: Likewise.
10131         * manual/signal.texi: Fix typos in the manual.
10133         * manual/setjmp.texi: Fix typos in the manual.
10135         * manual/resource.texi: Fix typos in the manual.
10137         * manual/time.texi: Fix typos in the manual.
10139         * manual/arith.texi: Fix typos in the manual.
10141         * manual/math.texi: Fix typos in the manual.
10143         * manual/syslog.texi: Fix typos in the manual.
10145         * manual/terminal.texi: Fix typos in the manual.
10147         * manual/socket.texi: Fix typos in the manual.
10149         * manual/filesys.texi: Fix typos in the manual.
10151         * manual/llio.texi: Fix typos in the manual.
10153         * manual/stdio.text: Fix typos in the manual.
10155 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10157         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10158         instead of K1.
10160         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10161         SHIFT_QUADRANT and make it bool.
10162         (do_sincos_2): Likewise.
10163         (sloww): Likewise.
10164         (sloww1): Likewise.
10165         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10166         (__cos): Likewise.
10168 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10170         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10172 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10174         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10175         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10176         0x7fffffffL].
10177         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10179 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10181         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10182         inline by __inline__.
10183         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10184         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10185         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10186         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10187         sigset_t from signal.h.
10188         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10189         which is already required.
10191 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10193         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10195 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10197         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10198         (struct tcp_repair_window): New type.
10200 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10202         * libio/tst-memstream3.c: Include string.h.
10204 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10206         [BZ #18241]
10207         [BZ #20181]
10208         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10209         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10210         write position is at the end the buffer.
10211         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10212         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10213         (_IO_str_seekoff): Set correct offset from negative displacement and
10214         set EINVAL for invalid ones.
10215         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10216         buffer length.
10217         (_IO_wstr_switch_to_get_mode): New function.
10218         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10219         set EINVAL for invalid ones.
10220         * libio/tst-memstream3.c: New file.
10221         * libio/tst-wmemstream3.c: Likewise.
10222         * manual/examples/memstrm.c: Remove warning when priting size_t.
10224 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10226         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10227         macro to use __builtin_fma.
10228         * sysdeps/x86_64/fpu/dla.h: Remove file.
10230         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10231         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10232         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10234 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10236         [BZ #20292]
10237         * elf/Makefile (routines): Add dl-addr-obj.
10238         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10239         tst-_dl_addr_inside_object.
10240         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10241         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10242         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10243         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10244         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10245         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10246         * elf/dl-open.c: Likewise.
10247         * elf/dl-addr-obj.c: New file.
10248         * elf/tst-_dl_addr_inside_object.c: New file.
10250 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10252         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10253         <bits/iscanonical.h>.
10254         * bits/iscanonical.h: New file.
10255         * math/s_iscanonicall.c: Likewise.
10256         * math/Versions (__iscanonicall): New libm symbol at version
10257         GLIBC_2.25.
10258         * math/libm-test.inc (iscanonical_test_data): New array.
10259         (iscanonical_test): New function.
10260         (main): Call iscanonical_test.
10261         * math/Makefile (headers): Add bits/iscanonical.h.
10262         (type-ldouble-routines): Add s_iscanonicall.
10263         * manual/arith.texi (Floating Point Classes): Document
10264         iscanonical.
10265         * manual/libm-err-tab.pl: Update comment on interfaces without
10266         ulps tabulated.
10267         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10268         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10269         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10270         Likewise.
10271         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10272         test-iscanonical-ldbl-128ibm.
10273         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10274         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10275         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10276         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10277         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10278         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10279         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10281         Likewise.
10282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10283         Likewise.
10284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10285         Likewise.
10286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10287         Likewise.
10288         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10289         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10291 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10293         * string/bits/string3.h: Remove C++ style comments.
10295 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10297         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10298         instead of ternary condition.
10299         (do_sincos_2): Likewise.
10300         (__sin): Likewise.
10301         (__cos): Likewise.
10302         (slow): Likewise.
10303         (sloww): Likewise.
10304         (sloww1): Likewise.
10305         (bsloww): Likewise.
10306         (bsloww1): Likewise.
10308         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10309         instead of ternary condition.
10310         (do_sin_slow): Likewise.
10311         (do_sincos_1): Likewise.
10312         (do_sincos_2): Likewise.
10313         (__cos): Likewise.
10314         (sloww): Likewise.
10315         (sloww1): Likewise.
10316         (sloww2): Likewise.
10317         (bsloww): Likewise.
10318         (bsloww1): Likewise.
10319         (bsloww2): Likewise.
10321         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10322         check from here...
10323         (slow2): ... and here...
10324         (__sin): ... to here.
10326 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10328         * math/math.h
10329         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10330         Cast argument to its own type.
10331         * math/test-iszero-excess-precision.c: New file.
10332         * math/Makefile (tests): Add test-iszero-excess-precision.
10333         (CFLAGS-test-iszero-excess-precision.c): New variable.
10335 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10337         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10338         field, add err field.
10339         (__spawni_child): Report error through err member instead of pipe.
10340         (__spawnix): Likewise.
10342 2016-09-28  Zack Weinberg  <zackw@panix.com>
10344         * scripts/check-installed-headers.sh: Generalize treatment of
10345         sys/elf.h to all target architectures.
10347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10348         deleted typedef ucontext_t.
10350 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10352         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10353         (__INTERNAL_SYSCALL1): Likewise.
10354         (__INTERNAL_SYSCALL2): Likewise.
10355         (__INTERNAL_SYSCALL3): Likewise.
10356         (__INTERNAL_SYSCALL4): Likewise.
10357         (__INTERNAL_SYSCALL5): Likewise.
10358         (__INTERNAL_SYSCALL6): Likewise.
10359         (__INTERNAL_SYSCALL7): Likewise.
10360         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10361         (__INTERNAL_SYSCALL_NARGS): Likewise.
10362         (__INTERNAL_SYSCALL_DISP): Likewise.
10363         (INTERNAL_SYSCALL_CALL): Likewise.
10364         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10365         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10366         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10367         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10368         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10369         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10370         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10371         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10372         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10373         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10374         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10375         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10376         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10378 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10380         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10381         macro.
10382         * math/libm-test.inc (iszero_test_data): New array.
10383         (iszero_test): New function.
10384         (main): Call iszero_test.
10385         * manual/arith.texi (Floating Point Classes): Document iszero.
10386         * manual/libm-err-tab.pl: Update comment on interfaces without
10387         ulps tabulated.
10389 2016-09-23  Zack Weinberg  <zackw@panix.com>
10391         * scripts/check-installed-headers.sh: New script.
10392         * Rules: In each directory that defines header files to be installed,
10393         run check-installed-headers.sh on them as a special test.
10394         * Makefile: Likewise for the headers installed at top level.
10396         * include/aliases.h, include/alloca.h, include/argz.h
10397         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10398         * include/elf.h, include/envz.h, include/err.h
10399         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10400         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10401         * include/link.h, include/malloc.h, include/mcheck.h
10402         * include/mntent.h, include/netinet/ether.h
10403         * include/nss.h, include/obstack.h, include/printf.h
10404         * include/pty.h, include/resolv.h, include/rpc/auth.h
10405         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10406         * include/rpc/clnt.h, include/rpc/des_crypt.h
10407         * include/rpc/key_prot.h, include/rpc/netdb.h
10408         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10409         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10410         * include/rpc/rpc_msg.h, include/rpc/svc.h
10411         * include/rpc/svc_auth.h, include/rpc/xdr.h
10412         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10413         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10414         * include/rpcsvc/ypupd.h, include/shadow.h
10415         * include/stdio_ext.h, include/sys/epoll.h
10416         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10417         * include/sys/prctl.h, include/sys/profil.h
10418         * include/sys/statfs.h, include/sys/sysctl.h
10419         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10420         * sysdeps/arm/nacl/include/bits/setjmp.h
10421         * sysdeps/mips/include/sys/asm.h
10422         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10423         * sysdeps/unix/sysv/linux/include/sys/timex.h
10424         * sysdeps/x86/fpu/include/bits/fenv.h:
10425         Add #ifndef _ISOMAC guard around internal declarations.
10426         Add multiple-inclusion guard if not already present.
10428 2016-09-23  Zack Weinberg  <zackw@panix.com>
10430         * sysdeps/generic/sys/ucontext.h
10431         * sysdeps/arm/sys/ucontext.h
10432         * sysdeps/i386/sys/ucontext.h
10433         * sysdeps/m68k/sys/ucontext.h
10434         * sysdeps/mips/sys/ucontext.h
10435         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10436         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10437         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10438         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10439         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10440         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10441         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10442         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10443         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10444         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10445         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10446         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10447         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10448         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10449         Include both bits/sigcontext.h and bits/sigstack.h.
10450         Fix grammar error in comment, if present.
10452         * bits/sigstack.h
10453         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10454         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10455         * sysdeps/unix/sysv/linux/bits/sigstack.h
10456         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10457         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10458         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10459         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10460         * bits/sigcontext.h
10461         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10462         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10463         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10464         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10465         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10466         as well as signal.h, if this was not already allowed.  Request
10467         definition of size_t if necessary.  Minimize semantically-null
10468         differences across files.
10470 2016-09-23  Zack Weinberg  <zackw@panix.com>
10472         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10473         Remove all logic conditional on __need macros.  Move all the
10474         conditionally defined types to their own headers...
10475         * time/bits/types/clock_t.h: Define clock_t here.
10476         * time/bits/types/clockid_t.h: Define clockid_t here.
10477         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10478         * time/bits/types/struct_timespec.h: Define struct timespec here.
10479         * time/bits/types/struct_timeval.h: Define struct timeval here.
10480         * time/bits/types/struct_tm.h: Define struct tm here.
10481         * time/bits/types/time_t.h: Define time_t here.
10482         * time/bits/types/timer_t.h: Define timer_t here.
10483         * time/Makefile: Install the new headers.
10485         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10486         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10487         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10488         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10489         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10490         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10491         * sysdeps/unix/sysv/linux/bits/resource.h
10492         * sysdeps/unix/sysv/linux/bits/timex.h
10493         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10494         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10495         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10496         * sysdeps/unix/sysv/linux/sys/acct.h
10497         * sysdeps/unix/sysv/linux/sys/timerfd.h
10498         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10499         * time/sys/time.h, time/sys/timeb.h
10500         Use the new bits/types headers.
10502         * include/time.h: Remove __need logic.
10503         * include/bits/time.h
10504         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10505         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10506         * include/bits/types/struct_itimerspec.h
10507         * include/bits/types/struct_timespec.h
10508         * include/bits/types/struct_timeval.h
10509         * include/bits/types/struct_tm.h:
10510         New wrapper headers.
10512 2016-09-23  Zack Weinberg  <zackw@panix.com>
10514         * sysdeps/mach/hurd/net/if_ppp.h
10515         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10516         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10517         if __USE_MISC is defined, to ensure struct ifreq is declared.
10519         * inet/netinet/ether.h: Condition all function prototypes
10520         on __USE_MISC, to ensure struct ether_addr is declared.
10522         * socket/bits/types/struct_osockaddr.h: New header.
10523         * include/bits/types/struct_osockaddr.h: New wrapper.
10524         * socket/Makefile: Install the new header.
10525         * socket/sys/socket.h, inet/protocols/talkd.h:
10526         Refer to bits/types/struct_osockaddr.h for the definition of
10527         struct osockaddr.
10529 2016-09-23  Zack Weinberg  <zackw@panix.com>
10531         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10532         * inet/protocols/routed.h, inet/protocols/talkd.h
10533         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10534         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10535         * sysdeps/generic/netinet/if_ether.h
10536         * sysdeps/generic/netinet/in_systm.h
10537         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10538         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10539         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10540         * sysdeps/mach/hurd/net/if_arp.h
10541         * sysdeps/mach/hurd/net/if_ppp.h
10542         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10543         * sysdeps/unix/sysv/linux/bits/in.h
10544         * sysdeps/unix/sysv/linux/net/ethernet.h
10545         * sysdeps/unix/sysv/linux/net/if_arp.h
10546         * sysdeps/unix/sysv/linux/net/if_ppp.h
10547         * sysdeps/unix/sysv/linux/net/if_shaper.h
10548         * sysdeps/unix/sysv/linux/net/route.h
10549         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10550         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10551         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10552         * sysdeps/unix/sysv/linux/netipx/ipx.h
10553         * sysdeps/unix/sysv/linux/sys/acct.h
10554         * include/arpa/nameser.h, include/resolv.h:
10555         Change all uses of u_char to unsigned char,
10556         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10557         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10558         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10559         and u_int64_t and u_quad_t to uint64_t.
10561         * mach/sys/reboot.h: Remove two casts of integer literals
10562         to the types they already have.
10564         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10565         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10566         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10567         from referring to 'unsigned char' to 'uint8_t' for consistency with
10568         the macro definition below.
10570         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10571         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10572         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10573         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10574         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10575         * sysdeps/unix/sysv/linux/sys/acct.h
10576         * include/arpa/nameser.h, include/resolv.h:
10577         Fix indentation disrupted by mechanical edits.
10579         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10580         * sysdeps/generic/netinet/in_systm.h
10581         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10582         * sysdeps/gnu/netinet/udp.h
10583         * sysdeps/unix/sysv/linux/net/ethernet.h
10584         * sysdeps/unix/sysv/linux/net/if_arp.h
10585         * sysdeps/unix/sysv/linux/net/if_ppp.h
10586         * sysdeps/unix/sysv/linux/net/if_shaper.h
10587         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10588         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10589         * sysdeps/unix/sysv/linux/netipx/ipx.h
10590         * sysdeps/unix/sysv/linux/sys/acct.h
10591         Include stdint.h for uintNN_t definitions.
10592         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10594 2016-09-23  Zack Weinberg  <zackw@panix.com>
10596         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10597         * sysdeps/unix/sysv/linux/netrose/rose.h:
10598         Include sys/socket.h and netax25/ax25.h.
10600         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10601         * resolv/arpa/nameser_compat.h:
10602         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10604         * sysdeps/unix/sysv/linux/sys/quota.h:
10605         Use __caddr_t instead of caddr_t.
10606         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10607         Use __clockid_t instead of clockid_t.
10609         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10611         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10612         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10613         expanding it.
10615         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10616         Define __glibc_c99_flexarr_available to 1 when the compiler
10617         supports C99-compatible flexible array members, 0 otherwise.
10618         * sysdeps/unix/sysv/linux/bits/socket.h
10619         * sysdeps/mach/hurd/bits/socket.h
10620         * bits/socket.h: Use __glibc_c99_flexarr_available in
10621         definitions of struct cmsghdr and CMSG_DATA.
10623 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10625         * manual/nss.texi (NSS Modules Interface): Adjust function return
10626         type to enum nss_status.  Document errnop argument.  Clarify
10627         h_errnop semantics.  Fix cross-reference formatting.
10628         (NSS Module Function Internals): Mention that *errnop needs to be
10629         set on failure, but not to zero.
10631 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10633         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10634         (get_random_name): New functions.
10635         (check_wrapper_flags_mode): Use linkat to give the new file a name
10636         determined by get_random_name.
10637         (do_test): Add calls to test open64 and openat64.
10639 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10641         * test-skeleton.c: Remove #include <stdarg.h>.
10643 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10645         [BZ #19826]
10646         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10647         initialization of static TLS entries.
10648         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10649         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10651 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10653         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10654         _hurd_malloc_fork_prepare.
10655         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10656         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10657         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10658         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10659         (_hurd_fork_child_hook): Drop malloc_fork_child.
10660         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10661         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10662         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10663         after locking locks (notably hurd_dtable_lock). Call
10664         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10665         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10666         __malloc_fork_unlock_child.
10667         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10669 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10671         * soft-fp/extendhftf2.c: New.
10672         * soft-fp/fixhfti.c: Likewise.
10673         * soft-fp/fixunshfti.c: Likewise.
10674         * soft-fp/floattihf.c: Likewise.
10675         * soft-fp/floatuntihf.c: Likewise.
10676         * soft-fp/half.h: Likewise.
10677         * soft-fp/trunctfhf2.c: Likewise.
10679 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10681         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10682         macro.
10683         * math/libm-test.inc (issubnormal_test_data): New array.
10684         (issubnormal_test): New function.
10685         * manual/arith.texi (Floating Point Classes): Document
10686         issubnormal.
10687         * manual/libm-err-tab.pl: Update comment on interfaces without
10688         ulps tabulated.
10690         * sysdeps/generic/stdint.h: Define
10691         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10692         <bits/libc-header-start.h> instead of including <features.h>.
10693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10724         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10725         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10726         * manual/arith.texi (Integers): Document these macros for types
10727         specified by width properties.
10728         * manual/lang.texi (Width of Type): Document these macros for
10729         other standard typedefs.
10730         * stdlib/tst-width-stdint.c: New file.
10731         * stdlib/Makefile (tests): Add tst-width-stdint.
10733 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10735         [BZ #20016]
10736         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10737         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10738         Move ...
10739         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10740         ... here, as compatibility symbols in a new file.
10741         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10742         * resolv/res_init.c (__res_vinit): Adjust member names.
10743         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10744         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10745         (res_send_rhook): Remove.
10746         (struct __res_state): Rename qhook, rhook members.
10748 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10750         malloc: Use __libc_lock wrappers.
10751         * malloc/arena.c (list_lock, free_list_lock): Define using
10752         __libc_lock_define_initialized.
10753         (arena_lock): Adjust formatting.
10754         * malloc/malloc.c (struct malloc_state): Define mutex using
10755         __libc_lock_define.
10756         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10757         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10758         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10759         (mutex_unlock, mutex_trylock): Remove.
10760         (__pthread_initialize): Remove unused macro.
10761         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10762         (mutex_unlock, mutex_trylock): Remove.
10764 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10766         [BZ #20592]
10767         Remove RR type classification macros.
10768         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10769         (ns_t_udp_p, ns_t_xfr_p): Remove.
10771 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10773         Remove misleading version information.
10774         * resolv/arpa/nameser.h (__NAMESER): Remove.
10775         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10777 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10779         Remove the always-defined BIND_4_COMPAT macro.
10780         * resolv/arpa/nameser.h: Unconditionally include
10781         <arpa/nameser_compat.h>.
10782         (BIND_4_COMPAT): Remove.
10783         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10785 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10787         [BZ #20591]
10788         Remove obsolete DNSSEC support.
10789         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10790         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10791         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10792         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10793         (ns_cert_types): Add comment.
10794         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10795         separately.
10796         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10797         (dst_s_dns_key_id): Remove.
10798         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10799         variables.
10801 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10803         [BZ #20524]
10804         * manual/string.texi (String/Array Comparison): Clarify the
10805         strverscmp behavior.
10807 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10809         * test-skeleton.c (xasprintf): Add function.
10810         * io/tst-open-tmpfile.c: New test.
10811         * io/Makefile (tests): Add it.
10813 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10815         Avoid running $(CXX) during build to obtain header file paths.
10816         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10817         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10818         * Makerules (cstdlib, cmath): Remove variables.  Use
10819         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10820         * configure: Regenerate.
10822 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10824         * Makeconfig (all-object-suffixes): Include .op only if
10825         $(build-profile).
10827 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10829         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10830         conditionals.  Do not define PATH_MAX.
10832 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10834         * posix/Makefile (tests): Add tst-spawn3.
10835         * posix/tst-spawn3.c: New file.
10836         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10837         if it is already opened for open action.
10839         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10840         all signals when executing the clone vfork child.
10841         (SIGALL_SET): Remove macro.
10843         * nptl/Makefile (tests): Add tst-exec5.
10844         * nptl/tst-exec5.c: New file.
10845         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10846         asynchronous cancellation.
10848 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10850         * hurd/exc2signal.c: #include <hurd/signal.h>
10851         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10852         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10853         accordingly.
10854         * mach/mach_error.c (mach_error): Fix old-style function definition.
10855         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10857 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10859         * math/Makefile (libm-calls): Remove s_nanF.
10860         (gen-libm-calls): Add s_nanF.
10862         * math/s_nan.c: Refactor into ...
10863         * math/s_nan_template.c: New file.
10865         * math/s_nanf.c: Removed.
10866         * math/s_nanl.c: Removed.
10867         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10868         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10870         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10871         (LDOUBLE_nanl_libm_version): New macro.
10873         * sysdeps/generic/math-type-macros-double.h:
10874         (M_STRTO_NAN): New macro.
10875         * sysdeps/generic/math-type-macros-float.h: Likewise.
10876         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10878         * sysdeps/generic/math-type-macros.h: Document
10879         M_STRTO_NAN.
10881 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10883         * math/s_nanf.c: Remove __nanf undef.
10884         * math/s_nan.c: Remove __nan undef.
10885         * math/s_nanl.c: Remove __nanl undef.
10887         * sysdeps/generic/math_private.h (__nan): Remove macro
10888         override.
10889         (__nanf): Likewise.
10890         (__nanl): Likewise.
10892 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10894         * math/Makefile (gen-all-calls): New variable.
10895         (generated): Replace gen-libm-calls with gen-all-calls.
10896         (gen-libm-templates.stmp): Likewise.  Also, ensure
10897         the output directory exists or is created and add
10898         dependency on the Makefile.
10899         (calls): Move s_ldexpF into gen-calls.
10900         (gen-calls): New variable.
10902         * math/s_ldexpf.c: Removed.
10903         * math/s_ldexpl.c: Removed.
10904         * math/s_ldexp.c: Refactored into ...
10905         * math/s_ldexp_template.c: New file.
10907         * sysdeps/generic/math-type-macros-double.h: Remove
10908         redundant fall-through definition of declare_mgen_alias.
10909         (declare_mgen_alias_2): New macro.
10911         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10912         New macro for function aliased to two exported symbols.
10914         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10915         new template file.
10916         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10918 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10920         * Makeconfig (all-object-suffixes): Remove .og.
10921         * Makerules (elide-routines.og): Remove.
10922         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10923         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10924         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10926 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10928         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10929         .os objects.
10931 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10933         [BZ #20615]
10934         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10935         fpu directory by non-fpu.
10936         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10937         on non-fpu directory from a fpu directory.
10939 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10941         * include/limits.h: Define
10942         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10943         <bits/libc-header-start.h> instead of including <features.h>.
10944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10949         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10951         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10952         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10955         * manual/lang.texi (Width of Type): Document these macros.
10956         * stdlib/tst-width.c: New file.
10957         * stdlib/Makefile (tests): Add tst-width.
10959 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10961         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10962         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10964 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10966         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10967         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10968         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10970 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10972         [BZ #18243]
10973         * rt/Makefile (test): Add tst-shm-cancel.
10974         * rt/tst-shm-cancel.c: New file.
10975         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10977         [BZ #18243]
10978         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10979         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10980         definition.
10981         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10982         uncontended case.
10983         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10984         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10985         (tf): Fix check for uncontended case.
10986         (do_test): Likewise.
10987         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10988         (tf): Fix check for uncontended case.
10989         (do_test): Likewise.
10990         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10991         (tf): Fix check for uncontended case.
10992         (do_test): Likewise.
10993         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10994         (tf): Fix check for uncontended case.
10995         (do_test): Likewise.
10997         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10998         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11000         [BZ #15765]
11001         * nptl/Makefile (tests): Add tst-sem16.
11002         * nptl/tst-sem16.c: New file.
11003         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11005         * nptl/sem_open.c (sem_open): Init pad value to 0.
11006         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11007         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11009 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11011         [BZ #20611]
11012         * inet/Makefile (routines): Add inet6_scopeid_pton.
11013         (tests): Add tst-inet6_scopeid_pton.
11014         * inet/inet6_scopeid_pton.c: New file.
11015         * inet/net-internal.h: Likewise.
11016         * inet/tst-inet6_scopeid_pton.c: New test.
11017         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11018         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11021 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11023         Remove support for compiling wrappers with PTW.
11024         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11025         * nptl/Makefile (pthread-compat-wrappers): Define.
11026         (libpthread-routines): Use pthread-compat-wrappers.
11027         * sysdeps/unix/sysv/linux/alpha/Makefile
11028         (libpthread-routines, libpthread-shared-only-routines): Remove
11029         ptw- prefix.
11030         * sysdeps/s390/nptl/Makefile
11031         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11032         * sysdeps/ia64/nptl/Makefile
11033         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11034         * sysdeps/nacl/Makefile (libpthread-routines): Use
11035         pthread-compat-wrappers to filter the routines list instead of the
11036         ptw- prefix.
11038 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11040         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11041         with L() and remove explicit suffix, convert real literals
11042         which can be equivalentally substituted with integers, and
11043         transform -L(x) to L(-x).
11045         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11048         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11049         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11050         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11051         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11052         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11055         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11061         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11063         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11067         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11069         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11070         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11071         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11072         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11073         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11074         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11075         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11076         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11077         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11078         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11079         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11080         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11081         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11082         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11083         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11084         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11085         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11086         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11087         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11088         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11089         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11090         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11091         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11092         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11093         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11094         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11096 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11098         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11100 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11102         * malloc/Makefile (tests): Remove individual static test names
11103         and just add all of tests-static.
11105         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11107 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11109         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11110         file.
11112         * sysdeps/sparc/fpu/fegetmode.c: New file.
11113         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11115         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11116         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11118         * sysdeps/s390/fpu/fegetmode.c: New file.
11119         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11121         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11122         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11123         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11124         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11125         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11126         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11128         * sysdeps/mips/fpu/fegetmode.c: New file.
11129         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11131         * sysdeps/m68k/fpu/fegetmode.c: New file.
11132         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11134         * sysdeps/ia64/fpu/fegetmode.c: New file.
11135         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11137         * sysdeps/hppa/fpu/fegetmode.c: New file.
11138         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11140         * sysdeps/arm/fegetmode.c: New file.
11141         * sysdeps/arm/fesetmode.c: Likewise.
11143         * sysdeps/alpha/fpu/fegetmode.c: New file.
11144         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11146         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11147         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11149         * math/fegetmode.c: New file.
11150         * math/fesetmode.c: Likewise.
11151         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11152         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11153         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11154         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11155         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11157         declaration.
11158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11159         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11160         typedef.
11161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11162         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11163         (femode_t): New typedef.
11164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11165         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11166         (femode_t): New typedef.
11167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11168         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11169         (femode_t): New typedef.
11170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11171         * sysdeps/hppa/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/ia64/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/m68k/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/microblaze/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/mips/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         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11187         (femode_t): New typedef.
11188         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11189         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11190         (femode_t): New typedef.
11191         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11192         declaration.
11193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11194         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11195         (femode_t): New typedef.
11196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11197         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11198         (femode_t): New typedef.
11199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11200         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11201         (femode_t): New typedef.
11202         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11203         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11204         (femode_t): New typedef.
11205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11206         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11207         (femode_t): New typedef.
11208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11209         * manual/arith.texi (FE_DFL_MODE): Document macro.
11210         (fegetmode): Document function.
11211         (fesetmode): Likewise.
11212         * math/Versions (fegetmode): New libm symbol at version
11213         GLIBC_2.25.
11214         (fesetmode): Likewise.
11215         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11216         (tests): Add test-femode and test-femode-traps.
11217         * math/test-femode-traps.c: New file.
11218         * math/test-femode.c: Likewise.
11219         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11220         alias for __fe_dfl_env.
11221         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11222         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11223         (__fe_dfl_mode): Likewise.
11224         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11225         version GLIBC_2.25.
11226         * sysdeps/nacl/libm.abilist: Update.
11227         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11228         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11229         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11230         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11231         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11232         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11233         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11236         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11237         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11238         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11240         Likewise.
11241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11242         Likewise.
11243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11244         Likewise.
11245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11246         Likewise.
11247         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11248         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11249         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11250         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11251         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11253         Likewise.
11254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11255         Likewise.
11256         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11257         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11258         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11260 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11262         [BZ #20495]
11263         [BZ #20508]
11264         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11265         processors, set Use_dl_runtime_resolve_slow and set
11266         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11267         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11268         New.
11269         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11270         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11271         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11272         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11273         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11274         if Use_dl_runtime_resolve_opt is set.  Use
11275         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11276         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11277         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11278         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11279         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11280         New.
11281         (_dl_runtime_resolve_opt): Likewise.
11282         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11283         defined.
11285 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11287         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11288         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11290 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11292         Convert malloc to __libc_lock.  Automated part, using this Perl
11293         s/// command:
11294           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11295             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11296         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11297         conversion.
11299 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11301         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11302         (linknamespace-symlists-tests): Likewise.
11303         (linknamespace-header-tests): Likewise.
11305 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11307         [BZ #19810]
11308         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11309         * elf/tst-noload.c: New test case.
11310         * elf/Makefile (tests): Add tst-noload.
11312 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11314         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11316         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11317         not any more.
11319         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11321 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11323         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11324         (do_cos_slow): Likewise.
11325         (do_sin): Likewise.
11326         (do_sin_slow): Likewise.
11327         (slow): Likewise.
11328         (slow1): Likewise.
11329         (slow2): Likewise.
11330         (sloww): Likewise.
11331         (sloww1): Likewise.
11332         (sloww2): Likewise.
11333         (bsloww): Likewise.
11334         (bsloww1): Likewise.
11335         (bsloww2): Likewise.
11336         (cslow2): Likewise.
11338         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11340         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11341         arguments.  Consolidate input partitioning from callers here.
11342         (do_cos_slow): Likewise.
11343         (do_sin): Likewise.
11344         (do_sin_slow): Likewise.
11345         (do_sincos_1): Remove the no longer necessary input partitioning.
11346         (do_sincos_2): Likewise.
11347         (__sin): Likewise.
11348         (__cos): Likewise.
11349         (slow1): Likewise.
11350         (slow2): Likewise.
11351         (sloww1): Likewise.
11352         (sloww2): Likewise.
11353         (bsloww1): Likewise.
11354         (bsloww2): Likewise.
11355         (cslow2): Likewise.
11357 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11359         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11360         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11361         outside of allocated array.
11363 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11365         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11366         instead of MB_CUR_MAX to avoid variable-length array.
11368 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11370         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11371         (type-double-routines): Add k_rem_pio2.
11372         (type-float-routines): Add k_rem_pio2f.
11374         * sysdeps/generic/math_private.h:
11375         (__kernel_rem_pio2l): Removed.
11377         * math/k_rem_pio2l.c: Removed.
11378         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11379         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11380         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11381         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11383 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11385         * math/Makefile (gen-libm-calls): Add s_fmin
11386         (libm-calls): Remove above.
11388         * math/s_fmin.c: Refactor into ...
11389         * math/s_fmin_template.c: New file.
11391         * math/s_fminf.c: Removed.
11392         * math/s_fminl.c: Removed.
11393         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11394         (LDOUBLE_fmin_libm_version): New macro.
11396         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11397         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11399 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11401         * math/Makefile: (gen-libm-calls): Add s_fmax.
11402         (libm-calls): Remove above.
11404         * math/s_fmax.c: Refactor into ...
11405         * math/s_fmax_template.c: New file.
11406         * math/s_fmaxf.c: Removed.
11407         * math/s_fmaxl.c: Removed.
11409         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11410         (LDOUBLE_fmaxl_libm_version): New macro.
11412         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11413         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11415         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11416         s_fmin.c to pick the aarch64 version of the file.
11417         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11418         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11420 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11422         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11423         (libm-calls): Remove above.
11425         * math/s_nextdown.c: Refactor into ...
11426         * math/s_nextdown_template.c: New file.
11427         * math/s_nextdownf.c: Removed.
11428         * math/s_nextdownl.c: Removed.
11430         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11432 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11434         * math/Makefile (gen-libm-calls): Add s_fdim.
11435         (libm-calls): Move to above.
11437         * math/s_fdim.c: Renamed and refactored into to ...
11438         * math/s_fdim_template.c: New file.
11439         * math/s_fdiml.c: Removed.
11440         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11441         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11443         * sysdeps/generic/math-type-macros-double.h:
11444         (declare_mgen_alias): Don't declare if already declared.
11445         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11446         Likewise.
11448         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11449         (declare_mgen_alias): Don't declare if already declared.
11450         (M_LIBM_NEED_COMPAT): Likewise.
11451         (declare_mgen_libm_compat): Likewise.
11452         (LDOUBLE_fdiml_libm_version): New macro.
11454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11455         Include math/s_fdim.c now that ldbl-opt version is not needed.
11456         (declare_mgen_alias): New macro to disable aliasing.
11458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11459         (declare_mgen_alias): Likewise.
11460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11461         (declare_mgen_alias): Likewise.
11462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11463         (declare_mgen_alias): Likewise.
11464         (M_LIBM_NEED_COMPAT): Likewise.
11466 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11468         [BZ #20525]
11469         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11470         Include <linux/quota.h>.
11471         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11472         and btodb.
11473         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11474         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11475         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11476         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11477         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11478         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11479         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11480         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11481         types.
11482         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11483         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11485 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11487         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11488         (gammal_positive): Fix spacing.
11489         (__ieee754_gammal_r): Likewise.
11491 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11493         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11494         (_Float128): Define as long double, always.
11495         (L): Apply long double type suffix, always.
11497         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11498         _Float128, excepting comments.
11500         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11501         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11503         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11504         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11505         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11506         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11508         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11509         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11551         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11553         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11555         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11556         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11557         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11559         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11560         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11561         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11565         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11566         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11570         _Float128, and include math_private.h.
11571         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11574         long double semantics.
11575         (_Float128): Likewise.
11576         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11577         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11578         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11579         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11581 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11583         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11584         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11585         * sysdeps/s390/configure: Regenerated.
11586         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11587         instruction for raising over-/underflow if z196 zarch is supported
11588         by default.
11589         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11591 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11593         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11594         it point to a dumb buffer for RPC to fill it.
11596 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11598         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11599         instead of if/else.
11600         (do_sin_slow): Likewise.
11601         (do_sincos_1): Use fabs instead of if/else.
11602         (do_sincos_2): Likewise.
11603         (__sin): Likewise.
11604         (__cos): Likewise.
11605         (slow2): Likewise.
11606         (sloww): Likewise.
11607         (sloww1): Likewise.  Drop argument M.
11608         (sloww2): Use fabs instead of if/else.
11609         (bsloww): Likewise.
11610         (bsloww1): Likewise.
11611         (bsloww2): Likewise.
11613         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11614         fall through comment.
11615         (do_sincos_1): Likewise.
11617         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11618         Consolidate switch cases 0 and 2.
11620 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11622         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11623         (libm-calls): Remove the above.
11625         * math/s_cexp_template.c: Update using type-generic macros.
11626         * math/s_clog10_template.c: Likewise.
11627         * math/s_cpow_template.c: Likewise.
11628         * math/s_clog_template.c: Likewise.
11629         * math/s_cproj_template.c: Likewise.
11630         * math/s_csqrt_template.c: Likewise.
11632         * math/s_cexp.c: Removed.
11633         * math/s_cexpf.c: Removed.
11634         * math/s_cexpl.c: Removed.
11635         * math/s_clog10.c: Removed.
11636         * math/s_clog10f.c: Removed.
11637         * math/s_clog10l.c: Removed.
11638         * math/s_cpow.c: Removed.
11639         * math/s_cpowf.c: Removed.
11640         * math/s_cpowl.c: Removed.
11641         * math/s_clog.c: Removed.
11642         * math/s_clogf.c: Removed.
11643         * math/s_clogl.c: Removed.
11644         * math/s_cproj.c: Removed.
11645         * math/s_cprojf.c: Removed.
11646         * math/s_cprojl.c: Removed.
11647         * math/s_csqrt.c: Removed.
11648         * math/s_csqrtf.c: Removed.
11649         * math/s_csqrtl.c: Removed.
11651         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11652         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11653         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11654         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11655         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11656         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11658         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11659         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11660         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11661         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11662         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11663         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11664         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11665         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11666         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11667         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11668         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11670         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11671         version.
11673         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11674         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11675         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11676         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11678 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11680         * s_cexp_template.c: Copy of s_cexp.c.
11681         * s_clog_template.c: Copy of s_clog.c.
11682         * s_clog10_template.c: Copy of s_clog10.c.
11683         * s_cpow_template.c: Copy of s_cpow.c.
11684         * s_cproj_template.c: Copy of s_cproj.c.
11685         * s_csqrt_template.c: Copy of s_csqrt.c.
11687 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11689         [BZ #20517]
11690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11691         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11692         exported.
11694 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11696         * math/fetestexceptflag.c: New file.
11697         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11698         Stefan Liebler.
11699         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11700         (fetestexceptflag): New function declaration.
11701         * manual/arith.texi (fetestexceptflag): Document function.
11702         * math/Versions (fetestexceptflag): New libm symbol at version
11703         GLIBC_2.25.
11704         * math/Makefile (libm-support): Add fetestexceptflag.
11705         (tests): Add test-fetestexceptflag.
11706         * math/test-fetestexceptflag.c: New file.
11707         * sysdeps/nacl/libm.abilist: Update.
11708         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11709         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11710         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11711         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11712         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11713         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11714         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11717         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11718         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11719         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11721         Likewise.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11723         Likewise.
11724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11725         Likewise.
11726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11727         Likewise.
11728         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11729         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11730         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11731         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11732         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11734         Likewise.
11735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11736         Likewise.
11737         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11738         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11741 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11743         [BZ #20432]
11744         Avoid strong references to malloc-internal symbols when linking
11745         statically, to support statically interposed mallocs.
11746         * include/libc-symbols.h (call_function_static_weak): New macro.
11747         * malloc/Makefile (tests): Add tst-interpose-nothread,
11748         tst-interpose-thread, tst-interpose-static-nothread,
11749         tst-interpose-static-thread.
11750         (tests-static): Add tst-interpose-static-nothread,
11751         tst-interpose-static-thread.
11752         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11753         tst-interpose-aux-thread.o.
11754         (test-extras): Add tst-interpose-aux-nothread,
11755         tst-interpose-aux-thread.
11756         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11757         tst-interpose-aux-nothread.o.
11758         (tst-interpose-thread, tst-interpose-static-thread): Link with
11759         tst-interpose-aux-thread.o and libthread.
11760         * malloc/tst-interpose-aux-nothread.c: New file.
11761         * malloc/tst-interpose-aux-thread.c: Likewise.
11762         * malloc/tst-interpose-aux.c: Likewise.
11763         * malloc/tst-interpose-aux.h: Likewise.
11764         * malloc/tst-interpose-nothread.c: Likewise.
11765         * malloc/tst-interpose-skeleton.c: Likewise.
11766         * malloc/tst-interpose-static-nothread.c: Likewise.
11767         * malloc/tst-interpose-static-thread.c: Likewise.
11768         * malloc/tst-interpose-thread.c: Likewise.
11769         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11770         * sysdeps/mach/hurd/fork.c (__fork): Only call
11771         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11772         __malloc_fork_unlock_child if defined.
11773         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11775 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11777         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11778         timespec C99 designated initialization.
11780 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11782         [BZ #19946]
11783         Avoid expected SIGALRM signals.
11784         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11785         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11786         (xpthread_create, xpthread_detach, xpthread_join)
11787         (delayed_exit_thread, delayed_exit): New functions.
11788         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11789         (tf): Use xpthread_cond_wait.
11790         (do_test): Likewise.  Replace alarm with delayed_exit.
11791         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11792         (do_test): Call delayed_exit.  Report failure.
11793         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11794         (do_test): Call delayed_exit.
11795         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11796         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11797         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11798         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11799         error.
11800         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11801         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11802         error.
11803         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11804         (do_test): Call delayed_exit.
11805         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11806         (do_test): Call delayed_exit.
11807         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11808         (do_test): Call delayed_exit instead of alarm.  Use
11809         xpthread_mutex_lock.
11810         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11811         (do_test): Call delayed_exit instead of alarm.  Use
11812         xpthread_mutex_lock.
11813         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11814         (do_test): Call delayed_exit instead of alarm.
11815         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11816         (do_test): Call delayed_exit instead of alarm.  Use
11817         xpthread_spin_lock.
11818         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11819         (do_test): Call delayed_exit instead of alarm.  Use
11820         xpthread_join.
11822 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11824         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11825         adjust CFA when allocating register save area on re-aligned
11826         stack.
11828 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11830         * string/tst-cmp.c: New test.
11831         * string/Makefile (tests): Add it.
11833 2016-08-25  Mark Wielaard  <mark@klomp.org>
11835         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11836         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11837         (check_tree_recurse): Use newly defined accessors.
11838         (check_tree): Likewise.
11839         (maybe_split_for_insert): Likewise.
11840         (__tfind): Likewise.
11841         (__tdelete): Likewise.
11842         (trecurse): Likewise.
11843         (tdestroy_recurse): Likewise.
11844         (__tsearch): Likewise. And add asserts for malloc alignment.
11845         (__twalk): Cast root to node in case CHECK_TREE is defined.
11847 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11849         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11851 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11853         * math/Makefile (libm-gen-calls): Add
11854         catan, catanh, ctan, ctanh.
11855         (libm-calls): Remove the above.
11857         * math/s_catan_template.c: Update using type-generic macros.
11858         * math/s_catanh_template.c: Likewise.
11859         * math/s_ctan_template.c: Likewise.
11860         * math/s_ctanh_template.c: Likewise.
11862         * math/s_catanf.c: Removed.
11863         * math/s_catan.c: Removed.
11864         * math/s_catanl.c: Removed.
11865         * math/s_catanhf.c: Removed.
11866         * math/s_catanh.c: Removed.
11867         * math/s_catanhl.c: Removed.
11868         * math/s_ctanf.c: Removed.
11869         * math/s_ctan.c: Removed.
11870         * math/s_ctanl.c: Removed.
11871         * math/s_ctanhf.c: Removed.
11872         * math/s_ctanh.c: Removed.
11873         * math/s_ctanhl.c: Removed.
11875         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11876         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11877         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11878         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11879         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11880         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11882         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11883         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11884         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11885         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11887 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11889         * s_catan_template.c: Copy of s_catan.c.
11890         * s_catanh_template.c: Copy of s_catanh.c.
11891         * s_ctan_template.c: Copy of s_ctan.c.
11892         * s_ctanh_template.c: Copy of s_ctanh.c.
11894 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11896         * math/Makefile (gen-libm-calls): Move
11897         casin, casinh, csin, csinh here.
11898         (libm-calls): Remove the above.
11900         * math/s_casin_template.c: Update using type-generic macros.
11901         * math/s_casinh_template.c: Likewise.
11902         * math/s_csin_template.c: Likewise.
11903         * math/s_csinh_template.c: Likewise.
11904         * math/k_casinh_template.c: Likewise.
11906         * math/s_casinf.c: Removed.
11907         * math/s_casin.c: Removed.
11908         * math/s_casinl.c: Removed.
11909         * math/s_casinh.c: Removed.
11910         * math/s_casinhf.c: Removed.
11911         * math/s_casinhl.c: Removed.
11912         * math/s_csin.c: Removed.
11913         * math/s_csinf.c: Removed.
11914         * math/s_csinl.c: Removed.
11915         * math/s_csinh.c: Removed.
11916         * math/s_csinhf.c: Removed.
11917         * math/s_csinhl.c: Removed.
11918         * math/k_casinh.c: Removed.
11919         * math/k_casinhf.c: Removed.
11920         * math/k_casinhl.c: Removed.
11922         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11923         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11924         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11925         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11927         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11928         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11929         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11930         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11931         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11932         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11933         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11934         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11936         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11937         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11938         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11939         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11941         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11942         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11943         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11944         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11946 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11948         * s_casin_template.c: Copy of s_casin.c.
11949         * s_casinh_template.c: Copy of s_casinh.c.
11950         * s_csin_template.c: Copy of s_csin.c.
11951         * s_csinh_template.c: Copy of s_csinh.c.
11952         * k_casinh_template.c: Copy of k_casinh.c.
11954 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11956         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11958 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11960         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11961         (mul_split) Remove, rename as mul_splitl, remove
11962         redundant float.h include, and include via mul_splitl.h
11964         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11965         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11966         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11967         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11968         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11970         * math/mul_splitl.h: New file.
11972         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11973         Move into mul_split.h, and remove redundant float.h include.
11975         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11976         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11977         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11978         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11980         * math/mul_split.h: New file.
11982 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11984         * math/Makefile (libm-gen-calls): Move
11985         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11986         (libm-calls): Remove above.
11988         * math/s_cacos_template.c: Update using type-generic macros.
11989         * math/s_cacosh_template.c: Likewise.
11990         * math/s_ccos_template.c: Likewise.
11991         * math/s_ccosh_template.c: Likewise.
11993         * math/s_cacosf.c: Removed.
11994         * math/s_cacos.c: Removed.
11995         * math/s_cacosl.c: Removed.
11996         * math/s_cacoshf.c: Removed.
11997         * math/s_cacosh.c: Removed.
11998         * math/s_cacoshl.c: Removed.
11999         * math/s_ccosf.c: Removed.
12000         * math/s_ccos.c: Removed.
12001         * math/s_ccosl.c: Removed.
12002         * math/s_ccoshf.c: Removed.
12003         * math/s_ccosh.c: Removed.
12004         * math/s_ccoshl.c: Removed.
12006         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12007         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12008         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12009         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12010         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12011         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12013         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12014         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12015         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12016         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12018         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12019         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12020         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12021         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12023 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12025         * s_cacos_template.c: Copy of s_cacos.c.
12026         * s_cacosh_template.c: Copy of s_cacosh.c.
12027         * s_ccos_template.c: Copy of s_ccos.c.
12028         * s_ccosh_template.c: Copy of s_ccosh.c.
12030 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12032         * stdlib/tst-strtod-round-skeleton.c:
12033         Refactored from tst-strtod-round.c.
12035         (L_): New macro to apply literal modifier.
12036         (FNPFX): New macro to select str or wcs prefix.
12037         (CHAR): New macro to choose wchar_t or char.
12038         (STRM): New macro to choose printf for tested character type.
12040         (STRTO): New macro to choose appropriate string -> real function.
12041         (FNPFXS): Stringitized version of FNPFX.
12042         (STR): Support for above macro.
12043         (STRX): Likewise.
12045         (TEST): Update with above macros.
12046         (test): Likewise.
12047         (GEN_ONE_TEST): Likewise.
12048         (test_in_one_mode): Likewise.
12050         * stdlib/tst-strtod-round.c: New file.
12051         * wcsmbs/tst-wcstod-round.c: New file.
12053         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12054         (tst-wcstod-round): Add libm depencency for fesetround.
12056 2016-08-19  Zack Weinberg  <zackw@panix.com>
12058         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12060 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12062         [BZ #20477]
12063         * resolv/res_hconf.c (do_init): Use atomic access.
12064         * resolv/res_hconf.h: Add comments.
12065         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12066         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12067         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12069 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12071         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12072         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12073         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12074         Likewise.
12076 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12078         [BZ #16907]
12079         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12080         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12081         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12082         (__attribute__): Remove definition.
12084 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12086         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12087         Remove unused sqrtl declaration.
12089 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12091         * math/Makefile: (gen-libm-templates.stmp): New rule.
12092         (libm-calls): Move carg conj cimag and cabs into ...
12093         (gen-libm-calls): New variable.
12094         (generated): Inform Make objects from gen-libm-calls
12095         may be generated.
12097         * sysdeps/generic/math-type-macros.h: New file.
12098         * sysdeps/generic/math-type-macros-float.h: Likewise.
12099         * sysdeps/generic/math-type-macros-double.h: Likewise.
12100         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12101         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12102         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12104         * math/cabs.c: Refactor into
12105         * math/cabs_template.c: new file.
12106         * math/cabsf.c: Removed.
12107         * math/cabsl.c: Removed.
12108         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12109         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12111         * math/carg.c: Refactor into
12112         * math/carg_template.c: new file.
12113         * math/cargf.c: Removed.
12114         * math/cargl.c: Removed.
12115         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12116         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12118         * math/conj.c: Refactor into
12119         * math/conj_template.c: new file.
12120         * math/conjf.c: Removed.
12121         * math/conjl.c: Removed.
12122         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12123         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12125         * math/cimag.c: Refactor into
12126         * math/cimag_template.c: new file.
12127         * math/cimagf.c: Removed.
12128         * math/cimagl.c: Removed.
12129         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12130         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12132         * math/cimag.c: Refactor into
12133         * math/cimag_template.c: new file.
12134         * math/cimagf.c: Removed.
12135         * math/cimagl.c: Removed.
12136         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12137         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12139 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12141         Reduce time to expected nptl/tst-once5 failure.
12142         * nptl/tst-once5.cc (TIMEOUT): Define.
12144 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12146         [BZ #20452]
12147         Avoid additional copies of objects in libc.a in static libraries.
12148         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12149         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12150         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12151         rt-sysdep.
12152         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12153         Add nptl-sysdep.
12154         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12155         Add ptw-sysdep.
12156         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12157         rt-sysdep.
12158         * sysdeps/unix/sysv/linux/alpha/Makefile
12159         (libpthread-shared-only-routines): Add ptw-sysdep,
12160         ptw-sigprocmask, ptw-rt_sigaction.
12161         * sysdeps/unix/sysv/linux/ia64/Makefile
12162         (librt-shared-only-routines): Add rt-sysdep.
12163         * sysdeps/unix/sysv/linux/i386/Makefile
12164         (libpthread-shared-only-routines): Add libc-do-syscall.
12165         * sysdeps/unix/sysv/linux/microblaze/Makefile
12166         (libpthread-shared-only-routines): Add sysdep.
12167         * sysdeps/unix/sysv/linux/powerpc/Makefile
12168         (librt-shared-only-routines): Add rt-sysdep.
12169         (libpthread-shared-only-routines): Add sysdep.
12170         * sysdeps/unix/sysv/linux/s390/Makefile
12171         (librt-shared-only-routines): Add rt-sysdep.
12172         * sysdeps/unix/sysv/linux/sparc/Makefile
12173         (librt-shared-only-routines): Add rt-sysdep.
12174         (libpthread-shared-only-routines): Add sysdep.
12175         * sysdeps/unix/sysv/linux/tile/Makefile
12176         (libpthread-shared-only-routines): Likewise.
12178 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12180         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12181         Mask implicit bit out of unpacked value.
12182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12184         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12186         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12188         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12190         * sysdeps/s390/fpu/fesetexcept.c: New file.
12192         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12193         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12194         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12196         * sysdeps/mips/fpu/fesetexcept.c: New file.
12198         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12200         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12202         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12204         * sysdeps/arm/fesetexcept.c: New file.
12206         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12208         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12210         * math/fesetexcept.c: New file.
12211         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12212         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12213         * math/fenv.h: Define
12214         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12215         <bits/libc-header-start.h> instead of including <features.h>.
12216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12217         declaration.
12218         * manual/arith.texi (fesetexcept): Document function.
12219         * math/Versions (fesetexcept): New libm symbol at version
12220         GLIBC_2.25.
12221         * math/Makefile (libm-support): Add fesetexcept.
12222         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12223         * math/test-fesetexcept.c: New file.
12224         * math/test-fesetexcept-traps.c: Likewise.
12225         * sysdeps/nacl/libm.abilist: Update.
12226         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12227         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12228         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12229         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12230         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12231         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12232         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12235         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12236         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12237         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12239         Likewise.
12240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12241         Likewise.
12242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12243         Likewise.
12244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12247         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12248         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12249         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12250         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12252         Likewise.
12253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12254         Likewise.
12255         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12256         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12257         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12259 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12261         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12262         New.
12263         (do_test): Apply default_stack_size_in_mb if not set.
12264         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12266 2016-08-15  Andreas Schwab  <schwab@suse.de>
12268         [BZ #20435]
12269         CVE-2016-6323
12270         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12271         as .cantunwind.
12273 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12275         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12276         comment from fraiseexcpt.c.
12278         * math/test-fexcept.c (feraiseexcept_exact): New function.
12279         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12280         (test_except): Likewise.
12282 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12284         [BZ #20455]
12285         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12286         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12287         to be restored.
12289         * math/test-fexcept-traps.c: New file.
12290         * math/test-fexcept.c: Likewise.
12291         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12292         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12293         macro.
12294         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12295         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12297 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12299         * include/atomic.h (atomic_fetch_and_relaxed,
12300         atomic_fetch_and_release, atomic_fetch_or_release,
12301         atomic_fetch_xor_release): New.
12303 2016-08-06  Christian Seiler  <christian@iwakd.de>
12305         [BZ #20444]
12306         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12307         MACH_PORT_NULL.
12309 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12311         * math/s_fdim.c: Avoid alias renamed.
12312         * math/s_fdimf.c: Likewise.
12313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12314         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12315         Add s_fdimf-vis3, s_fdim-vis3.
12316         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12317         (CFLAGS-s_fdim-vis3.c): Likewise.
12318         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12319         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12321 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12324         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12325         Remove s_fdimf-vis3, s_fdim-vis3.
12326         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12327         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12334         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12335         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12337 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12339         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12340         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12341         -Wa,-Av9a -mvis.
12343 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12345         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12346         LIT() to individual constants in simple expressions
12347         after splitting on spaces.
12348         (_apply_lit): Rename replaced version, and use it to
12349         apply to what appears to be a token.
12351         * math/libm-test.inc: Fix many, many issues with
12352         spacing.
12354 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12356         * math/math.h: Move comment about <bits/mathdef.h> definitions
12357         above inclusion of <bits/mathdef.h>.  Do not mention
12358         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12360 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12362         * include/atomic.h (atomic_exchange_relaxed): New.
12364 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12366         * math/e_scalb.c: Do not include <fenv.h>.
12367         (invalid_fn): Do calculation resulting in NaN instead of raising
12368         FE_INVALID and returning a NaN explicitly.
12369         * math/e_scalbf.c: Do not include <fenv.h>.
12370         (invalid_fn): Do calculation resulting in NaN instead of raising
12371         FE_INVALID and returning a NaN explicitly.
12372         * math/e_scalbl.c: Do not include <fenv.h>.
12373         (invalid_fn): Do calculation resulting in NaN instead of raising
12374         FE_INVALID and returning a NaN explicitly.
12376 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12378         * po/de.po: Updated from Translation Project.
12379         * po/fi.po: Likewise.
12380         * po/sv.po: Likewise.
12382 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12384         [BZ #20452]
12385         Use sysdep.o from libc.a in static libraries.
12386         * sysdeps/unix/sysv/linux/i386/Makefile
12387         (libpthread-shared-only-routines): Add sysdep.
12388         (librt-shared-only-routines): Likewise.
12390 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12392         * math/tgmath.h (nextdown): Define if
12393         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12394         (nextup): Likewise.
12396         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12397         macro.
12398         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12399         Document.
12400         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12401         Document macro.
12402         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12403         (exp10f): Likewise.
12404         (exp10l): Likewise.
12405         * math/bits/mathcalls.h (exp10): Declare if
12406         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12408         * manual/arith.texi (nextup): Fix typo in last change.
12410 2016-08-03  Zack Weinberg  <zackw@panix.com>
12412         [BZ #19239]
12413         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12414         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12415         define major, minor, and makedev to issue deprecation warnings on use.
12416         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12417         previously-activated deprecation warnings for these macros and prevent
12418         subsequent inclusions of this header from having any effect.
12419         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12420         including <sys/sysmacros.h>, and undefine it again afterward.
12422 2016-08-03  Zack Weinberg  <zackw@panix.com>
12424         * sysdeps/generic/sys/sysmacros.h: Delete file.
12425         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12426         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12427         * bits/sysmacros.h: ... here; this encoding is now the generic
12428         encoding.  Now defines only the following macros:
12429         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12430         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12431         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12433         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12434         bits/sysmacros.h and the above new macros to generate the
12435         public implementations of major, minor, and makedev.
12436         * misc/tst-makedev.c: New test.
12437         * include/sys/sysmacros.h: New wrapper.
12439         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12440         (routines): Add makedev.
12441         (tests): Add tst-makedev.
12442         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12443         gnu_dev_makedev.
12444         * posix/Makefile (headers): Remove sys/sysmacros.h.
12445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12447         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12448         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12449         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12450         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12451         * sysdeps/unix/sysv/linux/arm/libc.abilist
12452         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12453         * sysdeps/unix/sysv/linux/i386/libc.abilist
12454         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12455         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12456         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12457         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12458         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12459         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12460         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12461         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12462         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12467         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12468         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12469         * sysdeps/unix/sysv/linux/sh/libc.abilist
12470         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12471         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12474         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12475         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12476         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12477         Add GLIBC_2.25.
12479         * include/features.h (__glibc_clang_prereq): New macro.
12480         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12481         (__attribute_deprecated_msg__): New macros.
12483 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12485         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12486         macro.
12487         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12488         * manual/arith.texi (issignaling): Document as ISO from TS
12489         18661-1:2014.
12490         (nextup): Likewise.
12491         (nextupf): Likewise.
12492         (nextupl): Likewise.
12493         (nextdown): Likewise.
12494         (nextdownf): Likewise.
12495         (nextdownl): Likewise.
12496         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12497         macro.
12498         * math/math.h: Define
12499         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12500         <bits/libc-header-start.h> instead of including <features.h>.
12501         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12502         [__USE_GNU].
12503         * math/bits/mathcalls.h (nextdown): Declare if
12504         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12505         (nextup): Likewise.
12506         (__issignaling): Likewise.
12508 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12510         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12511         check, and remove __glibc_likely hint
12512         from FP_INFINITE check.
12513         * s_csinhf.c (__csinhf): Likewise.
12515         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12516         hint from FP_INFINITE check.
12517         * s_csinhl.c (__csinhl): Likewise.
12519 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12521         * math/Makefile (libm-calls): Insert F placeholder into
12522         object names.  Move w_lgamma_compat* routines into
12523         (libm-compat-calls): New variable.
12524         (libm-compat-calls-ldouble-yes): New variable.
12525         (calls): Insert F placeholder.
12526         (generated): Redefine using new type-foreach macro call.
12527         (routines): Likewise.
12529         (types): New variable to hold a list of symbolic names
12530         for each type supported by the target machine.
12531         (libm-routines): Redefine using new types variable.
12532         (type-foreach): macro to replace fooF with the
12533         appropriately suffixed foo for each types.
12535         (type-ldouble-suffix): New variable.
12536         (type-ldouble-routines): Likewise.
12537         (type-ldouble-yes): Likewise.
12538         (type-double-suffix): Likewise.
12539         (type-double-routines): Likewise.
12540         (type-float-suffix): Likewise.
12541         (type-float-routines): Likewise.
12543         (dbl-only-routines): Remove.
12544         (long-c-yes): Likewise.
12545         (long-m-routines): Likewise.
12546         (long-m-support): Likewise.
12547         (long-m-yes): Likewise.
12548         (test-longdouble-yes): Likewise.
12550         (test-float.o): Simplify by increasing the scope of the
12551         recipe which adds libm-test.stmp to the vector types.
12552         (test-ifloat.o): Likewise.
12553         (test-float-finite.o): Likewise.
12554         (test-double.o): Likewise
12555         (test-idouble.o): Likewise.
12556         (test-double-finite.o): Likewise.
12557         (test-ldouble.o): Likewise
12558         (test-ildoubl.o): Likewise.
12559         (test-ldouble-finite.o): Likewise.
12561         (libm-tests): Redefine type tests using foreach and the
12562         list of types in types.
12564         (CPPFLAGS-test-ildoubl.c): Rename to
12565         (CPPFLAGS-test-ildouble.c): New variable
12567         * math/test-ildoubl.c: Rename to
12568         * math/test-ildouble.c: New file.
12570 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12572         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12573         Use fabsl instead of fabs.
12574         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12575         Likewise.
12576         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12577         Add long double suffix to constant to ensure proper
12578         promotion to long double.
12580 2016-08-03  Tom Tromey  <tom@tromey.com>
12582         [BZ #20311]
12583         * nptl_db/Makefile (headers): Add proc_service.h.
12584         * nptl_db/proc_service.h: Add include guard.  Use
12585         __BEGIN/__END_DECLS.
12586         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12587         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12588         arguments.
12591 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12593         [BZ #17730]
12594         Avoid using memalign for TCB allocations.
12595         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12596         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12597         Avoid alignment gap in the TLS_DTV_AT_TP case.
12598         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12599         determine the pointer to free.
12600         * nptl/tst-tls3-malloc.c: New test.
12601         * nptl/Makefile (tests): Add it.
12602         (tst-tls3-malloc): Link with libdl, libpthread.
12603         (LDFLAGS-tst-tls3-malloc): Set.
12604         (tst-tls3-malloc.out): Depend on DSO used in test.
12606 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12608         [BZ #17730]
12609         Avoid using memalign for TLS allocations.
12610         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12611         is_static member with to_free member.
12612         (union dtv): Use struct dtv_pointer.
12613         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12614         dtv_pointer instead of is_static.
12615         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12616         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12617         instead of val.
12618         (allocate_dtv_entry): New function.
12619         (allocate_and_init): Return struct dtv_pointer.  Call
12620         allocate_dtv_entry instead of __libc_memalign.
12621         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12622         instead of val.
12623         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12624         instead of is_static.  Adjust call to allocate_and_init.
12625         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12626         struct dtv_pointer instead of val.
12628 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12630         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12631         (MALLOC_ALIGN_MASK): Move ...
12632         * malloc/malloc-internal.h: ... to here.
12633         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12635 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12637         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12638         (UDP_ENCAP_GTP1U): Likewise.
12640         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12641         (PF_MAX): Update value.
12642         (AF_QIPCRTR): New macro.
12644 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12646         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12647         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12648         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12649         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12650         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12651         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12652         s_truncf-vis3, s_trunc-vis3.
12653         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12654         (CFLAGS-s_ceil-vis3.c): Likewise.
12655         (CFLAGS-s_floorf-vis3.c): Likewise.
12656         (CFLAGS-s_floor-vis3.c): Likewise.
12657         (CFLAGS-s_truncf-vis3.c): Likewise.
12658         (CFLAGS-s_trunc-vis3.c): Likewise.
12659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12667         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12668         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12669         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12670         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12672 2016-08-02  David S. Miller  <davem@davemloft.net>
12674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12675         (__nearbyint_vis3): Don't check for sNaN before float register is
12676         loaded with the incoming argument.
12677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12678         (__nearbyintf_vis3): Likewise.
12679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12680         Likewise.
12681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12682         Likewise.
12684         * string/test-strncmp.c (do_test_limit): Make sure the test data
12685         stream is aligned as required for the type "CHAR".
12686         (do_test): Likewise.
12688 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12690         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12691         by beq instructions jumping to the end of the function.
12692         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12693         clobber list. Use "i" constraint instead of "X".
12694         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12695         of "X".
12697 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12699         * bits/libc-header-start.h: New file.
12700         * Makefile (headers): Add bits/libc-header-start.h.
12701         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12702         (__GLIBC_USE): New macro.
12703         * libio/stdio.h: Define
12704         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12705         <bits/libc-header-start.h> instead of including <features.h>.
12706         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12707         (open_memstream): Likewise.
12708         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12709         (__asprintf): Likewise.
12710         (asprintf): Likewise.
12711         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12712         (getdelim): Likewise.
12713         (getline): Likewise.
12714         * string/string.h: Define
12715         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12716         <bits/libc-header-start.h> instead of including <features.h>.
12717         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12718         (strndup): Likewise.
12719         * wcsmbs/wchar.h: Define
12720         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12721         <bits/libc-header-start.h> instead of including <features.h>.
12722         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12723         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12725 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12727         Support linking against compatibility symbols, for use in tests.
12728         * include/libc-symbols.h (symbol_version_reference): New macro.
12729         (symbol_version): Use it.
12730         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12731         (compat_symbol): Use compat_symbol_reference.
12732         (compat_symbol_1, compat_symbol_2): Remove.
12733         (compat_symbol_reference, compat_symbol_reference_1)
12734         (compat_symbol_reference_2): New macro.  Use
12735         symbol_version_reference.
12737 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12739         [BZ #19469]
12740         * malloc/Makefile (CPPFLAGS): Compile tests with
12741         -DTEST_NO_MALLOPT.
12742         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12744 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12746         [BZ #20033]
12747         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12748         finite version.
12749         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12750         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12751         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12752         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12753         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12754         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12755         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12756         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12757         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12758         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12759         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12760         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12761         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12762         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12763         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12764         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12765         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12766         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12767         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12768         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12769         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12770         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12771         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12772         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12773         in zero power.
12775 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12777         [BZ #20370]
12778         * malloc/arena.c (get_free_list): Update comment.  Assert that
12779         arenas on the free list have no attached threads.
12780         (remove_from_free_list): New function.
12781         (reused_arena): Call it.
12783 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12785         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12786         when it is a NaN.
12787         [_IEEE_FP_INEXACT] Remove.
12788         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12789         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12790         when it is a NaN.
12791         [_IEEE_FP_INEXACT] Remove.
12792         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12793         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12794         when it is a NaN.
12795         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12796         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12797         when its absolute value is greater than 0x1.0p52.
12798         [_IEEE_FP_INEXACT] Remove.
12799         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12800         when its absolute value is greater than 0x1.0p23.
12801         [_IEEE_FP_INEXACT] Remove.
12803 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12805         * version.h (RELEASE): Set to "development"
12806         (VERSION): Set to 2.24.90.
12807         * NEWS: Add 2.25 section.
12809         * version.h (RELEASE): Set to "stable"
12810         (VERSION): Set to 2.24.
12811         * include/features.h (__GLIBC_MINOR__): Set to 24.
12813         * NEWS: Add 2.24 fixed bugs.
12814         * po/libc.pot: Regenerate.
12816 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12819         [$(subdir) = math] (libm-sysdep_routines): Remove.
12820         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12821         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12822         s_truncf-vis3, s_trunc-vis3.
12823         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12825         file.
12826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12850         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12859         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12860         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12861         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12862         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12863         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12864         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12865         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12866         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12867         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12868         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12870 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12872         [BZ #20384]
12873         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12874         test-double-libmvec-sincos-avx-main.o,
12875         test-double-libmvec-sincos-avx2-main.o,
12876         test-double-libmvec-sincos-main.o,
12877         test-float-libmvec-sincosf-avx-main.o,
12878         test-float-libmvec-sincosf-avx2-main.o and
12879         test-float-libmvec-sincosf-main.o.
12880         test-float-libmvec-sincosf-avx512-main.o.
12881         ($(objpfx)test-double-libmvec-sincos): Also link with
12882         $(objpfx)test-double-libmvec-sincos-main.o.
12883         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12884         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12885         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12886         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12887         ($(objpfx)test-float-libmvec-sincosf): Also link with
12888         $(objpfx)test-float-libmvec-sincosf-main.o.
12889         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12890         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12891         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12892         test-double-libmvec-sincos-avx512-main.o and
12893         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12894         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12895         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12896         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12897         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12898         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12899         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12900         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12901         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12902         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12903         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12904         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12905         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12906         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12907         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12908         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12909         -DREQUIRE_AVX2.
12910         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12911         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12912         -DREQUIRE_AVX512F.
12913         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12914         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12915         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12916         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12917         file.
12918         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12919         Likewise.
12920         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12921         Likewise.
12922         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12923         Likewise.
12924         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12925         Likewise.
12926         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12927         Likewise.
12928         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12929         Likewise.
12930         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12931         Likewise.
12933 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12935         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12937 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12939         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12940         and typo in a comment about AT_HWCAP entry.
12942 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12944         * sysdeps/aarch64/libm-test-ulps: Updated.
12946 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12948         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12949         of r13 as it is not restored in mvcle case.
12951 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12953         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12954         Rename "ret" to "__ret".
12955         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12956         inline_syscall5, inline_syscall6): Likewise.
12958 2016-07-19   Will Newton  <will.newton@gmail.com>
12960         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12961         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12962         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12963         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12964         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12966 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12968         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12969         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12970         -mfpmath=387 with $(rtld-CFLAGS).
12971         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12972         $(rtld-CFLAGS).
12974 2016-07-18   Ross Burton  <ross.burton@intel.com>
12975              Khem Raj  <raj.khem@gmail.com>
12977         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12978         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12979         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12980         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12981         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12982         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12983         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12984         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12985         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12986         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12987         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12988         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12989         R_METAG_TLS_DTPOFF): New.
12991 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12992             Matt Clay  <mclay@lycos.com>
12994         [BZ #20357]
12995         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12996         to call __mpsin/__mpcos and to negate values.
12997         * math/auto-libm-test-in: Add test.
12998         * math/auto-libm-test-out: Regenerate.
13000 2016-07-18  Zack Weinberg  <zackw@panix.com>
13002         * grp/Makefile: Don't install the internal header grp-merge.h.
13004 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13006         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13008 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13010         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13012 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13014         [BZ #15368]
13015         * sysdeps/unix/sysv/linux/nptl-signals.h
13016         (__nptl_clear_internal_signals): New function.
13017         (__libc_signal_block_all): Likewise.
13018         (__libc_signal_block_app): Likewise.
13019         (__libc_signal_restore_set): Likewise.
13020         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13021         implementation.
13022         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13023         the cached pid/tid value in pthread structure.
13025 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13027         [BZ #20347]
13028         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13030 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13032         [BZ #20348]
13033         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13034         preadv64, pwrite64 and pwritev64.
13036 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13038         [BZ #20350]
13039         * posix/tst-preadwrite.c: Renamed to ...
13040         * posix/tst-preadwrite-common.c: This.
13041         (PREAD): Removed.
13042         (PWRITE): Likewise.
13043         (STRINGIFY): Likewise.
13044         (STRINGIFY2): Likewise.
13045         (do_prepare): Make it static and remove function arguments.
13046         (do_test): Likewise.
13047         (PREPARE): Updated.
13048         (TEST_FUNCTION): New.
13049         (name): Make it static.
13050         (fd): Likewise.
13051         (do_prepare): Use create_temp_file.
13052         (do_test): Renamed to ...
13053         (do_test_with_offset): This.  Make it static and accept offset.
13054         Properly check return value of PWRITE and PREAD.  Return bytes
13055         read.  Don't close fd nor unlink name.
13056         * posix/tst-preadwrite.c: Rewrite.
13057         * posix/tst-preadwrite64.c: Likewise.
13059 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13061         [BZ #20309]
13062         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13063         -mtls-dialect=gnu2 works.
13064         * configure: Regenerated.
13065         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13066         (tests): Add tst-gnu2-tls1.
13067         (modules-names): Add tst-gnu2-tls1mod.
13068         ($(objpfx)tst-gnu2-tls1): New.
13069         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13070         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13071         * elf/tst-gnu2-tls1.c: New file.
13072         * elf/tst-gnu2-tls1mod.c: Likewise.
13073         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13074         bytes for push in the PLT entry to align the stack.
13076 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13078         [BZ #20349]
13079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13081 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13083         [BZ #18707]
13084         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13085         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13087 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13089         * sysdeps/unix/sysv/linux/sysdep.h
13090         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13091         guards.
13092         * misc/tst-preadvwritev-common.c: New file.
13093         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13094         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13095         a check for files larger than 2GB.
13097         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13098         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13099         * sysdeps/unix/sysv/linux/pread.c
13100         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13101         __OFF_T_MATCHES_OFF64_T.
13102         * sysdeps/unix/sysv/linux/pread64.c
13103         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13104         * sysdeps/unix/sysv/linux/preadv.c
13105         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13106         * sysdeps/unix/sysv/linux/preadv64.c
13107         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13108         * sysdeps/unix/sysv/linux/pwrite.c
13109         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13110         * sysdeps/unix/sysv/linux/pwrite64.c
13111         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13112         * sysdeps/unix/sysv/linux/pwritev.c
13113         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13114         * sysdeps/unix/sysv/linux/pwritev64.c
13115         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13117 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13119         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13120         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13122 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13124         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13126 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13128         [BZ #20240]
13129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13130         (CFLAGS-s_modf-ppc32.c): New variable.
13131         (CFLAGS-s_modff-ppc32.c): Likewise.
13132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13133         (CFLAGS-s_modf-ppc64.c): Likewise.
13134         (CFLAGS-s_modff-ppc64.c): Likewise.
13136 2016-07-07  Andreas Schwab  <schwab@suse.de>
13138         [BZ #20263]
13139         * nptl/tst-robust10.c: New test.
13140         * nptl/Makefile (tests): Add tst-robust10.
13142 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13144         [BZ #20263]
13145         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13147 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13149         * sysdeps/s390/linkmap.h (struct link_map_machine):
13150         Remove member gotplt and add member jmprel.
13151         * sysdeps/s390/s390-32/dl-machine.h
13152         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13153         instead of gotplt with &got[3].
13154         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13155         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13157 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13159         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13161 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13163         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13164         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13165         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13166         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13167         * libio/vtables.c (_IO_vtable_check)
13168         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13169         * libio/libioP.h (IO_set_accept_foreign_vtables)
13170         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13172 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13174         [BZ #20314]
13175         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13176         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13177         $(common-objpfx)cmath.
13178         ($(common-objpfx)cstdlib): New target.
13179         ($(common-objpfx)cmath): Likewise.
13181 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13183         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13185 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13187         [BZ #20327]
13188         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13189         are not part of the string.
13191 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13193         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13194         * nptl/tst-cancel4-common.h (fifoname): New variable.
13195         (fifofd): Likewise.
13196         (cl_fifo): New function.
13197         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13198         SIGINT.
13199         (tf_open): Add early cancel test.
13201 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13203         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13205 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13207         * sysdeps/generic/ldsodefs.h
13208         (dl_symbol_visibility_binds_local_p): New inline function.
13209         * elf/dl-addr.c (determine_info): Treat hidden and internal
13210         symbols as local.
13211         * elf/dl-lookup.c (do_lookup_x): Likewise.
13212         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13214 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13216         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13217         invalid exception for a sNaN input.
13218         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13219         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13220         (__nearbyint_vis3): Likewise
13221         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13222         (__nearbyintf_vis3): Likewise
13223         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13224         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13225         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13226         Likewise.
13227         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13228         Likewise.
13230 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13232         [BZ #20139]
13233         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13234         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13235         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13236         2.24 or above.
13237         (HAVE_AVX512_ASM_SUPPORT): Removed.
13238         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13239         * sysdeps/x86_64/configure: Regenerated.
13240         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13241         check unconditional.
13242         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13243         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13244         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13245         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13246         Likewise.
13247         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13248         Likewise.
13249         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13250         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13251         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13252         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13253         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13254         Likewise.
13255         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13256         Likewise.
13257         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13258         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13259         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13260         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13262         Likewise.
13263         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13264         Likewise.
13265         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13266         Likewise.
13267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13268         Likewise.
13269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13270         Likewise.
13271         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13272         Likewise.
13273         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13274         Likewise.
13275         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13276         Likewise.
13277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13278         Likewise.
13279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13280         Likewise.
13281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13282         Likewise.
13284 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13286         [BZ #20024]
13287         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13289         of this implementation of vector function.
13290         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13292         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13293         Likewise.
13294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13295         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13296         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13297         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13298         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13299         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13300         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13301         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13302         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13303         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13304         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13305         for testing vector sincos with fixed ABI.
13306         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13307         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13308         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13309         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13310         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13312         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13313         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13314         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13315         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13316         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13317         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13318         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13319         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13320         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13321         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13323 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13325         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13327 2016-06-30  Anton Blanchard  <anton@samba.org>
13329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13330         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13331         s_sinf-ppc64.
13332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13335         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13337 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13341         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13342         e_expf-ppc64.
13343         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13344         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13345         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13346         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13348 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13350         [BZ #20277]
13351         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13352         when SHARED is defined.
13354 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13356         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13357         (index_arch_Prefer_ERMS): Likewise.
13358         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13359         __memcpy_erms for Prefer_ERMS.
13360         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13361         (__memmove_erms): Enabled for libc.a.
13362         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13363         __memmove_erms or Prefer_ERMS.
13364         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13365         __mempcpy_erms for Prefer_ERMS.
13366         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13367         __memset_erms for Prefer_ERMS.
13369 2016-06-30  Andreas Schwab  <schwab@suse.de>
13371         [BZ #20262]
13372         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13373         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13374         of memory.
13376 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13378         [BZ #18645]
13379         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13380         (test-extras): Add tst-cleanupx4aux.
13381         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13382         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13383         tst-cleanupx4aux.o.
13384         * nptl/tst-cleanupx4aux.c: New file.
13386 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13388         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13390 2016-06-29  Andreas Schwab  <schwab@suse.de>
13392         [BZ #20260]
13393         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13394         address before the beginning of the string as an integer to avoid
13395         array-bounds warning.
13397 2016-06-28  Richard Henderson  <rth@redhat.com>
13399         * elf/elf.h (EM_BPF): New.
13400         (EM_NUM): Update.
13401         (R_BPF_NONE, R_BPF_MAP_FD): New.
13403         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13404         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13405         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13406         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13407         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13408         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13409         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13410         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13411         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13412         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13413         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13414         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13415         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13416         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13417         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13418         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13419         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13420         (EM_NUM): Update.
13422 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13424         [BZ #18960]
13425         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13426         Set _nl_current_LC_CATEGORY_used to two instead of one.
13428 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13430         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13431         (do_test): ... this.
13432         (TEST_FUNCTION): New macro.
13433          Include test-skeleton.c.
13434         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13435         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13437 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13439         [BZ #15479]
13440         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13441         floating-point environment rather than just control word.
13442         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13443         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13444         floating-point environment, with "invalid" exceptions merged in,
13445         rather than just control word.
13446         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13447         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13448         "inexact" exceptions.
13450         [BZ #15479]
13451         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13452         floating-point environment rather than just control word.
13453         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13454         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13455         floating-point environment, with "invalid" exceptions merged in,
13456         rather than just control word.
13457         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13458         * math/libm-test.inc (floor_test_data): Do not allow spurious
13459         "inexact" exceptions.
13461         [BZ #15479]
13462         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13463         floating-point environment rather than just control word.
13464         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13465         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13466         floating-point environment, with "invalid" exceptions merged in,
13467         rather than just control word.
13468         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13469         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13470         "inexact" exceptions.
13472 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13474         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13475         __libc_vfork.
13476         (__vfork) [IS_IN (libc)]: Remove alias.
13477         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13478         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13479         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13481 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13483         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13484         of atomic_compare_and_exchange_bool_rel.
13485         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13486         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13487         catomic_compare_and_exchange_bool_rel): Remove.
13488         * sysdeps/aarch64/atomic-machine.h
13489         (atomic_compare_and_exchange_bool_rel): Likewise.
13490         * sysdeps/alpha/atomic-machine.h
13491         (atomic_compare_and_exchange_bool_rel): Likewise.
13492         * sysdeps/arm/atomic-machine.h
13493         (atomic_compare_and_exchange_bool_rel): Likewise.
13494         * sysdeps/mips/atomic-machine.h
13495         (atomic_compare_and_exchange_bool_rel): Likewise.
13496         * sysdeps/microblaze/atomic-machine.h
13497         ( __arch_compare_and_exchange_bool_8_rel,
13498         __arch_compare_and_exchange_bool_16_rel): Likewise.
13499         * sysdeps/powerpc/atomic-machine.h
13500         ( __arch_compare_and_exchange_bool_8_rel,
13501         __arch_compare_and_exchange_bool_16_rel): Likewise.
13502         * sysdeps/powerpc/powerpc32/atomic-machine.h
13503         ( __arch_compare_and_exchange_bool_32_rel,
13504         __arch_compare_and_exchange_bool_64_rel): Likewise.
13505         * sysdeps/powerpc/powerpc64/atomic-machine.h
13506         ( __arch_compare_and_exchange_bool_32_rel,
13507         __arch_compare_and_exchange_bool_64_rel): Likewise.
13508         * sysdeps/tile/atomic-machine.h
13509         (atomic_compare_and_exchange_bool_rel): Likewise.
13511 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13513         [BZ #20296]
13514         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13515         when either argument is a NaN.
13516         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13517         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13519         * math/libm-test.inc (snan_value_ld): New macro.
13520         (isgreater_test_data): Add sNaN tests.
13521         (isgreaterequal_test_data): Likewise.
13522         (isless_test_data): Likewise.
13523         (islessequal_test_data): Likewise.
13524         (islessgreater_test_data): Likewise.
13525         (isunordered_test_data): Likewise.
13526         (nextafter_test_data): Likewise.
13527         (nexttoward_test_data): Likewise.
13528         (remainder_test_data): Likewise.
13529         (remquo_test_data): Likewise.
13530         (significand_test_data): Likewise.
13531         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13533 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13535         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13536         environment macros are defined.
13537         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13539 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13541         [BZ #20191]
13542         Implement vtable verification in libio.
13543         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13544         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13545         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13546         _IO_new_file_init_internal instead of _IO_file_init.
13547         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13548         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13549         * libio/Makefile (routines): Add vtables.
13550         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13551         (_IO_init): Remove, not for internal use.
13552         (_IO_init_internal): Declare, internal replacement for _IO_init.
13553         (_IO_file_init): Remove, not for internal use.
13554         (_IO_new_file_init): Remove, not for internal use.
13555         (_IO_new_file_init_internal): Declare, internal replacement for
13556         _IO_new_file_init.
13557         (_IO_old_file_init): Remove, not for internal use.
13558         (_IO_old_file_init_internal): Declare, internal replacement for
13559         _IO_old_file_init.
13560         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13561         internal use.
13562         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13563         Declare.
13564         (libio_vtable): New macro.
13565         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13566         functions.
13567         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13568         _IO_new_file_init.
13569         (_IO_new_file_init): New externally visible wrapper which disables
13570         vtable verification.
13571         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13572         Define as vtables.
13573         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13574         (_IO_init): New externally visible wrapper which disables
13575         vtable verification.
13576         * libio/iofdopen.c (_IO_new_fdopen): Call
13577         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13578         comment.
13579         * libio/iofopen.c (__fopen_internal): Call
13580         _IO_new_file_init_internal instead of _IO_file_init.
13581         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13582         Define as vtables.
13583         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13584         _IO_new_file_init_internal instead of _IO_file_init.
13585         * libio/iopopen.c (_IO_new_popen): Likewise.
13586         (_IO_proc_jumps): Define as vtable.
13587         * libio/iovdprintf.c (_IO_vdprintf): Call
13588         _IO_new_file_init_internal instead of _IO_file_init.
13589         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13590         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13591         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13592         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13593         _IO_old_file_init.
13594         (_IO_old_file_init): New externally visible wrapper which disables
13595         vtable verification.
13596         (_IO_old_file_jumps): Define as vtable.
13597         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13598         _IO_old_file_init_internal instead of _IO_old_file_init.
13599         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13600         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13601         (_IO_old_proc_jumps): Define as vtable.
13602         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13603         Define as vtables.
13604         * libio/vtables.c: New file.
13605         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13606         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13607         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13608         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13609         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13610         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13611         instead of _IO_init.
13613 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13615         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13617 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13619         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13620         potentially unused.
13622 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13624         * test-skeleton.c (write_message): New function.
13625         * malloc/tst-mallocfork2.c (write_message): Remove.
13626         * debug/tst-longjmp_chk2.c (write_indented): New function.
13627         (write_message): Remove.
13628         (stackoverflow_handler): Call write_indented.
13630 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13632         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13633         "inexact" exceptions after fnstenv.
13634         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13635         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13636         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13638 2015-06-22  Zack Weinberg  <zackw@panix.com>
13640         * sysdeps/generic/bits/hwcap.h: Moved to ...
13641         * bits/hwcap.h: Here.
13643 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13645         * sysdeps/aarch64/memcpy.S (memcpy):
13646         Further tuning for performance.
13648 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13650         [BZ #20284]
13651         * malloc/arena.c (reused_arena): Do not return NULL if we start
13652         out with a non-corrupted arena.
13654 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13656         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13657         * misc/tst-preadvwritev.c: New file.
13658         * misc/tst-preadvwritev64.c: Likewise.
13659         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13660         usage.
13661         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13662         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13663         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13664         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13666 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13668         [BZ #19654]
13669         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13670         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13671         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13672         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13673         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13674         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13675         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13676         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13677         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13678         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13679         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13680         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13681         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13682         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13683         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13684         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13685         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13686         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13687         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13688         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13689         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13690         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13691         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13692         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13693         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13694         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13696 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13698         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13699         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13701 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13703         * sysdeps/aarch64/memcpy.S (memcpy):
13704         Rewrite of optimized memcpy and memmove.
13705         * sysdeps/aarch64/memmove.S (memmove): Remove
13706         memmove code (merged into memcpy.S).
13708 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13710         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13711         * sysdeps/generic/dl-dtv.h: New file.
13712         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13713         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13714         (dtv_t): Remove.
13715         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13716         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13717         (dtv_t): Remove.
13718         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13719         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13720         (dtv_t): Remove.
13721         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13722         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13723         (dtv_t): Remove.
13724         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13725         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13726         (dtv_t): Remove.
13727         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13728         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13729         (dtv_t): Remove.
13730         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13731         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13732         (dtv_t): Remove.
13733         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13734         (dtv_t): Remove.
13735         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13736         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13737         (dtv_t): Remove.
13738         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13739         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13740         (dtv_t): Remove.
13741         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13742         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13743         (dtv_t): Remove.
13744         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13745         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13746         (dtv_t): Remove.
13747         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13748         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13749         (dtv_t): Remove.
13750         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13751         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13752         (dtv_t): Remove.
13753         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13754         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13755         (dtv_t): Remove.
13756         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13757         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13758         (dtv_t): Remove.
13760 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13762         Revert symbol poisoning of  __malloc_initialize_hook.
13763         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13764         poisoning.
13765         * malloc/Makefile: Remove un-poisoning.
13766         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13767         instead of old__malloc_initialize_hook.
13768         * malloc/malloc-hooks.h: Likewise.
13769         * malloc/malloc.c: Likewise.
13770         * malloc/mcheck-init.c: Likewise.
13772 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13774         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13776 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13778         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13779         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13780         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13781         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13783 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13785         * NEWS: Mention addition of nextup and nextdown.
13786         * manual/arith.texi: Document nextup and nextdown.
13787         * manual/libm-err-tab.pl: Add nextup and nextdown.
13788         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13789         * math/Versions (libm): Add GLIBC_2.24.
13790         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13791         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13792         Add new test.
13793         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13794         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13795         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13796         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13797         (nextup_test_data): Likewise.
13798         (nextdown_test_data): Likewise.
13799         * math/s_nextdown.c: New file.
13800         * math/s_nextdownf.c: Likewise.
13801         * math/s_nextdownl.c: Likewise.
13802         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13803         F(nextup): New function.
13804         F(nextdown): Likewise.
13805         * math/tgmath.h: Add nextup and nextdown.
13806         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13807         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13808         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13809         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13810         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13811         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13812         Add nextup and nextdown.
13813         (CFLAGS-nldbl-nextup.c): New variable.
13814         (CFLAGS-nldbl-nextdown.c): Likewise.
13815         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13816         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13817         * sysdeps/nacl/libm.abilist: Update.
13818         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13819         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13820         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13821         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13822         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13823         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13824         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13825         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13826         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13828         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13829         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13832         Likewise.
13833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13835         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13836         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13837         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13838         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13839         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13842         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13843         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13844         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13845         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13847 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13849         * manual/pattern.texi: Fix typos & grammar errors.
13851 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13853         * manual/search.texi: Fix typos & grammar errors.
13855 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13857         * manual/message.texi: Fix typos & grammar errors.
13859 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13861         * manual/contrib.texi: Fix spelling typos.
13862         * manual/crypt.texi: Likewise.
13863         * manual/filesys.texi: Likewise.
13864         * manual/locale.texi: Likewise.
13865         * manual/message.texi: Likewise.
13866         * manual/nss.texi: Likewise.
13867         * manual/string.texi: Likewise.
13869 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13871         * manual/locale.texi: Fix typos & grammar errors.
13873 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13875         * manual/charset.texi: Fix typos & grammar errors.
13877 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13879         * manual/string.texi: Fix typos.
13881 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13883         * manual/ctype.texi: Fix typos.
13885 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13887         * manual/memory.texi: Fix various typos & grammar errors.
13889 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13891         [BZ #20255]
13892         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13893         * math/libm-test.inc (fdim_test_data): Add another test.
13895         [BZ #6796]
13896         [BZ #20255]
13897         [BZ #20256]
13898         * math/s_fdim.c: Include <math_private.h>.
13899         (__fdim): Use math_narrow_eval on result.
13900         * math/s_fdimf.c: Include <math_private.h>.
13901         (__fdimf): Use math_narrow_eval on result.
13902         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13903         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13904         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13905         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13906         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13907         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13908         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13909         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13910         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13911         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13912         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13913         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13914         overflow.  Add sNaN tests.
13916         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13917         fpclassify.
13918         * math/s_fdimf.c (__fdimf): Likewise.
13919         * math/s_fdiml.c (__fdiml): Likewise.
13921 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13923         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13924         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13926         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13927         ifunc'ed strcasecmp/strncasecmp.
13928         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13929         [EALIGN]: Removed.
13930         [END]: Likewise.
13931         [__strcasecmp]: Define instead of the above to control symbol name.
13932         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13933         for __strcasecmp_power8.
13934         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13935         for __strncasecmp_power8.
13936         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13937         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13938         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13939         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13940         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13941         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13943 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13945         [BZ #20252]
13946         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13947         arguments when second argument is a NaN.
13948         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13949         qNaN tests.
13951         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13952         (conj_test_data): Likewise.
13953         (copysign_test_data): Likewise.
13954         (creal_test_data): Likewise.
13955         (fma_test_data): Likewise.
13956         (fmod_test_data): Likewise.
13958         [BZ #20250]
13959         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13960         itself.
13961         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13962         zero input to itself.
13963         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13964         Likewise.
13965         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13966         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13967         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13968         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13969         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13971 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13973         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13974         * nptl/tst-cancel4-common.c: New file.
13975         * nptl/tst-cancel4-common.h: Likewise.
13976         * nptl/tst-cancel4.c: Move common definitions to
13977         tst-cancel4-common.{c,h} file.
13978         * nptl/tst-cancel4_1.c: New test.
13979         * nptl/tst-cancel4_2.c: New test.
13981 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13983         [BZ #20248]
13984         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13985         (write_message): New function.
13986         (stackoverflow_handler): Call it instead of printf, to avoid
13987         excessive stack usage by printf.
13988         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13990 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13992         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13993         (prio_inherit_missing): Remove define.
13994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13995         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13997         Likewise.
13998         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13999         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14000         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14001         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14002         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14003         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14005 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14007         [BZ #19670]
14008         [BZ #19672]
14010         * io/test-lfs.c (do_prepare): Use xmalloc.
14011         * io/tst-fcntl.c (do_prepare): Likewise.
14012         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14013         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14014         * login/tst-utmp.c (do_prepare): Likewise.
14015         * posix/tst-exec.c (do_prepare): Likewise.
14016         * posix/tst-pathconf.c (prepare): Likewise.
14017         * posix/tst-spawn.c (do_prepare): Likewise.
14018         * posix/tst-truncate.c (do_prepare): Likewise.
14019         * rt/tst-aio.c (do_prepare): Likewise.
14020         * rt/tst-aio64.c (do_prepare): Likewise.
14022 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14024         [BZ #20237]
14025         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14026         (get*ent): Set entidx to NULL during initialization.  If entidx is
14027         NULL, start iteration from the beginning.
14029 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14031         * malloc/malloc.c (musable): Return correct size for dumped fake
14032         mmapped chunk.
14034 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14036         [BZ #20222]
14037         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14038         (_IO_cookie_write): Likewise.
14039         (_IO_cookie_seek): Likewise.
14040         (_IO_cookie_close): Likewise.
14041         (_IO_old_cookie_seek): Likewise.
14042         (set_callbacks): New function.
14043         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14045 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14047         * locale/programs/localedef.c (oldstyle_tables): Remove.
14048         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14050 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14052         [BZ #20240]
14053         * math/Makefile (CFLAGS-s_modf.c): New variable.
14054         (CFLAGS-s_modff.c): Likewise.
14055         (CFLAGS-s_modfl.c): Likewise.
14056         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14058 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14060         [BZ #20215]
14061         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14062         [!__GNUC_PREREQ (3,2)]: Likewise.
14064 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14066         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14067         (msghdr.msg_controllen): Likewise.
14068         (cmsghdr.cmsg_len): Likewise.
14069         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14070         ptw-oldsendmsg.
14071         (CFLAGS-oldrecvmsg.c): Remove rule.
14072         (CFLAGS-oldsendmsg.c): Likewise.
14073         (CFLAGS-recvmsg.c): Add rule.
14074         (CFLAGS-sendmsg.c): Likewise.
14075         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14076         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14077         (CFLAGS-recvmsg.c): Remove rule.
14078         (CFLAGS-sendmsg.c): Likewise.
14079         (CFLAGS-oldrecvmsg.c): Likewise.
14080         (CFLAGS-oldsendmsg.c): Likewise.
14081         (CFLAGS-recvmmsg.c): Likewise.
14082         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14083         to kernel defined interfaces.
14084         (msghdr.msg_controllen): Likewise.
14085         (cmsghdr.cmsg_len): Likewise.
14086         (msghdr.__glibc_reserved1): Remove member.
14087         (msghdr.__glibc_reserved2): Likewise.
14088         (cmsghdr.__glibc_reserved1): Likewise.
14089         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14090         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14091         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14092         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14093         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14094         version.
14095         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14096         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14097         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14098         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14099         Remove recvmsg and sendmsg.
14100         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14101         Likewise.
14102         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14103         Likewise.
14104         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14105         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14106         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14107         Likewise.
14108         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14109         Likewise.
14110         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14111         [libc] (GLIBC_2.24): Likewise.
14112         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14113         Likewise.
14114         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14115         Likewise.
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14117         [libc] (GLIBC_2.24): Likewise.
14118         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14119         Likewise.
14120         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14121         Likewise.
14122         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14123         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14124         Likewise.
14125         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14126         Likewise.
14127         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14128         Likewise.
14129         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14130         Likewise.
14131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14132         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14133         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14134         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14135         version for {recv,send,recm,sendm}msg.
14136         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14137         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14138         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14139         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14140         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14141         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14142         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14143         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14144         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14145         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14146         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14147         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14149         Likewise.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14151         Likewise.
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14154         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14155         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14156         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14157         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14158         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14159         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14162         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14163         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14164         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14166 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14168         [BZ #19564]
14169         Remove __malloc_initialize_hook from the API.
14170         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14171         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14172         #pragma GCC poison.
14173         * malloc/malloc-hooks.h: New file.
14174         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14175         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14176         (old__malloc_initialize_hook): Rename from
14177         __malloc_initialize_hook to evade poisoning.  Turn into compat
14178         symbol.
14179         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14180         __malloc_initialize_hook.
14181         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14182         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14183         * manual/memory.texi (Hooks for Malloc): Remove
14184         __malloc_initialize_hook.  Adjust hook example.
14186 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14188         [BZ #20235]
14189         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14190         itself.
14191         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14192         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14194         [BZ #20234]
14195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14196         infinity or NaN input to itself.
14198         [BZ #20233]
14199         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14200         to itself.
14202         [BZ #20232]
14203         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14204         itself.
14206 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14208         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14209         __libc_start_main via GOT.
14211 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14213         * sysdeps/x86_64/memcopy.h: New file.
14214         * sysdeps/x86_64/wordcopy.c: Likewise.
14216 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14218         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14219         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14220         <cstdlib>.
14221         (optimization_barrier): New.
14222         (do_test): Use it.  Call quick_exit in the global namespace.
14223         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14224         instead of <cstdlib>, <thread>.
14225         (optimization_barrier): New.
14226         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14227         Call quick_exit in the global namespace.
14228         (do_test): Call optimization_barrier.  Use pthread_create,
14229         pthread_join instead of std::thread.
14231 2016-06-09  Andreas Schwab  <schwab@suse.de>
14233         [BZ #19755]
14234         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14235         new entries in auto-propagate mode.
14236         * nscd/grpcache.c (cache_addgr): Likewise.
14238 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14240         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14241         New functions.
14242         (add_temp_file): Use them.
14244 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14246         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14248 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14250         [BZ #20229]
14251         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14252         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14253         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14255         [BZ #20228]
14256         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14257         itself.
14258         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14259         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14261         [BZ #20227]
14262         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14263         itself.
14264         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14265         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14266         * math/libm-test.inc (log_test_data): Add sNaN tests.
14268         [BZ #20226]
14269         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14270         itself.
14271         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14272         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14273         (exp10_test_data): Likewise.
14274         (expm1_test_data): Likewise.
14276         [BZ #20225]
14277         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14278         itself.
14279         * math/s_ldexpf.c (__ldexpf): Likewise.
14280         * math/s_ldexpl.c (__ldexpl): Likewise.
14281         * math/w_scalbln.c (__w_scalbln): Likewise.
14282         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14283         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14284         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14285         (scalbln_test_data): Likewise.
14287         [BZ #20224]
14288         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14289         argument to itself.
14290         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14292 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14294         [BZ #19776]
14295         * sysdeps/x86_64/memcpy.S: Make it dummy.
14296         * sysdeps/x86_64/mempcpy.S: Likewise.
14297         * sysdeps/x86_64/memmove.S: New file.
14298         * sysdeps/x86_64/memmove_chk.S: Likewise.
14299         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14300         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14301         * sysdeps/x86_64/memmove.c: Removed.
14302         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14303         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14304         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14305         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14306         Likewise.
14307         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14308         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14309         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14310         memcpy-sse2-unaligned, memmove-avx-unaligned,
14311         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14313         (__libc_ifunc_impl_list): Replace
14314         __memmove_chk_avx512_unaligned_2 with
14315         __memmove_chk_avx512_unaligned.  Remove
14316         __memmove_chk_avx_unaligned_2.  Replace
14317         __memmove_chk_sse2_unaligned_2 with
14318         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14319         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14320         with __memmove_avx512_unaligned.  Replace
14321         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14322         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14323         with __memcpy_chk_avx512_unaligned.  Remove
14324         __memcpy_chk_avx_unaligned_2.  Replace
14325         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14326         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14327         Replace __memcpy_avx512_unaligned_2 with
14328         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14329         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14330         with __mempcpy_chk_avx512_unaligned.  Remove
14331         __mempcpy_chk_avx_unaligned_2.  Replace
14332         __mempcpy_chk_sse2_unaligned_2 with
14333         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14334         Replace __mempcpy_avx512_unaligned_2 with
14335         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14336         Replace __mempcpy_sse2_unaligned_2 with
14337         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14338         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14339         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14340         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14341         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14342         (ENTRY): Removed.
14343         (END): Likewise.
14344         (ENTRY_CHK): Likewise.
14345         (libc_hidden_builtin_def): Likewise.
14346         Don't include ../memcpy.S.
14347         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14348         __memcpy_chk_avx512_unaligned_erms and
14349         __memcpy_chk_avx512_unaligned.  Use
14350         __memcpy_chk_avx_unaligned_erms and
14351         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14352         Default to __memcpy_chk_sse2_unaligned.
14353         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14354         Change function suffix from unaligned_2 to unaligned.
14355         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14356         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14357         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14358         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14359         (ENTRY): Removed.
14360         (END): Likewise.
14361         (ENTRY_CHK): Likewise.
14362         (libc_hidden_builtin_def): Likewise.
14363         Don't include ../mempcpy.S.
14364         (mempcpy): New.  Add a weak alias.
14365         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14366         __mempcpy_chk_avx512_unaligned_erms and
14367         __mempcpy_chk_avx512_unaligned.  Use
14368         __mempcpy_chk_avx_unaligned_erms and
14369         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14370         Default to __mempcpy_chk_sse2_unaligned.
14372 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14374         [BZ #19881]
14375         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14376         into ...
14377         * sysdeps/x86_64/memset.S: This.
14378         (__bzero): Removed.
14379         (__memset_tail): Likewise.
14380         (__memset_chk): Likewise.
14381         (memset): Likewise.
14382         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14383         defined.
14384         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14385         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14386         (__memset_zero_constant_len_parameter): Check SHARED instead of
14387         PIC.
14388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14389         memset-avx2 and memset-sse2-unaligned-erms.
14390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14391         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14392         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14393         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14394         (__bzero): Enabled.
14395         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14396         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14397         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14398         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14399         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14400         (memset): Removed.
14401         (__memset_chk): Likewise.
14402         (MEMSET_SYMBOL): New.
14403         (libc_hidden_builtin_def): Replace __memset_sse2 with
14404         __memset_sse2_unaligned.
14405         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14406         __memset_chk_sse2 and __memset_chk_avx2 with
14407         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14408         Use __memset_chk_sse2_unaligned_erms or
14409         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14410         __memset_chk_avx512_unaligned_erms and
14411         __memset_chk_avx512_unaligned.
14413 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14415         * math/gen-auto-libm-test.c (fp_format_desc): remove
14416         suffix member.
14417         (output_generic_value): Remove usage of suffix member,
14418         and the resulting unuse of the fp_format argument.
14419         (output_for_one_input_case): Remove unused fp_format
14420         parameter.
14422         * math/auto-libm-test-out: Regenerate.
14424         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14425         usage with TEST_COND_ibm128.
14426         (TEST_COND_flt_32): Remove.
14427         (TEST_COND_dbl_64): Remove.
14428         (TEST_COND_ldbl_96_intel): Remove.
14429         (TEST_COND_ldbl_96_m68k): Remove.
14430         (TEST_COND_ldbl_128): Remove.
14432 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14434         * auto-libm-test-in:
14435         Replace flt-32 usage with binary32.
14436         Replace dbl-64 usage with binary64.
14437         Replace ldbl-intel-96 usage with intel96.
14438         Replace ldbl-m68k-96 usage with m68k96.
14439         Replace ldbl-128ibm usage with ibm128.
14440         Replace ldbl-128 usage with binary128.
14442         * auto-libm-test-out: Regenerate.
14444 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14446         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14447         (parse_ulps): Dynamically generate type name matching
14448         string from all_floats.
14449         (get_ulps): Generate the ulps as an array instead.
14450         (output_ulps): Dynamically compose the type based
14451         on the number of supported formats, and print
14452         the indices as type specific helper macros.
14454         * math/libm-test.inc: Remove comment about CHOOSE.
14455         (ulp_data): Generate the type in libm-test-ulps.h.
14456         (ULP_IDX): New macro.
14457         (find_ulps): Update usage of max_ulp.
14459         * math/test-double-vlen2.h (CHOOSE): Remove.
14460         * math/test-double-vlen4.h (CHOOSE): Likewise.
14461         * math/test-double-vlen8.h (CHOOSE): Likewise.
14462         * math/test-float.c (CHOOSE): Likewise.
14463         * math/test-float-finite.c (CHOOSE): Likewise.
14464         * math/test-double.c (CHOOSE): Likewise.
14465         * math/test-double-finite.c (CHOOSE): Likewise.
14466         * math/test-idouble.c (CHOOSE): Likewise.
14467         * math/test-ifloat.c (CHOOSE): Likewise.
14468         * math/test-ildoubl.c (CHOOSE): Likewise.
14469         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14470         * math/test-ldouble.c (CHOOSE): Likewise.
14472         * math/test-float.h (TEST_FLOAT): Remove.
14473         * math/test-double.h (TEST_DOUBLE): Likewise.
14474         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14476 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14478         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14479         (parse_args): Strip C suffix from floating point literals
14480         typed with 'f' and wrap them with LIT().
14482         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14483         (test_ff_f_data_nexttoward): Rename to
14484         (test_fj_f_data): New struct.
14485         (nexttoward_test_data): Relabel tests as
14486         TEST_fj_f instead of TEST_ff_f.
14488 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14490         Emacs bug 23726.
14491         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14492         (__libc_realloc): Correct size computation for dumped fake mmapped
14493         chunks.
14495 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14497         [BZ #20219]
14498         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14499         to itself.
14500         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14502         [BZ #20218]
14503         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14504         to itself.
14505         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14507 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14509         [BZ #20195]
14510         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14511         check to ...
14512         (init_cpu_features): Here.
14514 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14516         [BZ #20214]
14517         * sysdeps/unix/sysv/linux/bits/in.h
14518         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14519          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14520         Define to 1.
14521         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14522          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14523         Define to 0.
14524         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14525         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14527 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14529         [BZ #20198]
14530         * stdlib/Makefile (tests): Add tst-quick_exit, and
14531         tst-thread-quick_exit.
14532         [ifeq ($(have-cxx-thread_local),yes)]
14533         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14534         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14535         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14536         (LDLIBS-tst-thread-quick_exit): Likewise.
14537         [ifneq ($(have-cxx-thread_local),yes)]
14538         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14539         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14540         If run_dtors is true call __call_tls_dtors.
14541         (exit): Call __run_exit_handlers with run_dtors set to true.
14542         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14543         definition.
14544         * stdlib/quick_exit.c (quick_exit): Remove function.
14545         (__new_quick_exit): New function.
14546         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14547         function.
14548         * stdlib/tst-quick_exit.cc: New file.
14549         * stdlib/tst-thread-quick_exit.cc: New file.
14550         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14551         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14552         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14553         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14554         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14555         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14556         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14557         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14558         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14559         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14560         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14561         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14562         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14563         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14564         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14565         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14570         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14571         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14572         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14573         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14574         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14577         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14578         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14579         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14581 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14583         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14584         a typo in comments.
14586 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14588         [BZ #20213]
14589         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14590         argument to itself.
14591         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14593 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14595         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14596         required flags.
14597         (CFLAGS-pwritev64.c): Likewise.
14598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14600         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14601         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14602         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14603         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14604         syscall from auto-generation.
14605         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14606         [WORDSIZE == 64] (pwritev64): Remove macro.
14607         [!PWRITEV] (PWRITEV): Likewise.
14608         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14609         [!PWRITEV] (PWRITE): Likewise.
14610         [!PWRITEV] (OFF_T): Likewise.
14611         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14612         (LO_HI_LONG): Remove macro.
14613         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14614         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14615         (PWRITEV): Remove macro.
14616         (PWRITEV_REPLACEMENTE): Likewise.
14617         (PWRITE): Likewise.
14618         (OFF_T): Likewise.
14619         (pwritev64): New function.
14620         * nptl/tst-cancel4.c (tf_writev): Add test.
14622         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14623         required flags.
14624         (CFLAGS-preadv64.c): Likewise.
14625         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14626         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14627         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14628         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14629         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14630         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14631         syscall from auto-generation.
14632         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14633         [WORDSIZE == 64] (preadv64): Remove macro.
14634         [!PREADV] (PREADV): Likewise.
14635         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14636         [!PREADV] (PREAD): Likewise.
14637         [!PREADV] (OFF_T): Likewise.
14638         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14639         (LO_HI_LONG): Remove macro.
14640         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14641         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14642         (PREADV): Remove macro.
14643         (PREADV_REPLACEMENTE): Likewise.
14644         (PREAD): Likewise.
14645         (OFF_T): Likewise.
14646         (preadv64): New function.
14647         * nptl/tst-cancel4.c (tf_preadv): Add test.
14649 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14651         [BZ #20212]
14652         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14653         argument to itself.
14654         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14656 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14658         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14659         New symbol defined as libc_hidden_def.
14660         (strcasestr): Became a weak alias to __strcasestr.
14661         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14662         according to multi-arch support.  Move __stpncpy hidden
14663         definition from here to...
14664         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14665         symbol stpncpy.
14666         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14667         libc_hidden_builtin_def.
14668         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14669         memset symbol to use when multi-arch support is available.
14671 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14673         * dlfcn/tst-rec-dlopen.c: Include string.h.
14675 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14677         * manual/install.texi: Remove mention of --without-tls
14678         * INSTALL: Regenerate.
14680 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14682         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14683         Remove.
14684         (call_function, interposed_malloc_called): New variables.
14685         (malloc): New function.
14686         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14687         and clear call_function as needed.
14689 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14691         * include/wchar.h (__wmemset): Use __typeof.
14693 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14695         * include/wchar.h (__wmemset): Declare function without typeof.
14697 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14699         [BZ #20205]
14700         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14701         exponent when incrementing negative subnormal with low mantissa
14702         word zero.
14703         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14704         Add another test.
14706 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14708         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14709         __wmemset instead of wmemset.
14711 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14713         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14714         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14715         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14716         __USE_KERNEL_IPV6_DEFS to 0.
14717         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14718         Update comment.
14720 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14722         [BZ #19861]
14723         Do not use IFUNC resolver with potentially unrelocated symbol.
14724         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14725         (DEFINE_FORK): Remove macro and inline definition.
14726         (fork_alias): Renamed from fork_ifunc.
14727         (__fork_alias): Renamed from __fork_ifunc.
14729 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14731         [BZ 19653]
14732         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14733         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14735 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14737         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14738         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14739         i386-linux-gnu).
14740         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14741         Set to no.
14742         * sysdeps/mach/hurd/configure: Refresh.
14744 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14746         [BZ #20178]
14747         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14748         on failure instead of exit.
14750 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14752         [BZ #3629]
14753         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14754         of POSIX.1-2008.
14756 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14758         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14759           Use PLT entry for calling _hurd_self_sigstate.
14761 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14763         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14764         available logical processors with SMT level type sharing L2
14765         cache for Intel processors.
14767 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14769         [BZ #20160]
14770         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14771         argument to itself before returning the result.
14772         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14773         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14774         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14775         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14776         Likewise.
14777         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14778         Likewise.
14779         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14780         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14781         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14782         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14783         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14784         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14786         [BZ #20160]
14787         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14788         argument to itself before returning the result.
14789         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14790         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14791         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14792         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14793         Likewise.
14794         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14795         Likewise.
14796         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14797         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14798         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14799         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14800         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14801         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14803 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14805         * libm-test.inc: Replace usage of M_El with
14806         (lit_e): New macro.
14808 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14810         * libm-test.inc: Replace usage of M_PI_4l with
14811         (lit_pi_4_d): New macro.
14813 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14815         * libm-test.inc: Replace usage of M_PIl with
14816         (lit_pi): New macro.
14818 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14820         * libm-test.inc: Replace usage of M_PI2l with
14821         (lit_pi_2_d): New macro.
14823         * math/test-double.h (LITM): New macro.
14824         * math/test-float.h (LITM): Likewise.
14825         * math/test-ldouble.h (LITM): Likewise.
14827 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14829         * libm-test.inc (M_PI_34l): Rename to
14830         (lit_pi_3_m_4_d): New Macro.
14831         (M_PI_34_LOG10El): Rename to
14832         (lit_pi_3_m_4_ln10_m_d): New Macro.
14833         (M_PI2_LOG10El): Rename to
14834         (lit_pi_2_ln10_m_d):  New Macro.
14835         (M_PI4_LOG10El): Rename to
14836         (lit_pi_4_ln10_m_d):  New Macro.
14837         (M_PI_LOG10El): Rename to
14838         (lit_pi_ln10_d):  New Macro.
14840 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14842         [BZ #20157]
14843         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14844         determine whether to negate low half if [_ARCH_PPCGR], and integer
14845         comparison otherwise.
14846         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14847         determine whether to negate low half.
14849         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14850         (NO_TEST_INLINE_DOUBLE): Likewise.
14851         (TEST_COND_x86_64): Likewise.
14852         (TEST_COND_x86): Likewise.
14853         (M_PI_6l): Likewise.
14855 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14857         * math/libm-test.inc:
14858         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14859         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14860         (TEST_LDOUBLE): Update usage to evaluate as true if
14861         the guarded tests match the property being tested.
14862         (LDBL_MAX_EXP): Change to MAX_EXP.
14863         (LDBL_MIN_EXP): Change to MIN_EXP.
14864         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14865         nexttoward tests.
14867 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14869         * math/libm-test.inc:
14870         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14871         (TYPE_MIN): Likewise.
14872         (TYPE_TRUE_MIN): Likewise.
14873         (TYPE_MAX): Likewise.
14874         (MIN_EXP): Likewise.
14875         (MAX_EXP): Likewise.
14876         (MANT_DIG): Likewise.
14878         (FSTR_MAX): New macro.
14879         (__CONCATX): Likewise.
14880         (QTYPE_STR): Likewise.
14881         (TEST_COND_binary32): Likewise.
14882         (TEST_COND_binary64): Likewise.
14883         (TEST_COND_binary128): Likewise.
14884         (TEST_COND_ibm128): Likewise.
14885         (TEST_COND_intel96): Likewise.
14886         (TEST_COND_m68k96): Likewise.
14888         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14889         (TEST_COND_dbl_64): Likewise.
14890         (TEST_COND_ldbl_96_intel): Likewise.
14891         (TEST_COND_ldbl_96_m68k): Likewise.
14892         (TEST_COND_ldbl_128): Likewise.
14893         (TEST_COND_ldbl_128ibm): Likewise.
14895         (plus_zero): Redefine using LIT macro.
14896         (minus_zero): Likewise.
14897         (plus_infty): Redefine as (INF).
14898         (minux_infty): Redefine as (-INF).
14899         (max_value): Redefine as TYPE_MAX.
14900         (min_value): Redefine as TYPE_MIN.
14901         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14903         (print_float): Refactor to use snprintf to convert FLOAT values
14904         to string. This brings it closer to dropin replacement of strtof
14905         for the TS 18661 defined types.
14906         (update_stats): Likewise.
14907         (print_complex_function_ulps): Likewise.
14908         (print_max_error): Likewise.
14909         (print_complex_max_error): Likewise.
14910         (check_float_internal): Likewise.
14912         * math/test-float.h (PREFIX): New macro.
14913         (LIT): Likewise.
14914         (TYPE_STR): Likewise.
14915         (FTOSTR): Likewise.
14917         * math/test-double.h (PREFIX): New macro.
14918         (LIT): Likewise.
14919         (TYPE_STR): Likewise.
14920         (FTOSTR): Likewise.
14922         * math/test-ldouble.h (PREFIX): New macro.
14923         (LIT): Likewise.
14924         (TYPE_STR): Likewise.
14925         (FTOSTR): Likewise.
14927 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14929         [BZ #20156]
14930         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14931         to itself when zero or not finite.
14932         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14933         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14934         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14935         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14937 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14939         [BZ #20153]
14940         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14941         x * x + x for infinities and NaNs.
14943         [BZ #20151]
14944         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14945         argument to itself before returning result.
14946         (__ieee754_y0l): Likewise.
14947         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14948         (__ieee754_y1l).
14950         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14951         (atan_test_data): Likewise.
14952         (ceil_test_data): Likewise.
14953         (cos_test_data): Likewise.
14954         (cosh_test_data): Likewise.
14955         (erf_test_data): Likewise.
14956         (exp2_test_data): Likewise.
14957         (fabs_test_data): Likewise.
14958         (floor_test_data): Likewise.
14959         (ilogb_test_data): Likewise.
14960         (j0_test_data): Likewise.
14961         (j1_test_data): Likewise.
14962         (jn_test_data): Likewise.
14963         (lgamma_test_data): Likewise.
14964         (lrint_test_data): Likewise.
14965         (llrint_test_data): Likewise.
14966         (logb_test_data): Likewise.
14967         (lround_test_data): Likewise.
14968         (llround_test_data): Likewise.
14969         (nearbyint_test_data): Likewise.
14970         (rint_test_data): Likewise.
14971         (round_test_data): Likewise.
14972         (sin_test_data): Likewise.
14973         (sincos_test_data): Likewise.
14974         (sinh_test_data): Likewise.
14975         (sqrt_test_data): Likewise.
14976         (tan_test_data): Likewise.
14977         (tanh_test_data): Likewise.
14978         (tgamma_test_data): Likewise.
14979         (trunc_test_data): Likewise.
14980         (y0_test_data): Likewise.
14981         (y1_test_data): Likewise.
14982         (yn_test_data): Likewise.
14984         * math/libm-test.inc: Update comment about NaN testing.
14985         (TEST_SNAN): New macro.
14986         (snan_value): Likewise.
14987         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14988         (fpclassify_test_data): Add sNaN tests.
14989         (isfinite_test_data): Likewise.
14990         (isinf_test_data): Likewise.
14991         (isnan_test_data): Likewise.
14992         (isnormal_test_data): Likewise.
14993         (issignaling_test_data): Likewise.
14994         (signbit_test_data): Likewise.
14995         * math/gen-libm-test.pl (%beautify): Add snan_value.
14996         (show_exceptions): Add argument $test_snan.
14997         (parse_args): Handle snan_value as non-finite.  Update call to
14998         show_exceptions.
14999         * math/Makefile (libm-test-no-inline-cflags): Add
15000         -fsignaling-nans.
15002 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15004         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15005         (CFLAGS-oldsendmsg.c): Add rule.
15006         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15007         Correct recvmsg symbol name.
15008         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15009         Likewise.
15011 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15013         * sysdeps/unix/sysv/linux/Makefile
15014         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15015         oldsendmmsg.
15016         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15017         sendmmsg.
15018         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15019         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15020         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15021         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15023         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15024         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15026         Likewise.
15027         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15028         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15029         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15030         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15031         iovlen and controllen fields to adjust to POSIX specification.
15032         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15034         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15035         and change to correct expected type.
15036         (msghdr.msg_controllen): Likewise.
15037         (cmsghdr.cmsg_len): Likewise.
15038         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15039         expected POSIX assumption about the size.
15040         (msghdr.msg_controllen): Likewise.
15041         (msghdr.__glibc_reserved1): Likewise.
15042         (msghdr.__glibc_reserved2): Likewise.
15043         (cmsghdr.cmsg_len): Likewise.
15044         (cmsghdr.__glibc_reserved1): Likewise.
15045         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15046         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15047         (CFLAGS-sendmsg.c): Remove rule.
15048         (CFLAGS-recvmsg.c): Likewise.
15049         (CFLAGS-oldsendmsg.c): Add rule.
15050         (CFLAGS-oldrecvmsg.c): Likewise.
15051         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15052         recvmsg and sendmsg.
15053         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15054         Likewise.
15055         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15056         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15057         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15058         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15059         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15060         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15061         Likewise.
15062         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15063         Likewise.
15064         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15065         Likewise.
15066         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15067         Likewise.
15068         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15069         Likewise.
15070         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15071         Likewise.
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15073         (GLIBC_2.24): Likewise.
15074         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15075         Likewise.
15076         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15077         Likewise.
15078         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15079         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15080         Likewise.
15081         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15082         Likewise.
15083         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15084         Likewise.
15085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15086         (GLIBC_2.24): Likewise.
15087         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15088         Likewise.
15089         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15090         Likewise.
15091         * sysdeps/unix/sysv/linux/Makefile
15092         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15093         (CFLAGS-sendmsg.c): Add rule.
15094         (CFLAGS-recvmsg.c): Likewise.
15095         (CFLAGS-oldsendmsg.c): Likewise.
15096         (CFLAGS-oldrecvmsg.c): Likewise.
15097         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15098         initialization.
15099         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15100         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15101         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15102         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15103         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15104         iovlen and controllen fields to adjust to POSIX specification.
15105         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15106         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15107         added recvmsg and sendmsg.
15108         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15109         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15110         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15111         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15112         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15113         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15114         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15115         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15116         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15117         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15118         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15119         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15121         Likewise.
15122         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15124         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15125         Likewise.
15126         Likewise.
15127         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15128         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15129         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15130         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15131         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15132         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15134         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15136         Likewise.
15137         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15138         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15140         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15141         from auto-generation.
15142         (sendmsg): Likewise.
15143         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15144         (sendmsg): Likewise.
15145         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15146         (sendmsg): Likewise.
15147         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15148         (sendmsg): Likewise.
15149         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15150         (sendmsg): Likewise.
15151         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15152         (sendmsg): Likewise.
15153         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15154         Likewise.
15155         (sendmsg): Likewise.
15156         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15157         (sendmsg): Likewise.
15158         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15160         Remove.
15161         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15162         Likewise.
15163         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15164         Undefine.
15165         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15166         Likewise.
15167         * sysdeps/unix/sysv/linux/kernel-features.h
15168         (__ASSUME_SENDMSG_SYSCALL): Define.
15169         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15170         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15172         Remove.
15173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15174         Likewise.
15175         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15176         Undefine.
15177         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15178         Likewise.
15179         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15181         Remove.
15182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15183         Likewise.
15184         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15185         Undefine.
15186         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15187         Likewise.
15188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15189         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15190         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15191         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15192         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15193         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15194         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15195         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15196         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15198 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15200         * stdlib/gen-tst-strtod-round.c: Add backslash to
15201         compile command in comment.
15202         (printfp): Remove the literal suffix, and define an infinite
15203         value as INF to avoid expansion clash with INFINITY.
15204         (round_str): Remove the literal suffix.
15205         (round_for_all): Likewise, remove the now duplicate ldbl-64
15206         entry, and remove some magic constants.
15208         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15209         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15210         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15211         (_CONCAT): New macro.
15212         (CONCAT): Likewise.
15213         (CHOOSE_ld): Likewise.
15214         (CHOOSE_f): Likewise.
15215         (CHOOSE_d): Likewise.
15216         (FTYPE_MEMBER): Likewise.
15217         (BOOL_MEMBER): Likewise.
15218         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15219         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15220         (_XNTRY): Likewise.
15221         (XNTRY): Likewise.
15222         (_ENTRY): Likewise.
15223         (ENTRY): Likewise.
15224         (test_exactness): Generate members via macro.
15225         (test_results): Likewise.
15226         (test): Update members.
15227         (TEST): Redefine using new macros.
15228         (INF): New macro.
15229         (fetestmodes): New structure.
15230         (do_test): Refactor to be type generic.
15231         (test_in_one_mode): Refactor duplicate code into
15232         (GEN_ONE_TEST): New macro.
15234         * stdlib/tst-strtod-round-data.h: Regenerate.
15236         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15237         Extend to pass additional arbitrary parameters to
15238         generators.
15240 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15242         [BZ #15479]
15243         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15244         floating-point state after first floating-point operation on
15245         input.  Restore full floating-point state instead of just rounding
15246         mode.
15247         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15248         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15249         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15250         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15251         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15253         [BZ #15479]
15254         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15255         floating-point state after first floating-point operation on
15256         input.  Restore full floating-point state instead of just rounding
15257         mode.
15258         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15259         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15260         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15261         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15262         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15264 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15266         [BZ #19727]
15267         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15268         valid high surrogate.
15269         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15270         of an utf16 surrogate.
15271         * iconv/gconv_simple.c (BODY): Likewise.
15272         * iconvdata/bug-iconv12.c: New file.
15273         * iconvdata/Makefile (tests): Add bug-iconv12.
15275 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15277         [BZ #19726]
15278         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15279         outptrp in case of an illegal input.
15280         * iconv/tst-iconv6.c: New file.
15281         * iconv/Makefile (tests): Add tst-iconv6.
15283 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15285         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15286         an error in case of a value in range of an utf16 low surrogate.
15288 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15290         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15291         an error in case of a value in range of an utf16 low surrogate.
15293 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15295         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15296         Move to ...
15297         * sysdeps/s390/Makefile: ... here.
15298         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15299         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15300         (BRANCH_ON_COUNT): New define.
15301         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15302         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15303         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15304         run on s390-32, too.
15305         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15306         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15307         run on s390-32, too.
15308         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15309         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15310         run on s390-32, too.
15312 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15314         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15315         etf3eh or new vector loop-variant.
15317 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15319         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15320         etf3eh or new vector loop-variant.
15322 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15324         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15325         or new vector loop-variant.
15327 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15329         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15330         Rename to TR_LOOP and usage of tr instead of troo instruction.
15332 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15334         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15335         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15337 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15339         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15340         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15341         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15342         New override define.
15343         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15345 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15347         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15348         * sysdeps/s390/configure.ac: Add test for S390 vector register
15349         support in gcc.
15350         * sysdeps/s390/configure: Regenerated.
15352 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15354         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15355         Install file from $(objpfx)gconv-modules.
15356         ($(objpfx)gconv-modules): Concatenate architecture specific file
15357         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15358         * sysdeps/s390/gconv-modules: New file.
15359         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15360         Deleted.
15361         ($(objpfx)gconv-modules-s390): Deleted.
15362         (sysdeps-gconv-modules): New variable.
15364 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15366         [BZ #15479]
15367         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15368         of immediate operand to rounding instruction.
15369         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15370         Likewise.
15371         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15372         Likewise.
15373         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15374         Likewise.
15376 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15378         * math/libm-test.inc (MIN_EXP): Directly define as
15379         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15381 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15383         * math/libm-test.inc (MANT_DIG): Directly define as
15384         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15386 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15388         * stdlib/gen-tst-strtod-round.c (main):
15389           Change usage to more closely match the generated
15390           output.  Add usage and compilation instructions.
15391           (string_to_fp): Add and use FILE* parameter as
15392           output target.
15393           (print_fp): Likewise.
15394           (round_str): Likewise.
15395           (round_for_all): Likewise.
15396         * stdlib/tst-strtod-round.c (tests): Move into
15397         * stdlib/tst-strtod-round-data.h: New file.
15399 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15401         [BZ #15479]
15402         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15403         (__round): Do not force "inexact" exception.
15404         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15405         variable.
15406         (__round): Do not force "inexact" exception.
15407         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15408         (__roundf): Do not force "inexact" exception.
15409         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15410         (__roundl): Do not force "inexact" exception.
15411         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15412         (__roundl): Do not force "inexact" exception.
15413         * math/libm-test.inc (round_test_data): Do not allow spurious
15414         "inexact" exceptions.
15416         [BZ #15479]
15417         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15418         exception in comment.
15419         (huge): Remove variable.
15420         (__floor): Do not force "inexact" exception.
15421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15422         "inexact" exception in comment.
15423         (huge): Remove variable.
15424         (__floor): Do not force "inexact" exception.
15425         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15426         exception in comment.
15427         (huge): Remove variable.
15428         (__floorf): Do not force "inexact" exception.
15429         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15430         exception in comment.
15431         (huge): Remove variable.
15432         (__floorl): Do not force "inexact" exception.
15434         [BZ #15479]
15435         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15436         exception in comment.
15437         (huge): Remove variable.
15438         (__ceil): Do not force "inexact" exception.
15439         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15440         "inexact" exception in comment.
15441         (huge): Remove variable.
15442         (__ceil): Do not force "inexact" exception.
15443         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15444         (__ceilf): Do not force "inexact" exception.
15445         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15446         exception in comment.
15447         (huge): Remove variable.
15448         (__ceill): Do not force "inexact" exception.
15450 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15452         * config.h.in (BIND_NOW): New.
15453         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15454         * configure: Regenerated.
15455         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15456         indirect branch via the GOT slot.
15458 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15460         [BZ #19765]
15461         * sysdeps/s390/mempcpy.S: New File.
15462         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15463         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15464         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15465         Add mempcpy variants.
15466         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15467         (memcpy): Adjust to be usable from mempcpy entry point.
15468         (__memcpy_mvcle): Likewise.
15469         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15470         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15471         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15472         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15473         (__memcpy_z10): Likewise.
15474         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15476 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15478         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15479         Remove __GI_ symbol.
15480         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15481         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15482         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15483         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15484         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15485         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15487 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15489         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15490         Use cghi instead of chi to compare 64bit value.
15492 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15494         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15495         Jump to 1MB check before executing mvc-loop.
15497 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15499         [BZ #6527]
15500         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15501         unconditionally.
15502         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15504 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15506         * stdlib/tst-strtod6.c (do_test): Use new type generic
15507         invocation of the test function.
15508         (test): Refactor into ...
15509         (TEST_STRTOD): New macro base function.
15511 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15513         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15514         (TEST_STRTOD): New macro.
15515         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15517 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15519         * stdlib/tst-strtod6.c (do_test): Use new type generic
15520         invocation of the test function.
15521         (test): Refactor into ...
15522         (TEST_STRTOD): New macro base function.
15524 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15526         CVE-2016-4429
15527         [BZ #20112]
15528         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15529         payload.
15531 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15533         [BZ #20111]
15534         * bits/sockaddr.h (_SS_SIZE): Define.
15535         * bits/socket.h (_SS_SIZE): Remove.
15536         (_SS_PADSIZE): Adjust to account for all padding.
15537         (struct sockaddr_storage): Update comment.  Avoid implicit
15538         padding.
15539         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15540         (_SS_PADSIZE): Adjust to account for all padding.
15541         (struct sockaddr_storage): Update comment.  Avoid implicit
15542         padding.
15543         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15544         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15545         (_SS_PADSIZE): Adjust to account for all padding.
15546         (struct sockaddr_storage): Update comment.  Avoid implicit
15547         padding.
15548         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15549         __SS_SIZE is 126 in this version.
15550         * inet/tst-sockaddr.c: New file.
15551         * inet/Makefile (tests): Add tst-sockaddr.c
15552         (tst-sockaddr.c): Compile with non-strict aliasing.
15554 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15556         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15557         [XPG3 || XPG4].
15558         (NL_ARGMAX): Also expect for [XPG3].
15559         (NL_LANGMAX): Likewise.
15560         (NL_MSGMAX): Likewise.
15561         (NL_NMAX): Likewise.
15562         (NL_SETMAX): Likewise.
15563         (NL_TEXTMAX): Likewise.
15564         (NZERO): Likewise.
15565         (TMP_MAX): Likewise.
15566         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15567         variable.
15569         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15570         (PF_MAX): Update value.
15571         (AF_KCM): New macro.
15572         (SOL_NETBEUI): Likewise.
15573         (SOL_LLC): Likewise.
15574         (SOL_DCCP): Likewise.
15575         (SOL_NETLINK): Likewise.
15576         (SOL_TIPC): Likewise.
15577         (SOL_RXRPC): Likewise.
15578         (SOL_PPPOL2TP): Likewise.
15579         (SOL_BLUETOOTH): Likewise.
15580         (SOL_PNPIPE): Likewise.
15581         (SOL_RDS): Likewise.
15582         (SOL_IUCV): Likewise.
15583         (SOL_CAIF): Likewise.
15584         (SOL_ALG): Likewise.
15585         (SOL_NFC): Likewise.
15586         (SOL_KCM): Likewise.
15587         (MSG_BATCH): New enum value and macro.
15589 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15591         [BZ #18185]
15592         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15593         sharing L2 cache to 2 for Knights Landing.
15595 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15597         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15598         (FTW_DP): Do not expect for [XPG3 || XPG4].
15599         (FTW_SL): Do not expect for [XPG3].
15600         (FTW_SLN): Likewise.
15601         (FTW_PHYS): Likewise.
15602         (FTW_MOUNT): Likewise.
15603         (FTW_DEPTH): Likewise.
15604         (FTW_CHDIR): Likewise.
15605         (nftw): Likewise.
15606         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15607         variable.
15609 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15611         * manual/errno.texi: Fix various typos & grammar errors.
15613 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15615         * manual/intro.texi: Fix duplicated typo.
15617 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15619         [BZ #13304]
15620         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15621         <float.h>, <math_private.h> and <stdlib.h>.
15622         (add_split): New function.
15623         (mul_split): Likewise.
15624         (ext_val): New typedef.
15625         (store_ext_val): New function.
15626         (mul_ext_val): New function.
15627         (compare): New function.
15628         (add_split_ext): New function.
15629         (__fmal): After checking for Inf, NaN and zero, compute result as
15630         an exact sum of scaled double values in round-to-nearest before
15631         adding those up and adjusting for other rounding modes.
15632         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15633         tests of fma.
15634         * math/auto-libm-test-out: Regenerated.
15636 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15638         [BZ #20119]
15639         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15640         processor level type mask for CPUID with EAX == 11.
15642 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15644         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15645         logical threads if the HTT bit is 0.
15646         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15647         (index_cpu_HTT): Likewise.
15648         (reg_HTT): Likewise.
15650 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15652         [BZ #20115]
15653         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15654         Remove alignments on jump targets.
15656 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15658         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15659         (getpwent): Likewise.
15660         (setpwent): Likewise.
15661         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15662         variable.
15664         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15665         (remque): Likewise.
15666         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15667         variable.
15669 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15671         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15672         not being tested.
15674 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15677         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15678         call.
15679         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15680         (__condvar_cleanup1): Likewise.
15682 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15684         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15685         New
15686         (__pthread_unwind): Renamed to ...
15687         (PTHREAD_UNWIND): This.
15688         (__pthread_enable_asynccancel): Replace
15689         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15691 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15693         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15694         (CLONE_NEWCGROUP): New macro.
15696         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15697         (Q_GETNEXTQUOTA): New macro.
15699 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15701         [BZ #19907]
15702         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15703         buffer updated by the previous run.
15704         * string/test-memcpy.c (do_one_test): Likewise.
15705         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15706         * string/test-memmove.c (do_one_test): Likewise.
15708 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15710         [BZ #20094]
15711         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15712         not [__USE_XOPEN].
15713         (unlockpt): Likewise.
15714         (ptsname): Likewise.
15715         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15716         variable.
15718         [BZ #20076]
15719         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15720         instead of [__USE_UNIX98].
15721         (S_ISSOCK): Likewise.
15722         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15723         variable.
15725         [BZ #20074]
15726         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15727         [__USE_POSIX].
15728         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15729         variable.
15731         [BZ #20051]
15732         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15733         (ttyslot): Do not declare.
15734         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15735         (ttyslot): New prototype.
15736         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15737         variable.
15738         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15740 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15742         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15744 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15746         Fix race condition in tst-mallocfork2, use fewer resources.
15747         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15748         to current process group.
15749         (signal_sender): Yield in the non-sleeping case.
15751 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15753         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15754         (ecvt): Likewise.
15755         (fcvt): Likewise.
15756         (gcvt): Likewise.
15757         (getsubopt): Likewise.
15758         (grantpt): Likewise.
15759         (initstate): Likewise.
15760         (l64a): Likewise.
15761         (mktemp): Likewise.
15762         (mkstemp): Likewise.
15763         (ptsname): Likewise.
15764         (random): Likewise.
15765         (realpath): Likewise.
15766         (setstate): Likewise.
15767         (srandom): Likewise.
15768         (ttyslot): Likewise.
15769         (unlockpt): Likewise.
15770         (valloc): Likewise.
15772         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15773         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15774         variable.
15776 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15778         [BZ #20072]
15779         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15780         init_cpu_features only if SHARED is defined.
15781         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15783 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15785         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15786         non-inclusive caches on Intel processors.
15788 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15790         * malloc/malloc.c (dumped_main_arena_start)
15791         (dumped_main_arena_end): New variables.
15792         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15793         (do_check_chunk): Skip dumped fake mmapped chunks.
15794         (munmap_chunk): Likewise.
15795         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15796         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15797         mmapped chunks.
15798         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15799         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15800         and dumped_main_arena_end to cover the dumped heap.
15802 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15804         * conform/data/time.h-data (getdate_err): Do not expect for
15805         [XPG3].
15806         (getdate): Likewise.
15807         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15808         variable.
15810         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15811         (F_ULOCK): Likewise.
15812         (F_TEST): Likewise.
15813         (F_TLOCK): Likewise.
15814         (useconds_t): Likewise.
15815         (intptr_t): Do not expect for [XPG3] or [XPG4].
15816         (brk): Do not expect for [XPG3]
15817         (fchown): Likewise.
15818         (fchdir): Likewise.
15819         (ftruncate): Likewise.
15820         (getdtablesize): Likewise.
15821         (gethostid): Likewise.
15822         (getpagesize): Likewise.
15823         (getpgid): Likewise.
15824         (getsid): Likewise.
15825         (getwd): Likewise.
15826         (lchown): Likewise.
15827         (lockf): Likewise.
15828         (readlink): Likewise.
15829         (sbrk): Likewise.
15830         (setpgrp): Likewise.
15831         (setregid): Likewise.
15832         (setreuid): Likewise.
15833         (symlink): Likewise.
15834         (sync): Likewise.
15835         (truncate): Likewise.
15836         (ualarm): Likewise.
15837         (usleep): Likewise.
15838         (vfork): Likewise.
15839         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15840         variable.
15842         [BZ #20054]
15843         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15844         not [__USE_UNIX98].
15845         * conform/data/unistd.h-data (gethostname): Do not expect for
15846         [XPG3].
15848         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15849         [!POSIX] (S_IFBLK): Likewise.
15850         [!POSIX] (S_IFCHR): Likewise.
15851         [!POSIX] (S_IFIFO): Likewise.
15852         [!POSIX] (S_IFREG): Likewise.
15853         [!POSIX] (S_IFDIR): Likewise.
15854         [!POSIX] (S_IFLNK): Likewise.
15855         [!POSIX] (S_IFSOCK): Likewise.
15856         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15857         variable.
15858         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15860 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15862         * sysdeps/aarch64/memset.S (__memset):
15863         Rewrite of optimized memset.
15865 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15867         [BZ #19703]
15868         Partially async-signal-safe fork for single-threaded processes.
15869         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15870         variable.  Do not acquire and reset/release malloc and libio locks
15871         in single-threaded processes.
15872         * malloc/tst-mallocfork2.c: New file.
15873         * malloc/Makefile (tests): Add it.
15875 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15877         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15878         argument.  Use scratch buffer instead of extend_alloca.
15879         (gethosts): Use scratch buffer instead of extend_alloca.
15880         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15881         extend_alloca.
15882         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15884 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15886         [BZ #20055]
15887         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15888         instead of [__USE_UNIX98].
15889         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15890         [__USE_UNIX98].
15891         * conform/data/termios.h-data (tcgetsid): Do not expect for
15892         [XPG3].
15893         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15894         variable.
15895         (test-xfail-XPG4/termios.h/conform): Likewise.
15897 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15899         Do not use mcheck in localedef.
15900         * locale/programs/localedef.c (turn_on_mcheck)
15901         (__malloc_initialize_hook): Remove.
15903 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15905         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15906         * sysdeps/s390/s390-64/Makefile: Likewise.
15908 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15910         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15911         Remove ifunc-defines.sym.
15912         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15913         Likewise.
15914         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15915         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15916         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15917         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15918         rtld-global-offsets.sym.
15919         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15920         * sysdeps/x86/cpu-features-offsets.sym: This.
15921         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15922         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15924 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15926         [BZ #20073]
15927         * io/sys/stat.h (fchmod): Declare for
15928         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15929         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15930         variable.
15932         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15933         [XPG3] (S_IFSOCK): Likewise.
15934         [XPG3] (S_ISVTX): Likewise.
15935         [XPG3] (S_ISLNK): Likewise.
15936         [XPG3] (S_ISSOCK): Likewise.
15937         [XPG3] (fchmod): Likewise.
15938         [XPG3] (lstat): Likewise.
15939         [XPG3] (mknod): Likewise.
15941         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15942         [XPG3].  Expect type long and XFAIL for [XPG4].
15943         (st_blocks): Likewise.
15945         [BZ #20044]
15946         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15947         (pthread_atfork): New prototype.
15948         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15949         variable.
15951         [BZ #20043]
15952         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15953         prototype.
15955 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15957         [BZ #20017]
15958         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15959         gmtime.
15961 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15963         [BZ #19994]
15964         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15965         flag in _res.options.
15967 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15969         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15970         [XPG3 || XPG4].
15971         (blksize_t): Likewise.
15972         (clockid_t): Likewise.
15973         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15974         variable.
15975         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15977 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15979         * sysdeps/unix/sysv/linux/s390/init-first.c:
15980         Add VDSO_SYMBOL(getcpu).
15981         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15982         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15983         Add VDSO_SYMBOL(getcpu).
15984         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15985         New define HAVE_GETCPU_VSYSCALL.
15986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15988 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15990         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15991         instead of <sysdeps/x86_64/cacheinfo.c>.
15992         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15993         * sysdeps/x86/cacheinfo.c: Here.
15995 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15997         * malloc/malloc-internal.h: Adjust header file guard.
15999 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16001         [BZ #19787]
16002         * inet/getnameinfo.c (check_sprintf_result): New function.
16003         (CHECKED_SNPRINTF): New macro.
16004         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16005         to the host buffer.
16006         (gni_host_local): Use checked_copy to copy the host name.
16007         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16008         (gni_serv_local): Use checked_copy to copy the service name.
16009         (getnameinfo): Remove unnecessary truncation of result buffers.
16011 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16013         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16014         in case of inet_ntop failure.
16016 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16018         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16019         avoid long lines.
16020         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16021         variables.
16022         (gni_host_inet, gni_host_local): Add comment.
16023         (gni_host): Add comment.  Use temporary to avoid long lines.
16025 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16027         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16028         registers specifiers where general purpose registers specifiers should
16029         have been used.
16031 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16033         [BZ #19779]
16034         CVE-2016-1234
16035         Avoid copying names of directory entries.
16036         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16037         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16038         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16039         (struct readdir_result): New type.
16040         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16041         (GL_READDIR): New macros.
16042         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16043         (convert_dirent, convert_dirent64): New functions.
16044         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16045         convert_dirent64.  Adjust references to the readdir result.
16046         * sysdeps/unix/sysv/linux/i386/glob64.c:
16047         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16048         * posix/bug-glob2.c (LONG_NAME): Define.
16049         (filesystem): Add LONG_NAME.
16050         (my_DIR): Increase the size of room_for_dirent.
16052 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16054         [BZ #20041]
16055         * misc/sys/select.h (__need_timespec): Only define if
16056         [__USE_XOPEN2K].
16057         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16058         variable.
16059         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16060         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16061         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16063 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16064             Segher Boessenkool  <segher@gcc.gnu.org>
16066         [BZ #20004]
16067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16068         (__novec_swapcontext): Add missing load.
16070 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16072         [BZ #20023]
16073         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16074         <time.h>.
16075         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16076         variable.
16077         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16079 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16082         flags CLONE_VM compare.
16084 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16086         [BZ #20031]
16087         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16088         completely empty.
16090 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16092         [BZ #19573]
16093         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16094         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16095         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16096         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16097         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16098         (hesiod_free_list): Mark as hidden.
16099         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16100         res_set, res_get.
16101         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16102         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16103         (hesiod_init): Remove obsolete res_ninit call.
16104         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16105         (hesiod_bind): Do not call init.
16106         (get_txt_records): Use res_mkquery, res_send instead of
16107         res_nmkquery, res_nsend.
16108         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16109         instead of _nss_hesiod_init.
16110         (_nss_hesiod_initgroups_dyn): Likewise.
16111         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16112         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16113         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16115 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16117         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16118         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16120 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16122         * hesiod/hesiod.h: Remove RCS keyword.
16123         * hesiod/hesiod_p.h: Likewise.
16125         * hesiod/hesiod.c: Likewise.
16127 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16129         [BZ #12450]
16130         * locale/iso-639.def: Add Samogitian/sgs.
16132 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16134         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16136         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16138 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16139             Carlos O'Donell  <carlos@redhat.com>
16141         [BZ #19072]
16142         * grp/Makefile (headers): Add grp-merge.h
16143         (routines): Add grp-merge.
16144         * grp/getgrgid_r.c: Include grp-merge.h.
16145         (DEEPCOPY_FN): Define.
16146         (MERGE_FN): Define.
16147         * grp/getgrname_r.c: Include grp-merge.h.
16148         (DEEPCOPY_FN): Define.
16149         (MERGE_FN): Define.
16150         * grp/grp-merge.c: New file.
16151         * grp/grp-merge.h: New file.
16152         * include/grp-merge.h: New file.
16153         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16154         __copy_grp@GLIBC_PRIVATE.
16155         * manual/nss.texi (Actions in the NSS configuration): Describe
16156         return, continue, and merge.
16157         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16158         (DEEPCOPY_FN): Define.
16159         (MERGE_FN): Define.
16160         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16161         (DEEPCOPY_FN): Define.
16162         (MERGE_FN): Define.
16163         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16164         [!MERGE_FN]: Define __merge_einval.
16165         (CHECK_MERGE): Define.
16166         (REENTRANT_NAME): Process merge if do_merge is true.
16167         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16168         (__nss_getent_r): Likewise.
16169         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16170         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16172 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16174         [BZ #20012]
16175         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16176         length to calculate the buffer to read.
16177         (fmemopen_write): Set the buffer position based on bytes written.
16178         (fmemopen_seek): Return EINVAL for invalid whence modes.
16180         [BZ #19957]
16181         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16182         tst-getpid2.
16183         (test): Add tst-clone2.
16184         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16185         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16186         pid/tid fields for CLONE_VM.
16187         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16188         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16189         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16190         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16191         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16192         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16193         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16194         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16196         Likewise.
16197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16198         Likewise.
16199         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16200         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16201         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16202         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16203         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16204         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16205         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16206         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16208 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16210         [BZ #19642]
16211         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16212         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16213         (gni_serv_local, gni_serv): New functions extracted from
16214         getnameinfo.
16215         (getnameinfo): Call gni_host and gni_serv to perform the
16216         processing.  Always free scratch buffer.
16218 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16220         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16221         remaining bytes in the dest string, with zeros.
16223 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16225         [BZ #20010]
16226         CVE-2016-3706
16227         * sysdeps/posix/getaddrinfo.c
16228         (convert_hostent_to_gaih_addrtuple): New function.
16229         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16230         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16231         AF_INET data.
16233 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16235         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16236         callback function gl_readdir.
16237         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16238         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16239         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16240         memcpy to copy the name.
16241         * manual/pattern.texi (Calling Glob): Document requirements for
16242         implementations of the gl_readdir callback function.
16243         * manual/examples/mkdirent.c: New example.
16244         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16245         per the manual guidance.
16246         * posix/tst-gnuglob.c (my_readdir): Likewise.
16248 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16250         [BZ #20014]
16251         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16252         not [__USE_POSIX].
16253         (getchar_unlocked): Likewise.
16254         (putc_unlocked): Likewise.
16255         (putchar_unlocked): Likewise.
16256         (flockfile): Likewise.
16257         (ftrylockfile): Likewise.
16258         (funlockfile): Likewise.
16259         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16260         variable.
16261         (test-xfail-XPG4/stdio.h/conform): Likewise.
16263         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16264         Expect constant.
16265         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16266         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16267         variable.
16268         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16269         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16271         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16272         [__USE_LARGEFILE64] (off64_t): Likewise.
16273         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16274         variable.
16276 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16278         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16280 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16282         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16283         * resolv/res_init.c: Likewise.
16284         * resolv/res_mkquery.c: Likewise.
16286 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16288         * resolv/res_init.c (isascii): Do not define.  Use definition in
16289         <ctype.h>.
16290         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16291         (LOG_AUTH): Remove.
16292         (SPRINTF): Remove, adjust caller.
16293         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16295 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16297         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16298         SUNSECURITY conditional.
16299         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16301 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16303         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16304         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16305         Remove BSD-related preprocessor conditionals.
16306         * conf/portability.h: Remove.
16308 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16310         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16311         * resolv/res_data.c: Likewise.
16313 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16315         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16316         * resolv/res_data.c: Remove code conditional on ultrix.
16318 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16320         * resolv/res_init.c (RFC1535): Do not define.  Remove
16321         RFC1535 preprocessor conditionals.
16322         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16323         because there configuration options which make the resolver
16324         behavior different.
16326 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16328         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16329         RESOLVSORT preprocessor conditionals.
16330         * resolv/nss_dns/dns-host.c: Likewise.
16331         * resolv/res_init.c: Likewise.
16333 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16335         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16336         is never defined.
16338 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16340         * inet/inet_lnaof.c: Remove SCSS keyword.
16341         * inet/inet_mkadr.c: Likewise.
16342         * inet/inet_net.c: Likewise.
16343         * inet/inet_netof.c: Likewise.
16344         * inet/rcmd.c: Likewise.
16345         * inet/rexec.c: Likewise.
16346         * inet/ruserpass.c: Likewise.
16348 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16350         * resolv/inet_addr.c: Remove _LIBC conditionals.
16351         * resolv/res_data.c: Likewise.
16352         * resolv/res_init.c: Likewise.
16353         * resolv/res_mkquery.c: Likewise.
16354         * resolv/res_libc.c: Update comment.
16355         * resolv/README: Update.
16357 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16359         * resolv/gethnamaddr.c: Remove SCSS keyword.
16360         * resolv/herror.c: Likewise.
16361         * resolv/inet_addr.c: Likewise.
16362         * resolv/inet_net_ntop.c: Likewise.
16363         * resolv/inet_net_pton.c: Likewise.
16364         * resolv/inet_neta.c: Likewise.
16365         * resolv/inet_ntop.c: Likewise.
16366         * resolv/inet_pton.c: Likewise.
16367         * resolv/ns_date.c: Remove RCS keyword.
16368         * resolv/ns_name.c: Likewise.
16369         * resolv/ns_netint.c: Likewise.
16370         * resolv/ns_parse.c: Likewise.
16371         * resolv/ns_print.c: Likewise.
16372         * resolv/ns_samedomain.c: Likewise.
16373         * resolv/ns_ttl.c: Likewise.
16374         * resolv/nsap_addr.c: Likewise.
16375         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16376         * resolv/res_data.c: Remove RCS keyword.
16377         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16378         * resolv/res_init.c: Likewise.
16379         * resolv/res_mkquery.c: Likewise.
16380         * resolv/res_query.c: Likewise.
16381         * resolv/res_send.c: Likewise.
16383 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16385         * conform/data/stdio.h-data (fdopen): Expect also for
16386         [XPG3 || XPG4].
16388         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16389         (fseeko): Likewise.
16390         (ftello): Likewise.
16391         (ftrylockfile): Likewise.
16392         (funlockfile): Likewise.
16393         (getc_unlocked): Likewise.
16394         (getchar_unlocked): Likewise.
16395         (putc_unlocked): Likewise.
16396         (putchar_unlocked): Likewise.
16398 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16400         [BZ #19868]
16401         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16402         DNS packet syntax checks (which were not needed before).  Skip
16403         over non-PTR records.
16405 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16407         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16408         definition.  Include <stddef.h> instead.
16410 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16412         [BZ #19831]
16413         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16414         function.
16415         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16416         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16418 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16420         [BZ #19862]
16421         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16422         (getanswer_r): Do not call syslog.
16423         (gaih_getanswer_slice): Likewise.
16424         * resolv/gethnamaddr.c (AskedForGot): Remove.
16425         (getanswer): Do not call syslog.
16426         (gethostbyaddr): Likewise.
16428 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16430         * conform/data/signal.h-data (union sigval): Expect also if
16431         [XOPEN2K].
16432         (struct sigevent): Likewise.
16433         (SIGEV_NONE): Likewise.
16434         (SIGEV_SIGNAL): Likewise.
16435         (SIGEV_THREAD): Likewise.
16436         (SIGRTMIN): Likewise.
16437         (SIGRTMAX): Likewise.
16438         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16439         variable.
16440         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16442 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16444         [BZ #19830]
16445         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16446         (gaih_getanswer_slice): Likewise.
16447         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16448         Also check for availability of RR metadata.
16450 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16452         [BZ #19825]
16453         * resolv/res_send.c (send_vc): Remove early *resplen2
16454         initialization.  Set *resplen2 on socket error.  Call
16455         close_and_return_error for other errors.
16457 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16459         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16460         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16461         (SCM_IUCV_TRGCLS): New define.
16463 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16465         [BZ #20005]
16466         * libio/fmemopen.c (fmemopen_write): Update internal position after
16467         write.
16468         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16469         * stdio-common/tst-fmemopen4.c: New file..
16471 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16473         [BZ #19996]
16474         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16475         not [__USE_XOPEN2K].
16476         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16477         variable.
16479         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16480         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16481         variable.
16483         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16484         [__USE_XOPEN2K8].
16485         [__USE_LARGEFILE64] (off64_t): Likewise.
16486         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16487         variable.
16489 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16491         [BZ #19989]
16492         * libio/stdio.h (cuserid): Do not declare if
16493         [__USE_XOPEN2K && !__USE_GNU].
16494         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16495         variable.
16497 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16499         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16500         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16502         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16503         ifunc'ed strcspn.
16504         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16505         [EALIGN]: Removed.
16506         [END]: Likewise
16507         [STRSPN]: Define instead of the above to control symbol name.
16508         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16509         New file.
16510         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16511         Likewise.
16512         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16513         Likewise.
16514         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16515         Likewise.
16516         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16517         [INITIAL_MASK]: New macro.
16518         [STRCSPN]: Likewise.
16519         [UPDATE_MASK]: Likewise.
16520         [USE_AS_STRCSPN]: Likewise.
16522 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16524         [BZ #19931]
16525         * stdio-common/tst-vfprintf-width-prec.c: New file.
16526         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16527         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16528         (generated): Add mtrace-related files.
16529         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16530         (tst-%-mem.out): New pattern rule, replaces
16531         tst-printf-bz18872-mem.out.
16532         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16533         specifier, deallocate any previously allocated work buffer.
16535 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16537         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16538         Add nop before __startcontext, add explaining comments.
16540 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16542         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16543         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16544         completely different API.
16546         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16547         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16548         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16549         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16550         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16551         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16552         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16553         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16554         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16555         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16557 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16559         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16561 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16563         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16564         when it is the default of 0.
16566 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16568         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16569         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16570         (sysdep_routines): Add new strcasestr targets.
16571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16572         (__libc_ifunc_impl_list): Likewise.
16573         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16574         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16575         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16576         * sysdeps/powerpc/powerpc64/power8/Makefile:
16577         New file to add strcasestr-ppc64 to sysdep_routines.
16578         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16579         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16581 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16583         * benchtests/Makefile (wcsmbs-benchset): Include only for
16584         native builds and runs.
16585         (LOCALES): Likewise.
16586         (bench-build): Build timing-type here instead of the bench
16587         target.  Generate locale only for native builds.
16588         * benchtests/README: Add note for cross-building.
16590         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16592         * benchtests/README: Update README to include instructions on
16593         using bench-build.
16595         * Makefile.in (bench-build): New target.
16596         * Rules (PHONY): Add bench-build target.
16597         * benchtests/Makefile (bench): Depend on bench-build.
16598         (bench-build): New target.
16600 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16602         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16603         profil_reply_port.
16604         (profile_waiter): Do not initialize profil_reply_port.
16605         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16606         frequency instead of tick length in us.
16608 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16610         [BZ #18712]
16611         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16612         (__old_mempcpy_small): Likewise.
16613         (__old_strcpy_small): Likewise.
16614         (__old_stpcpy_small): Likewise.
16615         (__old_strpbrk_c2): Fix compat symbol name.
16616         (__old_strpbrk_c3): Likewise.
16617         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16618         (__mempcpy_small): Remove.
16619         (__strcpy_small): Remove.
16620         (__stpcpy_small): Remove.
16622 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16624         [BZ #19400]
16625         * locale/iso-639.def: Add the Talossan/tzl language.
16627 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16629         [BZ #16983]
16630         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16631         comment.  Add "ln" to strchr check on postal_fmt.
16633 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16635         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16636         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16637         tel_dom_fmt.
16639 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16641         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16642         (sysdep_routines): Added __strlen_power8.
16643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16644         __strlen_power8 entry.
16645         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16646         Implementation for POWER8.
16647         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16648         for __strlen_power8.
16649         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16650         Implementation for POWER8.
16652 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16654         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16656 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16658         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16659         Goldmont and Airmont processors.
16661 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16663         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16664         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16665         (__STRING2_SMALL_GET32): Remove.
16666         (memset): Remove.
16667         (__memset_1): Remove.
16668         (__memset_gc): Remove.
16669         (__mempcpy): Remove.
16670         (mempcpy): Remove.
16671         (__mempcpy_args): Remove.
16672         (strchr): Remove.
16673         (strcpy): Remove.
16674         (strcpy_args): Remove.
16675         (__stpcpy_args): Remove.
16676         (__strcmp_cc): Remove.
16677         (__strcmp_gc): Remove.
16678         (strstr): Remove.
16680 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16682         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16683         * nis/nis_call.c (nis_server_cache_add): Likewise.
16685 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16687         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16689 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16691         * malloc/arena.c (__malloc_fork_lock_parent)
16692         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16693         internal_function attribute.
16695 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16697         * stdio-common/printf_fp.c (__printf_fp_l):
16698         Rename ___printf_fp_l to __printf_fp_l and
16699         remove strong alias. Use libc_hidden_def instead
16700         of ldbl_hidden_def macro.
16702 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16704         Remove malloc hooks from fork handler.  They are no longer needed
16705         because malloc runs right before fork, and no malloc calls from
16706         other fork handlers are not possible anymore.
16707         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16708         declarations.
16709         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16710         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16711         (atfork_recursive_cntr): Remove.
16712         (__malloc_fork_lock_parent): Do not override malloc hooks and
16713         thread_arena.
16714         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16715         thread_arena.
16716         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16717         thread_arena instead of save_arena.
16719 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16721         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16722         (thread_atfork, thread_atfork_static): Remove.
16723         * sysdeps/mach/hurd/malloc-machine.h:
16724         (thread_atfork, thread_atfork_static): Remove.
16726 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16728         [BZ #19431]
16729         Run the malloc fork handler as late as possible to avoid deadlocks.
16730         * malloc/malloc-internal.h: New file.
16731         * malloc/malloc.c: Include it.
16732         * malloc/arena.c (ATFORK_MEM): Remove.
16733         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16734         Update comment.
16735         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16736         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16737         Remove outdated comment.
16738         (ptmalloc_init): Do not call thread_atfork.  Remove
16739         thread_atfork_static.
16740         * malloc/tst-malloc-fork-deadlock.c: New file.
16741         * Makefile (tests): Add tst-malloc-fork-deadlock.
16742         (tst-malloc-fork-deadlock): Link against libpthread.
16743         * manual/memory.texi (Aligned Memory Blocks): Update safety
16744         annotation comments.
16745         * sysdeps/nptl/fork.c (__libc_fork): Call
16746         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16747         __malloc_fork_unlock_child.
16748         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16750 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16752         [BZ #19613]
16753         Remove union wait.
16754         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16755         (w_stopsig, w_stopval): Remove.
16756         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16757         stat_loc argument.
16758         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16759         (__WAIT_STATUS_DEFN): Remove.
16760         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16761         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16762         (wait, wait3, wait4): Use int * for the stat_loc argument.
16763         * posix/wait.c (__wait): Likewise.
16764         * posix/wait3.c (__wait3): Likewise.
16765         * posix/wait4.c (__wait4): Likewise.
16766         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16767         (__WAIT_STATUS_DEFN): Remove.
16768         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16769         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16770         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16771         argument.
16772         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16773         * sysdeps/posix/wait3.c (__wait3): Likewise.
16774         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16775         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16776         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16777         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16778         stat_loc argument.
16779         * manual/process.texi (BSD Wait Functions): Remove union wait.
16781 2016-04-13  Andreas Schwab  <schwab@suse.de>
16783         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16784         (test-extras): Add tst-tlsalign-vars.
16785         * math/Makefile: Wrap long lines.
16786         (libm-vec-test-wrappers): Define.
16787         (test-extras): Add $(libm-vec-test-wrappers).
16788         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16789         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16790         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16791         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16792         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16793         (extra-test-objs): Add corresponding objects.
16795 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16797         [BZ #19928]
16798         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16799         New.
16800         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16801         times of shared cache size.
16802         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16803         (VMOVNT): New.
16804         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16805         (VMOVNT): Likewise.
16806         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16807         (VMOVNT): Likewise.
16808         (VMOVU): Changed to movups for smaller code sizes.
16809         (VMOVA): Changed to movaps for smaller code sizes.
16810         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16811         comments.
16812         (PREFETCH): New.
16813         (PREFETCH_SIZE): Likewise.
16814         (PREFETCHED_LOAD_SIZE): Likewise.
16815         (PREFETCH_ONE_SET): Likewise.
16816         Rewrite to use forward and backward loops, which move 4 vector
16817         registers at a time, to support overlapping addresses and use
16818         non temporal store if size is above the threshold and there is
16819         no overlap between destination and source.
16821 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16823         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16824         Include dl-vdso.
16825         * sysdeps/unix/sysv/linux/mips/Versions: Add
16826         __vdso_clock_gettime.
16827         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16828         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16829         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16830         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16831         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16832         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16833         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16834         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16835         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16837 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16839         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16840         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16842         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16843         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16844         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16847         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16849         syscalls generation.
16850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16851         [__NR_pwrite64] (__NR_write): Remove define.
16852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16853         [__NR_pwrite64] (__NR_write): Remove define.
16854         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16855         Remove define.
16856         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16857         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16858         Remove define.
16859         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16860         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16861         Linux implementation as base.
16862         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16864         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16865         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16866         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16867         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16870         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16871         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16872         syscall generation.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16874         [__NR_pread64] (__NR_pread): Remove define.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16876         [__NR_pread64] (__NR_pread): Likewise.
16877         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16878         define.
16879         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16880         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16881         Remove define.
16882         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16883         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16884         Linux implementation as base.
16885         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16886         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16887         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16889         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16890         definition.
16891         (__ALIGNMENT_COUNT): Likewise.
16892         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16893         (__ALIGNMENT_COUNT): Likewise.
16894         (SYSCALL_LL): New define.
16895         (SYSCALL_LL64): Likewise.
16896         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16897         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16898         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16899         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16901         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16902         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16903         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16904         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16905         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16906         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16908 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16910         [BZ #19865]
16911         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16912         original buffer before retry.
16914 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16916         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16917         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16918         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16919         GLRO(dl_auxv) list.
16920         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16921         including <ldsodefs.h>.
16922         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16924 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16926         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16927         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16928         $(CPPFLAGS).
16930 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16932         [BZ #17950]
16933         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16934         Add -mfpmath=387.
16936 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16938         * sysdeps/i386/configure.ac: Change == to = when calling test.
16939         * sysdeps/x86_64/configure.ac: Likewise.
16940         * sysdeps/i386/configure: Regenerated.
16941         * sysdeps/x86_64/configure: Likewise.
16943 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16945         [BZ #16137]
16946         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16947         * benchtests/bench-strcoll.c (input_files): Likewise.
16948         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16949         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16950         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16952 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16954         [BZ #19929]
16955         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16956         [__USE_XOPEN2K8 && !__USE_GNU].
16957         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16958         variable.
16960         [BZ #19925]
16961         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16962         define if [!__USE_MISC && __USE_XOPEN2K].
16963         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16964         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16965         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16966         Likewise.
16967         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16968         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16969         variable.
16970         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16972 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16974         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16975         (sysdep_routines): Add new strspn targets.
16976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16977         (__libc_ifunc_impl_list): Add strspn.
16978         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16979         New file.
16980         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16981         Likewise.
16982         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16983         Likewise.
16984         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16985         Likewise.
16987 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16989         * misc/hsearch_r.c: Include <limits.h>.
16991 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16993         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16995 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16997         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16998         (MEMCPY_SYMBOL): New.
16999         (MEMPCPY_SYMBOL): Likewise.
17000         (MEMMOVE_CHK_SYMBOL): Likewise.
17001         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17002         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17003         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17004         Provide alias for memcpy in libc.a and ld.so.
17006 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17008         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17009         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17010         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17011         Disabled fro now.
17012         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17013         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17015 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17017         * benchtests/Makefile (string-benchset): Add memcpy-large,
17018         memmove-large and memset-large.
17019         * benchtests/bench-memcpy-large.c: New file.
17020         * benchtests/bench-memmove-large.c: Likewise.
17021         * benchtests/bench-memmove-large.c: Likewise.
17022         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17024 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17026         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17027         32-bit displacement to avoid long nop between instructions.
17029 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17031         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17032         a comment on VMOVU and VMOVA.
17034 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17036         [BZ #19633]
17037         Use specified locale for number formatting in strfmon_l.
17038         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17039         (__nl_lookup_word): New inline functions.
17040         * include/printf.h (__print_fp_l): Declare.
17041         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17042         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17043         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17044         (___printf_fp): New function.
17045         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17046         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17047         * stdlib/tst-strfmon_l.c (do_test): New test.
17048         * stdlib/Makefile (tests): Add kt.
17049         (LOCALES): Build additional locales.
17050         (tst-strfmon_l.out): Require locales.
17052 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17054         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17055         if not in libc.
17056         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17057         Likewise.
17058         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17059         Likewise.
17060         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17061         Likewise.
17063 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17065         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17066         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17067         with unaligned_erms.
17068         (__memmove_erms): Skip if source == destination.
17069         (__memmove_unaligned_erms): Don't check source == destination
17070         first.
17072 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17074         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17075         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17077 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17079         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17080         * string/strspn.c (strspn): Likewise.
17082 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17084         * benchtests/bench-memset.c (do_test): Support 64-byte
17085         alignment.
17086         (test_main): Test 64-byte alignment.
17088 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17090         * benchtests/bench-memmove.c (test_main): Test 64-byte
17091         alignment.
17093 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17095         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17097 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17099         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17100         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17101         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17103         * string/strpbrk.c (strpbrk): Rewrite function.
17104         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17105         (__strpbrk_c2): Likewise.
17106         (__strpbrk_c3): Likewise.
17107         * string/string-inlines.c
17108         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17109         Likewise.
17110         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17111         Likewise.
17113         * string/strspn.c (strcspn): Rewrite function.
17114         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17115         (__strspn_c1): Remove inline function.
17116         (__strspn_c2): Likewise.
17117         (__strspn_c3): Likewise.
17118         * string/string-inlines.c
17119         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17120         compatibility symbol.
17121         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17122         Likewise.
17123         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17124         Likewise.
17125         * string/string-inlines.c: Include generic version.
17127 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17128             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17130         * string/Version (libc): Add GLIBC_2.24.
17131         * string/strcspn.c (strcspn): Rewrite function.
17132         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17133         (__strcspn_c1): Remove inline function.
17134         (__strcspn_c2): Likewise.
17135         (__strcspn_c3): Likewise.
17136         * string/string-inline.c
17137         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17138         compatibility symbol.
17139         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17140         Likewise.
17141         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17142         Likewise.
17143         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17145 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17147         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17148         Use ahi instead of aghi to adjust stack pointer.
17150 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17152         [BZ #19853]
17153         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17154         TEST to take significant digits as second parameter.
17155         [TEST]: Redefine in terms of TEST_N taking 30
17156         significant digits.
17157         (do_test): Add test case to demonstrate precision
17158         failure in the ldbl-128ibm printf.
17159         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17160         (__mpn_extract_long_double): Carry 7 extra intermediate
17161         bits of precision to aide computing difference when
17162         signs differ.
17164 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17166         [BZ #19881]
17167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17168         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17169         memset-avx512-unaligned-erms.
17170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17171         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17172         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17173         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17174         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17175         __memset_sse2_unaligned_erms, __memset_erms,
17176         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17177         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17178         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17179         file.
17180         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17181         Likewise.
17182         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17183         Likewise.
17184         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17185         Likewise.
17187 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17189         [BZ #19776]
17190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17191         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17192         memmove-avx512-unaligned-erms.
17193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17194         (__libc_ifunc_impl_list): Test
17195         __memmove_chk_avx512_unaligned_2,
17196         __memmove_chk_avx512_unaligned_erms,
17197         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17198         __memmove_chk_sse2_unaligned_2,
17199         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17200         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17201         __memmove_avx512_unaligned_erms, __memmove_erms,
17202         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17203         __memcpy_chk_avx512_unaligned_2,
17204         __memcpy_chk_avx512_unaligned_erms,
17205         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17206         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17207         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17208         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17209         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17210         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17211         __mempcpy_chk_avx512_unaligned_erms,
17212         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17213         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17214         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17215         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17216         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17217         __mempcpy_erms.
17218         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17219         file.
17220         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17221         Likewise.
17222         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17223         Likewise.
17224         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17225         Likewise.
17227 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17229         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17230         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17231         (La_s390_64_regs): Likewise.
17232         (La_s390_32_retval): Append vector register lrv_v24.
17233         (La_s390_64_retval): Likeweise.
17234         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17235         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17236         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17237         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17239 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17241         [BZ #19916]
17242         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17243         to create a non-vector/vector version for _dl_runtime_resolve and
17244         _dl_runtime_profile. Move implementation to ...
17245         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17246         (_dl_runtime_resolve) Save and restore fpr/vrs.
17247         (_dl_runtime_profile) Save and restore vrs and fix some issues
17248         if _dl_call_pltexit is called.
17249         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17250         Choose the correct resolver function if running on a machine with vx.
17251         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17252         to create a non-vector/vector version for _dl_runtime_resolve and
17253         _dl_runtime_profile. Move implementation to ...
17254         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17255         (_dl_runtime_resolve) Save and restore fpr/vrs.
17256         (_dl_runtime_profile) Save and restore vrs and fix some issues
17257         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17258         Choose the correct resolver function if running on a machine with vx.
17260 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17262         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17264 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17266         [BZ #19509]
17267         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17268         skip_map != NULL.
17269         * elf/tst-dlsym-error.c: New file.
17270         * elf/Makefile (tests): Add tst-dlsym-error.
17271         (tst-dlsym-error): Link against libdl.
17273 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17275         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17276         (__ASSUME_FUTIMESAT): Remove macro.
17277         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17279 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17281         [BZ #19879]
17282         CVE-2016-3075
17283         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17284         copy name.
17286 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17288         [BZ #19837]
17289         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17290         error if parse_line fails.
17292 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17294         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17295         (index_cpu_ERMS): Likewise.
17296         (reg_ERMS): Likewise.
17298 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17300         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17301         PER_LINUX_FDPIC): Add.
17303 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17306         memcpy-avx512-no-vzeroupper.
17307         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17308         to ...
17309         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17310         (MEMCPY): Don't define.
17311         (MEMCPY_CHK): Likewise.
17312         (MEMPCPY): Likewise.
17313         (MEMPCPY_CHK): Likewise.
17314         (MEMPCPY_CHK): Renamed to ...
17315         (__mempcpy_chk_avx512_no_vzeroupper): This.
17316         (MEMPCPY_CHK): Renamed to ...
17317         (__mempcpy_chk_avx512_no_vzeroupper): This.
17318         (MEMCPY_CHK): Renamed to ...
17319         (__memmove_chk_avx512_no_vzeroupper): This.
17320         (MEMCPY): Renamed to ...
17321         (__memmove_avx512_no_vzeroupper): This.
17322         (__memcpy_avx512_no_vzeroupper): New alias.
17323         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17325 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17327         [BZ #18858]
17328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17329         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17330         and mempcpy-avx512-no-vzeroupper.
17331         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17332         New.
17333         (MEMPCPY): Likewise.
17334         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17335         (MEMPCPY_CHK): New.
17336         (MEMPCPY): Likewise.
17337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17338         (MEMPCPY): Likewise.
17339         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17340         (MEMPCPY): Likewise.
17341         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17342         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17343         Likewise.
17344         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17345         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17347 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17348              Amit Pawar  <Amit.Pawar@amd.com>
17350         [BZ #19583]
17351         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17352         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17353         processors.  Set Fast_Copy_Backward for AMD Excavator
17354         processors.
17355         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17356         New.
17357         (index_arch_Fast_Unaligned_Copy): Likewise.
17358         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17359         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17361 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17363         [BZ #19791]
17364         * resolv/res_send.c (close_and_return_error): New function.
17365         (send_dg): Initialize *resplen2 after reopen failure.  Call
17366         close_and_return_error for error returns.  On error paths without
17367         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17368         successful return.
17370 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17372         [BZ #19860]
17373         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17374         zero if the compiler does not provide the AVX512F bit.
17376 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17378         [BZ #19848]
17379         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17380         from 8 to 4.
17381         (__ieee754_powl): Compare integer exponent against 4 not 8.
17382         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17383         from 8 to 4.
17384         (__ieee754_powl): Compare integer exponent against 4 not 8.
17385         * math/auto-libm-test-in: Add more tests of pow.
17386         * math/auto-libm-test-out: Regenerated.
17387         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17390 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17392         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17393         Make code unconditional.
17394         [!__NR_utimensat]: Remove conditional code.
17395         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17396         Make code unconditional.
17397         [!__NR_utimensat]: Remove conditional code.
17398         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17399         Make code unconditional.
17400         [!__NR_utimensat]: Remove conditional code.
17402 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17404         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17405         Make code unconditional.
17407 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17409         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17410         call-clobbered %eax on retry path.
17411         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17413 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17415         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17416         Don't set %rcx twice before "rep movsb".
17418 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17420         [BZ #19583]
17421         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17422         inline.  Check family before setting family, model and
17423         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17424         bits here.
17425         (init_cpu_features): Replace HAS_CPU_FEATURE and
17426         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17427         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17428         for Intel processors with usable AVX2.  Call get_common_indeces
17429         for other processors with family == NULL.
17430         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17431         (CPU_FEATURES_ARCH_P): Likewise.
17432         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17433         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17435 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17437         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17438         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17439         $(shared-thread-library) instead of hardcoding the path to libpthread.
17441 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17443         * sysdeps/unix/sysv/linux/kernel-features.h
17444         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17445         * sysdeps/unix/sysv/linux/getdents.c
17446         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17447         [!have_no_getdents64_defined]: Likewise.
17448         (__GETDENTS): Remove __have_no_getdents64 conditional.
17450 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17452         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17453         Remove macro.
17454         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17455         <kernel-features.h>.
17456         (signalfd) [__NR_signalfd4]: Make code unconditional.
17457         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17459 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17461         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17462         style.
17464 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17466         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17467         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17468         __pthread_unwind.
17469         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17470         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17471         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17472         (__condvar_cleanup1): Likewise.
17474 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17476         [BZ #19822]
17477         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17478         move it to the final $@ location.
17480 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17482         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17483         access where posix_spawn success and pid argument is null.
17484         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17485         success case.
17487 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17489         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17491         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17493         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17494         and __fcntl.
17495         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17496         __fcntl only.
17497         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17498         adding attribute_hidden to __open and __fcntl.
17500         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17501         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17502         depend on libc-modules.h,
17503         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17505 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17507         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17508         Remove macro.
17509         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17510         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17511         entry.
17513         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17514         Remove macro.
17515         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17516         include <kernel-features.h>.
17517         [!__ASSUME_FALLOCATE]: Remove conditional code.
17518         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17520 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17522         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17523         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17524         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17525         (_ZGVdN4v_cos_avx2): Likewise.
17526         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17527         (_ZGVdN4v_cos): Likewise.
17528         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17529         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17531         (_ZGVdN4v_exp_avx2): Likewise.
17532         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17533         (_ZGVdN4v_exp): Likewise.
17534         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17535         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17536         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17537         (_ZGVdN4v_log_avx2): Likewise.
17538         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17539         (_ZGVdN4v_log): Likewise.
17540         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17541         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17542         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17543         (_ZGVdN4vv_pow_avx2): Likewise.
17544         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17545         (_ZGVdN4vv_pow): Likewise.
17546         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17547         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17548         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17549         (_ZGVdN4v_sin_avx2): Likewise.
17550         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17551         (_ZGVdN4v_sin): Likewise.
17552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17553         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17555         (_ZGVdN4vvv_sincos_avx2): Likewise.
17556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17557         (_ZGVdN4vvv_sincos): Likewise.
17558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17559         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17560         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17561         (_ZGVbN4v_cosf_sse4): Likewise.
17562         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17563         (_ZGVdN8v_cosf_avx2): Likewise.
17564         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17565         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17567         (_ZGVbN4v_expf_sse4): Likewise.
17568         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17569         (_ZGVdN8v_expf_avx2): Likewise.
17570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17571         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17572         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17573         (_ZGVbN4v_logf_sse4): Likewise.
17574         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17575         (_ZGVdN8v_logf_avx2): Likewise.
17576         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17577         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17578         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17579         (_ZGVbN4vv_powf_sse4): Likewise.
17580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17581         (_ZGVdN8vv_powf_avx2): Likewise.
17582         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17583         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17584         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17585         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17587         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17588         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17589         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17591         (_ZGVbN4v_sinf_sse4): Likewise.
17592         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17593         (_ZGVdN8v_sinf_avx2): Likewise.
17594         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17595         Use JUMPTARGET to call callee.
17596         (WRAPPER_IMPL_SSE2_ff): Likewise.
17597         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17598         (WRAPPER_IMPL_AVX): Likewise.
17599         (WRAPPER_IMPL_AVX_ff): Likewise.
17600         (WRAPPER_IMPL_AVX_fFF): Likewise.
17601         (WRAPPER_IMPL_AVX512): Likewise.
17602         (WRAPPER_IMPL_AVX512_ff): Likewise.
17603         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17604         Likewise.
17605         (WRAPPER_IMPL_SSE2_ff): Likewise.
17606         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17607         (WRAPPER_IMPL_AVX): Likewise.
17608         (WRAPPER_IMPL_AVX_ff): Likewise.
17609         (WRAPPER_IMPL_AVX_fFF): Likewise.
17610         (WRAPPER_IMPL_AVX512): Likewise.
17611         (WRAPPER_IMPL_AVX512_ff): Likewise.
17612         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17614 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17616         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17617         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17618         qualifier.
17619         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17620         internal_function qualifiers.
17622 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17624         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17625         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17626         * math/atest-exp.c (exp_mpn): Mark chk unused.
17627         * math/atest-exp2.c (exp_mpn): Likewise.
17628         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17629         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17631 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17633         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17634         Remove macro.
17635         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17636         <kernel-features.h>.
17637         [__NR_ppoll]: Make code unconditional.
17638         [!__ASSUME_PPOLL]: Remove conditional code.
17640         * sysdeps/unix/sysv/linux/kernel-features.h
17641         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17642         (__ASSUME_ACCEPT4): Likewise.
17643         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17644         Define.
17645         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17646         Likewise.
17647         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17648         Likewise.
17649         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17650         Likewise.
17651         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17652         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17653         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17654         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17655         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17656         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17657         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17658         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17659         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17661         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17662         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17663         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17665         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17666         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17667         Likewise.
17668         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17669         Likewise.
17670         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17671         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17672         0x040300].
17673         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17674         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17675         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17676         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17677         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17678         0x030300].
17679         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17680         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17681         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17682         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17683         0x040300].
17684         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17685         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17687         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17688         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17689         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17690         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17691         0x030300].
17692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17693         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17694         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17695         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17696         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17697         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17698         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17700         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17701         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17702         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17703         0x040300].
17704         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17706         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17707         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17708         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17710         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17711         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17712         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17713         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17715         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17717         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17718         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17719         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17720         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17721         Likewise.
17722         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17723         Likewise.
17725 2016-03-15  Andreas Schwab  <schwab@suse.de>
17727         [BZ #19257]
17728         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17729         statp->_u._ext.nscount as loop count.
17731 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17733         * math/test-signgam-finite-c99.c: Also #undef
17734         __LIBC_INTERNAL_MATH_INLINES.
17735         * math/test-signgam-main.c: Likewise.
17737 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17739         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17740         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17741         (MADV_FREE): Likewise.
17742         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17743         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17744         EPOLLEXCLUSIVE.
17746 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17748         * timezone/README: Remove mention of checktab.awk. Mention wiki
17749         SharedSourceFiles.
17751 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17753         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17754         WUNTRACED.
17756 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17758         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17759         order to match the type of p when calling atomic_exchange_acq().
17761 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17763         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17764         cfi_offset calls.
17765         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17766         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17767         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17768         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17769         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17771 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17773         * timezone/checktab.awk: Removed.
17775 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17777         * manual/math.texi (Errors in Math Functions): Document relaxed
17778         accuracy goals for IBM long double.
17779         * math/libm-test.inc (test_exceptions): Always allow spurious
17780         "underflow" and "inexact" exceptions for IBM long double.
17782 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17784         [BZ #19762]
17785         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17786         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17787         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17788         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17789         (bit_arch_*): This for feature array.
17790         (bit_*): Renamed to ...
17791         (bit_cpu_*): This for cpu array.
17792         (index_*): Renamed to ...
17793         (index_arch_*): This for feature array.
17794         (index_*): Renamed to ...
17795         (index_cpu_*): This for cpu array.
17796         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17797         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17798         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17799         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17800         bit_##name with index_cpu_##name and bit_cpu_##name.
17801         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17802         bit_##name with index_arch_##name and bit_arch_##name.
17804 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17806         [BZ #19792]
17807         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17808         Terminate FDE before return label.
17810 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17812         [BZ #19790]
17813         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17814         (rintl): Define as macro.
17815         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17816         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17817         of fesetround.  Ensure results are evaluated before end of scope.
17818         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17819         USE_AS_NEARBYINTL and include s_rintl.c.
17820         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17821         Disable exception traps in new environment.
17822         (libc_feholdsetround_ppc_ctx): Likewise.
17824 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17826         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17827         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17828         (tst_audit10_aux) [__AVX512F__]: ... here.
17830 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17832         * include/sys/auxv.h: New file.
17834 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17836         [BZ #19759]
17837         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17839 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17841         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17842         operand modifier.
17843         (feclearexcept): Likewise.
17845 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17847         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17848         to reflect the entire 32-bit HWCAP.
17849         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17850         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17852 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17854         [BZ #19783]
17855         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17856         $(test-via-rtld-prefix).
17857         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17859 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17861         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17862         union wait.  Report any non-zero exit status as error.
17864 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17866         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17867         configured with --enable-hardcoded-path-in-tests.
17869 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17871         [BZ #19677]
17872         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17873         (__ieee754_remainderl): Put zero low parts in canonical form.
17874         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17875         file.  Based on
17876         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17877         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17878         with wrapper round test-fmodrem-ldbl-128ibm.c.
17879         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17880         file.
17881         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17882         Likewise.
17883         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17884         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17886 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17888         [BZ #19610]
17889         * elf/ldconfig.c (opt_link): Update comment.
17890         (options): Update help string for option -X.
17891         (search_dir): Unlink stale symbolic link only if updating symbolic
17892         links.
17893         * elf/tst-ldconfig-X.sh: New file.
17894         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17895         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17897 2016-03-07  Andreas Schwab  <schwab@suse.de>
17899         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17900         needed arguments.
17902 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17904         [BZ #15333]
17905         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17906         to lstat64.
17908 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17910         * libio/filedoalloc.c (isatty): Remove.
17911         (local_isatty): Add comment.  Call __isatty directly.
17912         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17913         * libio/wfiledoalloc.c (isatty): Remove.
17914         (_IO_wfile_doallocate): Update comment.
17916 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17918         [BZ #19269]
17919         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17920         tst-audit4-aux.o.
17921         (tst-audit10): Depend on tst-audit10-aux.o.
17922         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17923         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17924         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17925         instead of inline AVX code.
17926         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17927         instead of inline AVX512 code.
17928         * sysdeps/x86_64/tst-audit4-aux.c: New file
17929         * sysdeps/x86_64/tst-audit10-aux.c: New file
17931         [BZ #19648]
17932         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17934 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17936         [BZ #14750]
17937         [BZ #10354]
17938         [BZ #18433]
17939         * include/sched.h (__clone): Add hidden prototype.
17940         (__clone2): Likewise.
17941         * include/unistd.h (__dup): Likewise.
17942         * posix/Makefile (tests): Add tst-spawn2.
17943         * posix/tst-spawn2.c: New file.
17944         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17945         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17946         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17947         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17948         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17949         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17950         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17951         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17952         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17953         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17954         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17956         Likewise.
17957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17958         Likewise.
17959         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17960         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17961         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17962         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17963         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17964         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17965         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17966         * sysdeps/unix/sysv/linux/nptl-signals.h
17967         (____nptl_is_internal_signal): New function.
17968         * sysdeps/unix/sysv/linux/spawni.c: New file.
17970         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17971         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17972         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17973         * posix/tst-execvp2.c (do_test): Likewise.
17974         * posix/tst-execvp3.c (do_test): Likewise.
17975         * posix/tst-execvp4.c (do_test): Likewise.
17976         * posix/tst-execvpe1.c: New file.
17977         * posix/tst-execvpe2.c: Likewise.
17978         * posix/tst-execvpe3.c: Likewise.
17979         * posix/tst-execvpe4.c: Likewise.
17980         * posix/tst-execvpe5.c: Likewise.
17981         * posix/tst-execvpe6.c: Likewise.
17983         [BZ #19534]
17984         * posix/execl.c (execl): Remove dynamic memory allocation.
17985         * posix/execle.c (execle): Likewise.
17986         * posix/execlp.c (execlp): Likewise.
17988 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17990         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17991         Replace .text with .text.avx512.
17992         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17993         Likewise.
17995 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17997         * sysdeps/generic/libnsl.abilist: New file.
17998         * sysdeps/generic/libutil.abilist: New file.
18000 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18002         [BZ #19762]
18003         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18004         HAS_ARCH_FEATURE with Fast_Rep_String.
18005         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18006         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18007         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18008         Likewise.
18009         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18010         Likewise.
18011         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18012         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18013         Likewise.
18014         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18015         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18016         Likewise.
18018 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18020         [BZ #19745]
18021         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18022         with *%rax in call.
18024 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18026         [BZ #19745]
18027         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18028         with *__libc_start_main@GOTPCREL(%rip) in call.
18030 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18032         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18033         inside conditional for nonempty $(CXX).
18035         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18036         nonempty.
18038         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18039         to test for empty $(CXX) rather than $(CXX) of "no".
18041 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18043         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18045 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18046             H.J. Lu  <hongjiu.lu@intel.com>
18048         [BZ #18880]
18049         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18050         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18051         enable __memcpy_ssse3_back.
18053 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18055         [BZ #19758]
18056         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18057         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18059 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18061         [BZ #19490]
18062         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18063         (__fentry__): Likewise.
18065 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18067         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18068         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18070 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18072         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18073         __mcount_internal directly.
18074         (C_LABEL(__fentry__)): Likewise.
18075         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18076         directly.
18078 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18080         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18081         (__start_context): Call __setcontext directly.
18083 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18085         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18086         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18087         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18088         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18090         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18091         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18092         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18093         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18094         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18095         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18096         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18097         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18098         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18099         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18100         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18101         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18102         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18103         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18104         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18105         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18106         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18107         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18108         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18109         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18110         Remove conditional code.
18111         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18112         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18113         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18114         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18115         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18116         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18117         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18118         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18119         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18120         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18121         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18122         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18124 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18126         * NEWS (2.23): Fix typo in bug 19048 text.
18128 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18130         [BZ #14259]
18131         * Makeconfig: Rename msgcatdir to localedir.
18132         Rename inst_msgcatdir to inst_localedir.
18133         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18134         * config.make.in: Add localedir.
18135         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18136         (ldd-rewrite): Likewise.
18137         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18138         (install-others): Use inst_localedir.
18139         (CPPFLAGS): Use localedir.
18140         * locale/Makefile (locale-CPPFLAGS): Likewise.
18141         * po/Makefile (mo-installed): Use inst_localedir.
18143         [BZ #19575]
18144         * localedata/charmaps/GB18030: Update comments regarding PAU to
18145         non-PUA mappings.
18147 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18149         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18150         test for header.
18151         * sysdeps/unix/sysv/linux/configure: Regenerated.
18152         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18153         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18154         Remove conditional code.
18155         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18157         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18158         Define to 3.2.0.
18159         (arch_minimum_kernel): Likewise.
18160         * sysdeps/unix/sysv/linux/configure: Regenerated.
18161         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18162         Define to 2.6.32.
18163         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18164         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18165         (arch_minimum_kernel): Define to 2.6.32.
18166         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18167         * README: Document Linux 3.2 requirement.
18168         * manual/install.texi (Linux): Document Linux 3.2 headers
18169         requirement.
18170         * INSTALL: Regenerated.
18172 2016-02-24  Andreas Schwab  <schwab@suse.de>
18174         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18175         if !NO_LONG_DOUBLE.
18177 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18179         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18180         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18182 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18184         [BZ #19512]
18185         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18187 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18189         * posix/tst-dir.c: Include libc-internal.h.
18191 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18193         [BZ #19056]
18194         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18195         * manual/filesys.texi (Reading/Closing Directory): Mention
18196         deprecaion.
18197         * posix/tst-dir.c (main): Disable deprecation warning in test.
18199 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18201         [BZ #19679]
18202         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18203         Renamed to ...
18204         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18205         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18206         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18207         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18208         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18209         * sysdeps/x86_64/dl-trampoline.h
18210         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18211         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18213 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18215         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18217 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18219         * elf/elf.h (R_386_GOT32X): New.
18220         (R_386_NUM): Update.
18221         (R_X86_64_GOTPCRELX: New.
18222         (R_X86_64_REX_GOTPCRELX): New.
18223         (R_X86_64_NUM): Update.
18225 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18227         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18229 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18231         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18232         assign attr->stackaddr to it, and adjust it down when
18233         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18234         [_STACK_GROWS_UP]: Delete assert.
18235         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18236         Implement stack grows up logic.
18237         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18238         stack grows up logic.
18240 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18242         * NEWS: Update with 2.24 template.
18244 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #19678]
18247         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18248         Ensure +0.0 is returned when taking the next value below the least
18249         positive value.
18251 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18253         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18254         available.  Do not define NO_THREADS.
18255         * malloc/malloc.c: Do not check NO_THREADS.
18256         * malloc/arena.c: Likewise.
18258 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18260         * malloc/malloc.c (__libc_mallinfo): Update comment.
18261         (struct malloc_par): Remove max_total_mem member, it was always 0.
18262         (int_mallinfo): Store 0 into usmblks (no functional change).
18263         * malloc/hooks.c (struct malloc_state): Document that
18264         max_total_mem is always 0.
18265         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18266         always 0.
18267         * manual/memory.texi (Statistics of Malloc): Likewise.
18269 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18271         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18272         * malloc/arena.c (arena_max): Remove.
18273         (heap_trim, _int_new_arena): Do not update arena_max.
18275 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18277         * resolv/res_init.c (res_ninit): Update comment.
18279 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18281         [BZ #19505]
18282         * posix/spawn_int.h: Add headers and include guard.
18283         (__spawn_valid_fd): New function.
18284         * posix/spawn_faction_addopen.c
18285         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18286         * posix/spawn_faction_addclose.c
18287         (posix_spawn_file_actions_addclose): Likewise.
18288         * posix/spawn_faction_adddup2.c
18289         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18290         second file descriptor.
18291         * posix/spawn_valid_fd.c: New file.
18292         * posix/tst-posix_spawn-fd.c: New file.
18293         * posix/Makefile (routines): Add spawn_valid_fd.
18294         (tests): Add tst-posix_spawn-fd.
18296 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18298         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18299         (do_test): Limit the number of arenas, so that we can use fewer
18300         outer threads.  Limit timeout to 3 seconds, in preparation for a
18301         larger TIMEOUT value.
18303 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18305         [BZ #19674]
18306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18307         sign in overflowing and underflowing results when overflow or
18308         underflow is detected early.  Include sign in result before rather
18309         than after scaling.
18311         [BZ #19603]
18312         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18313         (__ieee754_remainderl): Adjust sign of integer version of low part
18314         when taking absolute value of high part.
18315         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18316         * math/libm-test.inc (remainder_test_data): Add another test.
18317         (remquo_test_data): Likewise.
18319 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18321         [BZ #19602]
18322         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18323         equal high parts and both low parts zero specially.
18324         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18325         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18326         Add test-fmodl-ldbl-128ibm.
18328         [BZ #19595]
18329         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18330         common logic for all cases of shifting subnormal results.  Do not
18331         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18332         exponent to ldbl_insert_mantissa in subnormal case.
18334         [BZ #19594]
18335         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18336         on high and low parts then adjust result and use
18337         ldbl_canonicalize_int if needed.
18339         [BZ #19593]
18340         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18341         on high part and __floor or __ceil on low part then use
18342         ldbl_canonicalize_int if needed.
18344         [BZ #19592]
18345         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18346         high and low parts then use ldbl_canonicalize_int if needed.
18348         [BZ #17899]
18349         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18350         New function.
18351         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18352         on high and low parts then use ldbl_canonicalize_int if needed.
18354 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18356         * configure: Regenerated.
18358         * po/libc.pot: Regenerated.
18360         * po/be.po: Updated translation.
18361         * po/bg.po: Likewise.
18362         * po/ca.po: Likewise.
18363         * po/cs.po: Likewise.
18364         * po/da.po: Likewise.
18365         * po/el.po: Likewise.
18366         * po/eo.po: Likewise.
18367         * po/es.po: Likewise.
18368         * po/fi.po: Likewise.
18369         * po/fr.po: Likewise.
18370         * po/gl.po: Likewise.
18371         * po/hr.po: Likewise.
18372         * po/hu.po: Likewise.
18373         * po/ia.po: Likewise.
18374         * po/id.po: Likewise.
18375         * po/it.po: Likewise.
18376         * po/ja.po: Likewise.
18377         * po/lt.po: Likewise.
18378         * po/nb.po: Likewise.
18379         * po/nl.po: Likewise.
18380         * po/pt_BR.po: Likewise.
18381         * po/rw.po: Likewise.
18382         * po/sk.po: Likewise.
18383         * po/sl.po: Likewise.
18384         * po/sv.po: Likewise.
18385         * po/tr.po: Likewise.
18386         * po/zh_CN.po: Likewise.
18387         * po/zh_TW.po: Likewise.
18389         * version.h (RELEAES): Set to "development".
18390         (VERSION): Set to 2.23.90.
18392         * version.h (RELEASE): Set to "stable".
18393         (VERSION): Set to 2.23.
18394         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18396         * NEWS: Updated fixed bugs.
18398 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18399             Wilco Dijkstra  <wdijkstr@arm.com>
18401         [BZ #19462]
18402         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18403         (_STRING_INLINE_unaligned): This.
18404         * include/string.h: Include <string_private.h>.
18405         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18406         _STRING_INLINE_unaligned.
18407         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18408         (_STRING_INLINE_unaligned): New.
18409         * sysdeps/aarch64/string_private.h: New file.
18410         * sysdeps/generic/string_private.h: Likewise.
18411         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18412         * sysdeps/s390/string_private.h: Likewise.
18413         * sysdeps/x86/string_private.h: Likewise.
18414         * sysdeps/m68k/m680x0/m68020/bits/string.h
18415         (_STRING_ARCH_unaligned): Renamed to ...
18416         (_STRING_INLINE_unaligned): This.
18417         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18418         to ...
18419         (_STRING_INLINE_unaligned): This.
18420         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18421         to ...
18422         (_STRING_INLINE_unaligned): This.
18423         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18424         to ...
18425         (_STRING_INLINE_unaligned): This.
18427 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18428             H.J. Lu  <hongjiu.lu@intel.com>
18430         [BZ #19590]
18431         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18432         relocation.
18434 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18436         [BZ #18665]
18437         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18438         *herrno_p.
18439         (gaih_getanswer): Document functional behviour. Return tryagain
18440         if any result is tryagain.
18441         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18442         when freed.
18443         * resolv/res_send.c: Add copyright text.
18444         (__libc_res_nsend): Document that MAXPACKET is expected.
18445         (send_vc): Document. Remove buffer reuse.
18446         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18447         size of the buffer. Add Dprint for truncated UDP buffer.
18449 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18451         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18452         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18453         * INSTALL: Regenerate.
18455 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18456             Jonathan Wakely  <jwakely@redhat.com>
18457             Carlos O'Donell  <carlos@redhat.com>
18459         [BZ 19439]
18460         * math/Makefile (tests): Add test-math-isinff.
18461         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18462         * math/bits/mathcalls.h [__USE_MISC]: Use
18463         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18464         functions not in C++11 and which don't conflict e.g. isinff,
18465         isinfl etc.
18466         * math/test-math-isinff.cc: New file.
18468 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18470         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18472 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18474         [BZ #19529]
18475         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18477 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18479         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18481 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18483         [BZ #19550]
18484         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18485         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18486         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18487         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18488         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18489         New syscall entry.
18490         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18491         New syscall entry.
18492         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18493         syscall entry.
18495 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18497         [BZ #18240]
18498         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18499         unsigned int wraparound.
18501 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18503         [BZ #18240]
18504         * misc/bug18240.c: New test.
18505         * misc/Makefile (tests): Add it.
18507 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18508             Joseph Myers  <joseph@codesourcery.com>
18510         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18511         load in branch delay slot when less than a word of input left.
18513 2016-01-27  Andreas Schwab  <schwab@suse.de>
18515         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18516         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18517         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18518         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18520 2016-01-26  David S. Miller  <davem@davemloft.net>
18522         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18524 2016-01-25  David S. Miller  <davem@davemloft.net>
18526         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18527         __sqrtl_finite.
18528         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18529         instead using versioned_symbol.
18530         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18531         of entries.
18533         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18534         __sqrtl_finite to GLIBC_2.23
18536 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18538         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18540 2016-01-25  Andreas Schwab  <schwab@suse.de>
18542         [BZ #17514]
18543         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18544         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18545         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18546         * nptl/tst-mutex-errorcheck.c: New file.
18548 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18550         [BZ #18560]
18551         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18552         (IPCOP_semop): Likewise.
18553         (IPCOP_semget): Likewise.
18554         (IPCOP_semctl): Likewise.
18555         (IPCOP_msgsnd): Likewise.
18556         (IPCOP_msgrcv): Likewise.
18557         (IPCOP_msgget): Likewise.
18558         (IPCOP_msgctl): Likewise.
18559         (IPCOP_shmat): Likewise.
18560         (IPCOP_shmdt): Likewise.
18561         (IPCOP_shmget): Likewise.
18562         (IPCOP_shmctl): Likewise.
18564 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18566         * string/tst-endian.c: Include <libc-internal.h>.
18567         (do_test): Ignore tautological-compare warnings around
18568         "htobeXX (beXXtoh (i)) != i" and
18569         "htoleXX (leXXtoh (i)) != i" if-statements.
18571 2016-01-24  David S. Miller  <davem@davemloft.net>
18573         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18574         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18575         alias.
18576         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18577         __sqrtl_finite.
18579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18581 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18583         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18584         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18585         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18587 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18589         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18590         (thread_func): Use new function to simplify barrier check.
18591         (do_test): Use new function to simplify checking barrier exit
18592         code, and actually join the child thread.
18594 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18596         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18597         semicolon.
18598         (__libc_tend): Likewise.
18599         (__libc_tabort): Likewise.
18601 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18603         * sysdeps/nios2/libm-test-ulps: Update.
18604         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18605         (__gtsf2): Likewise.
18606         (__unorddf2): Likewise.
18607         (__unordsf2): Likewise.
18608         (__ledf2): Likewise.
18610 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18612         * nis/nis_table.c (__follow_path): Disable diagnostic for
18613         uninitialized variable that is a false positive for gcc 4.7.
18614         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18616 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18618         * sysdeps/nacl/lowlevellock-futex.h
18619         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18620         Always evaluate PRIVATE argument.
18622 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18624         [BZ #19490]
18625         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18626         (pthread_cond_broadcast): Use ENTRY/END
18627         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18628         (pthread_cond_signal): Likewise.
18629         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18630         Likewise.
18631         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18632         Likewise.
18633         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18634         Likewise.
18636 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18638         * sysdeps/ieee754/dbl-64/s_finite.c
18639         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18640         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18641         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18643         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18646         (__gtsf2): Add as optional for libc.so.
18647         (__unordsf2): Likewise.
18648         (__signbit): Remove for libc.so.
18649         (__signbitl): Likewise.
18651 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18653         * iconvdata/bug-iconv11.c (test_ibm93x):
18654         Use %zu printf format specifier for size_t argument.
18656 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18658         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18659         already-recorded ulps.
18660         * sysdeps/arm/libm-test-ulps: Regenerated.
18661         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18662         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18663         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18665 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18666             Paul Pluzhnikov  <ppluzhnikov@google.com>
18668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18669         assembler not supporting AVX-512.
18671 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18673         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18675 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18677         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18678         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18680         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18682         * sysdeps/arm/libm-test-ulps: Regenerated.
18684 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18686         [BZ #19451]
18687         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18689 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18691         [BZ #19486]
18692         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18693         * sysdeps/generic/fix-fp-int-convert-overflow.h
18694         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18695         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18696         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18697         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18698         Likewise.
18699         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18700         Avoid conversions to long int where inexact exceptions
18701         could be raised.
18702         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18703         Likewise.
18704         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18705         Avoid conversions to long long int where inexact exceptions
18706         could be raised.
18707         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18708         Likewise.
18710 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18712         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18713         * configure: Regenerated.
18715 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18717         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18719 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18721         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18722         outside of comment.
18724 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18726         * nptl/tst-barrier1.c: Add description on first line.
18727         * nptl/tst-barrier2.c: Likewise.
18728         * nptl/tst-barrier3.c: Likewise.
18729         * nptl/tst-barrier4.c: Likewise.
18730         * nptl/tst-barrier5.c: Likewise.
18732 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18734         [BZ #18868]
18735         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18737 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18741         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18742         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18743         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18744         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18745         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18746         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18747         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18748         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18749         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18751 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18753         [BZ #13065]
18754         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18755         new implementation.
18756         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18757         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18758         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18759         (BARRIER_IN_THRESHOLD): New macro.
18760         * nptl/pthread_barrierattr_setpshared.c
18761         (pthread_barrierattr_setpshared): Clean up.
18762         * nptl/tst-barrier4.c: Correct comment.
18763         * nptl/tst-barrier5.c: New file.
18764         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18765         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18766         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18767         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18768         * nptl/lowlevelbarrier.sym: Remove.
18769         * nptl/DESIGN-barrier.txt: Remove.
18770         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18771         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18772         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18773         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18774         error.
18775         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18776         implementation.
18778 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18780         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18781         (do_child): Mask SIGRTMIN while thr is running.
18783 2016-01-15  Martin Sebor  <msebor@redhat.com>
18785         [BZ #19432]
18786         * iconvdata/Makefile: Add bug-iconv11.
18787         * iconvdata/bug-iconv11.c: New test.
18788         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18789         * iconvdata/ibm933.c: Same.
18790         * iconvdata/ibm935.c: Same.
18791         * iconvdata/ibm937.c: Same.
18792         * iconvdata/ibm939.c: Same.
18794 2016-01-15  Martin Sebor  <msebor@redhat.com>
18796         [BZ #19443]
18797         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18798         [DEBUG] (_ufc_set_bits): Declare used.
18799         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18800         [DEBUG] (print_all): Declare used.
18801         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18802         operands of the ternary ?: expression to target type.
18803         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18804         calling the undeclared abort.
18805         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18807 2016-01-15  Martin Sebor  <msebor@redhat.com>
18809         [BZ #18755]
18810         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18811         warnings.
18812         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18813         (__gai_create_helper_thread): Same.
18814         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18815         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18816         to suppress -Wmaybe-uninitialized warnings.
18818 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18820         [BZ #19465]
18821         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18822         inside if.
18823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18824         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18825         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18827 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18829         [BZ #19466]
18830         * time/tst-mktime2.c (time_t_max): Removed.
18831         (time_t_min): Likewise.
18832         (TYPE_SIGNED): New.
18833         (TYPE_MINIMUM): Likewise.
18834         (TYPE_MAXIMUM): Likewise.
18835         (TIME_T_MIN): Likewise.
18836         (TIME_T_MAX): Likewise.
18837         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18838         and TIME_T_MIN.
18839         (do_test): Likewise.
18841 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18843         [BZ #19467]
18844         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18845         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18847 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18849         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18851 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18853         * benchtests/Makefile (PYTHON): Define.
18854         (bench-func): Use $(PYTHON) to run python scripts.
18855         ($(objpfx)bench-%.c): Likewise.
18857 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18859         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18860         leading slash when `file_name' is "/".
18862 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18864         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18865         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18868         Likewise.
18869         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18870         Likewise.
18871         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18872         enum constant and macro.
18873         (PTRACE_SETSIGMASK): Likewise.
18874         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18875         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18876         (PTRACE_GETSIGMASK): Likewise.
18877         (PTRACE_SETSIGMASK): Likewise.
18878         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18879         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18880         Likewise.
18881         (PTRACE_SETSIGMASK): Likewise.
18882         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18883         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18884         (PTRACE_GETSIGMASK): Likewise.
18885         (PTRACE_SETSIGMASK): Likewise.
18886         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18887         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18888         Likewise.
18889         (PTRACE_SETSIGMASK): Likewise.
18890         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18891         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18892         Likewise.
18893         (PTRACE_SETSIGMASK): Likewise.
18894         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18895         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18896         Likewise.
18897         (PTRACE_SETSIGMASK): Likewise.
18898         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18900 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18901             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18903         [BZ #19439]
18904         * math/bits/mathcalls.h
18905         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18906         prototype.
18907         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18909 2016-01-11  Andreas Schwab  <schwab@suse.de>
18911         [BZ #19253]
18912         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18913         cache when TZDEFRULES was used.
18914         * time/tst-tzname.c: New file.
18915         * time/Makefile (test): Add tst-tzname.
18916         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18917         * timezone/Makefile (test-zones): Add $(posixrules-file).
18918         ($(testdata)/$(posixrules-file)): New rule.
18920 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18922         Fix doc quoting problems with Texinfo 5
18923         Without this change, in the info file output, Texinfo 5 quotes code
18924         in text with undirected single quotes 'like this' and generates
18925         code examples that with many PDF readers cannot be cut out of PDFs
18926         and pasted into code.
18927         * manual/libc.texinfo: Configure the libc manual like the GNU
18928         Emacs manual, by using @documentencoding and setting
18929         txicodequoteundirected and txicodequotebacktick.  This way,
18930         Texinfo 5 quotes code in text with directed single quotes ‘like
18931         this’ and produces examples that can be cut out of PDFs.  This
18932         change causes Texinfo 5 to generate info files that contain UTF-8
18933         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18934         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18936 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18938         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18939         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18940         barriers to their respective compiler built-ins.
18941         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18942         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18943         * sysdeps/powerpc/sysdep.h: Likewise.
18944         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18945         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18946         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18948 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18950         * scripts/config.guess: Revert previous shebang change.
18951         * scripts/config.sub: Likewise.
18952         * scripts/mkinstalldirs: Likewise.
18954 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18956         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18957         PPC_FEATURE2_HAS_IEEE128.
18958         * sysdeps/powerpc/dl-procinfo.c:
18959         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18961 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18963         [BZ #19415]
18964         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18965         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18966         (_dl_lookup_address): Rewrite using function resolver trampoline.
18967         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18968         two bits in address.
18970 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18972         * longlong.h: Change !__SHMEDIA__ to
18973         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18974         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18976 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18977             Joseph Myers  <joseph@codesourcery.com>
18978             Mark Shinwell  <shinwell@codesourcery.com>
18979             Andrew Stubbs  <ams@codesourcery.com>
18980             Rich Felker <dalias@libc.org>
18982         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18984 2016-01-07  Richard Henderson  <rth@redhat.com>
18986         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18988 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18990         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18991         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18992         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18993         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18994         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18996 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18997             Joseph Myers  <joseph@codesourcery.com>
18999         * timezone/private.h: Update from tzcode 2015g.
19000         * timezone/tzfile.h: Likewise.
19001         * timezone/tzselect.ksh: Likewise.
19002         * timezone/zdump.c: Likewise.
19003         * timezone/zic.c: Likewise.
19004         * timezone/ialloc.c: Remove file.
19005         * timezone/scheck.c: Likewise.
19006         * timezone/Makefile (extra-objs): Remove variable.
19007         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19008         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19009         -Wno-maybe-uninitialized.
19010         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19011         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19012         (CFLAGS-ialloc.c): Remove variable.
19013         (CFLAGS-scheck.c): Likewise.
19014         * timezone/README: Update list of files from tzcode.
19016 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19018         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19019         instead of __fxprintf when _LIBC is undefined.
19021 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19023         * catgets/test-gencat.sh: Remove space after shebang.
19024         * conform/GlibcConform.pm: Likewise.
19025         * conform/check-header-lists.sh: Likewise.
19026         * conform/conformtest.pl: Likewise.
19027         * conform/linknamespace.pl: Likewise.
19028         * conform/list-header-symbols.pl: Likewise.
19029         * debug/catchsegv.sh: Likewise.
19030         * elf/genrtldtbl.awk: Likewise.
19031         * elf/tst-pathopt.sh: Likewise.
19032         * elf/tst-rtld-load-self.sh: Likewise.
19033         * grp/tst_fgetgrent.sh: Likewise.
19034         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19035         * iconvdata/gen-8bit-gap.sh: Likewise.
19036         * iconvdata/gen-8bit.sh: Likewise.
19037         * iconvdata/run-iconv-test.sh: Likewise.
19038         * intl/tst-gettext.sh: Likewise.
19039         * intl/tst-gettext2.sh: Likewise.
19040         * intl/tst-gettext4.sh: Likewise.
19041         * intl/tst-gettext6.sh: Likewise.
19042         * intl/tst-translit.sh: Likewise.
19043         * io/ftwtest-sh: Likewise.
19044         * libio/test-freopen.sh: Likewise.
19045         * locale/gen-translit.pl: Likewise.
19046         * malloc/tst-mtrace.sh: Likewise.
19047         * manual/check-safety.sh: Likewise.
19048         * manual/libc-texinfo.sh: Likewise.
19049         * manual/tsort.awk: Likewise.
19050         * manual/xtract-typefun.awk: Likewise.
19051         * nptl/tst-cancel-wrappers.sh: Likewise.
19052         * nptl/tst-tls6.sh: Likewise.
19053         * posix/globtest.sh: Likewise.
19054         * posix/tst-getconf.sh: Likewise.
19055         * posix/wordexp-tst.sh: Likewise.
19056         * scripts/check-c++-types.sh: Likewise.
19057         * scripts/check-local-headers.sh: Likewise.
19058         * scripts/config.guess: Likewise.
19059         * scripts/config.sub: Likewise.
19060         * scripts/cpp: Likewise.
19061         * scripts/cross-test-ssh.sh: Likewise.
19062         * scripts/documented.sh: Likewise.
19063         * scripts/evaluate-test.sh: Likewise.
19064         * scripts/gen-libc-abis: Likewise.
19065         * scripts/gen-sorted.awk: Likewise.
19066         * scripts/list-fixed-bugs.py: Likewise.
19067         * scripts/merge-test-results.sh: Likewise.
19068         * scripts/mkinstalldirs: Likewise.
19069         * scripts/rellns-sh: Likewise.
19070         * scripts/test-installation.pl: Likewise.
19071         * scripts/update-copyrights: Likewise.
19072         * stdio-common/tst-printf.sh: Likewise.
19073         * stdio-common/tst-unbputc.sh: Likewise.
19074         * stdlib/tst-fmtmsg.sh: Likewise.
19075         * stdlib/tst-setcontext3.sh: Likewise.
19076         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19077         * sysdeps/unix/make-syscalls.sh: Likewise.
19079 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19081         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19082         asm stw with atomic_exchange_rel.  Add explanatory comment.
19083         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19084         Likewise.
19086 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19088         [BZ #19122]
19089         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19090         * sysdeps/generic/dl-unistd.h: New file.
19091         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19093 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19095          [BZ #19122]
19096          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19097          * sysdeps/generic/dl-mman.h: New file.
19098          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19100 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19102         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19103         trailing whitespace removed.
19104         * scripts/config.guess: Update to version 2016-01-01.
19105         * scripts/config.sub: Update to version 2016-01-01.
19106         * scripts/move-if-change: Update from gnulib.
19108 2016-01-04  Anton Blanchard  <anton@samba.org>
19110         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19111         for array indices.
19112         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19114 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19116         * NEWS: Update copyright dates.
19117         * catgets/gencat.c (print_version): Likewise.
19118         * csu/version.c (banner): Likewise.
19119         * debug/catchsegv.sh: Likewise.
19120         * debug/pcprofiledump.c (print_version): Likewise.
19121         * debug/xtrace.sh (do_version): Likewise.
19122         * elf/ldconfig.c (print_version): Likewise.
19123         * elf/ldd.bash.in: Likewise.
19124         * elf/pldd.c (print_version): Likewise.
19125         * elf/sotruss.sh: Likewise.
19126         * elf/sprof.c (print_version): Likewise.
19127         * iconv/iconv_prog.c (print_version): Likewise.
19128         * iconv/iconvconfig.c (print_version): Likewise.
19129         * locale/programs/locale.c (print_version): Likewise.
19130         * locale/programs/localedef.c (print_version): Likewise.
19131         * login/programs/pt_chown.c (print_version): Likewise.
19132         * malloc/memusage.sh (do_version): Likewise.
19133         * malloc/memusagestat.c (print_version): Likewise.
19134         * malloc/mtrace.pl: Likewise.
19135         * manual/libc.texinfo: Likewise.
19136         * nptl/version.c (banner): Likewise.
19137         * nscd/nscd.c (print_version): Likewise.
19138         * nss/getent.c (print_version): Likewise.
19139         * nss/makedb.c (print_version): Likewise.
19140         * posix/getconf.c (main): Likewise.
19141         * scripts/test-installation.pl: Likewise.
19142         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19144         * All files with FSF copyright notices: Update copyright dates
19145         using scripts/update-copyrights.
19146         * intl/plural.c: Regenerated.
19147         * locale/programs/charmap-kw.h: Likewise.
19148         * locale/programs/locfile-kw.h: Likewise.
19150 2016-01-02  Helge Deller  <deller@gmx.de>
19152         [BZ #19285]
19153         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19154         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19155         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19156         (MADV_xxK_PAGES): Remove.
19158 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19160         [BZ #15421]
19161         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19162         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19163         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19164         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19166 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19168         [BZ #19408]
19169         * sysdeps/unix/sysv/linux/personality.c: New file.
19170         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19171         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19173         (sysdep_routines): Add personality.
19174         (tests): Add tst-personality.
19175         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19177         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19178         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19179         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19180         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19181         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19182         Likewise.
19183         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19184         Likewise.
19185         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19186         Likewise.
19187         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19188         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19189         Likewise.
19191 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19193         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19194         (PATH_ARM_SYSTYPE): Remove.
19195         (PATH_CPUINFO): Likewise.
19196         (IO_BASE_FOOTBRIDGE): Likewise.
19197         (IO_SHIFT_FOOTBRIDGE): Likewise.
19198         (struct platform): Likewise.
19199         (init_iosys): Remove compatibility code for 2.4 kernels.
19200         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19202 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19204         * malloc/tst-malloc-thread-fail.c: New file.
19205         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19206         (tst-malloc-thread-fail): Link against libpthread.
19208 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19210         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19211         (get_parser): New function.
19212         (main): New function.
19214 2015-12-29  Rob Wu  <rob@robwu.nl>
19216         [BZ #19369]
19217         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19219 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19221         [BZ #19270]
19222         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19224 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19226         [BZ #15421]
19227         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19229 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19231         [BZ #13690]
19232         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19233         after releasing it.
19234         (__lll_robust_unlock): Likewise.
19235         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19236         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19237         (lll_robust_unlock): Likewise.
19238         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19239         Prevent warnings in callers.
19241 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19243         * malloc/arena.c (list_lock): Update comment.
19245 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19247         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19248         __parse_hwcap_and_convert_at_platform to libc.a.
19250 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19252         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19253         platform and feature support for POWER9.
19254         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19255         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19256         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19257         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19258         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19259         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19260         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19261         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19263 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19265         Harmonize generic stdio-lock support with nptl
19267         This fixes build when _IO_funlockfile is a macro, fixes build where
19268         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19269         stack unwind.
19271         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19272         _IO_release_lock ): Use cleanup attribute on new
19273         _IO_acquire_lock_file variable instead of assuming that
19274         _IO_release_lock will be called.
19275         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19276         _IO_acquire_lock_needs_exceptions_enabled.
19277         (_IO_acquire_lock_clear_flags2): New macro.
19279 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19281         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19283 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19285         [BZ #19182]
19286         * malloc/arena.c (list_lock): Document lock ordering requirements.
19287         (free_list_lock): New lock.
19288         (ptmalloc_lock_all): Comment on free_list_lock.
19289         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19290         (detach_arena): Update comment.  free_list_lock is now needed.
19291         (_int_new_arena): Use free_list_lock around detach_arena call.
19292         Acquire arena lock after list_lock.  Add comment, including FIXME
19293         about incorrect synchronization.
19294         (get_free_list): Switch to free_list_lock.
19295         (reused_arena): Acquire free_list_lock around detach_arena call
19296         and attached threads counter update.  Add two FIXMEs about
19297         incorrect synchronization.
19298         (arena_thread_freeres): Switch to free_list_lock.
19299         * malloc/malloc.c (struct malloc_state): Update comments to
19300         mention free_list_lock.
19302 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19304         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19305         Remove functions.
19306         (sloww, sloww1): Accept argument to offset quadrant.
19307         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19308         quadrant.
19309         (__sin, __cos): Consolidate common code into new functions.
19310         (reduce_sincos_1, do_sincos_1): New functions.
19311         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19313         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19314         code to new functions.
19315         (reduce_sincos_2, do_sincos_2): New functions.
19316         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19319         common code for sincos.
19320         (__cos) [!IN_SINCOS]: Likewise.
19321         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19322         New function.
19323         (__sincos): Use it.
19325 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19327         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19328         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19329         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19331 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19333         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19336         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19337         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19338         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19339         index_Prefer_No_VZEROUPPER): New feature.
19340         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19341         Prefer_No_VZEROUPPER for Knights Landing.
19343 015-12-18  Torvald Riegel  <triegel@redhat.com>
19345         * math/atest-exp2.c (mp_exp_m1): Remove.
19347 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19349         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19350         syscalls.
19351         (__SYSCALL0): New macro.
19352         (__SYSCALL1): Likewise.
19353         (__SYSCALL2): Likewise.
19354         (__SYSCALL3): Likewise.
19355         (__SYSCALL4): Likewise.
19356         (__SYSCALL5): Likewise.
19357         (__SYSCALL6): Likewise.
19358         (__SYSCALL_CONCAT_X): Likewise.
19359         (__SYSCALL_CONCAT): Likewise.
19360         (__SYSCALL_DIST): Likewise.
19361         (__SYSCALL_CALL): Likewise.
19363 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19365         [BZ #19363]
19366         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19368 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19370         [BZ #19375]
19371         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19372         negative subnormals.
19374 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19377         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19378         (INTERNAL_SYSCALL_NCS): Use it.
19379         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19381 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19383         [BZ #19243]
19384         * malloc/arena.c (get_free_list): Remove assert and adjust
19385         reference count handling.  Add comment about reused_arena
19386         interaction.
19387         (reused_arena): Add comments abount get_free_list interaction.
19388         * malloc/tst-malloc-thread-exit.c: New file.
19389         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19390         (tst-malloc-thread-exit): Link against libpthread.
19392 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19394         [BZ #19367]
19395         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19396         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19397         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19398         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19399         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19401 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19403         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19404         Silvermont optimizations for Knights Landing.
19406 2015-12-15  Andreas Schwab  <schwab@suse.de>
19408         [BZ #17197]
19409         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19410         immediately after emitting SI.
19411         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19412         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19413         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19414         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19415         * iconvdata/bug-iconv10.c: New file.
19416         * iconvdata/Makefile (tests): Add bug-iconv10.
19417         ($(objpfx)bug-iconv10.out): New rule.
19419 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19421         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19422         aliasing violation.
19424 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19426         [BZ #18472]
19427         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19428         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19429         conditionals for them.
19430         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19431         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19433         sys/kdaemon.h.
19434         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19435         compat-only syscall, obsoleted in glibc 2.23.
19436         (create_module): Likewise.
19437         (get_kernel_syms): Likewise.
19438         (query_module): Likewise.
19439         (uselib): Likewise.
19440         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19442 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19444         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19445         <linux/version.h>.
19446         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19447         conditional code.
19448         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19449         and ioshift_name initialization.
19451 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19453         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19454         Fix indentation.
19456 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19458         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19460 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19462         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19464 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19465             Jakub Wilk  <jwilk@debian.org>
19467         [BZ #19347]
19468         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19469         to change the group of the device to the tty group.
19471 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19473         Split large string section; add truncation advice
19474         * manual/examples/strncat.c: Remove.
19475         This example was misleading, as the code would have undefined
19476         behavior if "hello" was longer than SIZE.  Anyway, the manual
19477         shouldn't encourage strncpy+strncat for this sort of thing.
19478         * manual/string.texi (Copying Strings and Arrays): Split into
19479         three sections Copying Strings and Arrays, Concatenating Strings,
19480         and Truncating Strings, as this section was way too long.  All
19481         cross-referenced changed.  Add advice about string-truncation
19482         functions.  Remove misleading strncat example.
19484 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19486         * manual/nss.texi (NSS Modules Interface): Document
19487         NSS_STATUS_NOTFOUND and SUCCESS.
19489 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19491         [BZ 18568]
19492         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19493         201505L, for Unicode 8.
19495 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19497         * locale/C-translit.h: Regenerate.
19499 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19501         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19502         and U+0153.
19504 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19506         [BZ #19351]
19507         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19508         expanding log(1+z), compare z rather than its square with epsilon
19509         to determine when to avoid evaluating the expansion.
19511         [BZ #19350]
19512         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19513         Increase overflow threshold.
19515         [BZ #19349]
19516         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19517         when small.
19519         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19521         New macro.
19522         [__LINUX_KERNEL_VERSION >= 0x040300]
19523         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19524         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19525         Likewise.
19526         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19527         Likewise.
19528         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19529         Likewise.
19530         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19531         Likewise.
19532         [__LINUX_KERNEL_VERSION >= 0x040300]
19533         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19534         [__LINUX_KERNEL_VERSION >= 0x040300]
19535         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19536         [__LINUX_KERNEL_VERSION >= 0x040300]
19537         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19538         [__LINUX_KERNEL_VERSION >= 0x040300]
19539         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19540         [__LINUX_KERNEL_VERSION >= 0x040300]
19541         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19543         Likewise.
19544         [__LINUX_KERNEL_VERSION >= 0x040300]
19545         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19547         Likewise.
19548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19549         Likewise.
19550         [__LINUX_KERNEL_VERSION >= 0x040300]
19551         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19553         Likewise.
19554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19555         Likewise.
19556         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19558         Likewise.
19559         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19560         Likewise.
19561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19562         Likewise.
19563         [__LINUX_KERNEL_VERSION >= 0x040300]
19564         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19566         Likewise.
19567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19568         Likewise.
19569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19570         Likewise.
19571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19572         Likewise.
19573         [__LINUX_KERNEL_VERSION >= 0x040300]
19574         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19575         [__LINUX_KERNEL_VERSION >= 0x040300]
19576         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19577         [__LINUX_KERNEL_VERSION >= 0x040300]
19578         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19579         [__LINUX_KERNEL_VERSION >= 0x040300]
19580         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19581         [__LINUX_KERNEL_VERSION >= 0x040300]
19582         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19583         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19584         Likewise.
19585         [__LINUX_KERNEL_VERSION >= 0x040300]
19586         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19588         Likewise.
19589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19590         Likewise.
19591         [__LINUX_KERNEL_VERSION >= 0x040300]
19592         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19594         Likewise.
19595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19596         Likewise.
19597         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19598         (__ASSUME_SOCKET_SYSCALL): Likewise.
19599         (__ASSUME_BIND_SYSCALL): Likewise.
19600         (__ASSUME_CONNECT_SYSCALL): Likewise.
19601         (__ASSUME_LISTEN_SYSCALL): Likewise.
19602         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19603         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19604         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19605         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19606         (__ASSUME_SEND_SYSCALL): Likewise.
19607         (__ASSUME_SENDTO_SYSCALL): Likewise.
19608         (__ASSUME_RECV_SYSCALL): Likewise.
19609         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19610         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19611         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19612         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19613         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19614         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19615         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19616         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19617         Likewise.
19618         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19619         Likewise.
19620         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19621         Likewise.
19622         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19623         Likewise.
19624         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19625         Likewise.
19626         [__LINUX_KERNEL_VERSION >= 0x020625]
19627         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19628         [__LINUX_KERNEL_VERSION >= 0x020625]
19629         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19630         [__LINUX_KERNEL_VERSION >= 0x020625]
19631         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19632         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19633         Likewise.
19634         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19635         Likewise.
19636         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19637         Likewise.
19638         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19639         Likewise.
19640         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19641         Likewise.
19642         [__LINUX_KERNEL_VERSION >= 0x020625]
19643         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19644         [__LINUX_KERNEL_VERSION >= 0x020625]
19645         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19646         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19647         Likewise.
19648         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19649         Likewise.
19651 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19653         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19654         record the current if the current ABI and CPU support the FP64
19655         extension.
19656         (has-modd-spreg): Define to record the current if the current ABI and
19657         CPU support 32-bit floating point values in odd FPU registers.
19658         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19659         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19660         $(has-modd-spreg) equals yes.
19661         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19662         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19663         $(has-modd-spreg) equal yes.
19665 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19667         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19668         basename.
19670 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19672         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19673         (bench-string): ... here.
19674         (bench): Add bench-string.
19675         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19676         to *-benchset to reflect what they are.
19677         (benchset): Adjust.
19679         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19680         cos-inputs.
19682 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19684         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19685         __attribute__ ((__simd__)) for vector math function declarations.
19687 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19689         Fix typo in strncat, wcsncat manual entries
19690         * manual/string.texi (Copying and Concatenation): Fix typos in
19691         sample implementations of strncat and wcsncat, by having them use
19692         the old value of the destination length, not the new one.
19694 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19696         [BZ #16961]
19697         [BZ #16962]
19698         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19699         string on the stack for strtod.
19700         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19701         a string on the stack for strtof.
19702         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19703         constructing a string on the stack for strtold.
19704         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19705         __strtold_nan to GLIBC_PRIVATE.
19706         * math/test-nan-overflow.c: New file.
19707         * math/test-nan-payload.c: Likewise.
19708         * math/Makefile (tests): Add test-nan-overflow and
19709         test-nan-payload.
19711 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19713         Consistency about byte vs character in string.texi
19714         * manual/string.texi (String and Array Utilities):
19715         Distinguish more carefully among bytes, multibyte characters,
19716         and wide characters.  Use "byte" when talking about C 'char',
19717         to distinguish it more clearly from multibyte characters.
19718         Say "wide character" or "multibyte character" instead of
19719         "character", when a wide or multibyte character is intended.
19720         Similarly for "multibyte string" versus "string".
19721         Define these terms more carefully.
19723 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19725         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19726         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19727         Likewise.
19728         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19729         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19730         * sysdeps/sh/math_private.h: New file.
19731         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19732         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19733         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19734         long double function name.
19735         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19736         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19738         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19741         Remove __finitel, __isinfl, and __isnanl.
19742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19743         Likewise.
19744         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19746         Remove __finitel.
19747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19748         Likewise.
19749         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19751 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19753         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19754         installed libmvec_nonshared.a.
19756 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19758         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19759         (sysdep_routines): Likewise.
19760         (sysdep-rtld-routines): Likewise.
19761         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19762         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19763         * sysdeps/powerpc/Versions: Added new
19764         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19765         * sysdeps/powerpc/hwcapinfo.c: New file.
19766         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19767         and parse hwcap, hwcap2 and platform number information.
19768         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19769         to store HWCAP+HWCAP2 and platform number.
19770         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19771         for HWCAP+HWCAP2 and platform number in the TCB.
19772         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19773         the HWCAP, HWCAP2 and platform number in the TCB.
19774         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19775         (TLS_INIT_TP): Included calls to add the hwcap and
19776         at_platform values in the TCB in TP initialization.
19777         (TLS_DEFINE_INIT_TP): Likewise.
19778         (THREAD_GET_HWCAP): New macro.
19779         (THREAD_SET_HWCAP): Likewise.
19780         (THREAD_GET_AT_PLATFORM): Likewise.
19781         (THREAD_SET_AT_PLATFORM): Likewise.
19782         * sysdeps/powerpc/powerpc32/dl-machine.h:
19783         (dl_platform_init): New function that calls
19784         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19785         powerpc32.
19786         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19787         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19788         this functionality, static linking case.
19789         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19790         linking case.
19791         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19792         __parse_hwcap_and_convert_at_platform for the static linking case.
19793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19794         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19795         ABI list for GLIBC 2.23.
19796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19797         Likewise.
19798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19799         Likewise.
19801 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19803         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19804         * configure: Regenerate.
19805         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19806         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19808 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19810         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19811         * iconvdata/ibm933.c: Likewise.
19812         * iconvdata/ibm935.c: Likewise.
19813         * iconvdata/ibm937.c: Likewise.
19814         * iconvdata/ibm939.c: Likewise.
19816 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19818         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19819         pthread_join.
19820         * nptl/tst-cancel21.c (tf): Likewise.
19822 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19824         [BZ #19313]
19825         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19826         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19827         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19828         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19829         Likewise.
19830         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19831         Likewise.
19832         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19833         Likewise.
19834         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19835         Likewise.
19836         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19837         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19838         unsigned long int with __CPU_MASK_TYPE.
19840 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19842         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19844 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19847         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19848         t512.x.
19849         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19851 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19853         [BZ #19214]
19854         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19855         argument to return extended model.  Update family and model
19856         with extended family and model when family == 0x0f.
19857         (init_cpu_features): Updated.
19859 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19861         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19862         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19864         * sysdeps/mach/hurd/mmap64.c: New file.
19866 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19868         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19869         rights for its main user thread in NEWTASK.
19871 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19873         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19874         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19876 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19878         [BZ #14259]
19879         * Makeconfig: Rename localedir to complocaledir.
19880         Rename inst_localedir to inst_complocaledir.
19881         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19882         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19883         * configure.ac: Use libc_cv_complocaledir.
19884         * configure: Regenerate.
19885         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19886         -DCOMPLOCALEDIR.
19887         * locale/findlocale.c: Use COMPLOCALEDIR.
19888         * locale/loadarchive.c: Likewise.
19889         * locale/programs/locale.c: Likewise.
19890         * locale/programs/localedef.c: Likewise.
19891         * locale/programs/locarchive.c: Likewise.
19892         * localedata/Makefile: Use inst_complocaledir.
19893         * sysdeps/gnu/configure: Regenerate.
19894         * sysdeps/hppa/configure: Regenerate.
19895         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19896         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19898         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19899         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19900         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19901         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19903 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19905         [BZ #19058]
19906         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19907         AS_NEEDED.
19908         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19909         workaround.
19910         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19911         libmvec-static-only-routines): Added new file.
19912         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19914 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19916         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19917         of interrupted RPC instead of restoring it.
19919         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19920         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19921         libc_hidden_def.
19922         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19923         into initialized data instead of common. Define rtld_hidden_data_def.
19924         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19925         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19926         libc_hidden_def.
19927         (if_freenameindex): Add libc_hidden_weak.
19928         (if_nameindex): Add libc_hidden_weak.
19929         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19930         __open64.
19931         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19932         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19933         * sysdeps/mach/nanosleep.c: Include <time.h>
19934         (__nanosleep): Rename to __libc_nanosleep.
19935         (__nanosleep): Add weak_alias.
19936         (nanosleep): Update alias.
19938 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19940         * stdlib/strtod_nan.c: New file.
19941         * stdlib/strtod_nan_double.h: Likewise.
19942         * stdlib/strtod_nan_float.h: Likewise.
19943         * stdlib/strtod_nan_main.c: Likewise.
19944         * stdlib/strtod_nan_narrow.h: Likewise.
19945         * stdlib/strtod_nan_wide.h: Likewise.
19946         * stdlib/strtof_nan.c: Likewise.
19947         * stdlib/strtold_nan.c: Likewise.
19948         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19949         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19950         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19951         * wcsmbs/wcstod_nan.c: Likewise.
19952         * wcsmbs/wcstof_nan.c: Likewise.
19953         * wcsmbs/wcstold_nan.c: Likewise.
19954         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19955         strtold_nan.
19956         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19957         wcstof_nan.
19958         * include/stdlib.h (__strtof_nan): Declare and use
19959         libc_hidden_proto.
19960         (__strtod_nan): Likewise.
19961         (__strtold_nan): Likewise.
19962         (__wcstof_nan): Likewise.
19963         (__wcstod_nan): Likewise.
19964         (__wcstold_nan): Likewise.
19965         * include/wchar.h (____wcstoull_l_internal): Declare.
19966         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19967         (____strtoull_l_internal): Remove declaration.
19968         (STRTOF_NAN): Define macro.
19969         (SET_MANTISSA): Remove macro.
19970         (STRTOULL): Likewise.
19971         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19972         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19973         (STRTOF_NAN): Define macro.
19974         (SET_MANTISSA): Remove macro.
19975         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19976         (SET_MANTISSA): Remove macro.
19977         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19978         macro.
19979         (SET_MANTISSA): Remove macro.
19980         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19981         macro.
19982         (SET_MANTISSA): Remove macro.
19983         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19984         (SET_MANTISSA): Remove macro.
19985         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19986         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19987         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19989         [BZ #19266]
19990         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19991         upper case and lower case letters inside NAN(), not using TOLOWER.
19992         * stdlib/tst-strtod-nan-locale-main.c: New file.
19993         * stdlib/tst-strtod-nan-locale.c: Likewise.
19994         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19995         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19996         Depend on $(gen-locales).
19997         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19998         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19999         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20000         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20001         Depend on $(gen-locales).
20002         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20004 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20006         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20008         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20010         __finitel, __isinfl, and __isnanl.
20011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20012         Likewise.
20013         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20015         __finitel.
20016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20017         Likewise.
20018         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20020 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20022         * malloc/memusage.c (me): Remove redundant getenv call.
20024 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20026         [BZ #19143]
20027         [BZ #19164]
20028         * nptl/check-cpuset.h: Remove.
20029         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20030         Remove CPU set size check.
20031         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20032         Likewise.
20033         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20034         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20035         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20036         (__pthread_setaffinity_new): Remove CPU set size check.
20037         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20038         (__kernel_cpumask_size): Remove.
20039         (__sched_setaffinity_new): Remove CPU set size check.
20040         * manual/threads.texi (Default Thread Attributes): Remove stale
20041         reference to check_cpuset_attr, determine_cpumask_size in comment.
20042         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20043         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20044         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20045         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20046         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20047         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20048         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20049         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20050         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20051         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20052         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20053         skeleton test file.
20054         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20055         tst-affinity-pid.
20057 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20059         * scripts/update-abilist.sh: New file.
20060         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20061         * Makerules (update-all-abi-%, update-all-abi)
20062         (subdir_update-all-abi): New targets.
20063         * elf/Makefile (update-all-abi): New target.
20065 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20067         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20068         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20069         (__libc_lock_define_initialized): Use it.
20070         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20071         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20072         * malloc/malloc.c (main_arena): Likewise.
20073         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20074         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20076 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20078         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20079         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20080         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20081         (PTRACE_O_MASK): Update value.
20082         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20083         New value in enum __ptrace_setoptions.
20084         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20085         (PTRACE_O_MASK): Update value.
20086         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20087         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20088         (PTRACE_O_MASK): Update value.
20089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20090         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20091         (PTRACE_O_MASK): Update value.
20092         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20093         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20094         (PTRACE_O_MASK): Update value.
20095         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20096         New value in enum __ptrace_setoptions.
20097         (PTRACE_O_MASK): Update value.
20098         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20099         New value in enum __ptrace_setoptions.
20100         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20101         (PTRACE_O_MASK): Update value.
20103         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20104         New macro.
20105         (PACKET_AUXDATA): Likewise.
20106         (PACKET_ORIGDEV): Likewise.
20107         (PACKET_VERSION): Likewise.
20108         (PACKET_HDRLEN): Likewise.
20109         (PACKET_RESERVE): Likewise.
20110         (PACKET_TX_RING): Likewise.
20111         (PACKET_LOSS): Likewise.
20112         (PACKET_VNET_HDR): Likewise.
20113         (PACKET_TX_TIMESTAMP): Likewise.
20114         (PACKET_TIMESTAMP): Likewise.
20115         (PACKET_FANOUT): Likewise.
20116         (PACKET_TX_HAS_OFF): Likewise.
20117         (PACKET_QDISC_BYPASS): Likewise.
20118         (PACKET_ROLLOVER_STATS): Likewise.
20119         (PACKET_FANOUT_DATA): Likewise.
20120         (PACKET_MR_UNICAST): Likewise.
20122         [BZ #19242]
20123         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20124         (TOUPPER): Likewise.
20125         * stdlib/tst-strtol-locale-main.c: New file.
20126         * stdlib/tst-strtol-locale.c: Likewise.
20127         * stdlib/Makefile (tests): Add tst-strtol-locale.
20128         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20129         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20130         Depend on $(gen-locales).
20131         * wcsmbs/tst-wcstol-locale.c: New file.
20132         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20133         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20134         tr_TR.ISO-8859-9.
20135         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20136         Depend on $(gen-locales).
20138 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20140         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20141         __glibc_likely instead of __builtin_expect.  After falling back to
20142         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20143         system interface to register the code pages as occupied.
20145 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20147         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20148         [!ARM_MATH_PRIVATE_H].
20149         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20150         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20151         [!HPPA_MATH_PRIVATE_H].
20152         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20153         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20154         to [!I386_MATH_PRIVATE_H].
20155         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20156         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20157         Change guard to [!M68K_MATH_PRIVATE_H].
20158         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20159         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20160         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20161         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20162         macro.
20163         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20164         [!MIPS_MATH_PRIVATE_H].
20165         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20166         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20167         [!NIO2_MATH_PRIVATE_H].
20168         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20169         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20170         [!TILE_MATH_PRIVATE_H].
20171         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20173         [BZ #15421]
20174         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20175         initialize with 0 and define as weak alias of __signgam.
20176         * include/math.h [!_ISOMAC] (__signgam): Declare.
20177         * math/Makefile (libm-calls): Add w_lgamma_compat.
20178         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20179         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20180         test-signgam-ullong-init.
20181         (tests-static): Add test-signgam-uchar-static,
20182         test-signgam-uchar-init-static, test-signgam-uint-static,
20183         test-signgam-uint-init-static, test-signgam-ullong-static and
20184         test-signgam-ullong-init-static.
20185         (CFLAGS-test-signgam-uchar.c): New variable.
20186         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20187         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20188         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20189         (CFLAGS-test-signgam-uint.c): Likewise.
20190         (CFLAGS-test-signgam-uint-init.c): Likewise.
20191         (CFLAGS-test-signgam-uint-static.c): Likewise.
20192         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20193         (CFLAGS-test-signgam-ullong.c): Likewise.
20194         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20195         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20196         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20197         * math/Versions (libm): Add GLIBC_2.23.
20198         * math/lgamma-compat.h: New file.
20199         * math/test-signgam-main.c: Likewise.
20200         * math/test-signgam-uchar-init-static.c: Likewise.
20201         * math/test-signgam-uchar-init.c: Likewise.
20202         * math/test-signgam-uchar-static.c: Likewise.
20203         * math/test-signgam-uchar.c: Likewise.
20204         * math/test-signgam-uint-init-static.c: Likewise.
20205         * math/test-signgam-uint-init.c: Likewise.
20206         * math/test-signgam-uint-static.c: Likewise.
20207         * math/test-signgam-uint.c: Likewise.
20208         * math/test-signgam-ullong-init-static.c: Likewise.
20209         * math/test-signgam-ullong-init.c: Likewise.
20210         * math/test-signgam-ullong-static.c: Likewise.
20211         * math/test-signgam-ullong.c: Likewise.
20212         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20213         wrapper of w_lgamma_main.c.
20214         * math/w_lgamma_compat.c: New file.
20215         * math/w_lgamma_compatf.c: Likewise.
20216         * math/w_lgamma_compatl.c: Likewise.
20217         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20218         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20219         defining compatibility symbols.
20220         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20221         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20222         wrapper of w_lgammaf_main.c.
20223         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20224         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20225         defining compatibility symbols.
20226         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20227         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20228         wrapper of w_lgammal_main.c.
20229         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20230         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20231         defining compatibility symbols.
20232         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20233         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20234         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20235         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20236         <lgamma-compat.h>.
20237         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20238         (__ieee754_gamma): Define as alias.
20239         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20240         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20241         <lgamma-compat.h>.
20242         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20243         (__ieee754_gammaf): Define as alias.
20244         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20245         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20246         <lgamma-compat.h>.
20247         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20248         (__ieee754_gammal): Define as alias.
20249         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20250         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20251         <math/w_lgamma_compat.c>.
20252         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20253         Define as alias of __lgamma_compat and use in defining lgammal.
20254         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20255         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20256         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20257         (USE_AS_COMPAT): New macro.
20258         (LGAMMA_OLD_VER): Undefine and redefine.
20259         (lgammal): Do not define here.
20260         (gammal): Only define here if [GAMMA_ALIAS].
20261         * conform/linknamespace.pl (@whitelist): Remove signgam.
20262         * sysdeps/nacl/libm.abilist: Update.
20263         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20265         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20266         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20267         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20268         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20269         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20270         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20271         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20272         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20273         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20274         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20278         Likewise.
20279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20280         Likewise.
20281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20282         Likewise.
20283         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20284         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20285         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20286         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20287         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20289         Likewise.
20290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20291         Likewise.
20292         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20293         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20294         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20296 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20298         [BZ #16364]
20299         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20300         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20302 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20304         * sysdeps/s390/fpu/bits/mathinline.h:
20305         Use __asm__ [__volatile__] instead of asm [volatile].
20306         * sysdeps/s390/abort-instr.h: Likewise.
20307         * sysdeps/s390/atomic-machine.h: Likewise.
20308         * sysdeps/s390/bits/string.h: Likewise.
20309         * sysdeps/s390/dl-tls.h: Likewise.
20310         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20311         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20312         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20313         * sysdeps/s390/fpu/fesetround.c: Likewise.
20314         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20315         * sysdeps/s390/fpu/s_fma.c: Likewise.
20316         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20317         * sysdeps/s390/memusage.h: Likewise.
20318         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20319         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20320         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20321         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20322         * sysdeps/s390/nptl/tls.h: Likewise.
20323         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20324         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20325         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20326         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20327         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20328         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20329         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20330         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20331         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20332         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20333         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20334         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20335         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20336         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20337         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20338         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20339         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20340         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20341         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20343         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20345         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20347 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20348             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20350         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20351         Add lwarx hint, and use macro for acquire instruction.
20352         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20353         Likewise.
20354         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20355         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20356         update to use new atomic macros.
20358 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20360         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20361         (__lll_trylock_elision): Fix setting of adapt_count.
20362         * sysdeps/unix/sysv/linux/powerpc/htm.h
20363         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20364         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20365         (_ABORT_SYSCALL): Renumber, and clarify definition.
20366         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20368 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20370         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20371         after system headers to prevent MIN/MAX redefinition.  Define
20372         HAVE_ALLOCA to preserve builtin alloca usage.
20374 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20377         static and don't set or restore rounding.
20378         (__cos)[IN_SINCOS]: Likewise.
20379         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20380         (__sincos): Set and restore rounding mode.  Remove check for infinite
20381         or NaN input.
20383         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20385         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20386         as used.
20388 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20390         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20392 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20394         * config.make.in (have-glob-dat-reloc): New.
20395         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20396         target supports GLOB_DAT relocaton. AC_SUBST.
20397         * configure: Regenerated.
20398         * elf/Makefile (tests): Add tst-prelink.
20399         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20400         (tst-prelink-ENV): New.
20401         ($(objpfx)tst-prelink-conflict.out): Likewise.
20402         ($(objpfx)tst-prelink-cmp.out): Likewise.
20403         * sysdeps/x86/tst-prelink.c: Moved to ...
20404         * elf/tst-prelink.c: Here.
20405         * sysdeps/x86/tst-prelink.exp: Moved to ...
20406         * elf/tst-prelink.exp: Here.
20407         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20408         (tst-prelink-ENV): Removed.
20409         ($(objpfx)tst-prelink-conflict.out): Likewise.
20410         ($(objpfx)tst-prelink-cmp.out): Likewise.
20411         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20413 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20415         [BZ #14551]
20416         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20417         (__mpn_construct_long_double): If high part overflows to infinity,
20418         set errno and recompute overflowed result of the correct sign.
20419         * sysdeps/ieee754/ldbl-128ibm/Makefile
20420         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20421         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20422         $(libm).
20423         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20425 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20427         [BZ #15479]
20428         [BZ #19238]
20429         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20430         floating-point state after first operation on input.  Restore full
20431         state rather than just rounding mode.
20432         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20433         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20434         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20436         [BZ #19235]
20437         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20438         add 0.5 to integer arguments.
20439         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20440         Likewise.
20441         (.LC2): New object.
20443 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20445         * scripts/pylintrc (reports): Set to no.
20447 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20449         * elf/dl-load.c (open_verify): Take new argument FD.
20450         Skip __open call if passed FD is not -1.
20451         (_dl_map_object, open_path): Update callers.
20452         * elf/dl-sysdep-open.h: New file.
20453         * elf/dl-load.c: Include it.
20454         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20455         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20456         * sysdeps/nacl/dl-sysdep-open.h: New file.
20457         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20458         from libc to rtld.
20460 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20462         [BZ #19228]
20463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20464         and restore full floating-point state.
20465         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20466         Likewise.
20467         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20468         Likewise.
20469         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20470         Likewise.
20471         * math/test-nearbyint-except-2.c: New file.
20472         * math/Makefile (tests): Add test-nearbyint-except-2.
20474 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20476         [BZ #19178]
20477         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20478         (tst-prelink-ENV): New.
20479         ($(objpfx)tst-prelink-conflict.out): Likewise.
20480         ($(objpfx)tst-prelink-cmp.out): Likewise.
20481         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20482         * sysdeps/x86/tst-prelink.c: New file.
20483         * sysdeps/x86/tst-prelink.exp: Likewise.
20485 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20487         * math/auto-libm-test-in: Add another test of pow.
20488         * math/auto-libm-test-out: Regenerated.
20489         * math/libm-test.inc (pow_test_data): Add another test.
20491 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20493         [BZ #19219]
20494         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20495         weak_alias to nearbyintl.
20497 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20499         * sysdeps/aarch64/bits/string.h: New file.
20500         (_STRING_ARCH_unaligned): Define.
20502 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20504         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20505         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20506         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20507         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20510 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20512         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20513         for original name of the DSO.  Add it to the name list of the DSO
20514         if it is actually given.
20515         (_dl_map_object): Keep track of whether an audit module rewrote
20516         the file name.  If yes, pass the original name to
20517         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20518         debugging is enabled, log the change of the file name.
20519         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20520         _dl_map_object_from_fd.
20521         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20522         * elf/tst-audit11.c: New file
20523         * elf/tst-auditmod11.c: New file.
20524         * elf/tst-audit11mod1.c: New file.
20525         * elf/tst-audit11mod2.c: New file.
20526         * elf/tst-audit11mod2.map: New file.
20527         * elf/tst-audit12.c: New file
20528         * elf/tst-auditmod12.c: New file.
20529         * elf/tst-audit12mod1.c: New file.
20530         * elf/tst-audit12mod2.c: New file.
20531         * elf/tst-audit12mod2.map: New file.
20532         * elf/tst-audit12mod3.c: New file.
20534 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20536         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20537         Don't create weak aliases,
20538         because versioned symbols are created later.
20539         * sysdeps/s390/s390-32/setjmp.S
20540         (setjmp, _setjmp): Remove weak and rename to an unique name
20541         in SHARED case due to existing versioned symbols.
20542         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20543         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20544         (getcontext): Create weak alias only in non SHARED case.
20545         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20547 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20549         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20550         (__ASSUME_*_SYSCALL) Define new macros.
20551         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20552         Remove socketcall syscalls.
20553         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20554         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20555         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20556         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20557         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20558         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20560 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20562         [BZ #12926]
20563         Terminate process on invalid netlink response.
20564         * sysdeps/unix/sysv/linux/netlinkaccess.h
20565         (__netlink_assert_response): Declare.
20566         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20567         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20568         (sysdep_routines): Add netlink_assert_response.
20569         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20570         __netlink_assert_response.
20571         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20572         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20573         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20574         __netlink_assert_response.
20576 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20578         [BZ #19178]
20579         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20580         (RTYPE_CLASS_PLT): Likewise.
20581         (RTYPE_CLASS_COPY): Likewise.
20582         (RTYPE_CLASS_TLS): Likewise.
20583         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20584         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20585         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20586         DL_DEBUG_PRELINK.
20588 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20590         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20591         calls with argument -0.5.
20592         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20594         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20595         (libc_cv_z_nodlopen): Likewise.
20596         (libc_cv_z_initfirst): Likewise.
20597         * configure: Regenerated.
20599 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20601         Simplify abilist format to be line-based.
20602         * scripts/abilist.awk: Collect descriptors in the descs variable.
20603         (emit): Write descs variable and sort it
20604         externally, with sort.
20605         * sysdeps/**/*.abilist: Convert to new format.
20607 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20609         [BZ #11460]
20610         * io/Makefile (routines): Add fts64.
20611         (tests): Add tst-fts and tst-fts-lfs.
20612         (CFLAGS-fts64.c): New.
20613         * io/Versions (GLIBC_2.23): New.
20614         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20615         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20616         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20617         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20618         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20619         (FTSENT64): Likewise.
20620         (fts64_children): Likewise.
20621         (fts64_close): Likewise.
20622         (fts64_open): Likewise.
20623         (fts64_read): Likewise.
20624         (fts64_set): Likewise.
20625         * io/fts64.c: New file.
20626         * io/tst-fts.c: New test.
20627         * io/tst-fts-lfs.c: Likewise.
20628         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20629         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20630         fts64_set.
20631         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20632         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20633         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20634         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20635         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20636         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20637         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20638         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20639         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20640         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20641         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20642         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20643         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20645         Likewise.
20646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20647         Likewise.
20648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20650         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20651         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20652         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20653         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20654         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20657         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20658         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20659         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20660         * sysdeps/wordsize-64/fts.c: New file.
20661         * sysdeps/wordsize-64/fts64.c: Likewise.
20662         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20663         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20664         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20665         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20667 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20669         * math/libm-test.inc (NON_FINITE): New macro.
20670         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20671         * math/gen-libm-test.pl (show_exceptions): Add argument
20672         $non_finite.
20673         (parse_args): Update call to show_exceptions.
20674         * math/test-math-finite.h: New file.
20675         * math/test-math-no-finite.h: Likewise.
20676         * math/test-double-finite.c: Likewise.
20677         * math/test-float-finite.c: Likewise.
20678         * math/test-ldouble-finite.c: Likewise.
20679         * math/test-double.c: Include "test-math-no-finite.h".
20680         * math/test-float.c: Include "test-math-no-finite.h".
20681         * math/test-ldouble.c: Include "test-math-no-finite.h".
20682         * math/test-math-inline.h (TEST_FINITE): New macro.
20683         * math/test-math-vector.h (TEST_FINITE): Likewise.
20684         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20685         (libm-tests): Add test-float-finite and test-double-finite.
20686         ($(objpfx)test-float-finite.o): New dependency on
20687         $(objpfx)libm-test.stmp.
20688         ($(objpfx)test-double-finite.o): Likewise.
20689         ($(objpfx)test-ldouble-finite.o): Likewise.
20690         (libm-test-no-inline-cflags): New variable.
20691         (libm-test-finite-cflags): Likewise.
20692         (CFLAGS-test-float-finite.c): Likewise.
20693         (CFLAGS-test-double-finite.c): Likewise.
20694         (CFLAGS-test-ldouble-finite.c): Likewise.
20695         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20696         (CFLAGS-test-double.c): Likewise.
20697         (CFLAGS-test-ldouble.c): Likewise.
20699 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20701         * io/fcntl.c (__fcntl): Add ... to prototype.
20702         * misc/ioctl.c (__ioctl): Likewise.
20703         * misc/syscall.c (syscall): Likewise.
20705 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20707         * scripts/list-fixed-bugs.py: New file.
20709         [BZ #19213]
20710         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20711         returned for argument 1.
20712         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20713         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20714         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20715         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20716         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20717         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20719         [BZ #19211]
20720         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20721         __USE_XOPEN], not if [!__USE_ISOC99].
20722         (lgammaf): Likewise.
20723         (lgammal): Likewise.
20724         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20725         (gammaf): Likewise.
20726         (gammal): Likewise.
20727         * math/test-signgam-finite-c11.c: New file.
20728         * math/test-signgam-finite-c99.c: Likewise.
20729         * math/test-signgam-finite.c: Likewise.
20730         * math/Makefile (tests): Add test-signgam-finite,
20731         test-signgam-finite-c99 and test-signgam-finite-c11.
20732         (CFLAGS-test-signgam-finite.c): New variable.
20733         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20734         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20736         [BZ #19212]
20737         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20738         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20739         500].
20740         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20741         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20742         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20743         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20744         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20745         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20746         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20747         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20748         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20749         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20751         [BZ #19209]
20752         * math/bits/math-finite.h (ldexp): Remove declaration.
20753         (ldexpf): Likewise.
20754         (ldexpl): Likewise.
20756         [BZ #19205]
20757         * math/bits/math-finite.h (acosf): Condition declaration on
20758         [__USE_ISOC99].
20759         (acosl): Likewise.
20760         (acoshf): Likewise.
20761         (acoshl): Likewise.
20762         (asinf): Likewise.
20763         (asinl): Likewise.
20764         (atan2f): Likewise.
20765         (atan2l): Likewise.
20766         (atanhf): Likewise.
20767         (atanhl): Likewise.
20768         (coshf): Likewise.
20769         (coshl): Likewise.
20770         (expf): Likewise.
20771         (expl): Likewise.
20772         (fmodf): Likewise.
20773         (fmodl): Likewise.
20774         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20775         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20776         (j0l): Likewise.
20777         (y0f): Likewise.
20778         (y0l): Likewise.
20779         (j1f): Likewise.
20780         (j1l): Likewise.
20781         (y1f): Likewise.
20782         (y1l): Likewise.
20783         (jnf): Likewise.
20784         (jnl): Likewise.
20785         (ynf): Likewise.
20786         (ynl): Likewise.
20787         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20788         (lgammal_r): Likewise.
20789         (__lgamma_r_finite): New declaration.
20790         (__lgammaf_r_finite): Likewise.
20791         (__lgammal_r_finite): Likewise.
20792         (lgamma): Use __lgamma_r_finite.
20793         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20794         __lgammaf_r_finite.
20795         (lgammal): Condition definition on [__USE_ISOC99].  Use
20796         __lgammal_r_finite.
20797         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20798         __lgamma_r_finite.
20799         (gammaf): Condition definition on [__USE_ISOC99].  Use
20800         __lgammaf_r_finite.
20801         (gammal): Condition definition on [__USE_ISOC99].  Use
20802         __lgammal_r_finite.
20803         (logf): Condition declaration on [__USE_ISOC99].
20804         (logl): Likewise.
20805         (log10f): Likewise.
20806         (log10l): Likewise.
20807         (ldexpf): Likewise.
20808         (ldexpl): Likewise.
20809         (powf): Likewise.
20810         (powl): Likewise.
20811         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20812         __USE_ISOC99].
20813         (remainderf): Condition declaration on [__USE_ISOC99].
20814         (remainderl): Likewise.
20815         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20816         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20817         (scalbl): Likewise.
20818         (sinhf): Condition declaration on [__USE_ISOC99].
20819         (sinhl): Likewise.
20820         (sqrtf): Likewise.
20821         (sqrtl): Likewise.
20823 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20825         * sysdeps/arm/atomic-machine.h
20826         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20827         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20828         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20829         Remove conditional code.
20830         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20831         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20832         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20833         Change conditional to [__ASSEMBLER__].
20834         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20835         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20836         [!__ASSEMBLER__].
20837         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20838         code.
20839         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20840         conditional macro definitions.
20841         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20842         (__arch_compare_and_exchange_val_16_acq): Likewise.
20843         (__arch_compare_and_exchange_val_32_acq): Likewise.
20844         (atomic_exchange_and_add): Likewise.
20845         (atomic_add): Likewise.
20846         (atomic_add_negative): Likewise.
20847         (atomic_add_zero): Likewise.
20848         (atomic_bit_set): Likewise.
20849         (atomic_bit_test_set): Likewise.
20850         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20851         code unconditional.
20852         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20854         * math/test-math-errno.h: New file.
20855         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20856         empty.
20857         (TEST_ERRNO): New macro.
20858         (TEST_EXCEPTIONS): Likewise.
20859         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20860         (TEST_EXCEPTIONS): Likewise.
20861         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20862         * math/test-double.c: Include "test-math-errno.h".
20863         * math/test-float.c: Likewise.
20864         * math/test-ldouble.c: Likewise.
20865         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20866         code unconditional.
20867         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20868         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20869         unconditional.
20870         (test_errno): Only run code if TEST_ERRNO.
20871         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20873 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20875         * nptl/tst-once5.cc: Remove attribution.
20877 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20879         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20880         sqrt, tan, tanh, y0, y1 and yn.
20881         * math/auto-libm-test-out: Regenerated.
20882         * math/libm-test.inc (scalb_test_data): Add more tests.
20883         (scalbn_test_data): Likewise.
20884         (scalbln_test_data): Likewise.
20885         (signbit_test_data): Likewise.
20886         (sin_test_data): Likewise.
20887         (sincos_test_data): Likewise.
20888         (sinh_test_data): Likewise.
20889         (sqrt_test_data): Likewise.
20890         (tan_test_data): Likewise.
20891         (tanh_test_data): Likewise.
20892         (tgamma_test_data): Likewise.
20893         (y0_test_data): Likewise.
20894         (y1_test_data): Likewise.
20895         (yn_test_data): Likewise.
20896         (significand_test_data): Likewise.
20897         * sysdeps/i386/fpu/libm-test-ulps: Update.
20899 2015-11-03  David Kastrup  <dak@gnu.org>
20901         [BZ #18604]
20902         * assert/assert.h (assert): Don't macro-expand failed assertion
20903         expression in error message.
20904         * malloc/malloc.c (assert): Likewise.
20906 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20908         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20909         test.
20910         * configure: Regenerated.
20912 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20914         * math/libm-test.inc (modf_test_data): Add more tests.
20915         (nearbyint_test_data): Likewise.
20916         (nextafter_test_data): Likewise.
20917         (nexttoward_test_data): Likewise.
20918         (pow_test_data): Likewise.
20919         (remainder_test_data): Likewise.
20920         (remquo_test_data): Likewise.
20921         (rint_test_data): Likewise.
20923         [BZ #19201]
20924         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20925         Check for zero remainder in case of large exponents and ensure
20926         correct sign of result in that case.
20927         * math/libm-test.inc (remainder_test_data): Add more tests.
20929         [BZ #6799]
20930         * math/s_nextafter.c: Include <errno.h>.
20931         (__nextafter): Set errno on overflow and underflow.
20932         * math/s_nexttowardf.c: Include <errno.h>.
20933         (__nexttowardf): Set errno on overflow and underflow.
20934         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20935         (__nextafterl): Set errno on overflow and underflow.
20936         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20937         (__nexttoward): Set errno on overflow and underflow.
20938         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20939         (__nexttowardf): Set errno on overflow and underflow.
20940         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20941         (__nextafterf): Set errno on overflow and underflow.
20942         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20943         (__nextafterl): Set errno on overflow and underflow.
20944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20945         (__nexttoward): Set errno on overflow and underflow.
20946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20947         (__nexttowardf): Set errno on overflow and underflow.
20948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20949         (__nextafterl): Set errno on overflow and underflow.
20950         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20951         (__nexttoward): Set errno on overflow and underflow.
20952         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20953         (__nexttowardf): Set errno on overflow and underflow.
20954         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20955         (__nexttoward): Set errno on overflow and underflow.
20956         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20957         (__nexttowardf): Set errno on overflow and underflow.
20958         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20959         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20960         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20961         (__nextafterl): Set errno on overflow and underflow.
20962         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20963         setting to be missing on overflow.  Add more tests.
20964         (nexttoward_test_data): Likewise.
20966         * configure.ac (libc_cv_initfini_array): Remove configure test.
20967         * configure: Regenerated.
20969 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20971         [BZ #19189]
20972         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20973         non-finite argument handle arguments with negative sign.
20975         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20976         result from infinite argument.
20977         (j1_test_data): Likewise.
20978         (jn_test_data): Likewise.
20979         (y0_test_data): Likewise.
20980         (y1_test_data): Likewise.
20981         (yn_test_data): Likewise.
20983         [BZ #16171]
20984         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20985         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20986         * math/w_remainderf.c (dremf): Define as weak alias of
20987         __remainderf.
20988         * math/w_remainderl.c (dreml): Define as weak alias of
20989         __remainderl.
20990         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20991         __remainder.
20992         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20993         __remainderf.
20994         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20995         __remainderl.
20996         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20997         weak alias of remainderl.
20998         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20999         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21000         alias of __remainder.
21001         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21002         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21003         strong alias of __remainderl.
21004         (dreml): Use long_double_symbol.
21005         * math/Makefile (libm-calls): Remove w_drem.
21006         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21007         (CFLAGS-nldbl-drem.c): Remove variable.
21008         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21009         * math/w_drem.c: Remove file.
21010         * math/w_dremf.c: Likewise.
21011         * math/w_dreml.c: Likewise.
21012         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21013         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21014         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21016         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21017         * sysdeps/i386/configure: Regenerated.
21018         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21019         * sysdeps/x86_64/configure: Regenerated.
21021         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21022         test.
21023         (libc_cv_visibility_attribute): Likewise.
21024         (libc_cv_protected_data): Test unconditionally.
21025         (libc_cv_broken_visibility_attribute): Remove configure test.
21026         (libc_cv_have_sdata_section): Test unconditionally.
21027         * configure: Regenerated.
21029         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21030         * include/scratch_buffer.h: Include <stddef.h> instead of
21031         <libc-internal.h>.
21032         (struct scratch_buffer): Use max_align_t instead of
21033         libc_max_align_t.
21035 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21037         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21038         instead of extend_alloca.  Change control flow to avoid a goto.
21039         Remove assert which is trivially always true.
21041 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21043         [BZ #16068]
21044         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21045         (FE_ALL_EXCEPT_X86): New macro.
21046         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21047         FE_ALL_EXCEPT.  Ensure precision control is included in
21048         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21049         handle "denormal operand exception" and clear FZ and DAZ bits.
21050         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21051         (FE_ALL_EXCEPT_X86): New macro.
21052         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21053         FE_ALL_EXCEPT.  Ensure precision control is included in
21054         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21055         handle "denormal operand exception" and clear FZ and DAZ bits.
21056         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21057         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21058         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21059         test-fenv-x87 and test-fenv-sse-2.
21060         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21062         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21063         * math/test-double.h (BUILD_COMPLEX): New macro.
21064         * math/test-float.h (BUILD_COMPLEX): Likewise.
21065         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21067         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21068         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21069         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21071         instead of DBL_DENORM_MIN in comment.
21072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21073         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21075         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21076         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21077         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21079 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21081         [BZ #19048]
21082         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21083         attached_threads member.
21084         (main_arena): Initialize attached_threads.
21085         * malloc/arena.c (list_lock): Update comment.
21086         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21087         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21088         (deattach_arena): New function.
21089         (_int_new_arena): Initialize arena reference count and deattach
21090         replaced arena.
21091         (get_free_list, reused_arena): Update reference count and deattach
21092         replaced arena.
21093         (arena_thread_freeres): Update arena reference count and only put
21094         unreferenced arenas on the free list.
21096 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21098         [BZ #19181]
21099         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21100         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21101         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21102         * math/test-fenv-clear-main.c: New file.
21103         * math/test-fenv-clear.c: Likewise.
21104         * math/Makefile (tests): Add test-fenv-clear.
21105         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21106         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21107         test-fenv-clear-sse.
21108         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21110         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21111         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21112         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21114 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21116         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21117         static libc.
21119 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21121         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21122         test.
21123         * sysdeps/i386/configure: Regenerated.
21124         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21125         test.
21126         * sysdeps/x86_64/configure: Regenerated.
21127         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21128         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21129         memset-avx2 unconditionally instead of conditionally on
21130         [$(config-cflags-avx2) = yes].
21131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21132         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21133         unconditional.
21134         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21135         * sysdeps/x86_64/multiarch/memset_chk.S
21136         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21137         to [IS_IN (libc) && SHARED].
21139 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21141         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21142         configure test.
21143         * sysdeps/arm/configure: Regenerated.
21144         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21145         Define variable if not already defined.
21147         [BZ #17404]
21148         * sysdeps/mips/atomic-machine.h
21149         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21150         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21151         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21153         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21154         unconditional.
21155         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21156         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21157         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21158         unconditional.
21159         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21160         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21161         unconditional.
21162         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21163         * stdlib/setenv.c
21164         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21165         code unconditional.
21166         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21167         Remove conditional code.
21168         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21169         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21170         unconditional.
21171         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21172         code.
21173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21174         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21175         unconditional.
21176         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21177         code.
21178         * sysdeps/ieee754/ldbl-128/k_tanl.c
21179         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21180         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21181         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21182         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21183         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21184         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21185         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21186         unconditional.
21187         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21188         code.
21189         * sysdeps/ieee754/ldbl-96/k_tanl.c
21190         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21191         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21193         * nptl/tst-initializers1-c11.c: New file.
21194         * nptl/tst-initializers1-gnu11.c: Likewise.
21195         * nptl/Makefile (tests): Add these new tests.
21196         (CFLAGS-tst-initializers1-c11.c): New variable.
21197         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21199         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21200         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21201         instead of -std=gnu99.
21202         * configure.ac (systemtap): Test with -std=gnu11 instead of
21203         -std=gnu99.
21204         * configure: Regenerated.
21205         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21206         in compilation command in comment.
21208         * sysdeps/nptl/configure.ac: Remove file.
21209         * sysdeps/nptl/configure: Remove generated file.
21210         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21211         * configure: Regenerated.
21212         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21213         * config.make.in (have-forced-unwind): Remove variable.
21214         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21215         unconditional.
21216         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21217         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21218         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21219         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21220         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21221         unconditional.
21223 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21225         [BZ #19174]
21226         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21227         .skip_lock_out_of_tbegin_retries.
21228         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21229         (__lll_lock_elision): Likewise, and respect a value of
21230         try_tbegin <= 0.
21232 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21234         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21235         statement.
21237 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21239         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21240         variable.
21241         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21242         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21244         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21245         of -std=c1x -D_ISOC11_SOURCE.
21247         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21248         * configure: Regenerated.
21249         * manual/install.texi (Tools for Compilation): Document
21250         requirement for GCC 4.7 or later.
21251         * INSTALL: Regenerated.
21253 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21255         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21256         on CNT to a conditional jump to 'puntdata'.
21258 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21260         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21261         (libc_cv_gcc_tls_model_attr): Likewise.
21262         * configure: Regenerated.
21264         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21265         * configure: Regenerated.
21266         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21268 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21270         * configure.ac (old_glibc_headers): Remove configure test.
21271         * configure: Regenerated.
21272         * config.make.in (old-glibc-headers): Remove variable.
21273         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21274         (install): Remove dependency on remove-old-headers.
21275         (headers2_0): Remove variable.
21276         (remove-old-headers): Remove rule.
21278         * configure.ac (libc_cv_dot_text): Remove configure test.
21279         (libc_cv_asm_set_directive): Use .text instead of
21280         ${libc_cv_dot_text} in configure test.
21281         * configure: Regenerated.
21283 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21285         [BZ #19168]
21286         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21288 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21290         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21291         not support static linking.
21292         * configure: Regenerate.
21294 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21296         * math/libm-test.inc (check_float_internal): Do not special-case
21297         errors up to 0.5 ulp.
21299         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21300         log2.
21301         * math/auto-libm-test-out: Regenerated.
21302         * math/libm-test.inc (MAX_EXP): New macro.
21303         (ilogb_test_data): Add more tests.
21304         (isfinite_test_data): Likewise.
21305         (isgreater_test_data): Likewise.
21306         (isgreaterequal_test_data): Likewise.
21307         (isinf_test_data): Likewise.
21308         (isless_test_data): Likewise.
21309         (islessequal_test_data): Likewise.
21310         (islessgreater_test_data): Likewise.
21311         (isnan_test_data): Likewise.
21312         (isnormal_test_data): Likewise.
21313         (issignaling_test_data): Likewise.
21314         (isunordered_test_data): Likewise.
21315         (j0_test_data): Likewise.
21316         (j1_test_data): Likewise.
21317         (jn_test_data): Likewise.
21318         (lgamma_test_data): Likewise.
21319         (log_test_data): Likewise.
21320         (log10_test_data): Likewise.
21321         (log1p_test_data): Likewise.
21322         (log2_test_data): Likewise.
21323         (logb_test_data): Likewise.
21324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21326         [BZ #18611]
21327         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21328         avoid excess range and precision on underflow.
21329         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21330         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21331         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21332         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21333         underflow.
21334         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21335         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21336         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21337         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21338         * math/auto-libm-test-in: Do not allow missing errno setting for
21339         tests of j1 and jn.
21340         * math/auto-libm-test-out: Regenerated.
21342 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21344         [BZ #15491]
21345         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21346         floating-point environment instead of clearing all exceptions.
21347         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21348         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21349         merging in "invalid" exceptions from frndint.
21350         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21351         * math/test-nearbyint-except.c: New file.
21352         * math/Makefile (tests): Add test-nearbyint-except.
21354 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21356         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21358         * sysdeps/tile/libm-test-ulps: Regenerated.
21360 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21363         (__NR_sync_file_range2): Assume it is always defined.
21364         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21365         (__NR_sync_file_range): Assume it is always defined.
21367 2015-10-22  Andreas Schwab  <schwab@suse.de>
21369         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21370         INTERNAL_SYSCALL_ERRNO.
21371         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21372         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21373         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21374         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21375         Likewise.
21376         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21378 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21380         * io/tst-fcntl.c (fd): New static variable.
21381         (do_prepare): Open temporary file here....
21382         (do_test): ...not here.
21384         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21386 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21388         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21389         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21390         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21391         Moved before "#ifdef __ASSEMBLER__".
21393 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21395         [BZ #19156]
21396         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21397         arguments very close to 0.
21399 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21401         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21402         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21404 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21406         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21407         New.  Defined for GCC 5 and above when not compiling for
21408         profiling.
21409         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21411         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21412         Renamed to ...
21413         (CFLAGS-epoll_pwait.o): This.
21414         (CFLAGS-mmap.c): Renamed to ...
21415         (CFLAGS-mmap.o): This.
21416         (CFLAGS-mmap64.c): Renamed to ...
21417         (CFLAGS-mmap64.o): This.
21418         (CFLAGS-epoll_pwait.os): New.
21419         (CFLAGS-mmap.os): Likewise.
21420         (CFLAGS-mmap64.os): Likewise.
21421         (CFLAGS-semtimedop.os): Likewise.
21422         (CFLAGS-semtimedop.c): Renamed to ...
21423         (CFLAGS-semtimedop.o): This.
21425 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21427         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21428         warning message.
21430 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21432         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21433         * Makefile ($(objpfx)c++-types-check.out): Filter out
21434         $(+gccwarn-c) instead of -Wstrict-prototypes.
21436         * io/fts.c (fts_open): Convert to prototype-style function
21437         definition.
21438         * malloc/mcheck.c (mcheck): Likewise.
21439         (mcheck_pedantic): Likewise.
21440         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21441         internal_function.
21442         (re_search_internal): Likewise.
21443         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21444         prototype-style function definition.
21445         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21446         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21447         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21448         (xdr_utmpptr): Likewise.
21449         (xdr_utmparr): Likewise.
21450         (xdr_utmpidle): Likewise.
21451         (xdr_utmpidleptr): Likewise.
21452         (xdr_utmpidlearr): Likewise.
21454         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21455         log, log10 and log2.
21456         * math/auto-libm-test-out: Regenerated.
21457         * math/libm-test.inc (fmod_test_data): Add more tests.
21458         (fpclassify_test_data): Likewise.
21459         (frexp_test_data): Likewise.
21460         (hypot_test_data): Likewise.
21461         (ilogb_test_data): Likewise.
21463 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21465         * debug/fortify_fail.c (__fortify_fail): Convert to
21466         prototype-style function definition.  Use internal_function.
21467         * libio/genops.c (save_for_backup): Convert to prototype-style
21468         function definition.
21469         * libio/wgenops.c (save_for_wbackup): Likewise.
21470         * login/grantpt.c (grantpt): Likewise.
21471         * login/ptsname.c (ptsname): Likewise.
21472         (__ptsname_r): Likewise.
21473         * login/unlockpt.c (unlockpt): Likewise.
21474         * mach/msgserver.c (__mach_msg_server): Likewise.
21475         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21476         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21477         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21478         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21479         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21480         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21481         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21482         Likewise.
21483         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21484         internal_function.
21485         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21486         prototype-style function definition.
21487         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21488         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21489         (__pthread_create_2_0): Likewise.
21490         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21491         * nptl/register-atfork.c (__register_atfork): Likewise.
21492         * posix/glob.c (glob): Likewise.
21493         * posix/regcomp.c (re_comp): Likewise.
21494         * posix/regexec.c (re_exec): Likewise.
21495         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21496         [!__STDC__]: Remove conditional code.
21497         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21498         [!__STDC__]: Remove conditional code.
21499         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21500         [!__STDC__]: Remove conditional code.
21501         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21502         [!__STDC__]: Remove conditional code.
21503         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21504         [!__STDC__]: Remove conditional code.
21505         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21506         [!__STDC__]: Remove conditional code.
21507         * stdlib/mul.c [__STDC__]: Make code unconditional.
21508         [!__STDC__]: Remove conditional code.
21509         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21510         [!__STDC__]: Remove conditional code.
21511         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21512         [!__STDC__]: Remove conditional code.
21513         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21514         function definition.
21515         (STRTOF): Likewise.
21516         * stdlib/strtod_l.c (__STRTOF): Likewise.
21517         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21518         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21519         (__strtol_l): Likewise.
21520         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21521         [!__STDC__]: Remove conditional code.
21522         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21523         definition.
21524         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21525         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21526         type.
21527         (__strcasecmp): Convert to prototype-style function definition.
21528         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21529         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21530         type.
21531         (__strncasecmp): Convert to prototype-style function definition.
21532         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21533         * sunrpc/xdr.c (xdr_union): Likewise.
21534         * sunrpc/xdr_array.c (xdr_array): Likewise.
21535         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21536         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21537         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21538         Likewise.
21539         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21540         Likewise.
21541         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21542         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21543         Likewise.
21544         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21545         (LOCALE_PARAM_PROTO): Likewise.
21546         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21547         argument type.
21548         (ut_argument_spec): Remove macro.
21549         (ut_argument_spec_iso): Rename to ut_argument_spec.
21550         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21551         prototype-style function definition.
21552         (memcpy_uppcase): Likewise.
21553         (__strftime_internal): Likewise.
21554         (my_strftime): Likewise.
21555         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21556         (LOCALE_PARAM_DECL): Likewise.
21557         [_LIBC] (LOCALE_PARAM): Include argument type.
21558         (__strptime_internal): Convert to prototype-style function
21559         definition.
21560         (strptime): Likewise.
21561         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21562         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21563         type.
21564         (__wcscasecmp): Convert to prototype-style function definition.
21565         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21566         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21567         type.
21568         (__wcsncasecmp): Convert to prototype-style function definition.
21570         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21571         function definition.
21572         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21573         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21574         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21575         * elf/dl-minimal.c (_itoa): Likewise.
21576         * hurd/hurdmalloc.c (malloc): Likewise.
21577         (free): Likewise.
21578         (realloc): Likewise.
21579         * inet/inet6_option.c (inet6_option_space): Likewise.
21580         (inet6_option_init): Likewise.
21581         (inet6_option_append): Likewise.
21582         (inet6_option_alloc): Likewise.
21583         (inet6_option_next): Likewise.
21584         (inet6_option_find): Likewise.
21585         * io/ftw.c (FTW_NAME): Likewise.
21586         (NFTW_NAME): Likewise.
21587         (NFTW_NEW_NAME): Likewise.
21588         (NFTW_OLD_NAME): Likewise.
21589         * libio/iofwide.c (_IO_fwide): Likewise.
21590         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21591         (_IO_str_init_static): Likewise.
21592         (_IO_str_init_readonly): Likewise.
21593         (_IO_str_overflow): Likewise.
21594         (_IO_str_underflow): Likewise.
21595         (_IO_str_count): Likewise.
21596         (_IO_str_seekoff): Likewise.
21597         (_IO_str_pbackfail): Likewise.
21598         (_IO_str_finish): Likewise.
21599         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21600         (_IO_wstr_overflow): Likewise.
21601         (_IO_wstr_underflow): Likewise.
21602         (_IO_wstr_count): Likewise.
21603         (_IO_wstr_seekoff): Likewise.
21604         (_IO_wstr_pbackfail): Likewise.
21605         (_IO_wstr_finish): Likewise.
21606         * locale/programs/localedef.c (normalize_codeset): Likewise.
21607         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21608         (add_locales_to_archive): Likewise.
21609         (delete_locales_from_archive): Likewise.
21610         * malloc/malloc.c (__libc_mallinfo): Likewise.
21611         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21612         * misc/tsearch.c (__tfind): Likewise.
21613         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21614         * nptl/pthread_attr_getdetachstate.c
21615         (__pthread_attr_getdetachstate): Likewise.
21616         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21617         Likewise.
21618         * nptl/pthread_attr_getinheritsched.c
21619         (__pthread_attr_getinheritsched): Likewise.
21620         * nptl/pthread_attr_getschedparam.c
21621         (__pthread_attr_getschedparam): Likewise.
21622         * nptl/pthread_attr_getschedpolicy.c
21623         (__pthread_attr_getschedpolicy): Likewise.
21624         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21625         Likewise.
21626         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21627         Likewise.
21628         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21629         Likewise.
21630         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21631         Likewise.
21632         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21633         (__pthread_attr_init_2_0): Likewise.
21634         * nptl/pthread_attr_setdetachstate.c
21635         (__pthread_attr_setdetachstate): Likewise.
21636         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21637         Likewise.
21638         * nptl/pthread_attr_setinheritsched.c
21639         (__pthread_attr_setinheritsched): Likewise.
21640         * nptl/pthread_attr_setschedparam.c
21641         (__pthread_attr_setschedparam): Likewise.
21642         * nptl/pthread_attr_setschedpolicy.c
21643         (__pthread_attr_setschedpolicy): Likewise.
21644         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21645         Likewise.
21646         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21647         Likewise.
21648         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21649         Likewise.
21650         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21651         Likewise.
21652         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21653         Likewise.
21654         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21655         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21656         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21657         use internal_function.
21658         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21659         prototype-style function definition.
21660         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21661         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21662         internal_function.
21663         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21664         Convert to prototype-style function definition.
21665         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21666         Likewise.
21667         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21668         Likewise.
21669         (__pthread_mutex_unlock): Likewise.
21670         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21671         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21672         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21673         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21674         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21675         * nss/makedb.c (process_input): Likewise.
21676         * posix/fnmatch.c (__strchrnul): Likewise.
21677         (__wcschrnul): Likewise.
21678         (fnmatch): Likewise.
21679         * posix/fnmatch_loop.c (FCT): Likewise.
21680         * posix/glob.c (globfree): Likewise.
21681         (__glob_pattern_type): Likewise.
21682         (__glob_pattern_p): Likewise.
21683         * posix/regcomp.c (re_compile_pattern): Likewise.
21684         (re_set_syntax): Likewise.
21685         (re_compile_fastmap): Likewise.
21686         (regcomp): Likewise.
21687         (regerror): Likewise.
21688         (regfree): Likewise.
21689         * posix/regexec.c (regexec): Likewise.
21690         (re_match): Likewise.
21691         (re_search): Likewise.
21692         (re_match_2): Likewise.
21693         (re_search_2): Likewise.
21694         (re_search_stub): Likewise.  Use internal_function
21695         (re_copy_regs): Likewise.
21696         (re_set_registers): Convert to prototype-style function
21697         definition.
21698         (prune_impossible_nodes): Likewise.  Use internal_function.
21699         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21700         prototype-style function definition.
21701         (inet_net_pton_ipv4): Likewise.
21702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21703         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21704         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21705         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21706         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21707         Make variadic.
21708         * time/strptime_l.c (localtime_r): Convert to prototype-style
21709         function definition.
21710         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21711         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21712         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21713         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21715         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21716         definition.
21717         (_ufc_doit_r): Likewise.
21718         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21719         (_ufc_output_conversion_r): Likewise.
21720         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21721         * inet/rcmd.c (rcmd_af): Likewise.
21722         (rcmd): Likewise.
21723         (ruserok_af): Likewise.
21724         (ruserok): Likewise.
21725         (ruserok2_sa): Likewise.
21726         (ruserok_sa): Likewise.
21727         (iruserok_af): Likewise.
21728         (iruserok): Likewise.
21729         (__ivaliduser): Likewise.
21730         (__validuser2_sa): Likewise.
21731         * inet/rexec.c (rexec_af): Likewise.
21732         (rexec): Likewise.
21733         * inet/ruserpass.c (ruserpass): Likewise.
21734         * locale/programs/xmalloc.c (xcalloc): Likewise.
21735         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21736         * math/w_drem.c (__drem): Likewise.
21737         * math/w_dremf.c (__dremf): Likewise.
21738         * math/w_dreml.c (__dreml): Likewise.
21739         * misc/daemon.c (daemon): Likewise.
21740         * resolv/res_debug.c (p_fqnname): Likewise.
21741         * stdlib/div.c (div): Likewise.
21742         * string/memcmp.c (memcmp_bytes): Likewise.
21743         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21744         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21746         * crypt/cert.c (main): Convert to prototype-style function
21747         definition.
21748         * io/pipe.c (__pipe): Likewise.
21749         * io/pipe2.c (__pipe2): Likewise.
21750         * misc/futimesat.c (futimesat): Likewise.
21751         * misc/utimes.c (__utimes): Likewise.
21752         * posix/execve.c (__execve): Likewise.
21753         * posix/execvp.c (execvp): Likewise.
21754         * posix/execvpe.c (__execvpe): Likewise.
21755         * posix/fexecve.c (fexecve): Likewise.
21756         * socket/socketpair.c (socketpair): Likewise.
21757         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21758         * stdlib/erand48.c (erand48): Likewise.
21759         * stdlib/erand48_r.c (__erand48_r): Likewise.
21760         * stdlib/jrand48.c (jrand48): Likewise.
21761         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21762         * stdlib/lcong48.c (lcong48): Likewise.
21763         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21764         * stdlib/nrand48.c (nrand48): Likewise.
21765         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21766         * stdlib/seed48.c (seed48): Likewise.
21767         * stdlib/seed48_r.c (__seed48_r): Likewise.
21768         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21769         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21770         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21772 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21774         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21775         * configure: Regenerated.
21776         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21777         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21778         unconditional.
21779         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21780         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21781         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21782         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21783         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21784         unconditional.
21785         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21787         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21788         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21790         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21791         function definition.
21792         * crypt/crypt_util.c (__encrypt_r): Likewise.
21793         * libio/genops.c (_IO_no_init): Likewise.
21794         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21795         (_IO_old_fopencookie): Likewise.
21796         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21797         * libio/iogetline.c (_IO_getline): Likewise.
21798         (_IO_getline_info): Likewise.
21799         * libio/iogetwline.c (_IO_getwline): Likewise.
21800         (_IO_getwline_info): Likewise.
21801         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21802         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21803         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21804         (find_entry): Likewise.
21805         (iterate_table): Likewise.
21806         (lookup): Likewise.
21807         * login/forkpty.c (forkpty): Likewise.
21808         * misc/hsearch_r.c (__hsearch_r): Likewise.
21809         * misc/select.c (__select): Likewise.
21810         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21811         Likewise.
21812         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21813         Likewise.
21814         * nptl/old_pthread_cond_timedwait.c
21815         (__pthread_cond_timedwait_2_0): Likewise.
21816         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21817         * nptl/pthread_barrierattr_getpshared.c
21818         (pthread_barrierattr_getpshared): Likewise.
21819         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21820         Likewise.
21821         * nptl/pthread_mutex_setprioceiling.c
21822         (pthread_mutex_setprioceiling): Likewise.
21823         * nptl/pthread_mutexattr_getprioceiling.c
21824         (pthread_mutexattr_getprioceiling): Likewise.
21825         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21826         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21827         Likewise.
21828         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21829         Likewise.
21830         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21831         Likewise.
21832         * socket/recvfrom.c (__recvfrom): Likewise.
21833         * socket/sendto.c (__sendto): Likewise.
21834         * socket/setsockopt.c (__setsockopt): Likewise.
21835         * stdio-common/_itoa.c (_itoa): Likewise.
21836         * stdio-common/_itowa.c (_itowa): Likewise.
21837         * stdio-common/reg-printf.c (__register_printf_specifier):
21838         Likewise.
21839         (__register_printf_function): Likewise.
21840         * stdio-common/tempname.c (__path_search): Likewise.
21841         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21842         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21843         * stdlib/random_r.c (__initstate_r): Likewise.
21844         * stdlib/setenv.c (__add_to_environ): Likewise.
21845         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21846         * streams/getpmsg.c (getpmsg): Likewise.
21847         * streams/putmsg.c (putmsg): Likewise.
21848         * streams/putpmsg.c (putpmsg): Likewise.
21849         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21850         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21851         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21852         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21853         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21854         * sunrpc/svc_udp.c (cache_get): Likewise.
21855         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21856         * sysdeps/mach/hurd/getcwd.c
21857         (__canonicalize_directory_name_internal): Likewise.
21858         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21859         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21860         * sysdeps/mach/hurd/select.c (__select): Likewise.
21861         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21862         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21863         * sysdeps/sparc/nptl/pthread_barrier_init.c
21864         (__pthread_barrier_init): Likewise.
21865         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21866         (__pthread_cond_timedwait): Likewise.
21867         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21868         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21869         Likewise.
21870         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21871         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21872         Likewise.
21873         * sysvipc/semtimedop.c (semtimedop): Likewise.
21874         * time/setitimer.c (__setitimer): Likewise.
21875         * time/strftime_l.c (emacs_strftime): Likewise.
21877 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21879         * config.make.in (have-ssp): Delete.
21880         (stack-protector): New variable.
21881         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21882         cache test for -fstack-protector-strong.  Export stack_protector to
21883         the best ssp flag.
21884         * configure: Regenerated.
21885         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21886         * nscd/Makefile (CFLAGS-nscd): Likewise.
21887         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21889 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21891         [BZ #19122]
21892         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21893         attribute_hidden.
21895 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21897         [BZ #18743]
21898         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21899         code to...
21900         (ELIDE_LOCK): ...here.
21901         (__get_new_count): New function with part of the code from
21902         __elide_lock that updates the value of adapt_count after a
21903         transaction abort.
21904         (__elided_trylock): Moved this code to...
21905         (ELIDE_TRYLOCK): ...here.
21907 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21909         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21910         * configure: Regenerate.
21911         * INSTALL: Regenerate.
21912         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21913         and tweak grammar.
21915 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21917         * login/programs/pt_chown.c: Include signal.h
21918         (main): Clear any signal mask from the parent process.
21920 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21922         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21923         * configure: Regenerated.
21924         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21925         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21926         $(gnu89-inline-CFLAGS).
21928         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21929         test.
21930         (libc_cv_asm_weakext_directive): Likewise.
21931         * configure: Regenerated.
21932         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21933         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21934         * include/libc-symbols.h
21935         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21936         #error.
21937         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21938         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21940         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21941         prototype-style function definition.
21942         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21943         * sysdeps/i386/ffs.c (__ffs): Likewise.
21944         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21945         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21946         Likewise.
21947         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21948         Likewise.
21949         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21950         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21951         Likewise.
21952         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21953         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21954         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21955         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21956         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21957         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21958         * sysdeps/mach/hurd/access.c (__access): Likewise.
21959         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21960         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21961         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21962         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21963         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21964         (cthread_getspecific): Likewise.
21965         (cthread_setspecific): Likewise.
21966         (__libc_getspecific): Likewise.
21967         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21968         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21969         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21970         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21971         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21972         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21973         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21974         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21975         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21976         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21977         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21978         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21979         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21980         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21981         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21982         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21983         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21984         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21985         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21986         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21987         * sysdeps/mach/hurd/link.c (__link): Likewise.
21988         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21989         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21990         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21991         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21992         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21993         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21994         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21995         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21996         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21997         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21998         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21999         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22000         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22001         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22002         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22003         * sysdeps/mach/hurd/send.c (__send): Likewise.
22004         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22005         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22006         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22007         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22008         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22009         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22010         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22011         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22012         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22013         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22014         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22015         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22016         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22017         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22018         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22019         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22020         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22021         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22022         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22023         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22024         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22025         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22026         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22027         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22028         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22029         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22030         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22031         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22032         * sysdeps/posix/alarm.c (alarm): Likewise.
22033         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22034         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22035         * sysdeps/posix/dup.c (__dup): Likewise.
22036         * sysdeps/posix/dup2.c (__dup2): Likewise.
22037         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22038         (main): Likewise.
22039         * sysdeps/posix/flock.c (__flock): Likewise.
22040         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22041         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22042         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22043         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22044         * sysdeps/posix/isatty.c (__isatty): Likewise.
22045         * sysdeps/posix/killpg.c (killpg): Likewise.
22046         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22047         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22048         * sysdeps/posix/raise.c (raise): Likewise.
22049         * sysdeps/posix/remove.c (remove): Likewise.
22050         * sysdeps/posix/rename.c (rename): Likewise.
22051         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22052         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22053         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22054         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22055         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22056         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22057         * sysdeps/posix/sigset.c (sigset): Likewise.
22058         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22059         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22060         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22061         * sysdeps/posix/time.c (time): Likewise.
22062         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22063         (ttyname): Likewise.
22064         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22065         * sysdeps/posix/utime.c (utime): Likewise.
22066         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22067         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22068         Likewise.
22069         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22070         (pthread_spin_trylock): Likewise.
22071         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22072         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22073         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22074         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22075         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22076         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22077         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22078         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22079         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22080         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22081         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22082         * sysdeps/s390/ffs.c (__ffs): Likewise.
22083         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22084         Likewise.
22085         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22086         Likewise.
22087         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22088         Likewise.
22089         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22090         (pthread_barrier_destroy): Likewise.
22091         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22092         (__pthread_barrier_wait): Likewise.
22093         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22094         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22095         (__pthread_barrier_wait): Likewise.
22096         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22097         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22098         (memcmp_not_common_alignment): Likewise.
22099         (MEMCMP): Likewise.
22100         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22101         (_wordcopy_fwd_dest_aligned): Likewise.
22102         (_wordcopy_bwd_aligned): Likewise.
22103         (_wordcopy_bwd_dest_aligned): Likewise.
22104         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22105         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22106         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22107         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22108         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22109         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22110         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22111         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22112         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22113         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22114         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22115         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22116         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22117         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22118         * sysdeps/unix/stime.c (stime): Likewise.
22119         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22120         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22121         Likewise.  Use internal_function.
22122         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22123         Convert to prototype-style function definition.
22124         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22125         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22127         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22128         Likewise.  Use internal_function.
22129         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22130         prototype-style function definition
22131         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22132         Likewise.
22133         (__getlogin_r): Likewise.
22134         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22135         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22136         (__pthread_cond_broadcast): Likewise.
22137         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22138         (__pthread_cond_destroy): Likewise.
22139         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22140         (__pthread_cond_init): Likewise.
22141         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22142         (__pthread_cond_signal): Likewise.
22143         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22144         (__pthread_cond_wait): Likewise.
22145         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22146         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22147         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22148         Likewise.
22149         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22150         Likewise.
22151         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22152         Likewise.
22153         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22154         Likewise.
22155         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22157         (__ftruncate64): Likewise.
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22159         (truncate64): Likewise.
22160         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22161         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22162         (pthread_getcpuclockid): Likewise.
22163         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22164         Likewise.
22165         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22166         Likewise.
22167         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22168         Likewise.
22169         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22170         Likewise.
22171         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22172         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22173         (__libc_sigaction): Likewise.
22174         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22175         Likewise.
22176         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22177         (__sigprocmask): Likewise.
22178         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22179         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22180         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22181         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22182         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22183         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22184         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22185         Likewise.
22186         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22187         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22188         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22189         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22190         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22191         Likewise.
22192         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22193         (__sigprocmask): Likewise.
22194         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22195         (cfgetispeed): Likewise.
22196         (cfsetospeed): Likewise.
22197         (cfsetispeed): Likewise.
22198         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22199         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22200         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22201         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22202         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22203         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22204         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22205         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22206         Likewise.
22207         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22208         Likewise.
22209         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22210         Likewise.
22211         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22212         Likewise.
22213         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22215 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22217         sunrpc: Rewrite with explicit TLS access using __thread.
22218         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22219         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22220         directly.
22221         (__rpc_thread_variables): Access thread_rpc_vars directly.
22222         Eliminate redundant assignment of the tvp variable.
22224 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22226         malloc: Rewrite with explicit TLS access using __thread.
22227         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22228         (tsd_setspecific, tsd_getspecific): Remove.
22229         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22230         (tsd_setspecific, tsd_getspecific): Likewise.
22231         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22232         (tsd_setspecific, tsd_getspecific): Likewise.
22233         * malloc/arena.c (thread_arena): New TLS variable.
22234         (arena_key): Remove variable.
22235         (arena_get): Use thread_arena.
22236         (arena_lookup): Remove macro.
22237         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22238         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22239         (_int_new_arena, get_free_list, reused_arena)
22240         (arena_thread_freeres): Use thread_arena.
22241         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22242         tsd_getspecific, tsd_setspecific from safety annotations.
22243         (Allocating Cleared Space): Remove arena_lookup from safety
22244         annotations.
22246 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22248         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22249         struct scratch_buffer instead of extend_alloca.
22251 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22253         * sysdeps/unix/sysv/linux/kernel-features.h
22254         (__ASSUME_SOCK_CLOEXEC): Remove.
22255         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22256         (__have_paccept): Remove unused macro.
22257         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22258         * misc/syslog.c (openlog_internal): Remove fallback code for
22259         !__ASSUME_SOCK_CLOEXEC.
22260         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22261         missing SOCK_CLOEXEC.
22262         * nscd/connections.c (have_sock_cloexec): Remove definition.
22263         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22264         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22265         !__ASSUME_SOCK_CLOEXEC.
22266         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22267         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22268         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22269         definition.
22270         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22271         code for !__ASSUME_SOCK_CLOEXEC.
22273 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22275         [BZ #18982]
22276         * manual/stdio.texi (Variable Arguments Output): Add portability
22277         note, explaining that vfprintf clobbers the va_list pointer.
22279 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22281         * math/libm-test.inc (fabs_test_data): Add more tests.
22282         (fdim_test_data): Likewise.
22283         (fma_test_data): Likewise.
22284         (fmax_test_data): Likewise.
22285         (fmin_test_data): Likewise.
22286         (fmod_test_data): Likewise.
22288 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22290         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22291         data.
22293 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22295         * math/libm-test.inc (ceil_test_data): Add more tests and more
22296         expectations for "inexact".
22297         (floor_test_data): Add more tests.
22298         (round_test_data): Likewise.
22299         (trunc_test_data): Likewise.
22301         * crypt/cert.c (good_bye): Convert to prototype-style function
22302         definition.
22303         (get8): Likewise.
22304         (put8): Likewise.
22305         * crypt/crypt-entry.c (crypt): Likewise.
22306         (__fcrypt): Likewise.
22307         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22308         (_ufc_set_bits): Likewise.
22309         (_ufc_clearmem): Likewise.
22310         (__init_des_r): Likewise.
22311         (shuffle_sb): Likewise.
22312         (shuffle_sb): Likewise.
22313         (_ufc_setup_salt_r): Likewise.
22314         (_ufc_mk_keytab_r): Likewise.
22315         (_ufc_dofinalperm_r): Likewise.
22316         (encrypt): Likewise.
22317         (__setkey_r): Likewise.
22318         (setkey): Likewise.
22319         * crypt/md5.c (md5_init_ctx): Likewise.
22320         (md5_read_ctx): Likewise.
22321         (md5_finish_ctx): Likewise.
22322         (md5_stream): Likewise.
22323         (md5_buffer): Likewise.
22324         (md5_process_bytes): Likewise.
22325         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22326         (__sha256_finish_ctx): Likewise.
22327         (__sha256_process_bytes): Likewise.
22328         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22329         (__sha512_finish_ctx): Likewise.
22330         (__sha512_process_bytes): Likewise.
22331         * ctype/isctype.c (__isctype): Likewise.
22332         * debug/backtrace.c (__backtrace): Likewise.
22333         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22334         * debug/fgets_chk.c (__fgets_chk): Likewise.
22335         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22336         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22337         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22338         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22339         * debug/memset_chk.c (__memset_chk): Likewise.
22340         * debug/strcat_chk.c (__strcat_chk): Likewise.
22341         * debug/strncat_chk.c (__strncat_chk): Likewise.
22342         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22343         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22344         * dirent/dirfd.c (dirfd): Likewise.
22345         * dirent/getdents.c (__getdirentries): Likewise.
22346         * dirent/getdents64.c (getdirentries64): Likewise.
22347         * dirent/rewinddir.c (__rewinddir): Likewise.
22348         * dirent/seekdir.c (seekdir): Likewise.
22349         * dirent/telldir.c (telldir): Likewise.
22350         * elf/sln.c (makesymlinks): Likewise.
22351         (makesymlink): Likewise.
22352         * gmon/gmon.c (__moncontrol): Likewise.
22353         (__monstartup): Likewise.
22354         (write_hist): Likewise.
22355         (write_call_graph): Likewise.
22356         (write_bb_counts): Likewise.
22357         * grp/setgroups.c (setgroups): Likewise.
22358         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22359         * inet/inet_net.c (inet_network): Likewise.
22360         * inet/inet_netof.c (inet_netof): Likewise.
22361         * inet/rcmd.c (rresvport_af): Likewise.
22362         (rresvport): Likewise.
22363         * io/access.c (__access): Likewise.
22364         * io/chdir.c (__chdir): Likewise.
22365         * io/chmod.c (__chmod): Likewise.
22366         * io/chown.c (__chown): Likewise.
22367         * io/close.c (__close): Likewise.
22368         * io/creat.c (creat): Likewise.
22369         * io/creat64.c (creat64): Likewise.
22370         * io/dup.c (__dup): Likewise.
22371         * io/dup2.c (__dup2): Likewise.
22372         * io/dup3.c (__dup3): Likewise.
22373         * io/euidaccess.c (__euidaccess): Likewise.
22374         * io/faccessat.c (faccessat): Likewise.
22375         * io/fchmod.c (__fchmod): Likewise.
22376         * io/fchmodat.c (fchmodat): Likewise.
22377         * io/fchown.c (__fchown): Likewise.
22378         * io/fchownat.c (fchownat): Likewise.
22379         * io/fcntl.c (__fcntl): Likewise.
22380         * io/flock.c (__flock): Likewise.
22381         * io/fts.c (fts_load): Likewise.
22382         (fts_close): Likewise.
22383         (fts_read): Likewise.
22384         (fts_set): Likewise.
22385         (fts_children): Likewise.
22386         (fts_build): Likewise.
22387         (fts_stat): Likewise.
22388         (fts_sort): Likewise.
22389         (fts_alloc): Likewise.
22390         (fts_lfree): Likewise.
22391         (fts_palloc): Likewise.
22392         (fts_padjust): Likewise.
22393         (fts_maxarglen): Likewise.
22394         (fts_safe_changedir): Likewise.
22395         * io/getwd.c (getwd): Likewise.
22396         * io/isatty.c (__isatty): Likewise.
22397         * io/lchown.c (__lchown): Likewise.
22398         * io/link.c (__link): Likewise.
22399         * io/linkat.c (linkat): Likewise.
22400         * io/lseek.c (__libc_lseek): Likewise.
22401         * io/mkdir.c (__mkdir): Likewise.
22402         * io/mkdirat.c (mkdirat): Likewise.
22403         * io/mkfifo.c (mkfifo): Likewise.
22404         * io/mkfifoat.c (mkfifoat): Likewise.
22405         * io/open.c (__libc_open): Likewise.
22406         * io/open64.c (__libc_open64): Likewise.
22407         * io/readlink.c (__readlink): Likewise.
22408         * io/readlinkat.c (readlinkat): Likewise.
22409         * io/rmdir.c (__rmdir): Likewise.
22410         * io/symlink.c (__symlink): Likewise.
22411         * io/symlinkat.c (symlinkat): Likewise.
22412         * io/ttyname.c (ttyname): Likewise.
22413         * io/ttyname_r.c (__ttyname_r): Likewise.
22414         * io/umask.c (__umask): Likewise.
22415         * io/unlink.c (__unlink): Likewise.
22416         * io/unlinkat.c (unlinkat): Likewise.
22417         * io/utime.c (utime): Likewise.
22418         * libio/clearerr.c (clearerr): Likewise.
22419         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22420         * libio/feof.c (_IO_feof): Likewise.
22421         * libio/feof_u.c (feof_unlocked): Likewise.
22422         * libio/ferror.c (_IO_ferror): Likewise.
22423         * libio/ferror_u.c (ferror_unlocked): Likewise.
22424         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22425         * libio/fileno.c (__fileno): Likewise.
22426         * libio/fputc.c (fputc): Likewise.
22427         * libio/fputc_u.c (fputc_unlocked): Likewise.
22428         * libio/fputwc.c (fputwc): Likewise.
22429         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22430         * libio/freopen.c (freopen): Likewise.
22431         * libio/freopen64.c (freopen64): Likewise.
22432         * libio/fseek.c (fseek): Likewise.
22433         * libio/fseeko.c (fseeko): Likewise.
22434         * libio/fseeko64.c (fseeko64): Likewise.
22435         * libio/ftello.c (__ftello): Likewise.
22436         * libio/ftello64.c (ftello64): Likewise.
22437         * libio/fwide.c (fwide): Likewise.
22438         * libio/genops.c (_IO_un_link): Likewise.
22439         (_IO_link_in): Likewise.
22440         (_IO_least_marker): Likewise.
22441         (_IO_switch_to_main_get_area): Likewise.
22442         (_IO_switch_to_backup_area): Likewise.
22443         (_IO_switch_to_get_mode): Likewise.
22444         (_IO_free_backup_area): Likewise.
22445         (_IO_switch_to_put_mode): Likewise.
22446         (__overflow): Likewise.
22447         (__underflow): Likewise.
22448         (__uflow): Likewise.
22449         (_IO_setb): Likewise.
22450         (_IO_doallocbuf): Likewise.
22451         (_IO_default_underflow): Likewise.
22452         (_IO_default_uflow): Likewise.
22453         (_IO_default_xsputn): Likewise.
22454         (_IO_sgetn): Likewise.
22455         (_IO_default_xsgetn): Likewise.
22456         (_IO_sync): Likewise.
22457         (_IO_default_setbuf): Likewise.
22458         (_IO_default_seekpos): Likewise.
22459         (_IO_default_doallocate): Likewise.
22460         (_IO_init): Likewise.
22461         (_IO_old_init): Likewise.
22462         (_IO_default_sync): Likewise.
22463         (_IO_default_finish): Likewise.
22464         (_IO_default_seekoff): Likewise.
22465         (_IO_sputbackc): Likewise.
22466         (_IO_sungetc): Likewise.
22467         (_IO_set_column): Likewise.
22468         (_IO_set_column): Likewise.
22469         (_IO_adjust_column): Likewise.
22470         (_IO_get_column): Likewise.
22471         (_IO_init_marker): Likewise.
22472         (_IO_remove_marker): Likewise.
22473         (_IO_marker_difference): Likewise.
22474         (_IO_marker_delta): Likewise.
22475         (_IO_seekmark): Likewise.
22476         (_IO_unsave_markers): Likewise.
22477         (_IO_nobackup_pbackfail): Likewise.
22478         (_IO_default_pbackfail): Likewise.
22479         (_IO_default_seek): Likewise.
22480         (_IO_default_stat): Likewise.
22481         (_IO_default_read): Likewise.
22482         (_IO_default_write): Likewise.
22483         (_IO_default_showmanyc): Likewise.
22484         (_IO_default_imbue): Likewise.
22485         (_IO_iter_next): Likewise.
22486         (_IO_iter_file): Likewise.
22487         * libio/getc.c (_IO_getc): Likewise.
22488         * libio/getwc.c (_IO_getwc): Likewise.
22489         * libio/iofclose.c (_IO_new_fclose): Likewise.
22490         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22491         * libio/iofflush.c (_IO_fflush): Likewise.
22492         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22493         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22494         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22495         * libio/iofgets.c (_IO_fgets): Likewise.
22496         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22497         * libio/iofgetws.c (fgetws): Likewise.
22498         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22499         * libio/iofopen64.c (_IO_fopen64): Likewise.
22500         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22501         (_IO_cookie_write): Likewise.
22502         (_IO_cookie_seek): Likewise.
22503         (_IO_cookie_close): Likewise.
22504         (_IO_cookie_seekoff): Likewise.
22505         (_IO_old_cookie_seek): Likewise.
22506         * libio/iofputs.c (_IO_fputs): Likewise.
22507         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22508         * libio/iofputws.c (fputws): Likewise.
22509         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22510         * libio/iofread.c (_IO_fread): Likewise.
22511         * libio/iofread_u.c (__fread_unlocked): Likewise.
22512         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22513         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22514         * libio/ioftell.c (_IO_ftell): Likewise.
22515         * libio/iofwrite.c (_IO_fwrite): Likewise.
22516         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22517         * libio/iogets.c (_IO_gets): Likewise.
22518         * libio/iopadn.c (_IO_padn): Likewise.
22519         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22520         (_IO_new_popen): Likewise.
22521         (_IO_new_proc_close): Likewise.
22522         * libio/ioputs.c (_IO_puts): Likewise.
22523         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22524         (_IO_seekoff): Likewise.
22525         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22526         (_IO_seekpos): Likewise.
22527         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22528         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22529         * libio/ioungetc.c (_IO_ungetc): Likewise.
22530         * libio/ioungetwc.c (ungetwc): Likewise.
22531         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22532         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22533         * libio/iowpadn.c (_IO_wpadn): Likewise.
22534         * libio/libc_fatal.c (__libc_fatal): Likewise.
22535         * libio/memstream.c (__open_memstream): Likewise.
22536         (_IO_mem_sync): Likewise.
22537         (_IO_mem_finish): Likewise.
22538         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22539         (_IO_old_file_close_it): Likewise.
22540         (_IO_old_file_finish): Likewise.
22541         (_IO_old_file_fopen): Likewise.
22542         (_IO_old_file_attach): Likewise.
22543         (_IO_old_file_setbuf): Likewise.
22544         (_IO_old_do_write): Likewise.
22545         (old_do_write): Likewise.
22546         (_IO_old_file_underflow): Likewise.
22547         (_IO_old_file_overflow): Likewise.
22548         (_IO_old_file_sync): Likewise.
22549         (_IO_old_file_seekoff): Likewise.
22550         (_IO_old_file_write): Likewise.
22551         (_IO_old_file_xsputn): Likewise.
22552         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22553         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22554         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22555         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22556         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22557         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22558         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22559         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22560         (_IO_old_popen): Likewise.
22561         (_IO_old_proc_close): Likewise.
22562         * libio/oldpclose.c (__old_pclose): Likewise.
22563         * libio/pclose.c (__new_pclose): Likewise.
22564         * libio/peekc.c (_IO_peekc_locked): Likewise.
22565         * libio/putc.c (_IO_putc): Likewise.
22566         * libio/putc_u.c (putc_unlocked): Likewise.
22567         * libio/putchar.c (putchar): Likewise.
22568         * libio/putchar_u.c (putchar_unlocked): Likewise.
22569         * libio/putwc.c (putwc): Likewise.
22570         * libio/putwc_u.c (putwc_unlocked): Likewise.
22571         * libio/putwchar.c (putwchar): Likewise.
22572         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22573         * libio/rewind.c (rewind): Likewise.
22574         * libio/setbuf.c (setbuf): Likewise.
22575         * libio/setlinebuf.c (setlinebuf): Likewise.
22576         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22577         * libio/vscanf.c (_IO_vscanf): Likewise.
22578         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22579         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22580         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22581         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22582         (_IO_switch_to_main_wget_area): Likewise.
22583         (_IO_switch_to_wbackup_area): Likewise.
22584         (_IO_wsetb): Likewise.
22585         (_IO_wdefault_pbackfail): Likewise.
22586         (_IO_wdefault_finish): Likewise.
22587         (_IO_wdefault_uflow): Likewise.
22588         (__woverflow): Likewise.
22589         (__wuflow): Likewise.
22590         (__wunderflow): Likewise.
22591         (_IO_wdefault_xsputn): Likewise.
22592         (_IO_wdefault_xsgetn): Likewise.
22593         (_IO_wdoallocbuf): Likewise.
22594         (_IO_wdefault_doallocate): Likewise.
22595         (_IO_switch_to_wget_mode): Likewise.
22596         (_IO_free_wbackup_area): Likewise.
22597         (_IO_switch_to_wput_mode): Likewise.
22598         (_IO_sputbackwc): Likewise.
22599         (_IO_sungetwc): Likewise.
22600         (_IO_adjust_wcolumn): Likewise.
22601         (_IO_init_wmarker): Likewise.
22602         (_IO_wmarker_delta): Likewise.
22603         (_IO_seekwmark): Likewise.
22604         (_IO_unsave_wmarkers): Likewise.
22605         * libio/wmemstream.c (open_wmemstream): Likewise.
22606         (_IO_wmem_sync): Likewise.
22607         (_IO_wmem_finish): Likewise.
22608         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22609         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22610         * locale/programs/simple-hash.c (init_hash): Likewise.
22611         (delete_hash): Likewise.
22612         (insert_entry): Likewise.
22613         (set_entry): Likewise.
22614         (next_prime): Likewise.
22615         (is_prime): Likewise.
22616         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22617         (xmalloc): Likewise.
22618         (xrealloc): Likewise.
22619         * locale/programs/xstrdup.c (xstrdup): Likewise.
22620         * localedata/collate-test.c (xstrcoll): Likewise.
22621         * localedata/xfrm-test.c (xstrcmp): Likewise.
22622         * login/getlogin_r.c (__getlogin_r): Likewise.
22623         * login/getpt.c (__posix_openpt): Likewise.
22624         * login/login_tty.c (login_tty): Likewise.
22625         * login/setlogin.c (setlogin): Likewise.
22626         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22627         (mach_msg_destroy_port): Likewise.
22628         (mach_msg_destroy_memory): Likewise.
22629         * malloc/mcheck.c (flood): Likewise.
22630         * misc/acct.c (acct): Likewise.
22631         * misc/brk.c (__brk): Likewise.
22632         * misc/chflags.c (chflags): Likewise.
22633         * misc/chroot.c (chroot): Likewise.
22634         * misc/fchflags.c (fchflags): Likewise.
22635         * misc/fstab.c (getfsspec): Likewise.
22636         (getfsfile): Likewise.
22637         * misc/fsync.c (fsync): Likewise.
22638         * misc/ftruncate.c (__ftruncate): Likewise.
22639         * misc/ftruncate64.c (__ftruncate64): Likewise.
22640         * misc/getdomain.c (getdomainname): Likewise.
22641         (getdomainname): Likewise.
22642         * misc/gethostname.c (__gethostname): Likewise.
22643         * misc/getpass.c (getpass): Likewise.
22644         * misc/getttyent.c (skip): Likewise.
22645         (value): Likewise.
22646         * misc/gtty.c (gtty): Likewise.
22647         * misc/hsearch.c (hsearch): Likewise.
22648         (hcreate): Likewise.
22649         * misc/hsearch_r.c (__hcreate_r): Likewise.
22650         (__hdestroy_r): Likewise.
22651         * misc/ioctl.c (__ioctl): Likewise.
22652         * misc/mkdtemp.c (mkdtemp): Likewise.
22653         * misc/mkostemp.c (mkostemp): Likewise.
22654         * misc/mkostemp64.c (mkostemp64): Likewise.
22655         * misc/mkostemps.c (mkostemps): Likewise.
22656         * misc/mkostemps64.c (mkostemps64): Likewise.
22657         * misc/mkstemp.c (mkstemp): Likewise.
22658         * misc/mkstemp64.c (mkstemp64): Likewise.
22659         * misc/mkstemps.c (mkstemps): Likewise.
22660         * misc/mkstemps64.c (mkstemps64): Likewise.
22661         * misc/mktemp.c (__mktemp): Likewise.
22662         * misc/preadv.c (preadv): Likewise.
22663         * misc/preadv64.c (preadv64): Likewise.
22664         * misc/pwritev.c (pwritev): Likewise.
22665         * misc/pwritev64.c (pwritev64): Likewise.
22666         * misc/readv.c (__readv): Likewise.
22667         * misc/revoke.c (revoke): Likewise.
22668         * misc/setdomain.c (setdomainname): Likewise.
22669         * misc/setegid.c (setegid): Likewise.
22670         * misc/seteuid.c (seteuid): Likewise.
22671         * misc/sethostid.c (sethostid): Likewise.
22672         * misc/sethostname.c (sethostname): Likewise.
22673         * misc/setregid.c (__setregid): Likewise.
22674         * misc/setreuid.c (__setreuid): Likewise.
22675         * misc/sstk.c (sstk): Likewise.
22676         * misc/stty.c (stty): Likewise.
22677         * misc/syscall.c (syscall): Likewise.
22678         * misc/syslog.c (setlogmask): Likewise.
22679         * misc/truncate.c (__truncate): Likewise.
22680         * misc/truncate64.c (truncate64): Likewise.
22681         * misc/ualarm.c (ualarm): Likewise.
22682         * misc/usleep.c (usleep): Likewise.
22683         * misc/ustat.c (ustat): Likewise.
22684         * misc/writev.c (__writev): Likewise.
22685         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22686         * nptl/old_pthread_cond_broadcast.c
22687         (__pthread_cond_broadcast_2_0): Likewise.
22688         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22689         Likewise.
22690         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22691         Likewise.
22692         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22693         Likewise.
22694         * nptl/pt-raise.c (raise): Likewise.
22695         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22696         Likewise.
22697         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22698         * nptl/pthread_barrierattr_destroy.c
22699         (pthread_barrierattr_destroy): Likewise.
22700         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22701         Likewise.
22702         * nptl/pthread_barrierattr_setpshared.c
22703         (pthread_barrierattr_setpshared): Likewise.
22704         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22705         Likewise.
22706         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22707         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22708         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22709         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22710         Likewise.
22711         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22712         Likewise.
22713         * nptl/pthread_condattr_getpshared.c
22714         (pthread_condattr_getpshared): Likewise.
22715         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22716         Likewise.
22717         * nptl/pthread_condattr_setpshared.c
22718         (pthread_condattr_setpshared): Likewise.
22719         * nptl/pthread_detach.c (pthread_detach): Likewise.
22720         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22721         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22722         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22723         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22724         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22725         Likewise.
22726         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22727         Likewise.
22728         * nptl/pthread_mutex_getprioceiling.c
22729         (pthread_mutex_getprioceiling): Likewise.
22730         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22731         Likewise.
22732         * nptl/pthread_mutexattr_getprotocol.c
22733         (pthread_mutexattr_getprotocol): Likewise.
22734         * nptl/pthread_mutexattr_getpshared.c
22735         (pthread_mutexattr_getpshared): Likewise.
22736         * nptl/pthread_mutexattr_getrobust.c
22737         (pthread_mutexattr_getrobust): Likewise.
22738         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22739         Likewise.
22740         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22741         Likewise.
22742         * nptl/pthread_mutexattr_setprioceiling.c
22743         (pthread_mutexattr_setprioceiling): Likewise.
22744         * nptl/pthread_mutexattr_setprotocol.c
22745         (pthread_mutexattr_setprotocol): Likewise.
22746         * nptl/pthread_mutexattr_setpshared.c
22747         (pthread_mutexattr_setpshared): Likewise.
22748         * nptl/pthread_mutexattr_setrobust.c
22749         (pthread_mutexattr_setrobust): Likewise.
22750         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22751         Likewise.
22752         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22753         Likewise.
22754         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22755         Likewise.
22756         * nptl/pthread_rwlockattr_getkind_np.c
22757         (pthread_rwlockattr_getkind_np): Likewise.
22758         * nptl/pthread_rwlockattr_getpshared.c
22759         (pthread_rwlockattr_getpshared): Likewise.
22760         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22761         Likewise.
22762         * nptl/pthread_rwlockattr_setkind_np.c
22763         (pthread_rwlockattr_setkind_np): Likewise.
22764         * nptl/pthread_rwlockattr_setpshared.c
22765         (pthread_rwlockattr_setpshared): Likewise.
22766         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22767         Likewise.
22768         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22769         Likewise.
22770         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22771         Likewise.
22772         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22773         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22774         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22775         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22776         * nptl/sem_close.c (sem_close): Likewise.
22777         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22778         * nptl/sem_init.c (__old_sem_init): Likewise.
22779         * nptl/sigaction.c (__sigaction): Likewise.
22780         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22781         * posix/_exit.c (_exit): Likewise.
22782         * posix/alarm.c (alarm): Likewise.
22783         * posix/confstr.c (confstr): Likewise.
22784         * posix/fpathconf.c (__fpathconf): Likewise.
22785         * posix/getgroups.c (__getgroups): Likewise.
22786         * posix/getpgid.c (__getpgid): Likewise.
22787         * posix/group_member.c (__group_member): Likewise.
22788         * posix/pathconf.c (__pathconf): Likewise.
22789         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22790         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22791         * posix/setgid.c (__setgid): Likewise.
22792         * posix/setpgid.c (__setpgid): Likewise.
22793         * posix/setuid.c (__setuid): Likewise.
22794         * posix/sleep.c (__sleep): Likewise.
22795         * posix/sysconf.c (__sysconf): Likewise.
22796         * posix/times.c (__times): Likewise.
22797         * posix/uname.c (__uname): Likewise.
22798         * posix/waitid.c (__waitid): Likewise.
22799         * pwd/getpw.c (__getpw): Likewise.
22800         * resolv/base64.c (b64_pton): Likewise.
22801         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22802         * resolv/gethnamaddr.c (Dprintf): Likewise.
22803         (gethostbyname): Likewise.
22804         (gethostbyname2): Likewise.
22805         (gethostbyaddr): Likewise.
22806         (_sethtent): Likewise.
22807         (_gethtbyname): Likewise.
22808         (_gethtbyname2): Likewise.
22809         (_gethtbyaddr): Likewise.
22810         (map_v4v6_address): Likewise.
22811         (map_v4v6_hostent): Likewise.
22812         (addrsort): Likewise.
22813         (ht_sethostent): Likewise.
22814         (ht_gethostbyname): Likewise.
22815         (ht_gethostbyaddr): Likewise.
22816         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22817         (inet_net_ntop_ipv4): Likewise.
22818         * resolv/inet_neta.c (inet_neta): Likewise.
22819         * resolv/inet_ntop.c (inet_ntop): Likewise.
22820         (inet_ntop4): Likewise.
22821         (inet_ntop6): Likewise.
22822         * resolv/inet_pton.c (__inet_pton): Likewise.
22823         (inet_pton4): Likewise.
22824         (inet_pton6): Likewise.
22825         * resolv/res_debug.c (loc_aton): Likewise.
22826         (loc_ntoa): Likewise.
22827         * resource/getpriority.c (__getpriority): Likewise.
22828         * resource/getrusage.c (__getrusage): Likewise.
22829         * resource/nice.c (nice): Likewise.
22830         * resource/setpriority.c (__setpriority): Likewise.
22831         * resource/setrlimit64.c (setrlimit64): Likewise.
22832         * resource/vlimit.c (vlimit): Likewise.
22833         * resource/vtimes.c (vtimes): Likewise.
22834         * rt/aio_error.c (aio_error): Likewise.
22835         * rt/aio_return.c (aio_return): Likewise.
22836         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22837         * signal/kill.c (__kill): Likewise.
22838         * signal/killpg.c (killpg): Likewise.
22839         * signal/raise.c (raise): Likewise.
22840         * signal/sigaction.c (__sigaction): Likewise.
22841         * signal/sigaddset.c (sigaddset): Likewise.
22842         * signal/sigaltstack.c (sigaltstack): Likewise.
22843         * signal/sigandset.c (sigandset): Likewise.
22844         * signal/sigblock.c (__sigblock): Likewise.
22845         * signal/sigdelset.c (sigdelset): Likewise.
22846         * signal/sigempty.c (sigemptyset): Likewise.
22847         * signal/sigfillset.c (sigfillset): Likewise.
22848         * signal/sighold.c (sighold): Likewise.
22849         * signal/sigignore.c (sigignore): Likewise.
22850         * signal/sigintr.c (siginterrupt): Likewise.
22851         * signal/sigisempty.c (sigisemptyset): Likewise.
22852         * signal/sigismem.c (sigismember): Likewise.
22853         * signal/signal.c (signal): Likewise.
22854         * signal/sigorset.c (sigorset): Likewise.
22855         * signal/sigpause.c (__sigpause): Likewise.
22856         * signal/sigpending.c (sigpending): Likewise.
22857         * signal/sigprocmask.c (__sigprocmask): Likewise.
22858         * signal/sigrelse.c (sigrelse): Likewise.
22859         * signal/sigreturn.c (__sigreturn): Likewise.
22860         * signal/sigset.c (sigset): Likewise.
22861         * signal/sigsetmask.c (__sigsetmask): Likewise.
22862         * signal/sigstack.c (sigstack): Likewise.
22863         * signal/sigsuspend.c (__sigsuspend): Likewise.
22864         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22865         * signal/sysv_signal.c (__sysv_signal): Likewise.
22866         * socket/accept.c (accept): Likewise.
22867         * socket/accept4.c (__libc_accept4): Likewise.
22868         * socket/bind.c (__bind): Likewise.
22869         * socket/connect.c (__connect): Likewise.
22870         * socket/getpeername.c (getpeername): Likewise.
22871         * socket/getsockname.c (__getsockname): Likewise.
22872         * socket/getsockopt.c (getsockopt): Likewise.
22873         * socket/listen.c (__listen): Likewise.
22874         * socket/recv.c (__recv): Likewise.
22875         * socket/recvmsg.c (__recvmsg): Likewise.
22876         * socket/send.c (__send): Likewise.
22877         * socket/sendmsg.c (__sendmsg): Likewise.
22878         * socket/shutdown.c (shutdown): Likewise.
22879         * socket/sockatmark.c (sockatmark): Likewise.
22880         * socket/socket.c (__socket): Likewise.
22881         * stdio-common/ctermid.c (ctermid): Likewise.
22882         * stdio-common/cuserid.c (cuserid): Likewise.
22883         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22884         * stdio-common/remove.c (remove): Likewise.
22885         * stdio-common/rename.c (rename): Likewise.
22886         * stdio-common/renameat.c (renameat): Likewise.
22887         * stdio-common/tempname.c (__gen_tempname): Likewise.
22888         * stdio-common/xbug.c (InitBuffer): Likewise.
22889         (AppendToBuffer): Likewise.
22890         (ReadFile): Likewise.
22891         * stdlib/a64l.c (a64l): Likewise.
22892         * stdlib/drand48_r.c (drand48_r): Likewise.
22893         * stdlib/getcontext.c (getcontext): Likewise.
22894         * stdlib/getenv.c (getenv): Likewise.
22895         * stdlib/l64a.c (l64a): Likewise.
22896         * stdlib/llabs.c (llabs): Likewise.
22897         * stdlib/lldiv.c (lldiv): Likewise.
22898         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22899         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22900         * stdlib/putenv.c (putenv): Likewise.
22901         * stdlib/random.c (__srandom): Likewise.
22902         (__initstate): Likewise.
22903         (__setstate): Likewise.
22904         * stdlib/random_r.c (__srandom_r): Likewise.
22905         (__setstate_r): Likewise.
22906         (__random_r): Likewise.
22907         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22908         * stdlib/setcontext.c (setcontext): Likewise.
22909         * stdlib/setenv.c (setenv): Likewise.
22910         (unsetenv): Likewise.
22911         * stdlib/srand48.c (srand48): Likewise.
22912         * stdlib/srand48_r.c (__srand48_r): Likewise.
22913         * stdlib/swapcontext.c (swapcontext): Likewise.
22914         * stdlib/system.c (__libc_system): Likewise.
22915         * stdlib/tst-strtod.c (expand): Likewise.
22916         * stdlib/tst-strtol.c (expand): Likewise.
22917         * stdlib/tst-strtoll.c (expand): Likewise.
22918         * streams/fattach.c (fattach): Likewise.
22919         * streams/fdetach.c (fdetach): Likewise.
22920         * streams/getmsg.c (getmsg): Likewise.
22921         * streams/isastream.c (isastream): Likewise.
22922         * string/ffs.c (__ffs): Likewise.
22923         * string/ffsll.c (ffsll): Likewise.
22924         * string/memcmp.c (memcmp_common_alignment): Likewise.
22925         (memcmp_not_common_alignment): Likewise.
22926         (MEMCMP): Likewise.
22927         * string/memcpy.c (memcpy): Likewise.
22928         * string/memmove.c (MEMMOVE): Likewise.
22929         * string/memset.c (memset): Likewise.
22930         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22931         * string/strchrnul.c (STRCHRNUL): Likewise.
22932         * string/strerror.c (strerror): Likewise.
22933         * string/strndup.c (__strndup): Likewise.
22934         * string/strverscmp.c (__strverscmp): Likewise.
22935         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22936         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22937         (clnttcp_freeres): Likewise.
22938         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22939         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22940         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22941         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22942         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22943         (xdr_callhdr): Likewise.
22944         * sunrpc/rpcinfo.c (udpping): Likewise.
22945         (tcpping): Likewise.
22946         (pstatus): Likewise.
22947         (pmapdump): Likewise.
22948         (brdcst): Likewise.
22949         (deletereg): Likewise.
22950         (getprognum): Likewise.
22951         (getvers): Likewise.
22952         (get_inet_address): Likewise.
22953         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22954         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22955         (svcudp_stat): Likewise.
22956         (svcudp_recv): Likewise.
22957         (svcudp_reply): Likewise.
22958         (svcudp_getargs): Likewise.
22959         (svcudp_freeargs): Likewise.
22960         (svcudp_destroy): Likewise.
22961         * sunrpc/xdr.c (xdr_bytes): Likewise.
22962         (xdr_netobj): Likewise.
22963         (xdr_string): Likewise.
22964         (xdr_wrapstring): Likewise.
22965         * sunrpc/xdr_float.c (xdr_float): Likewise.
22966         (xdr_double): Likewise.
22967         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22968         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22969         * sysvipc/ftok.c (ftok): Likewise.
22970         * sysvipc/msgctl.c (msgctl): Likewise.
22971         * sysvipc/msgget.c (msgget): Likewise.
22972         * sysvipc/msgrcv.c (msgrcv): Likewise.
22973         * sysvipc/msgsnd.c (msgsnd): Likewise.
22974         * sysvipc/semget.c (semget): Likewise.
22975         * sysvipc/semop.c (semop): Likewise.
22976         * sysvipc/shmat.c (shmat): Likewise.
22977         * sysvipc/shmctl.c (shmctl): Likewise.
22978         * sysvipc/shmdt.c (shmdt): Likewise.
22979         * sysvipc/shmget.c (shmget): Likewise.
22980         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22981         * termios/speed.c (cfgetospeed): Likewise.
22982         (cfgetispeed): Likewise.
22983         (cfsetospeed): Likewise.
22984         (cfsetispeed): Likewise.
22985         * termios/tcflow.c (tcflow): Likewise.
22986         * termios/tcflush.c (tcflush): Likewise.
22987         * termios/tcgetattr.c (__tcgetattr): Likewise.
22988         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22989         * termios/tcgetsid.c (tcgetsid): Likewise.
22990         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22991         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22992         * time/adjtime.c (__adjtime): Likewise.
22993         * time/dysize.c (dysize): Likewise.
22994         * time/ftime.c (ftime): Likewise.
22995         * time/getitimer.c (__getitimer): Likewise.
22996         * time/gettimeofday.c (__gettimeofday): Likewise.
22997         * time/gmtime.c (__gmtime_r): Likewise.
22998         (gmtime): Likewise.
22999         * time/localtime.c (__localtime_r): Likewise.
23000         (localtime): Likewise.
23001         * time/offtime.c (__offtime): Likewise.
23002         * time/settimeofday.c (__settimeofday): Likewise.
23003         * time/stime.c (stime): Likewise.
23004         * time/strftime_l.c (tm_diff): Likewise.
23005         (iso_week_days): Likewise.
23006         * time/strptime.c (strptime): Likewise.
23007         * time/time.c (time): Likewise.
23008         * time/timespec_get.c (timespec_get): Likewise.
23009         * time/tzset.c (tzset_internal): Likewise.
23010         (compute_change): Likewise.
23011         (__tz_compute): Likewise.
23012         * wcsmbs/btowc.c (__btowc): Likewise.
23013         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23014         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23015         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23016         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23017         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23018         * wcsmbs/wcscat.c (__wcscat): Likewise.
23019         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23020         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23021         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23022         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23023         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23024         * wcsmbs/wcslen.c (__wcslen): Likewise.
23025         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23026         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23027         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23028         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23029         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23030         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23031         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23032         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23033         * wcsmbs/wcstok.c (wcstok): Likewise.
23034         * wcsmbs/wctob.c (wctob): Likewise.
23035         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23036         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23037         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23038         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23039         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23040         * wcsmbs/wmemset.c (__wmemset): Likewise.
23041         * wctype/wcfuncs.c (__towlower): Likewise.
23042         (__towupper): Likewise.
23044         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23045         (lll_unlock_elision): Add adapt_count parameter.
23047 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23049         * sysdeps/nptl/configure.ac: Do not give errors based on the
23050         results of top-level configure tests.
23051         * sysdeps/nptl/configure: Regenerated.
23053         * configure.ac (libc_cv_Bgroup): Remove configure test.
23054         * configure: Regenerated.
23055         * config.make.in (have-Bgroup): Remove variable.
23057         * configure.ac (sizeof_long_double): Remove configure test.
23058         * configure: Regenerated.
23059         * config.make.in (sizeof-long-double): Remove variable.
23061         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23062         * configure: Regenerated.
23063         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23064         variable.
23065         (exceptions): Likewise.
23066         * sysdeps/arm/configure: Regenerated.
23067         * config.make.in (exceptions): Remove variable.
23068         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23069         $(exceptions).
23070         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23071         (CFLAGS-vdprintf_chk.c): Likewise.
23072         (CFLAGS-printf_chk.c): Likewise.
23073         (CFLAGS-fprintf_chk.c): Likewise.
23074         (CFLAGS-vprintf_chk.c): Likewise.
23075         (CFLAGS-vfprintf_chk.c): Likewise.
23076         (CFLAGS-gets_chk.c): Likewise.
23077         (CFLAGS-fgets_chk.c): Likewise.
23078         (CFLAGS-fgets_u_chk.c): Likewise.
23079         (CFLAGS-fread_chk.c): Likewise.
23080         (CFLAGS-fread_u_chk.c): Likewise.
23081         (CFLAGS-wprintf_chk.c): Likewise.
23082         (CFLAGS-fwprintf_chk.c): Likewise.
23083         (CFLAGS-vwprintf_chk.c): Likewise.
23084         (CFLAGS-vfwprintf_chk.c): Likewise.
23085         (CFLAGS-fgetws_chk.c): Likewise.
23086         (CFLAGS-fgetws_u_chk.c): Likewise.
23087         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23088         (CFLAGS-fputc.c): Likewise.
23089         (CFLAGS-fputwc.c): Likewise.
23090         (CFLAGS-freopen64.c): Likewise.
23091         (CFLAGS-freopen.c): Likewise.
23092         (CFLAGS-fseek.c): Likewise.
23093         (CFLAGS-fseeko64.c): Likewise.
23094         (CFLAGS-fseeko.c): Likewise.
23095         (CFLAGS-ftello64.c): Likewise.
23096         (CFLAGS-ftello.c): Likewise.
23097         (CFLAGS-fwide.c): Likewise.
23098         (CFLAGS-genops.c): Likewise.
23099         (CFLAGS-getc.c): Likewise.
23100         (CFLAGS-getchar.c): Likewise.
23101         (CFLAGS-getwc.c): Likewise.
23102         (CFLAGS-getwchar.c): Likewise.
23103         (CFLAGS-iofclose.c): Likewise.
23104         (CFLAGS-iofflush.c): Likewise.
23105         (CFLAGS-iofgetpos64.c): Likewise.
23106         (CFLAGS-iofgetpos.c): Likewise.
23107         (CFLAGS-iofgets.c): Likewise.
23108         (CFLAGS-iofgetws.c): Likewise.
23109         (CFLAGS-iofputs.c): Likewise.
23110         (CFLAGS-iofputws.c): Likewise.
23111         (CFLAGS-iofread.c): Likewise.
23112         (CFLAGS-iofsetpos64.c): Likewise.
23113         (CFLAGS-iofsetpos.c): Likewise.
23114         (CFLAGS-ioftell.c): Likewise.
23115         (CFLAGS-iofwrite.c): Likewise.
23116         (CFLAGS-iogetdelim.c): Likewise.
23117         (CFLAGS-iogetline.c): Likewise.
23118         (CFLAGS-iogets.c): Likewise.
23119         (CFLAGS-iogetwline.c): Likewise.
23120         (CFLAGS-ioputs.c): Likewise.
23121         (CFLAGS-ioseekoff.c): Likewise.
23122         (CFLAGS-ioseekpos.c): Likewise.
23123         (CFLAGS-iosetbuffer.c): Likewise.
23124         (CFLAGS-iosetvbuf.c): Likewise.
23125         (CFLAGS-ioungetc.c): Likewise.
23126         (CFLAGS-ioungetwc.c): Likewise.
23127         (CFLAGS-oldfileops.c): Likewise.
23128         (CFLAGS-oldiofclose.c): Likewise.
23129         (CFLAGS-oldiofgetpos64.c): Likewise.
23130         (CFLAGS-oldiofgetpos.c): Likewise.
23131         (CFLAGS-oldiofsetpos64.c): Likewise.
23132         (CFLAGS-oldiofsetpos.c): Likewise.
23133         (CFLAGS-peekc.c): Likewise.
23134         (CFLAGS-putc.c): Likewise.
23135         (CFLAGS-putchar.c): Likewise.
23136         (CFLAGS-putwc.c): Likewise.
23137         (CFLAGS-putwchar.c): Likewise.
23138         (CFLAGS-rewind.c): Likewise.
23139         (CFLAGS-wfileops.c): Likewise.
23140         (CFLAGS-wgenops.c): Likewise.
23141         (CFLAGS-oldiofopen.c): Likewise.
23142         (CFLAGS-iofopen.c): Likewise.
23143         (CFLAGS-iofopen64.c): Likewise.
23144         (CFLAGS-oldtmpfile.c): Likewise.
23145         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23146         (CFLAGS-fprintf.c): Likewise.
23147         (CFLAGS-printf.c): Likewise.
23148         (CFLAGS-vfwprintf.c): Likewise.
23149         (CFLAGS-vfscanf.c): Likewise.
23150         (CFLAGS-vfwscanf.c): Likewise.
23151         (CFLAGS-fscanf.c): Likewise.
23152         (CFLAGS-scanf.c): Likewise.
23153         (CFLAGS-isoc99_vfscanf.c): Likewise.
23154         (CFLAGS-isoc99_vscanf.c): Likewise.
23155         (CFLAGS-isoc99_fscanf.c): Likewise.
23156         (CFLAGS-isoc99_scanf.c): Likewise.
23157         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23158         (CFLAGS-isoc99_fwscanf.c): Likewise.
23159         (CFLAGS-isoc99_vwscanf.c): Likewise.
23160         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23162         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23163         after mkstemp64.
23164         * login/tst-utmp.c (do_prepare): Likewise.
23165         * rt/tst-aio.c (do_prepare): Likewise.
23166         * rt/tst-aio64.c (do_prepare): Likewise.
23168 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23170         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23171         (__lll_lock_elision): Remove adapt_count decrement...
23172         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23173         (__lll_trylock_elision): Likewise.
23174         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23175         (__lll_unlock_elision): ... to here. And utilize
23176         new adapt_count parameter.
23177         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23178         (__lll_unlock_elision): Update to include adapt_count
23179         parameter.
23180         (lll_unlock_elision): Pass pointer to adapt_count
23181         variable.
23183 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23185         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23186         Add elision adapt_count parameter to list of arguments.
23187         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23188         (lll_unlock_elision): Update with new parameter list
23189         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23190         (lll_unlock_elision): Likewise.
23191         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23192         (lll_unlock_elision): Likewise.
23194 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23196         [BZ #19122]
23197         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23198         attribute_hidden.
23200         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23201         attribute_hidden.
23202         [IS_IN (rtld)] (__strdup): Likewise.
23203         [IS_IN (rtld)] (__strerror_r): Likewise.
23204         [IS_IN (rtld)] (__strsep_g): Likewise.
23205         [IS_IN (rtld)] (memchr): Likewise.
23206         [IS_IN (rtld)] (memcmp): Likewise.
23207         [IS_IN (rtld)] (memcpy): Likewise.
23208         [IS_IN (rtld)] (memmove): Likewise.
23209         [IS_IN (rtld)] (memset): Likewise.
23210         [IS_IN (rtld)] (rawmemchr): Likewise.
23211         [IS_IN (rtld)] (stpcpy): Likewise.
23212         [IS_IN (rtld)] (strchr): Likewise.
23213         [IS_IN (rtld)] (strcmp): Likewise.
23214         [IS_IN (rtld)] (strlen): Likewise.
23215         [IS_IN (rtld)] (strnlen): Likewise.
23216         [IS_IN (rtld)] (strsep): Likewise.
23218         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23219         attribute_hidden.
23220         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23222         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23223         attribute_hidden.
23224         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23226         * include/setjmp.h (__longjmp): Add attribute_hidden.
23227         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23229         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23230         Add attribute_hidden.
23232         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23233         [IS_IN (rtld)] (__open): Likewise.
23234         [IS_IN (rtld)] (__fcntl): Likewise.
23236         * include/dirent.h (__opendirat): Add attribute_hidden.
23237         (__getdents): Likewise.
23238         (__getdents64): Likewise.
23239         (__alloc_dir): Likewise.
23240         [IS_IN (rtld)] (__closedir): Likewise.
23241         [IS_IN (rtld)] (__fdopendir): Likewise.
23242         [IS_IN (rtld)] (__readdir): Likewise.
23243         [IS_IN (rtld)] (__readdir64): Likewise.
23244         [IS_IN (rtld)] (__rewinddir): Likewise.
23246         * include/dlfcn.h (_dl_catch_error): Moved to ...
23247         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23248         attribute_hidden.
23250         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23251         (_itoa_word): Likewise.
23253         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23254         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23255         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23256         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23257         (_dl_higher_prime_number): Likewise.
23258         (_dl_debug_printf_c): Likewise.
23259         (_dl_signal_cerror): Likewise.
23260         (_dl_receive_error): Likewise.
23261         (_dl_reloc_bad_type): Likewise.
23262         (_dl_resolve_conflicts): Likewise.
23263         (_dl_check_all_versions): Likewise.
23264         (_dl_check_map_versions): Likewise.
23265         (_dl_sort_fini): Likewise.
23266         (_dl_debug_initialize): Likewise.
23267         (_dl_init_paths): Likewise.
23268         (_dl_show_auxv): Likewise.
23269         (_dl_next_ld_env_entry): Likewise.
23270         (_dl_important_hwcaps): Likewise.
23271         (_dl_load_cache_lookup): Likewise.
23272         (_dl_update_slotinfo): Likewise.
23273         (_dl_show_scope): Likewise.
23275         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23276         attribute_hidden.
23277         (_wordcopy_fwd_dest_aligned): Likewise.
23278         (_wordcopy_bwd_aligned): Likewise.
23279         (_wordcopy_bwd_dest_aligned): Likewise.
23281         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23282         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23283         Likewise.
23284         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23285         Likewise.
23286         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23288 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23290         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23291         GCC 5 requirement.
23293 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23295         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23296         test.
23297         * sysdeps/i386/configure: Regenerated.
23298         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23299         code unconditional.
23301         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23302         test.
23303         (libc_cv_asm_popsection_directive): Likewise.
23304         * configure: Regenerated.
23305         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23306         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23307         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23308         (__make_section_unallocated): Make definition unconditional.
23309         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23310         Remove conditional definition.
23311         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23312         (__make_section_unallocated): Likewise.
23314         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23315         * configure: Regenerated.
23316         * config.make.in (static-libgcc): Remove variable.
23317         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23318         $(static-libgcc).
23319         (build-module-helper): Likewise.
23321         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23322         * configure: Regenerated.
23324 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23326         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23327         (struct char_buffer): New type.
23328         (char_buffer_start, char_buffer_size, char_buffer_error)
23329         (char_buffer_rewind, char_buffer_add): New functions.
23330         (ADDW): Remove macro, replaced by the char_buffer_add function.
23331         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23332         of extend_alloca.  Make control flow more explicit.
23334 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23336         [BZ #19137]
23337         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23338         Add -fomit-frame-pointer.
23339         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23341 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23343         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23344         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23346         only if !__GNUC_PREREQ (5,0).
23347         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23348         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23349         (INTERNAL_SYSCALL_NCS): Likewise.
23350         (LOADREGS_0): New macro for GCC 5.
23351         (ASMARGS_0): Likewise.
23352         (LOADREGS_1): Likewise.
23353         (ASMARGS_1): Likewise.
23354         (LOADREGS_2): Likewise.
23355         (ASMARGS_2): Likewise.
23356         (LOADREGS_3): Likewise.
23357         (ASMARGS_3): Likewise.
23358         (LOADREGS_4): Likewise.
23359         (ASMARGS_4): Likewise.
23360         (LOADREGS_5): Likewise.
23361         (ASMARGS_5): Likewise.
23362         (LOADREGS_6): Likewise.
23363         (ASMARGS_6): Likewise.
23365 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23367         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23368         -fomit-frame-pointer.
23369         (CFLAGS-mmap64.c): Likewise.
23370         (CFLAGS-semtimedop.c): Likewise.
23371         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23372         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23373         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23374         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23376 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23378         [BZ #18928]
23379         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23380         _dl_pointer_guard member.
23381         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23382         initializer.
23383         (security_init): Always set up pointer guard.
23384         (process_envvars): Do not process LD_POINTER_GUARD.
23386 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23388         [BZ #19134]
23389         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23390         (.LC2): Likewise.
23391         (.LC3): Likewise.
23392         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23394 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23396         [BZ #19129]
23397         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23398         r0 and r1.
23400 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23402         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23404 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23406         * include/stap-probe.h: Fix macro definition formatting.
23408 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23410         [BZ #19074]
23411         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23412         load and store num_ifs.
23414 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23416         [BZ #18822]
23417         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23418         (__sched_getaffinity_new): Add libc_hidden_proto and
23419         libc_hidden_def.
23421 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23423         [BZ #19007]
23424         * scripts/localplt.awk: Also allow GOT references.
23425         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23426         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23427         with "+ REL R_386_GLOB_DAT".
23428         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23429         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23431 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23433         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23434         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23435         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23436         Likewise.
23437         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23438         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23439         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23440         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23441         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23442         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23443         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23444         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23445         Likewise.
23446         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23448 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23450         [BZ #19125]
23451         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23452         <math_private.h> and <stdint.h>.
23453         (__llround): Avoid conversions to and from long long int, and
23454         subtractions, where those might raise spurious exceptions.
23455         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23456         <math_private.h> and <stdint.h>.
23457         (__llroundf): Avoid conversions to and from long long int, and
23458         subtractions, where those might raise spurious exceptions.
23460 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23462         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23463         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23464         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23465         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23466         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23467         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23468         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23469         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23470         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23471         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23472         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23473         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23474         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23475         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23476         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23477         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23478         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23479         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23480         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23481         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23482         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23483         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23484         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23485         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23486         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23487         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23488         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23489         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23490         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23491         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23492         (__xstat64_conv): Likewise.
23493         (__xstat32_conv): Likewise.
23495 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23497         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23498         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23499         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23500         <sysdeps/unix/sysv/linux/sysdep.h>.
23501         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23502         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23503         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23504         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23505         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23506         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23507         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23508         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23509         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23514         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23515         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23517         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23518         (sysdep-dl-routines): Add sysdep.
23519         [$(subdir) == nptl] (libpthread-routines): Likewise.
23520         [$(subdir) == rt] (librt-routines): Likewise.
23521         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23522         PIC when branching to SYSCALL_ERROR_LABEL.
23523         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23525         <sysdeps/unix/sysv/linux/sysdep.h>.
23526         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23527         (SYSCALL_ERROR_ERRNO): Removed.
23528         (SYSCALL_ERROR_HANDLER): Changed to empty.
23529         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23530         (__syscall_error): New prototype.
23531         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23532         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23534 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23536         [BZ #19124]
23537         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23538         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23539         _dl_runtime_resolve_avx.
23540         (_dl_runtime_profile_avx512): Make it a hidden alias of
23541         _dl_runtime_profile_avx.
23543 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23545         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23546         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23547         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23548         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23550         [BZ #16422]
23551         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23552         New configure test.
23553         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23554         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23555         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23556         <math_private.h> and <stdint.h>.
23557         (__llrint): Avoid conversions to long long int where those might
23558         raise spurious exceptions.
23559         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23560         <math_private.h> and <stdint.h>.
23561         (__llrintf): Avoid conversions to long long int where those might
23562         raise spurious exceptions.
23564 2015-10-12  Andreas Schwab  <schwab@suse.de>
23566         [BZ #18969]
23567         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23568         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23569         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23570         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23571         $(gen-locales).
23572         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23573         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23574         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23575         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23576         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23577         $(gen-locales).
23578         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23579         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23580         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23581         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23582         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23583         ($(objpfx)tst-ftell-active-handler.out)
23584         ($(objpfx)tst-ftell-append.out)
23585         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23586         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23587         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23588         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23589         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23590         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23591         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23592         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23593         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23594         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23595         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23596         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23597         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23598         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23599         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23600         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23601         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23602         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23603         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23604         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23605         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23606         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23607         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23608         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23609         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23610         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23611         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23612         $(gen-locales).
23613         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23614         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23615         $(gen-locales).
23616         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23617         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23618         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23619         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23620         $(gen-locales).
23621         * libio/tst_wprintf2.c (main): Use explicit locale.
23622         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23624 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23626         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23627         __msg_sig_post.
23628         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23630 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23632         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23633         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23635         * sysdeps/arm/libm-test-ulps: Regenerated.
23637         [BZ #15470]
23638         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23640         [BZ #16399]
23641         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23642         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23643         and <fix-fp-int-convert-overflow.h>.
23644         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23645         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23646         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23647         and <fix-fp-int-convert-overflow.h>.
23648         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23649         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23650         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23651         <fix-fp-int-convert-overflow.h>.
23652         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23653         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23654         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23655         <fix-fp-int-convert-overflow.h>.
23656         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23657         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23658         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23659         and <fix-fp-int-convert-overflow.h>.
23660         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23661         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23662         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23663         <limits.h> and <fix-fp-int-convert-overflow.h>.
23664         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23665         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23666         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23667         and <fix-fp-int-convert-overflow.h>.
23668         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23669         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23670         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23671         and <fix-fp-int-convert-overflow.h>.
23672         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23673         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23674         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23676 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23678         [BZ #18589]
23679         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23680         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23681         $(gen-locales).
23683 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23684             Phil Blundell <pb@pbcl.net>
23686         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23687         * nptl/tst-cancel26.c: New file.
23688         * nptl/tst-cancel27.c: Likewise.
23690 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23692         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23693         __ILP32__ isn't defined.
23694         (lrint): Likewise.
23695         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23696         (lrintf): Likewise.
23697         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23698         (lrintl): Likewise.
23699         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23700         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23701         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23703 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23708         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23709         file.
23710         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23711         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23713 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23715         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23716         configure test.
23717         * sysdeps/i386/configure: Regenerated.
23718         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23719         configure test.
23720         * sysdeps/x86_64/configure: Regenerated.
23721         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23722         Make code unconditional.
23724         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23725         test.
23726         * sysdeps/i386/configure: Regenerated.
23727         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23728         test.
23729         * sysdeps/x86_64/configure: Regenerated.
23730         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23731         Make code unconditional.
23732         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23733         Likewise.
23734         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23735         Likewise.
23736         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23737         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23738         code unconditional.
23739         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23740         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23741         code unconditional.
23742         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23743         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23744         code unconditional.
23745         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23746         code unconditional.
23747         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23748         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23749         code unconditional.
23750         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23751         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23752         code unconditional.
23753         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23754         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23755         code unconditional.
23756         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23757         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23758         code unconditional.
23759         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23760         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23762         [BZ #19095]
23763         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23764         mantissa to long int before shifting left.
23766 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23768         [BZ #19094]
23769         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23770         <limits.h>.
23771         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23772         when result overflows but exception would not result from cast.
23773         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23774         <limits.h>.
23775         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23776         when result overflows but exception would not result from cast.
23777         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23778         <limits.h>.
23779         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23780         when result overflows but exception would not result from cast.
23781         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23782         <limits.h>.
23783         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23784         when result overflows but exception would not result from cast.
23785         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23786         <limits.h>.
23787         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23788         when result overflows but exception would not result from cast.
23789         * math/libm-test.inc (lrint_test_data): Add more tests.
23790         (llrint_test_data): Likewise.
23792 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23794         [BZ #18872]
23795         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23796         Move out from under [$(run-built-tests) = yes] conditional.
23797         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23798         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23800 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23802         [BZ #18589]
23803         * string/Makefile (tests): Add bug-strcoll2.
23804         (LOCALES): Add cs_CZ.UTF-8.
23805         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23807         [BZ #18589]
23808         * string/bug-strcoll2.c: New file.
23809         * locale/categories.def: Revert commit
23810         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23811         * locale/langinfo.h: Likewise.
23812         * locale/localeinfo.h: Likewise.
23813         * locale/C-collate.c: Likewise.
23814         * locale/programs/ld-collate.c (collate_output): Likewise.
23815         * string/strcoll_l.c (STRDIFF): Likewise.
23816         (STRCOLL): Likewise.
23817         * wcsmbs/wcscoll_l.c: Likewise.
23819 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23821         * math/libm-test.inc (lround_test_data): Do not expect the absence
23822         of "inexact" for some tests with non-integer arguments.
23823         (llround_test_data): Likewise.
23825         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23826         test.
23827         (libc_cv_cc_sse2avx): Likewise.
23828         * sysdeps/i386/configure: Regenerated.
23829         * sysdeps/i386/i686/multiarch/Makefile
23830         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23831         [$(subdir) = math].
23832         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23833         code unconditional.
23834         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23835         Likewise.
23836         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23837         Likewise.
23838         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23839         Likewise.
23840         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23841         test.
23842         (libc_cv_cc_sse2avx): Likewise.
23843         * sysdeps/x86_64/configure: Regenerated.
23844         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23845         unconditional.
23846         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23847         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23848         unconditional.
23849         (_dl_runtime_profile)
23850         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23851         conditional code.
23852         * sysdeps/x86_64/fpu/multiarch/Makefile
23853         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23854         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23855         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23856         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23857         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23858         * sysdeps/x86_64/fpu/multiarch/e_log.c
23859         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23860         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23861         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23862         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23863         Likewise.
23864         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23865         Likewise.
23866         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23867         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23868         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23869         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23870         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23871         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23872         (HAVE_SSE2AVX_SUPPORT): Likewise.
23874 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23876         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23877         instead of #pragma optimize.
23879 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23881         [BZ #17195]
23882         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23883         as is similarly done in systrim and _int_free already.
23885 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23887         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23889 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23891         [BZ #19088]
23892         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23893         <limits.h>.
23894         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23895         overflows but exception would not result from cast.
23896         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23897         and <limits.h>.
23898         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23899         overflows but exception would not result from cast.
23900         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23901         <limits.h>.
23902         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23903         overflows but exception would not result from cast.
23904         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23905         <limits.h>.
23906         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23907         overflows but exception would not result from cast.
23908         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23909         <limits.h>.
23910         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23911         overflows but exception would not result from cast.
23912         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23913         <limits.h>.
23914         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23915         overflows but exception would not result from cast.
23916         * math/libm-test.inc (lround_test_data): Add more tests.
23917         (llround_test_data): Likewise.
23919 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23921         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23922         (CFLAGS-ialloc.c): Ditto.
23923         (CFLAGS-scheck.c): Ditto.
23925 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23927         [BZ #19086]
23928         * manual/filesys.texi (Storage Allocation): Fix argument order for
23929         posix_fallocate64.
23931 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23933         [BZ #19085]
23934         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23935         exponent below 48 inside case for non-overflowing exponent.
23936         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23938 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23940         * iconvdata/cp737.h (from_idx): Add const.
23941         * iconvdata/cp775.h (from_idx): Likewise.
23943 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23945         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23946         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23947         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23949         [BZ #19079]
23950         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23951         file, conditioned on [!_LP64].
23952         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23953         [!_LP64] (__lround): Do not define as function or alias.
23954         [!_LP64] (lround): Likewise.
23955         [!_LP64] (__lroundl): Likewise.
23956         [!_LP64] (lroundl): Likewise.
23957         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23958         macro.
23959         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23960         Likewise.
23962 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23964         * math/libm-test.inc (lrint_test_data): Add more tests.
23965         (llrint_test_data): Likewise.
23966         (lround_test_data): Likewise.
23967         (llround_test_data): Likewise.
23969         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23970         (llrint_test_data): Add tests used for lrint.
23972         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23973         test.
23974         * sysdeps/i386/configure: Regenerated.
23975         * sysdeps/i386/i686/multiarch/Makefile
23976         [$(config-cflags-sse4) = yes]: Make code unconditional.
23977         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23978         Likewise.
23979         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23980         Likewise.
23981         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23982         test.
23983         * sysdeps/x86_64/configure: Regenerated.
23984         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23985         Make code unconditional.
23986         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23987         Likewise.
23988         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23989         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23991         * scripts/rpm2dynsym.sh: Remove file.
23993 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23995         * configure.ac (libc_cv_cxx_thread_local): Define.
23996         * configure: Regenerate.
23997         * config.make.in (have-cxx-thread_local): Define.
23998         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23999         (LDLIBS-tst-thread_local1): Define.
24000         (tests): Add tst-thread_local1.
24001         [have-cxx-thread_local != yes] (tests-unsupported): Add
24002         tst-thread_local1.
24003         * nptl/tst-thread_local1.cc: New file.
24005 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24007         [BZ #19078]
24008         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24009         (u_thres): Likewise.
24010         (__expl): Determine whether to call __kernel_standard_l based on
24011         value of result, not argument.
24013         * math/libm-test.inc (scalb_test_data): Add more expectations for
24014         the "inexact" exception.
24016         [BZ #19077]
24017         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24018         0.0L for argument 1.0L.
24020         [BZ #19076]
24021         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24022         constant 0.0L when computing infinite result.
24024 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24026         [BZ #10432]
24027         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24028         malloc_usable_size.
24030 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24032         [BZ #19018]
24033         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24034         Mangle function pointer before storing it.
24035         (__call_tls_dtors): Demangle function pointer before calling it.
24037 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24039         [BZ #19012]
24040         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24041         Clean up on failure.
24043 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24045         [BZ #19071]
24046         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24047         long int variable to store possibly incremented high part of
24048         mantissa.
24049         * math/libm-test.inc (lround_test_data): Add tests used for
24050         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24051         for tests requiring 64-bit long.  Do not condition tests on
24052         [TEST_FLOAT] unnecessarily.
24053         (llround_test_data): Add tests used for lround.  Add another
24054         expectation for the "inexact" exception.  Do not condition tests
24055         on [TEST_FLOAT] unnecessarily.
24057         [BZ #887]
24058         [BZ #19049]
24059         [BZ #19050]
24060         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24061         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24062         <fix-int-fp-convert-zero.h>.
24063         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24064         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24065         <fix-int-fp-convert-zero.h>.
24066         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24067         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24068         <fix-int-fp-convert-zero.h>.
24069         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24070         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24071         <fix-int-fp-convert-zero.h>.
24072         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24073         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24074         <fix-int-fp-convert-zero.h>.
24075         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24076         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24077         <fix-int-fp-convert-zero.h>.
24078         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24079         * sysdeps/ieee754/flt-32/s_erff.c: Include
24080         <fix-int-fp-convert-zero.h>.
24081         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24082         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24083         <fix-int-fp-convert-zero.h>.
24084         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24085         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24086         <fix-int-fp-convert-zero.h>.
24087         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24088         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24089         <fix-int-fp-convert-zero.h>.
24090         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24091         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24092         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24093         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24094         file.
24095         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24097 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24099         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24101 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24103         [BZ #19059]
24104         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24105         overflowing computation.
24106         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24107         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24108         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24109         Likewise.
24110         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24111         Likewise.
24112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24113         Likewise.
24114         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24115         Likewise.
24116         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24117         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24118         Likewise.
24119         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24120         Likewise.
24121         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24123         * nss/rewrite_field.c (__nss_rewrite_field): Use
24124         internal_function.
24125         * nss/valid_field.c (__nss_valid_field): Likewise.
24126         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24128 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24130         [BZ #18724]
24131         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24132         (__nss_invalid_field_characters, __nss_valid_field)
24133         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24134         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24135         tst-field.c: New file.
24136         * nss/Makefile (routines): Add valid_field, rewrite_field.
24137         (tests-static): Define unconditionally.
24138         (tests): Include tests-static.
24139         [build-static-nss] (tests-static): Use append.
24140         [build-static-nss] (tests): Remove modification.
24141         * nss/getent.c (print_group): Call putgrent.  Report error.
24142         (print_gshadow): Call putsgent.  Report error.
24143         (print_passwd): Call putpwent.  Report error.
24144         (print_shadow): Call putspent.  Report error.
24145         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24146         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24147         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24148         name, password, directory, shell fields for valid syntax.  Rewrite
24149         GECOS field to match syntax.
24150         * pwd/Makefile (tests): Add tst-putpwent.
24151         * pwd/tst-putpwent.c: New file.
24152         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24153         Check grName, grpasswd, gr_mem fields for valid syntax.
24154         Change loop variable i to size_t.
24155         * grp/Makefile (tests): Add tst-putgrent.
24156         * grp/tst-putgrent.c: New file.
24157         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24158         valid syntax.
24159         * shadow/Makefile (tests): Add tst-putspent.
24160         * shadow/tst-putspent.c: New file.
24161         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24162         sg_mem fields for valid syntax.
24163         * gshadow/Makefile (tests): Add tst-putsgent.
24164         * gshadow/tst-putsgent.c: New file.
24166 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24168         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24169         assembly instructions.
24171 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24173         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24174         prefix from operands.
24176 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24178         [BZ #16347]
24179         [BZ #19046]
24180         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24181         <libc-internal.h>.
24182         (MAXLGM): Do not use diagnostic control macros.
24183         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24184         threshold for ldbl-128ibm.
24185         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24186         instead of multiplying by log then subtracting.
24187         * math/auto-libm-test-in: Add more tests of lgamma.
24188         * math/auto-libm-test-out: Regenerated.
24190         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24191         (TYPE_HEX_DIG): Likewise.
24192         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24193         precisions when printing floating-point numbers.
24194         (check_float_internal): Likewise.
24196 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24198         [BZ #16620]
24199         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24200         of log (10) rounded downward to 48 bits.
24201         (log10_low): Use corresponding low part of log (10).
24203         [BZ #19032]
24204         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24205         compute result as (x - x) / (x - x) not as 0 / 0.
24206         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24207         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24209         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24210         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24211         and expm1.
24212         * math/auto-libm-test-out: Regenerated.
24213         * math/libm-test.inc (acos_test_data): Add more tests.
24214         (asin_test_data): Likewise.
24215         (asinh_test_data): Likewise.
24216         (atan_test_data): Likewise.
24217         (atanh_test_data): Likewise.
24218         (atan2_test_data): Likewise.
24219         (cbrt_test_data): Likewise.
24220         (ceil_test_data): Likewise.
24221         (copysign_test_data): Likewise.
24222         (cos_test_data): Likewise.
24223         (cosh_test_data): Likewise.
24224         (erf_test_data): Likewise.
24225         (erfc_test_data): Likewise.
24226         (exp_test_data): Likewise.
24227         (exp10_test_data): Likewise.
24228         (exp2_test_data): Likewise.
24229         (expm1_test_data): Likewise.
24230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24232 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24234         [BZ #19006]
24235         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24236         to ...
24237         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24238         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24239         to ...
24240         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24241         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24242         to ...
24243         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24244         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24245         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24246         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24247         to ...
24248         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24249         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24250         Moved to ...
24251         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24252         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24253         Moved to ...
24254         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24255         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24256         to ...
24257         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24258         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24259         Moved to ...
24260         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24261         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24262         to ...
24263         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24264         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24265         Removed.
24266         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24267         Likewise.
24268         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24269         Likewise.
24270         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24271         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24272         Likewise.
24273         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24274         Likewise.
24275         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24276         Likewise.
24277         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24278         Likewise.
24279         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24280         Likewise.
24281         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24282         Likewise.
24283         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24284         Likewise.
24285         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24286         Likewise.
24287         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24288         Likewise.
24289         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24290         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24291         Likewise.
24292         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24293         Likewise.
24294         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24295         Likewise.
24296         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24297         Likewise.
24298         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24299         Likewise.
24300         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24301         Replace ../i486/pthread_cond_timedwait.S with
24302         ../pthread_cond_timedwait.S.
24304 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24306         * math/libm-test.inc (acos_test_data): Refine expectations for
24307         errno and "inexact" exceptions.
24308         (acosh_test_data): Likewise.
24309         (asin_test_data): Likewise.
24310         (asinh_test_data): Likewise.
24311         (atan_test_data): Likewise.
24312         (atanh_test_data): Likewise.
24313         (atan2_test_data): Likewise.
24314         (cbrt_test_data): Likewise.
24315         (ceil_test_data): Likewise.
24316         (copysign_test_data): Likewise.
24317         (cosh_test_data): Likewise.
24318         (erf_test_data): Likewise.
24319         (erfc_test_data): Likewise.
24320         (exp_test_data): Likewise.
24321         (exp10_test_data): Likewise.
24322         (exp2_test_data): Likewise.
24323         (expm1_test_data): Likewise.
24324         (fabs_test_data): Likewise.
24325         (floor_test_data): Likewise.
24326         (fma_test_data): Likewise.
24327         (fmax_test_data): Likewise.
24328         (fmin_test_data): Likewise.
24329         (fmod_test_data): Likewise.
24330         (fpclassify_test_data): Likewise.
24331         (frexp_test_data): Likewise.
24332         (hypot_test_data): Likewise.
24333         (ilogb_test_data): Likewise.
24334         (isgreater_test_data): Likewise.
24335         (isgreaterequal_test_data): Likewise.
24336         (isinf_test_data): Likewise.
24337         (isless_test_data): Likewise.
24338         (islessequal_test_data): Likewise.
24339         (islessgreater_test_data): Likewise.
24340         (isnan_test_data): Likewise.
24341         (isnormal_test_data): Likewise.
24342         (issignaling_test_data): Likewise.
24343         (isunordered_test_data): Likewise.
24344         (j0_test_data): Likewise.
24345         (j1_test_data): Likewise.
24346         (jn_test_data): Likewise.
24347         (lgamma_test_data): Likewise.
24348         (lrint_test_data): Likewise.
24349         (llrint_test_data): Likewise.
24350         (log_test_data): Likewise.
24351         (log10_test_data): Likewise.
24352         (log1p_test_data): Likewise.
24353         (log2_test_data): Likewise.
24354         (logb_test_data): Likewise.
24355         (lround_test_data): Likewise.
24356         (llround_test_data): Likewise.
24357         (modf_test_data): Likewise.
24358         (nearbyint_test_data): Likewise.
24359         (nextafter_test_data): Likewise.
24360         (nexttoward_test_data): Likewise.
24361         (pow_test_data): Likewise.
24362         (remainder_test_data): Likewise.
24363         (remquo_test_data): Likewise.
24364         (rint_test_data): Likewise.
24365         (round_test_data): Likewise.
24366         (signbit_test_data): Likewise.
24367         (sinh_test_data): Likewise.
24368         (sqrt_test_data): Likewise.
24369         (tanh_test_data): Likewise.
24370         (tgamma_test_data): Likewise.
24371         (trunc_test_data): Likewise.
24372         (y0_test_data): Likewise.
24373         (y1_test_data): Likewise.
24374         (yn_test_data): Likewise.
24375         (significand_test_data): Likewise.
24377 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24379         * manual/filesys.texi (Storage Allocation): Document that
24380         posix_fallocate emulation fails when fd is open with O_WRONLY.
24382 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24384         [BZ #19016]
24385         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24386         allow more cases with X^2 + Y^2 >= 0.5.
24387         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24388         normal element in sum instead of special-casing based on values of
24389         arguments.
24390         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24391         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24392         -1 as normal element in sum instead of special-casing based on
24393         values of arguments.
24394         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24395         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24396         (__x2y2m1): Update comment.
24397         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24398         as normal element in sum instead of special-casing based on values
24399         of arguments.
24400         * math/s_clog.c (__clog): Handle more cases using log1p without
24401         hypot.
24402         * math/s_clog10.c (__clog10): Likewise.
24403         * math/s_clog10f.c (__clog10f): Likewise.
24404         * math/s_clog10l.c (__clog10l): Likewise.
24405         * math/s_clogf.c (__clogf): Likewise.
24406         * math/s_clogl.c (__clogl): Likewise.
24407         * math/auto-libm-test-in: Add more tests of clog and clog10.
24408         * math/auto-libm-test-out: Regenerated.
24409         * sysdeps/i386/fpu/libm-test-ulps: Update.
24410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24412 2015-09-28  Martin Sebor  <msebor@redhat.com>
24414         [BZ #18969]
24415         * string/Makefile (LOCALES): Define.
24416         (gen-locales.mk): Include.
24417         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24418         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24419         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24420         on setlocale failure.
24422 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24424         [BZ #18985]
24425         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24426         (__strftime_internal): Likewise.
24427         * time/tst-strftime.c (do_bz18985): New test.
24428         (do_test): Call it.
24430 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24432         [BZ #18956]
24433         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24434         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24435         extracting high part.
24436         * math/auto-libm-test-in: Add another test of pow.
24437         * math/auto-libm-test-out: Regenerated.
24438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24440 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24442         [BZ #18825]
24443         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24444         New macro.
24445         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24446         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24447         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24448         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24449         DBL_NARROW_EVAL, reloading the PIC register as needed.
24450         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24451         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24452         FLT_NARROW_EVAL.  Use separate return path for case when first
24453         argument is NaN.
24454         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24455         DEFINE_LDBL_MIN.
24456         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24457         PIC register.
24458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24459         math_check_force_underflow_nonneg.
24460         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24461         underflow for subnormal result.
24462         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24463         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24464         math_check_force_underflow_nonneg.
24465         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24466         math_check_force_underflow.
24467         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24468         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24469         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24470         DEFINE_LDBL_MIN.
24471         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24472         * math/auto-libm-test-in: Add more tests of pow.
24473         * math/auto-libm-test-out: Regenerated.
24475 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24477         * nss/bug17079.c (init_test_items): Add diagnostic for
24478         inconsistent entries.
24479         (test_buffer_size): Skip inconsistent entries.
24481 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24483         [BZ #13304]
24484         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24485         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24486         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24488         [BZ #13304]
24489         * sysdeps/microblaze/s_fma.c: New file.
24490         * sysdeps/microblaze/s_fmaf.c: Likewise.
24491         * sysdeps/microblaze/sfp-machine.h: Likewise.
24493 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24495         [BZ #17250]
24496         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24497         member.
24499 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24501         [BZ #18803]
24502         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24503         (MO): New macro.
24504         (__ieee754_hypot) [PIC]: Load PIC register.
24505         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24506         DBL_NARROW_EVAL.
24507         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24508         math_check_force_underflow_nonneg in case where result might be
24509         tiny.
24510         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24511         Likewise.
24512         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24513         Likewise.
24514         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24515         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24516         * math/auto-libm-test-in: Add more tests of hypot.
24517         * math/auto-libm-test-out: Regenerated.
24519 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24521         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24523 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24525         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24526         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24527         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24528         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24529         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24530         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24531         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24533         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24534         LOAD_PIC_REG.
24536         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24537         (FLT_CHECK_FORCE_UFLOW): Likewise.
24538         (DBL_CHECK_FORCE_UFLOW): Likewise.
24539         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24540         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24541         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24542         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24543         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24544         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24545         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24546         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24547         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24548         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24549         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24550         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24551         (flt_min): Replace with use of DEFINE_FLT_MIN.
24552         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24553         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24554         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24555         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24556         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24557         (flt_min): Replace with use of DEFINE_FLT_MIN.
24558         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24559         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24560         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24561         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24562         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24563         (flt_min): Replace with use of DEFINE_FLT_MIN.
24564         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24565         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24566         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24567         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24568         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24569         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24570         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24571         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24572         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24573         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24574         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24575         (flt_min): Replace with use of DEFINE_FLT_MIN.
24576         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24577         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24578         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24579         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24580         main computation.
24581         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24582         (flt_min): Replace with use of DEFINE_FLT_MIN.
24583         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24584         main computation.
24585         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24586         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24587         (MO): New macro.
24588         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24589         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24590         (flt_min): Replace with use of DEFINE_FLT_MIN.
24591         (MO): New macro.
24592         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24593         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24594         (__log1pl): Use MO.
24596         [BZ #19003]
24597         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24598         $(config-cflags-nofma).
24600 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24602         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24604 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24606         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24607         (TWO127): Likewise.
24609         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24610         (min_of_type): Likewise.
24611         (math_check_force_underflow): Likewise.
24612         (math_check_force_underflow_nonneg): Likewise.
24613         (math_check_force_underflow_complex): Likewise.
24614         * math/e_exp2l.c (__ieee754_exp2l): Use
24615         math_check_force_underflow_nonneg.
24616         * math/k_casinh.c (__kernel_casinh): Likewise.
24617         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24618         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24619         * math/s_catan.c (__catan): Use
24620         math_check_force_underflow_complex.
24621         * math/s_catanf.c (__catanf): Likewise.
24622         * math/s_catanh.c (__catanh): Likewise.
24623         * math/s_catanhf.c (__catanhf): Likewise.
24624         * math/s_catanhl.c (__catanhl): Likewise.
24625         * math/s_catanl.c (__catanl): Likewise.
24626         * math/s_ccosh.c (__ccosh): Likewise.
24627         * math/s_ccoshf.c (__ccoshf): Likewise.
24628         * math/s_ccoshl.c (__ccoshl): Likewise.
24629         * math/s_cexp.c (__cexp): Likewise.
24630         * math/s_cexpf.c (__cexpf): Likewise.
24631         * math/s_cexpl.c (__cexpl): Likewise.
24632         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24633         * math/s_clog10.c (__clog10): Likewise.
24634         * math/s_clog10f.c (__clog10f): Likewise.
24635         * math/s_clog10l.c (__clog10l): Likewise.
24636         * math/s_clogf.c (__clogf): Likewise.
24637         * math/s_clogl.c (__clogl): Likewise.
24638         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24639         * math/s_csinf.c (__csinf): Likewise.
24640         * math/s_csinh.c (__csinh): Likewise.
24641         * math/s_csinhf.c (__csinhf): Likewise.
24642         * math/s_csinhl.c (__csinhl): Likewise.
24643         * math/s_csinl.c (__csinl): Likewise.
24644         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24645         * math/s_csqrtf.c (__csqrtf): Likewise.
24646         * math/s_csqrtl.c (__csqrtl): Likewise.
24647         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24648         * math/s_ctanf.c (__ctanf): Likewise.
24649         * math/s_ctanh.c (__ctanh): Likewise.
24650         * math/s_ctanhf.c (__ctanhf): Likewise.
24651         * math/s_ctanhl.c (__ctanhl): Likewise.
24652         * math/s_ctanl.c (__ctanl): Likewise.
24653         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24654         instead of volatile.
24655         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24656         math_check_force_underflow.
24657         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24658         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24659         volatile when forcing underflow.
24660         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24661         math_check_force_underflow_nonneg.
24662         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24663         Likewise.
24664         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24665         math_check_force_underflow.
24666         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24667         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24668         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24669         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24670         math_check_force_underflow_nonneg.
24671         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24672         math_check_force_underflow.
24673         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24675         instead of volatile.
24676         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24677         math_check_force_underflow.
24678         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24679         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24680         math_check_force_underflow_nonneg.
24681         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24682         math_check_force_underflow.
24683         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24684         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24685         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24686         math_check_force_underflow_nonneg.
24687         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24688         Likewise.
24689         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24690         math_check_force_underflow.
24691         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24692         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24693         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24694         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24695         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24696         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24697         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24698         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24699         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24700         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24701         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24702         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24703         Likewise.
24704         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24705         math_check_force_underflow_nonneg.
24706         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24707         Likewise.
24708         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24709         math_check_force_underflow.
24710         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24711         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24712         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24713         Likewise.
24714         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24715         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24716         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24717         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24718         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24719         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24720         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24721         instead of volatile.
24722         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24723         math_check_force_underflow.
24724         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24725         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24726         math_check_force_underflow.
24727         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24728         Likewise.
24729         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24730         Use math_check_force_underflow_nonneg.
24731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24732         math_check_force_underflow.
24733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24734         Likewise.
24735         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24736         Likewise.
24737         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24738         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24739         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24740         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24742         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24743         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24744         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24745         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24746         math_check_force_underflow_nonneg.
24747         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24748         math_check_force_underflow.
24749         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24750         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24751         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24752         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24753         math_check_force_underflow_nonneg.
24754         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24755         math_check_force_underflow.
24756         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24758         instead of volatile.
24759         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24760         math_check_force_underflow.
24762         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24763         * stdlib/strtod_l.c: Include <math_private.h>.
24764         (overflow_value): Use math_narrow_eval.
24765         (underflow_value): Likewise.
24766         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24767         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24768         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24769         (__ieee754_gamma_r): Likewise.
24770         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24771         Likewise.
24772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24773         Likewise.
24774         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24775         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24776         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24777         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24778         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24779         (__ieee754_gammaf_r): Likewise.
24780         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24781         Likewise.
24782         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24783         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24784         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24785         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24786         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24787         volatile.
24788         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24789         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24790         math_narrow_eval.
24791         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24792         Likewise.
24793         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24794         Likewise.
24795         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24796         Likewise.
24797         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24798         volatile.
24799         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24800         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24801         math_narrow_eval.
24802         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24803         Likewise.
24804         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24805         Likewise.
24807 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24809         * nptl/Versions: Remove ignored symbols.
24811 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24813         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24814         * nss/Makefile (tests): Update.
24816 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24818         * nss/bug18287.c: New file.
24819         * nss/Makefile (tests): Add bug18287.
24821 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24823         * mach/Versions (__mach_host_self_): Add symbol.
24825 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24827         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24828         vm_page_size.
24830 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24832         Really fix sysdeps/i386/fpu/s_scalbn.S build
24834         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24835         (libc: GLIBC_2_22): Remove unused version set.
24837 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24839         * config.make.in (enable-timezone-tools): New variable.
24840         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24841         (enable_timezone_tools): Export to generated files.
24842         * configure: Regenerate.
24843         * INSTALL: Regenerate.
24844         * manual/install.texi (--disable-timezone-tools): Document new flag.
24845         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24846         ifeq ($(enable-timezone-tools),yes) check.
24848 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24850         * timezone/Makefile: Revert previous change.
24852         [BZ #18980]
24853         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24854         (DEFINE_DBL_MIN): Likewise.
24855         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24856         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24857         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24858         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24859         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24860         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24861         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24862         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24863         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24864         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24865         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24866         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24867         (flt_min): Replace with use of DEFINE_FLT_MIN.
24868         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24869         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24870         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24871         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24872         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24873         (flt_min): Replace with use of DEFINE_FLT_MIN.
24874         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24875         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24876         (flt_min): Replace with use of DEFINE_FLT_MIN.
24877         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24878         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24879         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24880         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24881         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24882         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24883         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24884         (__ieee754_pow): Use DBL_NARROW_EVAL.
24885         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24886         (__ieee754_powf): Use FLT_NARROW_EVAL.
24887         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24888         (__ieee754_expf_sse2): Convert double-precision result to single
24889         precision.
24890         * sysdeps/i386/fpu/libm-test-ulps: Update.
24892 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24894         * timezone/Makefile: Ignore unused variable errors due to private.h
24895         (time_t_min) and (time_t_max).
24896         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24897         Likewise.
24899 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24901         [BZ #18981]
24902         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24903         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24904         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24905         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24906         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24907         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24908         (__scalbn): Use DBL_NARROW_EVAL.
24909         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24910         (__scalbnf): Use FLT_NARROW_EVAL.
24912 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24914         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24915         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24916         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24917         * stdio-common/printf_fp.c (___printf_fp):
24918         Use signbit to get the sign. Use isinf macro to allow inlining.
24919         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24920         * stdio-common/printf_size.c (__printf_size): Likewise.
24922 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24924         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24926 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24928         [BZ #18980]
24929         * sysdeps/generic/math_private.h: Include <float.h>.
24930         (math_narrow_eval): New macro.
24931         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24932         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24933         math_narrow_eval on overflowing return value.
24934         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24935         Likewise.
24936         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24937         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24938         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24939         Likewise.
24940         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24942 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24944         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24945         * math/Makefile: Remove isinf_ns.c.
24946         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24947         * math/multc3.c (__multc3): Likewise.
24948         * math/s_casin.c (__casin): Likewise.
24949         * math/s_casinf.c (__casinf): Likewise.
24950         * math/s_casinl.c (__casinl): Likewise.
24951         * math/s_cproj.c (__cproj): Likewise.
24952         * math/s_cprojf.c (__cprojf): Likewise.
24953         * math/s_cprojl.c (__cprofl): Likewise.
24954         * math/s_ctan.c (__ctan): Likewise.
24955         * math/s_ctanf.c (__ctanf): Likewise.
24956         * math/s_ctanh.c (__ctanh): Likewise.
24957         * math/s_ctanhf.c (__ctanhf): Likewise.
24958         * math/s_ctanhl.c (__ctanhl): Likewise.
24959         * math/s_ctanl.c (__ctanl): Likewise.
24960         * math/w_fmod.c (__fmod): Likewise.
24961         * math/w_fmodf.c (__fmodf): Likewise.
24962         * math/w_fmodl.c (_fmodl): Likewise.
24963         * math/w_remainder.c (__remainder): Likewise.
24964         * math/w_remainderf.c (__remainderf): Likewise.
24965         * math/w_remainderl.c (__remainderl): Likewise.
24966         * math/w_scalb.c (__scalb): Likewise.
24967         * math/w_scalbf.c (__scalbf): Likewise.
24968         * math/w_scalbl.c (__scalbl): Likewise.
24969         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24970         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24971         with isinf.
24972         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24974         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24975         __isinf_nsf with isinf.
24976         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24977         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24978         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24979         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24980         with isinf.
24981         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24982         __isinf_nsl with isinf.
24983         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24984         with isinf.
24985         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24986         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24987         __isinf_nsl with isinf.
24988         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24989         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24990         with isinf.
24992 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24994         * resolv/base64.c (rcsid): Remove unused static.
24995         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24996         static.  (tqpi1): Likewise.
24997         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24998         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24999         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25000         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25001         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25002         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25003         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25004         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25005         Likewise.
25007 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25009         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25010         <nptl/pthreadP.h>.
25011         (_longjmp_unwind): Use __libc_ptf_call.
25012         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25014 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25016         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25017         * sysdeps/arm/__longjmp.S: Likewise.
25019 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25021         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25022         Use __builtin_signbit.
25023         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25024         Use __builtin_signbitf.
25025         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25026         Use __builtin_signbitl.
25027         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25028         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25030 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25032         [BZ #15367]
25033         [BZ #17441]
25035         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25036         * math/math.h (fpclassify): Use __builtin_fpclassify when
25037         available.  (signbit): Use __builtin_signbit(f/l).
25038         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25039         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25040         (isinf): Use __builtin_isinf_sign.
25042 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25044         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25045         * benchtests/bench-math-inlines.c: New benchmark.
25046         * benchtests/bench-util.h: New file.
25047         * benchtests/bench-util.c: New file.
25048         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25050 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25052         * elf/tst-dlmopen1.c: Define TEST_SO.
25053         (do_test): Use TEST_SO.
25055         * elf/dl-load.c: Include libc-internal.h.
25056         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25058 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25060         [BZ #17887]
25061         * time/strptime_l.c (__strptime_internal): Make %z accept
25062         [+-]HH:MM time zones.
25064 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25066         [BZ #17886]
25067         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25068         valid time zone.
25070 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25072         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25073         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25074         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25075         (__ASSUME_FDATASYNC): Delete.
25077 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25079         * conform/linknamespace.pl: Require weak undefined symbols to be
25080         in the standard namespace.
25081         (%strong_syms): Rename to %seen_syms.
25082         (%strong_seen): Rename to %seen_where.
25084 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25086         [BZ #18970]
25087         * misc/error.c (error): Replace pthread_setcancelstate with
25088         __pthread_setcancelstate.
25089         (error_at_line): Likewise.
25090         * posix/wordexp.c (parse_comm): Likewise.
25091         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25092         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25093         (__pthread_setcancelstate): This.
25094         (pthread_setcancelstate): Add an alias.
25095         * nptl/nptl-init.c (pthread_functions): Replace
25096         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25097         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25098         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25099         hidden_proto.
25100         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25101         it with hidden_def.
25102         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25103         (pthread_setcancelstate): Renamed to ...
25104         (__pthread_setcancelstate): This.
25105         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25106         __libc_ptf_call with __pthread_setcancelstate.
25108 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25109             Andreas Schwab  <schwab@suse.de>
25111         [BZ #17118]
25112         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25113         result when imaginary part of argument is infinite using sine and
25114         cosine.
25115         * math/s_ctanf.c (__ctanf): Likewise.
25116         * math/s_ctanl.c (__ctanl): Likewise.
25117         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25118         of result when real part of argument is infinite using sine and
25119         cosine.
25120         * math/s_ctanhf.c (__ctanhf): Likewise.
25121         * math/s_ctanhl.c (__ctanhl): Likewise.
25122         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25123         (ctanh_test_data): Add more tests of ctanh.
25125 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25127         [BZ #15384]
25128         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25129         bit-mask as in subtraction.
25130         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25131         Likewise.
25132         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25133         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25134         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25136         [BZ #18951]
25137         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25138         underflow exception for small results.
25139         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25140         Likewise.
25141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25142         Likewise.
25143         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25144         Likewise.
25145         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25146         Likewise.
25147         * math/auto-libm-test-in: Add more tests of tgamma.
25148         * math/auto-libm-test-out: Regenerated.
25150 2015-09-17  Andreas Schwab  <schwab@suse.de>
25152         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25154 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25156         [BZ #18977]
25157         * math/bits/mathcalls.h
25158         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25159         not declare.
25160         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25161         Likewise.
25162         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25163         Likewise.
25164         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25165         Likewise.
25166         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25167         Likewise.
25168         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25169         Likewise.
25170         * conform/data/math.h-data
25171         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25172         function.
25173         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25174         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25175         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25176         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25177         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25178         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25179         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25180         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25181         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25182         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25183         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25185         [BZ #6803]
25186         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25187         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25188         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25189         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25190         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25191         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25192         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25193         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25194         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25195         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25196         Likewise.
25197         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25198         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25199         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25200         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25201         long_double_symbol calls.
25202         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25203         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25204         strong alias of __ldexpl.
25205         (scalbnl): Define using long_double_symbol.
25206         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25207         Remove alias.
25208         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25209         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25210         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25211         (scalbln_test_data): Add more errno expectations.
25213 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25215         Cache the host port like we cache the task port.  This way we do not
25216         need to call the kernel just to get the port.  Furthermore, we no
25217         longer increase the reference count on every invocation of
25218         `mach_host_self'.
25220         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25221         Protect declarations against the macro expansion.
25222         * mach/mach_init.c (__mach_host_self_): New variable.
25223         (mach_init): Initialize `__mach_host_self_'.
25224         * mach/mach_init.h (__mach_host_self_): New declaration.
25225         (__mach_host_self, mach_host_self): New macros.
25226         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25227         Release reference.
25229 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25231         [BZ #4404]
25232         * po/de.po: Update from Translation Project.
25234         [BZ #16415]
25235         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25236         (__expm1l): Remove code to handle positive infinity and overflow.
25237         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25238         variable.
25239         (__expm1l): Remove code to handle positive infinity and overflow.
25241 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25242             Paul Pluzhnikov  <ppluzhnikov@google.com>
25244         [BZ #18872]
25245         * stdio-common/Makefile (tst-printf-bz18872): New test.
25246         (tst-printf-bz18872-mem.out): Likewise.
25247         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25248         * stdio-common/vfprintf.c: Fix memory leaks.
25250 2015-09-16  Andreas Schwab  <schwab@suse.de>
25252         [BZ #17244]
25253         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25254         Remove extra va_start/va_end calls.
25256         [BZ #17243]
25257         * posix/execl.c (execl): Add missing va_end.
25258         * posix/execle.c (execle): Likewise.
25259         * posix/execlp.c (execlp): Likewise.
25261 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25263         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25264         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25266 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25268         [BZ #18967]
25269         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25270         undefine around includes of <bits/mathcalls.h>.
25271         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25272         not declare function.
25273         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25274         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25275         (scalb): Likewise.
25276         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25277         not define macro.
25278         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25279         variable.
25280         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25281         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25282         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25284         [BZ #18857]
25285         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25286         return non-finite argument without doing ordered comparisons on
25287         it.
25289         [BZ #16296]
25290         * math/fenv.h (fegetround): Use __attribute_pure__.
25291         * include/fenv.h (__fegetround): Likewise.
25293         [BZ #18595]
25294         * math/s_ctan.c (__ctan): Force underflow exception for results
25295         whose real or imaginary part has small absolute value.
25296         * math/s_ctanf.c (__ctanf): Likewise.
25297         * math/s_ctanh.c (__ctanh): Likewise.
25298         * math/s_ctanhf.c (__ctanhf): Likewise.
25299         * math/s_ctanhl.c (__ctanhl): Likewise.
25300         * math/s_ctanl.c (__ctanl): Likewise.
25301         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25302         and ctanh.  Add more tests of ctan and ctanh.
25304         [BZ #15918]
25305         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25306         handling of cases where one argument is an infinity.
25308         [BZ #18875]
25309         [BZ #18966]
25310         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25311         (MO): New macro.
25312         (__ieee754_exp10): For small results, force underflow exception
25313         and remove excess range and precision from return value.
25314         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25315         (MO): New macro.
25316         (__ieee754_exp10f): For small results, force underflow exception
25317         and remove excess range and precision from return value.
25318         * math/auto-libm-test-in: Add more tests of exp10.
25319         * math/auto-libm-test-out: Regenerated.
25321 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25323         [BZ #18875]
25324         [BZ #18961]
25325         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25326         (MO): New macro.
25327         (__ieee754_exp): For small results, force underflow exception and
25328         remove excess range and precision from return value.
25329         (__exp_finite): Likewise.
25330         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25331         (MO): New macro.
25332         (__ieee754_expf): For small results, force underflow exception and
25333         remove excess range and precision from return value.
25334         (__expf_finite): Likewise.
25335         * math/auto-libm-test-in: Add more tests of exp.
25336         * math/auto-libm-test-out: Regenerated.
25338         [BZ #16521]
25339         [BZ #18875]
25340         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25341         small results.
25342         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25343         (MO): New macro.
25344         (__ieee754_exp2): For small results, force underflow exception and
25345         remove excess range and precision from return value.
25346         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25347         (MO): New macro.
25348         (__ieee754_exp2f): For small results, force underflow exception
25349         and remove excess range and precision from return value.
25350         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25351         (MO): New macro.
25352         (__ieee754_exp2l): Force underflow exception for small results.
25353         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25354         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25355         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25356         (MO): New macro.
25357         (__ieee754_exp2l): Force underflow exception for small results.
25358         * math/auto-libm-test-in: Add more tests or exp2.
25359         * math/auto-libm-test-out: Regenerated.
25361 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25363         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25365         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25366         /dev/null.
25368 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25370         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25371         io fs process)): Drop spurious backslash.
25373 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25375         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25376         Use sysinfo system call instead of parsing /proc/meminfo.
25377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25378         Likewise.
25380 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25382         [BZ #16985]
25383         * programs/localedef.c (main): Display argv[remaining] when
25384         output_path is NULL.
25386 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25388         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25389         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25390         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25391         tanh.
25392         * math/auto-libm-test-out: Regenerated.
25393         * sysdeps/i386/fpu/libm-test-ulps: Update.
25394         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25395         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25398 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25400         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25401         Use 'override' keyword to freeze the value here, preventing
25402         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25404 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25406         [BZ #14912]
25407         * sysdeps/aarch64/bits/atomic.h: Move to ...
25408         * sysdeps/aarch64/atomic-machine.h: ...here.
25409         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25410         _AARCH64_ATOMIC_MACHINE_H.
25411         * sysdeps/alpha/bits/atomic.h: Move to ...
25412         * sysdeps/alpha/atomic-machine.h: ...here.
25413         * sysdeps/arm/bits/atomic.h: Move to ...
25414         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25415         * bits/atomic.h: Move to ...
25416         * sysdeps/generic/atomic-machine.h: ...here.
25417         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25418         * sysdeps/i386/bits/atomic.h: Move to ...
25419         * sysdeps/i386/atomic-machine.h: ...here.
25420         * sysdeps/ia64/bits/atomic.h: Move to ...
25421         * sysdeps/ia64/atomic-machine.h: ...here.
25422         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25423         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25424         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25425         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25426         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25427         * sysdeps/microblaze/bits/atomic.h: Move to ...
25428         * sysdeps/microblaze/atomic-machine.h: ...here.
25429         * sysdeps/mips/bits/atomic.h: Move to ...
25430         * sysdeps/mips/atomic-machine.h: ...here.
25431         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25432         * sysdeps/powerpc/bits/atomic.h: Move to ...
25433         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25434         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25435         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25436         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25437         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25438         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25439         <atomic-machine.h> instead of <bits/atomic.h>.
25440         * sysdeps/s390/bits/atomic.h: Move to ...
25441         * sysdeps/s390/atomic-machine.h: ...here.
25442         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25443         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25444         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25445         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25446         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25447         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25448         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25449         * sysdeps/tile/bits/atomic.h: Move to ...
25450         * sysdeps/tile/atomic-machine.h: ...here.
25451         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25452         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25453         <sysdeps/tile/atomic-machine.h> instead of
25454         <sysdeps/tile/bits/atomic.h>.
25455         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25456         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25457         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25458         <sysdeps/tile/atomic-machine.h> instead of
25459         <sysdeps/tile/bits/atomic.h>.
25460         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25461         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25462         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25463         <sysdeps/arm/atomic-machine.h> instead of
25464         <sysdeps/arm/bits/atomic.h>.
25465         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25466         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25467         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25468         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25469         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25470         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25471         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25472         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25473         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25474         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25475         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25476         * sysdeps/x86_64/bits/atomic.h: Move to ...
25477         * sysdeps/x86_64/atomic-machine.h: ...here.
25478         * include/atomic.h: Include <atomic-machine.h> instead of
25479         <bits/atomic.h>.
25481         * sysdeps/mips/mips32/libm-test-ulps: Update.
25482         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25484         [BZ #18952]
25485         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25486         not convert non-integer negative arguments to int to determine the
25487         value of signgam.
25488         * math/auto-libm-test-in: Add more tests of lgamma.
25489         * math/auto-libm-test-out: Regenerated.
25491         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25492         cosh, csqrt, erfc, expm1 and lgamma.
25493         * math/auto-libm-test-out: Regenerated.
25494         * sysdeps/i386/fpu/libm-test-ulps: Update.
25495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25497 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25499         [BZ #2542]
25500         [BZ #2543]
25501         [BZ #2558]
25502         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25503         __lgamma_neg for arguments from -28.0 to -2.0.
25504         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25505         __lgamma_negf for arguments from -15.0 to -2.0.
25506         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25507         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25508         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25509         Call __lgamma_negl for arguments from -33.0 to -2.0.
25510         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25511         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25512         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25513         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25514         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25515         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25516         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25517         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25518         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25519         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25520         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25521         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25522         (__lgamma_neg): Likewise.
25523         (__lgamma_negl): Likewise.
25524         (__lgamma_product): Likewise.
25525         (__lgamma_productl): Likewise.
25526         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25527         * math/auto-libm-test-in: Add more tests of lgamma.
25528         * math/auto-libm-test-out: Regenerated.
25529         * sysdeps/i386/fpu/libm-test-ulps: Update.
25530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25532 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25534         [BZ #18675]
25535         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25537 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25539         [BZ #14912]
25540         * bits/libc-lock.h: Move to ...
25541         * sysdeps/generic/libc-lock.h: ...here.
25542         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25543         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25544         * sysdeps/mach/hurd/libc-lock.h: ...here.
25545         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25546         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25547         * sysdeps/mach/bits/libc-lock.h: Move to ...
25548         * sysdeps/mach/libc-lock.h: ...here.
25549         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25550         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25551         * sysdeps/nptl/libc-lock.h: ...here.
25552         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25553         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25554         * sysdeps/nptl/libc-lockP.h: ...here.
25555         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25556         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25557         <bits/libc-lock.h>.
25558         * dirent/scandir-tail.c: Likewise.
25559         * dlfcn/dlerror.c: Likewise.
25560         * elf/dl-close.c: Likewise.
25561         * elf/dl-iteratephdr.c: Likewise.
25562         * elf/dl-lookup.c: Likewise.
25563         * elf/dl-open.c: Likewise.
25564         * elf/dl-support.c: Likewise.
25565         * elf/dl-writev.h: Likewise.
25566         * elf/rtld.c: Likewise.
25567         * grp/fgetgrent.c: Likewise.
25568         * gshadow/fgetsgent.c: Likewise.
25569         * gshadow/sgetsgent.c: Likewise.
25570         * iconv/gconv_conf.c: Likewise.
25571         * iconv/gconv_db.c: Likewise.
25572         * iconv/gconv_dl.c: Likewise.
25573         * iconv/gconv_int.h: Likewise.
25574         * iconv/gconv_trans.c: Likewise.
25575         * include/link.h: Likewise.
25576         * inet/getnameinfo.c: Likewise.
25577         * inet/getnetgrent.c: Likewise.
25578         * inet/getnetgrent_r.c: Likewise.
25579         * intl/bindtextdom.c: Likewise.
25580         * intl/dcigettext.c: Likewise.
25581         * intl/finddomain.c: Likewise.
25582         * intl/gettextP.h: Likewise.
25583         * intl/loadmsgcat.c: Likewise.
25584         * intl/localealias.c: Likewise.
25585         * intl/textdomain.c: Likewise.
25586         * libidn/idn-stub.c: Likewise.
25587         * libio/libioP.h: Likewise.
25588         * locale/duplocale.c: Likewise.
25589         * locale/freelocale.c: Likewise.
25590         * locale/newlocale.c: Likewise.
25591         * locale/setlocale.c: Likewise.
25592         * login/getutent_r.c: Likewise.
25593         * login/getutid_r.c: Likewise.
25594         * login/getutline_r.c: Likewise.
25595         * login/utmp-private.h: Likewise.
25596         * login/utmpname.c: Likewise.
25597         * malloc/mtrace.c: Likewise.
25598         * misc/efgcvt.c: Likewise.
25599         * misc/error.c: Likewise.
25600         * misc/fstab.c: Likewise.
25601         * misc/getpass.c: Likewise.
25602         * misc/mntent.c: Likewise.
25603         * misc/syslog.c: Likewise.
25604         * nis/nis_call.c: Likewise.
25605         * nis/nis_callback.c: Likewise.
25606         * nis/nss-default.c: Likewise.
25607         * nis/nss_compat/compat-grp.c: Likewise.
25608         * nis/nss_compat/compat-initgroups.c: Likewise.
25609         * nis/nss_compat/compat-pwd.c: Likewise.
25610         * nis/nss_compat/compat-spwd.c: Likewise.
25611         * nis/nss_nis/nis-alias.c: Likewise.
25612         * nis/nss_nis/nis-ethers.c: Likewise.
25613         * nis/nss_nis/nis-grp.c: Likewise.
25614         * nis/nss_nis/nis-hosts.c: Likewise.
25615         * nis/nss_nis/nis-network.c: Likewise.
25616         * nis/nss_nis/nis-proto.c: Likewise.
25617         * nis/nss_nis/nis-pwd.c: Likewise.
25618         * nis/nss_nis/nis-rpc.c: Likewise.
25619         * nis/nss_nis/nis-service.c: Likewise.
25620         * nis/nss_nis/nis-spwd.c: Likewise.
25621         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25622         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25623         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25624         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25625         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25626         * nis/nss_nisplus/nisplus-network.c: Likewise.
25627         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25628         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25629         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25630         * nis/nss_nisplus/nisplus-service.c: Likewise.
25631         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25632         * nis/ypclnt.c: Likewise.
25633         * nptl/libc_pthread_init.c: Likewise.
25634         * nss/getXXbyYY.c: Likewise.
25635         * nss/getXXent.c: Likewise.
25636         * nss/getXXent_r.c: Likewise.
25637         * nss/nss_db/db-XXX.c: Likewise.
25638         * nss/nss_db/db-netgrp.c: Likewise.
25639         * nss/nss_db/nss_db.h: Likewise.
25640         * nss/nss_files/files-XXX.c: Likewise.
25641         * nss/nss_files/files-alias.c: Likewise.
25642         * nss/nsswitch.c: Likewise.
25643         * posix/regex_internal.h: Likewise.
25644         * posix/wordexp.c: Likewise.
25645         * pwd/fgetpwent.c: Likewise.
25646         * resolv/res_hconf.c: Likewise.
25647         * resolv/res_libc.c: Likewise.
25648         * shadow/fgetspent.c: Likewise.
25649         * shadow/lckpwdf.c: Likewise.
25650         * shadow/sgetspent.c: Likewise.
25651         * socket/opensock.c: Likewise.
25652         * stdio-common/reg-modifier.c: Likewise.
25653         * stdio-common/reg-printf.c: Likewise.
25654         * stdio-common/reg-type.c: Likewise.
25655         * stdio-common/vfprintf.c: Likewise.
25656         * stdio-common/vfscanf.c: Likewise.
25657         * stdlib/abort.c: Likewise.
25658         * stdlib/cxa_atexit.c: Likewise.
25659         * stdlib/fmtmsg.c: Likewise.
25660         * stdlib/random.c: Likewise.
25661         * stdlib/setenv.c: Likewise.
25662         * string/strsignal.c: Likewise.
25663         * sunrpc/auth_none.c: Likewise.
25664         * sunrpc/bindrsvprt.c: Likewise.
25665         * sunrpc/create_xid.c: Likewise.
25666         * sunrpc/key_call.c: Likewise.
25667         * sunrpc/rpc_thread.c: Likewise.
25668         * sysdeps/arm/backtrace.c: Likewise.
25669         * sysdeps/generic/ldsodefs.h: Likewise.
25670         * sysdeps/generic/stdio-lock.h: Likewise.
25671         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25672         * sysdeps/i386/backtrace.c: Likewise.
25673         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25674         * sysdeps/m68k/backtrace.c: Likewise.
25675         * sysdeps/mach/hurd/cthreads.c: Likewise.
25676         * sysdeps/mach/hurd/dirstream.h: Likewise.
25677         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25678         * sysdeps/nptl/malloc-machine.h: Likewise.
25679         * sysdeps/nptl/stdio-lock.h: Likewise.
25680         * sysdeps/posix/dirstream.h: Likewise.
25681         * sysdeps/posix/getaddrinfo.c: Likewise.
25682         * sysdeps/posix/system.c: Likewise.
25683         * sysdeps/pthread/aio_suspend.c: Likewise.
25684         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25685         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25686         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25687         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25688         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25689         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25690         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25691         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25692         * sysdeps/unix/sysv/linux/system.c: Likewise.
25693         * sysdeps/x86_64/backtrace.c: Likewise.
25694         * time/alt_digit.c: Likewise.
25695         * time/era.c: Likewise.
25696         * time/tzset.c: Likewise.
25697         * wcsmbs/wcsmbsload.c: Likewise.
25698         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25699         instead of <bits/libc-lock.h> in comment.
25701 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25703         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25704         Only use .set mips2 if the current ISA is below mips2.
25705         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25706         Likewise.
25707         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25708         mips32r2 if the current ISA is below mips32r2.
25709         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25710         (TLS_IE): Updated to use the TLD_RDHWR macro.
25711         (TLS_LE): Likewise.
25712         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25713         __ASSEMBLER__ condition.
25715 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25717         Fix parallel build of before-compile targets.
25719         * sysdeps/mach/Makefile ($(patsubst
25720         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25721         mach-before-compile target.
25722         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25723         io fs process)): Move rule to dedicated hurd-before-compile target.
25725 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25727         Fix rules generating headers in hurd/ and mach/ when initial make call
25728         has subdir= explicitly set.
25730         * sysdeps/mach/Makefile ($(patsubst
25731         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25732         calling $(MAKE).
25733         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25734         io fs process)): Force subdir to hurd when calling $(MAKE).
25735         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25736         subdir to mach when calling $(MAKE).
25738 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25740         Check sysheaders when looking for Mach and Hurd headers
25742         * sysdeps/mach/configure.ac: Add sysheaders check.
25743         * sysdeps/mach/configure: Regenerate.
25744         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25745         * sysdeps/mach/hurd/configure: Regenerate.
25747 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25749         [BZ #18921]
25750         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25751         Fix inverted sense of test of 'o_directory_works' value.
25752         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25753         Bernhard Voelker <mail@bernhard-voelker.de>.
25755 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25757         [BZ #14912]
25758         * bits/linkmap.h: Move to ...
25759         * sysdeps/generic/linkmap.h: ...here.
25760         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25761         * sysdeps/aarch64/linkmap.h: ...here.
25762         * sysdeps/arm/bits/linkmap.h: Move to ...
25763         * sysdeps/arm/linkmap.h: ...here.
25764         * sysdeps/hppa/bits/linkmap.h: Move to ...
25765         * sysdeps/hppa/linkmap.h: ...here.
25766         * sysdeps/ia64/bits/linkmap.h: Move to ...
25767         * sysdeps/ia64/linkmap.h: ...here.
25768         * sysdeps/mips/bits/linkmap.h: Move to ...
25769         * sysdeps/mips/linkmap.h: ...here.
25770         * sysdeps/s390/bits/linkmap.h: Move to ...
25771         * sysdeps/s390/linkmap.h: ...here.
25772         * sysdeps/sh/bits/linkmap.h: Move to ...
25773         * sysdeps/sh/linkmap.h: ...here.
25774         * sysdeps/x86/bits/linkmap.h: Move to ...
25775         * sysdeps/x86/linkmap.h: ...here.
25776         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25778 2015-09-04  Andreas Schwab  <schwab@suse.de>
25780         [BZ #18635]
25781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25782         (__makecontext): Terminate FDE before return label.
25783         (__novec_makecontext): Likewise.
25785 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25787         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25788         first member of struct sv in syscall macro.
25790 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25792         [BZ #14912]
25793         * bits/stdio-lock.h: Move to ...
25794         * sysdeps/generic/stdio-lock.h: ...here.
25795         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25796         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25797         * sysdeps/nptl/stdio-lock.h: ...here.
25798         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25799         * include/libio.h: Include <stdio-lock.h> instead of
25800         <bits/stdio-lock.h>.
25801         * sysdeps/nptl/fork.c: Likewise.
25802         * sysdeps/pthread/flockfile.c: Likewise.
25803         * sysdeps/pthread/ftrylockfile.c: Likewise.
25804         * sysdeps/pthread/funlockfile.c: Likewise.
25806         [BZ #14912]
25807         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25808         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25809         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25810         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25811         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25812         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25813         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25815 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25817         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25818         (test-xfail-tst-protected1b): New variable.
25820 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25822         [BZ #14912]
25823         * bits/libc-tsd.h: Move to ...
25824         * sysdeps/generic/libc-tsd.h: ...here.
25825         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25826         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25827         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25828         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25829         * include/ctype.h: Include <libc-tsd.h> instead of
25830         <bits/libc-tsd.h>.
25831         * include/rpc/rpc.h: Likewise.
25832         * locale/localeinfo.h: Likewise.
25833         * sunrpc/rpc_thread.c: Likewise.
25834         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25835         * sysdeps/nptl/malloc-machine.h: Likewise.
25837         * Makefile (headers): Remove bits/libc-lock.h.
25838         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25840         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25841         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25842         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25843         <bits/stdio-lock.h>.
25844         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25845         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25847 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25849         [BZ #18757]
25850         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25851         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25852         BZ #18757.
25854 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25856         * malloc/mtrace.pl: Filter out NULL entries.
25858 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25860         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25861         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25862         macro.
25864         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25865         (TCP_CC_INFO): Likewise.
25866         (TCP_SAVE_SYN): Likewise.
25867         (TCP_SAVED_SYN): Likewise.
25869 2015-08-31  Brett Neumeier <brett@neumeier.us>
25871         [BZ #18870]
25872         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25874 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25876         [BZ #18873]
25877         Fix broken overflow check in posix_fallocate
25878         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25879         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25880         Fix parenthesization typo.
25882 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25884         [BZ #18887]
25885         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25886         tst-mntent-blank-passno.
25887         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25888         * misc/tst-mntent-blank-corrupt.c: New test.
25889         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25890         * misc/tst-mntent.c (do_test): ... here.
25892 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25894         [BZ #4404]
25895         * po/de.po: Fix SIGALRM typo.
25897 2015-08-28  James Perkins  <james@loowit.net>
25899         * time/tst-strptime2.c (tests): Replace short list of test
25900         strings for strptime %z specifier with code which exhaustively
25901         tests every combination of sign and 0 to 5 digits. Tests for
25902         rejection of invalid strings.
25904 2015-08-28  James Perkins  <james@loowit.net>
25906         [BZ #16141]
25907         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25908         calculation, removing incorrect decimal time rounding, so that
25909         all minute values result in a valid seconds value.
25910         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25911         offset range limits to UTC-99:59 through UTC+99:59 to parse
25912         current and historical use cases.
25913         * time/tst-strptime2.c (tests): Modify and add tests for the
25914         strptime %z input field descriptor, specifically conversion of
25915         minutes to seconds and validating an offset range of -9959 to
25916         +9959.
25918 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25919             Dmitry V. Levin  <ldv@altlinux.org>
25921         [BZ #18877]
25922         * posix/Makefile (tests): Add tst-mmap-offset.
25923         * posix/tst-mmap.c: New file.
25924         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25925         offset calculation for negative values.
25927 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25929         * sysdeps/i386/init-arch.h: New file.
25930         * sysdeps/i386/i586/init-arch.h: Likewise.
25931         * sysdeps/i386/i686/init-arch.h: Likewise.
25932         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25933         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25934         * sysdeps/x86/cpu-features.h (bit_I586): New.
25935         (bit_I686): Likewise.
25936         (bit_CX8): Likewise.
25937         (bit_CMOV): Likewise.
25938         (index_CX8): Likewise.
25939         (index_CMOV): Likewise.
25940         (index_I586): Likewise.
25941         (index_I686): Likewise.
25942         (reg_CX8): Likewise.
25943         (reg_CMOV): Likewise.
25944         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25945         available at compile-time.
25946         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25947         available at compile-time.
25948         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25949         (USE_I686): Likewise.
25951 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25953         * sysdeps/i386/bcopy.S: New file.
25954         * sysdeps/i386/bzero.S: Likewise.
25955         * sysdeps/i386/memcpy.S: Likewise.
25956         * sysdeps/i386/memmove.S: Likewise.
25957         * sysdeps/i386/mempcpy.S: Likewise.
25958         * sysdeps/i386/memset.S: Likewise.
25959         * sysdeps/i386/bzero.c: Removed.
25960         * sysdeps/i386/memset.c: Likewise.
25961         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25962         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25963         * sysdeps/i386/i586/memset_chk.S: Likewise.
25964         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25965         * sysdeps/i386/memcpy_chk.S: Here.
25966         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25967         * sysdeps/i386/memmove_chk.S: Here.
25968         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25969         * sysdeps/i386/mempcpy_chk.S: Likewise.
25970         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25971         * sysdeps/i386/memset_chk.S: Likewise.
25973 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25975         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25976         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25977         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25978         * soft-fp/fmadf4.c: Ditto.
25979         * soft-fp/fmatf4.c: Ditto.
25981 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25983         * sysdeps/i386/i586/Implies: Removed.
25984         * sysdeps/i386/i686/Implies: Likewise.
25986 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25988         * sysdeps/i386/i486/strlen.S: Moved to ...
25989         * sysdeps/i386/strlen.S: Here.
25991 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25993         * sysdeps/i386/i486/strcat.S: Moved to ...
25994         * sysdeps/i386/strcat.S: Here.
25996 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25998         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25999         * sysdeps/i386/pthread_spin_trylock.S: Here.
26000         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26001         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26003 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26005         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26006         * sysdeps/i386/string-inlines.c: Here.
26008 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26010         * sysdeps/i386/i486/htonl.S: Moved ...
26011         * sysdeps/i386/htonl.S: here.
26013 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26015         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26016         * sysdeps/i386/bits/atomic.h: Here.
26018 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26020         * sysdeps/i386/i486/Versions: Removed.
26022 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26024         [BZ #2898]
26025         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26026         Based on patch by Aurelien Jarno.
26028 2015-08-26  Stan Shebs  <stanshebs@google.com>
26030         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26031         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26033 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26035         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26036         * sysdeps/powerpc/dl-procinfo.c:
26037         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26038         feature so it shows when LD_SHOW_AUXV=1.
26040 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26042         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26043         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26044         definition.  ISA 2.07B no longer requires full sync.
26046 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26048         [BZ #18863]
26049         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26050         (si_call_addr): Define.
26051         (si_syscall): Define.
26052         (si_arch): Define.
26054 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26056         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26057         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26058         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26059         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26060         (__memset_zero_constant_len_parameter): New.
26061         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26062         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26063         (__memset_zero_constant_len_parameter): Don't define if
26064         __memset_chk or USE_AS_BZERO are defined.
26066         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26067         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26068         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26070         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26071         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26072         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26073         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26074         comments.
26075         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26076         -mno-mmx for $(all-rtld-routines).
26077         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26078         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26079         i386.
26081 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26083         * sysdeps/generic/unwind.h
26084         (_Unwind_Word): Use __mode__(__unwind_word__)
26085         instead of __mode__(__word__).
26086         (_Unwind_Sword): Likewise.
26088         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26089         (MAX_NEEDED_INPUT): New define.
26090         (MAX_NEEDED_OUTPUT): New define.
26092         * NEWS: New item for IBM z13 string optimizations.
26094         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26095         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26096         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26097         * sysdeps/s390/multiarch/Makefile
26098         (sysdep_routines): Add memrchr functions.
26099         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26100         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26102         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26103         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26104         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26105         * sysdeps/s390/multiarch/Makefile
26106         (sysdep_routines): Add wmemcmp functions.
26107         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26108         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26109         * benchtests/bench-wmemcmp.c: New File.
26110         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26112         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26113         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26114         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26115         * sysdeps/s390/multiarch/Makefile
26116         (sysdep_routines): Add wmemset functions.
26117         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26118         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26119         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26120         * string/test-memset.c: Add wmemset support.
26121         * wcsmbs/test-wmemset.c: New File.
26122         * wcsmbs/Makefile (strop-tests): Add wmemset.
26123         * benchtests/bench-memset.c: Add wmemset support.
26124         * benchtests/bench-wmemset.c: New File.
26125         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26127         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26128         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26129         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26130         * sysdeps/s390/multiarch/Makefile
26131         (sysdep_routines): Add memccpy functions.
26132         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26133         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26134         * string/memccpy.c: Use MEMCCPY if defined.
26136         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26137         * sysdeps/s390/multiarch/memchr.c: Likewise.
26138         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26139         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26140         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26141         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26142         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26143         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26144         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26145         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26146         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26147         and rawmemchr functions.
26148         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26149         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26150         and wmemchr.
26151         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26152         * string/test-memchr.c: Add wmemchr support.
26153         * wcsmbs/test-wmemchr.c: New File.
26154         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26155         * benchtests/bench-memchr.c: Add wmemchr support.
26156         * benchtests/bench-wmemchr.c: New File.
26157         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26159         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26160         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26161         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26162         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26163         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26164         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26166         wcscspn functions.
26167         * sysdeps/s390/multiarch/ifunc-impl-list.c
26168         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26169         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26170         * string/test-strcspn.c: Add wcscspn support.
26171         * wcsmbs/test-wcscspn.c: New File.
26172         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26173         * benchtests/bench-strcspn.c: Add wcscspn support.
26174         * benchtests/bench-wcscspn.c: New File.
26175         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26177         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26178         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26179         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26180         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26181         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26182         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26183         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26184         wcspbrk functions.
26185         * sysdeps/s390/multiarch/ifunc-impl-list.c
26186         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26187         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26188         * string/test-strpbrk.c: Add wcspbrk support.
26189         * wcsmbs/test-wcspbrk.c: New File.
26190         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26191         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26192         * benchtests/bench-wcspbrk.c: New File.
26193         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26195         * sysdeps/s390/multiarch/strspn-c.c: New File.
26196         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26197         * sysdeps/s390/multiarch/strspn.c: Likewise.
26198         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26199         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26200         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26201         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26202         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26203         wcsspn functions.
26204         * sysdeps/s390/multiarch/ifunc-impl-list.c
26205         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26206         * string/test-strspn.c: Add wcsspn support.
26207         * wcsmbs/test-wcsspn.c: New File.
26208         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26209         * benchtests/bench-strspn.c: Add wcsspn support.
26210         * benchtests/bench-wcsspn.c: New File.
26211         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26213         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26214         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26215         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26216         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26217         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26218         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26219         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26220         wcsrchr functions.
26221         * sysdeps/s390/multiarch/ifunc-impl-list.c
26222         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26223         * benchtests/bench-wcsrchr.c: New File.
26224         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26226         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26227         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26228         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26229         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26230         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26231         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26232         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26233         wcschrnul functions.
26234         * sysdeps/s390/multiarch/ifunc-impl-list.c
26235         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26236         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26237         * string/test-strchr.c: Add wcschrnul support.
26238         * wcsmbs/test-wcschrnul.c: New File.
26239         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26240         * benchtests/bench-strchr.c: Add wcschrnul support.
26241         * benchtests/bench-wcschrnul.c: New File.
26242         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26244         * sysdeps/s390/multiarch/strchr-c.c: New File.
26245         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26246         * sysdeps/s390/multiarch/strchr.c: Likewise.
26247         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26248         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26249         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26250         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26251         wcschr functions.
26252         * sysdeps/s390/multiarch/ifunc-impl-list.c
26253         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26254         * string/strchr.c (STRCHR): Define and use macro.
26255         * benchtests/bench-wcschr.c: New File.
26256         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26258         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26259         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26260         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26261         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26262         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26263         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26265         wcsncmp functions.
26266         * sysdeps/s390/multiarch/ifunc-impl-list.c
26267         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26268         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26269         * benchtests/bench-strncmp.c: Add wcsncmp support.
26270         * benchtests/bench-wcsncmp.c: New File.
26271         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26273         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26274         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26275         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26276         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26277         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26278         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26279         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26280         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26281         wcscmp functions.
26282         * sysdeps/s390/multiarch/ifunc-impl-list.c
26283         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26284         * string/strcmp.c (STRCMP): Define and use macro.
26285         * benchtests/bench-wcscmp.c: New File.
26286         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26287         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26288         instead of _HAVE_STRING_ARCH_memchr.
26290         * sysdeps/s390/multiarch/strncat-c.c: New File.
26291         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26292         * sysdeps/s390/multiarch/strncat.c: Likewise.
26293         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26294         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26295         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26296         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26297         wcsncat functions.
26298         * sysdeps/s390/multiarch/ifunc-impl-list.c
26299         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26300         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26301         * string/test-strncat.c: Add wcsncat support.
26302         * wcsmbs/test-wcsncat.c: New File.
26303         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26304         * benchtests/bench-strncat.c: Add wcsncat support.
26305         * benchtests/bench-wcsncat.c: New File.
26306         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26308         * sysdeps/s390/multiarch/strcat-c.c: New File.
26309         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26310         * sysdeps/s390/multiarch/strcat.c: Likewise.
26311         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26312         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26313         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26314         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26315         wcscat functions.
26316         * sysdeps/s390/multiarch/ifunc-impl-list.c
26317         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26318         * string/strcat.c (STRCAT): Define and use macro.
26319         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26320         * string/test-strcat.c: Add wcscat support.
26321         * wcsmbs/test-wcscat.c: New File.
26322         * wcsmbs/Makefile (strop-tests): Add wcscat.
26323         * benchtests/bench-strcat.c: Add wcscat support.
26324         * benchtests/bench-wcscat.c: New File.
26325         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26327         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26328         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26329         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26330         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26331         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26332         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26334         wcpncpy functions.
26335         * sysdeps/s390/multiarch/ifunc-impl-list.c
26336         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26337         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26338         * string/test-stpncpy.c: Add wcpncpy support.
26339         * wcsmbs/test-wcpncpy.c: New File.
26340         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26341         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26342         * benchtests/bench-wcpncpy.c: New File.
26343         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26345         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26346         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26347         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26348         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26349         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26350         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26351         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26353         wcsncpy functions.
26354         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26355         * sysdeps/s390/multiarch/ifunc-impl-list.c
26356         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26357         * string/test-strncpy.c: Add wcsncpy support.
26358         * wcsmbs/test-wcsncpy.c: New File.
26359         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26360         * benchtests/bench-strncpy.c: Add wcsncpy support.
26361         * benchtests/bench-wcsncpy.c: New File.
26362         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26364         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26365         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26366         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26367         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26368         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26369         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26370         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26371         wcpcpy functions.
26372         * string/stpcpy.c: Use STPCPY if defined.
26373         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26374         * sysdeps/s390/multiarch/ifunc-impl-list.c
26375         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26376         * string/test-stpcpy.c: Add wcpcpy support.
26377         * wcsmbs/test-wcpcpy.c: New File.
26378         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26379         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26380         * benchtests/bench-wcpcpy.c: New File.
26381         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26383         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26384         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26385         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26386         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26387         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26388         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26389         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26390         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26391         wcscpy functions.
26392         * sysdeps/s390/multiarch/ifunc-impl-list.c
26393         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26394         * benchtests/bench-wcscpy.c: New File.
26395         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26397         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26398         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26399         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26400         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26401         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26402         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26404         wcsnlen functions.
26405         * sysdeps/s390/multiarch/ifunc-impl-list.c
26406         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26407         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26408         * string/test-strnlen.c: Add wcsnlen support.
26409         * wcsmbs/test-wcsnlen.c: New File.
26410         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26411         * benchtests/bench-strnlen.c: Add wcsnlen support.
26412         * benchtests/bench-wcsnlen.c: New File.
26413         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26415         * sysdeps/s390/multiarch/Makefile: New File.
26416         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26417         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26418         * sysdeps/s390/multiarch/strlen.c: Likewise.
26419         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26420         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26421         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26422         * string/strlen.c (STRLEN): Define and use macro.
26423         * sysdeps/s390/multiarch/ifunc-impl-list.c
26424         (IFUNC_VX_IMPL): New macro function.
26425         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26426         * benchtests/Makefile (wcsmbs-bench): New variable.
26427         (string-bench-all): Added wcsmbs-bench.
26428         * benchtests/bench-wcslen.c: New File.
26430         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26431         s390_vx_libc_ifunc2): New macro function.
26433         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26434         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26435         assembler support.
26436         * sysdeps/s390/configure: Regenerated.
26438         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26439         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26441         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26442         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26443         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26445         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26446         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26448         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26449         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26450         (memcmp, bcmp): Use __memcmp_default as alias source.
26451         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26452         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26453         Rename to __memcmp_default.
26454         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26455         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26456         (memcpy): Use __memcpy_default as alias source.
26457         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26458         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26459         Rename to __memcpy_default.
26460         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26461         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26462         (memset): Use __memset_default as alias source.
26463         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26464         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26465         Rename to __memset_default.
26466         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26467         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26468         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26469         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26470         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26471         (memcmp, bcmp): Use __memcmp_default as alias source.
26472         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26473         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26474         Rename to __memcmp_default.
26475         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26476         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26477         (memcpy): Use __memcpy_default as alias source.
26478         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26479         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26480         Rename to __memcpy_default.
26481         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26482         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26483         (memset): Use __memset_default as alias source.
26484         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26485         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26486         Rename to __memset_default.
26487         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26488         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26490         [BZ #18610]
26491         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26492         __ieee_instruction_pointer to __unused.
26493         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26494         __ieee_instruction_pointer.
26495         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26496         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26497         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26498         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26499         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26500         Mark dxc-field as reserved.
26502 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26504         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26505         if the weak reference is not null.
26507 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26509         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26511         [BZ #11214]
26512         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26514 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26516         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26517         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26518         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26519         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26520         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26521         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26522         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26523         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26524         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26525         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26526         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26527         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26528         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26529         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26530         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26531         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26532         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26533         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26535 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26537         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26538         register other than r0 for tabort, it has special meaning.
26539         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26540         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26541         transaction before starting syscall.
26543 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26545         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26547 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26549         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26551         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26552         * sysdeps/x86_64/rtld-memset.S: Likewise.
26553         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26554         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26555         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26556         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26558         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26560 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26562         * debug/strcpy_chk.c: Improve performance.
26563         * debug/stpcpy_chk.c: Likewise.
26564         * sysdeps/x86_64/strcpy_chk.S: Remove.
26565         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26567         [BZ #18240]
26568         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26570 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26572         [BZ #15128]
26573         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26574         ifuncmain8.
26575         (modules-names): Add ifuncmod8.
26576         ($(objpfx)ifuncmain8): New rule.
26577         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26578         <cpuid.h>.
26579         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26580         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26581         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26582         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26583         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26584         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26585         * sysdeps/x86_64/ifuncmain8.c: New file.
26586         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26587         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26588         Removed.
26589         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26590         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26591         Change rtld_savespace_sse to __glibc_unused2.
26592         (RTLD_CHECK_FOREIGN_CALL): Removed.
26593         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26594         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26595         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26597 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26599         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26601 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26603         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26604         Unconditionally set __fpcr to avoid uninialized warning.
26605         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26607 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26609         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26610         is corrupt.
26612         * malloc/arena.c (arena_get2): Drop unused argument.
26613         (arena_lock): Adjust.
26614         (arena_get_retry): Likewise.
26616 2015-08-24  Andreas Schwab  <schwab@suse.de>
26618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26619         Don't define.
26620         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26621         (__ASSUME_IPC64): Don't undef.
26622         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26623         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26624         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26625         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26626         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26627         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26628         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26629         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26630         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26631         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26632         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26633         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26634         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26635         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26636         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26637         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26638         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26639         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26640         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26641         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26642         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26644 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26646         * manual/Makefile (install): Only build manual when perl is available.
26648 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26650         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26651         '#undef memcpy' by '#undef memchr'.
26653 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26655         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26656         memchr not point to the internal __GI_memchr implementation.
26658 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26660         * timezone/Makefile (CFLAGS-zdump.c): Remove
26661         -Wno-strict-prototypes.
26662         (CFLAGS-zic.c): Likewise.
26663         (CFLAGS-ialloc.c): Likewise.
26664         (CFLAGS-scheck.c): Likewise.
26666         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26667         -Wno-error=undef.
26669 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26671         * i386/i686/multiarch/strcasestr-c.c: Removed.
26672         * x86_64/multiarch/strcasestr.c: Likewise.
26673         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26674         Remove strcasestr.
26676 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26678         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26680         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26681         variables for high and low parts before possibly modifying them.
26683 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26685         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26686         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26687         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26688         of "multiarch/init-arch.h".
26689         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26690         * sysdeps/x86/init-arch.h: This.
26692 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26694         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26695         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26697 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26699         [BZ #17787]
26700         * manual/macros.texi: Add twoexp macro.
26701         * manual/filesys.texi: Fix exponents.
26702         * manual/llio.texi: Likewise.
26703         * manual/stdio.texi: Likewise.
26705 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26707         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26708         incorrect use.
26710 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26712         [BZ #18370]
26713         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26714         whose real or imaginary part has small absolute value.
26715         * math/s_csqrtf.c (__csqrtf): Likewise.
26716         * math/s_csqrtl.c (__csqrtl): Likewise.
26717         * math/auto-libm-test-in: Add more tests of csqrt.
26718         * math/auto-libm-test-out: Regenerated.
26719         * sysdeps/i386/fpu/libm-test-ulps: Update.
26721 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26723         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26724         __ppc_set_ppr_very_low): New functions.
26725         * manual/platform.texi: Add documentation about
26726         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26728 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26730         * string/stpncpy.c (stpncpy): Improve performance using
26731         __strnlen/memcpy/memset.
26733 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26735         [BZ #18796]
26736         * scripts/test-installation.pl: Don't add -lmvec to build options if
26737         libmvec wasn't built.
26739 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26741         [BZ #14341]
26742         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26743         case when there is a gap between DT_REL and DT_JMPREL sections.
26744         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26745         (LDFLAGS-tst-split-dynreloc): New.
26746         (tst-split-dynreloc-ENV): Likewise.
26747         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26748         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26750 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26752         [BZ #18822]
26753         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26754         attribute_hidden.
26755         (__xstat64_conv): Likewise.
26756         (__xstat32_conv): Likewise.
26758 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26760         [BZ #18822]
26761         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26762         Don't load %ebx when calling __setcontext.  Call __setcontext
26763         with HIDDEN_JUMPTARGET.
26764         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26765         libc_hidden_def.
26767 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26769         * sysdeps/i386/i686/Makefile
26770         [$(subdir) == string] (sysdep_routines): Moved to ...
26771         * sysdeps/i386/Makefile: Here.
26772         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26773         * sysdeps/i386/cacheinfo.c: Here.
26774         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26775         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26776         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26777         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26779 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26781         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26782         __i586__ is defined.
26783         (HAS_I686): Defined to 1 if __i686__ is defined.
26785 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26787         * elf/Makefile [$(have-z-execstack) = yes]
26788         (CPPFLAGS-tst-execstack.c): New variable.
26790         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26791         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26792         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26793         UTMPX || _HAVE_UT_TV].
26794         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26795         UTMPX || _HAVE_UT_TV - 0].
26797 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26799         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26800         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26801         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26803 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26805         * sysdeps/powerpc/dl-procinfo.c:
26806         (_dl_powerpc_cap_flags): Added missing strings for some
26807         hwcap features.
26808         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26810 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26812         Port the 0x7efe...feff pattern to GCC 6.
26813         See Steve Ellcey's bug report in:
26814         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26815         * string/memrchr.c (MEMRCHR):
26816         * string/rawmemchr.c (RAWMEMCHR):
26817         * string/strchr.c (strchr):
26818         * string/strchrnul.c (STRCHRNUL):
26819         Rewrite code to avoid issues with signed shift overflow.
26821 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26823         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26824         whether cpuid is available only if HAS_CPUID is 0.
26825         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26826         (HAS_I586): Likewise.
26827         (HAS_I686): Likewise.
26829 2015-08-18  Zack Weinberg  <zackw@panix.com>
26831         * misc/Versions (libc): Add GLIBC_2.23.
26833 2015-08-18  Alan Modra  <amodra@gmail.com>
26835         [BZ #18421]
26836         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26837         .Lp__global.
26838         (_start): Load %dp via .Lp__global.
26839         [!SHARED]: Use .section .rodata.
26841 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26843         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26844         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26846 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26848         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26849         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26851 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26853         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26854         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26856 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26858         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26859         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26861 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26863         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26864         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26866 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26868         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26869         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26871 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26873         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26875 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26877         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26878         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26879         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26880         (__ASSUME_LWS_CAS): Delete.
26882 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26884         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26885         * sysdeps/hppa/configure: Regenerated.
26886         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26887         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26888         * sysdeps/hppa/nptl/tls.h: Likewise.
26890 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26892         [BZ #18823]
26893         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26894         for scaling up small arguments.
26895         * math/s_csqrtf.c (__csqrtf): Likewise.
26896         * math/s_csqrtl.c (__csqrtl): Likewise.
26897         * math/auto-libm-test-in: Add more tests of csqrt.
26898         * math/auto-libm-test-out: Regenerated.
26900 2015-08-17  Andreas Schwab  <schwab@suse.de>
26902         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26903         version set GLIBC_2.19.
26905 2015-08-16  Zack Weinberg  <zackw@panix.com>
26907         [BZ #18681]
26908         * misc/regexp.h: This interface is no longer supported.
26909         Remove all contents, leaving only an #error directive.
26910         * misc/regexp.c (loc1, loc2, locs, step, advance):
26911         Demote to compatibility symbols.
26913 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26915         [BZ #18084]
26916         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26917         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26918         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26919         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26920         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26921         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26922         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26923         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26924         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26926 2015-08-15  Zack Weinberg  <zackw@panix.com>
26928         [BZ #18795]
26929         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26930         buffer length is known to be too large, not if it's known to be
26931         small enough.
26932         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26933         overflow at runtime, involving a length parameter, twice: once
26934         with a compile-time constant length parameter, once without.
26936 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26938         [BZ #18824]
26939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26940         scaling x * y up instead of down.
26941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26942         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26943         * math/auto-libm-test-in: Add more tests of fma.
26944         * math/auto-libm-test-out: Regenerated.
26946 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26948         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26950 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26953         unnecessary movq.
26954         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26955         Likewise.
26957 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26959         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26960         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26961         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26962         and tgamma.
26963         * math/auto-libm-test-out: Regenerated.
26964         * sysdeps/i386/fpu/libm-test-ulps: Update.
26965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26967         [BZ #16520]
26968         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26969         (__tanh): Force underflow exception for arguments with small
26970         absolute value.
26971         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26972         (__tanhf): Force underflow exception for arguments with small
26973         absolute value.
26974         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26975         (__tanhl): Force underflow exception for arguments with small
26976         absolute value.
26977         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26978         (__tanhl): Force underflow exception for arguments with small
26979         absolute value.
26980         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26981         (__tanhl): Force underflow exception for arguments with small
26982         absolute value.
26983         * math/auto-libm-test-in: Add more tests of tanh.
26984         * math/auto-libm-test-out: Regenerated.
26985         * sysdeps/i386/fpu/libm-test-ulps: Update.
26987 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26989         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26990         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26992 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26994         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26995         <cpuid.h>.
26997 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26999         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27000         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27002 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27004         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27005         Remove $(objpfx)init-arch.o.
27006         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27007         init-arch.
27008         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27009         (INIT_ARCH_EXT): Defined as empty.
27010         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27011         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27012         __init_cpu_features call.  Replace HAS_XXX with
27013         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27016         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27017         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27018         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27019         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27020         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27021         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27022         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27023         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27024         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27026         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27027         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27029         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27030         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27032         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27033         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27034         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27035         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27036         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27037         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27038         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27039         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27040         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27041         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27042         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27043         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27044         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27046         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27047         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27048         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27050 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27052         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27053         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27054         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27055         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27056         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27057         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27058         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27059         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27060         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27061         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27062         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27063         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27064         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27065         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27066         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27067         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27068         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27069         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27070         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27071         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27072         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27073         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27074         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27075         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27076         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27077         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27079         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27080         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27081         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27082         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27083         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27084         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27085         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27086         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27087         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27088         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27089         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27091         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27092         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27093         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27094         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27096 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27098         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27099         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27100         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27101         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27102         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27103         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27104         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27105         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27106         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27107         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27108         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27109         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27110         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27111         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27112         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27113         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27114         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27115         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27116         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27117         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27119         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27120         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27121         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27122         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27123         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27124         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27125         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27126         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27127         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27128         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27129         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27130         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27131         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27132         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27133         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27134         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27135         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27136         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27137         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27138         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27139         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27140         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27142 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27144         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27145         (dl_platform_init): Call init_cpu_features.
27146         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27147         * sysdeps/i386/i686/cacheinfo.c
27148         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27149         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27150         * sysdeps/i386/i686/multiarch/Versions: Removed.
27151         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27152         Removed.
27153         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27154         * sysdeps/unix/sysv/linux/x86/Makefile
27155         (libpthread-sysdep_routines): Remove init-arch.
27156         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27157         <sysdeps/x86_64/dl-procinfo.c> instead of
27158         sysdeps/generic/dl-procinfo.c>.
27159         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27160         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27161         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27162         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27163         [$(subdir) == elf] (tests-static): Add
27164         tst-get-cpu-features-static.
27165         * sysdeps/x86/Versions: New file.
27166         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27167         * sysdeps/x86/cpu-features.c: Likewise.
27168         * sysdeps/x86/cpu-features.h: Likewise.
27169         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27170         * sysdeps/x86/libc-start.c: Likewise.
27171         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27172         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27173         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27174         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27175         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27176         Assume USE_MULTIARCH is defined and don't check it.
27177         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27178         (is_amd): Likewise.
27179         (max_cpuid): Likewise.
27180         (intel_check_word): Likewise.
27181         (__cache_sysconf): Don't call __init_cpu_features.
27182         (__x86_preferred_memory_instruction): Removed.
27183         (init_cacheinfo): Don't call __init_cpu_features. Replace
27184         __cpu_features with GLRO(dl_x86_cpu_features).
27185         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27186         (dl_platform_init): Call init_cpu_features.
27187         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27188         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27189         * sysdeps/x86_64/multiarch/Versions: Removed.
27190         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27191         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27192         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27193         Removed.
27194         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27196 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27198         [BZ #18820]
27199         * libio/Makefile (test-fmemopen-mem): New test.
27200         * libio/test-fmemopen.c (do_bz18820): New test.
27201         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27202         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27204 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27206         [BZ #16734]
27207         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27208         (FREE_BUF): Delete.
27209         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27210         * libio/genops.c (_IO_setb): Use malloc and free directly.
27211         (_IO_default_doallocate, _IO_default_finish): Likewise.
27212         ( _IO_unbuffer_all): Likewise.
27213         ( libc_freeres_fn): Likewise.
27214         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27215         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27216         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27217         (_IO_wdefault_doallocate): Likewise.
27219 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27221         [BZ #18086]
27222         * sysdeps/posix/nice.c (nice): Restore old errno.
27223         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27225 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27229 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27231         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27232         __bcopy and add a weak_alias to bcopy.
27233         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27234         for static build.
27236         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27237         cleanup macro usage.
27238         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27240         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27241         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27242         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27243         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27244         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27245         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27246         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27247         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27248         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27249         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27250         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27251         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27254         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27255         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27256         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27258         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27259         libc_hidden_def.
27260         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27262         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27263         (sysdep_routines): Add strstr-ppc64.
27264         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27266 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27268         [BZ #18778]
27269         * elf/Makefile (tests): Add Add tst-nodelete2.
27270         (modules-names): Add tst-nodelete2mod.
27271         (tst-nodelete2mod.so-no-z-defs): New.
27272         ($(objpfx)tst-nodelete2): Likewise.
27273         ($(objpfx)tst-nodelete2.out): Likewise.
27274         (LDFLAGS-tst-nodelete2): Likewise.
27275         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27276         out of loop through all loaded libraries.
27277         * elf/tst-nodelete2.c: New file.
27278         * elf/tst-nodelete2mod.c: Likewise.
27279         * elf/tst-znodelete-zlib.cc: Delete.
27281 2015-08-11  Andreas Schwab  <schwab@suse.de>
27283         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27284         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27285         (__openat64_nocancel): Likewise.
27287 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27289         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27290         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27291         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27292         * math/auto-libm-test-out: Regenerated.
27293         * sysdeps/i386/fpu/libm-test-ulps: Update.
27294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27296 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27298         [BZ #18790]
27299         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27300         threshold for returning +/- 1.
27301         * math/auto-libm-test-in: Add more tests of tanh.
27302         * math/auto-libm-test-out: Regenerated.
27303         * sysdeps/i386/fpu/libm-test-ulps: Update.
27305 2015-08-10  Andreas Schwab  <schwab@suse.de>
27307         [BZ #18781]
27308         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27309         MORE_OFLAGS to oflag.
27310         * io/test-lfs.c (do_test): Test openat64.
27312 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #18789]
27315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27316         smaller threshold for returning the argument.
27317         * math/auto-libm-test-in: Add more tests of sinh.
27318         * math/auto-libm-test-out: Regenerated.
27319         * sysdeps/i386/fpu/libm-test-ulps: Update.
27321 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27323         [BZ #18674]
27324         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27325         break.
27327 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27329         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27330         (generated): Don't add $(addprefix z.,$(tzfiles)).
27332 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27334         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27335         * scripts/sysd-rules.awk: Likewise.
27337 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27339         * iconvdata/tst-tables.sh: Change echo -n to printf.
27340         * nss/db-Makefile: Likewise.
27341         * posix/tst-getconf.sh: Likewise.
27342         * stdio-common/tst-unbputc.sh: Likewise.
27344 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27346         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27347         MADV_*_PAGES defines behind this feature check.
27349 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27351         [BZ #18480]
27352         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27353         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27354         Define.
27355         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27356         LOAD_REGS_5, LOAD_REGS_6): Update.
27357         (INTERNAL_SYSCALL): Update using new LOAD defines.
27358         (INTERNAL_SYSCALL_NCS): Likewise.
27359         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27361 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27363         [BZ #16734]
27364         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27366 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27368         [BZ #17905]
27369         * catgets/Makefile (tst-catgets-mem): New test.
27370         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27371         * catgets/open_catalog.c (__open_catalog): Likewise.
27372         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27374 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27376         [BZ #18787]
27377         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27378         clobber registers.
27379         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27380         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27381         Cast return to __typeof (oldval).
27383 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27385         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27386         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27387         and delete sys/syscall.h include.
27389 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #16517]
27392         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27393         (tan): Force underflow exception for arguments with small absolute
27394         value.
27395         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27396         (__kernel_tanf): Force underflow exception for arguments with
27397         small absolute value.
27398         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27399         (__kernel_tanl): Force underflow exception for arguments with
27400         small absolute value.
27401         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27402         (__kernel_tanl): Force underflow exception for arguments with
27403         small absolute value.
27404         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27405         (__kernel_tanl): Force underflow exception for arguments with
27406         small absolute value.
27407         * math/auto-libm-test-in: Add more tests of tan.
27408         * math/auto-libm-test-out: Regenerated.
27410 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27412         Fix sysdeps/i386/fpu/s_scalbn.S build
27414         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27416 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27418         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27420 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27422         Fix gcrt0.o compilation
27424         When static-start-installed-name is different from
27425         start-installed-name, we must not use the shared objects.
27427         * csu/Makefile
27428         (extra-objs): Add gmon-start.o when building shared library and
27429         $(static-start-installed-name) is different from
27430         $(start-installed-name).
27431         $(objpfx)g$(static-start-installed-name): When building shared
27432         library and $(static-start-installed-name) is different from
27433         $(static-start-installed-name), revert to non-shared rule,
27434         i.e. using $(objpfx)% and gmon-start.o.
27436 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27438         [BZ #16519]
27439         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27440         (__ieee754_sinh): Force underflow exception for arguments with
27441         small absolute value.
27442         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27443         (__ieee754_sinhf): Force underflow exception for arguments with
27444         small absolute value.
27445         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27446         (__ieee754_sinhl): Force underflow exception for arguments with
27447         small absolute value.
27448         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27449         (__ieee754_sinhl): Force underflow exception for arguments with
27450         small absolute value.
27451         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27452         (__ieee754_sinhl): Force underflow exception for arguments with
27453         small absolute value.
27454         * math/auto-libm-test-in: Add more tests of sinh.
27455         * math/auto-libm-test-out: Regenerated.
27456         * sysdeps/i386/fpu/libm-test-ulps: Update.
27458 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27460         * libio/oldfileops.c: Include unistd.h.
27462 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27464         * stdlib/isomac.c: Include ctype.h.
27466 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27468         * dirent/tst-seekdir.c (main): Converted to ...
27469         (do_test): ... this.
27470         (TEST_FUNCTION): New macro.
27471         Include test-skeleton.c.
27472         * elf/tst-dlmodcount.c (main): Converted to ...
27473         (do_test): ... this.
27474         (TEST_FUNCTION): New macro.
27475         Include test-skeleton.c.
27476         * elf/tst-order-main.c (main): Converted to ...
27477         (do_test): ... this.
27478         (TEST_FUNCTION): New macro.
27479         Include test-skeleton.c.
27480         * elf/tst-pie2.c (main): Converted to ...
27481         (do_test): ... this.
27482         (TEST_FUNCTION): New macro.
27483         Include test-skeleton.c.
27484         * inet/tst-ether_aton.c (main): Converted to ...
27485         (do_test): ... this.
27486         (TEST_FUNCTION): New macro.
27487         Include test-skeleton.c.
27488         * misc/tst-mntent.c (main): Converted to ...
27489         (do_test): ... this.
27490         (TEST_FUNCTION): New macro.
27491         Include test-skeleton.c.
27492         * misc/tst-tsearch.c (main): Converted to ...
27493         (do_test): ... this.
27494         (TEST_FUNCTION): New macro.
27495         Include test-skeleton.c.
27496         * posix/tst-regexloc.c (main): Converted to ...
27497         (do_test): ... this.
27498         (TEST_FUNCTION): New macro.
27499         Include test-skeleton.c.
27500         * resolv/tst-aton.c (main): Converted to ...
27501         (do_test): ... this.
27502         (TEST_FUNCTION): New macro.
27503         Include test-skeleton.c.
27504         * stdio-common/test-fwrite.c (main): Converted to ...
27505         (do_test): ... this.
27506         (TEST_FUNCTION): New macro.
27507         Include test-skeleton.c.
27508         * stdio-common/tst-ferror.c (main): Converted to ...
27509         (do_test): ... this.
27510         (TEST_FUNCTION): New macro.
27511         Include test-skeleton.c.
27512         * stdio-common/tst-printf.c (main): Converted to ...
27513         (do_test): ... this.
27514         (TEST_FUNCTION): New macro.
27515         Include test-skeleton.c.
27516         * stdio-common/tst-printfsz.c (main): Converted to ...
27517         (do_test): ... this.
27518         (TEST_FUNCTION): New macro.
27519         Include test-skeleton.c.
27520         * stdlib/tst-strtod.c (main): Converted to ...
27521         (do_test): ... this.
27522         (TEST_FUNCTION): New macro.
27523         Include test-skeleton.c.
27524         * string/tst-strlen.c (main): Converted to ...
27525         (do_test): ... this.
27526         (TEST_FUNCTION): New macro.
27527         Include test-skeleton.c.
27528         * string/tst-svc.c (main): Converted to ...
27529         (do_test): ... this.
27530         (TEST_FUNCTION): New macro.
27531         Include test-skeleton.c.
27532         * time/tst-strptime.c (main): Converted to ...
27533         (do_test): ... this.
27534         (TEST_FUNCTION): New macro.
27535         Include test-skeleton.c.
27536         * timezone/tst-timezone.c (main): Converted to ...
27537         (do_test): ... this.
27538         (TEST_FUNCTION): New macro.
27539         Include test-skeleton.c.
27541 2015-08-05  Zack Weinberg  <zackw@panix.com>
27543         * misc/regexp.h: Update comments.
27545 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27547         [BZ #18635]
27548         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27549         before return label.
27551 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27553         [BZ #18661]
27554         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27555         when calling __errno_location.
27556         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27557         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27559 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27561         [BZ #18661]
27562         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27563         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27564         __gettimeofday.
27566 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27568         [BZ #18661]
27569         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27570         (__start_context): Don't use pop to restore %rdi so that stack
27571         is aligned to 16 bytes when calling __setcontext.
27573 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27575         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27576         only for libc.
27577         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27579 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27581         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27582         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27583         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27585 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27587         * string/memccpy.c (memccpy):
27588         Improve performance by using memchr/memcpy/__mempcpy.
27590 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27592         * string/strncpy.c (strncpy):
27593         Improve performance by using __strnlen/memcpy.
27595 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27597         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27598         Optimize to avoid an unnecessary FPCR read.
27600 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27602         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27603         Optimize to reduce FPCR/FPSR accesses.
27605 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27607         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27608         dead->data[category] != NULL.
27610 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27612         [BZ #18647]
27613         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27614         and |x| close to 1, use absolute value of x when computing log.
27615         * math/auto-libm-test-in: Add more tests of pow.
27616         * math/auto-libm-test-out: Regenerated.
27618 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27620         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27621         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27622         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27624 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27626         [BZ #18525]
27627         * locales/km_KH: Remove timezone definition.
27628         * locales/lo_LA: Likewise.
27629         * locales/my_MM: Likewise.
27630         * locales/nan_TW@latin: Likewise.
27631         * locales/th_TH: Likewise.
27632         * locales/uk_UA: Likewise.
27634 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27636         [BZ #18265]
27637         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27638         (wcsncat): Likewise.
27639         (wcscmp): Likewise.
27640         (wcsncmp): Likewise.
27642 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27644         * test-skeleton.c (usage): New function.
27645         (main): Call usage when opt is '?'.
27647 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27649         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27650         before first use.
27652 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27654         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27655         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27656         in there too.
27658 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27660         * version.h (RELEASE): Set to "development".
27661         (VERSION): Set to "2.22.90"
27663         * version.h (RELEASE): Set to "stable".
27664         (VERSION): Set to "2.22"
27665         * include/features.h (__GLIBC_MINOR__): Set to 22.
27667 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27669         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27670         Restructure macro to avoid "value computed is not used" warning.
27671         (atomic_compare_and_exchange_val_acq): Likewise.
27673 2015-08-04  Andreas Schwab  <schwab@suse.de>
27675         [BZ #18635]
27676         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27677         ret.
27678         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27680 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27682         * po/pl.po: Updated translation.
27683         * po/uk.po: Likewise.
27684         * po/fi.po: Likewise.
27685         * po/ko.po: Likewise.
27686         * po/ru.po: Likewise.
27687         * po/vi.po: Likewise.
27689 2015-07-31  Zack Weinberg  <zackw@panix.com>
27691         [BZ #18681]
27692         * regexp.h: Add unconditional #warning stating that this header
27693         will be removed soon.  Revise banner comment to match.
27694         (compile): Consistently use ERROR instead of RETURN to report
27695         errors (partial fix for BZ #18681).
27696         * regexp.c: Don't include regexp.h. Remove some unnecessary
27697         declarations.
27699 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27701         * po/libc.pot: Regenerated.
27703 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27705         [BZ #18740]
27706         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27707         float-vlen4-arch-ext-cflags): Removed.
27708         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27709         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27711 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27713         [BZ #14113]
27714         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27715         aligned to __aligned__.
27716         (pthread_cond_t, pthread_rwlock_t): Likewise.
27718 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27720         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27722 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27724         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27725         (struct sigaction): Change sa_flags from a long to an int, and add
27726         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27728 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27730         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27731         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27732         sysdeps/generic/sysdep.h include.
27733         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27734         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27735         sysdeps/hppa/sysdep.h.
27736         (ENTRY, PSEUDO): Undefine before defining.
27738 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27740         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27741         from scratch to use INTERNAL_SYSCALL.
27743 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27745         [BZ #18078]
27746         * scripts/check-localplt.awk: Support alternate relocations.
27747         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27748         sections.
27749         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27750         malloc entries with + REL R_386_GLOB_DAT.
27751         * sysdeps/x86_64/localplt.data: New file.
27753 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27755         [BZ #18731]
27756         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27757         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27758         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27760 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27762         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27764 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27766         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27767         directly in terms of __sync_fetch_and_add and delete (int) cast.
27769 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27771         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27772         the -D_ASM_IA64_CURRENT_H flag.
27774 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27776         [BZ #18641]
27777         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27779 2015-07-27  Andreas Schwab  <schwab@suse.de>
27781         * conform/conformtest.pl (checknamespace): Filter out string
27782         literals while tokenizing.
27784 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27786         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27787         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27788         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27790 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27792         * nptl/tst-join7mod.c: Add #include <string.h>.
27794 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27796         * sysdeps/nios2/libm-test-ulps: Update.
27798 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27800         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27801         Fix order of arguments to the rt_sigprocmask syscall.
27802         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27803         Likewise.
27805 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27807         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27809 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27811         [BZ #18457]
27812         * nptl/Makefile (tests): New test case tst-join7.
27813         (modules-names): New test case module tst-join7mod.
27814         * nptl/tst-join7.c: New file.
27815         * nptl/tst-join7mod.c: New file.
27816         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27817         all translation units in libc.so, libpthread.so and rtld.
27819 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27823 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27825         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27827         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27828         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27829         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27831         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27832         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27833         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27834         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27835         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27837         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27838         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27839         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27840         implementation.
27842 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27844         [BZ #17711]
27845         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27846         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27847         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27848         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27849         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27850         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27852 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27854         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27855         instead of just saying load lock in the comments.
27857 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27859         * sysdeps/unix/Subdirs: Moved ...
27860         * sysdeps/posix/Subdirs: ... here.
27861         * login/pty.h (struct termios, struct winsize): Add forward decls.
27862         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27863         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27864         * sysdeps/arm/nacl/libc.abilist: Updated.
27865         * sysdeps/nacl/libutil.abilist: New file.
27867         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27868         (SIGWINCH): New macro.
27870         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27871         * sysdeps/arm/nacl/libc.abilist: Add it.
27873 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27875         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27877 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27879         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27880         Swap __glibc_reserved0 and sa_flags order.
27882 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27884         [BZ #18657]
27885         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27886         are pending TLS destructor calls.
27887         * include/link.h (struct link_map): Add concurrency note for
27888         L_TLS_DTOR_COUNT.
27889         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27890         Don't touch the link map flag.  Atomically increment
27891         l_tls_dtor_count.
27892         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27893         Avoid taking the load lock and don't touch the link map flag.
27894         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27895         * stdlib/Makefile (tests): Use it.
27896         * stdlib/tst-tls-atexit.c (do_test): dlopen
27897         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27898         to allow tst-tls-atexit-nodelete test case to use it.
27900 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27902         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27903         to bits/types.h.
27904         (msgqnum_t): New typedef.
27905         (msglen_t): Likewise.
27906         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27907         and msg_qbytes type to msglen_t.
27909 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27911         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27912         pad0 to __glibc_reserved0.
27913         (struct stat64): Likewise.
27915 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27917         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27918         Change sa_flags from a long to an int and add __glibc_reserved0 before
27919         it for padding.
27921 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27923         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27924         anonymous by deleting "siginfo" name.
27926 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27928         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27929         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27930         rather than __nacl_irt_filename.
27931         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27933         * NEWS: New item for arm-nacl port.
27934         * sysdeps/arm/nacl/libc.abilist: New file.
27935         * sysdeps/nacl/ld.abilist: New file.
27936         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27937         * sysdeps/nacl/libanl.abilist: New file.
27938         * sysdeps/nacl/libcrypt.abilist: New file.
27939         * sysdeps/nacl/libdl.abilist: New file.
27940         * sysdeps/nacl/libm.abilist: New file.
27941         * sysdeps/nacl/libpthread.abilist: New file.
27942         * sysdeps/nacl/libresolv.abilist: New file.
27943         * sysdeps/nacl/librt.abilist: New file.
27945 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27947         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27948         __startcontext to initialize the new context.
27949         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27950         up CFI directive to forbid further backtracing.
27952 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27954         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27955         reference.
27956         * charmaps/ANSI_X3.4-1968: Likewise.
27957         * charmaps/BS_4730: Likewise.
27958         * charmaps/BS_VIEWDATA: Likewise.
27959         * charmaps/CP1250: Likewise.
27960         * charmaps/CP1251: Likewise.
27961         * charmaps/CP1252: Likewise.
27962         * charmaps/CP1253: Likewise.
27963         * charmaps/CP1254: Likewise.
27964         * charmaps/CP1255: Likewise.
27965         * charmaps/CP1256: Likewise.
27966         * charmaps/CSN_369103: Likewise.
27967         * charmaps/EBCDIC-DK-NO: Likewise.
27968         * charmaps/GB_1988-80: Likewise.
27969         * charmaps/GREEK-CCITT: Likewise.
27970         * charmaps/GREEK7: Likewise.
27971         * charmaps/INIS-8: Likewise.
27972         * charmaps/ISIRI-3342: Likewise.
27973         * charmaps/ISO_2033-1983: Likewise.
27974         * charmaps/ISO_5427-EXT: Likewise.
27975         * locales/POSIX: Likewise.
27976         * locales/ar_SA: Likewise.
27977         * locales/be_BY: Likewise.
27978         * locales/be_BY@latin: Likewise.
27979         * locales/ca_ES: Likewise.
27980         * locales/cs_CZ: Likewise.
27981         * locales/da_DK: Likewise.
27982         * locales/de_BE: Likewise.
27983         * locales/de_CH: Likewise.
27984         * locales/de_LU: Likewise.
27985         * locales/en_AU: Likewise.
27986         * locales/en_BW: Likewise.
27987         * locales/en_CA: Likewise.
27988         * locales/en_DK: Likewise.
27989         * locales/en_GB: Likewise.
27990         * locales/en_IE: Likewise.
27991         * locales/en_NZ: Likewise.
27992         * locales/en_ZA: Likewise.
27993         * locales/en_ZW: Likewise.
27994         * locales/es_AR: Likewise.
27995         * locales/es_BO: Likewise.
27996         * locales/es_CL: Likewise.
27997         * locales/es_CO: Likewise.
27998         * locales/es_DO: Likewise.
27999         * locales/es_EC: Likewise.
28000         * locales/es_ES: Likewise.
28001         * locales/es_HN: Likewise.
28002         * locales/es_MX: Likewise.
28003         * locales/es_PA: Likewise.
28004         * locales/es_PE: Likewise.
28005         * locales/es_PY: Likewise.
28006         * locales/es_SV: Likewise.
28007         * locales/es_US: Likewise.
28008         * locales/es_UY: Likewise.
28009         * locales/es_VE: Likewise.
28010         * locales/et_EE: Likewise.
28011         * locales/fa_IR: Likewise.
28012         * locales/fo_FO: Likewise.
28013         * locales/fr_CA: Likewise.
28014         * locales/fr_CH: Likewise.
28015         * locales/gv_GB: Likewise.
28016         * locales/he_IL: Likewise.
28017         * locales/hr_HR: Likewise.
28018         * locales/id_ID: Likewise.
28019         * locales/is_IS: Likewise.
28020         * locales/it_CH: Likewise.
28021         * locales/iw_IL: Likewise.
28022         * locales/kl_GL: Likewise.
28023         * locales/ko_KR: Likewise.
28024         * locales/kw_GB: Likewise.
28025         * locales/lg_UG: Likewise.
28026         * locales/lt_LT: Likewise.
28027         * locales/lv_LV: Likewise.
28028         * locales/mi_NZ: Likewise.
28029         * locales/nhn_MX: Likewise.
28030         * locales/nl_BE: Likewise.
28031         * locales/pl_PL: Likewise.
28032         * locales/sk_SK: Likewise.
28033         * locales/sl_SI: Likewise.
28034         * locales/sv_FI: Likewise.
28035         * locales/tl_PH: Likewise.
28036         * locales/tr_TR: Likewise.
28037         * locales/vi_VN: Likewise.
28039 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28041         [BZ #17475]
28042         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28043         of tu_IN and bh_IN.
28045 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28047         [BZ #18694]
28048         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28049         bits/wordsize.h.
28050         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28052 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28054         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28055         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28056         (spawn_thread): New function.
28057         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28058         (do_test): ... here.  Use IS_LOADED to test for its
28059         availability.
28061 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28063         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28065 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28067         [BZ #18696]
28068         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28069         si_addr_bnd.
28070         (si_lower): New.
28071         (si_upper): Likewise.
28073 2015-07-16  David S. Miller  <davem@davemloft.net>
28075         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28077 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28079         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28080         buffer.
28081         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28082         fail output information.
28084 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28087         and strstr-ppc64..
28088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28089         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28090         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28091         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28092         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28094 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28096         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28097         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28098         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28099         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28101 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28103         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28104         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28105         rtld_hidden_proto.
28106         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28108 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28110         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28111         the test can fail.
28113         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28115         [BZ #18676]
28116         * elf/tst-nodelete-opened.c: New test case.
28117         * elf/tst-nodelete-opened-lib.c: New test case module.
28118         * elf/Makefile (tests, modules-names): Use them.
28119         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28120         early.
28122 2015-07-15  David S. Miller  <davem@davemloft.net>
28124         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28125         futex-intenal.h
28126         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28127         * sysdeps/sparc/sparc64/Makefile: Likewise.
28128         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28129         Remove space from macro define.
28130         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28132 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28134         [BZ #17475]
28135         * locale/iso-639.def: Update Bhili and Tulu language codes as
28136         per iso639-3.
28138 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28140         * elf/tst-leaks1.c (main): Converted to ...
28141         (do_test): ... this.
28142         (TEST_FUNCTION): New macro.
28143         Include test-skeleton.c.
28144         * localedata/tst-langinfo.c (main): Converted to ...
28145         (do_test): ... this.
28146         (TEST_FUNCTION): New macro.
28147         Include test-skeleton.c.
28148         * math/test-fpucw.c (main): Converted to ...
28149         (do_test): ... this.
28150         (TEST_FUNCTION): New macro.
28151         Include test-skeleton.c.
28152         * math/test-tgmath.c (main): Converted to ...
28153         (do_test): ... this.
28154         (TEST_FUNCTION): New macro.
28155         Include test-skeleton.c.
28156         * math/test-tgmath2.c (main): Converted to ...
28157         (do_test): ... this.
28158         (TEST_FUNCTION): New macro.
28159         Include test-skeleton.c.
28160         * setjmp/tst-setjmp.c (main): Converted to ...
28161         (do_test): ... this.
28162         (TEST_FUNCTION): New macro.
28163         Include test-skeleton.c.
28164         * stdio-common/tst-sscanf.c (main): Converted to ...
28165         (do_test): ... this.
28166         (TEST_FUNCTION): New macro.
28167         Include test-skeleton.c.
28168         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28169         (do_test): ... this.
28170         (TEST_FUNCTION): New macro.
28171         Include test-skeleton.c.
28173         * elf/tst-audit9.c (main): Converted to ...
28174         (do_test): ... this.
28175         (TEST_FUNCTION): New macro.
28176         Include test-skeleton.c.
28178 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28180         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28182 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28184         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28185         New variable.
28187 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28189         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28191 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28193         * sysdeps/generic/dl-fileid.h: New file.
28194         * sysdeps/posix/dl-fileid.h: New file.
28195         * sysdeps/nacl/dl-fileid.h: New file.
28196         * include/link.h: Include <dl-fileid.h>.
28197         (struct link_map): Replace l_dev and l_ino with l_file_id.
28198         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28199         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28200         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28202 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28204         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28206 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28208         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28209         Add iff $CXX is set.
28210         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28211         Likewise.
28212         (tst-nodelete-zmodiff): Likewise.
28213         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28215 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28219 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28221         * sysdeps/aarch64/fpu/math_private.h
28222         (define math_opt_barrier): Add AArch64 version.
28223         (math_force_eval): Likewise.
28225 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28227         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28229 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28231         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28232         %ld with %jd and cast to intmax_t.
28233         (do_test_length_zero): Likewise.
28235 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28237         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28239 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28241         * sysdeps/tile/libm-test-ulps: Regenerated.
28243         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28244         Comment out the whole function, not just its body.
28246 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28248         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28249         locks.
28251         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28253 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28255         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28256         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28258 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28260         * sysdeps/nptl/futex-internal.h: New file.
28261         * sysdeps/nacl/futex-internal.h: New file.
28262         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28263         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28264         error checking.
28265         (setxid_unmark_thread): Likewise.
28266         (__nptl_setxid): Likewise.
28267         (__wait_lookup_done): Likewise.
28268         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28269         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28270         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28271         * nptl/pthread_once.c (clear_once_control): Likewise.
28272         (__pthread_once_slow): Likewise.
28273         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28274         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28275         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28276         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28277         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28278         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28279         Likewise.
28280         (__pthread_rwlock_rdlock): Likewise.
28281         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28282         Likewise.
28283         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28284         Likewise.
28285         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28286         Likewise.
28287         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28288         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28289         Likewise.
28290         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28291         __ASSUME_PRIVATE_FUTEX check.
28292         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28293         Check that shared futexes are supported.
28294         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28295         wrappers with error checking.
28296         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28297         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28298         * nptl/pthread_barrierattr_setpshared.c
28299         (pthread_barrierattr_setpshared): Check that shared futexes are
28300         supported.
28301         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28302         Likewise.
28303         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28304         Likewise.
28305         * nptl/sem_init.c (futex_private_if_supported): Remove.
28306         (__new_sem_init): Adapt and check that shared futexes are supported.
28307         * nptl/sem_open.c (sem_open): Likewise.
28308         * nptl/sem_post.c (futex_wake): Remove.
28309         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28310         (do_futex_wait): Use futex wrappers with error checking.
28311         * nptl/sem_wait.c: Include lowlevellock.h.
28312         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28313         Use futex_supports_pshared.
28314         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28315         Use futex wrappers with error checking.
28316         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28317         Likewise.
28318         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28319         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28320         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28321         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28322         (futex_wake): Likewise.
28323         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28324         (do_futex_wait): Use futex wrappers with error checking.
28325         (__new_sem_wait_slow): Update EINTR handling.
28326         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28328 2015-07-09  Martin Sebor  <msebor@redhat.com>
28330         [BZ #18435]
28331         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28332         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28333         * nptl/Makefile (test-xfail-tst-once5): Define.
28335 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28337         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28338         * elf/dl-minimal.c: For readability, reorder some definitions and
28339         introduce more page breaks.  Include <stdio.h>.
28340         (__libc_fatal): New function.
28342         * include/unistd.h: Add rtld_hidden_proto for _exit.
28343         * posix/_exit.c: Add rtld_hidden_def.
28344         * sysdeps/mach/hurd/_exit.c: Likewise.
28345         * sysdeps/nacl/_exit.c: Likewise.
28346         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28347         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28349 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28351         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28352         bndmov encoding with zero displacement.
28354 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28355             H.J. Lu  <hongjiu.lu@intel.com>
28357         [BZ #18134]
28358         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28359         * sysdeps/i386/configure: Regenerated.
28360         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28361         (_dl_runtime_profile): Save and restore Intel MPX return bound
28362         registers when calling _dl_call_pltexit.  Add
28363         PRESERVE_BND_REGS_PREFIX before return.
28364         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28365         (LRV_BND1_OFFSET): Likewise.
28366         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28367         lrv_bnd1.
28368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28369         typo in bndmov encoding.
28370         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28371         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28372         branch instructions to preserve bounds.
28374 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28377         [GLIBC_2.22]: Add fmemopen.
28379 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28381         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28382         returns an error, also try to use host port from __mach_host_self for
28383         the __vm_wire call.
28384         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28386 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28388         [BZ #18400]
28389         [BZ #18648]
28390         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28391         Fix pr_uid and pr_gid members.
28392         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28393         definition to elf_greg_t.
28395 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28397         [BZ #18383]
28398         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28399         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28400         * sysdeps/arm/configure: Regenerated.
28401         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28402         (test-xfail-tst-tlsalign-static): Variable removed.
28404         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28405         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28406         rather than explicit 'ln -s'.
28408         * resolv/rpc/netdb.h: New file.
28409         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28411 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28413         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28414         length buffers.
28415         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28416         test-skeleton.c.
28418         [BZ #6544]
28419         [BZ #11216]
28420         [BZ #12836]
28421         [BZ #13151]
28422         [BZ #13152]
28423         [BZ #14292]
28424         * include/stdio.h (fmemopen): Remove hidden prototype.
28425         (__fmemopen): Add new hidden prototype.
28426         * libio/Makefile: Add oldfmemopen object.
28427         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28428         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28429         compliance.
28430         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28431         symbol compatibility.
28432         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28433         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28434         fmemopen.
28435         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28436         on append and read mode.
28437         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28438         fmemopen.
28439         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28440         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28441         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28442         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28443         Likewise.
28444         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28445         [GLIBC_2.22]: Likewise.
28446         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28447         Likewise.
28448         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28449         Likewise.
28450         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28451         [GLIBC_2.22]: Likewise.
28452         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28453         [GLIBC_2.22]: Likewise.
28454         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28455         [GLIBC_2.22]: Likewise.
28456         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28457         [GLIBC_2.22]: Likewise.
28458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28459         [GLIBC_2.22]: Likewise.
28460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28461         [GLIBC_2.22]: Likewise.
28462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28463         [GLIBC_2.22]: Likewise.
28464         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28465         Likewise.
28466         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28467         Likewise.
28468         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28469         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28470         [GLIBC_2.22]: Likewise.
28471         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28472         [GLIBC_2.22]: Likewise.
28473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28474         [GLIBC_2.22]: Likewise.
28475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28476         [GLIBC_2.22]: Likewise.
28477         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28478         Likewise.
28479         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28480         Likewise.
28481         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28482         Likewise.
28483         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28484         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28486 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28488         [BZ #18643]
28489         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28490         IPV6_PATHMTU, and IPV6_DONTFRAG.
28492 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28494         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28495         and _IO_UNBUFFERED.
28496         * libio/oldfileops.c: Likewise.
28497         * libio/wfileops.c: Likewise.
28499 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28501         * nscd/selinux.c: Delete selinux/flask.h include.
28503 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28505         [BZ #18641]
28506         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28507         (putpwent): Likewise.
28508         (getpwnam): Likewise.
28509         (getpwent_r): Likewise.
28510         (getpwuid_r): Likewise.
28511         (getpwnam_r): Likewise.
28512         (fgetpwent_r): Likewise.
28514 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28516         [BZ #18557]
28517         * inet/rcmd.c (__validuser2_sa): Check user first to
28518         short-circuit host check.
28520 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28521             Mikhail Ilin  <m.ilin@samsung.com>
28523         [BZ #17833]
28524         * elf/Makefile (tests): Add tst-nodelete.
28525         (modules-names): Add tst-nodelete-uniquemod.
28526         (tst-nodelete-uniquemod.so-no-z-defs): New.
28527         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28528         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28529         ($(objpfx)tst-nodelete): Likewise.
28530         ($(objpfx)tst-nodelete.out): Likewise.
28531         (LDFLAGS-tst-nodelete): Likewise.
28532         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28533         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28534         implement forced object deletion.
28535         (_dl_close): Pass false to _dl_close_worker.
28536         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28537         * elf/tst-nodelete.cc: New file.
28538         * elf/tst-nodeletelib.cc: Likewise.
28539         * elf/tst-znodeletelib.cc: Likewise.
28540         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28542 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28544         [BZ #18508]
28545         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28546         Depend on $(libdl).
28547         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28548         is not called infinitely times.
28549         (backtrace_helper): New function.
28550         (trace_arg): New struct.
28551         (st1): Enlarge stack size.
28552         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28553         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28554         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28555         Likewise.
28557 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28559         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28561 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28563         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28564         Include sys/types.h instead of bits/types.h.
28565         Remove inclusion of bits/wordsize.h.
28567 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28569         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28570         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28571         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28572         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28573         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28574         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28576 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28578         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28579         link-defines.sym.
28580         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28581         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28582         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28583         and LR_SIZE.
28584         * sysdeps/i386/link-defines.sym: New file.
28586 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28588         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28589         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28590         ($(objpfx)tst-audit3): New rule.
28591         ($(objpfx)tst-audit3.out): Likewise.
28592         * sysdeps/i386/tst-audit3.c: New file.
28593         * sysdeps/i386/tst-audit3.h: Likewise.
28594         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28595         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28597 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28599         [BZ #18633]
28600         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28601         pointer in C code.
28602         (__strcat_c): Likewise.
28603         (__strcat_g): Likewise.
28605 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28607         [BZ #18592]
28608         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28610 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28612         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28613         New function.  (__ieee754_sqrtf): New function.
28614         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28615         New function.
28616         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28617         New function.
28619 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28621         * sysdeps/ieee754/support.c: Remove unused file.
28623 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28625         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28626         registers instead of d ones so the layout is kernel abi compatible.
28627         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28628         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28629         Likewise.
28631 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28633         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28635 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28637         [BZ #18619]
28638         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28639         and return argument in case of subnormal argument.
28641 2015-07-01  Martin Sebor  <msebor@redhat.com>
28643         [BZ #18435]
28644         * nptl/Makefile: Add tst-once5.cc.
28645         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28646         Remove macro redefinitions.
28647         * nptl/tst-once5.cc: New test.
28649 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28651         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28653         * sysdeps/arm/libm-test-ulps: Regenerated.
28655         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28656         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28658 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28660         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28661         lll_lock_wait_private and lll_futex_wake probes.
28663         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28664         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28665         Likewise.
28666         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28667         atomic_spin_nop.
28668         * sysdeps/x86_64/bits/atomic.h: Likewise.
28669         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28670         to atomic_spin_nop and move ...
28671         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28672         ... here and ...
28673         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28674         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28675         atomic_spin_nop instead of BUSY_WAIT_NOP.
28676         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28677         Likewise.
28678         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28679         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28680         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28681         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28682         instead of atomic_delay.
28684 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28686         [BZ #18613]
28687         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28688         X_ADJ not X when adjusting exponent.
28689         (__ieee754_gamma_r): Do intermediate computations in
28690         round-to-nearest then adjust overflowing and underflowing results
28691         as needed.
28692         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28693         of X_ADJ not X when adjusting exponent.
28694         (__ieee754_gammaf_r): Do intermediate computations in
28695         round-to-nearest then adjust overflowing and underflowing results
28696         as needed.
28697         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28698         log of X_ADJ not X when adjusting exponent.
28699         (__ieee754_gammal_r): Do intermediate computations in
28700         round-to-nearest then adjust overflowing and underflowing results
28701         as needed.  Use 1.0L not 1.0f as numerator of division.
28702         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28703         log of X_ADJ not X when adjusting exponent.
28704         (__ieee754_gammal_r): Do intermediate computations in
28705         round-to-nearest then adjust overflowing and underflowing results
28706         as needed.  Use 1.0L not 1.0f as numerator of division.
28707         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28708         of X_ADJ not X when adjusting exponent.
28709         (__ieee754_gammal_r): Do intermediate computations in
28710         round-to-nearest then adjust overflowing and underflowing results
28711         as needed.  Use 1.0L not 1.0f as numerator of division.
28712         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28713         to auto-libm-test-in.
28714         (tgamma_test): Use ALL_RM_TEST.
28715         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28716         tests of tgamma with spurious-overflow.
28717         * math/auto-libm-test-out: Regenerated.
28718         * math/gen-libm-have-vector-test.sh: Do not check for START.
28719         * sysdeps/i386/fpu/libm-test-ulps: Update.
28720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28722         [BZ #18612]
28723         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28724         arguments, just return 0.5 times the argument, with underflow
28725         forced as needed.
28726         * math/auto-libm-test-in: Add more tests of j1.
28727         * math/auto-libm-test-out: Regenerated.
28729         [BZ #16559]
28730         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28731         (__ieee754_j1): Force underflow exception for small results.
28732         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28733         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28734         (__ieee754_j1f): Force underflow exception for small results.
28735         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28736         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28738         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28739         (__ieee754_j1l): Force underflow exception for small results.
28740         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28741         * math/auto-libm-test-in: Add more tests of j1 and jn.
28742         * math/auto-libm-test-out: Regenerated.
28744         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28745         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28746         (PF_MPLS): Likewise.
28747         (AF_IB): Likewise.
28748         (AF_MPLS): Likewise.
28749         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28750         value and macro.
28751         (MS_RMT_MASK): Include MS_LAZYTIME.
28753 2015-06-26  Mel Gorman  <mgorman@suse.de>
28755         [BZ #18502]
28756         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28757         already minimal.
28759 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28761         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28762         (DT_MIPS_NUM): Update.
28763         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28764         DT_MIPS_RLD_MAP_REL.
28766 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28768         [BZ #16559]
28769         [BZ #18602]
28770         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28771         round-to-nearest internally then recompute results that
28772         underflowed to zero in the original rounding mode.
28773         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28774         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28775         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28776         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28777         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28778         * sysdeps/i386/fpu/libm-test-ulps: Update.
28779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28781 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28783         * NEWS: Fixed description of link with vector math library.
28785 2015-06-25  Andreas Schwab  <schwab@suse.de>
28787         [BZ #18549]
28788         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28789         * libio/test-fmemopen.c (do_test): Add test for it.
28791 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28793         [BZ #17841]
28794         * Makeconfig (no-pie-ldflag): New.
28795         (+link): Set to $(+link-pie) if default to PIE.
28796         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28797         * config.make.in (build-pie-default): New.
28798         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28799         is default.  AC_SUBST.
28800         * configure: Regenerated.
28801         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28803 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28805         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28806         to 'unsigned int'.
28808         * resolv/gai_misc.h (struct waitlist): Change type of field
28809         counterp to 'volatile unsigned int *'.
28810         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28811         FUTEXADDR and OLDVAL.
28812         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28813         Give local variable TOTAL type 'volatile unsigned int'.
28814         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28815         * resolv/gai_suspend.c (gai_suspend):
28816         Give local variable CNTR type 'unsigned int'.
28818         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28819         counterp to 'volatile unsigned int *'.
28820         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28821         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28822         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28823         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28824         Give local variable TOTAL type 'volatile unsigned int'.
28825         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28827 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28829         [BZ #18383]
28830         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28831         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28832         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28833         comment for i386/x86-64.
28834         (test-xfail-tst-tlsalign-extern-static): Removed.
28836 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28838         * math/test-double.h: New file.
28839         * math/test-float.h: Likewise.
28840         * math/test-ldouble.h: Likewise.
28841         * math/test-math-inline.h: Likewise.
28842         * math/test-math-no-inline.h: Likewise.
28843         * math/test-math-scalar.h: Likewise.
28844         * math/test-math-vector.h: Likewise.
28845         * math/test-vec-loop.h: Remove file.  Contents moved into
28846         test-math-vector.h.
28847         * math/libm-test.inc (MATHCONST): Do not document macro.
28848         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28849         and test-math-scalar.h.
28850         (FUNC): Remove macro.
28851         (FUNC_TEST): Likewise.
28852         (FLOAT): Likewise.
28853         (MATHCONST): Likewise.
28854         (PRINTF_EXPR): Likewise.
28855         (PRINTF_XEXPR): Likewise.
28856         (PRINTF_NEXPR): Likewise.
28857         (TEST_DOUBLE): Likewise.
28858         (TEST_MATHVEC): Likewise.
28859         (__NO_MATH_INLINES): Likewise.
28860         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28861         and test-math-scalar.h.
28862         (FUNC): Remove macro.
28863         (FUNC_TEST): Likewise.
28864         (FLOAT): Likewise.
28865         (MATHCONST): Likewise.
28866         (PRINTF_EXPR): Likewise.
28867         (PRINTF_XEXPR): Likewise.
28868         (PRINTF_NEXPR): Likewise.
28869         (TEST_FLOAT): Likewise.
28870         (TEST_MATHVEC): Likewise.
28871         (__NO_MATH_INLINES): Likewise.
28872         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28873         and test-math-scalar.h.
28874         (FUNC): Remove macro.
28875         (FUNC_TEST): Likewise.
28876         (FLOAT): Likewise.
28877         (MATHCONST): Likewise.
28878         (PRINTF_EXPR): Likewise.
28879         (PRINTF_XEXPR): Likewise.
28880         (PRINTF_NEXPR): Likewise.
28881         (TEST_DOUBLE): Likewise.
28882         (TEST_MATHVEC): Likewise.
28883         (TEST_INLINE): Likewise.
28884         (__NO_MATH_INLINES): Likewise.
28885         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28886         test-math-scalar.h.
28887         (FUNC): Remove macro.
28888         (FUNC_TEST): Likewise.
28889         (FLOAT): Likewise.
28890         (MATHCONST): Likewise.
28891         (PRINTF_EXPR): Likewise.
28892         (PRINTF_XEXPR): Likewise.
28893         (PRINTF_NEXPR): Likewise.
28894         (TEST_FLOAT): Likewise.
28895         (TEST_MATHVEC): Likewise.
28896         (TEST_INLINE): Likewise.
28897         (__NO_MATH_INLINES): Likewise.
28898         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28899         and test-math-scalar.h.
28900         (FUNC): Remove macro.
28901         (FUNC_TEST): Likewise.
28902         (FLOAT): Likewise.
28903         (MATHCONST): Likewise.
28904         (PRINTF_EXPR): Likewise.
28905         (PRINTF_XEXPR): Likewise.
28906         (PRINTF_NEXPR): Likewise.
28907         (TEST_LDOUBLE): Likewise.
28908         (TEST_MATHVEC): Likewise.
28909         (TEST_INLINE): Likewise.
28910         (__NO_MATH_INLINES): Likewise.
28911         * math/test-ldouble.c: Include test-ldouble.h,
28912         test-math-no-inline.h and test-math-scalar.h.
28913         (FUNC): Remove macro.
28914         (FUNC_TEST): Likewise.
28915         (FLOAT): Likewise.
28916         (MATHCONST): Likewise.
28917         (PRINTF_EXPR): Likewise.
28918         (PRINTF_XEXPR): Likewise.
28919         (PRINTF_NEXPR): Likewise.
28920         (TEST_LDOUBLE): Likewise.
28921         (TEST_MATHVEC): Likewise.
28922         (__NO_MATH_INLINES): Likewise.
28923         * math/test-double-vlen2.h: Include test-double.h,
28924         test-math-no-inline.h and test-math-vector.h.
28925         (FLOAT): Remove macro.
28926         (FUNC): Likewise.
28927         (MATHCONST): Likewise.
28928         (PRINTF_EXPR): Likewise.
28929         (PRINTF_XEXPR): Likewise.
28930         (PRINTF_NEXPR): Likewise.
28931         (TEST_DOUBLE): Likewise.
28932         (TEST_MATHVEC): Likewise.
28933         (__NO_MATH_INLINES): Likewise.
28934         (CNCT): Likewise.
28935         (CONCAT): Likewise.
28936         (WRAPPER_NAME): Likewise.
28937         (WRAPPER_DECL): Likewise.
28938         (WRAPPER_DECL_ff): Likewise.
28939         (WRAPPER_DECL_fFF): Likewise.
28940         (VECTOR_WRAPPER): Likewise.
28941         (VECTOR_WRAPPER_ff): Likewise.
28942         (VECTOR_WRAPPER_fFF): Likewise.
28943         (VEC_LEN): New macro.
28944         * math/test-double-vlen4.h: Include test-double.h,
28945         test-math-no-inline.h and test-math-vector.h.
28946         (FLOAT): Remove macro.
28947         (FUNC): Likewise.
28948         (MATHCONST): Likewise.
28949         (PRINTF_EXPR): Likewise.
28950         (PRINTF_XEXPR): Likewise.
28951         (PRINTF_NEXPR): Likewise.
28952         (TEST_DOUBLE): Likewise.
28953         (TEST_MATHVEC): Likewise.
28954         (__NO_MATH_INLINES): Likewise.
28955         (CNCT): Likewise.
28956         (CONCAT): Likewise.
28957         (WRAPPER_NAME): Likewise.
28958         (WRAPPER_DECL): Likewise.
28959         (WRAPPER_DECL_ff): Likewise.
28960         (WRAPPER_DECL_fFF): Likewise.
28961         (VECTOR_WRAPPER): Likewise.
28962         (VECTOR_WRAPPER_ff): Likewise.
28963         (VECTOR_WRAPPER_fFF): Likewise.
28964         (VEC_LEN): New macro.
28965         * math/test-double-vlen8.h: Include test-double.h,
28966         test-math-no-inline.h and test-math-vector.h.
28967         (FLOAT): Remove macro.
28968         (FUNC): Likewise.
28969         (MATHCONST): Likewise.
28970         (PRINTF_EXPR): Likewise.
28971         (PRINTF_XEXPR): Likewise.
28972         (PRINTF_NEXPR): Likewise.
28973         (TEST_DOUBLE): Likewise.
28974         (TEST_MATHVEC): Likewise.
28975         (__NO_MATH_INLINES): Likewise.
28976         (CNCT): Likewise.
28977         (CONCAT): Likewise.
28978         (WRAPPER_NAME): Likewise.
28979         (WRAPPER_DECL): Likewise.
28980         (WRAPPER_DECL_ff): Likewise.
28981         (WRAPPER_DECL_fFF): Likewise.
28982         (VECTOR_WRAPPER): Likewise.
28983         (VECTOR_WRAPPER_ff): Likewise.
28984         (VECTOR_WRAPPER_fFF): Likewise.
28985         (VEC_LEN): New macro.
28986         * math/test-float-vlen4.h: Include test-float.h,
28987         test-math-no-inline.h and test-math-vector.h.
28988         (FLOAT): Remove macro.
28989         (FUNC): Likewise.
28990         (MATHCONST): Likewise.
28991         (PRINTF_EXPR): Likewise.
28992         (PRINTF_XEXPR): Likewise.
28993         (PRINTF_NEXPR): Likewise.
28994         (TEST_FLOAT): Likewise.
28995         (TEST_MATHVEC): Likewise.
28996         (__NO_MATH_INLINES): Likewise.
28997         (CNCT): Likewise.
28998         (CONCAT): Likewise.
28999         (WRAPPER_NAME): Likewise.
29000         (WRAPPER_DECL): Likewise.
29001         (WRAPPER_DECL_ff): Likewise.
29002         (WRAPPER_DECL_fFF): Likewise.
29003         (VECTOR_WRAPPER): Likewise.
29004         (VECTOR_WRAPPER_ff): Likewise.
29005         (VECTOR_WRAPPER_fFF): Likewise.
29006         (VEC_LEN): New macro.
29007         * math/test-float-vlen8.h: Include test-float.h,
29008         test-math-no-inline.h and test-math-vector.h.
29009         (FLOAT): Remove macro.
29010         (FUNC): Likewise.
29011         (MATHCONST): Likewise.
29012         (PRINTF_EXPR): Likewise.
29013         (PRINTF_XEXPR): Likewise.
29014         (PRINTF_NEXPR): Likewise.
29015         (TEST_FLOAT): Likewise.
29016         (TEST_MATHVEC): Likewise.
29017         (__NO_MATH_INLINES): Likewise.
29018         (CNCT): Likewise.
29019         (CONCAT): Likewise.
29020         (WRAPPER_NAME): Likewise.
29021         (WRAPPER_DECL): Likewise.
29022         (WRAPPER_DECL_ff): Likewise.
29023         (WRAPPER_DECL_fFF): Likewise.
29024         (VECTOR_WRAPPER): Likewise.
29025         (VECTOR_WRAPPER_ff): Likewise.
29026         (VECTOR_WRAPPER_fFF): Likewise.
29027         (VEC_LEN): New macro.
29028         * math/test-float-vlen16.h: Include test-float.h,
29029         test-math-no-inline.h and test-math-vector.h.
29030         (FLOAT): Remove macro.
29031         (FUNC): Likewise.
29032         (MATHCONST): Likewise.
29033         (PRINTF_EXPR): Likewise.
29034         (PRINTF_XEXPR): Likewise.
29035         (PRINTF_NEXPR): Likewise.
29036         (TEST_FLOAT): Likewise.
29037         (TEST_MATHVEC): Likewise.
29038         (__NO_MATH_INLINES): Likewise.
29039         (CNCT): Likewise.
29040         (CONCAT): Likewise.
29041         (WRAPPER_NAME): Likewise.
29042         (WRAPPER_DECL): Likewise.
29043         (WRAPPER_DECL_ff): Likewise.
29044         (WRAPPER_DECL_fFF): Likewise.
29045         (VECTOR_WRAPPER): Likewise.
29046         (VECTOR_WRAPPER_ff): Likewise.
29047         (VECTOR_WRAPPER_fFF): Likewise.
29048         (VEC_LEN): New macro.
29049         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29050         test-vec-loop.h.
29051         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29052         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29053         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29054         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29055         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29056         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29057         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29059 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29061         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29062         (__getlogin_r): ... this.
29064 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29066         [BZ #18594]
29067         * math/s_ccosh.c (__ccosh): Compare with least normal value
29068         instead of comparing class with FP_SUBNORMAL.
29069         * math/s_ccoshf.c (__ccoshf): Likewise.
29070         * math/s_ccoshl.c (__ccoshl): Likewise.
29071         * math/s_cexp.c (__cexp): Likewise.
29072         * math/s_cexpf.c (__cexpf): Likewise.
29073         * math/s_cexpl.c (__cexpl): Likewise.
29074         * math/s_csin.c (__csin): Likewise.
29075         * math/s_csinf.c (__csinf): Likewise.
29076         * math/s_csinh.c (__csinh): Likewise.
29077         * math/s_csinhf.c (__csinhf): Likewise.
29078         * math/s_csinhl.c (__csinhl): Likewise.
29079         * math/s_csinl.c (__csinl): Likewise.
29080         * math/s_ctan.c (__ctan): Likewise.
29081         * math/s_ctanf.c (__ctanf): Likewise.
29082         * math/s_ctanh.c (__ctanh): Likewise.
29083         * math/s_ctanhf.c (__ctanhf): Likewise.
29084         * math/s_ctanhl.c (__ctanhl): Likewise.
29085         * math/s_ctanl.c (__ctanl): Likewise.
29086         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29087         csin, csinh, ctan and ctanh.
29088         * math/auto-libm-test-out: Regenerated.
29089         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29090         * sysdeps/i386/fpu/libm-test-ulps: Update.
29091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29093 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29095         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29096         return value is wrong, print the expected value too.
29098 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29100         [BZ #18585]
29101         * elf/readlib.c (is_gdb_python_file): New.
29102         (process_file): Don't issue errors on filenames with -gdb.py
29103         suffix.
29105 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29107         * math/auto-libm-test-in: Add more tests of csin and csinh.
29108         * math/auto-libm-test-out: Regenerated.
29109         * math/libm-test.inc (csin_test_data): Remove tests moved to
29110         auto-libm-test-in.
29111         (csinh_test_data): Likewise.
29113         [BZ #18593]
29114         * math/s_csin.c (__csin): Negate before rather than after possibly
29115         overflowing multiplication.
29116         * math/s_csinf.c (__csinf): Likewise.
29117         * math/s_csinh.c (__csinh): Likewise.
29118         * math/s_csinhf.c (__csinhf): Likewise.
29119         * math/s_csinhl.c (__csinhl): Likewise.
29120         * math/s_csinl.c (__csinl): Likewise.
29121         * math/auto-libm-test-in: Add some tests of csin and csinh.
29122         * math/auto-libm-test-out: Regenerated.
29123         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29124         (csinh_test_data): Likewise.
29125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29127         [BZ #18586]
29128         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29129         underflow exception for small results.
29131 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29133         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29135         variable and included header.
29136         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29137         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29138         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29139         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29140         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29143         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29144         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29145         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29146         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29147         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29148         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29149         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29150         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29151         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29153 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29155         [BZ #16526]
29156         [BZ #16538]
29157         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29158         (__sin): Force underflow exception for arguments with small
29159         absolute value.
29160         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29161         (__kernel_sinf): Force underflow exception for arguments with
29162         small absolute value.
29163         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29164         (__kernel_sincosl): Force underflow exception for arguments with
29165         small absolute value.
29166         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29167         (__kernel_sinl): Force underflow exception for arguments with
29168         small absolute value.
29169         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29170         (__kernel_sincosl): Force underflow exception for arguments with
29171         small absolute value.
29172         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29173         (__kernel_sinl): Force underflow exception for arguments with
29174         small absolute value.
29175         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29176         (__kernel_sinl): Force underflow exception for arguments with
29177         small absolute value.
29178         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29179         (__kernel_sinf): Force underflow exception for arguments with
29180         small absolute value.
29181         * math/auto-libm-test-in: Add more tests of sin and sincos.
29182         * math/auto-libm-test-out: Regenerated.
29184         [BZ #18245]
29185         [BZ #18583]
29186         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29187         (__kernel_standard_l): Use feholdexcept and fesetenv around
29188         conversion to double instead of special-casing overflow and
29189         underflow.
29190         * math/libm-test.inc (fmod_test_data): Add more tests.
29191         (remainder_test_data): Likewise.
29192         (sqrt_test_data): Likewise.
29194 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29196         [BZ #17403]
29197         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29198         atomic_read_barrier, atomic_write_barrier): Define.
29199         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29200         atomic_read_barrier, atomic_write_barrier): Define.
29202 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29204         * math/Makefile [$(PERL) != no]
29205         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29206         dependency on libm-test.stmp below the inclusion of Rules.
29208 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29210         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29211         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29212         and included header.
29213         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29214         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29216         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29218         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29219         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29220         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29221         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29222         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29223         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29224         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29225         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29226         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29227         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29228         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29229         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29230         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29231         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29233 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29235         [BZ #18371]
29236         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29237         intermediate but not final result might underflow.
29238         * math/s_csqrtf.c (__csqrtf): Likewise.
29239         * math/s_csqrtl.c (__csqrtl): Likewise.
29240         * math/auto-libm-test-in: Add more tests of csqrt.
29241         * math/auto-libm-test-out: Regenerated.
29242         * sysdeps/i386/fpu/libm-test-ulps: Update.
29244         [BZ #18219]
29245         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29246         threshold on absolute value of exponent for which scaling is used.
29247         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29248         * math/auto-libm-test-in: Add more tests of exp2.
29249         * math/auto-libm-test-out: Regenerated.
29251 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29253         [BZ #17977]
29254         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29255         when initializing interface list, based on the bug analysis
29256         and the patch proposed by Eric Newton.
29257         * resolv/tst-res_hconf_reorder.c: New test.
29258         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29259         tst-res_hconf_reorder.
29260         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29261         and $(shared-thread-library).
29262         (tst-res_hconf_reorder-ENV): New variable.
29264         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29265         in comment.
29267 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29269         [BZ #16353]
29270         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29271         (__expm1): Force underflow exception for arguments with small
29272         absolute value.
29273         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29274         (__expm1f): Force underflow exception for arguments with small
29275         absolute value.
29276         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29277         (__expm1): Force underflow exception for arguments with small
29278         absolute value.
29279         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29280         (__expm1f): Force underflow exception for arguments with small
29281         absolute value.
29282         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29283         Check for small arguments before calling __expm1.
29284         * math/auto-libm-test-in: Do not mark underflow exceptions as
29285         possibly missing for bug 16353.
29286         * math/auto-libm-test-out: Regenerated.
29288 2015-06-22  Andreas Schwab  <schwab@suse.de>
29290         [BZ #18513]
29291         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29292         PTR queries.
29294 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29296         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29298         * string/strcoll_l.c: Remove unused struct element idxnow.
29300 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29302         [BZ #18569]
29303         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29304         underflow and return argument in case of subnormal argument.
29305         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29306         Likewise.
29307         * math/auto-libm-test-in: Add more tests of expm1.
29308         * math/auto-libm-test-out: Regenerated.
29310         [BZ #16361]
29311         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29312         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29313         tiny results.
29314         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29315         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29316         tiny results.
29317         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29318         mark underflow exceptions as possibly missing for bug 16361.
29319         * math/auto-libm-test-out: Regenerated.
29321 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29323         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29324         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29325         Remove variable.
29326         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29327         (test-xfail-XOPEN2K8/utmpx.h/conform).
29329         * conform/conformtest.pl ($xerrors): New variable.
29330         (note_error): New function.
29331         (compiletest): New argument $xfail.  Use not_error.
29332         (runtest): Likewise.
29333         (top level): Handle xfail- lines.  Update calls to compiletest and
29334         runtest.  Handle xfail- and optional- in headers listed with
29335         allow-header.
29336         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29337         (O_EXEC): Likewise.
29338         (O_SEARCH): Likewise.
29339         * conform/data/stropts.h-data (ioctl): Likewise.
29340         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29341         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29342         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29343         (msghdr.msg_controllen): Likewise.
29344         (cmsghdr.cmsg_len): Likewise.
29345         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29346         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29347         variable.
29348         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29349         (test-xfail-XPG4/stropts.h/conform): Likewise.
29350         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29351         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29352         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29353         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29354         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29355         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29356         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29357         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29358         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29359         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29360         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29361         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29362         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29363         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29364         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29365         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29366         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29367         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29368         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29370 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29372         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29373         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29374         definitions for proper unfolding of __MATHDECL_VEC.
29376 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29378         * benchtests/bench-strcoll.c:
29379         Include string.h.
29380         (main): Remove unused variable res.
29382 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29384         * timezone/Makefile (%/UTC %/Universal):
29385         Generate test-result files for UTC and Universal.
29387 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29389         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29391 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29393         [BZ #16350]
29394         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29395         for arguments with small absolute value.
29396         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29397         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29398         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29399         (__asinh): Force underflow exception for arguments with small
29400         absolute value.
29401         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29402         (__asinhf): Force underflow exception for arguments with small
29403         absolute value.
29404         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29405         (__asinhl): Force underflow exception for arguments with small
29406         absolute value.
29407         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29408         (__asinhl): Force underflow exception for arguments with small
29409         absolute value.
29410         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29411         (__asinhl): Force underflow exception for arguments with small
29412         absolute value.
29413         * math/auto-libm-test-in: Do not mark underflow exceptions as
29414         possibly missing for bug 16350.
29415         * math/auto-libm-test-out: Regenerated.
29417         * include/bits/ipc.h: Remove file.
29418         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29419         variable.
29420         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29421         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29422         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29423         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29424         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29425         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29426         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29427         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29428         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29430         * math/auto-libm-test-in: Remove spurious underflow allowance for
29431         tests of cexp.
29432         * math/auto-libm-test-out: Regenerated.
29434         [BZ #18558]
29435         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29436         unconditional definition.
29437         (MCAST_BLOCK_SOURCE): Likewise.
29438         (MCAST_UNBLOCK_SOURCE): Likewise.
29439         (MCAST_LEAVE_GROUP): Likewise.
29440         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29441         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29442         (MCAST_MSFILTER): Likewise.
29443         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29444         Remove variable.
29445         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29446         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29447         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29448         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29449         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29451 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29453         * NEWS: Mention addition of x86_64 vector sincosf.
29454         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29455         * math/test-float-vlen4.h: Likewise.
29456         * math/test-float-vlen8.h: Likewise.
29457         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29458         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29459         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29460         * sysdeps/x86_64/fpu/Versions: New versions added.
29461         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29462         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29463         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29464         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29465         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29466         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29470         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29471         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29472         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29473         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29474         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29475         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29476         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29477         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29478         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29479         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29480         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29481         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29482         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29483         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29484         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29486         * NEWS: Mention addition of x86_64 vector sincos.
29487         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29488         * math/math.h (__MATHDECL_VEC): New macro.
29489         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29490         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29491         declaration under condition.
29492         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29493         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29494         TEST_VEC_LOOP change.
29495         * math/test-double-vlen4.h: Likewise.
29496         * math/test-double-vlen8.h: Likewise.
29497         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29498         * math/test-float-vlen4.h: Likewise.
29499         * math/test-float-vlen8.h: Likewise.
29500         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29501         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29502         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29503         * sysdeps/x86_64/fpu/Versions: New versions added.
29504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29505         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29506         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29507         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29508         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29509         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29510         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29511         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29512         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29513         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29514         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29515         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29516         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29517         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29518         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29519         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29520         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29521         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29522         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29523         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29524         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29525         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29526         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29527         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29529         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29530         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29531         redirections for powf.
29532         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29533         * sysdeps/x86_64/fpu/Versions: New versions added.
29534         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29535         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29536         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29537         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29538         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29539         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29540         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29541         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29543         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29544         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29545         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29546         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29547         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29548         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29549         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29550         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29551         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29552         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29553         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29554         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29555         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29556         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29557         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29558         * math/test-float-vlen16.h: Fixed 2 argument macro.
29559         * math/test-float-vlen4.h: Likewise.
29560         * math/test-float-vlen8.h: Likewise.
29561         * NEWS: Mention addition of x86_64 vector powf.
29563 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29565         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29566         and redefine.
29567         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29568         and redefine.
29569         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29570         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29571         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29573         [BZ #18553]
29574         * resource/getpriority.c (getpriority): Rename to __getpriority
29575         and define as weak alias of __getpriority.
29576         * resource/setpriority.c (setpriority): Rename to __setpriority
29577         and define as weak alias of __setpriority.
29578         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29579         __getpriority and define as weak alias of __getpriority.
29580         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29581         __setpriority and define as weak alias of __setpriority.
29582         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29583         strong name.
29584         (setpriority): Use __setpriority as strong name.
29585         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29586         __getpriority and define as weak alias of __getpriority.
29587         * include/sys/resource.h (__getpriority): Declare.  Use
29588         libc_hidden_proto.
29589         (__setpriority): Likewise.
29590         (getpriority): Don't use libc_hidden_proto.
29591         (setpriority): Likewise.
29592         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29593         getpriority.  Call __setpriority instead of setpriority.
29594         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29595         Remove variable.
29597         [BZ #18547]
29598         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29599         as weak alias of __getttynam.  Use prototype function definition.
29600         Call __setttyent, __getttyent and __endttyent instead of
29601         setttyent, getttyent and endttyent.
29602         (getttyent): Rename to __getttyent and define as weak alias of
29603         __getttyent.  Call __setttyent instead of setttyent.  Call
29604         __fgets_unlocked instead of fgets_unlocked.
29605         (setttyent): Rename to __setttyent and define as weak alias of
29606         __setttyent.
29607         (endttyent): Rename to __endttyent and define as weak alias of
29608         __endttyent.
29609         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29610         (__setttyent): Likewise.
29611         (__endttyent): Likewise.
29612         (getttyent): Don't use libc_hidden_proto.
29613         (setttyent): Likewise.
29614         (endttyent): Likewise.
29615         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29616         __endttyent instead of setttyent, getttyent and endttyent.
29617         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29618         Remove variable.
29620         [BZ #18546]
29621         * socket/recv.c (__recv): Use libc_hidden_def.
29622         * socket/socket.c (__socket): Likewise.
29623         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29624         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29625         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29626         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29627         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29628         libc_hidden_def.
29629         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29630         libc_hidden_weak.
29631         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29632         Use libc_hidden_proto.
29633         (__recv): Likewise.
29634         * socket/Versions (libc): Export __recv and __socket at version
29635         GLIBC_PRIVATE.
29636         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29637         instead of recv.
29638         (init_mq_netlink): Call __socket instead of socket.
29639         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29640         Remove variable.
29642         [BZ #18545]
29643         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29644         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29645         hidden_weak.
29646         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29647         define as alias of __mq_timedsend.  Use hidden_weak.
29648         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29649         __mq_timedsend as strong name.
29650         (mq_timedreceive): Use __mq_timedreceive as strong name.
29651         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29652         (__mq_timedreceive): Likewise.
29653         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29654         __mq_timedreceive instead of mq_timedreceive.
29655         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29656         instead of mq_timedsend.
29657         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29658         Remove variable.
29660         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29661         hidden_def and hidden_weak instead of libc_hidden_def and
29662         libc_hidden_weak.
29663         (top level): Refer to hidden_def in comment.
29664         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29665         macro.  Use it instead of libc_hidden_def.
29666         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29667         specify __GI_* name explicitly.
29668         (mq_timedreceive): Likewise.
29669         (mq_setattr): Likewise.
29671         [BZ #18544]
29672         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29673         __pthread_barrier_init and define as weak alias of
29674         __pthread_barrier_init.
29675         * sysdeps/sparc/nptl/pthread_barrier_init.c
29676         (pthread_barrier_init): Likewise.
29677         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29678         __pthread_barrier_wait and define as weak alias of
29679         __pthread_barrier_wait.
29680         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29681         (pthread_barrier_wait): Likewise.
29682         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29683         (pthread_barrier_wait): Likewise.
29684         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29685         (pthread_barrier_wait): Likewise.
29686         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29687         (pthread_barrier_wait): Likewise.
29688         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29689         __pthread_barrier_wait at version GLIBC_PRIVATE.
29690         * include/pthread.h (__pthread_barrier_init): Declare.
29691         (__pthread_barrier_wait): Likewise.
29692         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29693         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29694         (helper_thread): Likewise.
29695         (init_mq_netlink): Call __pthread_barrier_init instead of
29696         pthread_barrier_init.
29698         [BZ #18542]
29699         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29700         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29701         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29702         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29703         vswscanf.
29704         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29705         Remove variable.
29707         [BZ #18540]
29708         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29709         strong alias of _IO_fflush.  Use libc_hidden_def.
29710         * libio/iofflush_u.c (fflush_unlocked): Rename to
29711         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29712         Use libc_hidden_weak.
29713         * include/stdio.h (__fflush_unlocked): Declare.  Use
29714         libc_hidden_proto.
29715         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29716         fflush_unlocked.
29717         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29718         Remove variable.
29720         [BZ #18539]
29721         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29722         define as weak alias of __addseverity.
29723         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29724         Remove variable.
29725         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29726         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29727         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29729         [BZ #18536]
29730         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29731         (__tfind): Likewise.
29732         (__tdelete): Likewise.
29733         (__twalk): Likewise.
29734         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29735         __twalk to GLIBC_PRIVATE.
29736         * include/search.h (__tsearch): Use libc_hidden_proto.
29737         (__tfind): Likewise.
29738         (__tdelete): Likewise.
29739         (__twalk): Likewise.
29740         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29741         Call __tdelete instead of tdelete.
29742         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29743         tfind.  Call __tsearch instead of tsearch.
29744         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29745         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29746         Remove variable.
29747         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29749         [BZ #18534]
29750         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29751         (dprintf): Define as a weak alias of __dprintf, not a strong
29752         alias.
29753         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29754         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29755         dprintf.
29756         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29757         Remove variable.
29758         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29759         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29761         [BZ #18533]
29762         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29763         not a strong alias.
29764         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29765         Remove variable.
29767         [BZ #18532]
29768         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29769         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29770         (in6addr_loopback): Rename to __in6addr_loopback and define as
29771         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29772         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29773         libc_hidden_proto.
29774         (__in6addr_any): Likewise.
29775         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29776         in6addr_any.
29777         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29778         variable.
29779         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29781 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29783         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29784         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29785         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29786         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29787         redirections for pow.
29788         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29789         * sysdeps/x86_64/fpu/Versions: New versions added.
29790         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29791         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29792         build of SSE, AVX2 and AVX512 IFUNC versions.
29793         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29794         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29795         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29796         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29797         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29798         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29800         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29801         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29802         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29803         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29804         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29805         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29806         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29807         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29808         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29809         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29810         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29811         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29812         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29813         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29814         * NEWS: Mention addition of x86_64 vector pow.
29816         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29817         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29818         redirections for expf.
29819         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29820         * sysdeps/x86_64/fpu/Versions: New versions added.
29821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29822         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29823         build of SSE, AVX2 and AVX512 IFUNC versions.
29824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29825         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29826         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29827         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29828         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29830         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29831         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29832         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29833         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29834         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29835         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29836         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29837         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29838         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29839         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29840         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29841         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29842         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29843         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29844         * NEWS: Mention addition of x86_64 vector expf.
29846         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29847         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29848         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29849         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29850         redirections for exp.
29851         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29852         * sysdeps/x86_64/fpu/Versions: New versions added.
29853         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29854         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29855         build of SSE, AVX2 and AVX512 IFUNC versions.
29856         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29857         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29858         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29859         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29860         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29861         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29862         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29863         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29864         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29865         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29866         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29867         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29868         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29869         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29870         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29871         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29872         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29873         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29874         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29875         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29876         * NEWS: Mention addition of x86_64 vector exp.
29878         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29879         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29880         redirections for logf.
29881         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29882         * sysdeps/x86_64/fpu/Versions: New versions added.
29883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29884         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29885         build of SSE, AVX2 and AVX512 IFUNC versions.
29886         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29887         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29888         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29889         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29890         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29891         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29892         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29893         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29894         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29895         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29896         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29897         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29898         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29899         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29900         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29901         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29902         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29903         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29904         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29905         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29906         * NEWS: Mention addition of x86_64 vector logf.
29908         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29909         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29910         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29911         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29912         redirections for log.
29913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29914         * sysdeps/x86_64/fpu/Versions: New versions added.
29915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29916         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29917         build of SSE, AVX2 and AVX512 IFUNC versions.
29918         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29919         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29920         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29921         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29922         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29923         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29924         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29925         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29926         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29927         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29928         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29929         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29930         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29931         test.
29932         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29933         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29935         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29936         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29937         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29938         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29939         * NEWS: Mention addition of x86_64 vector log.
29941 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29943         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29944         cfi_adjust_cfa_offset argument.
29945         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29946         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29948         [BZ #18034]
29949         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29950         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29951         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29952         ordering using ldar.
29953         (_dl_tlsdesc_dynamic): Likewise.
29954         (_dl_tlsdesc_return_lazy): Likewise.
29955         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29956         relaxed atomics instead of volatile and synchronize with release store.
29957         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29958         volatile.
29959         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29961 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29963         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29964         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29965         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29966         * sysdeps/x86_64/fpu/Versions: New versions added.
29967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29968         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29969         build of SSE, AVX2 and AVX512 IFUNC versions.
29970         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29971         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29973         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29975         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29976         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29977         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29978         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29979         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29980         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29981         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29982         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29983         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29984         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29985         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29986         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29987         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29988         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29989         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29990         * NEWS: Mention addition of x86_64 vector sinf.
29992 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29994         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29995         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29996         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29997         Remove variable.
29998         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29999         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30001 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30003         [BZ #18530]
30004         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30005         strong alias of _IO_fputs.  Use libc_hidden_def.
30006         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30007         and define as weak alias of __fputs_unlocked.  Use
30008         libc_hidden_weak.
30009         * include/stdio.h (__fputs_unlocked): Declare.  Use
30010         libc_hidden_proto.
30011         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30012         fputs_unlocked.
30014         [BZ #18529]
30015         * resolv/netdb.h [__USE_POSIX]: Change condition to
30016         [__USE_XOPEN2K].
30017         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30018         not expect.
30019         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30020         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30021         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30022         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30023         [XPG4 || UNIX98] (AI_ALL): Likewise.
30024         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30025         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30026         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30027         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30028         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30029         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30030         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30031         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30032         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30033         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30034         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30035         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30036         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30037         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30038         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30039         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30040         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30041         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30042         [XPG4 || UNIX98] (gai_strerror): Likewise.
30043         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30044         [XPG4 || UNIX98] (getnameinfo): Likewise.
30046         [BZ #18528]
30047         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30048         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30049         __USE_XOPEN2K8].
30050         (getgrent): Likewise.
30051         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30052         expect.
30053         [XPG3 || POSIX2008] (endgrent): Likewise.
30054         [XPG3] (setgrent): Likewise.
30055         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30056         variable.
30057         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30059         [BZ #18527]
30060         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30061         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30062         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30063         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30064         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30065         * include/unistd.h (__getlogin_r): Declare.  Use
30066         libc_hidden_proto.
30067         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30068         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30069         variable.
30070         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30071         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30072         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30074 2015-06-12  Martin Sebor  <msebor@redhat.com>
30076         [BZ #18512]
30077         * Makerules (check-install-supported): New target.
30078         (install): Add check-install-supported as a dependency.
30079         * manual/install.texi (Installing the C Library): Document
30080         that overriding prefix and exec_prefix is not supported.
30081         Mention DESTDIR.
30082         * INSTALL: Regenerate from the above.
30084 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30086         [BZ #18519]
30087         * posix/Versions (libc): Export __libc_pread at version
30088         GLIBC_PRIVATE.
30089         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30090         instead of pread.
30091         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30092         variable.
30094         [BZ #18522]
30095         * misc/efgcvt_r.c
30096         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30097         (cvt_symbol): Use weak_alias instead of strong_alias.
30098         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30099         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30100         Remove variable.
30101         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30102         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30104         [BZ #18520]
30105         * inet/herrno.c (h_errno): Rename to __h_errno.
30106         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30107         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30108         to __h_errno instead of h_errno.
30109         * nptl/herrno.c (h_errno): Rename to __h_errno.
30110         (__h_errno_location): Refer to __h_errno not h_errno.
30111         * resolv/Versions (h_errno): Rename to __h_errno.
30112         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30113         Remove variable.
30114         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30116 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30118         * configure.ac: More strict check for AVX512 assembler support.
30119         * configure: Regenerated.
30121         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30122         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30124         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30126         * sysdeps/x86_64/fpu/Versions: New versions added.
30127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30129         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30130         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30131         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30132         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30133         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30135         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30136         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30137         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30138         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30139         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30140         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30141         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30142         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30143         test.
30144         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30145         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30146         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30147         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30148         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30149         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30150         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30151         * NEWS: Mention addition of x86_64 vector sin.
30153 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30155         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30156         comment.
30158 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30160         [BZ #18479]
30161         * nptl/pt-interp.c: New file.
30162         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30163         Add pt-interp.
30164         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30165         $(common-objpfx)runtime-linker.h.
30167 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30169         * Makeconfig (+interp): Remove unused variable.
30170         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30171         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30172         $(elf-objpfx)runtime-linker.h.
30173         ($(elf-objpfx)runtime-linker.h): Rename to
30174         $(common-objpfx)runtime-linker.h and move ...
30175         * Makerules [$(build-shared) = yes]: ... here.
30176         * elf/interp.c: Include <runtime-linker.h> instead of
30177         <elf/runtime-linker.h>.
30179 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30181         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30182         (__gettimeofday_syscall): Remove vsyscall fallback.
30183         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30184         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30185         Add syscall fallback function.
30186         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30187         if vDSO is not present.
30188         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30189         fallback function.
30190         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30191         present.
30192         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30193         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30195 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30197         [BZ #18497]
30198         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30199         of wcscmp.
30200         (wcscmp): Define as weak alias of WCSCMP.
30201         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30202         wcscoll.
30203         (USE_HIDDEN_DEF): Define.
30204         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30205         __wcscoll.  Don't use libc_hidden_weak.
30206         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30207         wcscmp.
30208         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30209         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30210         __GI_wcscmp.
30211         (weak_alias): Undefine and redefine.
30212         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30213         __wcscmp and define as weak alias of __wcscmp.
30214         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30215         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30216         (__wcscoll): Likewise.
30217         (wcscmp): Don't use libc_hidden_proto.
30218         (wcscoll): Likewise.
30219         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30220         wcscoll.
30221         * posix/regexec.c (check_node_accept_bytes): Likewise.
30222         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30223         variable.
30224         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30225         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30227         [BZ #18507]
30228         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30229         __fstatvfs and define as weak alias of __fstatvfs.  Use
30230         libc_hidden_weak.
30231         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30232         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30233         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30234         Define as alias of __fstatvfs, not fstatvfs.
30235         (fstatvfs64): Likewise.
30236         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30237         Define as alias of __statvfs, not statvfs.
30238         (statvfs64): Likewise.
30239         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30240         Remove variable.
30242 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30245         (HAVE_GETCPU_VSYSCALL): Define.
30246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30247         (HAVE_GETCPU_VSYSCALL): Likewise.
30248         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30249         * sysdeps/unix/sysv/linux/sched_getcpu.c
30250         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30251         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30252         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30253         prototype.
30254         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30255         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30256         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30258         Define.
30259         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30260         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30261         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30262         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30264 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30266         * sysdeps/x86_64/fpu/Makefile: New file.
30267         * sysdeps/x86_64/fpu/Versions: New file.
30268         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30269         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30270         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30271         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30272         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30273         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30274         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30275         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30276         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30278         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30279         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30280         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30281         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30282         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30283         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30284         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30285         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30286         * sysdeps/x86_64/configure: Regenerated.
30287         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30288         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30289         * manual/install.texi (Configuring and compiling): Document
30290         --disable-mathvec.
30291         * INSTALL: Regenerated.
30292         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30294         * math/Makefile: Added rules for vector tests.
30295         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30296         declaration under condition.
30297         * math/test-double-vlen2.h: New file.
30298         * math/test-double-vlen4.h: New file.
30299         * math/test-double-vlen8.h: New file.
30300         * math/test-vec-loop.h: Added initialization macro.
30301         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30302         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30303         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30304         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30305         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30306         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30307         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30308         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30309         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30310         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30311         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30313         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30314         * sysdeps/x86_64/fpu/Versions: New versions added.
30315         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30316         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30317         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30318         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30319         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30320         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30321         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30322         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30323         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30324         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30325         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30326         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30327         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30329         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30332         * NEWS: Mention addition of x86_64 vector cosf.
30334         * math/Makefile: Added CFLAGS for new tests.
30335         * math/test-float-vlen16.h: New file.
30336         * math/test-float-vlen4.h: New file.
30337         * math/test-float-vlen8.h: New file.
30338         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30339         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30340         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30341         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30342         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30343         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30344         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30345         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30346         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30347         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30348         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30350 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30352         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30353         * locale/programs/ld-ctype.c: Likewise.
30355 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30357         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30358         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30359         bit_ZMM16_31_state): New macro.
30360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30361         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30363 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30365         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30367 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30369         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30371 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30373         [BZ #18498]
30374         * libio/memstream.c (open_memstream): Rename to __open_memstream
30375         and define as weak alias of __open_memstream.
30376         * include/stdio.h (__open_memstream): Declare.  Use
30377         libc_hidden_proto.
30378         (open_memstream): Don't use libc_hidden_proto.
30379         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30380         open_memstream.
30381         * posix/getopt.c (_getopt_internal_r): Likewise.
30382         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30383         variable.
30384         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30385         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30386         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30388         [BZ #18496]
30389         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30390         instead of wcrtomb.
30392         [BZ #18483]
30393         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30394         [__USE_XOPEN2K8].  Remove redundant #endif.
30395         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30396         Remove redundant #if.
30397         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30398         Remove variable.
30399         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30400         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30402         [BZ #18495]
30403         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30404         (__iswlower): Likewise.
30405         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30406         (__iswlower): Likewise.
30407         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30408         instead of towlower.
30409         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30410         instead of iswlower.  Call __towupper instead of towupper.
30411         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30412         instead of iswalnum.
30414 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30416         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30417         errors to stderr.
30419 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30421         [BZ #15661]
30422         [BZ #17322]
30423         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30424         Check for overflow properly.  Check for O_APPEND.  Ignore large
30425         file system block sizes.  Add comments about problems.
30426         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30427         * manual/filesys.texi (Storage Allocation): New node.
30429 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30431         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30432         cancellable syscalls.
30433         (SYS_ify): Add guard to no redefine it.
30434         (INLINE_SYSCALL): Likewise.
30435         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30436         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30437         SYSCALL_CANCEL instead.
30438         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30439         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30440         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30441         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30442         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30443         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30444         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30445         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30446         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30447         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30448         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30449         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30450         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30451         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30452         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30453         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30454         Likewise.
30455         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30456         (__libc_pread64): Likewise.
30457         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30458         (__libc_preadv): Likewise.
30459         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30460         (__libc_readv64): Likewise.
30461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30462         (__libc_pwrite): Likewise.
30463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30464         (__libc_pwrite64): Likewise.
30465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30466         (__libc_pwritev): Likewise.
30467         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30468         (__libc_pwritev64): Likewise.
30469         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30470         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30471         (sync_file_range): Likewise.
30472         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30473         Likewise.
30474         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30475         Likewise.
30476         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30477         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30478         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30479         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30480         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30481         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30482         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30483         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30485         Likewise.
30486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30487         (__libc_read64): Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30489         Likewise.
30490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30491         Likewise.
30492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30493         Likewise.
30494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30495         Likewise.
30496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30497         (__libc_pread64): Likewise.
30498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30499         Likewise.
30500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30501         (__libc_pwrite64): Likewise.
30502         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30503         (sync_file_range): Likewise.
30504         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30505         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30506         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30507         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30508         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30509         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30510         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30511         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30512         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30513         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30514         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30515         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30516         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30517         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30518         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30519         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30520         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30521         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30522         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30523         Likewise.
30524         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30525         Likewise.
30526         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30527         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30528         Likewise.
30529         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30530         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30531         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30532         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30533         Likewise.
30534         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30535         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30536         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30537         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30538         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30540 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30542         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30543         Include dl-vdso.
30544         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30545         Use VDSO routines for gettimeofday, clock_gettime if
30546         available.
30547         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30548         Declare VDSO symbols.
30549         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30550         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30551         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30552         * sysdeps/unix/sysv/linux/arm/Versions: Add
30553         __vdso_clock_gettime.
30555 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30557         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30558         be an inline implementation regardless of library is built within.
30559         (open_not_cancel_2): Likewise.
30560         (__read_nocancel): Likewise.
30561         (__write_nocancel): Likewise.
30562         (openat_not_cancel): Likewise.
30563         (openat_not_cancel_3): Likewise.
30564         (openat64_not_cancel): Likewise.
30565         (openat64_not_cancel_3): Likewise.
30566         (__close_nocancel): Likewise.
30567         (pause_not_cancel): Likewise.
30568         (nanosleep_not_cancel): Likewise.
30569         (sigsuspend_not_cancel): Likewise.
30571 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30573         [BZ #14958]
30574         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30575         wake-up.
30576         (__pthread_rwlock_rdlock_slow): Likewise.
30577         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30578         Likewise.
30579         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30580         Likewise.
30581         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30582         * nptl/tst-rwlock16.c: New file.
30583         * nptl/Makefile (tests): Add new test.
30585 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30587         [BZ #18324]
30588         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30589         missing wake-up of readers.
30590         * nptl/tst-rwlock15.c: New file.
30591         * nptl/Makefile (tests): Add new test.
30593 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30595         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30596         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30597         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30598         and __nacl_supply_interface_rtld.
30599         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30600         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30601         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30602         Add __nacl_supply_interface_rtld.
30603         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30605 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30607         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30608         isfinite.
30609         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30610         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30612 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30614         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30615         __signbit* with standard C99 macros.
30616         * math/e_exp10l.c: Likewise.
30617         * math/e_exp2l.c: Likewise.
30618         * math/e_scalb.c: Likewise.
30619         * math/e_scalbf.c: Likewise.
30620         * math/e_scalbl.c: Likewise.
30621         * math/s_ldexp.c: Likewise.
30622         * math/s_ldexpf.c: Likewise.
30623         * math/s_ldexpl.c: Likewise.
30624         * math/w_atan2.c: Likewise.
30625         * math/w_atan2f.c: Likewise.
30626         * math/w_atan2l.c: Likewise.
30627         * math/w_cosh.c: Likewise.
30628         * math/w_coshf.c: Likewise.
30629         * math/w_coshl.c: Likewise.
30630         * math/w_exp10.c: Likewise.
30631         * math/w_exp10f.c: Likewise.
30632         * math/w_exp10l.c: Likewise.
30633         * math/w_exp2.c: Likewise.
30634         * math/w_exp2f.c: Likewise.
30635         * math/w_exp2l.c: Likewise.
30636         * math/w_fmod.c: Likewise.
30637         * math/w_fmodf.c: Likewise.
30638         * math/w_fmodl.c: Likewise.
30639         * math/w_hypot.c: Likewise.
30640         * math/w_hypotf.c: Likewise.
30641         * math/w_hypotl.c: Likewise.
30642         * math/w_jnl.c: Likewise.
30643         * math/w_lgamma.c: Likewise.
30644         * math/w_lgamma_r.c: Likewise.
30645         * math/w_lgammaf.c: Likewise.
30646         * math/w_lgammaf_r.c: Likewise.
30647         * math/w_lgammal.c: Likewise.
30648         * math/w_lgammal_r.c: Likewise.
30649         * math/w_pow.c: Likewise.
30650         * math/w_powf.c: Likewise.
30651         * math/w_powl.c: Likewise.
30652         * math/w_remainder.c: Likewise.
30653         * math/w_remainderf.c: Likewise.
30654         * math/w_remainderl.c: Likewise.
30655         * math/w_scalb.c: Likewise.
30656         * math/w_scalbf.c: Likewise.
30657         * math/w_scalbl.c: Likewise.
30658         * math/w_scalbln.c: Likewise.
30659         * math/w_scalblnf.c: Likewise.
30660         * math/w_scalblnl.c: Likewise.
30661         * math/w_sinh.c: Likewise.
30662         * math/w_sinhf.c: Likewise.
30663         * math/w_sinhl.c: Likewise.
30664         * math/w_tgamma.c: Likewise.
30665         * math/w_tgammaf.c: Likewise.
30666         * math/w_tgammal.c: Likewise.
30667         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30668         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30669         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30670         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30671         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30672         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30673         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30674         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30675         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30676         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30677         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30678         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30679         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30680         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30681         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30682         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30684         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30685         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30686         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30687         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30688         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30690         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30691         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30692         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30693         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30694         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30695         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30696         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30697         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30698         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30699         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30700         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30701         * stdio-common/printf_fp.c: Likewise.
30702         * stdio-common/printf_fphex.c: Likewise.
30703         * stdio-common/printf_size.c: Likewise.
30705 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30707         [BZ #18470]
30708         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30709         strnlen.
30710         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30711         Remove variable.
30712         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30713         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30714         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30715         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30716         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30717         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30718         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30719         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30720         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30721         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30723         [BZ #18468]
30724         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30725         weak alias of __wmemchr.  Use libc_hidden_weak.
30726         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30727         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30728         instead of wmemchr.
30730 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30732         [BZ #18383]
30733         * elf/tst-tlsalign-extern.c: New file.
30734         * elf/tst-tlsalign-extern-static.c: New file.
30735         * elf/tst-tlsalign-vars.c: New file.
30736         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30737         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30738         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30739         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30740         (test-xfail-tst-tlsalign-extern-static): New variable.
30742 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30744         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30745         Use variable name _sc_err instead of err.
30746         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30747         instead of ret.
30748         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30749         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30750         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30751         (INLINE_SYSCALL): Likewise.
30753         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30754         * include/string.h (__strnlen): Use libc_hidden_proto.
30755         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30756         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30757         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30758         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30759         (libc_hidden_def): Undefine and redefine.
30760         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30761         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30762         __GI_strnlen.
30763         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30764         libc_hidden_def.
30765         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30767         [BZ #18469]
30768         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30769         weak alias of __towlower.  Use libc_hidden_weak.
30770         (towupper): Rename to __towupper and define as weak alias of
30771         __towupper.  Use libc_hidden_weak.
30772         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30773         (__towupper): Likewise.
30774         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30775         __towlower instead of towlower.
30777 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30779         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30780         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30782 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30784         * sysdeps/aarch64/libm-test-ulps: Update.
30786 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30788         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30789         Define.
30790         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30792         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30793         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30794         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30795         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30796         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30798 2015-06-01  Martin Sebor  <msebor@redhat.com>
30800         [BZ #18116]
30801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30802         (__setcontext): Use extended four-operand version of mtsf whenever
30803         possible.
30804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30805         (__novec_swapcontext): Likewise.
30807 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30809         * benchtests/scripts/compare_bench.py: New file.
30810         * benchtests/scripts/import_bench.py (mean): New function.
30811         (split_list): Likewise.
30812         (do_for_all_timings): Likewise.
30813         (compress_timings): Likewise.
30815         * benchtests/scripts/import_bench.py: New file.
30816         * benchtests/scripts/validate_benchout.py: Import import_bench
30817         instead of jsonschema.
30818         (validate_bench): Remove function.
30819         (main): Use import_bench.
30821 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30823         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30824         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30826 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30830 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30832         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30833         set THREAD_SELF->tid to a magic value and futex-wake it.
30834         Pass its address to the thread_exit system call.
30835         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30836         bit is clear.
30837         * sysdeps/nacl/lowlevellock.h: New file.
30838         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30840         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30841         Add TIMEOUT to current time, don't subtract it.
30843 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30845         [BZ #2981]
30846         [BZ #18422]
30847         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30848         ($(objpfx)tst-audit2.out): Also depend on
30849         $(objpfx)tst-auditmod9b.so.
30850         * elf/tst-audit2.c: Include <dlfcn.h>.
30851         (calloc_called): New.
30852         (calloc): Allow to be called more than once.
30853         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30855 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30857         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30858         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30860 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30862         * stdlib/monetary.h: Fix comment.
30864 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30866         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30867         Avoid using variables in #defines that might cause shadowing.
30868         (INTERNAL_VSYSCALL_CALL): Likewise.
30870 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30872         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30874         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30875         * nptl/lll_timedlock_wait.c: ... to this new file.
30876         * nptl/Makefile (libpthread-routines): Add it.
30877         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30878         * nptl/lll_timedwait_tid.c: ... to this new file.
30879         * nptl/Makefile (libpthread-routines): Add it.
30880         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30881         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30882         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30883         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30884         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30885         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30886         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30887         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30888         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30889         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30891 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30893         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30894         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30895         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30896         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30897         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30899         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30901         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30902         * sysdeps/unix/sysv/linux/tile/sysdep.h
30903         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30904         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30905         using vDSO syscall macro.
30907 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30909         [BZ #17293]
30910         * uk_UA: Fix sorting order for Ukrainian locale
30912 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30914         * stdlib/monetary.h: Fix comment.
30916 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30918         [BZ #18234]
30919         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30920         st_mtim and st_ctim members.
30921         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30922         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30923         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30924         (struct stat64): Likewise.
30925         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30926         (struct stat64): Likewise.
30927         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30928         (struct stat64): Likewise.
30930 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30932         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30933         Define and include sysdep-vdso.h.
30934         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30935         Likewise.
30936         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30937         Likewise.
30938         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30939         Define with VDSO_SYMBOL and use PTR_MANGLE.
30940         (__vdso_clock_gettime): Likewise.
30941         (__vdso_clock_getres): Likewise.
30942         (_libc_vdso_platform_setup): Likewise.
30943         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30944         Likewise.
30945         (_libc_vdso_platform_setup): Likewise.
30946         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30947         Likewise.
30948         (__vdso_clock_gettime): Likewise.
30949         (__vdso_clock_getres): Likewise.
30950         (__vdso_get_tbfreq): Likewise.
30951         (__vdso_getcpu): Likewise.
30952         (__vdso_time): Likewise.
30953         (__vdso_sigtramp_rt64): Likewise.
30954         (__vdso_signtramp32): Likewise.
30955         (__vdso_sigtramp_rt32): Likewise.
30956         (_libc_vdso_platform_setup): Likewise.
30957         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30958         Likewise.
30959         (__vdso_clock_gettime): Likewise.
30960         (__vdso_clock_getres): Likewise.
30961         (_libc_vdso_platform_setup): Likewise.
30962         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30963         Likewise.
30964         (__vdso_clock_gettime): Likewise.
30965         (_libc_vdso_platform_setup): Likewise.
30966         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30967         Likewise.
30968         (__vdso_getcpu): Likewise.
30969         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30970         Use VDSO_SYMBOL macro to define.
30971         (__vdso_clock_gettime): Likewise.
30972         (__vdso_clock_getres): Likewise.
30973         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30974         Likewise.
30975         (__vdso_clock_gettime): Likewise.
30976         (__vdso_clock_getres): Likewise.
30977         (__vdso_get_tbfreq): Likewise.
30978         (__vdso_getcpu): Likewise.
30979         (__vdso_time): Likewise.
30980         (__vdso_sigtramp_rt64): Likewise.
30981         (__vdso_signtramp32): Likewise.
30982         (__vdso_sigtramp_rt32): Likewise.
30983         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30984         Likewise.
30985         (__vdso_clock_gettime): Likewise.
30986         (__vdso_clock_getres): Likewise.
30987         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30988         Likewise.
30989         (__vdso_clock_gettime): Likewise.
30990         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30991         Likewise.
30992         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30993         macro.
30994         (INTERNAL_VSYSCALL): Likewise.
30995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30996         Remove macro.
30997         (INTERNAL_VSYSCALL): Likewise.
30998         (INTERNAL_VSYSCALL_NCS): Likewise.
30999         (INTERNAL_VSYSCALL_CALL): New macro.
31000         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31001         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31002         Likewise.
31003         (INTERNAL_VSYSCALL): Likewise.
31004         (INTERNAL_VSYSCALL_NCS): Likewise.
31005         (INTERNAL_VSYSCALL_CALL): New macro.
31006         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31008         (INLINE_VSYSCALL): Remove macro.
31009         (INTERNAL_VSYSCALL): Remove macro.
31010         (INTERNAL_VSYSCALL_NCS): Remove macro.
31011         (INTERNAL_VSYSCALL_CALL): New macro.
31012         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31013         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31014         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31015         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31016         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31018         (INLINE_VSYSCALL): Remove macro.
31019         (INTERNAL_VSYSCALL): Likewise.
31020         (INTERNAL_VSYSCALL_NCS): Likewise.
31021         (INTERNAL_VSYSCALL_CALL): New macro.
31022         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31023         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31024         PTR_DEMANGLE on vDSO pointer.
31025         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31026         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31027         macro.
31028         (INTERNAL_SYSCALL): Likewise.
31029         (INTERNAL_VSYSCALL_NCS): Remove macro.
31030         (INTERNAL_VSYSCALL_CALL): New macro.
31031         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31032         Remove macro.
31033         (INTERNAL_VSYSCALL): Likewise.
31034         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31035         sysdep-vdso.h instead of libc-vdso.h.
31036         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31037         definition.
31038         (INLINE_VSYSCALL): Likewise.
31039         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31040         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31041         definition.
31042         (INLINE_VSYSCALL): Likewise.
31043         (INTERNAL_VSYSCALL): Likewise.
31044         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31045         * sysdeps/unix/sysv/linux/timespec_get.c
31046         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31047         (timespec_get): Use ANSI prototype.
31048         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31049         and definition for Linux.
31051 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31053         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31054         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31056 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31058         [BZ #2981]
31059         [BZ #18410]
31060         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31061         for missing DT_PLTRELSZ.
31063 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31065         Remove obsolete aliases that broke 'locale -a'
31066         [BZ #18412]
31067         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31068         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31069         breaking some applications that use 'locale -a' output.
31070         Change the encoding of this file from Latin-1 to ASCII to avoid
31071         other potential problems with people grepping this file.
31073 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31075         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31076         -fasynchronous-unwind-tables.
31077         (CFLAGS-sendto.c): Likewise.
31078         (CFLAGS-sendmsg.c): Likewise.
31079         (CFLAGS-connect.c): Likewise.
31080         (CFLAGS-recvmsg.c): Likewise.
31081         (CFLAGS-recvfrom.c): Likewise.
31082         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31083         (SOCKETCALL): New macro: non-cancellable socketcall.
31084         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31085         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31086         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31087         * sysdeps/unix/sysv/linux/accept.c: New file.
31088         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31089         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31090         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31091         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31092         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31093         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31094         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31095         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31096         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31097         * sysdeps/unix/sysv/linux/send.c: Likewise.
31098         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31099         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31100         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31101         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31102         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31103         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31104         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31105         prototype.
31106         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31107         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31108         instead of __internal_xxx function.
31109         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31110         prototype.
31111         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31112         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31113         instead of __internal_xxx function.
31114         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31115         prototype.
31116         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31117         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31118         instead of __internal_xxx function.
31119         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31120         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31121         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31122         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31123         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31124         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31125         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31126         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31127         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31128         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31129         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31130         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31131         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31132         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31133         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31134         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31135         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31136         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31137         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31138         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31141         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31142         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31143         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31144         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31145         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31146         * sysdeps/unix/sysv/linux/send.S: Likewise.
31147         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31148         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31149         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31150         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31151         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31152         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31153         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31154         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31155         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31156         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31157         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31158         socketcall is implemented in GLIBC.
31160 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31162         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31163         (__fma): Ignore uninitialized warnings around packing.
31164         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31165         (__fmaf): Ignore uninitialized warnings around packing.
31166         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31167         (__fmal): Ignore uninitialized warnings around packing.
31169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31170         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31171         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31172         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31174         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31175         switch statement into default case.
31176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31178         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31179         a conditional in forcing "inexact".
31180         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31181         Likewise.
31183 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31185         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31186         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31187         for each INTERNAL_SYSCALL use.
31189 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31191         [BZ #438]
31192         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31193         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31194         variable.
31196         [BZ #18444]
31197         * string/basename.c (basename): Rename to __basename and define as
31198         weak alias of __basename.  Use libc_hidden_weak.
31199         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31200         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31201         __basename instead of basename.
31202         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31203         Remove variable.
31204         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31206 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31208         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31209         (_IO_JUMPS_FILE_plus): New.
31210         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31211         _IO_CAST_FIELD_ACCESS.
31212         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31213         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31214         * libio/freopen.c (freopen): Likewise.
31215         * libio/freopen64.c (freopen64): Likewise.
31216         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31217         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31218         * libio/iofwide.c (_IO_fwide): Likewise.
31219         * libio/memstream.c (open_memstream): Likewise.
31220         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31221         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31222         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31224 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31226         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31227         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31228         NADJ.
31229         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31230         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31231         NADJ.
31232         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31233         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31234         NADJ.
31236         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31237         (p == 4) case.
31239         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31240         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31241         Remove variable.
31242         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31243         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31244         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31246 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31248         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31249         Adjust jump table label generation macros.
31251 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31253         * stdio-common/vfprintf.c (vfprintf): Move local variables
31254         args_malloced, specs, specs_malloced, and the code after
31255         do_positional to the printf_positional function.
31256         (printf_positional): New function.
31258 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31260         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31261         function.
31262         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31263         STEP4_TABLE, process_arg): Move macro definitions
31264         out of the vfprintf function.  (Cosmetic change only.)
31266 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31268         * benchtests/Makefile (stdio-common-bench): Define.
31269         (benchset): Add stdio-common-bench.
31270         * sprintf-inputs: New file.
31271         * sprintf-source.c: New file.
31273 2015-05-21  Andreas Schwab  <schwab@suse.de>
31275         [BZ #13028]
31276         [BZ #17053]
31277         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31278         of struct __res_state.
31279         * resolv/res_send.c (__libc_res_nsend): Likewise.
31280         (get_nsaddr): New function.
31281         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31282         statp directly.
31284 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31286         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31287         -D_POSIX_C_SOURCE=199506L.
31289         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31291         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31292         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31293         Do not mention otherwise.
31294         [POSIX] (_XOPEN_VERSION): Do not expect.
31295         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31296         [POSIX] (_POSIX2_C_BIND): Likewise.
31297         [POSIX] (_POSIX2_VERSION): Likewise.
31298         [POSIX] (_XOPEN_XPG2): Likewise.
31299         [POSIX] (_XOPEN_XPG3): Likewise.
31300         [POSIX] (_XOPEN_XPG4): Likewise.
31301         [POSIX] (_XOPEN_UNIX): Likewise.
31302         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31303         [POSIX] (_POSIX_BARRIERS): Likewise.
31304         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31305         [POSIX] (_POSIX_CPUTIME): Likewise.
31306         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31307         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31308         [POSIX] (_POSIX_SHELL): Likewise.
31309         [POSIX] (_POSIX_SPAWN): Likewise.
31310         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31311         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31312         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31313         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31314         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31315         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31316         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31317         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31318         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31319         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31320         [POSIX] (_POSIX2_PBS): Likewise.
31321         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31322         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31323         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31324         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31325         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31326         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31327         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31328         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31329         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31330         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31331         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31332         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31333         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31334         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31335         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31336         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31337         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31338         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31339         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31340         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31341         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31342         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31343         [POSIX] (_SC_2_C_BIND): Likewise.
31344         [POSIX] (_SC_2_C_VERSION): Likewise.
31345         [POSIX] (_SC_2_PBS): Likewise.
31346         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31347         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31348         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31349         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31350         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31351         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31352         [POSIX] (_SC_BARRIERS): Likewise.
31353         [POSIX] (_SC_BASE): Likewise.
31354         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31355         [POSIX] (_SC_DEVICE_IO): Likewise.
31356         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31357         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31358         [POSIX] (_SC_FD_MGMT): Likewise.
31359         [POSIX] (_SC_FIFO): Likewise.
31360         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31361         [POSIX] (_SC_FILE_LOCKING): Likewise.
31362         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31363         [POSIX] (_SC_IOV_MAX): Likewise.
31364         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31365         [POSIX] (_SC_NETWORKING): Likewise.
31366         [POSIX] (_SC_PAGE_SIZE): Likewise.
31367         [POSIX] (_SC_PASS_MAX): Likewise.
31368         [POSIX] (_SC_PIPE): Likewise.
31369         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31370         [POSIX] (_SC_REGEXP): Likewise.
31371         [POSIX] (_SC_SHELL): Likewise.
31372         [POSIX] (_SC_SIGNALS): Likewise.
31373         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31374         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31375         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31376         [POSIX] (_SC_USER_GROUPS): Likewise.
31377         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31378         [POSIX] (_SC_STREAMS): Likewise.
31379         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31380         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31381         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31382         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31383         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31384         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31385         [POSIX] (_PC_FILESIZEBITS): Likewise.
31386         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31387         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31388         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31389         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31390         [POSIX] (uid_t): Likewise.
31391         [POSIX] (gid_t): Likewise.
31392         [POSIX] (off_t): Likewise.
31393         [POSIX] (pid_t): Likewise.
31394         [POSIX] (cuserid): Allow.
31395         (_SC_2_CHAR_TERM): Require constant.
31396         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31397         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31398         variable.
31400 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31402         * sysdeps/nacl/pthread-pids.h: New file.
31403         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31404         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31406         * nptl/pthread-pids.h: New file.
31407         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31408         * nptl/nptl-init.c: Include <pthread-pids.h>.
31409         (__pthread_initialize_minimal_internal):
31410         Call __pthread_initialize_pids instead of set_tid_address syscall.
31412         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31413         * sysdeps/posix/usleep.c: ... here.
31415 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31417         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31418         call_pselect6 object.
31419         [$(subdir) = io]: Remove call_sync_file_range object.
31420         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31421         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31422         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31423         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31425 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31427         * math/s_cproj.c: Add include "math_private.h".
31428         * math/s_cprojf.c: Likewise.
31429         * math/s_cprojl.c: Likewise.
31431 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31433         [BZ #18244]
31434         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31435         high mantissa bit when testing whether P is a NaN.
31436         * math/libm-test.inc (remainder_test_data): Add more tests.
31437         (remquo_test_data): Likewise.
31439         [BZ #18049]
31440         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31441         below -32, return the argument, with underflow if subnormal.
31442         * math/auto-libm-test-in: Add more tests of atanh.
31443         * math/auto-libm-test-out: Regenerated.
31445 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31447         [BZ #18434]
31448         * nptl/tst-sem15.c: New file.
31449         * nptl/Makefile (tests): Add it.
31450         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31451         s/<</>>/ to fix typo in EOVERFLOW check.
31452         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31454 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31456         * manual/strings.texi (envz_remove): Fix typo in safety
31457         annotations.
31459 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31460             Steve Ellcey  <sellcey@imgtec.com>
31462         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31463         in order to avoid strict alias warnings.
31464         (iruserok_af): Ditto for ra.
31466 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31468         [BZ #17581]
31469         * malloc/hooks.c
31470         (magicbyte): Convert to a function and avoid returning 0x01.
31471         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31472         (mem2chunk_check): Fix unsigned comparisons to zero.
31473         Hoist defs of sz and magic.
31475 2015-05-19  Richard Henderson  <rth@redhat.com>
31477         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31479         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31481 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31483         [BZ #16159]
31484         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31485         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31486         (reused_arena): Find a non-corrupt arena.
31487         (heap_trim): Pass arena to unlink.
31488         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31489         malloc_printerr.
31490         (top_check): Likewise.
31491         (free_check): Likewise.
31492         (realloc_check): Likewise.
31493         * malloc/malloc.c (malloc_printerr): Add arena argument.
31494         (unlink): Likewise.
31495         (munmap_chunk): Adjust.
31496         (ARENA_CORRUPTION_BIT): New macro.
31497         (arena_is_corrupt): Likewise.
31498         (set_arena_corrupt): Likewise.
31499         (sysmalloc): Use mmap if there are no usable arenas.
31500         (_int_malloc): Likewise.
31501         (__libc_malloc): Don't fail if arena_get returns NULL.
31502         (_mid_memalign): Likewise.
31503         (__libc_calloc): Likewise.
31504         (__libc_realloc): Adjust for additional argument to
31505         malloc_printerr.
31506         (_int_free): Likewise.
31507         (malloc_consolidate): Likewise.
31508         (_int_realloc): Likewise.
31509         (_int_memalign): Don't touch corrupt arenas.
31510         * malloc/tst-malloc-backtrace.c: New test case.
31512         * Makefile (summarize-tests): Fix return value on success.
31514         * manual/string.texi (Envz Functions): Add envz_remove.
31516 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31518         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31519         (invalid_name): New function, broken out of ...
31520         (__opendirat): ... here.  Call it.
31521         (need_isdir_precheck): New function, broken out of ...
31522         (__opendirat): ... here.  Call it.
31523         Use __fxstatat64, not __xstatat64.
31524         (opendir_oflags): New function, broken out of ...
31525         (__opendirat): ... here.  Call it.
31526         (opendir_tail): New function, broken out of ...
31527         (__opendirat): ... here.  Call it.
31528         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31529         opendir_tail, rather than punting to __opendirat.
31530         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31532 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31534         * .gitignore: Ignore generated *.pyc.
31536 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31538         * include/stdio.h: Define __need_wint_t.
31539         * test-skeleton.c: Avoid `for' loop initial declaration.
31540         * nptl/tst-initializers1.c: Use test-skeleton.c.
31542 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31544         [BZ #18418]
31545         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31547 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31549         [BZ #16352]
31550         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31551         (__ieee754_atanh): Force underflow exception for results with
31552         small absolute value.
31553         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31554         (__ieee754_atanhf): Force underflow exception for results with
31555         small absolute value.
31556         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31557         (__ieee754_atanh): Force underflow exception for results with
31558         small absolute value.
31559         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31560         (__ieee754_atanhf): Force underflow exception for results with
31561         small absolute value.
31562         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31563         (__ieee754_atanhl): Force underflow exception for results with
31564         small absolute value.
31565         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31566         (__ieee754_atanhl): Force underflow exception for results with
31567         small absolute value.
31568         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31569         (__ieee754_atanhl): Force underflow exception for results with
31570         small absolute value.
31571         * math/auto-libm-test-in: Do not allow missing underflow
31572         exceptions from atanh.
31573         * math/auto-libm-test-out: Regenerated.
31575         [BZ #18221]
31576         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31577         2**-28 as threshold for returning x or +/- 1/x.
31578         * math/auto-libm-test-in: Add more tests of tan.
31579         * math/auto-libm-test-out: Regenerated.
31581         [BZ #18220]
31582         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31583         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31584         * math/auto-libm-test-in: Add another test of lgamma.
31585         * math/auto-libm-test-out: Regenerated.
31587 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31589         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31590         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31591         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31592         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31593         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31594         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31595         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31596         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31597         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31598         (log1): Use fabs.  (my_log2): Use fabs.
31599         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31600         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31601         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31602         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31603         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31604         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31605         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31606         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31607         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31608         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31609         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31611 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31613         [BZ #18217]
31614         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31615         as threshold for returning 1 - x.
31616         * math/auto-libm-test-in: Add more tests of erfc.
31617         * math/auto-libm-test-out: Regenerated.
31619 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31621         [BZ #18196]
31622         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31623         threshold for large arguments.
31624         * math/auto-libm-test-in: Add another test of atan.
31625         * math/auto-libm-test-out: Regenerated.
31627         [BZ #16339]
31628         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31629         (__log1p): Force underflow exception for results with small
31630         absolute value.
31631         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31632         (__log1pf): Force underflow exception for results with small
31633         absolute value.
31634         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31635         (__log1p): Force underflow exception for results with small
31636         absolute value.
31637         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31638         (__log1pf): Force underflow exception for results with small
31639         absolute value.
31640         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31641         (__log1pl): Force underflow exception for results with small
31642         absolute value.
31643         * math/auto-libm-test-in: Do not allow missing underflow
31644         exceptions from log1p.
31645         * math/auto-libm-test-out: Regenerated.
31647 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31648             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31650         [BZ #16704]
31651         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31653 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31655         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31656         (libmvec): New variable.
31657         * configure.ac: Added option for mathvec build.
31658         * configure: Regenerated.
31659         * mathvec/Depend: New file.
31660         * mathvec/Makefile: New file.
31661         * shlib-versions: Added libmvec.
31662         * math/Makefile: Added rule for libm.so installation.
31664         * bits/math-vector.h: New file.
31665         * bits/libm-simd-decl-stubs.h: New header.
31666         * math/Makefile (headers): Added new header
31667         libm-simd-decl-stubs.h.
31668         * math/math.h (__MATHCALL_VEC): New macro.
31670         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31671         for conditions in testing functions.
31672         * math/Makefile: Added call of libm-have-vector-test.sh.
31673         * math/libm-test.inc (HAVE_VECTOR): New macros.
31675         * math/libm-test.inc: START refactored.
31676         * math/test-double.c (TEST_MATHVEC): Add define.
31677         * math/test-float.c: Likewise.
31678         * math/test-idouble.c: Likewise.
31679         * math/test-ifloat.c: Likewise.
31680         * math/test-ildoubl.c: Likewise.
31681         * math/test-ldouble.c: Likewise.
31682         * sysdeps/generic/math-tests-arch.h
31683         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31684         architecture check.
31686         * math/test-double.c (FUNC_TEST): New macro.
31687         * math/test-float.c: Likewise.
31688         * math/test-idouble.c: Likewise.
31689         * math/test-ifloat.c: Likewise.
31690         * math/test-ildoubl.c: Likewise.
31691         * math/test-ldouble.c: Likewise.
31692         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31694 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31696         * sysdeps/nacl/fdopendir.c: New file.
31698         * dirent/scandir-tail.c: New file.
31699         * dirent/scandir64-tail.c: New file.
31700         * dirent/Makefile (routines): Add them.
31701         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31702         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31703         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31704         [!SCANDIR] (SCANDIR_TAIL): New macro.
31705         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31706         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31707         (SCANDIRAT): Macro removed.
31708         (SCANDIR_TAIL): New macro.
31709         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31710         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31711         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31712         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31713         (READDIR): Macro removed.
31714         (SCANDIR_TAIL): New macro.
31715         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31716         (SCANDIR_TAIL): New macro.
31718         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31719         * dirent/scandir-cancel.c: ... to this new file.
31720         * dirent/Makefile (routines): Add it.
31721         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31722         * sysdeps/unix/sysv/linux/i386/scandir64.c
31723         (SKIP_SCANDIR_CANCEL): Macro removed.
31724         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31726         * dirent/tst-scandir.c: New file.
31727         * dirent/tst-scandir64.c: New file.
31728         * dirent/Makefile (tests): Add them.
31730 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31732         [BZ #18409]
31733         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31735 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31737         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31738         list.
31740 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31742         * benchtests/bench-strcoll.c: New benchmark.
31743         * benchtests/Makefile: Generate locales and run benchmark.
31744         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31745         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31746         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31747         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31748         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31749         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31750         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31751         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31752         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31753         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31754         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31755         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31756         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31757         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31758         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31759         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31760         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31761         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31762         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31763         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31764         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31765         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31766         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31767         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31769 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31771         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31772         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31774 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31776         * posix/uname-values.h: New file.
31777         * posix/uname.c: Include that instead of <config-name.h>.
31778         * sysdeps/nacl/uname-values.h: New file.
31779         * sysdeps/arm/nacl/uname-values.h: New file.
31781 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31783         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31784         splitting into fields.
31786 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31788         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31789         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31790         * locale/localeinfo.h: Add enum collation_encoding_type.
31791         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31792         * programs/ld-collate.c (collate_output): Add encoding type info.
31793         * string/strcoll_l.c (STRDIFF): New function.
31794         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31795         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31797 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31799         [BZ #18397]
31800         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31801         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31802         <fpu_control.h> instead of <math/fpu_control.c>.
31803         * sysdeps/mips/mips32/fpu/Makefile: New file.
31805 2015-05-11  Andreas Schwab  <schwab@suse.de>
31807         [BZ #18007]
31808         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31809         nss_endgrent.
31810         (_nss_compat_endgrent): Call nss_endgrent.
31811         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31812         nss_endpwent.
31813         (_nss_compat_endpwent): Call nss_endpwent.
31814         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31815         needent, call nss_setspent only if non-zero.
31816         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31817         (internal_endspent): Don't call nss_endspent.
31818         (_nss_compat_endspent): Call nss_endspent.
31819         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31820         Remove.  All uses removed.
31821         (internal_setent): Remove parameter stayopen, add parameter
31822         stream.  Use it instead of global variable.
31823         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31824         (internal_endent, internal_getent): Add parameter stream.  Use it
31825         instead of global variable.
31826         (CONCAT(_nss_files_end,ENTNAME))
31827         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31828         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31829         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31830         uses removed.
31831         (internal_setent, internal_endent): Add parameter stream.  Use it
31832         instead of global variable.
31833         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31834         stream.
31835         (get_next_alias): Add parameter stream.
31836         (_nss_files_getaliasent_r): Pass global stream.
31837         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31838         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31839         (_nss_files_gethostbyname4_r): Pass local stream to
31840         internal_setent, internal_getent and internal_endent.  Remove
31841         locking.
31843 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31845         * tst-strfmon1.c (tests): Update expected currency symbol.
31847 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31849         * sysdeps/nacl/gethostname.c: New file.
31851 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31853         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31854         and sinh.
31855         * math/auto-libm-test-out: Regenerated.
31856         * sysdeps/i386/fpu/libm-test-ulps: Update.
31857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31859 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31861         [BZ #18125]
31862         * stdlib/tst-setcontext3.c: New file.
31863         * stdlib/tst-setcontext3.sh: New file.
31864         * stdlib/Makefile (tests): Add tst-setcontext3.
31865         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31866         to verify test program created output file.
31867         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31868         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31869         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31870         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31872 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31874         [BZ #18383]
31875         * elf/tst-tlsalign.c: New file.
31876         * elf/tst-tlsalign-static.c: New file.
31877         * elf/tst-tlsalign-lib.c: New file.
31878         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31879         (tests-static): Add tst-tlsalign-static.
31880         (modules-names): Add tst-tlsalign-lib.
31881         (test-xfail-tst-tlsalign): New variable.
31882         (test-xfail-tst-tlsalign-static): New variable.
31884         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31885         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31887 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31889         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31890         csqrt, erfc, sin and sincos.
31891         * math/auto-libm-test-out: Regenerated.
31892         * sysdeps/i386/fpu/libm-test-ulps: Update.
31893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31895 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31897         * sysdeps/aarch64/libm-test-ulps: Update.
31899 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31901         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31902         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31903         * math/auto-libm-test-out: Regenerated.
31904         * sysdeps/i386/fpu/libm-test-ulps: Update.
31905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31907 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31909         [BZ #18265]
31910         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31911         (wcsncpy): Likewise.
31913 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31915         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31916         Assume __ASSUME_FALLOCATE is always true.
31917         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31918         (__posix_fallocate64_l64): Likewise.
31919         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31920         (posix_fallocate): Likewise.
31921         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31922         (__posix_fallocate64_l64): Likewise.
31923         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31924         [!__ASSUME_FALLOCATE]: Add comment.
31926 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31928         * sysdeps/unix/sysv/linux/i386/Makefile
31929         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31930         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31931         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31932         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31933         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31934         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31935         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31937 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31939         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31940         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31941         tgamma.
31942         * math/auto-libm-test-out: Regenerated.
31943         * sysdeps/i386/fpu/libm-test-ulps: Update.
31944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31946 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31948         * math/auto-libm-test-in: Add more tests of tgamma.
31949         * math/auto-libm-test-out: Regenerated.
31950         * sysdeps/i386/fpu/libm-test-ulps: Update.
31951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31953         * math/auto-libm-test-in: Add more tests of tanh.
31954         * math/auto-libm-test-out: Regenerated.
31955         * sysdeps/i386/fpu/libm-test-ulps: Update.
31956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31958         * math/auto-libm-test-in: Add more tests of tan.
31959         * math/auto-libm-test-out: Regenerated.
31960         * sysdeps/i386/fpu/libm-test-ulps: Update.
31961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31963         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31964         * math/auto-libm-test-out: Regenerated.
31965         * sysdeps/i386/fpu/libm-test-ulps: Update.
31966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31968         * math/auto-libm-test-in: Add another test of pow.
31969         * math/auto-libm-test-out: Regenerated.
31970         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31972         * math/auto-libm-test-in: Add more tests of lgamma.
31973         * math/auto-libm-test-out: Regenerated.
31974         * sysdeps/i386/fpu/libm-test-ulps: Update.
31975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31977         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31978         log1p.
31979         * math/auto-libm-test-out: Regenerated.
31980         * sysdeps/i386/fpu/libm-test-ulps: Update.
31981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31983 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31985         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31986         Elf64_Chdr structs and ELFCOMPRESS constants.
31988 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31990         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31991         expm1.
31992         * math/auto-libm-test-out: Regenerated.
31993         * sysdeps/i386/fpu/libm-test-ulps: Update.
31994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31996         * math/auto-libm-test-in: Add more tests of erf and erfc.
31997         * math/auto-libm-test-out: Regenerated.
31998         * sysdeps/i386/fpu/libm-test-ulps: Update.
31999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32001 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32003         * config.h.in (HAVE_AARCH64_BE): Add.
32005 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32007         * math/auto-libm-test-in: Add more tests of csqrt.
32008         * math/auto-libm-test-out: Regenerated.
32009         * sysdeps/i386/fpu/libm-test-ulps: Update.
32010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32012         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32013         * math/auto-libm-test-out: Regenerated.
32014         * sysdeps/i386/fpu/libm-test-ulps: Update.
32015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32017         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32019 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32021         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32022         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32024         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32025         (euidaccess, eaccess): Define as weak aliases.
32027         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32028         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32029         but __suseconds_t is often 'long int' so some sources assume that
32030         type is being used (e.g. they use %ld to print tv_usec).
32032 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32034         [BZ #18007]
32035         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32036         (CVE-2014-8121)
32037         * nss/tst-nss-getpwent.c: New file.
32038         * nss/Makefile (tests): Add new test.
32040 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32042         [BZ #18346]
32043         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32044         exponents less than 48 as cases where high part of mantissa needs
32045         examining to determine whether argument is integral.
32046         * math/libm-test.inc (round_test_data): Add more tests.
32048 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32050         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32052 2015-04-27  David S. Miller  <davem@davemloft.net>
32054         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32055         __tls_get_addr.
32056         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32058 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32060         [BZ #18333]
32061         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32063 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32065         [BZ #18333]
32066         * time/tzset.c (parse_tzname): Return error on memory allocation
32067         failure.
32068         * test-skeleton.c (struct temp_name_list): Change type of name
32069         member to non-const.
32070         (add_temp_file): Create a copy of the file name.
32071         (delete_temp_files): Deallocate memory.
32072         (create_temp_file): Add comment.
32074 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32076         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32077         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32079 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32081         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32082         * sysdeps/arm/configure: Regenerated.
32084 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32086         [BZ #17715]
32087         * time/tzfile.c (__tzfile_read): Check for large values of
32088         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32089         * time/tzset.c (__tzstring_len): New function, based on the old
32090         __tzstring function.
32091         (__tzstring): Call __tzstring_len.
32092         (parse_tzname): New helper function extracted from
32093         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32094         the input string.
32095         (parse_offset): New helper function extracted from
32096         __tzset_parse_tz.  Replace switch with fallthrough with
32097         initialization before sscanf.
32098         (parse_rule): Likewise.
32099         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32100         new-style function definition.
32101         * timezone/Makefile (tests): Add tst-tzset.
32102         (tst-tzset.out): Dependencies on time zone files.
32103         (tst-tzset-ENV): Set TZDIR.
32104         (testdata/XT%): Copy crafted time zone files.
32105         * timezone/README: Mention crafted time zone files.
32106         * timezone/testdata/XT1, timezone/testdata/XT2,
32107         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32108         files.
32109         * timezone/tst-tzset.c: New test.
32111 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32113         * Makeconfig (+gccwarn): Remove -Winline.
32115 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32117         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32119 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32121         * NEWS: Mention sysconf() cache information support for s390.
32122         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32124 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32126         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32127         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32128         (__nearbyint): Likewise.
32129         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32130         (copysignl): Likewise.
32132 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32134         [BZ #18287]
32135         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32136         based on padding.  (CVE-2015-1781)
32138 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32140         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32141         libc-vdso.h.
32142         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32143         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32144         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32145         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32146         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32147         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32148         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32149         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32150         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32151         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32152         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32153         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32154         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32155         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32156         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32157         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32158         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32160         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32161         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32162         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32163         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32164         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32166 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32168         * stdlib/setenv.c (__add_to_environ):
32169         Dump core quickly if setenv (..., NULL, ...) is called.
32170         This time, do it the right way, and pacify GCC with a pragma.
32172 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32174         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32175         IMAP->l_prev cannot be null, and #if out the code for the contrary
32176         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32177         believe that NS (&_dl_ns[NSID]) could point outside the array.
32179         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32180         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32181         before using NSID as an index.
32183 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32185         [BZ #17825]
32186         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32187         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32188         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32190 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32192         Add preliminary port to Google Native Client on ARM.
32193         * abi-tags (.*-.*-nacl.*): New entry.
32194         * sysdeps/arm/nacl: New directory.
32195         * sysdeps/nacl: New directory.
32197 2015-04-16  David S. Miller  <davem@davemloft.net>
32199         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32200         lowlevellock-futex.h
32202 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32204         * sysdeps/tile/configure.ac: New file.
32205         * sysdeps/tile/configure: Regenerated.
32207 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32209         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32210         conditionals for weak_alias and libc_hidden_weak.
32211         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32212         libc_hidden_weak and weak_alias.
32213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32214         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32215         and weak_alias for static one.
32217 2015-04-15  David S. Miller  <davem@davemloft.net>
32219         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32221 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32223         [BZ #18206]
32224         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32225           Use signed comparision instead of substraction to avoid
32226           overflow bug.
32227         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32228           Take the sign of ret.
32229         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32230           Do not expect precise return values. Only the sign matters.
32231         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32232         * wcsmbs/test-wcsncmp.c: New File.
32233         * string/test-strncmp.c: Add wcsncmp support.
32235 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32237         [BZ #6792]
32238         * math/w_log1p.c: New file.
32239         * math/w_log1pf.c: Likewise.
32240         * math/w_log1pl.c: Likewise.
32241         * math/Makefile (libm-calls): Add w_log1p.
32242         * math/s_log1pl.c (log1pl): Remove weak_alias.
32243         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32244         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32245         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32246         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32247         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32248         [NO_LONG_DOUBLE] (log1pl): Likewise.
32249         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32250         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32251         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32252         (log1p): Remove long_double_symbol.
32253         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32254         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32255         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32256         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32257         remove weak_alias for corresponding log1p function.
32258         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32259         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32260         * sysdeps/ia64/fpu/w_log1p.c: New file.
32261         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32262         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32263         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32265 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32267         [BZ #18247]
32268         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32269         decimal exponent by 1.
32270         * stdlib/tst-strtod-round-data: Add more tests.
32271         * stdlib/tst-strtod-round.c (tests): Regenerated.
32273 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32275         * math/auto-libm-test-in: Add more tests of clog and clog10.
32276         * math/auto-libm-test-out: Regenerated.
32277         * sysdeps/i386/fpu/libm-test-ulps: Update.
32278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32280 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32282         * Makeconfig (module-cppflags): Exclude all .v.i files.
32283         (skip-module-cppflags): Variable removed.
32285         * configure.ac (libc_config_ok): Initialize before reading
32286         preconfigure scripts, not after.
32287         * configure: Regenerated.
32289         * test-skeleton.c (TIMEOUT): Move #define to top level.
32290         (main): Grok environment variable TEST_DIRECT.  If set, print
32291         test expectation details into that file and then behave as if
32292         given --direct.
32294 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32296         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32297         warning on 32-bit.
32299 2015-04-08  David S. Miller  <davem@davemloft.net>
32301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32303 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32305         * math/auto-libm-test-in: Add more tests of atanh.
32306         * math/auto-libm-test-out: Regenerated.
32307         * sysdeps/i386/fpu/libm-test-ulps: Update.
32308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32310         * math/auto-libm-test-in: Add more tests of atan.
32311         * math/auto-libm-test-out: Regenerated.
32312         * sysdeps/i386/fpu/libm-test-ulps: Update.
32313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32315 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32317         * elf/pldd.c (main): Rewrite to use struct
32318         scratch_buffer instead of extend_alloca.
32319         * elf/pldd-xx.c (find_maps): Likewise.
32320         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32321         <alloca.h>.
32322         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32323         scratch_buffer instead of extend_alloca.
32324         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32325         grp/compat-initgroups.c.
32326         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32327         Rewrite to use struct scratch_buffer instead of extend_alloca.
32328         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32329         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32331 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32333         * math/auto-libm-test-in: Add more tests of cbrt.
32334         * math/auto-libm-test-out: Regenerated.
32335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32337         * math/auto-libm-test-in: Add more tests of cabs.
32338         * math/auto-libm-test-out: Regenerated.
32339         * sysdeps/i386/fpu/libm-test-ulps: Update.
32340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32342         [BZ #18210]
32343         [BZ #18211]
32344         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32345         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32346         computations.
32347         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32348         clog10.
32349         * math/auto-libm-test-out: Regenerated.
32350         * sysdeps/i386/fpu/libm-test-ulps: Update.
32351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32353         [BZ #18197]
32354         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32355         (atan): Set FE_TONEAREST mode for internal computations.
32356         * math/auto-libm-test-in: Add more tests of atan.
32357         * math/auto-libm-test-out: Regenerated.
32359 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32361         [BZ #17930]
32362         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32364 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32366         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32368 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32370         * include/scratch_buffer.h: New file.
32371         * malloc/scratch_buffer_grow.c: Likewise.
32372         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32373         * malloc/scratch_buffer_set_array_size.c: Likewise.
32374         * malloc/tst-scratch_buffer.c: Likewise.
32375         * malloc/Makefile (routines): Add scratch_buffer_grow.
32376         (tests): Add test case.
32377         * malloc/Versions (GLIBC_PRIVATE): Export
32378         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32379         __libc_scratch_buffer_set_array_size.
32381 2015-04-06  Richard Henderson  <rth@redhat.com>
32383         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32384         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32386         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32387         unsigned int before printing.
32389 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32391         [BZ #17596]
32392         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32393         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32395 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32397         * include/libc-internal.h (libc_max_align_t): Define.
32399 2015-04-02  Andreas Schwab  <schwab@suse.de>
32401         [BZ #16850]
32402         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32404 2015-04-02  Mel Gorman  <mgorman@suse.de>
32406         [BZ #17195]
32407         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32408         as well as the main arena.
32410 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32412         [BZ #18185]
32413         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32414         sharing L2 cache to 2 for Silvermont/Knights Landing.
32416 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32418         [BZ #17711]
32419         * config.make.in (have-protected-data): New.
32420         * configure.ac: Check linker support for protected data symbol.
32421         * configure: Regenerated.
32422         * elf/Makefile (modules-names): Add tst-protected1moda and
32423         tst-protected1modb if $(have-protected-data) is yes.
32424         (tests): Add tst-protected1a and tst-protected1b if
32425         $(have-protected-data) is yes.
32426         ($(objpfx)tst-protected1a): New.
32427         ($(objpfx)tst-protected1b): Likewise.
32428         (tst-protected1modb.so-no-z-defs): Likewise.
32429         * elf/tst-protected1a.c: New file.
32430         * elf/tst-protected1b.c: Likewise.
32431         * elf/tst-protected1mod.h: Likewise.
32432         * elf/tst-protected1moda.c: Likewise.
32433         * elf/tst-protected1modb.c: Likewise.
32435 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32437         [BZ #17711]
32438         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32439         indicates it is called from do_lookup_x on relocation against
32440         protected data, skip the data definion in the executable from
32441         copy reloc.
32442         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32443         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32444         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32445         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32446         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32447         otherwise to 0.
32448         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32449         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32450         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32451         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32452         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32453         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32455 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32457         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32458         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32460 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32462         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32463         THREAD_SETMEM_NC.
32464         * sysdeps/x86_64/nptl/tls.h: Ditto.
32466 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32468         * dlfcn/tststatic.c (main): Converted to ...
32469         (do_test): ... this.
32470         (TEST_FUNCTION): New macro.
32471         Include test-skeleton.c.
32473 2015-03-26  Alan Modra  <amodra@gmail.com>
32475         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32476         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32477         zero for undefined weak.
32478         (elf_machine_plt_conflict): Similarly.
32480 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32482         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32483         atanh.
32484         * math/auto-libm-test-out: Regenerated.
32485         * sysdeps/i386/fpu/libm-test-ulps: Update.
32486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32488         * math/auto-libm-test-in: Add another test of asin.
32489         * math/auto-libm-test-out: Regenerated.
32490         * sysdeps/i386/fpu/libm-test-ulps: Update.
32491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32493         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32494         Remove macro.
32495         (LLL_EBX_REG): Likewise.
32496         (LLL_ENTER_KERNEL): Likewise.
32498         * math/auto-libm-test-in: Add more tests of asin.
32499         * math/auto-libm-test-out: Regenerated.
32500         * sysdeps/i386/fpu/libm-test-ulps: Update.
32501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32503         [BZ #18138]
32504         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32505         libc_do_syscall_args): New structure.
32506         (INTERNAL_SYSCALL_MAIN_0): New macro.
32507         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32508         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32509         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32510         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32511         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32512         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32513         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32514         Replace conditional definitions by conditional definitions of ....
32515         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32516         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32517         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32518         (libpthread-sysdep_routines): Add libc-do-syscall.
32519         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32521         to __NR_futex not 240.
32523 2015-03-25  Alan Modra  <amodra@gmail.com>
32525         * NEWS: Advertise TLS optimization.
32526         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32527         (DT_PPC_NUM): Increment.
32528         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32529         (CHECK_STATIC_TLS): Use here.
32530         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32531         TLS descriptors.
32532         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32533         * sysdeps/powerpc/dl-tls.c: New file.
32534         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32535         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32536         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32537         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32542 2015-03-25  Alan Modra  <amodra@gmail.com>
32544         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32545         for overlapping .opd entries" to "support...".
32546         * sysdeps/powerpc/powerpc64/configure: Regenerate
32548 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32550         * math/auto-libm-test-in: Add more tests of acos.
32551         * math/auto-libm-test-out: Regenerated.
32552         * sysdeps/i386/fpu/libm-test-ulps: Update.
32553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32555         * math/auto-libm-test-in: Add more tests of expm1.
32556         * math/auto-libm-test-out: Regenerated.
32557         * sysdeps/i386/fpu/libm-test-ulps: Update.
32558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32560 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32562         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32563         * math/auto-libm-test-out: Regenerated.
32564         * sysdeps/i386/fpu/libm-test-ulps: Update.
32565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32567         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32570         * math/auto-libm-test-in: Add more tests of log2.
32571         * math/auto-libm-test-out: Regenerated.
32572         * sysdeps/i386/fpu/libm-test-ulps: Update.
32573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32575 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32577         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32578         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32579         _IO_IS_APPENDING bit in READ_WRITE instead.
32581 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32583         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32584         (__determine_cpumask_size): Replace extend_alloca with a
32585         variable-length array.  Do not treat res == 0 as an error.
32587 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32589         [BZ #18100]
32590         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32591         and integer overflow.
32592         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32593         (main): Add integer overflow tests.
32594         * manual/pattern.texi (Calling Wordexp): Document additional use
32595         for WRDE_SYNTAX.
32597 2015-03-23  Alan Modra  <amodra@gmail.com>
32599         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32600         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32601         and false branch of conditional.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32603         Likewise.
32605 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32607         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32608         libc-modules.h
32609         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32610         unused declaration of _hurd_intr_rpc_msg_in_trap.
32611         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32612         defined instead of whether it is non-zero.
32613         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32614         input constraint instead of both input and output constraint.  Use ecx
32615         clobber instead of %ecx.
32616         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32617         mutex_unlock): Use a statement expression instead of an expression list.
32618         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32619         type to vm_size_t instead of vm_address_t.
32620         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32621         defined instead of whether it is non-zero.
32622         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32623         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32624         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32625         comparisons with mapaddr.
32626         * nscd/nscd-client.h: Include <time.h>.
32627         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32628         9th parameter to __vm_region instead of int.
32629         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32630         * scripts/check-local-headers.sh (exclude): Add device/,
32631         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32632         cthreads.h.
32634 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32636         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32637         to account for alignment padding.
32638         * sysdeps/arm/memmove.S: Likewise.
32640 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32642         * sysdeps/unix/sysv/linux/generic/README: New file.
32644 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #18138]
32647         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32648         (futex_abstimed_wait)
32649         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32650         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32651         of lll_futex_timed_wait.
32653 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32655         [BZ #17542]
32656         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32658 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32660         [BZ #17090]
32661         [BZ #17620]
32662         [BZ #17621]
32663         [BZ #17628]
32664         * NEWS: Update.
32665         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32666         entries with Static TLS too.  Skip entries past the end of the
32667         allocated DTV, from Alan Modra.
32668         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32669         Static TLS DTV entry set up from...
32670         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32671         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32672         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32673         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32674         for Static TLS.
32675         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32676         that the slot we find is associated with the given map before
32677         using its generation count.
32678         * nptl_db/db_info.c: Include ldsodefs.h.
32679         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32680         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32681         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32682         (link_map::l_tls_offset): New struct field.
32683         (dtv_t::counter): Likewise.
32684         (rtld_global): New struct.
32685         (_rtld_global): New rtld variable.
32686         (dl_tls_dtv_slotinfo_list): New rtld global field.
32687         (dtv_slotinfo_list): New struct.
32688         (dtv_slotinfo): Likewise.
32689         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32690         (td_lookup): Rename to...
32691         (td_mod_lookup): ... this.  Use new mod parameter instead of
32692         LIBPTHREAD_SO.
32693         * nptl_db/td_thr_tlsbase.c: Include link.h.
32694         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32695         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32696         addresses even if the DTV is out of date or missing them.
32697         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32698         index zero-length arrays.
32699         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32700         (td_lookup): Make it a macro implemented in terms of...
32701         (td_mod_lookup): ... this declaration.
32702         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32703         (DB_MAIN_VARIABLE): Likewise.
32705 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32707         [BZ #18134]
32708         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32710 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32712         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32714 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32716         [BZ #18128]
32717         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32718         (atomic_add, atomic_increment_and_test)
32719         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32721 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32723         * stdlib/setenv.c (__add_to_environ):
32724         Dump core quickly if setenv (..., NULL, ...) is called.
32726 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32728         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32729         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32730         all the necessary asm magic in one place.
32731         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32732         using those.
32734 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32736         [BZ #14906]
32737         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32738         traced file mtime. Use consistent log message.
32739         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32740         (register_traced_file): Call install_watches. Always set mtime.
32741         (invalidate_cache): Iterate over all trace files. Call install_watches.
32742         (inotify_check_files): Don't inline. Handle watching parent
32743         directories and configuration file movement in and out.
32744         (handle_inotify_events): New function.
32745         (main_loop_poll): Call handle_inotify_events.
32746         (main_loop_epoll): Likewise.
32747         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32748         (struct traced_file): Use array of inotify fds. Add parent directory,
32749         and basename.
32750         (struct database_dyn): Remove unused file_mtime.
32751         (init_traced_file): New inline function.
32752         (define_traced_file): New macro.
32753         * nss/nss_db/db-init.c: Use define_traced_file.
32754         (_nss_db_init): Use init_traced_file.
32755         * nss/nss_files/files-init.c: Use define_traced_file.
32756         (_nss_files_init): Use init_traced_file.
32758 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32760         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32761         [_LIBC]: Do not include <stdlib.h>.
32762         [!_LIBC] (abort): Remove declaration.
32763         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32764         _FP_STATIC_ASSERT instead of conditionally calling abort.
32765         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32766         (_FP_EXTEND_CNAN): Likewise.
32767         (FP_TRUNC): Likewise.
32768         (__FP_CLZ): Likewise.
32769         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32771 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32773         * manual/string.texi (XPG basename): Fix prototype.
32775 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32777         [BZ #18080]
32778         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32779         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32780         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32781         (__setcontext): Likewise.
32782         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32783         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32784         Call rt_sigprocmask syscall one time to set new signal mask
32785         and retrieve the current signal mask instead of two calls.
32786         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32787         (__swapcontext): Likewise.
32788         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32789         * stdlib/tst-setcontext2.c: New file.
32791 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32793         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32795 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32797         [BZ #18093]
32798         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32799         the wrong size.
32801 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32803         [BZ #18043]
32804         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32806 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32808         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32809         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32810         Remove define.
32811         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32812         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32813         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32814         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32815         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32816         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32817         define.
32818         * nptl_db/td_symbol_list.c (td_lookup): Remove
32819         HAVE_ASM_GLOBAL_DOT_NAME code.
32820         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32821         HAVE_ASM_GLOBAL_DOT_NAME check.
32822         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32823         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32824         (DOT_LABEL): Remove define.
32825         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32826         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32827         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32828         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32829         (__TLS_GET_ADDR): Likewise.
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32831         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32833 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32835         [BZ #18111]
32836         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32837         (_FPU_SETCW): Initialize cw from fpsr before storing.
32838         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32839         (fesetexceptflag): Rewrite using fpu_control.h.
32840         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32842 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32844         [BZ #18110]
32845         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32846         asms.
32847         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32849 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32851         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32852         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32853         abort.
32854         (_FP_FMA): Likewise.
32855         (_FP_DIV): Likewise.
32857 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32859         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32860         with 0 in that case.
32861         * Makefile (summarize-tests): New canned sequence, factored out of
32862         commands for targets tests and xtests.  Display summary lines that
32863         don't start with PASS: or XFAIL: rather than ones that do start with
32864         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32865         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32866         do start with ERROR: or FAIL:.
32867         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32868         (except for [$(build-shared) = yes]).
32869         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32870         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32871         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32872         * nptl/Makefile: Revert 2015-03-04 changes.
32873         [$(CXX) empty] (tests-unsupported): New variable.
32874         * debug/Makefile: Likewise.
32876         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32877         gnulib file.  Replace __attribute with __attribute__ throughout.
32879 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32881         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32883 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32885         [BZ #18104]
32886         * math/auto-libm-test-in: Add another test of pow.
32887         * math/auto-libm-test-out: Regenerated.
32889 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32891         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32892         $(config-cflags-nofma).
32894 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32896         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32897         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32898         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32899         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32900         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32901         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32902         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32903         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32904         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32905         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32906         Add comment on closing #endif.
32908 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32910         * posix/wordexp.c (CHAR_IN_SET): New macro.
32911         (parse_param): Use it.
32913 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32915         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32917 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32919         [BZ #18043]
32920         * posix/wordexp.c (parse_param): Fix buffer overflow.
32921         * posix/wordexp-test.c (test_case): Add test case.
32923 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32925         [BZ #18042]
32926         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32927         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32929 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32931         [BZ #18043]
32932         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32933         (do_bz18043): Delete.
32934         (at_page_end): New.
32935         (testit): Refactor to have words at the edge of unreadable page.
32937 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32939         [BZ #16734]
32940         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32941         Cleanup read-only streams as well.
32942         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32944 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32946         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32947         <bits/libc-lockP.h>
32949 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32951         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32952         on [__KERNEL__].
32953         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32954         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32955         * soft-fp/op-common.h (_FP_DECL): Likewise.
32957 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32959         * elf/ifuncdep2.c (global): Replace
32960         __attribute__((visibility("protected"))) with
32961         asm (".protected global").
32962         * elf/ifuncmod1.c (global): Likewise.
32963         * elf/ifuncmod5.c (global): Likewise.
32965 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32967         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32968         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32970 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32972         * manual/install.texi (Configuring and compiling):
32973         Document test-wrapper-env-only.
32974         * INSTALL: Regenerated.
32976 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32978         [BZ #18043]
32979         * posix/wordexp.c (parse_param): Fix buffer overflow.
32980         * posix/wordexp-test.c (do_bz18043): Add test case.
32982 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32984         * time/tst-strptime2.c (do_test): Ensure failing tests are
32985         reported correctly.
32986         * time/tst-strptime3.c (do_test): Likewise.
32988 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32990         Fix aio_error thread-safety.
32991         * sysdeps/pthread/aio_error.c: New file
32992         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32993         synchronization.
32995 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32997         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32998         (group_number, vfprintf): Use it.
32999         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33000         (JUMP, REF): Use it.
33001         (WORK_BUFFER_SIZE): New enum constant.
33002         (process_arg, vfprintf): Use it.
33004 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33006         * manual/errno.texi (Error Messages): Complete example function
33007         by adding missing #define.
33008         (program_invocation_name): Add statement indicating GNU
33009         extension and reference which header file declares the variable.
33010         (program_invocation_short_name): Likewise.
33012 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33014         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33015         compatibility note.
33017 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33019         * Makeconfig (test-wrapper-env-only): New variable.
33020         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33021         then use that with $(test-wrapper-env-only) rather than using
33022         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33024 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33026         [BZ #18082]
33027         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33028         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33029         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33030         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33031         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33032         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33033         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33034         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33035         Likewise.
33036         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33037         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33038         Likewise.
33039         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33040         Likewise.
33041         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33042         Likewise.
33043         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33044         Likewise.
33045         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33046         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33047         Likewise.
33048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33049         Likewise.
33050         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33051         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33053 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33055         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33056         (ETH_ALEN): New macro.
33057         (struct ether_addr): Use it for length of ether_addr_octet.
33059         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33060         (setdb): Don't call __nss_configure_lookup for "rpc".
33061         (do_test): Don't call test_rpc.
33062         (output_rpcent, test_rpc): Functions moved ...
33063         * sunrpc/test-rpcent.c: ... to this new file.
33064         * sunrpc/Makefile (tests): Add it.
33066         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33067         __xpg_sigpause.
33068         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33069         * nptl/tst-signal6.c: Likewise.
33070         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33071         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33073         * configure.ac (libc_cv_cxx_link_ok): New check.
33074         Reset CXX to empty if it fails to link.
33075         * configure: Regenerated.
33076         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33077         bug-atexit3-lib only if $(CXX) is nonempty.
33078         * nptl/Makefile (tests): Likewise for tst-cancel24.
33079         (tests, tests-static): Likewise for tst-cancel24-static.
33080         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33081         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33082         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33083         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33085 2015-03-04  Andreas Schwab  <schwab@suse.de>
33087         [BZ #17631]
33088         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33089         for non-GCC compilers.
33090         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33091         Likewise.
33093 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33095         [BZ #17776]
33096         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33097         integer before bitwise and assembly operations.
33098         (feclearexcept): Likewise.
33099         * math/test-fenvinline.c: New file.
33100         * math/Makefile: Add test-fenvinline test.
33102 2015-03-03  Alan Modra  <amodra@gmail.com>
33104         [BZ #16512]
33105         * scripts/localplt.awk: Strip off symbol version.
33106         * NEWS: Mention bug fix.
33108 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33110         * sysdeps/pthread/timer_routines.c
33111         (timer_free_list, thread_free_list, thread_active_list): Make static.
33113 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33115         [BZ #17779]
33116         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33117         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33118         Undefine.
33119         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33120         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33121         Likewise.
33122         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33123         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33124         Likewise.
33126 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33128         [BZ #18036]
33129         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33130         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33132 2015-03-02  Andreas Schwab  <schwab@suse.de>
33134         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33135         variable name.
33137 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33139         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33140         Return error status.
33142 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33144         [BZ #15969]
33145         * locale/findlocale.c (_nl_find_locale): Introduce const
33146         version of loc_name and drop unsafe type casts.
33148 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33150         * dlfcn/tststatic2.c (main): Converted to ...
33151         (do_test): ... this.
33152         (TEST_FUNCTION): New macro.
33153         Include test-skeleton.c.
33155 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33157         [BZ #17711]
33158         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33159         (tests-pie): Add vismain.
33160         (CFLAGS-vismain.c): New.
33161         * elf/vismain.c: Add comments for PIE requirement.
33163 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33165         [BZ #18046]
33166         [BZ #18047]
33167         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33168         0x1p-56L as threshold for just returning the argument.
33169         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33170         0x1p-32L as threshold for just returning the argument.
33171         * math/auto-libm-test-in: Add more tests of atanh.
33172         * math/auto-libm-test-out: Regenerated.
33173         * sysdeps/i386/fpu/libm-test-ulps: Update.
33174         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33176 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33178         * string/bcopy.c (bcopy): Call memmove for performance.
33180 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33182         * string/bzero.c (__bzero): Call memset for performance.
33184 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33186         [BZ #18068]
33187         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33188         to 00100000.
33190 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33192         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33194 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33196         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33197         (__kernel_standard): Use CSTR macro when setting exc.name.
33198         * sysdeps/ieee754/Makefile [$(subdir) = math]
33199         (CFLAGS-k_standard.c): Remove variable.
33201         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33202         setting p and q from "else if" to "else".
33203         (qzero): Likewise.
33204         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33205         (qone): Likewise.
33206         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33207         (qzerof): Likewise.
33208         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33209         (qonef): Likewise.
33210         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33211         (qzero): Likewise.
33212         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33213         (qone): Likewise.
33215         [BZ #18038]
33216         [BZ #18039]
33217         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33218         return pi/2 for arguments below 0x1p-113L.
33219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33220         return pi/2 for arguments below 0x1p-106L.
33221         * math/auto-libm-test-in: Add more tests of acos.
33222         * math/auto-libm-test-out: Regenerated.
33224         [BZ #16351]
33225         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33226         (MO): New macro.
33227         (__ieee754_asin): Force underflow exception for results with small
33228         absolute value.
33229         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33230         (MO): New macro.
33231         (__ieee754_asinf): Force underflow exception for results with
33232         small absolute value.
33233         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33234         (__ieee754_asin): Force underflow exception for results with small
33235         absolute value.
33236         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33237         (__ieee754_asinf): Force underflow exception for results with
33238         small absolute value.
33239         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33240         (__ieee754_asinl): Force underflow exception for results with
33241         small absolute value.
33242         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33243         (__ieee754_asinl): Force underflow exception for results with
33244         small absolute value.
33245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33246         (__ieee754_asinl): Force underflow exception for results with
33247         small absolute value.
33248         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33249         Include <math.h>.
33250         * math/auto-libm-test-in: Do not mark underflow exceptions as
33251         possibly missing for bug 16351.
33252         * math/auto-libm-test-out: Regenerated.
33254         [BZ #18030]
33255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33256         of power of 2 down when low part has opposite sign.
33257         * math/libm-test.inc (logb_test_data): Add more tests.
33259 2015-02-26  Andreas Schwab  <schwab@suse.de>
33261         [BZ #18032]
33262         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33263         over collating symbol inside a bracket expression.  Minor cleanup.
33264         * posix/tst-fnmatch3.c (do_test): Add test case.
33266 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33268         [BZ #18029]
33269         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33270         Adjust exponent of power of 2 down when low part has opposite
33271         sign.
33272         * math/libm-test.inc (ilogb_test_data): Add more tests.
33274 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33276         [BZ #15969]
33277         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33278         the previous change.
33280         [BZ #15969]
33281         * locale/findlocale.c (_nl_find_locale): Retry archive search
33282         after alias expansion.
33284 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33286         * iconv/tst-iconv3.c (main): Converted to ...
33287         (do_test): ... this.
33288         (TEST_FUNCTION): New macro.
33289         Include test-skeleton.c.
33291         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33292         (convert): Make function static.
33293         (test_unalign): Likewise.  Add const to argument pointee types.
33294         (main): Replace with static function do_test.
33295         Print "Succeeded." only if RET is zero.
33296         (TEST_FUNCTION): New macro.
33297         Include test-skeleton.c.
33299         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33300         returns a null pointer.
33302 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33304         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33305         to __memcpy_ppc only for static builds.
33307 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33309         [BZ #18020]
33310         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33311         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33312         * math/auto-libm-test-in: Add more tests of asinh.
33313         * math/auto-libm-test-out: Regenerated.
33314         * sysdeps/i386/fpu/libm-test-ulps: Update.
33315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33317 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33319         [BZ #15850]
33320         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33321         and ip6_mtuinfo definitions here.
33322         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33323         in this define too.  Update comment.
33325 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33327         * elf/sprof.c (load_shobj): Tweak error message to match others.
33329 2015-02-24  Kevin Easton  <kevin@guarana.org>
33331         [BZ #16145] (partial fix)
33332         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33333         to reduce lock contention.
33335 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33337         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33338         (struct timex): Update time comment.
33339         (ADJ_SETOFFSET): Define.
33341 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33343         [BZ #18019]
33344         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33345         2**56 not 2**28 as threshold for log (2x) formula.
33346         * math/auto-libm-test-in: Add more tests of acosh.
33347         * math/auto-libm-test-out: Regenerated.
33348         * sysdeps/i386/fpu/libm-test-ulps: Update.
33349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33351 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33353         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33354         parenthesis around the buf assignment.
33355         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33357 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33359         [BZ #16783]
33360         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33361         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33362         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33363         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33364         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33365         * math/libm-test.inc (scalb_test_data): Add more tests.
33367 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33369         [BZ #17916]
33370         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33371         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33373 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33375         [BZ #17523]
33376         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33377         * io/bits/fcntl2.h (open): Use it.
33378         (openat): Likewise.
33379         * io/open.c (__libc_open): Likewise.
33380         * io/open64.c (__libc_open64): Likewise.
33381         * io/open64_2.c (__open64_2): Likewise.
33382         * io/open_2.c (__open_2): Likewise.
33383         * io/openat.c (__openat): Likewise.
33384         * io/openat64.c (__openat64): Likewise.
33385         * io/openat64_2.c (__openat64_2): Likewise.
33386         * io/openat_2.c (__openat_2): Likewise.
33387         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33388         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33389         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33390         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33391         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33392         (__open_nocancel): Likewise.
33393         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33394         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33395         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33397 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33399         [BZ #14841]
33400         * resolv/gethnamaddr.c (getanswer): Skip logging if
33401         RES_USE_DNSSEC is set.
33402         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33404 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33406         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33408 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33410         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33411         201304L, for Unicode 7.
33413 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33415         [BZ #17836]
33416         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33417         shared library.  Add gmon-start.os otherwise.
33418         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33419         $(objpfx)gmon-start.os if builing shared library.
33420         ($(objpfx)g$(static-start-installed-name)): Likewise.
33422 2015-02-23  Andreas Schwab  <schwab@suse.de>
33424         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33426 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33428         [BZ #17269]
33429         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33430         (enlarge_userbuf): Likewise.
33432 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33434         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33435         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33436         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33437         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33439 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33441         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33442         expression inside statement expression.
33444 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33447         <sysdeps/nptl/lowlevellock.h> and remove macros and
33448         functions that are now defined there.
33449         (SYS_futex): Remove.
33450         (lll_compare_and_swap): Remove.
33451         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33453 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33455         [BZ #17999]
33456         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33457         instead of scandirat.
33458         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33459         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33460         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33461         __scandirat.
33462         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33463         (__scandirat): Declare.  Use libc_hidden_proto.
33464         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33465         Remove variable.
33466         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33468 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33470         [BZ #15319]
33471         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33472         (MO): New macro.
33473         (__ieee754_atan2): For results with small absolute value, force
33474         underflow exception and remove excess range and precision from
33475         return value.
33476         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33477         (MO): New macro.
33478         (__ieee754_atan2f): For results with small absolute value, force
33479         underflow exception and remove excess range and precision from
33480         return value.
33481         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33482         (MO): New macro.
33483         (__atan): For results with small absolute value, force underflow
33484         exception and remove excess range and precision from return value.
33485         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33486         (MO): New macro.
33487         (__atanf): For results with small absolute value, force underflow
33488         exception and remove excess range and precision from return value.
33489         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33490         <math.h>.
33491         (__ieee754_atan2): Force underflow exception for results with
33492         small absolute value.
33493         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33494         <math_private.h>.
33495         (atan): Force underflow exception for results with small absolute
33496         value.
33497         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33498         (__atanf): Force underflow exception for results with small
33499         absolute value.
33500         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33501         <math.h>.
33502         (__atanl): Force underflow exception for results with small
33503         absolute value.
33504         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33505         (__atanl): Force underflow exception for results with small
33506         absolute value.
33507         * sysdeps/x86/fpu/bits/mathinline.h
33508         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33509         (__ieee754_atan2): Only define inline for long double.
33510         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33511         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33512         * math/auto-libm-test-in: Do not mark underflow exceptions as
33513         possibly missing for bug 15319.  Add more tests of atan2.
33514         * math/auto-libm-test-out: Regenerated.
33515         * math/libm-test.inc (casin_test_data): Do not mark underflow
33516         exceptions as possibly missing for bug 15319.
33517         (casinh_test_data): Likewise.
33518         * sysdeps/i386/fpu/libm-test-ulps: Update.
33520 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33522         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33523         * sysdeps/mips/bits/endian.h: Fix comments.
33525 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33527         [BZ #17996]
33528         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33529         (hdestroy_r): Likewise.
33530         (hsearch_r): Likewise.
33531         (__hcreate_r): Declare and use libc_hidden_proto.
33532         (__hdestroy_r): Likewise.
33533         (__hsearch_r): Likewise.
33534         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33535         (hcreate): Call __hcreate_r instead of hcreate_r.
33536         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33537         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33538         as weak alias of __hcreate_r.
33539         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33540         __hdestroy_r.
33541         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33542         __hsearch_r.
33543         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33544         Remove variable.
33545         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33546         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33547         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33548         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33550 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33552         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33553         arena_lock into a single arena_get.
33555 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33557         * dl-reloc.c: Inlucde libc-internal.h.
33558         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33559         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33560         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33561         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33562         (grow_heap): Likewise.
33563         * malloc/malloc.c: Include libc-internal.h.
33564         (do_check_malloc): Call powerof2.
33565         (sysmalloc): Use pagesize. Call ALIGN_UP.
33566         (systrim): Use pagesize.
33567         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33568         (__libc_valloc): Use pagesize.
33569         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33571 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33573         [BZ #17991]
33574         * include/sys/resource.h (__getrlimit64): Declare.  Use
33575         libc_hidden_proto.
33576         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33577         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33578         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33579         getrlimit64.
33580         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33581         __getrlimit64.
33582         [!getrlimit64] (getrlimit64): Define as weak alias of
33583         __getrlimit64.  Use libc_hidden_weak.
33584         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33585         using __getrlimit64 not __new_getrlimit64.
33586         (__GI_getrlimit64): Likewise.
33587         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33588         Likewise.
33589         (__GI_getrlimit64): Likewise.
33590         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33592         (getrlimit): Add __getrlimit64 alias.
33593         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33594         Likewise.
33595         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33596         Remove variable.
33597         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33598         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33600 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33602         * libio/fileops.c: Add missing sys/mman.h
33603         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33605 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33607         * manual/math.texi (Errors in Math Functions): Clarify goals
33608         regarding inexact and underflow exceptions.
33610 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33612         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33613         * sysdeps/mips/memset.S: Ditto.
33615 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33617         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33619 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33621         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33622         (__v1longjmp): Remove versioned symbol.
33623         (__v1siglongjmp): Remove alias and versioned symbol.
33624         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33625         (__v2siglongjmp): Likewise.
33627 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33629         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33631 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33633         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33635 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33637         [BZ #17987]
33638         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33639         zero result does not depend on the sign resulting from
33640         subtraction.
33641         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33642         Likewise.
33643         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33644         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33645         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33646         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33647         * math/libm-test.inc (remquo_test_data): Add more tests.
33649 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33651         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33652         Problem reported by J William Piggott.
33654 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33656         [BZ #17978]
33657         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33658         products 4 * y and 2 * y where those would overflow.
33659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33660         Likewise.
33661         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33662         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33663         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33664         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33665         * math/libm-test.inc (remquo_test_data): Add more tests.
33667         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33669         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33670         [defined _COMPILING_NEWLIB].
33671         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33672         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33674         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33675         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33677 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33679         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33680         acquired.
33682 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33684         [BZ #17792]
33685         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33686         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33687         HOST_STACK_END_ADDR): Likewise.
33689 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33691         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33692         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33693         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33695 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33697         * sysdeps/generic/c++-types.data: New file.
33698         * sysdeps/generic/ld.abilist: New file.
33699         * sysdeps/generic/libBrokenLocale.abilist: New file.
33700         * sysdeps/generic/libanl.abilist: New file.
33701         * sysdeps/generic/libc.abilist: New file.
33702         * sysdeps/generic/libcrypt.abilist: New file.
33703         * sysdeps/generic/libdl.abilist: New file.
33704         * sysdeps/generic/libm.abilist: New file.
33705         * sysdeps/generic/libpthread.abilist: New file.
33706         * sysdeps/generic/libresolv.abilist: New file.
33707         * sysdeps/generic/librt.abilist: New file.
33709 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33711         [BZ #17569]
33712         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33713         Compute absolute value of x as modified by fmod, not original
33714         value of x.
33715         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33716         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33717         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33718         RUN_TEST_ffI_f1_mod8.
33719         (remquo_test_data): Add more tests.
33721 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33723         * sysdeps/init_array/pt-crti.S: New file.
33725 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33727         [BZ #17967]
33728         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33729         __builtin_fmaf instead of relying on contraction of a * b + c.
33731 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33733         [BZ #17969]
33734         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33735         node.
33737 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33739         [BZ #17964]
33740         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33741         __builtin_fma instead of relying on contraction of a * b + c.
33743 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33745         * Makeconfig (ASFLAGS): Add -Werror=undef.
33746         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33747         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33748         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33750         * Makeconfig (after-link): New variable.
33751         (+link-pie, +link-pie-tests): Use it.
33752         (+link-static, +link-static-tests): Likewise.
33753         (+link, +link-tests): Likewise.
33754         * Makerules (build-module, build-module-asneeded): Likewise.
33755         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33756         Likewise.
33757         * elf/Makefile ($(objpfx)ld.so): Likewise.
33759 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33761         [BZ #17965]
33762         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33763         both struct timeval and struct timespec.
33765 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33767         [BZ #16560]
33768         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33769         and redefine.
33770         (__ieee754_exp2l): Do not multiply small fractional parts by
33771         M_LN2l.
33772         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33773         small argument.
33774         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33775         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33776         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33777         * math/auto-libm-test-in: Add more tests of exp2.
33778         * math/auto-libm-test-out: Regenerated.
33780 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33782         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33783         unaligned path.
33785 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33787         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33788         little endian.
33790 2015-02-12  Andreas Schwab  <schwab@suse.de>
33792         [BZ #15790]
33793         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33794         Filter out elision flags from value returned in kind.
33795         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33796         * nptl/tst-pthread-mutexattr.c: New file.
33798 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33800         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33801         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33802         into gnu-gnu, and update comment to refer to abi-tags.
33804 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33806         [BZ #15467]
33807         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33808         (__sincos): Set errno to EDOM for infinite argument.
33809         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33810         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33811         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33812         (__sincosl): Set errno to EDOM for infinite argument.
33813         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33814         (__sincosl): Set errno to EDOM for infinite argument.
33815         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33816         (__sincosl): Set errno to EDOM for infinite argument.
33817         * math/libm-test.inc (sincos_test_data): Test errno setting.
33819 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33821         * string/strxfrm_l.c: Remove #define STRCMP.
33822         * string/strcoll_l.c: Remove #define STRLEN.
33823         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33824         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33826 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33828         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33829         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33830         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33831         * sysdeps/mips/mips64/Makefile: ... here.
33832         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33833         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33834         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33835         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33836         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33837         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33838         * sysdeps/mips/mips64/n64/Implies: Likewise.
33840 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33842         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33843         <sys/time.h>, <string.h>, and <errno.h>.
33844         (dest_offset, dest_address, value, zero): Remove unused variables.
33845         (ldouble): Remove typedef.
33846         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33847         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33848         1).  Fix code style.
33849         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33850         (check): Function removed.
33851         (CHECK): New macro.
33852         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33853         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33854         Don't call set_sigaction_FP and remove_sigaction_FP here.
33855         (ldouble_test): Just use 'long double' as macro argument, no need for
33856         the 'ldouble' typedef.
33857         (do_test): Set up SIGFPE handler at start, using plain signal rather
33858         than sigaction.  Fix code style.
33860 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33862         [BZ #17949]
33863         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33864         jump label.
33866 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33868         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33869         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33871         * sysdeps/powerpc/configure.ac: Remove file.
33872         * sysdeps/powerpc/configure: Likewise.
33874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33875         [sysdep_routines]: Remove wordcopy-power6 object.
33876         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33877         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33878         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33879         (__memmove_ppc32): Likewise.
33880         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33881         file.
33882         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33883         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33884         Remove preprocessor.
33886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33887         [sysdep_routines]: Remove wide chars objects.
33888         [wcsmbs]: New rule for wide char objects.
33890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33891         Remove wordcopy-power6 obejct.
33892         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33893         Use local call for wordcopy and memcpy symbols.
33894         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33895         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33896         implementation for loader.
33897         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33900         Remove wordcopy-power7 object.
33901         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33902         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33903         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33904         (_wordcopy_fwd_dest_aligned): Likewise.
33905         (_wordcopy_bwd_aligned): Likewise.
33906         (_wordcopy_bwd_dest_aligned): Likewise.
33908         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33909         Rewrite to call __memmove_ppc instead of include default
33910         implementation.
33912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33913         Remove wide chars objects.
33914         [wcsmbs]: New rule for wide char objects.
33916 2015-02-09  Andreas Schwab  <schwab@suse.de>
33918         [BZ #17912]
33919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33920         in terms of __O_DIRECTORY.
33922 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33924         * time/getdate.c: Include <stdbool.h>.
33925         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33926         call PTR_MANGLE.
33927         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33928         PTR_DEMANGLE.
33930 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33932         Add ersatz _Static_assert on older C hosts
33933         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33934         pre-C11 C platform that is not known to support _Static_assert.
33936 2015-02-07  Richard Braun  <rbraun@sceen.net>
33938         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33939         sigstate.
33940         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33942 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33944         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33945         priority against unexistent AIO_PRIO_DELTA_MAX.
33946         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33947         instead of int.
33948         * misc/fchflags.c (fchflags): Likewise.
33949         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33950         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33951         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33952         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33953         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33954         Declare macros.
33955         [__USE_MISC] (chflags, fchflags): Declare functions.
33956         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33957         EINVAL when nfds is greater than FD_SETSIZE.
33958         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33959         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33960         45.
33961         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33962         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33963         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33964         MACH_RCV_TIMED_OUT.
33965         * hurd/hurd/signal.h (_hurd_self_sigstate,
33966         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33967         Explicit casts from void *.
33968         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33969         * abi-tags: Rename gnu-gnu os into gnu.
33971         [BZ #4719]
33972         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33973         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33974         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33975         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33976         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33977         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33979         [BZ #17944]
33980         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33981         duplicates ADDR->sun_path with sockaddr LEN limitation.
33982         * sysdeps/mach/hurd/connect.c: Include <string.h>
33983         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33984         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33985         * sysdeps/mach/hurd/sendto.c: Likewise.
33986         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33987         implementing it by hand.
33989 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33991         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33992         Use sfi_breg on ldr.
33993         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33994         Likewise.
33996         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33997         it's defined.
33998         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33999         Test SIGSETXID only if it's defined.
34001         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34003         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34004         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34006         * nptl/tst-align2.c: Moved ...
34007         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34008         * nptl/Makefile (tests): Remove tst-align2.
34009         * sysdeps/unix/sysv/linux/Makefile
34010         [$(subdir) = nptl] (tests): Add tst-align-clone.
34011         * nptl/tst-getpid1.c: Moved ...
34012         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34013         * nptl/tst-getpid2.c: Moved ...
34014         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34015         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34016         * sysdeps/unix/sysv/linux/Makefile
34017         [$(subdir) = nptl] (tests): ... here.
34018         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34019         * sysdeps/unix/sysv/linux/Makefile
34020         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34022         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34023         Drop trailing \n from perror argument.  Use return rather than exit.
34025         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34026         on [SA_SIGINFO].
34027         * nptl/tst-cancel21.c (do_test): Likewise.
34028         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34029         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34030         [!SA_SIGINFO]: Make it a stub test.
34032         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34033         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34035         * posix/tst-getlogin.c: Move to ...
34036         * login/tst-getlogin.c: ... here.
34037         * posix/Makefile (tests): Move tst-getlogin to ...
34038         * login/Makefile (tests): ... here.
34040         * libio/tst-atime.c (do_test): Move local variables SV and E
34041         inside [ST_NOATIME] conditional.
34043         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34045         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34047         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34048         (wait_code): New function replaces macro.
34049         Call nanosleep rather than syscall.
34051         * nptl/pt-system.c: Rewritten.  Put everything under
34052         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34053         Use IFUNC to redirect when possible.
34055         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34056         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34057         Use IFUNC to redirect when possible.
34059         * nptl/pt-fork.c: Rewritten.  Put everything under
34060         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34061         Use IFUNC to redirect when possible.
34062         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34065         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34066         unconditionally nowadays.  This included the only reference to
34067         __vdso_clock_gettime that appears outside libc proper.
34068         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34069         Remove version set (containing only __vdso_clock_gettime).
34070         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34071         Add attribute_hidden.
34072         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34073         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34074         libc_hidden_data_def.
34075         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34076         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34078         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34079         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34080         setrpcent, and getrpcport to ...
34081         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34082         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34083         getrpcbynumber_r, and getrpcent_r to ...
34084         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34085         * inet/getrpcbyname.c: Moved ...
34086         * sunrpc/getrpcbyname.c: ... here.
34087         * inet/getrpcbyname_r.c: Moved ...
34088         * sunrpc/getrpcbyname_r.c: ... here.
34089         * inet/getrpcbynumber.c: Moved ...
34090         * sunrpc/getrpcbynumber.c: ... here.
34091         * inet/getrpcbynumber_r.c: Moved ...
34092         * sunrpc/getrpcbynumber_r.c: ... here.
34093         * inet/getrpcent.c: Moved ...
34094         * sunrpc/getrpcent.c: ... here.
34095         * inet/getrpcent_r.c: Moved ...
34096         * sunrpc/getrpcent_r.c: ... here.
34097         * inet/Makefile (routines): Move those to ...
34098         * sunrpc/Makefile (routines): ... here.
34099         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34100         the $(subdirs) list.
34101         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34102         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34103         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34104         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34106         * elf/Makefile (routines): Include $(all-dl-routines), not just
34107         $(dl-routines).
34108         (rtld-routines): Likewise.  Use = rather than :=.
34109         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34110         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34111         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34112         * sysdeps/arm/Makefile: Likewise.
34113         * sysdeps/i386/Makefile: Likewise.
34114         * sysdeps/x86_64/Makefile: Likewise.
34115         * sysdeps/hppa/Makefile [$(subdir) = elf]
34116         (sysdep_routines, sysdep-rtld-routines): Don't add
34117         $(sysdep-dl-routines) to these.
34118         * sysdeps/ia64/Makefile: Likewise.
34119         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34120         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34121         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34122         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34123         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34124         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34125         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34126         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34127         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34128         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34129         these; sysdep-dl-routines alone is enough.
34131 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34133         [BZ #17932]
34134         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34135         where multiplication results in zero and third argument is finite
34136         and nonzero.
34137         * math/auto-libm-test-in: Add more tests of fma.
34138         * math/auto-libm-test-out: Regenerated.
34140         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34141         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34142         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34143         (_FP_CMP_EQ): Likewise.
34144         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34146         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34147         extra argument CHECK_NAN.  Redefine as wrapper around
34148         _FP_EXTEND_CNAN.
34150 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34152         * version.h (RELEASE): Set to "stable".
34153         (VERSION): Set to "2.21"
34154         * include/features.h (__GLIBC_MINOR__): Set to 21.
34156         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34158 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34159             Paul Eggert  <eggert@cs.ucla.edu>
34161         [BZ #16618]
34162         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34163         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34164         size in bytes. Store needed elements in wpmax. Use needed size
34165         in bytes for extend_alloca.
34167 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34169         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34170         binutls 2.25, and texinfo 5.2.
34171         * INSTALL: Regenerate.
34172         * sysdeps/nios2/configure: Regenerate.
34173         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34174         * manual/contrib.texi: Update.
34175         * po/be.po: Update.
34176         * po/bg.po: Update.
34177         * po/ca.po: Update.
34178         * po/cs.po: Update.
34179         * po/da.po: Update.
34180         * po/de.po: Update.
34181         * po/el.po: Update.
34182         * po/eo.po: Update.
34183         * po/es.po: Update.
34184         * po/fi.po: Update.
34185         * po/fr.po: Update.
34186         * po/gl.po: Update.
34187         * po/hr.po: Update.
34188         * po/hu.po: Update.
34189         * po/ia.po: Update.
34190         * po/id.po: Update.
34191         * po/it.po: Update.
34192         * po/ja.po: Update.
34193         * po/ko.po: Update.
34194         * po/lt.po: Update.
34195         * po/nb.po: Update.
34196         * po/nl.po: Update.
34197         * po/pl.po: Update.
34198         * po/pt_BR.po: Update.
34199         * po/ru.po: Update.
34200         * po/rw.po: Update.
34201         * po/sk.po: Update.
34202         * po/sl.po: Update.
34203         * po/sv.po: Update.
34204         * po/tr.po: Update.
34205         * po/uk.po: Update.
34206         * po/vi.po: Update.
34207         * po/zh_CN.po: Update.
34208         * po/zh_TW.po: Update.
34210         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34211         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34212         * sysdeps/hppa/dl-irel.h: Remove #warning.
34213         * sysdeps/hppa/entry.h: Provide prototype for
34214         __canonicalize_funcptr_for_compare and cast argument.
34215         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34216         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34217         * sysdeps/hppa/sotruss-lib.c: New file.
34218         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34219         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34220         (atomic_compare_and_exchange_bool_acq): Likewise.
34221         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34222         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34224         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34225         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34226         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34228 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34230         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34231         called function in non-PIC case.
34233 2015-01-31  David S. Miller  <davem@davemloft.net>
34235         * sysdeps/sparc/sparc32/bits/atomic.h
34236         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34237         unlock not after it.
34238         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34239         volatile register usage warnings from the compiler.
34241         * sysdeps/sparc/nptl/sem_init.c: Delete.
34242         * sysdeps/sparc/nptl/sem_post.c: Delete.
34243         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34244         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34245         * sysdeps/sparc/sparc32/sem_init.c: New file.
34246         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34247         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34248         padding explicitly initialized.
34249         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34250         padding for in-semaphore spinlock.
34251         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34252         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34253         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34254         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34255         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34256         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34257         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34258         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34259         version.
34260         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34261         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34263 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34265         [BZ #17801]
34266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34267         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34268         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34269         New.
34270         (index_AVX_Fast_Unaligned_Load): Likewise.
34271         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34272         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34273         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34274         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34275         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34276         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34277         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34278         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34279         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34281 2015-01-29  Andreas Schwab  <schwab@suse.de>
34283         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34285 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34287         [BZ #17892]
34288         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34290 2015-01-28  Martin Sebor  <msebor@redhat.com>
34292         * math/README.libm-test: Clarify. Add "How to read the test output."
34294 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34296         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34297         Define to 0.
34299 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34301         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34302         (__HAVE_64B_ATOMICS): Define to 0.
34304 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34306         [BZ #17885]
34307         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34308         value to set as new flag.
34310         [BZ #16576]
34311         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34312         and use _ARCH_PPCSQ instead.
34313         (__ieee754_sqrt): Likewise.
34314         (__ieee754_sqrtf): Likewise.
34315         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34316         _ARCH_PPCSQ is defined.
34317         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34318         fsqrt instruction.
34319         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34320         _ARCH_PPCSQ is defined.
34321         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34322         fsqrts instruction.
34323         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34325 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34327         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34328         bug (GCC BZ #64739).
34330 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34332         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34333         Mark _retval as used.
34334         (lll_futex_wake_unlock): Likewise.
34335         (lll_futex_timed_wait_requeue_pi): Likewise.
34337         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34338         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34339         register variables.
34341         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34342         libm_hidden_def.
34344         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34345         (__bswap_64): Mark as __always_inline.
34347 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34349         [BZ #15378]
34350         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34351         when none of the search directories exist.
34353 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34355         [BZ #17869]
34356         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34357         power8 in .machine directive.
34359         [BZ #17868]
34360         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34361         set dependency from opd value.
34363 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34366         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34367         architecture.
34369 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34371         [BZ #17870]
34372         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34373         with uint64_t.
34374         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34375         (uint64_t) 1.
34376         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34377         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34378         Replace 1UL with (uint64_t) 1.
34379         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34380         int with uint64_t.
34382 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34384         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34385         (if_freenameindex): Likewise.
34387         * resource/getrlimit64.c: Add missing libc_hidden_def.
34389 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34391         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34392         __label__.
34393         (_FP_FMA): Likewise.
34394         (_FP_TO_INT_ROUND): Likewise.
34395         (_FP_FROM_INT): Likewise.
34397 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34399         [BZ #16418]
34400         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34401         Make code racy and cancel safe.
34403 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34405         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34406         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34407         attribution.
34409         * pwd/tst-getpw.c: Rewrite.
34411         [BZ #17702]
34412         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34413         (modules-names): Add moddummy1 and moddummy2.
34414         ($(objpfx)tst-rec-dlopen): Define.
34415         * dlfcn/moddummy1.c: New file.
34416         * dlfcn/moddummy2.c: New file.
34417         * dlfcn/tst-rec-dlopen.c: New file.
34418         * elf/dl-cache.c (_dl_load_cache_lookup):
34419         Return char*. Copy result with alloca/strcpy/strdup.
34420         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34421         returns char*. Free cached. If not saving realname
34422         free cached.
34423         * elf/dl-open.c (dl_open_worker): Do not assert that
34424         _r_debug->r_state is RT_CONSISTENT.
34425         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34426         returns char*.
34428 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34429             Carlos O'Donell  <carlos@redhat.com>
34431         [BZ #12674]
34432         * nptl/sem_waitcommon.c: New file.
34433         * nptl/sem_wait.c: Include sem_waitcommon.c.
34434         (__sem_wait_cleanup, do_futex_wait): Remove.
34435         (__new_sem_wait): Adapt.
34436         (__new_sem_trywait): New function.
34437         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34438         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34439         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34440         (sem_timedwait): Adapt.
34441         * nptl/sem_post.c (__new_sem_post): Adapt.
34442         (futex_wake): New function.
34443         (__old_sem_post): Add release MO fence.
34444         * nptl/sem_open.c (sem_open): Adapt.
34445         * nptl/sem_init.c (__new_sem_init): Adapt.
34446         (futex_private_if_supported): New function.
34447         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34448         (__old_sem_getvalue): Add using previous code.
34449         * sysdeps/nptl/internaltypes.h: Adapt.
34450         * nptl/tst-sem13.c (do_test): Adapt.
34451         * nptl/tst-sem11.c (main): Adapt.
34452         * nptl/sem_trywait.c: Remove.
34453         * nptl/DESIGN-sem.txt: Remove.
34454         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34455         (gen-as-const-headers): Remove structsem.sym.
34456         * nptl/structsem.sym: Remove.
34457         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34458         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34459         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34460         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34461         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34462         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34463         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34464         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34465         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34466         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34467         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34468         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34469         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34470         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34471         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34472         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34473         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34474         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34475         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34476         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34477         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34478         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34480 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34482         * INSTALL: Regenerated.
34484         * po/libc.pot: Regenerated.
34486 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34487             Sandra Loosemore  <sandra@codesourcery.com>
34488             Andrew Jenner  <andrew@codesourcery.com>
34489             Joseph Myers  <joseph@codesourcery.com>
34490             Nathan Sidwell  <nathan@codesourcery.com>
34492         * NEWS: Mention new Nios II port.
34493         * sysdeps/nios2/Implies: New file.
34494         * sysdeps/nios2/Makefile: New file.
34495         * sysdeps/nios2/Subdirs: New file.
34496         * sysdeps/nios2/Versions: New file.
34497         * sysdeps/nios2/__longjmp.S: New file.
34498         * sysdeps/nios2/abort-instr.h: New file.
34499         * sysdeps/nios2/backtrace.c: New file.
34500         * sysdeps/nios2/bits/endian.h: New file.
34501         * sysdeps/nios2/bits/fenv.h: New file.
34502         * sysdeps/nios2/bits/link.h: New file.
34503         * sysdeps/nios2/bits/setjmp.h: New file.
34504         * sysdeps/nios2/bsd-_setjmp.S: New file.
34505         * sysdeps/nios2/bsd-setjmp.S: New file.
34506         * sysdeps/nios2/configure: New generated file.
34507         * sysdeps/nios2/configure.ac: New file.
34508         * sysdeps/nios2/crti.S: New file.
34509         * sysdeps/nios2/crtn.S: New file.
34510         * sysdeps/nios2/dl-init.c: New file.
34511         * sysdeps/nios2/dl-machine.h: New file.
34512         * sysdeps/nios2/dl-sysdep.h: New file.
34513         * sysdeps/nios2/dl-tls.h: New file.
34514         * sysdeps/nios2/dl-trampoline.S: New file.
34515         * sysdeps/nios2/gccframe.h: New file.
34516         * sysdeps/nios2/gmp-mparam.h: New file.
34517         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34518         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34519         * sysdeps/nios2/ldsodefs.h: New file.
34520         * sysdeps/nios2/libc-tls.c: New file.
34521         * sysdeps/nios2/libm-test-ulps: New file.
34522         * sysdeps/nios2/machine-gmon.h: New file.
34523         * sysdeps/nios2/math-tests.h: New file.
34524         * sysdeps/nios2/math_private.h: New file.
34525         * sysdeps/nios2/memusage.h: New file.
34526         * sysdeps/nios2/nptl/Makefile: New file.
34527         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34528         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34529         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34530         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34531         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34532         * sysdeps/nios2/nptl/tls.h: New file.
34533         * sysdeps/nios2/preconfigure: New file.
34534         * sysdeps/nios2/s_fma.c: New file.
34535         * sysdeps/nios2/s_fmaf.c: New file.
34536         * sysdeps/nios2/setjmp.S: New file.
34537         * sysdeps/nios2/sfp-machine.h: New file.
34538         * sysdeps/nios2/sotruss-lib.c: New file.
34539         * sysdeps/nios2/stackguard-macros.h: New file.
34540         * sysdeps/nios2/stackinfo.h: New file.
34541         * sysdeps/nios2/start.S: New file.
34542         * sysdeps/nios2/sysdep.h: New file.
34543         * sysdeps/nios2/tls-macros.h: New file.
34544         * sysdeps/nios2/tst-audit.h: New file.
34545         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34546         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34547         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34548         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34549         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34550         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34551         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34552         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34553         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34554         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34555         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34556         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34557         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34558         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34559         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34560         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34561         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34562         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34563         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34564         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34565         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34566         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34567         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34568         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34569         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34570         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34571         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34572         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34573         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34574         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34575         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34576         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34577         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34578         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34579         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34580         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34581         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34582         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34583         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34584         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34585         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34586         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34587         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34588         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34590 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34592         [BZ #17844]
34593         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34594         (getutent): Use weak_alias in non SHARED case
34595         and default_symbol_version in SHARED case.
34596         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34597         (getutent_r, pututline): Likewise.
34598         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34599         (getutid): Likewise.
34600         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34601         (getutid_r): Likewise.
34602         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34603         (getutline): Likewise.
34604         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34605         (getutline_r): Likewise.
34606         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34607         (updwtmp): Likewise.
34609 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34611         [BZ #17848]
34612         * sysdeps/s390/s390-32/memcmp.S
34613         (memcmp_g5): Rename to __memcmp_g5.
34614         * sysdeps/s390/s390-32/memcpy.S
34615         (memcpy_g5): Rename to __memcpy_g5.
34616         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34617         (memcpy_mvcle) Rename to __memcpy_mvcle.
34618         * sysdeps/s390/s390-32/memset.S
34619         (memset_g5): Rename to __memset_g5.
34620         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34621         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34622         and use prefixed functions.
34623         * sysdeps/s390/s390-32/multiarch/memcmp.S
34624         (memcmp_z196): Rename to __memcmp_z196.
34625         (memcmp_z10): Rename to __memcmp_z10.
34626         (memcmp): Set alias to __memcmp_g5.
34627         (bcmp): Set alias to __memcmp_g5.
34628         * sysdeps/s390/s390-32/multiarch/memcpy.S
34629         (memcpy_z196): Rename to __memcpy_z196.
34630         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34631         (memcpy_z10): Rename to __memcpy_z10.
34632         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34633         (memcpy): Set alias to __memcpy_g5.
34634         * sysdeps/s390/s390-32/multiarch/memset.S
34635         (memset_z196): Rename to __memset_z196.
34636         Jump to __memset_mvcle instead of memset_mvcle.
34637         (memset_z10): Rename to __memset_z10.
34638         Jump to __memset_mvcle instead of memset_mvcle.
34639         (memset_mvcle) Rename to __memset_mvcle.
34640         (memset): Set alias to __memset_g5.
34641         * sysdeps/s390/s390-64/memcmp.S
34642         (memcmp_z900): Rename to __memcmp_z900.
34643         * sysdeps/s390/s390-64/memcpy.S
34644         (memcpy_z900): Rename to __memcpy_z900.
34645         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34646         (memcpy_mvcle) Rename to __memcpy_mvcle.
34647         * sysdeps/s390/s390-64/memset.S
34648         (memset_z900): Rename to __memset_z900.
34649         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34650         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34651         and use prefixed functions.
34652         * sysdeps/s390/s390-64/multiarch/memcmp.S
34653         (memcmp_z196): Rename to __memcmp_z196.
34654         (memcmp_z10): Rename to __memcmp_z10.
34655         (memcmp): Set alias to __memcmp_z900.
34656         (bcmp): Set alias to __memcmp_z900.
34657         * sysdeps/s390/s390-64/multiarch/memcpy.S
34658         (memcpy_z196): Rename to __memcpy_z196.
34659         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34660         (memcpy_z10): Rename to __memcpy_z10.
34661         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34662         (memcpy): Set alias to __memcpy_z900.
34663         * sysdeps/s390/s390-64/multiarch/memset.S
34664         (memset_z196): Rename to __memset_z196.
34665         Jump to __memset_mvcle instead of memset_mvcle.
34666         (memset_z10): Rename to __memset_z10.
34667         Jump to __memset_mvcle instead of memset_mvcle.
34668         (memset_mvcle) Rename to __memset_mvcle.
34669         (memset): Set alias to __memset_z900.
34671 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34673         [BZ #17748]
34674         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34675         __fesetenv instead of fesetenv.
34677 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34679         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34680         macro.
34682 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34684         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34685         regression on LE.
34687         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34688         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34689         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34690         strncmp-power8 object.
34691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34692         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34693         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34694         * NEWS: Update.
34696 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34697             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34699         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34700         trailing byte check.
34702 2015-01-13  David S. Miller  <davem@davemloft.net>
34704         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34706 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34708         * login/logout.c (logout): Use memset rather than bzero.
34709         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34710         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34711         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34712         (_gethtbyaddr): Likewise.
34713         * locale/programs/simple-hash.c (bcopy): Macro removed.
34715 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34718         Add strcmp-power8 object.
34719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34720         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34721         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34722         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34723         __strcmp_power8 implementation.
34724         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34725         * NEWS: Update.
34727         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34728         Add strncpy-power8 and stpncpy-power8 objects.
34729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34730         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34731         implementations.
34732         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34733         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34734         __stpncpy_power8 implementation.
34735         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34736         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34737         __strncpy_power8 implementation.
34738         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34739         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34740         * NEWS: Update.
34742         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34743         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34744         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34746         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34747         strncat-power8 object.
34748         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34749         __strcat_power8 implementation.
34750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34751         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34752         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34753         optimized strcat for power8.
34755         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34756         strcpy-power8 and stpcpy-power8 objects.
34757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34758         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34759         implementations.
34760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34761         multiarch stpcpy implementation for POWER8.
34762         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34763         multiarch strcpy implementation for POWER8.
34764         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34765         __strcpy_power8 function.
34766         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34767         stpcpy for POWER8.
34768         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34769         strcpy for POWER8.
34770         * NEWS: Update.
34772 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34774         [BZ #16009]
34775         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34776         weights and rules. Use do_xfrm_cached if data fits in cache,
34777         do_xfrm otherwise.  Moved former main loop to...
34778         * (do_xfrm_cached): New function.
34779         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34780         find_idx, find_position and stack_push.
34781         * (find_idx): New function.
34782         * (find_position): Likewise.
34783         * localedata/sort-test.sh: Added test run for do_xfrm.
34784         * localedata/xfrm-test.c (main): Added command line option
34785         -nocache to run the test with strings that are too large for
34786         the STRXFRM cache.
34788 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34790         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34791         variable to lll_futex_wake call, not the value itself.
34793 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34795         [BZ #17803]
34796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34797         twom64.  Adjust value to 0x1p-64L.
34798         (__scalblnl): Only return standard underflowing result for K <=
34799         -64 not K <= -63; adjust exponent for underflowing result by 64
34800         not 63.
34801         * math/libm-test.inc (scalbn_test_data): Add more tests.
34802         (scalbln_test_data): Likewise.
34804         [BZ #17834]
34805         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34806         0x1p63L.
34807         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34808         not HX.
34809         * math/libm-test.inc (scalbn_test_data): Add more tests.
34810         (scalbln_test_data): Likewise.
34812 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34813             Stefani Seibold  <stefani@seibold.net>
34815         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34816         (sysdep_routines): Add dl-vdso here, ...
34817         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34818         (sysdep_routines): ... not here.
34819         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34820         fallback when vDSO is not presented.
34821         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34822         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34823         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34824         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34825         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34826         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34827         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34828         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34829         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34830         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34831         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34832         fallback configurable symbol when vDSO is not available.
34833         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34834         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34835         be able to redefine fallback symbol when vDSO is not available.
34836         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34837         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34839 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34841         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34842         (TLS_INIT_TP): Add tm_capable initialization.
34843         (TLS_DEFINE_INIT_TP): Likewise.
34844         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34845         TCB.
34846         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34847         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34848         calculation.
34849         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34850         transactoion is lock elision is built and TCB tm_capable is set.
34851         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34853         (INTERNAL_SYSCALL_NCS): Likewise.
34854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34855         (INTERNAL_SYSCALL_NCS): Likewise.
34856         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34858         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34859         for powerpc.
34860         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34861         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34862         and remove it for 32 bits case.
34863         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34865         initialization.
34866         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34867         Disable lock elision with rdlocks if elision is not available.
34869         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34870         (sysdep_routines): Add lock elision objects.
34871         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34872         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34873         [pthread_mutex_t] (__elision): Add field.
34874         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34875         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34876         elision definitions for powerpc.
34877         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34878         implementation of lock elision for powerpc.
34879         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34880         implementation of timed lock elision for powerpc.
34881         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34882         implementation of trylock with lock elision for powerpc.
34883         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34884         implementaion of unlock for lock elision for powerpc.
34885         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34886         automatic enable lock elision for mutexes.
34887         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34888         transaction execution definitions for powerpc.
34889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34890         definitions.
34891         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34892         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34893         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34894         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34895         * NEWS: Update.
34897 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34899         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34900         for #include of <shm-directory.h>.
34902 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34904         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34905         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34907 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34909         [BZ #17791]
34910         * NEWS: Mention bug fix.
34911         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34912         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34913         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34915 2015-01-09  Torvald Riegel <triegel@redhat.com>
34917         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34919 2015-01-09  Torvald Riegel <triegel@redhat.com>
34921         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34923 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34925         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34926         pointer and cast to uintptr_t.
34928 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34930         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34931         removed.
34932         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34934 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34936         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34937         of 0.
34939 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34941         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34942         <nptl/pthreadP.h> instead.
34943         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34945         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34946         already defined.
34947         [__SIGRTMIN] (init): Function removed.
34948         [__SIGRTMIN] (initialized): Variable removed.
34949         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34950         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34951         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34952         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34953         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34954         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34955         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34956         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34957         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34958         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34959         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34960         * sysdeps/nptl/allocrtsig.c: New file.
34961         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34962         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34963         * sysdeps/generic/testrtsig.h: File removed.
34965         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34966         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34968         * nptl/nptl-init.c (pthread_functions): Conditionalize
34969         .ptr__nptl_setxid initialization on [SIGSETXID].
34971         * sysdeps/nptl/sys/procfs.h: New file.
34972         * nptl_db/Makefile (headers): Add it.
34973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34975         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34976         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34977         * nptl/pthread_attr_setaffinity.c: Include it.
34978         * nptl/pthread_setattr_default_np.c: Likewise.
34979         * nptl/check-cpuset.h: New file.
34981 2015-01-08  Richard Henderson  <rth@redhat.com>
34983         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34984         (CFLAGS-tst-execstack-prog.c): Likewise.
34985         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34987 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34988             Sandra Loosemore  <sandra@codesourcery.com>
34989             Andrew Jenner  <andrew@codesourcery.com>
34990             Joseph Myers  <joseph@codesourcery.com>
34991             Nathan Sidwell  <nathan@codesourcery.com>
34993         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34994         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34995         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34996         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34997         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34998         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34999         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35000         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35001         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35002         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35003         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35004         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35005         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35006         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35007         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35008         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35009         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35011 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35013         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35014         timespec struct member in syscall macro.
35015         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35016         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35017         first timeval struct member in syscall macro.
35018         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35020 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35022         [BZ #17748]
35023         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35024         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35025         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35026         __feupdateenv and define as weak alias of __feupdateenv.  Use
35027         libm_hidden_weak.
35028         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35029         libm_hidden_def.
35030         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35031         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35032         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35033         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35034         libm_hidden_def.
35035         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35036         __feupdateenv and define as weak alias of __feupdateenv.  Use
35037         libm_hidden_weak.
35038         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35039         libm_hidden_def.
35040         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35041         __feupdateenv and define as weak alias of __feupdateenv.  Use
35042         libm_hidden_weak.
35043         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35044         libm_hidden_def.
35045         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35046         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35047         (__feupdateenv): Likewise.
35048         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35049         __feupdateenv and define as weak alias of __feupdateenv.  Use
35050         libm_hidden_weak.
35051         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35052         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35053         libm_hidden_def.
35054         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35055         function.
35056         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35057         libm_hidden_def.
35058         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35059         __feupdateenv instead of feupdateenv.
35060         (default_libc_feupdateenv_test): Likewise.
35061         (libc_feresetround_ctx): Likewise.
35063 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35065         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35066         prototype.
35068 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35070         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35071         COLL_SYM in a couple of places to avoid uninitialized variable
35072         wanings on tilegx gcc 4.8.2.
35074 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35076         * sysdeps/aarch64/strcpy.S: New file.
35077         * sysdeps/aarch64/stpcpy.S: New file.
35078         * NEWS: Updated.
35080 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35082         * sysdeps/aarch64/strrchr.S: New file.
35083         * NEWS: Updated.
35085 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35087         [BZ #17658]
35088         * stdlib/setenv.c: Fix memory leak when setting large,
35089         duplicate string.
35091 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35093         [BZ #17273]
35094         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35095         and tabs from buffer before parsing fstab entry.
35096         * misc/tst-mntent.c (main): Add test for mount entry with
35097         trailing spaces and tabs.
35099 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35101         [BZ #17748]
35102         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35103         * math/fesetround.c (fesetround): Rename to __fesetround and
35104         define as weak alias of __fesetround.  Use libm_hidden_weak.
35105         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35106         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35107         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35108         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35109         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35110         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35111         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35112         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35113         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35114         __fesetround_inline.
35115         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35116         __fesetround_inline instead of __fesetround.
35117         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35118         __fesetround and define as weak alias of __fesetround.  Use
35119         libm_hidden_weak.  Call __fesetround_inline instead of
35120         __fesetround.
35121         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35122         __fesetround and define as weak alias of __fesetround.  Use
35123         libm_hidden_weak.
35124         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35125         Likewise.
35126         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35127         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35128         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35129         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35130         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35131         __fesetround and define as weak alias of __fesetround.  Use
35132         libm_hidden_weak.
35133         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35134         __fesetround instead of fesetround.
35135         (default_libc_feholdexcept_setround): Likewise.
35136         (libc_feholdsetround_ctx): Likewise.
35137         (libc_feholdsetround_noex_ctx): Likewise.
35139         [BZ #17748]
35140         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35141         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35142         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35143         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35144         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35145         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35146         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35147         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35148         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35149         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35150         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35151         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35152         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35153         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35154         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35155         libm_hidden_def.
35156         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35157         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35158         Likewise.
35159         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35160         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35161         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35162         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35163         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35164         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35165         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35166         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35167         __fesetenv instead of fesetenv.
35168         (libc_feresetround_noex_ctx): Likewise.
35169         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35170         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35171         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35172         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35173         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35174         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35175         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35176         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35177         (__feupdateenv): Likewise.
35178         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35179         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35180         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35181         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35183 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35185         [BZ #17806]
35186         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35187         addresses have been freed.
35189 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35191         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35192         and nservall.
35194 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35196         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35197         Clean up check_pf allocation pattern. addresses
35199 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35201         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35202         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35203         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35204         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35205         * nptl/pthread_join.c (pthread_join): Likewise.
35206         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35207         * sysdeps/posix/waitid.c (__waitid): Likewise.
35208         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35209         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35210         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35211         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35212         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35213         Likewise.
35214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35215         (__libc_pread64): Likewise.
35216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35217         (__libc_pwrite): Likewise.
35218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35219         (__libc_pwrite64): Likewsie.
35220         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35221         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35222         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35223         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35224         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35225         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35226         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35228         Likewise.
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35230         (__libc_pread64): Likewise.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35232         Likewise.
35233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35234         (__libc_pwrite64): Likewise.
35235         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35236         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35237         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35238         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35239         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35240         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35241         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35242         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35243         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35244         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35245         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35246         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35247         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35248         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35249         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35250         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35251         Likewise.
35253 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35255         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35256         (CFLAGS-test-double.c): Likewise.
35257         (CFLAGS-test-ldouble.c): Likewise.
35258         (CPPFLAGS-test-ifloat.c): Likewise.
35259         (CPPFLAGS-test-idouble.c): Likewise.
35260         (CPPFLAGS-test-ildoubl.c): Likewise.
35261         (CFLAGS-test-test-fenv.c): Remove variable.
35262         (CFLAGS-test-misc.c): Likewise.
35264 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35266         [BZ #17797]
35267         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35268         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35269         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35270         CLOCKS_PER_SEC == 1000000.
35271         * time/clocktest.c (main): Replace %ld with %jd and cast to
35272         intmax_t.
35274 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35276         * sysdeps/generic/unwind-resume.h: New file.
35277         * sysdeps/gnu/unwind-resume.c: Include it.
35278         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35279         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35280         argument list.
35281         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35282         global rather than static.
35283         (_Unwind_Resume): Update user.
35284         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35285         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35286         rather than static.  Add __attribute__ ((cold)).
35287         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35288         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35289         * sysdeps/arm/arm-unwind-resume.S: New file.
35290         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35291         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35292         * sysdeps/arm/Makefile [$(subdir) = csu]
35293         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35294         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35295         Add rt-arm-unwind-resume.
35296         [$(subdir) = nptl]
35297         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35298         Add pt-arm-unwind-resume.
35299         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35300         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35302 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35304         [BZ #17748]
35305         * include/fenv.h (__feholdexcept): Declare.  Use
35306         libm_hidden_proto.
35307         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35308         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35309         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35310         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35311         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35312         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35313         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35314         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35315         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35316         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35317         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35318         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35319         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35320         (feholdexcept): Likewise.
35321         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35322         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35323         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35324         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35325         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35326         __feholdexcept instead of feholdexcept.
35327         (default_libc_feholdexcept_setround): Likewise.
35329 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35331         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35332         to avoid using stl/str to align destination.
35334 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35336         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35338 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35340         [BZ #17796]
35341         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35342         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35343         Define as weak alias not strong alias.
35345 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35347         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35348         bltzal with addiupc.
35349         (RTLD_START): Ditto.
35351 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35353         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35354         for __vdso_* functions in declarations.
35355         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35356         definitions.
35357         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35358         INTERNAL_VSYSCALL): Use struct return types to check for error.
35360         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35361         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35362         function with cast from llround().
35363         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35364         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35365         Define.
35367 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35369         [BZ #17793]
35370         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35371         Define as weak alias not strong alias.
35373         [BZ #17635]
35374         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35375         ...
35376         * ctype/ctype-extn.c: ... here.
35377         (__isblank_l): Move to ...
35378         * ctype/ctype-c99_l.c: ... here.  New file.
35379         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35380         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35381         Remove variable.
35382         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35383         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35384         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35385         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35386         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35388         [BZ #17777]
35389         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35390         (posix_fadvise64): Define as weak alias not strong alias.
35391         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35392         (posix_fallocate64): Likewise.
35393         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35394         Remove variable.
35395         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35396         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35397         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35398         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35399         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35401 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35403         [BZ #16191]
35404         * NEWS: Mention bug fix.
35405         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35406         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35407         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35408         (HOST_STACK_END_ADDR): Likewise.
35410 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35412         [BZ #17748]
35413         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35414         * math/fegetround.c (fegetround): Rename to __fegetround and
35415         define as weak alias of __fegetround.  Use libm_hidden_weak.
35416         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35417         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35418         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35419         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35420         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35421         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35422         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35423         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35424         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35425         Undefine after rather than before function definition; use
35426         parentheses around function name in definition.
35427         (__fegetround): Also undefine macro after function definition.
35428         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35429         __fegetround and define as weak alias of __fegetround.  Use
35430         libm_hidden_weak.  Do not undefine as macro.
35431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35432         Likewise.
35433         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35434         __fegetround and define as weak alias of __fegetround.  Use
35435         libm_hidden_weak.
35436         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35437         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35438         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35439         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35440         __fegetround and define as weak alias of __fegetround.  Use
35441         libm_hidden_weak.
35442         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35443         __fegetround instead of fegetround.
35445         [BZ #17782]
35446         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35447         Condition macro definition on [__USE_MISC].
35449         [BZ #17781]
35450         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35451         (struct sigaction): Change type of sa_flags field to int.
35453         [BZ #17780]
35454         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35455         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35456         __glibc_reserved0.
35458         * nptl/version.c (banner): Use single year in copyright notice.
35460         * NEWS: Update copyright dates.
35461         * catgets/gencat.c (print_version): Likewise.
35462         * csu/version.c (banner): Likewise.
35463         * debug/catchsegv.sh: Likewise.
35464         * debug/pcprofiledump.c (print_version): Likewise.
35465         * debug/xtrace.sh (do_version): Likewise.
35466         * elf/ldconfig.c (print_version): Likewise.
35467         * elf/ldd.bash.in: Likewise.
35468         * elf/pldd.c (print_version): Likewise.
35469         * elf/sotruss.sh: Likewise.
35470         * elf/sprof.c (print_version): Likewise.
35471         * iconv/iconv_prog.c (print_version): Likewise.
35472         * iconv/iconvconfig.c (print_version): Likewise.
35473         * locale/programs/locale.c (print_version): Likewise.
35474         * locale/programs/localedef.c (print_version): Likewise.
35475         * login/programs/pt_chown.c (print_version): Likewise.
35476         * malloc/memusage.sh (do_version): Likewise.
35477         * malloc/memusagestat.c (print_version): Likewise.
35478         * malloc/mtrace.pl: Likewise.
35479         * manual/libc.texinfo: Likewise.
35480         * nptl/version.c (banner): Likewise.
35481         * nscd/nscd.c (print_version): Likewise.
35482         * nss/getent.c (print_version): Likewise.
35483         * nss/makedb.c (print_version): Likewise.
35484         * posix/getconf.c (main): Likewise.
35485         * scripts/test-installation.pl: Likewise.
35486         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35488 2015-01-02  Will Newton  <will.newton@linaro.org>
35490         * sysdeps/arm/armv7/configure: Removed.
35491         * sysdeps/arm/armv7/configure.ac: Likewise.
35493 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35495         * All files with FSF copyright notices: Update copyright dates
35496         using scripts/update-copyrights.
35497         * intl/plural.c: Regenerated.
35498         * locale/programs/charmap-kw.h: Likewise.
35499         * locale/programs/locfile-kw.h: Likewise.
35501 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35503         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35505 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35507         [BZ #17748]
35508         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35509         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35510         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35511         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35512         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35513         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35514         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35515         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35516         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35517         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35518         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35519         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35520         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35521         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35522         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35523         libm_hidden_def.
35524         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35526         Likewise.
35527         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35528         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35529         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35530         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35531         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35532         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35533         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35534         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35535         __fegetenv instead of fegetenv.
35536         (libc_feholdsetround_noex_ctx): Likewise.
35538 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35540         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35541         (Elf_MIPS_ABIFlags_v0): New structure.
35542         (EF_MIPS_FP64): Define.
35543         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35544         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35545         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35546         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35547         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35548         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35549         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35550         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35551         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35552         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35553         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35554         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35555         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35556         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35557         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35558         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35559         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35560         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35561         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35562         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35563         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35564         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35565         field.
35566         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35567         EF_MIPS_FP64.
35568         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35569         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35570         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35571         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35572         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35573         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35574         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35575         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35576         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35577         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35578         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35579         record the current FP ABI extension.
35580         (mips-mode-switch): Define to show if kernel headers support mode
35581         switching.
35582         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35583         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35584         supported SYSV ABI version to 3.
35585         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35586         feature.
35588 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35589             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35591         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35592         path.
35593         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35595 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35597         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35598         __fegetround and redefine to call __fegetround.  Remove condition
35599         on [!__NO_MATH_INLINES].
35600         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35601         function.
35602         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35603         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35604         Remove macro.
35605         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35606         instead of <fenv_libc.h>.
35607         (__llrintl): Call fegetround instead of __fegetround.
35608         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35609         instead of <fenv_libc.h>.
35610         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35611         (__lrintl): Call fegetround instead of __fegetround.
35612         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35613         instead of <fenv_libc.h>.
35614         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35615         (__rintl): Call fegetround instead of __fegetround.
35617 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35619         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35620         arrays.
35622 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35624         [BZ #17775]
35625         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35626         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35627         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35629 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35631         * sysdeps/i386/tls-macros.h: Include <features.h>.
35632         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35633         (TLS_IE): Likewise.
35634         (TLS_LD): Likewise.
35635         (TLS_GD): Likewise.
35636         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35637         define for GCC >= 5.0.
35639 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35641         * math/test-fenv.c (test_single_exception, set_single_exc,
35642         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35643         feexcp_mask_test, feenable_test, fe_single_test): Add
35644         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35645         case where they are not used.
35646         * math/libm-test.inc: Likewise.
35647         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35648         unused in the absence of FP rounding/exception support.
35649         * stdio-common/tst-printf-round.c: Likewise.
35650         * stdlib/tst-strtod-round.c: Likewise.
35651         * stdlib/tst-strtod-underflow.c: Likewise.
35653 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35655         [BZ #17723]
35656         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35657         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35658         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35659         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35660         libm_hidden_weak.
35661         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35662         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35663         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35664         libm_hidden_def.
35665         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35666         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35667         libm_hidden_weak.
35668         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35669         Likewise.
35670         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35671         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35672         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35673         libm_hidden_weak.
35674         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35675         libm_hidden_def.
35676         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35677         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35678         (__feraiseexcept): Likewise.
35679         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35680         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35681         libm_hidden_weak.
35682         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35683         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35684         libm_hidden_def.
35685         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35686         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35687         Use libm_hidden_def.
35688         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35689         libm_hidden_def.
35690         (feraiseexcept): Define as weak not strong alias.  Use
35691         libm_hidden_weak.
35692         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35693         New inline function.  Factored out of ...
35694         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35695         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35696         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35697         feraiseexcept.
35698         * math/w_acos.c (__acos): Likewise.
35699         * math/w_asin.c (__asin): Likewise.
35700         * math/w_ilogb.c (__ilogb): Likewise.
35701         * math/w_j0.c (y0): Likewise.
35702         * math/w_j1.c (y1): Likewise.
35703         * math/w_jn.c (yn): Likewise.
35704         * math/w_log.c (__log): Likewise.
35705         * math/w_log10.c (__log10): Likewise.
35706         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35707         * sysdeps/aarch64/fpu/math_private.h
35708         (libc_feupdateenv_test_aarch64): Likewise.
35709         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35710         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35711         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35712         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35713         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35714         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35715         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35716         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35717         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35718         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35720 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35722         [BZ #17732]
35723         * io/test-utime.c (main): Replace %ld with %jd and cast to
35724         intmax_t.
35725         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35726         * nptl/tst-mutex5.c: Include <stdint.h>.
35727         (do_test): Replace %ld with %jd and cast to intmax_t.
35728         * posix/tst-regex.c (run_test): Likewise.
35729         (run_test_backwards): Likewise.
35730         * rt/tst-clock.c: Include <stdint.h>.
35731         (clock_test): Replace %ld with %jd and cast to intmax_t.
35732         * rt/tst-cpuclock1.c: Include <stdint.h>.
35733         (do_test): Replace %lu with %ju and cast to uintmax_t.
35734         * rt/tst-cpuclock2.c: Include <stdint.h>.
35735         (do_test): Replace %lu with %ju and cast to uintmax_t.
35736         * rt/tst-mqueue1.c: Include <stdint.h>.
35737         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35738         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35739         intmax_t.
35740         * rt/tst-mqueue4.c (do_test): Likewise.
35741         * rt/tst-timer4.c: Include <stdint.h>.
35742         (check_ts): Replace %ld with %jd and cast to intmax_t.
35743         (do_test): Likewise.
35744         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35745         and cast to intmax_t.
35746         * sysdeps/pthread/tst-timer.c (main): Likewise.
35747         * time/clocktest.c (main): Likewise.
35748         * time/tst-posixtz.c (do_test): Likewise.
35749         * timezone/tst-timezone.c (main): Likewise.
35751 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35752             H.J. Lu  <hongjiu.lu@intel.com>
35754         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35755         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35756         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35757         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35758         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35759         version if bit_Fast_Unaligned_Load is set.
35760         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35761         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35762         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35763         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35764         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35765         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35766         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35767         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35768         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35769         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35770         to 4.
35771         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35772         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35773         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35774         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35776 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35778         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35779         instead of #if to avoid a Wundef warning.
35780         * stdlib/tst-limits.c (do_test): Likewise.
35782         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35783         parallel other exception macros.
35784         (fegetenv): Convert from macro to extern inline so that it applies
35785         retroactively to inline functions already seen by the compiler.
35786         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35788         * posix/Makefile (before-compile): Use $(objpfx) for
35789         posix-conf-vars-def.h.
35791 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35793         * posix/getconf.c (main): Use size_t for type of I.
35794         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35795         NSPEC.
35797         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35798         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35799         * posix/posix-envs.def: Likewise.
35800         * sysdeps/posix/sysconf.c: Likewise.
35801         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35802         (specs): Remove array.
35803         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35804         array.
35806         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35807         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35808         (__sysconf): Use CONF_IS_* macros.
35810         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35811         ($(objpfx)posix-conf-vars-def.h): New target.
35812         * posix/posix-conf-vars.list: New file.
35813         * posix/posix-conf-vars.h: New file.
35814         * posix/confstr.c: Include posix-conf-vars.h.
35815         (confstr): Use CONF_IS_* macros.
35816         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35817         CONF_IS_* macros.
35818         * scripts/gen-posix-conf-vars.awk: New file.
35820 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35822         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35823         fegetround): Add no-op macros to avoid linknamespace issues.
35825         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35826         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35828         * sysdeps/unix/sysv/linux/tile/sysdep.h
35829         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35830         assembly-specific section to avoid a redefinition warning.
35832         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35833         long before casting to pointer to avoid a cast warning.
35835 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35837         * sysdeps/tile/tilegx/Implies: New file.
35839 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35841         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35843 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35845         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35847 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35849         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35850         not define.
35851         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35852         <kernel-features.h>.
35853         (__utimes) [__NR_utimes]: Make code unconditional.
35854         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35855         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35856         (__ASSUME_UTIMES): Do not undefine.
35857         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35858         (__ASSUME_UTIMES): Likewise.
35859         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35860         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35861         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35862         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35864 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35866         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35868 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35870         [BZ #17747]
35871         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35872         alias to weak alias for j0l, y0l.
35873         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35874         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35876         [BZ #17746]
35877         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35878         conversion.
35880 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35882         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35883         to zero if not already defined.
35885 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35887         [BZ #17724]
35888         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35889         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35890         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35891         (char *) casts added.
35892         * sysdeps/ieee754/k_standardf.c: New file.
35893         * sysdeps/ieee754/k_standardl.c: Likewise.
35894         * math/Makefile (libm-support): Remove k_standard.
35895         (libm-calls): Add k_standard.
35897 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35899         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35900         Optimize to avoid an unnecessary FPCR read.
35902 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35904         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35905         Optimize to reduce FPCR/FPSR accesses.
35907 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35909         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35910         Call libc_fetestexcept_aarch64.
35912 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35914         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35915         Call libc_fesetround_aarch64.
35917 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35919         [BZ #17733]
35920         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35921         (__bind): Do not define as weak alias.
35922         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35923         define.
35924         (__getsockname): Do not define as weak alias.
35926 2014-12-22  Will Newton  <will.newton@linaro.org>
35928         * manual/install.texi: Document that we require bison 2.7
35929         or above.
35930         * INSTALL: Regenerate.
35931         * configure.ac: Use AC_CHECK_PROG_VER instead of
35932         AC_PATH_PROG when checking for bison and check for
35933         version 2.7 or above.
35934         * configure: Regenerate.
35936 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35938         [BZ #17745]
35939         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35940         * sysdeps/tile/ffsll.c (ffsll): To here.
35942         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35944 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35946         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35947         if not defined.
35948         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35949         definition.
35950         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35951         hidden ___tls_get_addr.
35952         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35953         hidden __tls_get_addr.
35954         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35955         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35956         Likewise.
35958 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35960         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35961         _dl_init call.
35963 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35965         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35966         from "call _dl_init@PLT".
35967         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35969 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35971         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35972         guarantees.
35974 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35976         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35978 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35980         [BZ #17744]
35981         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35982         strnlen.
35984 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35986         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35987         of multu on MIPSr6.
35988         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35989         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35990         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35991         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35992         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35994 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35996         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35997         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35998         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35999         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36000         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36001         mips32r6/mips64r6.
36002         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36004 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36006         * string/strncat.c (STRNCAT): Simplify implementation.
36008 2014-12-19  David S. Miller  <davem@davemloft.net>
36010         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36011         access the quad as both a long double and as a series of 4 words.
36013         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36014         link_map->l_info array access.
36016 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36018         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36020         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36021         * math/atest-exp2.c (TIMEOUT): Likewise.
36022         * math/atest-sincos.c (TIMEOUT): Likewise.
36024 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36026         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36027         -Wno-error with -fno-builtin-lround.
36029 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36031         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36032         Contains futex constants and functions moved over from ...
36033         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36034         <lowlevellock-futex.h>.
36035         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36036         (lll_timedwait_tid): Add comments and parentheses around macro
36037         arguments.
36039 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36041         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36042         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36043         (__lll_private_flag): Remove.
36044         (lll_futex_wait): Likewise.
36045         (lll_futex_timed_wait): Likewise.
36046         (lll_futex_wake): Likewise.
36047         (lll_futex_requeue): Likewise.
36048         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36049         (__lll_timedwait_tid): Spell out argument names.
36050         (lll_timedwait_tid): Add comments and parentheses around macro
36051         arguments.
36052         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36053         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36055 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36057         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36058         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36059         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36060         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36061         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36062         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36063         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36064         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36065         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36066         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36067         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36068         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36069         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36070         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36071         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36072         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36073         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36074         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36075         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36077 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36079         * sysdeps/x86_64/x32/Makefile: New file.
36081 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36083         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36084         1L with (mp_limb_t) 1.
36086 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36088         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36089         * nptl/libc_pthread_init.c: ... here.
36090         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36091         * nptl/register-atfork.c: ... here.
36093         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36094         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36095         Use assert_perror to check its return value.
36096         (__gai_create_helper_thread): Likewise.
36098         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36100         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36102 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36104         [BZ #17725]
36105         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36106         __profil_counter.
36107         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36108         Likewise.
36109         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36110         Likewise.
36111         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36112         Likewise.
36113         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36114         (profil_counter): Likewise.
36115         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36116         (profil_counter): Likewise.
36117         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36118         Likewise.
36119         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36120         Likewise.
36121         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36122         (profil_counter): Likewise.
36123         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36124         Likewise.
36125         [!__profil_counter] (profil_counter): Define as weak alias of
36126         __profil_counter.
36127         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36128         (profil_counter): Rename to __profil_counter.
36129         [!__profil_counter] (profil_counter): Define as weak alias of
36130         __profil_counter.
36131         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36132         (profil_counter): Rename to __profil_counter.
36133         [!__profil_counter] (profil_counter): Define as weak alias of
36134         __profil_counter.
36135         * sysdeps/posix/profil.c: Update comment referring to
36136         profil_counter.
36137         (__profil): Use __profil_counter instead of profil_counter.
36138         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36139         __profil_counter.  Use __profil_counter_ushort and
36140         __profil_counter_uint in definitions.
36141         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36142         instead of profil_counter_uint and profil_counter_ushort.
36144         [BZ #17722]
36145         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36146         define as weak alias of __inet_makeaddr.
36147         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36148         as weak alias of __inet_addr.
36149         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36150         as weak alias of __inet_pton.  Use libc_hidden_weak.
36151         * include/arpa/inet.h (__inet_pton): Declare.  Use
36152         libc_hidden_proto.
36153         (inet_makeaddr): Don't use libc_hidden_proto.
36154         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36155         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36156         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36157         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36158         Remove variable.
36159         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36160         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36162 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36164         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36166 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36168         * stdio-common/bug-vfprintf-nargs.c (do_test):
36169         Cast value to intptr_t to avoid format warning
36170         for usage with PRIdPTR printing macro.
36172 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36174         * libio/tst-widetext.c (do_test):
36175         Use format type %td instead of %Zd for ptrdiff_t
36176         in order to avoid format warning.
36178 2014-12-17  Andreas Schwab  <schwab@suse.de>
36180         * nscd/mem.c (gc): Add size_t cast to match printf format.
36182 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36184         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36185         (init): Apply PTR_MANGLE to pointers before storing them.
36186         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36187         before using them.
36189 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36191         [BZ #17719]
36192         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36193         define as weak alias of __memrchr.
36194         (__memrchr): Do not define as strong alias of memrchr.
36195         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36196         Remove variable.
36197         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36198         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36199         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36201         [BZ #17717]
36202         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36203         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36204         (if_indextoname): Rename to __if_indextoname and define as weak
36205         alias of __if_indextoname.  Use libc_hidden_weak.
36206         (if_freenameindex): Rename to __if_freenameindex and define as
36207         weak alias of __if_freenameindex.
36208         (if_nameindex): Rename to __if_nameindex and define as weak alias
36209         of __if_nameindex.
36210         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36211         __if_nametoindex and define as weak alias of __if_nametoindex.
36212         Use libc_hidden_weak.
36213         (if_freenameindex): Rename to __if_freenameindex and define as
36214         weak alias of __if_freenameindex.
36215         (if_nameindex): Rename to __if_nameindex and define as weak alias
36216         of __if_nameindex.
36217         (if_indextoname): Rename to __if_indextoname and define as weak
36218         alias of __if_indextoname.  Use libc_hidden_weak.
36219         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36220         __if_nametoindex and define as weak alias of __if_nametoindex.
36221         Use libc_hidden_weak.
36222         (if_freenameindex): Rename to __if_freenameindex and define as
36223         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36224         (if_nameindex_netlink): Use __if_freenameindex instead of
36225         if_freenameindex.
36226         (if_nameindex): Rename to __if_nameindex and define as weak alias
36227         of __if_nameindex.  Use libc_hidden_weak.
36228         (if_indextoname): Rename to __if_indextoname and define as weak
36229         alias of __if_indextoname.  Use libc_hidden_weak.
36230         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36231         libc_hidden_proto.
36232         [!_ISOMAC] (__if_freenameindex): Likewise.
36233         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36234         if_nametoindex.
36235         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36236         variable.
36237         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36238         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36239         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36240         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36241         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36242         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36243         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36245         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36246         Remove variable.
36247         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36248         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36250 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36252         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36253         subscript above bounds'
36255         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36256         bounds.
36258 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36260         * libio/tst-fopenloc.c: Use test-skeleton.c.
36262         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36263         (entry): Rename to ITEM.
36264         (do_test, comp): Adjust.
36266         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36268 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36270         * string/tester.c: Include <libc-internal.h>.
36271         (test_memset): Ignore -Wmemset-transposed-args.
36273 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36275         * misc/tst-mntent2.c (do_test): Fix warning.
36277 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36279         * elf/tst-unique4lib.cc(a): Mark as used.
36281 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36283         [BZ #17630]
36284         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36285         names.
36287 2014-12-16  Allan McRae  <allan@archlinux.org>
36289         * stdio-common/Makefile (tests): Re-add bug26.
36291 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36293         [BZ #17657]
36294         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36295         static array.
36297 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36299         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36300         (__lll_lock_wait): Likewise.
36301         (__lll_timedlock_wait): Likewise.
36302         (__lll_timedwait_tid): Likewise.
36303         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36304         (__lll_robust_timedlock_wait): Likewise.
36305         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36306         (lll_cond_trylock): Likewise.
36307         (__lll_lock): Likewise.
36308         (__lll_robust_lock): Likewise.
36309         (__lll_cond_lock): Likewise.
36310         (lll_robust_cond_lock): Likewise.
36311         (__lll_timedlock): Likewise.
36312         (__lll_robust_timedlock): Likewise.
36313         (__lll_unlock): Likewise.
36314         (__lll_robust_unlock): Likewise.
36315         (lll_wait_tid): Likewise.
36316         (lll_timedwait_tid): Likewise.
36318 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36320         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36322 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36324         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36326 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36328         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36329         * stdio-common/tst-sprintf.c: Likewise.
36331 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36333         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36335 2014-12-15  Jeff Law  <law@redhat.com>
36337         [BZ #16617]
36338         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36339         on the heap.  (CVE-2012-3406)
36340         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36341         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36342         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36344 2014-12-15  Will Newton  <will.newton@linaro.org>
36346         * manual/install.texi: Bump required version of texinfo
36347         to 4.7 from 4.5.
36348         * INSTALL: Regenerated.
36349         * configure.ac: Check for makeinfo version 4.7 and above.
36350         * configure: Regenerated.
36352 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36354         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36355         PREFIX, string constant to insert between directory and name.
36356         * sysdeps/posix/shm_open.c: Update caller.
36357         * sysdeps/posix/shm_unlink.c: Likewise.
36358         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36359         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36360         (SEM_SHM_PREFIX): New macro.
36361         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36362         [$(have-thread-library) = no].
36363         * nptl/Makefile (libpthread-routines): Add shm-directory.
36364         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36365         * sysdeps/nptl/shm-directory.h: New file.
36366         * sysdeps/posix/shm-directory.c
36367         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36368         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36369         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36370         INTERNAL_SYSCALL.
36371         (__where_is_shmfs): Function removed.
36372         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36373         Variables removed.
36374         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36375         Use SHM_GET_NAME.
36376         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36378         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36379         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36380         unconditional for use inside libpthread.
36381         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36383 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36385         * nptl/pthread_getaffinity.c: New file.
36386         * nptl/pthread_setaffinity.c: New file.
36387         * nptl/pthread_getname.c: New file.
36388         * nptl/pthread_setname.c: New file.
36390         * nptl/pthread_create.c (START_THREAD_DEFN)
36391         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36393 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36394             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36396         * resolv/res_send.c (send_vc): Disable warning resplen may
36397         be used uninitialized.
36399 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36401         * nptl/tst-mutex6.c
36402         (ATTR_NULL): New define checks ATTR against NULL.
36403         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36404         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36406 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36408         [BZ #17581]
36409         * malloc/hooks.c
36410         (mem2mem_check): Revert my previous change.
36411         (malloc_check_get_size): Revert my previous change.
36412         (mem2chunk_check): Revert my previous change.
36414 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36416         * sysdeps/posix/shm-directory.c: New file.
36417         * sysdeps/posix/shm-directory.h: New file.
36418         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36419         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36420         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36421         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36422         Transmute EPERM to EACCES.
36423         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36424         from ...
36425         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36426         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36428 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36430         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36431         pointer and cast to uintptr_t.
36432         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36433         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36434         Add cast to avoid warning.
36435         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36437 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36439         * nptl/semaphore.h: Move to ...
36440         * sysdeps/pthread/semaphore.h: ... here.
36441         * Makefile (installed-headers): Change nptl/semaphore.h to
36442         sysdeps/pthread/semaphore.h.
36444 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36446         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36447         generated error format strings.
36449         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36450         -Wformat-extra-args warnings for scanf formats.
36451         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36452         test of zero-length format (duh).
36453         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36454         corner-case scanf format test.
36455         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36456         generated fprintf format string.
36457         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36458         corner-case sprintf format tests.
36459         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36460         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36461         -Wformat-extra-args warnings throughout.
36462         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36463         (CFLAGS-scanf4.c): Likewise.
36464         (CFLAGS-scanf7.c): Likewise.
36465         (CFLAGS-tst-sprintf.c): Likewise.
36466         (CFLAGS-tst-printf.c): Likewise.
36467         (CFLAGS-tst-printfsz.c): Likewise.
36469 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36471         * include/cpio.h: New file.
36472         * include/fmtmsg.h: Likewise.
36474         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36475         corresponding format argument to size_t.
36476         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36477         arguments.
36478         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36479         corresponding format argument to size_t.
36480         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36481         arguments.
36482         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36483         corresponding format argument to size_t.
36484         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36485         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36486         (CFLAGS-tst-mbswcs2.c): Likewise.
36487         (CFLAGS-tst-mbswcs3.c): Likewise.
36488         (CFLAGS-tst-mbswcs4.c): Likewise.
36489         (CFLAGS-tst-mbswcs5.c): Likewise.
36490         (CFLAGS-tst-trans.c): Likewise.
36492 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36494         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36495         rather than assuming they won't contain any '%'s.
36497 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36499         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36500         inhibit_loop_to_libcall to avoid recursive calls.
36501         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36502         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36504 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36506         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36507         prototype.
36509 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36511         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36512         integer value instead of boolean.
36514 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36516         * malloc/malloc.c: Fix powerof2 check.
36518 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36520         * locale/programs/locfile.h (maybe_swap_uint32):
36521         Remove inline and add unused attribute.
36523 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36525         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36526         Truncating assembler expression to a .long expression.
36528 2014-12-11  Andreas Schwab  <schwab@suse.de>
36530         * elf/rtld.c (struct map_args): Constify str member.
36531         (do_preload): Constify fname argument.
36533 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36535         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36536         constants definition.
36538 2014-12-11  Andreas Schwab  <schwab@suse.de>
36540         [BZ #16657]
36541         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36542         FORCE_ELISION instead of DO_ELISION.
36543         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36544         Remove.
36545         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36546         Likewise.
36548         * iconvdata/gconv-modules: Remove duplicate entry.
36550 2014-12-11  Will Newton  <will.newton@linaro.org>
36552         Merge gettext 0.19.3 into intl/.
36554         This involves a number of cosmetic changes to comments
36555         and ANSI function definitions and prototypes throughout
36556         all the files. The gettext copyright header is used but
36557         with the date ranges taken from the glibc copy.
36559         * NEWS: Add gettext merge to 2.21.
36560         * intl/bindtextdom.c: Switch to gettext copyright.
36561         Use ANSI definitions and prototypes.
36562         Use gl_* locking primitives rather than __libc_* ones.
36563         Use __builtin_expect rather than __glibc_likely/unlikely.
36564         * intl/dcgettext.c: Switch to gettext copyright.
36565         Use ANSI definitions and prototypes.
36566         * intl/dcigettext.c: Switch to gettext copyright.
36567         Use ANSI definitions and prototypes.
36568         (INTDIV0_RAISES_SIGFPE): New define.
36569         Use gl_* locking primitives rather than __libc_* ones.
36570         Include eval-plural.h instead of plural-eval.c.
36571         Use __builtin_expect rather than __glibc_likely/unlikely.
36572         * intl/dcngettext.c: Switch to gettext copyright.
36573         Use ANSI definitions and prototypes.
36574         * intl/dgettext.c: Likewise.
36575         * intl/dngettext.c: Likewise.
36576         * intl/plural-eval.c: Renamed to...
36577         * intl/eval-plural.h: ...this.
36578         * intl/explodename.c: Switch to gettext copyright.
36579         Use ANSI definitions and prototypes.
36580         (_nl_explode_name): Use strchr instead of __rawmemchr.
36581         * intl/finddomain.c: Switch to gettext copyright.
36582         Use ANSI definitions and prototypes.
36583         Use gl_* locking primitives rather than __libc_* ones.
36584         (_nl_find_domain): Use malloc rather than alloca for
36585         allocation of temporary locale name.
36586         * intl/gettext.c: Switch to gettext copyright.
36587         Use ANSI definitions and prototypes.
36588         * intl/gettextP.h: Switch to gettext copyright.
36589         Use ANSI definitions and prototypes.
36590         Use gl_* locking primitives rather than __libc_* ones.
36591         * intl/gmo.h: Switch to gettext copyright.
36592         (struct sysdep_string): Move struct segment_pair outside of
36593         struct definition.
36594         * intl/hash-string.c: Use ANSI definitions and prototypes.
36595         * intl/hash-string.h: Switch to gettext copyright.
36596         Use ANSI definitions and prototypes.
36597         * intl/l10nflist.c: Switch to gettext copyright.
36598         Use ANSI definitions and prototypes.
36599         (_nl_normalize_codeset): Avoid integer overflow.
36600         * intl/loadinfo.h: Switch to gettext copyright.
36601         Use ANSI definitions and prototypes.
36602         (LIBINTL_DLL_EXPORTED): New define.
36603         (PATH_SEPARATOR): New define.
36604         * intl/loadmsgcat.c: Switch to gettext copyright.
36605         * intl/localealias.c: Switch to gettext copyright.
36606         Use ANSI definitions and prototypes.
36607         (_nl_expand_alias): Use PATH_SEPARATOR.
36608         * intl/ngettext.c: Switch to gettext copyright.
36609         Use ANSI definitions and prototypes.
36610         * intl/plural-exp.c: Likewise.
36611         * intl/plural-exp.h: Switch to gettext copyright.
36612         Use ANSI definitions and prototypes.
36613         (struct expression): Move definition of enum operator outside
36614         of struct definition.
36615         * intl/plural.c: Regenerate.
36616         * intl/plural.y: Switch to gettext copyright.
36617         Use ANSI definitions and prototypes.
36618         Port to bison 3.0.
36619         * intl/textdomain.c: Switch to gettext copyright.
36620         Use ANSI definitions and prototypes.
36621         Use gl_* locking primitives rather than __libc_* ones.
36623 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36625         * debug/warning-nop.c: Add used atrribute.
36627 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36629         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36631         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36632         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36633         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36635 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36636             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36638         [BZ #17634]
36639         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36640         Undefine after defining function.  Define as weak alias of
36641         __wcschr.  Use libc_hidden_weak.
36642         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36643         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36644         (libc_hidden_def): Also define __GI___wcschr alias.
36645         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36646         __wcschr and define as weak alias of __wcschr.
36647         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36648         __wcschr.
36649         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36650         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36651         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36652         libc_hidden_weak.  Do not use libc_hidden_def.
36653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36654         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36655         __GI___wcschr alias.
36656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36657         [IS_IN (libc)] (wcschr): Define as macro expanding to
36658         __redirect_wcschr.
36659         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36660         [IS_IN (libc)] (__wcschr_power6): Likewise.
36661         [IS_IN (libc)] (__wcschr_power7): Likewise.
36662         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36663         instead of wcschr.
36664         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36665         __libc_wcschr.
36666         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36667         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36668         __wcschr and define as weak alias of __wcschr.  Use
36669         libc_hidden_builtin_def.
36670         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36671         as weak alias of __wcschr.  Use libc_hidden_weak.
36672         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36673         wcschr.
36674         * time/era.c (_nl_init_era_entries): Likewise.
36675         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36676         variable.
36677         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36678         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36680 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36682         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36683         format for long int variable.
36685 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36687         [BZ #10672]
36688         * manual/search.texi: (Array Sort Function): Remove claim how to make
36689         qsort stable.
36691 2014-12-10  Andreas Schwab  <schwab@suse.de>
36693         [BZ #12847]
36694         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36695         user-controlled locks.
36697 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36699         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36700         register.
36702 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36704         * configure.ac (--disable-werror): New configure option.
36705         (enable_werror): New AC_SUBST.
36706         * configure: Regenerated.
36707         * config.make.in (enable-werror): New variable.
36708         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36709         -Wno-error=undef.
36710         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36711         * manual/install.texi (Configuring and compiling): Document
36712         --disable-werror.
36713         * INSTALL: Regenerated.
36714         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36715         (CFLAGS-tst-chk2.c): Likewise.
36716         (CFLAGS-tst-chk3.c): Likewise.
36717         (CFLAGS-tst-chk4.cc): Likewise.
36718         (CFLAGS-tst-chk5.cc): Likewise.
36719         (CFLAGS-tst-chk6.cc): Likewise.
36720         (CFLAGS-tst-lfschk1.c): Likewise.
36721         (CFLAGS-tst-lfschk2.c): Likewise.
36722         (CFLAGS-tst-lfschk3.c): Likewise.
36723         (CFLAGS-tst-lfschk4.cc): Likewise.
36724         (CFLAGS-tst-lfschk5.cc): Likewise.
36725         (CFLAGS-tst-lfschk6.cc): Likewise.
36727         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36728         (main): Disable -Wdeprecated-declarations around calls to
36729         register_printf_function.
36731         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36732         (do_test): Disable -Wdiv-by-zero around some calls to
36733         fwrite_unlocked and fread_unlocked.
36735         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36736         (DIAG_POP_NEEDS_COMMENT): Likewise.
36737         (_DIAG_STR1): Likewise.
36738         (_DIAG_STR): Likewise.
36739         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36740         * stdio-common/bug21.c: Include <libc-internal.h>.
36741         (do_test): Disable -Wformat around call to sscanf.
36742         * stdio-common/scanf14.c: Include <libc-internal.h>.
36743         (main): Disable -Wformat around some calls to scanf functions.
36745 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36747         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36749 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36751         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36752         stack variable alignment.
36754 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36756         [BZ #17682]
36757         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36758         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36759         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36760         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36761         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36762         __getrlimit instead of getrlimit.
36763         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36764         __gettimeofday instead of gettimeofday.
36765         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36766         Likewise.
36767         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36768         Likewise.
36769         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36770         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36771         Remove variable.
36772         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36773         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36775 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36777         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36778         for wide-character tests.
36780 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36782         * io/openat64.c: #include <libc-internal.h>
36783         (__openat64): Prototypify.  Use ignore_value on MODE.
36784         * io/openat.c: Likewise.
36785         * misc/reboot.c: #include <libc-internal.h>
36786         (reboot): Prototypify.  Use ignore_value on HOWTO.
36787         * misc/ptrace.c: #include <libc-internal.h>
36788         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36790 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36792         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36793         XPG4, UNIX98 and XOPEN2K.
36794         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36795         Remove variable.
36796         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36798 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36800         * libio/fileops.c: Use ISO C style for function definitions.
36801         * libio/iofopen.c: Likewise.
36802         * libio/wfileops.c: Likewise.
36804         [BZ #17653]
36805         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36806         offset on EOF.
36807         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36808         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36809         (fgets_func): Function pointer to fgets and fgetws.
36810         (do_ftell_test): Add test to verify ftell value after read
36811         EOF.
36812         (do_test): Set fgets_func.
36814         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36815         O_TRUNC flag for w and w+ modes.
36816         (do_rewind_test): Likewise.
36817         (do_ftell_test): Likewise.
36818         (do_write_test): Likewise.
36820         [BZ #17647]
36821         * libio/fileops.c (do_ftell): Seek only when there are
36822         unflushed writes.
36823         * libio/wfileops.c (do_ftell_wide): Likewise.
36824         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36825         test case.
36826         (do_one_test): Call it.
36828 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36830         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36831         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36832         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36833         Remove variable.
36834         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36835         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36836         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36838 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36840         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36841         Remove variable.
36842         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36844         [BZ #17668]
36845         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36846         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36847         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36848         __freeifaddrs.  Use libc_hidden_weak.
36849         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36850         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36851         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36852         __freeifaddrs.  Use libc_hidden_weak.
36853         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36854         __getifaddrs and define as weak alias of __getifaddrs.  Use
36855         libc_hidden_weak.
36856         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36857         __freeifaddrs.  Use libc_hidden_weak.
36858         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36859         Remove variable.
36860         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36861         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36863 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36865         [BZ #17601]
36866         * sysdeps/mips/start.S (__start): Use indirect jump to call
36867         __libc_start_main.
36869 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36871         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36873         * nptl/tst-mutex1.c: Include <stdbool.h>.
36874         [!ATTR] (ATTR_NULL): New macro.
36875         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36876         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36877         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36879         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36880         to char *.
36882         [BZ #17665]
36883         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36884         Change conditional to [__USE_MISC].
36886         [BZ #17664]
36887         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36888         fgets_unlocked.
36889         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36890         __fgets_unlocked.
36891         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36892         fgets_unlocked.
36893         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36894         Remove variable.
36895         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36896         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36897         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36898         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36899         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36900         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36901         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36902         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36903         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36905         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36907 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36910         Remove strpbrk objects.
36911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36912         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36913         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36914         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36915         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36916         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36919         Remove strcspn objects.
36920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36921         (__libc_ifunc_impl_list): Remove strcspn implementation.
36922         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36923         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36924         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36925         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36927         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36928         Remove strspn objetcs.
36929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36930         (__libc_ifunc_impl_list): Remove strspn implementation.
36931         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36932         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36933         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36934         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36936 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36938         [BZ #17581]
36939         * malloc/hooks.c
36940         (mem2mem_check): Add a terminator to the chain of checking blocks.
36941         (malloc_check_get_size): Use it here.
36942         (mem2chunk_check): Ditto.
36944 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36946         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36947         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36949 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36951         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36953         * nptl/nptl-init.c: Include libc-internal.h.
36954         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36956         * elf/ldconfig.c (search_dir): Expand comment.
36958 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36960         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36961         variable.
36962         (linknamespace-symlist-stdlibs-tests): Likewise.
36963         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36964         instead of $(objpfx)symlist-stdlibs.
36965         (linknamespace-libs-isoc): New variable.
36966         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36967         (linknamespace-libs-ISO): New variable.
36968         (linknamespace-libs-ISO99): Likewise.
36969         (linknamespace-libs-ISO11): Likewise.
36970         (linknamespace-libs-XPG3): Likewise.
36971         (linknamespace-libs-XPG4): Likewise.
36972         (linknamespace-libs-POSIX): Likewise.
36973         (linknamespace-libs-UNIX98): Likewise.
36974         (linknamespace-libs-XOPEN2K): Likewise.
36975         (linknamespace-libs-POSIX2008): Likewise.
36976         (linknamespace-libs-XOPEN2K8): Likewise.
36977         ($(objpfx)symlist-stdlibs): Replace by
36978         $(linknamespace-symlist-stdlibs-tests).  Use
36979         $(linknamespace-libs-$*) as set of libraries.
36980         ($(linknamespace-header-tests)): Update dependencies.  Use
36981         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36982         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36983         * conform/linknamespace.pl: Remove comment about considering
36984         definitions of symbols from irrelevant libraries.
36986 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36988         [BZ #13862]
36989         * elf/dl-tls.c: Include <atomic.h>.
36990         (oom): Remove #ifdef SHARED/#endif.
36991         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36992         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36993         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36994         big enough.
36995         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36996         * nptl/Makefile (tests): Add tst-stack4.
36997         (modules-names): Add tst-stack4mod.
36998         ($(objpfx)tst-stack4): New.
36999         (tst-stack4mod.sos): Likewise.
37000         ($(objpfx)tst-stack4.out): Likewise.
37001         ($(tst-stack4mod.sos)): Likewise.
37002         (clean): Likewise.
37003         * nptl/tst-stack4.c: New file.
37004         * nptl/tst-stack4mod.c: Likewise.
37006 2014-11-27  J. Brown  <jb999@gmx.de>
37008         * sysdeps/x86/bits/string.h: Add recent CPUs.
37010 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37012         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37013         sigblock.
37015         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37016         feof.
37018         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37019         variable.
37021 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37023         * nscd/connections.c: Include libc-internal.h because of macro
37024         usage ignore_value.
37026 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37028         * string/bits/string3.h (__warn_memset_zero_len): Don't
37029         declare for gcc newer than 5.0.
37030         (memset): Don't test for zero-length __LEN for gcc newer than
37031         5.0.
37033 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37035         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37036         size_t for %zu format.
37038         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37039         difference, not %ju.
37041 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37043         * include/libc-internal.h (ignore_value): New macro.
37044         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37045         with ignore_value.
37047         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37048         definition.
37050         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37051         pthread_cleanup_push to void *.
37053         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37054         Undefine.
37056         [BZ #16619]
37057         [BZ #16740]
37058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37059         instead of 1L << 52.
37061         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37062         * libio/bug-rewind2.c (do_test): Likewise.
37064         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37065         * debug/test-strcpy_chk-ifunc.c: Likewise.
37066         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37067         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37068         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37069         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37070         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37071         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37072         * Rules [$(multi-arch) = no] (tests): Do not filter out
37073         $(tests-ifunc).
37074         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37075         * debug/Makefile (tests-ifunc): Remove variable.
37076         (tests): Do not add $(tests-ifunc).
37077         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37078         (tests): Do not add $(tests-ifunc).
37079         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37080         [TEST_IFUNC]: Remove conditionals.
37081         * string/test-string.h (TEST_IFUNC): Remove macro.
37082         [TEST_IFUNC]: Remove conditionals.
37084         * string/test-strchr.c [!WIDE] (L): New macro.
37085         [WIDE] (L): Likewise.
37086         (check1): Use CHAR instead of char.  Use L on string and character
37087         constants.
37089 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37091         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37092         tests.
37093         * sysdeps/powerpc/bits/atomic.h
37094         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37095         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37096         (atomic_exchange_and_add_acq): Likewise.
37097         (atomic_exchange_and_add_rel): Likewise.
37098         * sysdeps/powerpc/powerpc32/bits/atomic.h
37099         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37100         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37101         * sysdeps/powerpc/powerpc64/bits/atomic.h
37102         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37103         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37105 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37107         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37108         Change synchronization of __sched_fifo_min_prio and
37109         __sched_fifo_max_prio.
37110         * nptl/pthread_mutexattr_getprioceiling.c
37111         (pthread_mutexattr_getprioceiling): Likewise.
37112         * nptl/pthread_mutexattr_setprioceiling.c
37113         (pthread_mutexattr_setprioceiling): Likewise.
37114         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37115         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37116         Likewise.
37118 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37120         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37121         void.
37123 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37125         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37126         third argument const.
37128 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37130         fnmatch: work around GCC compiler warning bug with uninit var
37131         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37132         This works around a bug with x86-64 GCC 4.9.2 and earlier
37133         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37134         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37135         used uninitialized in this function [-Wmaybe-uninitialized]".
37137 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37139         * posix/bug-regex31.c (main): Return RES not 0.
37141 2014-11-25  Anton Blanchard <anton@samba.org>
37143         * sysdeps/powerpc/bits/atomic.h
37144         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37146 2014-11-24  Sterling Augustine  <saugustine@google.com>
37148         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37150 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37152         [BZ #17608]
37153         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37155 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37157         [BZ #17633]
37158         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37159         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37160         variable.
37161         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37162         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37164 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37166         * string/strncpy.c (strncpy): Improve performance by using memset.
37168 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37170         * string/strcpy.c (strcpy):
37171         Improve performance by using strlen and memcpy.
37173 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37175         * string/strcoll_l.c (get_next_seq): __always_inline.
37176         * string/strcoll_l.c (do_compare): __always_inline.
37178 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37180         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37181         defined.
37182         * include/mqueue.h: Likewise.
37183         * include/stdlib.h: Likewise.
37185         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37186         (get_null_defines): Adjust.
37187         * sunrpc/Makefile: Adjust comment.
37188         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37189         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37190         (CFLAGS-interp.c): Likewise.
37191         (CFLAGS-ldconfig.c): Likewise.
37192         (CPPFLAGS-.os): Likewise.
37193         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37194         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37195         * extra-modules.mk (extra-modules.mk): Likewise.
37196         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37197         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37198         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37199         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37200         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37201         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37202         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37203         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37204         * iconvdata/Makefile (CPPFLAGS): Likewise.
37205         (cpp-srcs-left): Add libof for all iconvdata routines.
37206         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37207         * include/assert.h: Likewise.
37208         * include/ctype.h: Likewise.
37209         * include/errno.h: Likewise.
37210         * include/libc-symbols.h: Likewise.
37211         * include/math.h: Likewise.
37212         * include/netdb.h: Likewise.
37213         * include/resolv.h: Likewise.
37214         * include/stdio.h: Likewise.
37215         * include/stdlib.h: Likewise.
37216         * include/string.h: Likewise.
37217         * include/sys/stat.h: Likewise.
37218         * include/wctype.h: Likewise.
37219         * intl/l10nflist.c: Likewise.
37220         * libidn/idn-stub.c: Likewise.
37221         * libio/libioP.h: Likewise.
37222         * nptl/libc_multiple_threads.c: Likewise.
37223         * nptl/pthreadP.h: Likewise.
37224         * posix/regex_internal.h: Likewise.
37225         * resolv/res_hconf.c: Likewise.
37226         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37227         * sysdeps/arm/memmove.S: Likewise.
37228         * sysdeps/arm/sysdep.h: Likewise.
37229         * sysdeps/generic/_itoa.h: Likewise.
37230         * sysdeps/generic/symbol-hacks.h: Likewise.
37231         * sysdeps/gnu/errlist.awk: Likewise.
37232         * sysdeps/gnu/errlist.c: Likewise.
37233         * sysdeps/i386/i586/memcpy.S: Likewise.
37234         * sysdeps/i386/i586/memset.S: Likewise.
37235         * sysdeps/i386/i686/memcpy.S: Likewise.
37236         * sysdeps/i386/i686/memmove.S: Likewise.
37237         * sysdeps/i386/i686/mempcpy.S: Likewise.
37238         * sysdeps/i386/i686/memset.S: Likewise.
37239         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37240         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37241         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37242         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37243         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37244         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37245         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37246         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37247         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37248         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37249         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37250         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37251         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37252         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37253         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37254         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37255         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37256         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37257         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37258         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37259         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37260         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37261         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37262         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37263         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37264         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37265         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37266         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37267         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37268         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37269         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37270         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37272         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37273         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37274         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37275         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37276         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37277         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37278         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37279         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37280         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37281         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37282         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37283         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37284         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37285         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37286         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37287         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37288         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37289         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37290         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37291         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37292         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37293         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37294         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37295         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37296         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37297         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37298         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37299         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37300         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37301         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37302         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37303         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37304         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37305         * sysdeps/posix/closedir.c: Likewise.
37306         * sysdeps/posix/opendir.c: Likewise.
37307         * sysdeps/posix/readdir.c: Likewise.
37308         * sysdeps/posix/rewinddir.c: Likewise.
37309         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37310         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37311         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37312         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37313         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37315         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37317         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37318         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37321         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37322         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37323         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37324         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37325         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37326         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37327         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37328         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37329         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37330         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37331         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37332         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37333         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37335         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37337         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37338         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37344         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37345         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37346         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37347         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37348         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37349         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37350         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37351         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37353         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37354         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37355         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37356         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37357         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37358         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37359         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37360         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37361         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37363         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37364         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37365         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37366         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37367         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37368         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37369         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37370         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37371         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37372         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37373         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37374         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37375         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37376         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37377         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37378         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37379         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37380         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37381         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37382         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37383         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37384         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37385         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37386         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37387         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37388         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37389         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37390         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37391         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37392         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37393         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37394         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37395         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37396         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37397         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37398         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37399         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37400         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37401         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37405         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37406         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37407         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37408         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37410         * sysdeps/unix/alpha/sysdep.S: Likewise.
37411         * sysdeps/unix/alpha/sysdep.h: Likewise.
37412         * sysdeps/unix/make-syscalls.sh: Likewise.
37413         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37415         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37416         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37417         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37418         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37419         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37420         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37421         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37422         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37424         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37425         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37426         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37427         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37428         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37429         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37430         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37431         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37432         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37433         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37434         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37435         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37436         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37437         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37438         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37439         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37442         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37443         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37444         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37446         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37447         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37449         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37451         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37452         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37453         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37454         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37455         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37456         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37460         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37463         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37464         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37465         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37466         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37467         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37468         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37469         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37471         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37472         * sysdeps/x86_64/memcpy.S: Likewise.
37473         * sysdeps/x86_64/memmove.c: Likewise.
37474         * sysdeps/x86_64/memset.S: Likewise.
37475         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37476         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37477         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37478         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37479         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37480         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37481         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37482         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37483         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37484         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37485         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37486         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37487         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37488         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37489         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37490         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37491         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37492         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37493         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37494         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37495         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37496         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37497         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37498         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37499         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37500         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37501         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37502         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37503         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37504         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37505         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37506         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37507         * sysdeps/x86_64/strcmp.S: Likewise.
37509         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37511         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37512         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37513         * elf/rtld-Rules: Likewise.
37514         * elf/setup-vdso.h: Likewise.
37515         * include/assert.h: Likewise.
37516         * include/bits/stdlib-float.h: Likewise.
37517         * include/errno.h: Likewise.
37518         * include/sys/stat.h: Likewise.
37519         * include/unistd.h: Likewise.
37520         * sysdeps/aarch64/setjmp.S: Likewise.
37521         * sysdeps/alpha/setjmp.S: Likewise.
37522         * sysdeps/arm/__longjmp.S: Likewise.
37523         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37524         * sysdeps/arm/setjmp.S: Likewise.
37525         * sysdeps/arm/sysdep.h: Likewise.
37526         * sysdeps/generic/_itoa.h: Likewise.
37527         * sysdeps/generic/dl-sysdep.h: Likewise.
37528         * sysdeps/generic/ldsodefs.h: Likewise.
37529         * sysdeps/i386/dl-tls.h: Likewise.
37530         * sysdeps/i386/setjmp.S: Likewise.
37531         * sysdeps/m68k/setjmp.c: Likewise.
37532         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37533         * sysdeps/mach/hurd/opendir.c: Likewise.
37534         * sysdeps/posix/getcwd.c: Likewise.
37535         * sysdeps/posix/opendir.c: Likewise.
37536         * sysdeps/posix/profil.c: Likewise.
37537         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37539         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37540         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37541         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37542         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37543         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37544         * sysdeps/s390/dl-tls.h: Likewise.
37545         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37546         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37547         * sysdeps/sh/sh3/setjmp.S: Likewise.
37548         * sysdeps/sh/sh4/setjmp.S: Likewise.
37549         * sysdeps/unix/alpha/sysdep.h: Likewise.
37550         * sysdeps/unix/arm/sysdep.S: Likewise.
37551         * sysdeps/unix/i386/sysdep.S: Likewise.
37552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37553         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37554         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37555         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37556         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37557         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37558         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37559         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37560         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37561         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37562         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37563         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37564         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37567         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37568         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37569         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37570         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37571         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37572         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37575         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37576         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37577         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37579         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37580         * sysdeps/x86_64/setjmp.S: Likewise.
37582         * include/math.h: Use IS_IN instead of IS_IN_libm.
37583         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37584         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37585         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37586         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37587         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37588         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37589         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37590         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37591         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37592         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37593         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37594         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37595         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37596         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37597         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37598         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37599         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37600         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37601         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37602         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37603         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37604         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37605         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37606         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37607         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37608         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37609         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37610         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37611         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37612         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37613         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37614         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37615         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37617         Likewise.
37618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37619         Likewise.
37620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37621         Likewise.
37622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37623         Likewise.
37624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37625         Likewise.
37626         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37627         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37628         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37629         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37630         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37631         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37637         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37638         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37639         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37640         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37641         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37642         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37643         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37644         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37645         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37646         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37647         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37648         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37649         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37650         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37652         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37654         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37655         * nptl/pthreadP.h: Likewise.
37656         * nptl_db/structs.def: Likewise.
37657         * sysdeps/arm/sysdep.h: Likewise.
37658         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37659         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37660         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37661         * sysdeps/unix/alpha/sysdep.h: Likewise.
37662         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37664         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37665         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37666         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37667         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37669         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37670         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37671         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37672         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37673         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37674         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37675         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37679         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37680         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37681         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37683         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37684         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37685         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37686         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37687         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37689         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37690         * nptl/pthreadP.h: Likewise.
37691         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37692         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37693         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37694         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37695         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37696         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37697         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37698         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37699         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37700         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37701         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37702         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37704         Likewise.
37705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37706         Likewise.
37707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37709         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37711         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37712         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37713         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37714         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37716         * dlfcn/dladdr.c: Use IS_IN.
37717         * dlfcn/dladdr1.c: Likewise.
37718         * dlfcn/dlclose.c: Likewise.
37719         * dlfcn/dlerror.c: Likewise.
37720         * dlfcn/dlinfo.c: Likewise.
37721         * dlfcn/dlmopen.c: Likewise.
37722         * dlfcn/dlopen.c: Likewise.
37723         * dlfcn/dlsym.c: Likewise.
37724         * dlfcn/dlvsym.c: Likewise.
37726         * include/ifaddrs.h: Use IS_IN.
37727         * inet/check_pf.c: Likewise.
37728         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37729         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37731         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37732         IS_IN_ldconfig.
37733         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37734         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37736         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37737         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37738         IS_IN (libc).
37740         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37742         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37743         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37744         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37745         * include/libc-symbols.h (IS_IN_LIB): New macro.
37746         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37747         * include/netdb.h: Likewise.
37748         * include/stap-probe.h: Remove all uses of IN_LIB.
37750         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37751         instead of IN_MODULE.
37752         * include/libc-symbols.h (IN_MODULE): Define using
37753         MODULE_NAME.
37754         (PASTE_NAME, PASTE_NAME1): New macros.
37755         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37756         of IN_LIB.
37757         (STAP_PROBE_ASM): Likewise.
37759 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37761         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37762         __mach_init in dlopened libc.
37764 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37766         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37767         * sysdeps/arm/preconfigure: Regenerate.
37769 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37771         * nptl/pthread_create.c (__pthread_create_2_1): Set
37772         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37773         when copying values from IATTR into PD.
37775 2014-11-21  Will Newton  <will.newton@linaro.org>
37776             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37778         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37779         Refactor inline-asm.  Also add comment.
37781         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37782         ElfW macro instead of hardcoded Elf64 types.
37783         (la_aarch64_gnu_pltenter): Likewise.
37784         * sysdeps/aarch64/dl-machine.h
37785         (elf_machine_runtime_setup): Use ElfW(Addr).
37787         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37788         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37789         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37790         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37791         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37792         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37793         (R_AARCH64_TLS_DTPMOD): This.
37794         (R_AARCH64_TLS_DTPREL64): Rename to ...
37795         (R_AARCH64_TLS_DTPREL): This.
37796         (R_AARCH64_TLS_TPREL64): Rename to ...
37797         (R_AARCH64_TLS_TPREL): This.
37798         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37799         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37800         R_AARCH64_TLS_TPREL64.
37801         (elf_machine_rela): Likewise.
37803 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37805         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37806         by setting it to 0.  64b atomics are not supported currently.
37808 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37810         [BZ #16469]
37811         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37812         search domain names.
37814 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37816         [BZ #16469]
37817         * NEWS: Update.
37818         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37819         trailing dot.
37820         * posix/tst-getaddrinfo5.c: New.
37821         * posix/Makefile (tests): Add it.
37823 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37825         [BZ #14498]
37826         * NEWS: Fixed.
37827         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37828         after parsing line but before break_if_match.
37829         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37830         if there is a protocol mismatch.
37832 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37834         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37835         because the potential race is on the user-supplied stream.
37837 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37839         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37840         string literal if not passed a buffer.
37841         * manual/job.texi (ctermid): Update reasoning, note deviation
37842         from posix, suggest mtasurace when not passed a buffer, for
37843         future non-preliminary safety notes.
37845 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37847         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37848         of not passing it a buffer.
37849         Reported by Peng Haitao.
37851 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37853         * manual/Makefile ($(objpfx)stamp-summary): Require
37854         check-safety.sh to pass.
37855         * manual/check-safety.sh: Wish for verification that every
37856         @deftypefn and @deftypefun is followed by a @safety remark.
37858 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37860         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37862         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37863         PTHREAD_CANCEL_ASYNCHRONOUS.
37864         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37865         send SIGCANCEL.
37867         * nptl/default-sched.h: New file.
37868         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37869         * nptl/pthread_create.c: Include it.
37870         (__pthread_create_2_1): Use collect_default_sched instead of making
37871         Linux syscalls here directly.
37873 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37875         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37876         __pthread_once): Use C11 atomics.
37878 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37880         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37882 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37884         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37885         atomic_thread_fence_acquire, atomic_thread_fence_release,
37886         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37887         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37888         atomic_compare_exchange_weak_relaxed,
37889         atomic_compare_exchange_weak_acquire,
37890         atomic_compare_exchange_weak_release,
37891         atomic_exchange_acquire, atomic_exchange_release,
37892         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37893         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37894         atomic_fetch_and_acquire,
37895         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37897 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37899         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37900         USE_ATOMIC_COMPILER_BUILTINS): Define.
37901         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37903         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37904         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37905         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37907         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37909         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37910         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37911         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37912         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37913         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37915         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37917         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37919         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37921         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37923         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37925         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37927         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37929         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37931         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37933         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37935         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37936         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37937         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37939         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37942 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37944         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37945         the sched_priority value here.  It was already checked when the user
37946         called pthread_attr_setschedparam.
37948         * nptl/tst-bad-schedattr.c: New file.
37949         * nptl/Makefile (tests): Add it.
37951 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37952             Florian Weimer  <fweimer@redhat.com>
37953             Joseph Myers  <joseph@codesourcery.com>
37954             Adam Conrad  <adconrad@0c3.net>
37955             Andreas Schwab  <schwab@suse.de>
37956             Brooks  <bmoses@google.com>
37958         [BZ #17625]
37959         * wordexp-test.c (__dso_handle): Add prototype.
37960         (__register_atfork): Likewise.
37961         (__app_register_atfork): New function.
37962         (registered_forks): New global.
37963         (register_fork): New function.
37964         (test_case): Add 3 new tests for WRDE_CMDSUB.
37965         (main): Call __app_register_atfork.
37966         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37967         fork count is non-zero fail the test.
37968         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37969         is set.
37970         (parse_dollars): Remove check for WRDE_NOCMD.
37971         (parse_dquote): Likewise.
37973 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37975         * Makeconfig (built-modules): List non-library modules to be
37976         built.
37977         (module-cppflags): Include libc-modules.h for
37978         everything except shlib-versions.v.i.
37979         (CPPFLAGS): Use it.
37980         (before-compile): Add libc-modules.h.
37981         ($(common-objpfx)libc-modules.h,
37982         $(common-objpfx)libc-modules.stmp): New targets.
37983         (common-generated): Add libc-modules.h and libc-modules.stmp.
37984         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37985         * include/libc-symbols.h: Don't include libc-modules.h.
37986         * include/libc-modules.h: Remove file.
37987         * scripts/gen-libc-modules.awk: New script to generate
37988         libc-modules.h.
37989         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37990         Depend on libc-modules.stmp.
37992         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37994         * Makeconfig (in-module): Get value of libof set for the
37995         translation unit.
37996         (CPPFLAGS): Use $(in-module).
37997         * Makerules: Don't suffix routine names for nonlib.
37998         * include/libc-modules.h: New file.
37999         * include/libc-symbols.h: Include libc-modules.h
38000         (IS_IN): New macro to replace IS_IN_* macros.
38001         * elf/Makefile: Set libof-* for each routine.
38002         * elf/rtld-Rules: Likewise.
38003         * extra-modules.mk: Likewise.
38004         * iconv/Makefile: Likewise.
38005         * iconvdata/Makefile: Likewise.
38006         * locale/Makefile: Likewise.
38007         * malloc/Makefile: Likewise.
38008         * nss/Makefile: Likewise.
38009         * sysdeps/gnu/Makefile: Likewise.
38010         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38011         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38012         * sysdeps/s390/s390-64/Makefile: Likewise.
38013         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38014         CPPFLAGS for nscd instead of nonlib.
38016 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38018         * nptl/createthread.c: New file.
38020         * nptl/createthread.c: Moved ...
38021         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38023         * nptl/createthread.c: Add proper top-line comment.
38024         (do_clone): Folded into ...
38025         (create_thread): ... here.  Take new arguments STOPPED_START and
38026         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38027         increment __nptl_threads, do event-reporting logic, do
38028         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38029         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38030         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38031         just send SIGCANCEL.
38032         * nptl/pthread_create.c: Forward-declare create_thread before
38033         including createthread.c.
38034         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38035         declaration, and new macro START_THREAD_SELF to replace argument.
38036         Remove return statement.
38037         (report_thread_creation): New function.
38038         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38039         synchronization logic, and __nptl_nthreads increment here, around
38040         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38041         PD->parent_cancelhandling here, before create_thread.  When
38042         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38043         __deallocate_stack, and ENOMEM translation here.
38045 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38047         [BZ #17616]
38048         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38049         (mptwo): Rename to __mptwo.
38050         (__inv): Use __mptwo instead of mptwo.
38051         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38052         (mptwo): Rename to __mptwo.
38053         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38054         of mpone and __mptwo instead of mptwo.
38055         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38056         instead of mpone.
38057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38058         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38059         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38060         of mpone and __mptwo instead of mptwo.
38061         (__mpranred): Use __mpone instead of mpone.
38062         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38063         variable.
38064         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38065         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38066         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38067         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38068         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38069         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38070         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38071         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38072         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38073         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38074         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38075         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38076         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38077         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38078         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38079         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38080         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38081         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38082         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38084 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38086         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38087         replace BSD Handler xref with BSD Signal Handling.
38089 2014-11-17  Richard Henderson  <rth@redhat.com>
38091         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38092         (_FP_PACK_RAW_2): Remove.
38093         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38094         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38095         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38096         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38097         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38098         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38099         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38100         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38101         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38102         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38103         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38104         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38105         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38106         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38107         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38108         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38110 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38112         * signal/signal.h [__USE_MISC]
38113         (struct sigvec): Remove type.
38114         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38115         (sigvec): Remove declaration.
38116         * sysdeps/posix/sigvec.c: Moved ...
38117         * signal/sigvec.c: ... here, replacing old file.
38118         (struct sigvec): New type, copied from old signal.h definition.
38119         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38120         (__sigvec): Convert definition to prototype.
38121         (sigvec): Replace weak_alias with compat_symbol.
38122         * signal/Versions (libc: GLIBC_2.21): New version set.
38123         * include/signal.h: Remove __sigvec declaration.
38124         * sysdeps/unix/bsd/sigvec.c: Remove file.
38125         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38126         * manual/signal.texi (BSD Handler): Remove subsection.
38127         Move siginterrupt up to ...
38128         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38129         (Blocking in BSD): Fold subsection into its parent.
38130         * NEWS: Mention sigvec removal.
38132 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38134         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38135         (DLA_FMS): Make definition conditional only on [__FMA4__].
38136         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38137         definition.
38139         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38140         Make definition conditional only on [PROF].
38141         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38142         definition.
38143         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38144         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38146         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38147         !__GNUC__].
38148         * include/signal.h (__sigpause): Move declaration above call to
38149         libc_hidden_proto.
38150         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38151         variable.
38152         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38153         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38155 2014-11-14  David S. Miller  <davem@davemloft.net>
38157         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38158         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38160 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38162         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38163         * configure: Regenerated.
38164         * manual/install.texi (Tools for Compilation): Document a
38165         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38166         compiler verified to work.
38167         * INSTALL: Regenerated.
38169         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38170         redeclare with asm name.
38171         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38172         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38173         including <string.h>.
38174         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38175         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38176         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38177         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38178         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38180         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38182 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38184         * stdlib/strtol.c (__strtol): Use prototype definition.
38186         [BZ #17594]
38187         * stdlib/strtol.c (SYM__): New macro.
38188         (SYM__1): Likewise.
38189         (__strtol): Likewise.
38190         (strtol): Rename to __strtol and define as weak alias of
38191         __strtol.  Use libc_hidden_weak.
38193 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38195         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38196         Use numbered labels in inline assembly.
38198 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38200         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38201         Add setjmp LIBC_PROBE.
38202         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38203         Likewise.
38204         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38205         Add longjmp, longjmp_target LIBC_PROBE.
38206         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38207         Likewise.
38209 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38211         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38212         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38213         to get rid of unused variable warning.
38215 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38217         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38218         Check for unwind_backtrace ==  NULL only in SHARED case.
38219         (__backchain_backtrace): Compile only in SHARED case.
38220         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38221         Likewise.
38222         (__backchain_backtrace): Declare as static.
38224 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38226         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38227         (__libc_multiple_threads_ptr): Variable moved ...
38228         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38230 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38232         * conform/GlibcConform.pm: New file.
38233         * conform/conformtest.pl: Use GlibcConform module.
38234         * conform/linknamespace.pl: New file.
38235         * conform/list-header-symbols.pl: Likewise.
38236         * conform/Makefile (linknamespace-symlists-base): New variable.
38237         (linknamespace-symlists-tests): Likewise.
38238         (linknamespace-header-base): Likewise.
38239         (linknamespace-header-tests): Likewise.
38240         (tests-special): Add new tests.
38241         ($(linknamespace-symlists-tests)): New rule.
38242         (linknamespace-libs): New variable.
38243         ($(objpfx)symlist-stdlibs): New rule.
38244         ($(linknamespace-header-tests)): Likewise.
38245         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38246         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38247         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38248         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38249         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38250         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38251         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38252         (test-xfail-ISO/math.h/linknamespace): Likewise.
38253         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38254         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38255         (test-xfail-ISO/time.h/linknamespace): Likewise.
38256         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38257         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38258         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38259         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38260         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38261         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38262         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38263         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38264         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38265         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38266         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38267         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38268         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38269         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38270         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38271         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38272         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38273         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38274         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38275         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38276         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38277         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38278         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38279         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38280         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38281         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38282         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38283         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38284         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38285         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38286         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38287         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38288         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38289         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38290         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38291         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38292         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38293         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38294         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38295         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38296         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38297         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38298         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38299         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38300         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38301         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38302         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38303         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38304         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38305         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38306         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38307         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38308         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38309         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38310         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38311         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38312         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38313         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38314         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38315         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38316         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38317         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38318         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38319         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38320         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38321         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38322         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38323         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38324         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38325         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38326         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38327         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38328         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38329         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38330         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38331         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38332         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38333         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38334         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38335         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38336         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38337         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38338         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38339         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38340         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38341         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38342         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38343         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38344         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38345         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38346         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38347         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38348         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38349         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38350         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38351         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38352         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38353         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38354         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38355         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38356         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38357         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38358         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38359         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38360         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38361         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38362         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38363         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38364         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38365         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38366         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38367         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38368         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38369         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38370         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38371         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38372         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38373         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38374         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38375         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38376         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38377         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38378         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38379         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38380         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38381         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38382         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38383         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38384         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38385         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38386         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38387         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38388         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38389         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38390         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38391         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38392         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38393         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38394         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38395         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38396         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38397         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38398         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38399         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38400         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38401         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38402         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38403         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38404         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38405         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38407         [BZ #17589]
38408         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38409         of fgets_unlocked.
38411         [BZ #17585]
38412         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38413         (memmem): Rename to __memmem and define as weak alias of
38414         __memmem.  Use libc_hidden_weak.
38415         (__memmem): Use libc_hidden_def.
38416         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38417         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38418         memmem.
38420         [BZ #17582]
38421         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38422         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38423         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38424         and define as weak alias of __fgets_unlocked.  Use
38425         libc_hidden_weak.
38426         (__fgets_unlocked): Use libc_hidden_def.
38427         * include/stdio.h (__fgets_unlocked): Declare.  Use
38428         libc_hidden_proto.
38429         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38430         __fgets_unlocked instead of fgets_unlocked.
38431         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38432         (GET_NPROCS_CONF_PARSER): Likewise.
38433         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38434         (GET_NPROCS_CONF_PARSER): Likewise.
38436         [BZ #17574]
38437         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38438         weak alias of __wmemset.  Use libc_hidden_weak.
38439         (__wmemset): Use libc_hidden_def.
38440         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38441         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38442         of wmemset.
38444         [BZ #17573]
38445         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38446         with asm name __mempcpy.
38447         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38449         [BZ #17572]
38450         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38451         and define as weak alias of __rawmemchr.
38452         (__rawmemchr): Do not define as strong alias of rawmemchr.
38454         [BZ #17571]
38455         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38456         alias of __qsort_r.
38457         (qsort): Call __qsort_r instead of qsort_r.
38458         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38459         (__qsort_r): Declare.  Call libc_hidden_proto.
38460         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38461         instead of qsort_r.
38462         * nscd/gai.c (__qsort_r): Define to qsort_r.
38463         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38464         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38465         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38467         [BZ #17570]
38468         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38469         define as weak alias of __malloc_info.
38471         [BZ #17584]
38472         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38473         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38474         (__rewinddir): Use libc_hidden_def.
38475         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38476         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38477         (__rewinddir): Use libc_hidden_def.
38478         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38479         weak alias of __rewinddir.  Don't use libc_hidden_def.
38480         (__rewinddir): Use libc_hidden_def.
38481         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38482         (__rewinddir): Use libc_hidden_proto.
38483         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38484         rewinddir.
38485         (__getcwd): Use __rewinddir instead of rewinddir.
38487         [BZ #17583]
38488         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38489         alias of __fileno.  Use libc_hidden_weak.
38490         (__fileno): Use libc_hidden_def.
38491         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38492         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38493         alias of __ftello.
38494         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38495         __ftello.
38496         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38497         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38498         libc_hidden_def.
38499         (fread_unlocked): Don't use libc_hidden_ver.
38500         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38501         and define as weak alias of __fread_unlocked.  Don't use
38502         libc_hidden_def.
38503         (__fread_unlocked): Use libc_hidden_def.
38504         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38505         (ftello): Don't use libc_hidden_proto.
38506         (__ftello): Declare.  Use libc_hidden_proto.
38507         (fread_unlocked): Don't use libc_hidden_proto.
38508         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38509         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38510         and __ftello instead of fileno, fread_unlocked and ftello.
38512 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38514         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38515         GOT12.
38516         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38517         Likewise.
38518         (_dl_start_user): Likewise.
38519         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38521 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38522             Siddhesh Poyarekar  <siddhesh@redhat.com>
38524         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38525         Move argv and envp down instead of moving argc up.
38526         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38528 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38530         [BZ #17506]
38531         * test-skeleton.c (main): Return successful if one of
38532         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38533         * string/tst-strcoll-overflow.c: Define expected status.
38535 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38537         [BZ #17475]
38538         * locale/iso-639.def: Define Bhili and Tulu language codes.
38540 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38542         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38544 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38546         [BZ #17555]
38547         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38549 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38551         * configure.ac: Updated check of minimal required version to
38552         2.22.
38553         * manual/install.texi (Tools for Compilation): Updated version
38554         number.
38555         * configure: Regenerated.
38556         * INSTALL: Likewise.
38558 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38560         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38561         __tls_get_addr.
38563 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38565         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38566         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38567         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38568         libc_hidden_weak.
38569         (waitpid): Define as alias of __waitpid.
38570         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38571         __waitpid.
38572         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38573         libc_hidden_weak.
38574         (waitpid): Define as alias of __waitpid.
38575         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38576         __libc_waitpid alias.
38577         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38578         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38579         Likewise.
38580         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38581         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38582         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38583         alias.
38584         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38585         __waitpid.
38586         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38587         libc_hidden_weak.
38588         (waitpid): Define as alias of __waitpid.
38590 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38592         * manual/llio.texi: Add comment that write safety has been
38593         fixed in Linux.
38595         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38596         (localplt-build-dso): Add elf/ld.so.
38597         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38598         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38599         and free for ld.so.
38600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38601         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38603         Likewise.
38604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38605         Likewise.
38606         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38607         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38608         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38609         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38610         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38611         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38612         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38613         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38614         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38615         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38616         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38618 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38620         [BZ #14132]
38621         * include/libc-symbols.h (INTUSE): Remove macro.
38622         (INTDEF): Likewise.
38623         (INTVARDEF): Likewise.
38624         (_INTVARDEF): Likewise.
38625         (INTDEF2): Likewise.
38626         (INTVARDEF2): Likewise.
38627         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38628         rtld_hidden_def instead of INTVARDEF.
38629         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38630         (_dl_starting_up_internal): Remove declaration.
38631         (_dl_starting_up): Use rtld_hidden_proto.
38632         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38633         declaration.
38634         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38635         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38636         _dl_starting_up.
38637         * elf/dl-writev.h (_dl_writev): Likewise.
38638         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38639         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38640         _dl_starting_up_internal.
38642 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38644         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38645         test-skeleton.c.
38647 2014-11-05  Will Newton  <will.newton@linaro.org>
38649         * benchtests/Makefile: (bench-malloc): Add malloc thread
38650         scalability benchmark.
38651         * benchtests/bench-malloc-threads.c: New file.
38653 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38655         * sysdeps/aarch64/strchrnul.S: New file.
38657 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38659         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38660         definition.
38661         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38662         Likewise.
38663         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38664         Likewise.
38665         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38666         Likewise.
38667         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38668         Likewise.
38669         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38670         Likewise.
38672 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38674         * catgets/test-gencat.c: Use test-skeleton.c.
38675         * catgets/tst-catgets.c: Likewise.
38676         * csu/tst-empty.c: Likewise.
38677         * elf/tst-audit2.c: Likewise.
38678         * elf/tst-global1.c: Likewise.
38679         * elf/tst-pathopt.c: Likewise.
38680         * elf/tst-piemod1.c: Likewise.
38681         * elf/tst-tls10.c: Likewise.
38682         * elf/tst-tls11.c: Likewise.
38683         * elf/tst-tls12.c: Likewise.
38684         * gnulib/tst-gcc.c: Likewise.
38685         * iconvdata/tst-e2big.c: Likewise.
38686         * iconvdata/tst-loading.c: Likewise.
38687         * iconv/tst-iconv1.c: Likewise.
38688         * iconv/tst-iconv2.c: Likewise.
38689         * inet/test-inet6_opt.c: Likewise.
38690         * inet/tst-gethnm.c: Likewise.
38691         * inet/tst-network.c: Likewise.
38692         * inet/tst-ntoa.c: Likewise.
38693         * intl/tst-codeset.c: Likewise.
38694         * intl/tst-gettext2.c: Likewise.
38695         * intl/tst-gettext3.c: Likewise.
38696         * intl/tst-ngettext.c: Likewise.
38697         * intl/tst-translit.c: Likewise.
38698         * io/test-stat.c: Likewise.
38699         * libio/test-fmemopen.c: Likewise.
38700         * libio/tst-freopen.c: Likewise.
38701         * libio/tst-sscanf.c: Likewise.
38702         * libio/tst-ungetwc1.c: Likewise.
38703         * libio/tst-ungetwc2.c: Likewise.
38704         * libio/tst-widetext.c: Likewise.
38705         * localedata/tst-ctype.c: Likewise.
38706         * localedata/tst-digits.c: Likewise.
38707         * localedata/tst-leaks.c: Likewise.
38708         * localedata/tst-mbswcs1.c: Likewise.
38709         * localedata/tst-mbswcs2.c: Likewise.
38710         * localedata/tst-mbswcs3.c: Likewise.
38711         * localedata/tst-mbswcs4.c: Likewise.
38712         * localedata/tst-mbswcs5.c: Likewise.
38713         * localedata/tst-setlocale.c: Likewise.
38714         * localedata/tst-trans.c: Likewise.
38715         * localedata/tst-wctype.c: Likewise.
38716         * localedata/tst-xlocale1.c: Likewise.
38717         * login/tst-grantpt.c: Likewise.
38718         * malloc/tst-calloc.c: Likewise.
38719         * malloc/tst-malloc.c: Likewise.
38720         * malloc/tst-mallocstate.c: Likewise.
38721         * malloc/tst-mcheck.c: Likewise.
38722         * malloc/tst-mtrace.c: Likewise.
38723         * malloc/tst-obstack.c: Likewise.
38724         * math/atest-exp2.c: Likewise.
38725         * math/atest-exp.c: Likewise.
38726         * math/atest-sincos.c: Likewise.
38727         * math/test-matherr.c: Likewise.
38728         * math/test-misc.c: Likewise.
38729         * math/test-powl.c: Likewise.
38730         * math/tst-definitions.c: Likewise.
38731         * misc/tst-dirname.c: Likewise.
38732         * misc/tst-efgcvt.c: Likewise.
38733         * misc/tst-fdset.c: Likewise.
38734         * misc/tst-hsearch.c: Likewise.
38735         * misc/tst-mntent2.c: Likewise.
38736         * nptl/tst-sem7.c: Likewise.
38737         * nptl/tst-sem8.c: Likewise.
38738         * nptl/tst-sem9.c: Likewise.
38739         * nss/test-netdb.c: Likewise.
38740         * posix/tst-fnmatch.c: Likewise.
38741         * posix/tst-getlogin.c: Likewise.
38742         * posix/tst-gnuglob.c: Likewise.
38743         * posix/tst-mmap.c: Likewise.
38744         * pwd/tst-getpw.c: Likewise.
38745         * resolv/tst-inet_ntop.c: Likewise.
38746         * rt/tst-timer.c: Likewise.
38747         * stdio-common/test-fseek.c: Likewise.
38748         * stdio-common/test-popen.c: Likewise.
38749         * stdio-common/test-vfprintf.c: Likewise.
38750         * stdio-common/tst-cookie.c: Likewise.
38751         * stdio-common/tst-fileno.c: Likewise.
38752         * stdio-common/tst-gets.c: Likewise.
38753         * stdio-common/tst-obprintf.c: Likewise.
38754         * stdio-common/tst-perror.c: Likewise.
38755         * stdio-common/tst-sprintf2.c: Likewise.
38756         * stdio-common/tst-sprintf3.c: Likewise.
38757         * stdio-common/tst-sprintf.c: Likewise.
38758         * stdio-common/tst-swprintf.c: Likewise.
38759         * stdio-common/tst-tmpnam.c: Likewise.
38760         * stdio-common/tst-unbputc.c: Likewise.
38761         * stdio-common/tst-wc-printf.c: Likewise.
38762         * stdlib/tst-environ.c: Likewise.
38763         * stdlib/tst-fmtmsg.c: Likewise.
38764         * stdlib/tst-limits.c: Likewise.
38765         * stdlib/tst-rand48-2.c: Likewise.
38766         * stdlib/tst-rand48.c: Likewise.
38767         * stdlib/tst-random2.c: Likewise.
38768         * stdlib/tst-random.c: Likewise.
38769         * stdlib/tst-strtol.c: Likewise.
38770         * stdlib/tst-strtoll.c: Likewise.
38771         * stdlib/tst-tls-atexit.c: Likewise.
38772         * stdlib/tst-xpg-basename.c: Likewise.
38773         * string/test-ffs.c: Likewise.
38774         * string/tst-bswap.c: Likewise.
38775         * string/tst-inlcall.c: Likewise.
38776         * string/tst-strtok.c: Likewise.
38777         * string/tst-strxfrm.c: Likewise.
38778         * sysdeps/x86_64/tst-audit10.c: Likewise.
38779         * sysdeps/x86_64/tst-audit3.c: Likewise.
38780         * sysdeps/x86_64/tst-audit4.c: Likewise.
38781         * sysdeps/x86_64/tst-audit5.c: Likewise.
38782         * time/tst-ftime_l.c: Likewise.
38783         * time/tst-getdate.c: Likewise.
38784         * time/tst-mktime3.c: Likewise.
38785         * time/tst-mktime.c: Likewise.
38786         * time/tst-posixtz.c: Likewise.
38787         * time/tst-strptime2.c: Likewise.
38788         * time/tst-strptime3.c: Likewise.
38789         * wcsmbs/tst-btowc.c: Likewise.
38790         * wcsmbs/tst-mbrtowc.c: Likewise.
38791         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38792         * wcsmbs/tst-wchar-h.c: Likewise.
38793         * wcsmbs/tst-wcpncpy.c: Likewise.
38794         * wcsmbs/tst-wcrtomb.c: Likewise.
38795         * wcsmbs/tst-wcsnlen.c: Likewise.
38796         * wcsmbs/tst-wcstof.c: Likewise.
38798 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38800         [BZ #14132]
38801         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38802         INTDEF.
38803         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38804         declaration.
38805         (_dl_mcount): Use rtld_hidden_proto.
38806         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38807         _dl_mcount.
38808         * elf/rtld.c (_rtld_global_ro): Likewise.
38810         [BZ #14132]
38811         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38812         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38813         of _dl_init_internal.
38814         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38815         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38816         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38817         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38818         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38819         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38820         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38821         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38822         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38823         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38824         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38825         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38826         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38827         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38828         * sysdeps/tile/dl-start.S (_start): Likewise.
38829         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38830         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38832         [BZ #14132]
38833         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38834         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38835         (rtld_progname): Make macro definition unconditional.
38836         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38837         INTDEF.
38838         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38839         (dl_main): Likewise.
38840         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38841         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38842         instead of _dl_argv_internal.
38843         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38844         __GI__dl_argv instead of INTUSE(_dl_argv).
38845         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38846         __GI__dl_argv instead of _dl_argv_internal.
38848         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38849         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38850         macro.
38851         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38852         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38853         New macro.
38854         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38855         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38856         macro.
38857         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38858         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38860 2014-11-04  Andreas Schwab  <schwab@suse.de>
38862         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38864 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38866         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38867         mtvsrd instruction in binary form.
38869 2014-11-03  Andreas Schwab  <schwab@suse.de>
38871         [BZ #17522]
38872         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38873         for less than MB_LEN_MAX use a local buffer of that size.
38874         * libio/tst-fputws.c: New file.
38875         * libio/Makefile (tests): Add tst-fputws.
38877 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38879         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38880         the size of the fpu_fr.fpu_dregs[] array.
38882 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38884         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38885         (__nanosleep): Do not define as alias.
38886         (nanosleep): Define as alias of __nanosleep.
38887         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38888         __libc_nanosleep name.
38890 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38892         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38893         install.texi in comment.
38895 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38897         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38898         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38899         ... add here and use lwsync or sync ...
38900         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38901         ... and add here using lwsync.
38903 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38905         * elf/dl-machine-reject-phdr.h: New file.
38906         * elf/dl-load.c: #include that.
38907         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38908         if that returned true.
38910 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38912         [BZ #17496]
38913         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38914         gen-as-const-headers chunk.  Add a big scare comment after the last
38915         safe place to touch before-compile.
38917 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38919         * manual/install.texi (Tools for Compilation): Update autoconf
38920         version requirements.
38921         * INSTALL: Regenerated.
38923         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38924         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38925         (__libc_pselect): Likewise.
38927         [BZ #14138]
38928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38933 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38935         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38936         correct barrier instruction.
38937         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38938         Likewise.
38939         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38940         Likewise.
38942 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38944         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38945         after defining inlines.  Instead, just use parens to defeat macro
38946         expansion of __isctype in its declaration.
38948 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38950         * include/sys/uio.h (__libc_readv): Remove declaration.
38951         (__libc_writev): Likewise.
38952         * misc/readv.c (__libc_readv): Rename to __readv.
38953         (__readv): Do not define as alias.
38954         (readv): Define as alias of __readv.
38955         * misc/writev.c (__libc_writev): Rename to __writev.
38956         (__writev): Do not define as alias.
38957         (writev): Define as alias of __writev.
38958         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38959         (__readv): Do not define as alias.
38960         (readv): Define unconditionally as alias of __readv.
38961         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38962         (__writev): Do not define as alias.
38963         (writev): Define unconditionally as alias of __writev.
38964         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38965         name.
38966         (writev): Do not define __libc_writev name.
38968 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38970         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38971         (convert_charseq): New function, broken out of ...
38972         (use_from_charmap): ... here.  Call it.
38973         (use_to_charmap): Use convert_charseq and free instead of duplicating
38974         its code with a variable-length stack struct.
38976 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38978         * include/fcntl.h (__libc_creat): Remove declaration.
38979         * io/creat.c (__libc_creat): Rename to creat.
38980         (creat): Do not define as alias.
38981         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38982         of creat instead of __libc_creat.
38983         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38984         to creat.
38985         (creat): Do not define as alias.
38986         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38987         __libc_creat.
38988         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38989         __libc_creat name.
38990         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38991         Likewise.
38993 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38995         * manual/llio.texi: Add comments discussing why write() may be
38996         considered MT-unsafe on Linux.
38998 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39000         * dl-load.c (local_strdup): Remove.
39001         (expand_dynamic_string_token): Use __strdup.
39002         (decompose_rpath): Likewise.
39003         (_dl_map_object): Likewise.
39005 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39007         [BZ #14132]
39008         * sysdeps/generic/unwind-dw2-fde.c
39009         (__register_frame_info_bases_internal): Do not declare.
39010         (__register_frame_info_table_bases_internal): Likewise.
39011         (__deregister_frame_info_bases_internal): Likewise.
39012         (__register_frame_info_bases): Declare and use hidden_proto before
39013         definition.  Use hidden_def instead of INTDEF.
39014         (__register_frame_info_table_bases): Likewise.
39015         (__deregister_frame_info_bases): Likewise.
39016         (__register_frame_info): Do not use INTUSE.
39017         (__register_frame): Likewise.
39018         (__register_frame_info_table): Likewise.
39019         (__register_frame_table): Likewise.
39020         (__deregister_frame_info): Likewise.
39021         (__deregister_frame): Likewise.
39023 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39025         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39026         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39027         not undefine.
39028         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39029         Likewise.
39030         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39031         Likewise.
39033 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39035         [BZ #14138]
39036         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39037         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39038         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39039         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39040         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39041         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39042         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39043         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39044         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39045         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39046         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39047         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39048         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39049         syscall.
39050         (setfsuid): Likewise.
39051         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39052         (setfsuid): Likewise.
39053         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39054         (setfsuid): Likewise.
39055         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39056         Likewise.
39057         (setfsuid): Likewise.
39058         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39059         (setfsuid): Likewise.
39060         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39061         Likewise.
39062         (setfsuid): Likewise.
39064 2014-10-27  Andreas Schwab  <schwab@suse.de>
39066         [BZ #17501]
39067         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39068         check for Slow_SSE4_2 feature bit.
39069         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39070         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39071         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39072         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39074 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39076         * configure.ac: Validate compiler version with a empirical test of
39077         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39078         $CC -v output.
39079         * configure: Regenerated.
39081         * inet/htons.c (htons): Prototypify.
39082         * inet/htonl.c (htonl): Likewise.
39084 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39086         * string/strncat.c (strncat): Improve performance by using strlen.
39088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39090         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39092 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39094         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39095         Call libc_fetestexcept_aarch64.
39097 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39099         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39100         Call libc_feholdexcept_aarch64.
39102 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39104         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39105         Call get_rounding_mode.
39107 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39109         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39110         Simplify logic.
39112 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39114         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39115         Simplify logic.
39117 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39119         [BZ #14138]
39120         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39121         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39122         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39123         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39124         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39125         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39126         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39127         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39128         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39129         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39130         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39131         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39132         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39133         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39134         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39135         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39136         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39137         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39138         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39139         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39140         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39141         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39142         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39143         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39144         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39145         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39146         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39147         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39148         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39149         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39150         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39151         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39152         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39153         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39154         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39155         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39156         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39157         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39158         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39159         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39160         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39161         syscall.
39162         (geteuid): Likewise.
39163         (getgid): Likewise.
39164         (getuid): Likewise.
39165         (getresgid): Likewise.
39166         (getresuid): Likewise.
39167         (getgroups): Likewise.
39168         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39169         (geteuid): Likewise.
39170         (getgid): Likewise.
39171         (getuid): Likewise.
39172         (getresgid): Likewise.
39173         (getresuid): Likewise.
39174         (getgroups): Likewise.
39175         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39176         (geteuid): Likewise.
39177         (getgid): Likewise.
39178         (getuid): Likewise.
39179         (getresgid): Likewise.
39180         (getresuid): Likewise.
39181         (getgroups): Likewise.
39182         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39183         Likewise.
39184         (geteuid): Likewise.
39185         (getgid): Likewise.
39186         (getuid): Likewise.
39187         (getresgid): Likewise.
39188         (getresuid): Likewise.
39189         (getgroups): Likewise.
39190         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39191         (geteuid): Likewise.
39192         (getgid): Likewise.
39193         (getuid): Likewise.
39194         (getresgid): Likewise.
39195         (getresuid): Likewise.
39196         (getgroups): Likewise.
39197         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39198         Likewise.
39199         (geteuid): Likewise.
39200         (getgid): Likewise.
39201         (getuid): Likewise.
39202         (getgroups): Likewise.
39204         [BZ #14138]
39205         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39206         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39207         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39208         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39209         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39210         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39211         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39212         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39213         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39214         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39215         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39216         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39217         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39218         __chown.
39219         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39220         (lchown): Likewise.
39221         (fchown): Likewise.
39222         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39223         Likewise.
39224         (lchown): Likewise.
39225         (fchown): Likewise.
39226         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39227         (lchown): Likewise.
39228         (fchown): Likewise.
39229         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39230         Likewise.
39231         (lchown): Likewise.
39232         (fchown): Likewise.
39234 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39236         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39237         Simplify logic.
39239 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39241         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39242         Cleanup logic.
39244 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39246         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39247         Remove unused include.
39249 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39251         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39252         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39253         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39254         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39256 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39257             Helge Deller <deller@gmx.de>
39259         [BZ #17508]
39260         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39261         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39262         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39264 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39266         [BZ #14132]
39267         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39268         Remove macro definition.
39269         (__ashrdi3_v_glibc20): Likewise.
39270         (__lshrdi3_v_glibc20): Likewise.
39271         (__cmpdi2_v_glibc20): Likewise.
39272         (__ucmpdi2_v_glibc20): Likewise.
39273         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39274         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39275         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39276         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39277         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39278         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39280 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39282         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39283         old GNU extension [0] syntax.
39284         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39285         alloca rather than an array member with variable length.
39286         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39287         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39288         (parse_opt): ... here.  Likewise use alloca there.
39289         Validate the -i argument before checking for rootness.
39290         (send_shutdown): New function, broken out of ...
39291         (parse_opt): ... here.
39293 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39295         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39296         macro to get at the _rt_local_ro field.
39297         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39298         ([PIC] case) or _dl_hwcap ([!PIC] case).
39299         * sysdeps/arm/setjmp.S: Likewise.
39301         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39302         * sysdeps/arm/configure.ac: New check to define it.
39303         * sysdeps/arm/configure: Regenerated.
39304         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39305         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39306         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39307         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39308         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39309         Use move/movt pair instead of a load.
39310         (LDST_GLOBAL): Macro removed.
39311         (LDR_GLOBAL): New macro replaces it.
39312         (LDR_HIDDEN): New macro.
39313         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39314         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39316         * setjmp/tst-setjmp-static.c: New file.
39317         * setjmp/Makefile (tests): Add it.
39318         (tests-static): New variable.
39320 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39322         [BZ #17485]
39323         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39325 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39327         [BZ #14132]
39328         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39330 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39332         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39334 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39336         * io/fts.c (dirent_not_directory): New function.
39337         (fts_build): Call it.
39339 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39341         * nptl/version.c (__nptl_main): Use normal __write rather than
39342         INTERNAL_SYSCALL.
39343         (banner): Update copyright years.
39345         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39346         gettimeofday.
39347         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39348         * nptl/pthread_cond_timedwait.c: Likewise.
39349         * nptl/pthread_mutex_timedlock.c: Likewise.
39350         * nptl/sem_timedwait.c: Likewise.
39352         * sysdeps/nptl/bits/libc-lock.h
39353         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39354         (__libc_lock_init_recursive): Return void, not 0.
39355         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39356         (__libc_rwlock_init): Likewise.
39357         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39359 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39361         [BZ #15215]
39362         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39363         (__pthread_once_slow): ... here.
39364         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39365         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39367 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39369         [BZ #15215]
39370         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39371         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39372         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39373         * nptl/pthread_once.c (__pthread_once): Likewise.
39374         Update comments.
39376 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39378         [BZ #14138]
39379         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39380         name.
39381         (writev): Use __libc_writev as strong name.
39382         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39383         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39385 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39387         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39389         * sysdeps/i386/nptl/tls.h
39390         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39391         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39392         New macros.
39393         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39394         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39395         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39396         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39397         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39398         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39400         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39401         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39402         on [__NR_futex].
39403         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39404         broken out of ...
39405         (__pthread_mutex_init): ... here.  Call it.
39406         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39407         Conditionalize PI cases on [__NR_futex].
39408         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39409         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39410         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39412         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39413         conditional on [SIGSETXID].
39414         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39415         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39416         is defined.  Likewise for SIGSETXID.
39417         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39418         Conditionalize definitions on [SIGSETXID].
39419         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39420         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39421         unblocking on [SIGCANCEL].
39423         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39424         [__NR_set_robust_list].
39426 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39428         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39429         (do_compare): Likewise.
39431 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39433         [BZ #15884]
39434         * string/strcoll_l.c: Don't include stdio.h.
39435         (coll_seq): Remove members idxarr and rulearr.
39436         (get_next_seq_cached): Remove function.
39437         (get_next_seq): Likewise.
39438         (get_next_seq_nocache): Rename to get_next_seq.
39439         (do_compare): Remove function.
39440         (do_compare_nocache): Rename to do_compare.
39441         (STRCOLL): Remove weight and rules cache.
39443 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39445         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39446         * sysdeps/arm/sfp-machine.h: ... to here.
39447         * sysdeps/arm/Implies: Remove arm/soft-fp.
39449 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39451         * conform/data/sys/utsname.h-data (*_t): Allow.
39452         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39453         [POSIX] (WEXITED): Do not expect constant.
39454         [POSIX] (WSTOPPED): Likewise.
39455         [POSIX] (WNOHANG): Likewise.
39456         [POSIX] (WNOWAIT): Likewise.
39457         [POSIX] (siginfo_t): Do not expect type or elements.
39458         [POSIX] (pid_t): Do not expect type.
39459         [POSIX] (signal.h): Do not allow header.
39460         [POSIX] (sys/resource.h): Likewise.
39461         [POSIX] (si_*): Do not allow pattern.
39462         [POSIX] (W*): Likewise.
39463         [POSIX] (P_*): Likewise.
39464         [POSIX] (BUS_*): Likewise.
39465         [POSIX] (CLD_*): Likewise.
39466         [POSIX] (FPE_*): Likewise.
39467         [POSIX] (ILL_*): Likewise.
39468         [POSIX] (POLL_*): Likewise.
39469         [POSIX] (SEGV_*): Likewise.
39470         [POSIX] (SI_*): Likewise.
39471         [POSIX] (TRAP_*): Likewise.
39472         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39473         variable.
39475 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39477         [BZ #12926]
39478         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39479         infinite loop when __recvmsg returns 0.
39481 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39483         * CANCEL-FCT-WAIVE: Remove file.
39484         * CANCEL-FILE-WAIVE: Likewise.
39486         [BZ #14132]
39487         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39488         instead of INTVARDEF.
39489         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39490         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39491         rtld_hidden_data_def instead of INTVARDEF.
39492         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39493         * elf/dl-deps.c (expand_dst): Likewise.
39494         * elf/dl-load.c (_dl_dst_count): Likewise.
39495         (_dl_dst_substitute): Likewise.
39496         (decompose_rpath): Likewise.
39497         (_dl_init_paths): Likewise.
39498         (open_path): Likewise.
39499         (_dl_map_object): Likewise.
39500         * elf/rtld.c (dl_main): Likewise.
39501         (process_dl_audit): Likewise.
39502         (process_envvars): Likewise.
39503         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39504         Remove declaration.
39505         (__libc_enable_secure): Use rtld_hidden_proto.
39507 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39509         * elf/dl-load.c
39510         (add_path): New function broken out of _dl_rtld_di_serinfo.
39511         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39513 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39515         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39516         parentheses around macro arguments.
39517         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39518         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39519         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39520         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39521         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39522         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39523         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39524         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39525         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39526         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39528         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39529         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39530         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39531         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39532         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39533         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39534         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39539         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39540         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39541         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39542         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39543         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39544         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39546         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39547         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39548         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39549         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39550         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39551         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39552         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39553         Likewise.
39554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39555         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39556         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39557         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39558         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39559         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39560         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39561         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39562         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39563         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39564         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39565         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39566         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39567         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39568         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39569         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39570         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39571         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39572         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39575         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39576         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39577         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39578         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39579         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39580         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39581         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39582         (_FP_FRAC_SRS_1): Likewise.
39583         (_FP_FRAC_CLZ_1): Likewise.
39584         (_FP_MUL_MEAT_1_imm): Likewise.
39585         (_FP_MUL_MEAT_1_wide): Likewise.
39586         (_FP_MUL_MEAT_1_hard): Likewise.
39587         (_FP_SQRT_MEAT_1): Likewise.
39588         (_FP_FRAC_ASSEMBLE_1): Likewise.
39589         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39590         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39591         (__FP_CLZ_2): Likewise.
39592         (_FP_MUL_MEAT_2_wide): Likewise.
39593         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39594         (_FP_MUL_MEAT_2_gmp): Likewise.
39595         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39596         (_FP_SQRT_MEAT_2): Likewise.
39597         (_FP_FRAC_ASSEMBLE_2): Likewise.
39598         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39599         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39600         (_FP_FRAC_CLZ_4): Likewise.
39601         (_FP_MUL_MEAT_4_wide): Likewise.
39602         (_FP_MUL_MEAT_4_gmp): Likewise.
39603         (_FP_SQRT_MEAT_4): Likewise.
39604         (_FP_FRAC_ASSEMBLE_4): Likewise.
39605         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39606         * soft-fp/op-common.h (_FP_CMP): Likewise.
39607         (_FP_CMP_EQ): Likewise.
39608         (_FP_CMP_UNORD): Likewise.
39609         (_FP_TO_INT): Likewise.
39610         (_FP_FROM_INT): Likewise.
39611         [!__FP_CLZ] (__FP_CLZ): Likewise.
39612         (_FP_DIV_HELP_imm): Likewise.
39613         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39614         Likewise.
39615         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39616         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39618         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39622         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39623         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39626         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39627         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39628         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39629         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39630         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39631         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39632         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39634         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39637         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39638         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39640         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39641         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39642         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39644         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39645         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39646         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39647         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39648         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39649         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39650         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39651         (FP_UNPACK_RAW_SP): Likewise.
39652         (FP_PACK_RAW_S): Likewise.
39653         (FP_PACK_RAW_SP): Likewise.
39654         (FP_UNPACK_S): Likewise.
39655         (FP_UNPACK_SP): Likewise.
39656         (FP_UNPACK_SEMIRAW_S): Likewise.
39657         (FP_UNPACK_SEMIRAW_SP): Likewise.
39658         (FP_PACK_S): Likewise.
39659         (FP_PACK_SP): Likewise.
39660         (FP_PACK_SEMIRAW_S): Likewise.
39661         (FP_PACK_SEMIRAW_SP): Likewise.
39662         (_FP_SQRT_MEAT_S): Likewise.
39663         (FP_CMP_S): Likewise.
39664         (FP_CMP_EQ_S): Likewise.
39665         (FP_CMP_UNORD_S): Likewise.
39666         (FP_TO_INT_S): Likewise.
39667         (FP_FROM_INT_S): Likewise.
39669         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39671         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39672         (FP_EX_INVALID_IMZ): Likewise.
39673         (FP_EX_INVALID_IMZ_FMA): Likewise.
39674         (FP_EX_INVALID_ISI): Likewise.
39675         (FP_EX_INVALID_ZDZ): Likewise.
39676         (FP_EX_INVALID_IDI): Likewise.
39677         (FP_EX_INVALID_SQRT): Likewise.
39678         (FP_EX_INVALID_CVI): Likewise.
39679         (FP_EX_INVALID_VC): Likewise.
39680         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39681         "invalid" exceptions.
39682         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39683         (_FP_ADD_INTERNAL): Likewise.
39684         (_FP_MUL): Likewise.
39685         (_FP_FMA): Likewise.
39686         (_FP_DIV): Likewise.
39687         (_FP_CMP_CHECK_NAN): Likewise.
39688         (_FP_SQRT): Likewise.
39689         (_FP_TO_INT): Likewise.
39690         (FP_EXTEND): Likewise.
39692 2014-10-09  Allan McRae  <allan@archlinux.org>
39694         * po/fr.po: Update French translation from translation project.
39696 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39698         [BZ #14132]
39699         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39700         of INTDEF.
39701         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39702         (__cxa_atexit): Use libc_hidden_proto.
39703         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39705         [BZ #14132]
39706         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39707         declaration.
39708         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39709         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39710         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39711         [!_ISOMAC] (__iswctype_internal): Likewise.
39712         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39713         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39714         alias.
39715         (fcntl): Remove __fcntl_internal alias.
39716         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39717         __connect_internal alias.
39718         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39719         Likewise.
39721         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39722         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39723         FP_DENORM_ZERO.
39724         (_FP_CHECK_FLUSH_ZERO): New macro.
39725         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39726         (_FP_CMP): Likewise.
39727         (_FP_CMP_EQ): Likewise.
39728         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39729         FP_DENORM_ZERO.
39730         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39731         (FP_TRUNC): Likewise.
39733         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39734         treated as invalid conversion, not as normal exponent.
39736         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39737         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39738         (_FP_CMP_EQ): Likewise.
39739         (_FP_CMP_UNORD): Likewise.
39740         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39741         (FP_CMP_EQ_D): Likewise.
39742         (FP_CMP_UNORD_D): Likewise.
39743         * soft-fp/extended.h (FP_CMP_E): Likewise.
39744         (FP_CMP_EQ_E): Likewise.
39745         (FP_CMP_UNORD_E): Likewise.
39746         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39747         (FP_CMP_EQ_Q): Likewise.
39748         (FP_CMP_UNORD_Q): Likewise.
39749         * soft-fp/single.h (FP_CMP_S): Likewise.
39750         (FP_CMP_EQ_S): Likewise.
39751         (FP_CMP_UNORD_S): Likewise.
39752         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39753         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39754         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39755         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39756         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39757         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39758         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39759         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39760         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39761         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39762         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39763         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39764         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39765         to FP_CMP_Q.
39766         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39767         FP_CMP_Q.
39768         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39769         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39770         FP_CMP_EQ_Q.
39771         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39772         FP_CMP_Q.
39773         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39774         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39775         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39776         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39777         FP_CMP_EQ_Q.
39778         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39779         FP_CMP_Q.
39780         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39781         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39782         FP_CMP_EQ_Q.
39783         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39784         FP_CMP_Q.
39785         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39786         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39787         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39788         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39789         FP_CMP_EQ_Q.
39791         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39792         a subnormal result, set the underflow exception if trapping on
39793         underflow is enabled.
39794         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39795         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39796         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39797         redefine to 0.
39798         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39799         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39800         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39801         * soft-fp/extendxftf2.c (__extendxftf2): Use
39802         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39804         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39805         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39806         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39807         FP_HANDLE_EXCEPTIONS.
39808         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39809         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39810         FP_HANDLE_EXCEPTIONS.
39811         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39812         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39813         FP_HANDLE_EXCEPTIONS.
39814         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39815         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39816         FP_HANDLE_EXCEPTIONS.
39818 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39820         [BZ #14132]
39821         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39822         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39823         use INTUSE.
39824         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39825         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39826         Remove alias.
39827         (__adjtimex): Define using libc_hidden_ver.
39828         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39829         Remove declaration.
39830         (ntp_gettime): Call __adjtimex directly.
39831         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39832         Remove declaration.
39833         (ntp_gettimex): Call __adjtimex directly.
39834         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39835         __adjtimex_internal alias.
39837 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39839         [BZ #17460]
39840         * nscd/nscd.c (more_help): Rewrite list of tables collection
39841         using xstrdup and asprintf.
39843         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39845 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39846             Roland McGrath  <roland@hack.frob.com>
39848         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39849         (do_lookup_unique): ... local function 'enter' here; update callers.
39851 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39853         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39854         compat_symbol calls on [SHARED].
39855         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39856         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39857         Remove.
39858         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39859         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39860         (oldsetrlimit): Remove.
39861         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39863         (lchown): New syscall entry.
39864         (oldsetrlimit): Remove.
39865         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39866         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39867         (oldsetrlimit): Remove.
39868         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39870         [BZ #14138]
39871         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39872         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39873         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39874         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39875         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39876         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39877         (fchown): Likewise.
39878         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39879         (fchown): Likewise.
39880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39881         Likewise.
39883 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39885         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39886         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39887         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39888         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39889         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39890         Likewise.
39891         (__old_sem_post): Likewise.
39893 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39895         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39896         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39897         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39898         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39899         Use INLINE_VSYSCALL macro.
39900         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39901         __vdso_clock_gettime.
39902         * sysdeps/unix/sysv/linux/tile/init-first.c
39903         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39904         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39905         __vdso_clock_gettime.
39907         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39908         to set up frame more cleanly.
39910         * sysdeps/tile/memcmp.c: New file.
39912         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39914         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39915         * sysdeps/tile/tilegx/strcasestr.c: New file.
39916         * sysdeps/tile/tilegx/strnlen.c: New file.
39917         * sysdeps/tile/tilegx/strstr.c: New file.
39919         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39921 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39923         * nptl/tst-setuid3.c: Write errors to stdout.
39925 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39927         * elf/dl-deps.c
39928         (preload): New functions broken out of _dl_map_object_deps.
39929         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39931 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39933         [BZ #14138]
39934         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39935         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39937 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39939         * sysdeps/mips/strcmp.S: New.
39941 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39943         [BZ #14138]
39944         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39945         (linkat): Likewise.
39946         (mkdirat): Likewise.
39947         (readlinkat): Likewise.
39948         (renameat): Likewise.
39949         (symlinkat): Likewise.
39950         (unlinkat): Likewise.
39951         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39952         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39953         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39954         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39955         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39956         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39957         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39959 2014-09-30  Will Newton  <will.newton@linaro.org>
39961         * math/math.h: Define long double math functions if
39962         _LIBC_TEST is defined.
39963         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39965         * localedata/Makefile: Move assignment to tests-special
39966         into an ifdef testing run-built-tests.
39967         * timezone/Makefile: Likewise.
39969 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39971         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39972         with $(BASH) not $(SHELL).
39974 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39975             Matthew LeGendre  <legendre1@llnl.gov>
39977         [BZ #17411]
39978         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39979         l_reloc_result.
39981 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39983         * stdio-common/printf_fp.c
39984         (hack_digit): New function, broken out of ...
39985         (__printf_fp): ... local function here.  Update call sites.
39986         hack_digit now takes an additional parameter that is a pointer
39987         to a struct of the referenced locals.  Those locals moved inside
39988         the struct and references updated.
39990 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39992         * aclocal.m4: Require autoconf 2.69.
39993         * configure: Regenerated.
39994         * sysdeps/aarch64/configure: Likewise.
39995         * sysdeps/alpha/configure: Likewise.
39996         * sysdeps/arm/armv7/configure: Likewise.
39997         * sysdeps/arm/configure: Likewise.
39998         * sysdeps/ia64/configure: Likewise.
39999         * sysdeps/mach/configure: Likewise.
40000         * sysdeps/mips/configure: Likewise.
40001         * sysdeps/s390/configure: Likewise.
40002         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40005         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40006         file.
40007         * sysdeps/ia64/configure.ac: Likewise.
40009 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40012         specify symbol version for ld.so.  Do not include entry for
40013         libpthread.
40014         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40015         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40016         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40018         [BZ #14171]
40019         * Makeconfig [$(build-shared) = yes]
40020         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40021         makefiles.
40022         [$(build-shared) = yes && $(soversions.mk-done) = t]
40023         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40024         [$(build-shared) = yes && $(soversions.mk-done) = t]
40025         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40026         to Makerules.
40027         [$(build-shared) = yes && $(soversions.mk-done) = t]
40028         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40029         here.
40030         [$(build-shared) = yes && $(soversions.mk-done) = t]
40031         (common-generated): Don't append gnu/lib-names.h and
40032         gnu/lib-names.stmp here.
40033         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40034         (lib-names-h-abi): New variable.
40035         [$(build-shared) = yes && $(soversions.mk-done) = t]
40036         (lib-names-stmp-abi): Likewise.
40037         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40038         abi-variants] (before-compile): Append
40039         $(common-objpfx)$(lib-names-h-abi).
40040         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40041         abi-variants] (common-generated): Append gnu/lib-names.h.
40042         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40043         abi-variants] (install-others-nosubdir): Depend on
40044         $(inst_includedir)/$(lib-names-h-abi).
40045         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40046         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40047         [$(build-shared) = yes && $(soversions.mk-done) = t]
40048         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40049         [$(build-shared) = yes && $(soversions.mk-done) = t]
40050         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40051         [$(build-shared) = yes && $(soversions.mk-done) = t]
40052         (common-generated): Append $(lib-names-h-abi) and
40053         $(lib-names-stmp-abi).
40054         * scripts/lib-names.awk: Do not handle multi being set.
40055         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40056         Remove variable.
40057         (abi-lp64_be-ld-soname): Likewise.
40058         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40059         Likewise.
40060         (abi-hard-ld-soname): Likewise.
40061         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40062         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40063         Remove variable.
40064         (abi-o32_hard-ld-soname): Likewise.
40065         (abi-o32_soft_2008-ld-soname): Likewise.
40066         (abi-o32_hard_2008-ld-soname): Likewise.
40067         (abi-n32_soft-ld-soname): Likewise.
40068         (abi-n32_hard-ld-soname): Likewise.
40069         (abi-n32_soft_2008-ld-soname): Likewise.
40070         (abi-n32_hard_2008-ld-soname): Likewise.
40071         (abi-n64_soft-ld-soname): Likewise.
40072         (abi-n64_hard-ld-soname): Likewise.
40073         (abi-n64_soft_2008-ld-soname): Likewise.
40074         (abi-n64_hard_2008-ld-soname): Likewise.
40075         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40076         Likewise.
40077         (abi-64-v2-ld-soname): Likewise.
40078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40079         ld.so entries.
40080         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40081         variable.
40082         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40083         entry.
40084         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40085         variable.
40086         (abi-64-ld-soname): Likewise.
40087         (abi-x32-ld-soname): Likewise.
40088         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40089         entry.
40090         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40092 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40094         [BZ #14138]
40095         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40096         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40097         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40098         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40099         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40100         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40101         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40102         syscall entry for GLIBC_2.2 symbol version.
40103         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40104         Likewise.
40105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40106         (setrlimit): Likewise.
40107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40108         Likewise.
40110 2014-09-23  Will Newton  <will.newton@linaro.org>
40112         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40113         _LINUX_ARM_SYSDEP_H include guard too.
40114         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40115         define.
40117 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40119         * sysdeps/unix/sysv/linux/eventfd.c:
40120         Make first argument unsigned.
40121         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40122         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40124 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40126         [BZ #16852]
40127         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40128         * socket/sys/socket.h: Likewise.
40129         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40131 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40133         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40135 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40137         * time/tst-ftime.c: New test.
40138         * time/Makefile (tests): Add tst-ftime.
40140 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40142         * soft-fp/extended.h: Fix comment formatting.
40143         * soft-fp/op-1.h: Likewise.
40144         * soft-fp/op-2.h: Likewise.
40145         * soft-fp/op-4.h: Likewise.
40146         * soft-fp/op-8.h: Likewise.
40147         * soft-fp/op-common.h: Likewise.
40148         * soft-fp/soft-fp.h: Likewise.
40150         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40152 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40154         [BZ #6652]
40155         * Makeconfig (soversions-default-setname): Remove variable.
40156         ($(common-objpfx)soversions.i): Don't pass default_setname to
40157         soversions.awk.
40158         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40159         oldest_abi to abi-versions.awk.
40160         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40161         * config.make.in (oldest-abi): Remove variable.
40162         * configure.ac (--enable-oldest-abi): Remove configure option.
40163         * configure: Regenerated.
40164         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40165         text.
40166         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40167         * scripts/soversions.awk: Do not handle default_setname variable.
40168         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40169         variable.
40170         * sysdeps/mach/hurd/configure: Regenerated.
40171         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40172         variable.
40173         * sysdeps/unix/sysv/linux/configure: Regenerated.
40175 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40177         * elf/Makefile (CFLAGS-interp.c): Remove.
40178         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40179         path string.
40180         * elf/interp.c: Include generated runtime-linker.h
40182         * Makerules (lib%.so): Don't include $(+interp) in
40183         prerequisites.
40184         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40185         * dlfcn/eval.c: Remove file.
40187         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40188         macros.
40190         [BZ #17266]
40191         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40192         4.2 and newer.
40194         [BZ #17370]
40195         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40197 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40198             Jakub Jelinek  <jakub@redhat.com>
40200         [BZ #17266]
40201         * libio/stdio.h: Check definition of __fortify_function
40202         instead of __extern_always_inline to include bits/stdio2.h.
40203         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40204         check if __extern_always_inline is defined.
40205         [__USE_MISC || __USE_XOPEN]: Likewise.
40206         [__USE_ISOC99] Likewise.
40207         * misc/sys/cdefs.h (__fortify_function): Define only if
40208         __extern_always_inline is defined.
40209         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40210         __extern_always_inline and __extern_inline only for g++-4.3
40211         and newer or a compatible gcc.
40213 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40215         [BZ #17371]
40216         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40217         last change to handle zero prefix length.
40219 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40221         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40222         _SC_REGEX_VERSION.
40224         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40225         _POSIX_RAW_SOCKETS.
40227 2014-09-13  Allan McRae  <allan@archlinux.org>
40229         * po/ru.po: Update Russian translation from translation project.
40231 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40233         * locale/programs/locale.c (show_locale_vars): Inline local function
40234         into its sole call site.  Clean up some style nits.
40235         (print_item): New function, broken out of ...
40236         (show_info): ... local function here.  Clean up style nits.
40238         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40239         out of ...
40240         (set_class_defaults): ... local function set_default here.
40241         Define set_default as a macro locally to pass constant parameters.
40242         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40243         rather than a shared local.
40245         * stdlib/rpmatch.c (try): New function, broken out of ...
40246         (rpmatch): ... local function here.  Also, prototypify definition.
40248 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40250         * scripts/soversions.awk: Do not handle configuration names.
40251         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40252         vendor and os variables to soversions.awk.
40253         * configure.ac: Do not modify gnu-* host_os.
40254         * configure: Regenerated
40255         * shlib-versions: Remove first column with configuration names.
40256         * nptl/shlib-versions: Likewise.
40257         * nptl_db/shlib-versions: Likewise.
40258         * sysdeps/hppa/shlib-versions: Likewise.
40259         * sysdeps/m68k/shlib-versions: Likewise.
40260         * sysdeps/mach/hurd/shlib-versions: Likewise.
40261         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40262         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40263         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40264         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40265         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40266         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40267         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40268         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40270         Likewise.
40271         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40272         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40273         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40274         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40275         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40276         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40277         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40278         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40281         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40283         Regenerated.
40284         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40286         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40288         * shlib-versions: Remove OS-specific entries.  Moved to files in
40289         sysdeps.
40290         * sysdeps/mach/hurd/shlib-versions: New file.
40291         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40293         * nptl/shlib-versions: Remove architecture-specific entries.
40294         Moved to files in sysdeps.
40295         * shlib-versions: Likewise.
40296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40297         file.
40298         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40299         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40300         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40301         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40303         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40304         (UDP_NO_CHECK6_RX): Likewise.
40306 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40308         * sysdeps/posix/sysconf.c (__sysconf): Spell
40309         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40311 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40313         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40314         loading.
40315         * iconv/Versions (__gconv_transliterate): Export for use from
40316         gconv modules.
40317         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40318         (struct __gconv_trans_data, __gconv_trans_fct,
40319         __gconv_trans_context_fct, __gconv_trans_query_fct,
40320         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40321         definitions.
40322         (struct __gconv_step_data): Remove __trans member.
40323         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40324         longer hidden.  Remove unused trans_data argument.
40325         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40326         (__gconv_translit_find): Remove declaration.
40327         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40328         prototype.
40329         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40330         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40331         trans_data argument.  Add hidden definition.
40332         (__gconv_translit_find): Remove.
40333         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40334         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40335         * iconv/skeleton.c: Remove transliteration initialization.
40336         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40337         __gconv_step_data initialization.
40338         * libio/iofwide.c (__libio_translit_): Remove.
40339         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40340         * wcsmbs/btowc.c (__btowc): Likewise.
40341         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40342         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40343         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40344         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40345         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40346         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40347         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40348         * wcsmbs/wctob.c (wctob): Likewise.
40350 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40352         [BZ #16194]
40353         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40354         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40355         register usage.
40356         * sysdeps/x86/Makefile: Adjust.
40358 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40359             Roland McGrath  <roland@hack.frob.com>
40361         * locale/weight.h: Add include guard.
40362         (findidx): Make static rather than auto; take new parameters
40363         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40364         * locale/weightwc.h: Likewise.
40365         * posix/fnmatch_loop.c
40366         (FCT): Change type of EXTRA from int32_t to wint_t.
40367         Don't include either header inside the function.
40368         Call FINDIDX rather than findidx, and pass new arguments.
40369         #undef FINDIDX at the end of the file.
40370         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40371         FINDIDX before including fnmatch_loop.c for the non-wide version.
40372         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40373         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40374         for the wide version.
40375         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40376         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40377         Pass new arguments to findidx.
40378         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40379         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40380         Don't #include it inside the function.  Pass new arguments to findidx.
40381         * posix/regex_internal.h
40382         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40383         (re_string_elem_size_at): Don't #include it inside the function.
40384         Pass new arguments to findidx.
40385         * string/strcoll_l.c: #include WEIGHT_H at top level.
40386         (get_next_seq): Don't #include it inside the function.
40387         Pass new arguments to findidx.
40388         (get_next_seq_nocache): Likewise.
40389         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40390         (STRXFRM): Don't #include it inside the function.
40391         Pass new arguments to findidx.
40393 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40395         [BZ #17344]
40396         * malloc/malloc.c (unlink): Turn asserts into a call to
40397         malloc_printerr.
40399 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40401         [BZ #17370]
40402         * libio/wfileops (do_ftell_wide): Free OUT.
40404 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40406         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40408 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40410         [BZ #17363]
40411         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40412         group if the current group is empty.
40414 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40416         * benchtests/bench-memset.c (test_main): Add more test from size
40417         from 32 to 512 bytes.
40418         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40419         Add POWER8 memset object.
40420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40421         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40422         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40423         implementation.
40424         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40425         Likewise.
40426         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40427         multiarch POWER8 memset optimization.
40428         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40429         POWER8 memset optimization.
40431         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40432         Remove bzero multiarch objects.
40433         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40434         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40435         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40436         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40437         Remove define.
40438         [__bzero]: Redefine to specific name.
40439         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40440         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40441         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40442         define.
40443         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40444         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40446 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40448         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40449         warnings into errors.
40451         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40452         __cxa_thread_atexit_impl prototype.
40454 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40456         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40457         Fix capitalization of error message.
40459 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40461         * sysdeps/mips/preconfigure: Modify ABI tests.
40463 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40465         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40467 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40468             Carlos O'Donell  <carlos@systemhalted.org>
40470         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40471         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40472         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40473         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40474         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40475         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40476         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40477         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40478         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40479         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40480         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40481         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40482         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40483         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40484         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40485         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40486         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40487         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40488         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40489         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40490         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40491         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40492         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40493         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40494         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40495         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40496         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40497         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40498         Deconditionalize the code that was previously under [RESET_PID].
40499         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40500         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40501         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40502         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40503         include sysdep.h.
40505 2014-09-08  Allan McRae  <allan@archlinux.org>
40507         * version.h (RELEASE): Set to "development".
40508         (VERSION): Set to "2.20.90"
40510 2014-09-07  Allan McRae  <allan@archlinux.org
40512         * version.h (RELEASE): Set to "stable".
40513         (VERSION): Set to "2.20"
40514         * include/features.h (__GLIBC_MINOR__): Set to 20.
40516         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40517         Liebler.
40519         * po/ko.po: Update Korean translation from translation project.
40521 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40523         [BZ #17354]
40524         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40525         macro for handling signed relocations.
40527 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40529         [BZ #17325]
40530         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40531         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40532         assert.
40533         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40534         * iconvdata/ibm935.c (BODY): Likewise.
40535         * iconvdata/ibm937.c (BODY): Likewise.
40536         * iconvdata/ibm939.c (BODY): Likewise.
40537         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40538         assert.
40539         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40540         script.
40541         * iconvdata/run-iconv-test.sh: New test loop for checking for
40542         decoder crashers.
40544 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40546         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40547         libm_hidden_ver.
40549 2014-09-01  Allan McRae  <allan@archlinux.org>
40551         * po/eo.po: Update Esperanto translation from translation project.
40553         * po/ca.po: Update Catalan translation from translation project.
40555 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40557         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40558         __proc_dostop call.
40560 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40562         [BZ #17319]
40563         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40564         to call set_thread_area instead of hand written asm.
40565         (__NR_set_thread_area): Removed define.
40566         (TLS_FLAG_WRITABLE): Likewise.
40567         (__ASSUME_SET_THREAD_AREA): Remove check.
40568         (TLS_EBX_ARG): Remove define.
40569         (TLS_LOAD_EBX): Likewise.
40571 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40573         Simplify atomicity of socket creation in bind.
40575         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40576         looking up the name after linking the file.
40578 2014-08-27  Allan McRae  <allan@archlinux.org>
40580         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40582 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40584         [BZ #17187]
40585         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40586         trans_compare, open_translit, __gconv_translit_find):
40587         Remove module loading code.
40589 2014-08-26  Allan McRae  <allan@archlinux.org>
40591         * po/vi.po: Update Vietnamese translation from translation project.
40593         * po/uk.po: Update Ukrainian translation from translation project.
40595         * po/fr.po: Update French translation from translation project.
40597         * po/ru.po: Update Russian translation from translation project.
40599         * po/pl.po: Update Polish translation from translation project.
40601         * po/cs.po: Update Czech translation from translation project.
40603         * po/de.po: Update German translation from translation project.
40605         * po/bg.po: Update Bulgarian translation from translation project.
40607         * po/sv.po: Update Sweedish translation from translation project.
40609         * po/nl.po: Update Dutch translation from translation project.
40611         * po/es.po: Update Spanish translation from translation project.
40613 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40615         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40617         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40618         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40619         (CPPFLAGS-iconvconfig): Likewise.
40620         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40622         * include/libc-symbols.h: Remove unnecessary check for
40623         NOT_IN_libc.
40624         * nptl/pthreadP.h: Likewise.
40625         * sysdeps/aarch64/setjmp.S: Likewise.
40626         * sysdeps/alpha/setjmp.S: Likewise.
40627         * sysdeps/arm/sysdep.h: Likewise.
40628         * sysdeps/i386/setjmp.S: Likewise.
40629         * sysdeps/m68k/setjmp.c: Likewise.
40630         * sysdeps/posix/getcwd.c: Likewise.
40631         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40633         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40634         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40635         * sysdeps/sh/sh3/setjmp.S: Likewise.
40636         * sysdeps/sh/sh4/setjmp.S: Likewise.
40637         * sysdeps/unix/alpha/sysdep.h: Likewise.
40638         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40639         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40640         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40641         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40646         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40648         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40649         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40651         * sysdeps/x86_64/setjmp.S: Likewise.
40653 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40655         [BZ #17263]
40656         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40657         <stdint.h>.
40658         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40659         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40661 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40663         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40665         [BZ #17262]
40666         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40667         and __x86_64__ when disabling x87 inline functions.
40669 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40671         [BZ #17259]
40672         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40673         asm statement with __cpuid_count.
40675 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40677         * configure.ac: Change __ehdr_start code to dereference the struct.
40678         Run readelf on the output to look for relocations.
40679         * configure: Regenerated.
40681 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40683         [BZ #17261]
40684         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40685         value to 0.
40686         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40688 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40690         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40692 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40694         [BZ #16892]
40695         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40696         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40698 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40700         * malloc/malloc.c: Fix typo in comment.
40702 2014-08-09  Allan McRae  <allan@archlinux.org>
40704         * Regenerate libc.po.
40706 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40708         * intl/tst-gettext2.sh: Check every lang file for creation.
40710 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40712         * sysdeps/aarch64/fpu/math_private.h
40713         (libc_feholdsetround_noex_aarch64_ctx): New function.
40715 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40717         * sysdeps/arm/armv6/strcpy.S (strcpy):
40718         Fix performance issue in misaligned cases.
40720 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40722         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40723         Move definition from termios.h.
40724         (struct termio): Likewise.
40725         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40726         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40727         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40728         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40729         Likewise.
40730         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40731         Move definition to ioctl-types.h
40732         (struct termio): Likewise.
40733         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40734         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40735         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40736         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40737         Likewise.
40739 2014-08-05  Richard Henderson  <rth@redhat.com>
40741         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40742         exceptions.
40743         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40744         Add fraiseexcpt.
40745         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40746         Use __feraiseexcept.
40747         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40748         Protect libm symbols with IS_IN_libm.
40750         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40752 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40754         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40756 2014-08-04  Will Newton  <will.newton@linaro.org>
40758         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40759         file.
40761 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40763         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40764         variants for each function.
40766 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40768         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40769         appended ...
40770         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40771         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40772         appended ...
40773         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40774         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40775         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40776         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40777         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40778         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40779         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40780         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40781         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40782         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40783         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40784         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40785         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40786         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40787         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40788         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40789         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40790         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40791         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40793         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40794         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40795         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40796         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40797         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40798         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40799         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40800         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40801         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40802         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40803         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40804         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40805         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40806         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40807         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40808         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40809         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40810         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40811         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40812         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40813         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40814         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40815         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40816         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40817         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40818         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40819         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40820         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40821         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40822         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40823         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40824         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40825         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40826         Update #include.
40827         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40828         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40830 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40832         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40833         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40834         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40835         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40836         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40837         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40839 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40841         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40842         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40843         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40844         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40846 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40848         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40849         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40850         (__libc_vfork): Define function under this name.
40851         (__vfork): Define as an alias.
40852         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40853         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40855 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40857         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40858         that was previously under [RESET_PID].
40859         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40861 2014-08-04  Andreas Schwab  <schwab@suse.de>
40863         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40865 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40867         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40868         (main): Likewise.
40870 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40872         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40874 2014-08-01  Richard Henderon  <rth@redhat.com>
40876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40877         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40878         typo in exact zero test.
40879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40880         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40883 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40885         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40886         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40887         * sysdeps/arm/sysdep.h: ... here.
40888         [!__ASSEMBLER__]: Include <stdint.h>.
40890 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40892         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40893         (HAVE_WCTYPE_H): Likewise.
40894         (HAVE_ISWCTYPE): Likewise.
40895         (ENABLE_NLS): Likewise.
40896         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40897         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40899         * posix/regex_internal.c: Check if DEBUG is defined and is
40900         set.
40902         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40903         (HAVE_MBSRTOWCS): Likewise.
40904         * posix/fnmatch.c: Include string.h unconditionally.
40906 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40908         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40909         reversal.
40911 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40913         * sysdeps/generic/safe-fatal.h: New file.
40914         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40915         * nptl/forward.c: Include it.
40916         (__pthread_unwind): Use __safe_fatal as default action, rather
40917         than a bogus use of INTERNAL_SYSCALL that could never work.
40919         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40920         * configure.ac (libc_cv_builtin_trap): New test.
40921         * configure: Regenerated.
40922         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40923         (ABORT_INSTRUCTION): Define using __builtin_trap.
40925         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40926         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40927         * sysdeps/nptl/nptl-signals.h: New file.
40928         * nptl/pthreadP.h: Include <nptl-signals.h>.
40930 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40932         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40933         (ONE_DIRECTION): Define.
40934         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40935         (ONE_DIRECTION): Define.
40936         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40937         (ONE_DIRECTION): Define.
40939 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40941         * sysdeps/s390/Makefile: Delete file.
40942         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40943         * sysdeps/s390/__longjmp.c: Delete file.
40944         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40945         Remove fields __flags and __reserved.
40946         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40947         and add versioning.
40948         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40949         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40950         * sysdeps/s390/rtld-setjmp.S: Likewise.
40951         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40952         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40953         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40954         * sysdeps/s390/s390-32/setjmp.S: ... here.
40955         Add versioning.
40956         (__sigsetjmp): Remove setting __flags field.
40957         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40958         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40959         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40960         * sysdeps/s390/s390-64/setjmp.S: ... here.
40961         Add versioning.
40962         (__sigsetjmp): Remove setting __flags field.
40963         * sysdeps/s390/setjmp.S: Delete file.
40964         * sysdeps/s390/sigjmp.c: Likewise.
40965         * sysdeps/s390/v1-longjmp.c: Likewise.
40966         * sysdeps/s390/v1-setjmp.h: Likewise.
40967         * sysdeps/s390/v1-sigjmp.c: Likewise.
40968         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40969         Remove v1-longjmp_chk.
40970         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40971         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40972         Include debug/longjmp_chk.c and add versioning.
40973         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40974         Include nptl/pt-longjmp.c and add versioning.
40975         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40976         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40977         Include __longjmp.c.
40978         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40979         Move to ...
40980         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40981         (__getcontext): Remove setting __flags field.
40982         Add versioning.
40983         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40984         Don't restore upper high grps.
40985         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40986         Likewise.
40987         (__swapcontext): Remove setting uc_flags field.
40988         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40989         Delete file.
40990         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40991         Include __longjmp.c.
40992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40993         Move to ...
40994         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40995         (__getcontext): Remove setting __flags field.
40996         Add versioning.
40997         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40998         (__swapcontext): Remove setting uc_flags field.
40999         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41000         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41001         Remove fields uc_high_gprs and __reserved.
41002         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41003         New file with reverted content.
41004         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41005         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41006         Regenerated.
41007         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41008         Regenerated.
41010 2014-07-31  Andreas Schwab  <schwab@suse.de>
41012         * config.h.in (HAVE_IFUNC): Define to 0.
41013         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41014         definedness.
41016 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41019         memmove-avx-unaligned, memcpy-avx-unaligned and
41020         mempcpy-avx-unaligned.
41021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41022         Add tests for AVX memcpy functions.
41023         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41024         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41025         memcpy_chk.
41026         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41027         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41028         memmove_chk.
41029         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41030         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41031         mempcpy_chk.
41032         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41033         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41034         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41036 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41038         [BZ #17213]
41039         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41040         powerpc64le.
41042 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41044         [BZ #16839]
41045         * manual/llio.texi: Add section about open file description locks.
41046         * manual/examples/ofdlocks.c: Example of open file description
41047         lock usage.
41048         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41049         F_OFD_SETLK, and F_OFD_SETLKW.
41051 2014-07-23  Allan McRae  <allan@archlinux.org>
41053         * po/es.po: Update Spanish translation from translation project.
41055 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41057         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41059 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41061         [BZ #17078]
41062         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41063         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41064         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41066 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41068         [BZ #17088]
41069         * math/fesetenv.c (__fesetenv)
41070         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41071         * math/feupdateenv.c (__feupdateenv)
41072         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41074         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41075         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41076         (__ASSUME_SOCKETCALL): Do not define.
41078         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41079         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41080         (__ASSUME_SOCKETCALL): Do not define.
41081         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41082         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41083         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41084         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41085         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41086         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41087         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41088         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41090         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41091         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41092         (__ASSUME_SOCKETCALL): Do not define.
41093         (__ASSUME_IPC64): Define unconditionally.
41094         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41095         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41096         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41097         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41098         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41100         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41101         Likewise.
41103         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41104         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41105         (__ASSUME_SOCKETCALL): Do not define.
41106         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41107         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41108         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41109         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41110         (__ASSUME_REQUEUE_PI): Define unconditionally.
41111         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41112         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41113         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41114         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41116         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41118         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41119         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41120         (__ASSUME_SOCKETCALL): Do not define.
41121         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41122         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41123         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41124         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41126         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41128         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41129         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41130         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41131         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41132         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41133         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41134         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41135         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41136         (__ASSUME_GETCPU_SYSCALL): Likewise.
41138         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41139         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41140         cases for individual architectures.
41141         * sysdeps/gnu/configure: Regenerated.
41142         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41143         LIBC_SLIBDIR_RTLDDIR.
41144         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41145         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41146         LIBC_SLIBDIR_RTLDDIR.
41147         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41149         LIBC_SLIBDIR_RTLDDIR.
41150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41151         Regenerated.
41152         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41153         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41154         file.
41155         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41156         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41157         file.
41158         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41159         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41160         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41161         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41163         * sysdeps/aarch64/shlib-versions: Move to ...
41164         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41165         * sysdeps/alpha/shlib-versions: Move to ...
41166         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41167         * sysdeps/arm/shlib-versions: Move to ...
41168         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41169         * sysdeps/hppa/shlib-versions: Move all contents except for
41170         libgcc_s entry to ...
41171         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41172         entry from ...
41173         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41174         * sysdeps/ia64/shlib-versions: Move to ...
41175         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41176         entry from ...
41177         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41178         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41179         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41180         * sysdeps/microblaze/shlib-versions: Move to ...
41181         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41182         * sysdeps/mips/shlib-versions: Move to ...
41183         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41184         entry from ...
41185         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41186         * sysdeps/tile/shlib-versions: Move to ...
41187         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41188         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41189         from ...
41190         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41191         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41192         entry from ...
41193         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41195 2014-07-17  Will Newton  <will.newton@linaro.org>
41197         * sysdeps/arm/bits/atomic.h
41198         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41199         (__arch_compare_and_exchange_bool_16_int): Likewise.
41200         (__arch_compare_and_exchange_bool_64_int): Likewise.
41202         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41203         into an #else block.
41205 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41207         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41208         just Linux configurations.  Test empirically that the compiler sets
41209         __ARM_EABI__, rather than using the tuple to decide.
41210         * sysdeps/arm/preconfigure: Regenerated.
41211         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41212         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41213         contents appended ...
41214         * sysdeps/arm/configure.ac: ... here.
41215         * sysdeps/arm/configure: Regenerated.
41217 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41219         * nptl/pthread_kill.c: New file.
41220         * nptl/pthread_sigmask.c: New file.
41221         * nptl/pthread_sigqueue.c: New file.
41223         * sysdeps/nptl/lowlevellock.h: New file.
41224         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41225         * sysdeps/nptl/lowlevellock-futex.h: New file.
41227         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41228         Remove dead declarations.
41230 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41232         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41233         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41234         config-cflags-avx2.
41235         * sysdeps/x86_64/configure.ac: Likewise.
41236         * sysdeps/i386/configure: Regenerated.
41237         * sysdeps/x86_64/configure: Likewise.
41238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41239         memset-avx2 only if config-cflags-avx2 is yes.
41240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41241         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41242         defined.
41243         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41244         only if HAVE_AVX2_SUPPORT is defined.
41245         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41247 2014-07-14  Alan Modra  <amodra@gmail.com>
41249         [BZ #17153]
41250         * elf/elf.h (DT_PPC64_NUM): Correct value.
41251         * NEWS: Add to fixed bug list.
41253 2014-07-13  Jim Meyering  <meyering@fb.com>
41255         [BZ 17150]
41256         regex: don't deref NULL upon heap allocation failure
41257         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41258         failure in one more place.
41259         To trigger the segfault, configure grep -with-included-regex,
41260         build it, and run these commands:
41261         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41263 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41265         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41267 2014-07-11  Richard Henderson  <rth@redhat.com>
41269         * sysdeps/aarch64/libm-test-ulps: Update.
41271 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41273         [BZ #17135]
41274         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41275         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41276         (__nptl_setxid): Initialize error member.  Call
41277         __nptl_setxid_error.
41278         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41279         * nptl/descr.h (struct xid_command): Add error member.
41280         * nptl/tst-setuid3.c: New file.
41281         * nptl/Makefile (tests): Add it.
41283 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41285         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41286         New define.
41287         (__lll_trylock): Use __lll_base_trylock.
41288         (__lll_cond_trylock): Likewise.
41290 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41292         * nptl/pthread_create.c (start_thread): Use atomic_or and
41293         lll_futex_wake directly rather than lll_robust_dead.
41294         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41295         (lll_robust_dead): Macro removed.
41296         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41297         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41298         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41299         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41300         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41301         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41302         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41303         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41304         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41305         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41306         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41307         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41308         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41309         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41310         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41312         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41313         Use atomic_compare_and_exchange_val_acq directly rather than
41314         lll_robust_trylock.
41315         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41316         (__lll_robust_trylock, lll_robust_trylock): Removed.
41317         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41318         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41319         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41320         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41321         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41322         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41323         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41324         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41325         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41326         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41327         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41328         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41329         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41330         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41332 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41334         * manual/locale.texi (Locale Names): New section documenting
41335         locale name syntax.  Adjust menu and node chaining accordingly.
41336         (Choosing Locale): Reference Locale Names, Locale Categories.
41337         Mention setting LC_ALL=C.  Reflect that name syntax is now
41338         documented.
41339         (Locale Categories): New section title.  Reference Locale Names.
41340         LC_ALL is an environment variable, but not a category.
41341         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41342         description, now in Locale Name.  Reference that section.  Locale
41343         name syntax is now documented.
41345 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41347         [BZ #17137]
41348         * locale/findlocale.c (name_present, valid_locale_name): New
41349         functions.
41350         (_nl_find_locale): Use the loc_name variable to store name
41351         candidates.  Call name_present and valid_locale_name to check and
41352         validate locale names.  Return an error if the locale is invalid.
41354 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41356         * locale/setlocale.c (setlocale): Use strdup for allocating
41357         composite name copy.
41359 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41361         Sync up with gnulib.
41362         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41363         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41364         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41365         and _GL_ARG_NONNULL.
41366         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41367         [!_LIBC]: Include code for Windows and Cygwin.
41368         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41369         Include prototype for int strerror_r.
41370         [!_LIBC] (is_open): New function.
41371         (flush_stdout): New function.
41372         (print_errno_message): Use it.
41373         (error): Likewise.
41374         (error_at_line): Likewise.
41375         (error_tail) Add function attribute macros.  Use
41376         __builtin_expect.
41378         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41380         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41382         * io/ftw.c: Include sys/param.h unconditionally.
41384         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41386         [BZ #17125]
41387         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41388         libc_freeres_ptr.
41389         (freecache): New function to free CACHE on exit.
41391         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41392         initialization.
41394 2014-07-09  David S. Miller  <davem@davemloft.net>
41396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41398         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41399         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41400         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41401         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41402         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41403         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41404         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41405         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41406         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41407         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41408         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41409         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41410         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41412 2014-07-09  Andreas Schwab  <schwab@suse.de>
41414         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41415         output.
41416         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41417         (do_test): Likewise.
41419         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41421 2014-07-09  Will Newton  <will.newton@linaro.org>
41423         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41424         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41425         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41426         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41427         * sysdeps/hppa/start.S (_start): Likewise.
41429 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41431         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41433         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41434         defined.
41436 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41438         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41439         after checking that it is non-NULL.
41441         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41443 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41445         * sysdeps/powerpc/memmove.c: Remove file.
41446         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41447         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41448         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41449         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41450         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41451         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41452         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41453         string memmove instead of removed powerpc one.
41455         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41456         [weak_alias]: Fix compiler warning due trailing data.
41457         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41458         [weak_alias]: Likewise.
41459         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41460         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41463         (__libc_ifunc_impl_list): Add memmove functions.
41465 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41467         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41468         Remove code.
41469         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41470         Likewise.
41471         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41472         Likewise.
41473         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41474         Likewise.
41475         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41476         Likewise.
41477         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41478         Likewise.
41479         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41480         Likewise.
41481         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41482         Likewise.
41483         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41484         Likewise.
41485         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41486         Likewise.
41487         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41488         Likewise.
41489         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41490         Likewise.
41491         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41492         Likewise.
41493         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41494         Likewise.
41495         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41496         Likewise.
41497         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41498         Likewise.
41499         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41500         Likewise.
41502 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41504         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41505         to avoid alignment traps in non-cacheable memory.
41506         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41509         multiarch objects.
41510         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41511         file: multiarch power7 memmove.
41512         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41513         multiarch default memmove.
41514         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41515         multiarch memove for powerpc32/power4.
41517         * string/bcopy.c: Use full path to include memmove.c.
41518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41519         multiarch objects.
41520         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41521         bcopy for powerpc64.
41522         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41523         bcopy for powerpc64.
41524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41525         and memmove implementations.
41526         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41527         optimized multiarch memmove for POWER7/powerpc64.
41528         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41529         default multiarch memmove for powerpc64.
41530         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41531         multiarch for powerpc64.
41532         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41533         for POWER7/powerpc64.
41534         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41535         memmove for POWER7/powerpc64.
41537         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41538         glibc default one.
41540         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41541         __ELF_NATIVE_CLASS equal to 64.
41543 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41545         * sysdeps/nptl/lowlevellock.h: File removed.
41547         * NEWS: NPTL is no longer an add-on!
41548         * nptl/internaltypes.h: Moved ...
41549         * sysdeps/nptl/internaltypes.h: ... here.
41550         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41551         * sysdeps/nptl/fork.c: Likewise.
41552         * sysdeps/nptl/gai_misc.h: Likewise.
41553         * sysdeps/nptl/librt-cancellation.c: Likewise.
41554         * sysdeps/nptl/jmp-unwind.c: Likewise.
41555         * sysdeps/nptl/setxid.h: Likewise.
41556         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41557         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41558         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41559         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41560         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41561         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41562         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41563         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41564         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41565         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41566         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41567         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41568         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41569         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41570         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41571         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41572         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41573         * nptl/Makeconfig: Moved ...
41574         * sysdeps/nptl/Makeconfig: ... here.
41575         * nptl/configure: File removed.
41576         * nptl/ANNOUNCE: File removed.
41577         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41578         * sysdeps/unix/sysv/linux/configure: Regenerated.
41580         * nptl/Makefile (routines): Add libc_pthread_init,
41581         libc_multiple_threads, register-atfork and unregister-atfork.
41582         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41583         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41584         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41585         pthread-pi-defines.sym, structsem.sym.
41586         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41587         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41588         [$(subdir) = nptl] (tests): Add tst-setgetname.
41589         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41590         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41591         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41592         [!LIBC_SIGACTION]: Remove aliases.
41593         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41594         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41595         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41596         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41597         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41598         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41599         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41600         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41601         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41602         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41603         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41604         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41605         __libc_allocate_rtsig_private.
41606         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41607         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41608         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41609         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41610         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41611         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41612         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41613         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41614         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41615         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41616         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41617         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41618         * nptl/internaltypes.h: ... here.
41619         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41620         * sysdeps/nptl/jmp-unwind.c: ... here.
41621         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41622         * nptl/libc-lowlevellock.c: ... here.
41623         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41624         * nptl/libc_multiple_threads.c: ... here.
41625         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41626         * nptl/libc_pthread_init.c: ... here.
41627         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41628         * nptl/lowlevelbarrier.sym: ... here.
41629         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41630         * nptl/lowlevelcond.sym: ... here.
41631         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41632         * nptl/lowlevellock.c: ... here.
41633         * nptl/lowlevellock.h: Moved ...
41634         * sysdeps/nptl/lowlevellock.h: ... here.
41635         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41636         * nptl/lowlevelrobustlock.c: ... here.
41637         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41638         * nptl/lowlevelrobustlock.sym: ... here.
41639         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41640         * nptl/lowlevelrwlock.sym: ... here.
41641         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41642         * nptl/pt-fork.c: ... here.
41643         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41644         * nptl/pthread-pi-defines.sym: ... here.
41645         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41646         * nptl/pthread_attr_getaffinity.c: ... here.
41647         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41648         * nptl/pthread_attr_setaffinity.c: ... here.
41649         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41650         * nptl/pthread_mutex_cond_lock.c: ... here.
41651         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41652         Update #include.
41653         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41654         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41655         * nptl/pthread_once.c: ... here, replacing old file.
41656         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41657         * nptl/pthread_yield.c: ... here.
41658         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41659         * nptl/register-atfork.c: ... here.
41660         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41661         * nptl/sem_post.c: ... here.
41662         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41663         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41664         * nptl/sem_timedwait.c: ... here.
41665         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41666         * nptl/sem_trywait.c: ... here.
41667         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41668         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41669         * nptl/sem_wait.c: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41671         * nptl/structsem.sym: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41673         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41674         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41675         * nptl/unregister-atfork.c: ... here.
41676         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41677         * nptl/unwindbuf.sym: ... here.
41678         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41679         * sysdeps/nptl/fork.c: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41681         * sysdeps/nptl/fork.h: ... here.
41682         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41683         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41684         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41685         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41686         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41687         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41688         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41689         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41690         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41691         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41692         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41693         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41694         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41695         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41696         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41697         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41698         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41699         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41700         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41701         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41702         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41703         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41704         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41705         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41706         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41707         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41708         * sysdeps/unix/sysv/linux/raise.c: ... here.
41709         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41710         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41711         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41712         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41713         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41714         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41715         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41716         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41717         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41718         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41719         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41720         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41721         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41722         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41723         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41725 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41727         * sysdeps/generic/memcopy.h: Add comment for
41728         MEMCPY_OK_FOR_FWD_MEMMOVE.
41730 2014-07-04  Will Newton  <will.newton@linaro.org>
41732         * string/memchr.c: Merge from gnulib.
41733         [_LIBC]: Remove conditionals.
41734         (__ptr_t): Remove define.
41735         (LONG_MAX_32_BITS): Likewise.
41736         (LONG_MAX): Likewise.
41737         (MEMCHR): Use ANSI prototype and optimize algorithm.
41739         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41741 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41743         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41744         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41746         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41747         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41748         in a bare environment with no <stdlib.h> installed.
41749         * sysdeps/nptl/configure: Regenerated.
41751         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41753         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41754         AC_EGREP_CPP for kernel header checks, so they only succeed if
41755         including <linux/version.h> actually works right.
41756         * sysdeps/unix/sysv/linux/configure: Regenerated.
41758         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41759         value so it's not diagnosed as unused.
41761         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41762         thing) with "ifeq ($(subdir),rt)".
41764 2014-07-03  Richard Henderson  <rth@redhat.com>
41766         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41767         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41768         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41770         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41771         (math_force_eval): New.
41773         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41774         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41776         * sysdeps/alpha/fpu/s_round.c: Remove file.
41777         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41779         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41780         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41781         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41782         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41783         (_dl_start, print_statistics): Likewise.
41784         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41785         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41787         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41788         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41789         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41790         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41791         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41792         (HP_SMALL_TIMING_AVAIL): Define.
41793         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41795         (HP_SMALL_TIMING_AVAIL): Define.
41796         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41797         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41799         * sysdeps/aarch64/hp-timing.h: New file.
41801         * sysdeps/generic/hp-timing.h: Remove dead comment.
41802         * sysdeps/generic/hp-timing-common.h: New file.
41803         * sysdeps/alpha/hp-timing.h: Include it.
41804         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41805         * sysdeps/i386/i686/hp-timing.h: Likewise.
41806         * sysdeps/ia64/hp-timing.h: Likewise.
41807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41808         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41809         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41810         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41811         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41812         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41813         (hp_timing_t): New.
41815         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41816         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41817         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41818         * elf/rtld.c (_dl_start_final): Likewise.
41819         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41820         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41821         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41822         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41823         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41824         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41825         (HP_TIMING_DIFF_INIT): Remove.
41826         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41827         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41828         (HP_TIMING_DIFF_INIT): Remove.
41829         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41830         * sysdeps/i386/i686/hp-timing.c: Remove file.
41831         * sysdeps/x86_64/hp-timing.c: Remove file.
41832         * sysdeps/ia64/hp-timing.c: Remove file.
41833         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41834         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41835         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41836         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41838         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41839         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41840         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41841         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41842         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41843         (HP_TIMING_ACCUM): Remove.
41844         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41845         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41846         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41848         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41849         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41850         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41851         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41853         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41854         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41855         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41857         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41859 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41861         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41863 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41865         Sync up with gettext.
41866         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41867         [_MSC_VER]: Include malloc.h
41868         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41869         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41870         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41871         TEMP_FAILURE_RETRY.  Cast return of alloca.
41872         [!_LIBC] Call gl_rwlock_init.
41873         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41875 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41877         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41878         before checking its value.
41880 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41882         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41884         * debug/memcpy_chk.c: Don't include pagecopy.h.
41885         * debug/mempcpy_chk.c: Likewise.
41886         * string/memcpy.c: Likewise.
41887         * string/memmove.c: Likewise.
41888         * sysdeps/powerpc/memmove.c: Likewise.
41889         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41890         definition of PAGE_COPY_FWD_MAYBE here...
41891         * sysdeps/generic/pagecopy.h: ... from here.
41892         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41894 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41895             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41897         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41899         optimizations.
41900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41901         (__libc_ifunc_impl_list): Likewise.
41902         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41903         multiarch strcat for PPC64.
41904         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41905         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41907 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41909         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41911 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41913         * intl/loadmsgcat.c: Remove declaration of
41914         get_sysdep_segment_value.
41915         (get_sysdep_segment_value): Use ISO C style.
41916         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41917         semicolon.  Fix typo and formatting in comment.
41918         (_nl_unload_domain): Use ISO C style.
41920         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41922 2014-07-02  Will Newton  <will.newton@linaro.org>
41924         * malloc/obstack.c: Merge from gnulib master.
41925         [HAVE_CONFIG_H]: Remove conditional code.
41926         [!_LIBC]: Include config.h.
41927         [!ELIDE_CODE]: Don't include inttypes.h, include
41928         stdint.h unconditionally.
41929         (print_and_abort): Mark as _Noreturn.
41930         (_obstack_allocated_p): Mark as __attribute_pure__.
41931         (obstack_free): Rename to __obstack_free.
41932         [!__attribute__]: Remove conditional code.
41933         * malloc/obstack.h: Merge from gnulib master.
41934         [__cplusplus]: Move conditional down.
41935         [!__attribute_pure__]: Define __attribute_pure__ here
41936         if it is not already defined.
41937         (_obstack_memory_used): Mark as __attribute_pure__.
41938         [!__obstack_free]: Define as obstack_free.
41939         [__GNUC__]: Remove check for ancient NeXT gcc.
41941 2014-07-02  Will Newton  <will.newton@linaro.org>
41942             Paul Eggert  <eggert@cs.ucla.edu>
41944         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41946 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41948         * resolv/gethnamaddr.c: Add comment warning that the file is
41949         not maintained.
41951 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41953         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41954         entries.
41956         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41957         entry for aio_cancel and aio_cancel64.
41958         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41959         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41960         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41961         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41962         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41963         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41964         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41965         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41966         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41967         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41968         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41969         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41970         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41972 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41974         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41975         * nptl/pthread_mutex_lock.c: Likewise.
41976         * nptl/pthread_mutex_timedlock.c: Likewise.
41977         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41979 2014-07-01  Richard henderson  <rth@redhat.com>
41981         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41982         (__isnan, __isnanl): Remove.
41983         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41985         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41987 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41989         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41991 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41993         * resolv/nss_dns/dns-host.c (getanswer_r)
41994         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41996 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41998         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41999         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42000         undefine.
42001         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42002         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42004 2014-07-01  Roland McGrath <roland@hack.frob.com>
42006         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42007         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42009         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42010         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42012         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42013         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42014         ... here.
42015         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42016         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42018         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42019         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42020         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42021         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42023         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42024         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42025         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42026         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42028         Moved ...
42029         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42030         ... here.
42031         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42032         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42033         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42034         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42035         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42036         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42037         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42038         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42039         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42040         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42041         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42042         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42043         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42044         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42045         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42046         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42047         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42048         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42049         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42050         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42051         ... here.
42052         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42053         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42054         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42055         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42056         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42057         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42058         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42059         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42061 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42063         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42064         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42065         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42066         Add sysdep.
42068 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42072 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42074         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42075         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42077         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42079         * sysdeps/arm/libm-test-ulps: Regenerated.
42081 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42082             Roland McGrath <roland@hack.frob.com>
42084         * test-skeleton.c (signal_handler): Kill the whole process group
42085         before killing the child individually.
42086         (main): Report any failure on `setpgid'.
42088 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42090         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42091         from _TLS_H to _ARM_NPTL_TLS_H.
42092         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42093         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42095 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42097         [BZ #16539]
42098         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42099         (__expm1l): Return argument unchanged when small but not
42100         subnormal.
42102         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42103         include macro name.
42104         (_FP_UNPACK_RAW_1_P): Likewise.
42105         (_FP_PACK_RAW_1): Likewise.
42106         (_FP_PACK_RAW_1_P): Likewise.
42107         (_FP_MUL_MEAT_1_wide): Likewise.
42108         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42109         (_FP_MUL_MEAT_1_hard): Likewise.
42110         (_FP_DIV_MEAT_1_imm): Likewise.
42111         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42112         (_FP_DIV_MEAT_1_udiv): Likewise.
42113         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42114         (_FP_UNPACK_RAW_2): Likewise.
42115         (_FP_UNPACK_RAW_2_P): Likewise.
42116         (_FP_PACK_RAW_2): Likewise.
42117         (_FP_PACK_RAW_2_P): Likewise.
42118         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42119         (_FP_MUL_MEAT_2_wide): Likewise.
42120         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42121         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42122         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42123         (_FP_MUL_MEAT_2_gmp): Likewise.
42124         (_FP_DIV_MEAT_2_udiv): Likewise.
42125         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42126         (_FP_FRAC_SRL_4): Likewise.
42127         (_FP_FRAC_SRST_4): Likewise.
42128         (_FP_FRAC_SRS_4): Likewise.
42129         (_FP_UNPACK_RAW_4): Likewise.
42130         (_FP_UNPACK_RAW_4_P): Likewise.
42131         (_FP_PACK_RAW_4): Likewise.
42132         (_FP_PACK_RAW_4_P): Likewise.
42133         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42134         (_FP_MUL_MEAT_4_wide): Likewise.
42135         (_FP_MUL_MEAT_4_gmp): Likewise.
42136         (umul_ppppmnnn): Likewise.
42137         (_FP_DIV_MEAT_4_udiv): Likewise.
42138         (__FP_FRAC_ADD_4): Likewise.
42139         (__FP_FRAC_SUB_3): Likewise.
42140         (__FP_FRAC_SUB_4): Likewise.
42141         (__FP_FRAC_DEC_3): Likewise.
42142         (__FP_FRAC_DEC_4): Likewise.
42143         (__FP_FRAC_ADDI_4): Likewise.
42144         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42145         (_FP_FRAC_SRL_8): Likewise.
42146         (_FP_FRAC_SRS_8): Likewise.
42148         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42149         include macro name.
42150         (FP_UNPACK_RAW_EP): Likewise.
42151         (FP_PACK_RAW_E): Likewise.
42152         (FP_PACK_RAW_EP): Likewise.
42153         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42154         (_FP_ISSIGNAN): Likewise.
42155         (_FP_ADD_INTERNAL): Likewise.
42156         (_FP_FMA): Likewise.
42157         (_FP_CMP): Likewise.
42158         (_FP_SQRT): Likewise.
42159         (_FP_TO_INT): Likewise.
42160         (_FP_FROM_INT): Likewise.
42161         (FP_EXTEND): Likewise.
42162         (_FP_DIV_MEAT_N_loop): Likewise.
42164 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42166         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42167         throughout.
42169 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42171         [BZ #17097]
42172         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42173         result with correct sign in case of exponents that produce
42174         overflow except for X very close to 1.
42176 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42178         mktime: merge #if/#ifdef usage from glibc
42179         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42180         as that works with both Glibc's and Gnulib's style.
42181         See thread starting at Siddhesh Poyarekar's bug report at:
42182         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42184 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42186         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42187         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42188         * sysdeps/tile/tilegx/memmove.c: Remove file.
42190 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42192         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42193         abi-name definition.
42194         * scripts/soversions.awk: Do not handle or generate ABI lines.
42195         * shlib-versions: Remove ABI entries.
42196         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42197         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42199 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42202         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42203         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42204         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42205         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42206         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42207         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42208         Moved ...
42209         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42210         ... here.
42211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42212         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42214         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42216         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42218         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42219         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42220         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42222         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42224         Moved ...
42225         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42227         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42229         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42231         Moved ...
42232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42234         Moved ...
42235         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42239         Moved ...
42240         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42242         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42244         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42245         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42246         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42248         Moved ...
42249         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42251         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42252         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42253         Moved ...
42254         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42256         Moved ...
42257         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42258         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42259         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42261         Moved ...
42262         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42263         ... here.
42264         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42265         Identical file removed.
42266         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42267         Moved ...
42268         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42270         Identical file removed.
42271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42272         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42274         Moved ...
42275         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42277         Identical file removed.
42278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42279         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42281         Identical file removed.
42282         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42283         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42284         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42285         Identical file removed.
42286         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42287         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42288         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42289         Identical file removed.
42290         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42291         Moved ...
42292         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42293         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42294         Identical file removed.
42295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42296         Moved ...
42297         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42299         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42301         Identical file removed.
42302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42303         Moved ...
42304         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42305         ... here.
42306         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42307         Identical file removed.
42308         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42309         Moved ...
42310         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42312         Identical file removed.
42313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42314         Moved ...
42315         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42316         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42317         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42319         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42321         Moved ...
42322         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42323         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42324         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42326         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42327         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42328         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42329         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42330         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42332 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42334         [BZ #17092]
42335         * nscd/nscd.c (monitor_child): Return exit status of child
42336         instead of return value from wait syscall.
42338 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42340         * configure.ac (libc_commonpagesize): Remove variable.
42341         (libc_relro_required): Likewise.
42342         (libc_cv_z_relro): Remove configure test.
42343         * configure: Regenerated.
42344         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42345         variable.
42346         (libc_relro_required): Likewise.
42347         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42348         (libc_relro_required): Likewise.
42349         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42350         (libc_relro_required): Likewise.
42351         * sysdeps/arm/preconfigure: Regenerated.
42352         * sysdeps/ia64/preconfigure: Remove file.
42353         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42354         variable.
42355         (libc_relro_required): Likewise.
42357         [BZ #16561]
42358         [BZ #16562]
42359         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42360         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42361         recompute overflowing results in original rounding mode.
42362         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42363         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42364         recompute overflowing results in original rounding mode.
42365         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42366         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42367         recompute overflowing results in original rounding mode.
42368         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42369         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42370         recompute overflowing results in original rounding mode.
42371         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42372         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42373         recompute overflowing results in original rounding mode.
42374         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42375         (libc_feholdsetround_ctx): New macro.
42376         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42377         * sysdeps/i386/fpu/libm-test-ulps: Update.
42378         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42380 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42382         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42383         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42384         corresponding .cpsetup call.
42386 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42388         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42389         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42390         * sysdeps/arm/Makefile [$(subdir) = csu]
42391         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42392         (static-only-routines): Add aeabi_read_tp here.
42393         (shared-only-routines): Add libc-aeabi_read_tp here.
42394         (CFLAGS-libc-start.c): Add -fexceptions here.
42395         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42396         (sysdep_routines, static-only-routines, shared-only-routines):
42397         Don't add to these here.
42398         (CFLAGS-libc-start.c): Likewise.
42400         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42401         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42402         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42403         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42404         * sysdeps/arm/Makefile [$(subdir) = rt]
42405         (librt-sysdep_routines, librt-shared-only-routines):
42406         Append rt-aeabi_unwind_cpp_pr1 here.
42407         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42408         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42409         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42410         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42411         Append nptl-aeabi_unwind_cpp_pr1 here.
42412         (tests): Filter out tst-cleanupx4 here.
42413         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42414         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42415         Don't do those here.
42417 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42419         * scripts/list-sources.sh: Do not handle ports specially.
42421 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42423         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42424         * sysdeps/arm/feupdateenv.c: Likewise.
42426         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42428 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42430         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42431         trailing whitespace removed.
42432         * scripts/config.guess: Update to version 2014-03-23.
42433         * scripts/config.sub: Update to version 2014-05-01
42434         * scripts/install-sh: Update to version 2013-12-25.23.
42435         * scripts/move-if-change: Update from gnulib.
42437 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42439         * debug/memmove_chk.c: Remove pagecopy.h include.
42441 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42443         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42444         identical to gnulib mktime.
42446 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42448         * configure.ac: Do not test for machine being rs6000.  Do not test
42449         for powerpc*-*soft.
42450         * configure: Regenerated.
42452         [BZ #11505]
42453         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42454         test.
42455         * configure: Regenerated.
42456         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42457         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42458         Remove configure test.
42459         * sysdeps/arm/configure: Regenerated.
42460         * sysdeps/nptl/configure.ac: Do not check
42461         libc_cv_asm_cfi_directives.
42462         * sysdeps/nptl/configure: Regenerated.
42463         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42464         * sysdeps/x86_64/nptl/configure: Remove generated file.
42465         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42466         unconditional.
42467         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42469 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42471         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42472         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42473         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42474         it is defined.
42476         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42477         instead of whether it is defined.
42478         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42479         * sysdeps/hppa/dl-machine.h: Likewise.
42480         * sysdeps/ia64/dl-machine.h: Likewise.
42481         * sysdeps/m68k/dl-machine.h: Likewise.
42482         * sysdeps/microblaze/dl-machine.h: Likewise.
42483         * sysdeps/mips/dl-machine.: Likewise.
42484         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42485         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42486         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42487         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42488         * sysdeps/sh/dl-machine.h: Likewise.
42489         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42490         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42491         * sysdeps/tile/dl-machine.h: Likewise.
42492         * sysdeps/x86_64/dl-machine.h: Likewise.
42494         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42495         code.
42496         (verify_persistent_db): Likewise.
42498 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42501         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42503         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42505         Moved ...
42506         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42507         ... here.
42508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42509         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42511         Identical file removed.
42512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42513         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42515         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42517         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42521         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42523         Moved ...
42524         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42526         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42528         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42530         Moved ...
42531         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42533         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42535         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42537         Identical file removed.
42538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42539         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42541         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42543         Moved ...
42544         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42545         ... here.
42546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42547         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42549         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42551         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42553         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42555         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42557         Moved ...
42558         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42560         Moved ...
42561         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42563         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42565         Moved ...
42566         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42568         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42570         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42571         folded into ...
42572         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42573         * sysdeps/unix/sysv/linux/s390/Versions
42574         (libpthread: GLIBC_2.19): New version set.
42575         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42576         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42577         (librt: GLIBC_2.3.3): New version set.
42578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42579         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42580         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42581         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42582         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42583         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42584         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42585         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42586         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42587         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42588         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42589         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42590         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42591         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42592         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42593         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42594         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42595         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42596         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42597         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42598         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42600         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42602         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42603         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42604         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42606         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42608         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42609         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42613         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42614         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42616         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42618         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42620         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42622         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42624         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42625         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42626         (__libc_vfork): Define the function under this name.
42627         [!NOT_IN_libc] (__vfork): Make this an alias.
42628         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42630         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42631         (__libc_vfork): Define the function under this name.
42632         [!NOT_IN_libc] (__vfork): Make this an alias.
42633         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42634         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42635         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42637         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42638         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42640         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42641         code that was previously under [RESET_PID].
42642         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42643         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42644         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42646         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42647         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42648         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42649         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42650         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42651         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42652         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42653         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42654         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42655         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42656         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42657         Moved ...
42658         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42659         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42660         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42661         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42662         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42663         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42664         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42665         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42666         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42667         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42668         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42669         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42670         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42671         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42672         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42673         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42674         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42675         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42676         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42677         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42678         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42679         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42680         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42681         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42682         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42683         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42684         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42685         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42686         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42688 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42690         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42691         that was previously under [RESET_PID].
42692         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42694 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42696         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42697         not undefine and redefine.
42698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42699         [O_CLOEXEC]: Make code unconditional.
42700         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42701         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42702         <kernel-features.h>.
42703         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42704         conditional variable definition.
42705         (shm_open) [O_CLOEXEC]: Make code unconditional.
42706         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42707         code.
42709         * configure.ac (USE_REGPARMS): Don't define here.
42710         * configure: Regenerated.
42711         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42712         * sysdeps/i386/configure: Regenerated.
42714         * nptl/createthread.c: Don't include kernel-features.h.
42715         * nptl/pthread_cancel.c: Likewise.
42716         * nptl/pthread_condattr_setclock.c: Likewise.
42717         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42718         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42719         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42720         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42721         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42722         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42723         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42724         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42726         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42727         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42728         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42729         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42730         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42731         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42732         * nscd/gai.c: Likewise.
42733         * nss/nss_db/db-open.c: Likewise.
42734         * sysdeps/generic/ldsodefs.h: Likewise.
42735         * sysdeps/sh/nptl/tls.h: Likewise.
42736         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42737         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42738         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42739         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42740         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42741         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42742         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42743         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42744         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42745         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42746         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42747         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42748         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42749         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42750         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42751         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42752         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42753         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42754         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42755         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42756         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42758         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42759         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42761         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42763         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42764         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42765         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42766         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42767         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42768         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42769         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42770         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42771         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42772         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42773         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42774         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42775         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42776         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42777         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42778         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42779         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42780         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42781         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42782         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42783         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42784         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42785         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42786         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42787         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42788         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42789         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42790         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42791         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42792         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42793         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42816         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42817         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42818         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42819         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42820         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42821         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42822         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42823         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42824         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42825         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42826         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42827         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42828         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42829         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42830         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42831         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42832         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42833         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42834         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42835         * sysdeps/unix/sysv/linux/system.c: Likewise.
42836         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42837         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42838         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42839         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42840         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42841         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42842         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42844         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42845         * configure: Regenerated.
42846         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42848         * configure.ac (base_machine): Do not set specially for particular
42849         machines here.
42850         * configure: Regenerated.
42851         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42852         settings from configure.ac.
42853         * sysdeps/i386/preconfigure: New file.
42854         * sysdeps/s390/preconfigure: Likewise.
42855         * sysdeps/sh/preconfigure: Likewise.
42856         * sysdeps/sparc/preconfigure: Likewise.
42858 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42860         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42861         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42862         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42863         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42864         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42865         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42866         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42867         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42868         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42869         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42870         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42871         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42872         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42873         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42874         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42875         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42876         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42877         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42878         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42880         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42881         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42882         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42883         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42884         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42885         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42886         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42887         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42888         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42889         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42890         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42891         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42892         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42893         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42894         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42895         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42896         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42897         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42898         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42899         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42900         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42901         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42902         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42903         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42905         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42906         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42907         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42908         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42909         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42910         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42911         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42912         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42913         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42915         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42916         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42917         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42920         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42922         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42924         Moved ...
42925         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42926         ... here.
42927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42928         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42930         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42932         Moved ...
42933         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42935         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42937         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42939         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42941         Moved ...
42942         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42944         Moved ...
42945         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42947         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42949         Moved ...
42950         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42952         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42954         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42956         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42958         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42960         Moved ...
42961         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42962         ... here.
42963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42964         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42966         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42968         Moved ...
42969         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42971         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42973         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42975         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42977         Moved ...
42978         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42980         Moved ...
42981         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42983         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42985         Moved ...
42986         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42988         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42990         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42992 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42994         * timezone/checktab.awk: Update from tzcode 2014e.
42995         * timezone/private.h: Likewise.
42996         * timezone/tzfile.h: Likewise.
42997         * timezone/zdump.c: Likewise.
42998         * timezone/zic.c: Likewise.
43000         * sysdeps/unix/sysv/linux/kernel-features.h
43001         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43002         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43003         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43004         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43005         Remove conditional code.
43007 2014-06-25  Will Newton  <will.newton@linaro.org>
43009         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43010         (_dl_arm_cap_flags): Add HWCAP2 values.
43011         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43012         (_DL_HWCAP_COUNT): Increase to 37.
43013         (_DL_HWCAP_LAST): New define.
43014         (_DL_HWCAP2_LAST): New define.
43015         (_dl_procinfo): Add support for printing
43016         AT_HWCAP2 entries.
43017         (_dl_string_hwcap): Use _dl_hwcap_string.
43019 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43023 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43025         * README: Do not mention ports directory.
43027         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43028         Remove macro.
43029         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43030         <kernel-features.h>.
43031         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43032         conditional variable definition.
43033         (__futimes): Update comment.
43034         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43035         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43037         [BZ #16560]
43038         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43039         arguments close to 0.
43040         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43041         Likewise.
43042         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43043         Likewise.
43044         * math/auto-libm-test-in: Add more tests of exp10.
43045         * math/auto-libm-test-out: Regenerated.
43046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43048         * sysdeps/unix/sysv/linux/kernel-features.h
43049         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43050         * sysdeps/unix/sysv/linux/readv.c: Do not include
43051         <kernel-features.h>.
43052         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43053         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43054         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43055         unconditional.
43056         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43057         conditional code.
43058         * sysdeps/unix/sysv/linux/writev.c: Do not include
43059         <kernel-features.h>.
43060         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43061         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43062         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43063         unconditional.
43064         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43065         conditional code.
43067 2014-06-25  Will Newton  <will.newton@linaro.org>
43069         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43070         comment changes throughout the file.  Remove checks
43071         for HAVE_*_H definitions that are not required.
43072         (__gen_tempname): Call abort if an unknown kind value is
43073         passed.
43075 2014-06-25  Andreas Schwab  <schwab@suse.de>
43077         [BZ #17086]
43078         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43079         scalbln, scalblnf, scalblnl in libc.
43081 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43083         [BZ #17086]
43084         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43085         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43086         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43088 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43090         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43091         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43092         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43093         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43094         Update #include.
43095         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43096         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43097         Update #include.
43098         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43099         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43100         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43101         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43102         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43103         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43104         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43105         * sysdeps/x86/bits/semaphore.h: ... here.
43106         * sysdeps/x86/nptl/elide.h: Moved ...
43107         * sysdeps/x86/elide.h: ... here.
43108         * sysdeps/x86_64/nptl/Implies: File removed.
43109         * sysdeps/i386/nptl/Implies: File removed.
43111 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43113         [BZ #16539]
43114         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43115         return the argument for normal arguments with exponent below -64.
43116         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43117         Likewise.
43118         * math/auto-libm-test-in: Add another test of expm1.
43119         * math/auto-libm-test-out: Regenerated.
43121         [BZ #16287]
43122         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43123         calling __erfcl for arguments at least 16.
43124         * math/auto-libm-test-in: Add more tests of erf.
43125         * math/auto-libm-test-out: Regenerated.
43127         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43128         individual architectures.
43129         * sysdeps/unix/sysv/linux/configure: Regenerated.
43130         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43131         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43132         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43133         (ldd_rewrite_script): Define variable.
43134         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43136         file.
43137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43138         generated file.
43139         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43140         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43141         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43142         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43143         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43144         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43145         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43146         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43148 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43150         [BZ #17084]
43151         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43152         Rename member __data.d to __data.__elision_data.
43154 2014-06-24  Wilco  <wdijkstr@arm.com>
43156         * NEWS: Add 16918 to fixed bug list.
43158 2014-06-24  Wilco  <wdijkstr@arm.com>
43160         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43162 2014-06-24  Wilco  <wdijkstr@arm.com>
43164         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43165         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43166         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43167         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43168         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43169         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43170         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43171         Use _FPU_MASK_RM.
43173 2014-06-24  Wilco  <wdijkstr@arm.com>
43175         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43177 2014-06-24  Wilco  <wdijkstr@arm.com>
43179         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43180         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43181         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43182         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43184 2014-06-24  Wilco  <wdijkstr@arm.com>
43186         [BZ #16918]
43187         * sysdeps/arm/feupdateenv.c (feupdateenv):
43188         Rewrite to reduce FPSCR accesses and fix return value.
43190 2014-06-24  Wilco  <wdijkstr@arm.com>
43192         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43193         Optimize to avoid unnecessary FPSCR writes.
43194         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43195         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43196         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43197         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43199 2014-06-24  Wilco  <wdijkstr@arm.com>
43201         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43202         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43203         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43204         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43205         Call libc_fetestexcept_vfp.
43206         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43207         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43208         __SOFTFP__ ifdef so that they can be built for softfp.
43210 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43212         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43213         argument type signed char.
43215         * Makerules (check-abi): Dump diff of symlist if the test
43216         fails.
43218 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43220         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43221         using abort.
43223         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43224         Remove unused variable ST.
43226 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43228         [BZ #16354]
43229         [BZ #17061]
43230         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43231         small arguments before calling __expm1.
43232         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43233         small arguments before calling __expm1f.
43234         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43235         small arguments before calling __expm1l.
43236         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43237         Likewise.
43238         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43239         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43240         spurious underflow for some cosh tests.
43241         * math/auto-libm-test-out: Regenerated.
43242         * sysdeps/i386/fpu/libm-test-ulps: Update.
43244         [BZ #17050]
43245         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43246         (__ieee754_y1): Set errno if return value overflows.
43247         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43248         (__ieee754_y1f): Set errno if return value overflows.
43249         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43250         (__ieee754_y1l): Set errno if return value overflows.
43251         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43252         (__ieee754_y1l): Set errno if return value overflows.
43253         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43254         * math/auto-libm-test-out: Regenerated.
43256         * math/gen-auto-libm-tests.c: Document use of
43257         ignore-zero-inf-sign.
43258         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43259         (input_flags): Add ignore-zero-inf-sign.
43260         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43261         * math/gen-libm-test.pl (generate_testfile): Handle
43262         ignore-zero-inf-sign.
43263         * math/auto-libm-test-in: Mark some cpow tests with
43264         ignore-zero-inf-sign and some with xfail-rounding.
43265         * math/auto-libm-test-out: Regenerated.
43266         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43267         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43270         [BZ #16315]
43271         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43272         overflowing or underflowing operations take place with sign of
43273         result.
43274         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43275         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43276         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43277         (__ieee754_pow): Recompute overflowing and underflowing results in
43278         original rounding mode.
43279         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43280         (__powl_helper): Allow negative argument X and scale negated value
43281         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43282         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43283         overflowing or underflowing operations take place with sign of
43284         result.
43285         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43286         Include <math.h>.
43287         * math/auto-libm-test-in: Add more tests of pow.
43288         * math/auto-libm-test-out: Regenerated.
43289         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43290         (pow_tonearest_test_data): Remove.
43291         (pow_test_tonearest): Likewise.
43292         (pow_towardzero_test_data): Likewise.
43293         (pow_test_towardzero): Likewise.
43294         (pow_downward_test_data): Likewise.
43295         (pow_test_downward): Likewise.
43296         (pow_upward_test_data): Likewise.
43297         (pow_test_upward): Likewise.
43298         (main): Don't call removed functions.
43299         * sysdeps/i386/fpu/libm-test-ulps: Update.
43300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43302 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43305         Moved ...
43306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43308         Moved ...
43309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43311         Moved ...
43312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43314         Moved ...
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43317         File removed.
43318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43319         File removed.
43320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43321         File removed.
43322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43323         File removed.
43324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43325         File removed.
43326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43327         File removed.
43328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43329         File removed.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43331         File removed.
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43333         File removed.
43334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43335         File removed.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43337         File removed.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43339         File removed.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43341         Moved ...
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43344         Moved ...
43345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43346         ... here.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43348         Moved ...
43349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43351         Moved ...
43352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43354         Moved ...
43355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43357         Moved ...
43358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43360         Moved ...
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43363         Moved ...
43364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43366         Moved ...
43367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43370         ... here.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43372         Moved ...
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43375         Moved ...
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43377         ... here.
43378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43379         Moved ...
43380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43381         ... here.
43382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43383         Moved ...
43384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43385         ... here.
43386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43390         Moved ...
43391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43395         Moved ...
43396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43397         ... here.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43399         Moved ...
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43401         ... here.
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43403         Moved ...
43404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43406         Moved ...
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43409         Moved ...
43410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43412         Moved ...
43413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43415         Moved ...
43416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43417         ... here.
43418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43419         Moved ...
43420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43422         Moved ...
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43425         Moved ...
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43428         Moved ...
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43433         Moved ...
43434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43436         Moved ...
43437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43439         Moved ...
43440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43441         ... here.
43442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43443         Moved ...
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43445         ... here.
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43447         Moved ...
43448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43449         ... here.
43450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43451         Moved ...
43452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43454         Moved ...
43455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43457         Moved ...
43458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43460         Moved ...
43461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43462         ... here.
43463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43464         Moved ...
43465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43466         ... here.
43467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43468         Moved ...
43469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43470         ... here.
43471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43472         Moved ...
43473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43475         Moved ...
43476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43478 2014-06-23  Will Newton  <will.newton@linaro.org>
43479             Wilco  <wdijkstr@arm.com>
43481         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43482         implementation.  Include get-rounding-mode.h.
43483         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43484         [!libc_feholdsetround_noex_ctx]: Define
43485         libc_feholdsetround_noex_ctx.
43486         [!libc_feholdsetround_noexf_ctx]: Define
43487         libc_feholdsetround_noexf_ctx.
43488         [!libc_feholdsetround_noexl_ctx]: Define
43489         libc_feholdsetround_noexl_ctx.
43490         (libc_feholdsetround_ctx): New function.
43491         (libc_feresetround_ctx): New function.
43492         (libc_feholdsetround_noex_ctx): New function.
43493         (libc_feresetround_noex_ctx): New function.
43495 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43497         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43498         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43499         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43500         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43501         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43502         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43504         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43505         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43506         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43507         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43508         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43509         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43511         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43513         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43515         Moved ...
43516         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43517         ... here.
43518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43519         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43520         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43521         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43523         Moved ...
43524         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43526         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43528         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43530         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43532         Moved ...
43533         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43534         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43535         Moved ...
43536         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43538         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43540         Moved ...
43541         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43543         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43544         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43545         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43546         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43547         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43548         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43549         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43550         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43551         Moved ...
43552         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43553         ... here.
43554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43555         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43557         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43559         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43561         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43563         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43564         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43565         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43567         Moved ...
43568         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43570         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43572         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43574         Moved ...
43575         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43577         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43578         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43579         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43581         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43582         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43583         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43584         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43585         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43586         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43587         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43588         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43589         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43590         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43591         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43592         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43593         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43594         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43595         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43596         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43597         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43598         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43599         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43600         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43601         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43602         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43603         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43604         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43605         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43606         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43607         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43608         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43610 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43613         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43614         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43615         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43616         (IPV6_PMTUDISC_INTERFACE): Likewise.
43617         (IPV6_PMTUDISC_OMIT): Likewise.
43619 2014-06-23  Andreas Schwab  <schwab@suse.de>
43621         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43622         Remove unused errout label.
43624 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43626         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43627         macro: hardware supports Vector Crypto instructions.
43629 2014-06-23  Will Newton  <will.newton@linaro.org>
43631         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43632         rather than __builtin_expect.
43634         * elf/dl-lookup.c (undefined_msg): Remove variable.
43635         (_dl_lookup_symbol_x): Replace undefined_msg with string
43636         literal.
43638         * elf/dl-lookup.c (do_lookup_unique): New function.
43639         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43640         to a separate function.
43642 2014-06-23  Andreas Schwab  <schwab@suse.de>
43644         [BZ #17079]
43645         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43646         before reading the next line.
43648 2014-06-23  Will Newton  <will.newton@linaro.org>
43650         * test-skeleton.c (signal_handler): Use printf and %m
43651         rather than perror.  Use printf rather than fprintf to
43652         stderr.  Use puts rather than fputs to stderr.
43653         (main): Likewise.
43655 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43657         * nscd/nscd.c (thread_info_t): Remove typedef.
43658         (thread_info): Remove variable.
43660 2014-06-21  Allan McRae  <allan@archlinux.org>
43662         * NEWS: Mention CVE-2014-4043.
43664 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43666         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43667         * nptl/smp.h: ... here.
43669         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43671         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43672         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43673         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43674         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43676         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43677         * nptl/stack-aliasing.h: New file.
43678         * sysdeps/i386/i686/stack-aliasing.h: New file.
43679         * sysdeps/i386/i686/nptl/Makefile: File removed.
43680         * sysdeps/x86_64/stack-aliasing.h: New file.
43681         * sysdeps/x86_64/nptl/Makefile
43682         (CFLAGS-pthread_create.c): Variable removed.
43684         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43685         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43686         old file.
43687         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43688         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43689         old file.
43691 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43693         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43694         (__ASSUME_SIGFRAME_V2): Remove macro.
43695         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43696         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43697         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43698         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43699         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43700         Declare as function.  Remove conditional macro definitions.
43701         (__default_rt_sa_restorer): Likewise.
43702         (__default_sa_restorer_v1): Remove declaration.
43703         (__default_sa_restorer_v2): Likewise.
43704         (__default_rt_sa_restorer_v1): Likewise.
43705         (__default_rt_sa_restorer_v2): Likewise.
43706         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43707         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43708         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43710 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43712         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43713         (libpthread-routines): Add sysdep.
43714         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43715         * sysdeps/unix/sysv/linux/sparc/Versions
43716         (libpthread: GLIBC_2.3.3): New version set.
43717         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43718         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43719         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43720         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43721         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43722         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43723         Moved ...
43724         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43725         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43726         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43727         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43728         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43729         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43730         * sysdeps/sparc/nptl/sem_init.c: ... here.
43731         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43732         * sysdeps/sparc/nptl/sem_post.c: ... here.
43733         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43734         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43735         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43736         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43737         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43738         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43739         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43740         (libpthread-routines): Add cpu_relax.
43741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43742         File removed.
43743         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43744         (librt: GLIBC_2.3.3): New version set.
43745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43746         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43747         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43748         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43751         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43753         Moved ...
43754         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43756         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43758         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43760         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43762         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43764         Moved ...
43765         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43766         Update #include.
43767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43768         Moved ...
43769         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43770         Update #include.
43771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43772         Moved ...
43773         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43774         Update #include.
43775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43776         Moved ...
43777         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43778         Update #include.
43779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43780         Moved ...
43781         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43782         Update #include.
43783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43784         Moved ...
43785         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43786         Update #include.
43787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43788         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43790         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43792         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43794         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43796         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43798         Moved ...
43799         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43801         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43803         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43805 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43807         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43808         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43809         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43810         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43811         * nscd/nscd.c: Likewise.
43812         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43813         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43814         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43815         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43817         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43818         <kernel-features.h>.
43819         (init_mq_netlink): Remove conditional have_sock_cloexec
43820         definitions.  Remove code conditional on have_sock_cloexec < 0.
43821         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43822         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43823         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43824         <kernel-features.h>.
43825         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43826         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43828 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43831         Add tests for memset_chk and memset.
43833         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43834         with AVX2_Usable.
43836 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43838         [BZ #16046]
43839         * elf/tst-dl-iter-static.c: New file.
43840         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43842         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43843         error.
43845 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43847         * sysdeps/unix/sysv/linux/kernel-features.h
43848         (__ASSUME_F_GETOWN_EX): Remove macro.
43849         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43850         <kernel-features.h>.
43851         (miss_F_GETOWN_EX): Remove variable or macro.
43852         (do_fcntl): Do not check miss_F_GETOWN_EX.
43853         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43855         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43856         Remove macro.
43857         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43858         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43859         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43861         * sysdeps/unix/sysv/linux/kernel-features.h
43862         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43863         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43864         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43865         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43867 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43869         [BZ #17075]
43870         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43871         Fix calculation of the symbol's value.
43872         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43873         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43874         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43875         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43876         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43877         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43878         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43879         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43880         (modules-names): Add `tst-armtlsdescmod',
43881         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43882         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43883         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43884         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43885         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43886         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43887         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43888         ($(objpfx)tst-armtlsdescloc): New dependency.
43889         ($(objpfx)tst-armtlsdescextnow): Likewise.
43890         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43891         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43892         TLS scheme support.
43893         * sysdeps/arm/configure: Regenerate.
43895 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43897         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43898         (__atfct_seterrno_2): Likewise.
43899         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43900         <kernel-features.h>.
43901         (__ASSUME_ATFCTS): Do not undefine and redefine.
43902         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43903         (__have_atfcts): Remove conditional definition.
43904         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43905         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43906         unreachable if [__ASSUME_ATFCTS].
43907         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43908         not undefine and redefine.
43909         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43910         <kernel-features.h>.
43911         (faccessat) [__NR_faccessat]: Make code unconditional.
43912         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43913         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43914         <kernel-features.h>.
43915         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43916         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43917         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43918         <kernel-features.h>.
43919         (fchownat) [__NR_fchownat]: Make code unconditional.
43920         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43921         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43922         <kernel-features.h>.
43923         (futimesat) [__NR_futimesat]: Make code unconditional.
43924         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43925         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43926         <kernel-features.h>.
43927         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43928         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43929         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43930         <kernel-features.h>.
43931         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43932         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43933         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43934         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43935         <kernel-features.h>.
43936         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43937         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43938         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43939         <kernel-features.h>.
43940         (linkat) [__NR_linkat]: Make code unconditional.
43941         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43942         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43943         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43944         <kernel-features.h>.
43945         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43946         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43947         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43948         <kernel-features.h>.
43949         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43950         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43951         * sysdeps/unix/sysv/linux/openat.c: Do not include
43952         <kernel-features.h>.
43953         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43954         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43955         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43956         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43957         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43958         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43959         <kernel-features.h>.
43960         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43961         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43962         result of INLINE_SYSCALL directly, not via int variable.
43963         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43964         <kernel-features.h>.
43965         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43966         (renameat) [__NR_renameat]: Make code unconditional.
43967         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43968         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43969         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43970         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43971         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43972         (__ASSUME_ATFCTS): Do not undefine and redefine.
43973         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43974         <kernel-features.h>.
43975         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43976         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43977         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43978         <kernel-features.h>.
43979         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43980         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43981         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43982         (__ASSUME_ATFCTS): Do not undefine and redefine.
43983         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43984         <kernel-features.h>.
43985         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43986         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43987         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43988         <kernel-features.h>.
43989         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43990         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43992 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43994         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43996 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43998         [BZ #17069]
43999         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44000         constructed tree before returning error.
44001         * posix/bug-regexp36.c: Expand test case.
44003 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44005         [BZ #6803]
44006         * math/libm-test.inc (scalbln_test_date):
44007         Add errno expectations.
44008         * math/w_scalblnf.c: New File.
44009         Add wrapper which checks for setting errno to ERANGE.
44010         Add weak_alias for corresponding scalbln function.
44011         * math/w_scalbln.c: Likewise.
44012         * math/w_scalblnl.c: Likewise.
44013         * math/Makefile (libm-calls): Add w_scalbln.
44014         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44015         Remove weak_alias for corresponding scalbln function.
44016         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44017         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44018         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44019         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44020         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44021         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44022         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44023         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44024         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44025         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44026         Remove long_double_symbol for scalblnl function in libm, libc.
44027         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44028         Add wrapper which checks for setting errno to ERANGE.
44029         Add long_double_symbol for scalblnl function in libm, libc.
44030         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44031         Remove long_double_symbol for scalblnl in libm.
44032         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44033         Add wrapper which checks for setting errno to ERANGE.
44034         Add long_double_symbol for scalblnl function in libm.
44035         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44036         Do not use wrapper because of own implementation.
44038 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44040         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44041         3 bytes for __pad1 for x32.
44042         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44044 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44045             H.J. Lu  <hongjiu.lu@intel.com>
44047         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44048         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44049         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44050         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44051         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44053 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44055         [BZ #17069]
44056         * posix/regcomp.c (parse_expression): Deallocate partially
44057         constructed tree before returning error.
44058         * posix/Makefile.c (tests): Add bug-regex36.
44059         (generated): Add bug-regex36.mtrace.
44060         (tests-special): Add $(objpfx)bug-regex36-mem.out
44061         (bug-regex36-ENV): New variable.
44062         ($(objpfx)bug-regex36-mem.out): New rule.
44063         * posix/bug-regex36.c: New file.
44065 2014-06-19  Will Newton  <will.newton@linaro.org>
44067         * malloc/malloc.c (systrim): If extra is zero then return
44068         early.
44070 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44072         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44074 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44076         * sysdeps/aarch64/strchr.S: New file.
44078 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44080         [BZ #17022]
44081         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44082         from arguments -2 or below.
44083         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44084         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44086 2014-06-18  Andreas Schwab  <schwab@suse.de>
44088         [BZ #17062]
44089         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44090         of a bracket expr not to run off the end of the string.
44091         * posix/Makefile (tests): Add tst-fnmatch3.
44092         * posix/tst-fnmatch3.c: New file.
44094 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44096         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44097         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44098         [$(cross-compiling) = no]: Likewise.
44099         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44100         [$(cross-compiling) = no]: Likewise.
44102 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44104         [BZ #17031]
44105         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44106         double, adjusted for any remainder from the high double.
44107         * math/libm-test.inc (nearbyint): Add tests.
44108         (rint): Likewise.
44110 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44112         * nptl/sysdeps/powerpc/Makefile: Moved ...
44113         * sysdeps/powerpc/nptl/Makefile: ... here.
44114         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44115         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44116         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44117         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44118         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44119         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44120         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44121         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44122         * nptl/sysdeps/powerpc/tls.h: Moved ...
44123         * sysdeps/powerpc/nptl/tls.h: ... here.
44125 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44127         [BZ #16681]
44128         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44129         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44130         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44131         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44132         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44133         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44134         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44135         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44136         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44138 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44140         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44142 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44144         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44145         defined operator.
44147         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44148         $TIMEOUTFACTOR.
44150 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44152         [BZ #17058]
44153         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44154         non-executed part of the test.
44156 2014-06-16  Andreas Schwab  <schwab@suse.de>
44158         * string/bits/string2.h (strdup, strndup): Update feature guard.
44160 2014-06-14  David S. Miller  <davem@davemloft.net>
44162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44164 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44166         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44167         that was previously under [RESET_PID].
44168         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44170         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44171         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44172         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44173         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44174         (__libc_vfork): New strong alias.
44175         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44177 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44179         * sysdeps/generic/elide.h: New file.
44181 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44183         * Makefile (installed-headers): Adjust path of pthread.h header.
44185 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44187         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44188         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44189         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44190         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44192         * nptl/sysdeps/s390/Makefile: Moved ...
44193         * sysdeps/s390/nptl/Makefile: ... here.
44194         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44195         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44196         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44197         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44198         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44199         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44200         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44201         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44202         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44203         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44204         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44205         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44206         * nptl/sysdeps/s390/tls.h: Moved ...
44207         * sysdeps/s390/nptl/tls.h: ... here.
44209         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44210         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44212 2014-06-13  David S. Miller  <davem@davemloft.net>
44214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44217         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44221         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44222         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44223         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44224         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44225         Remove RESET_PID cpp guards.
44226         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44227         Remove RESET_PID cpp guards.
44228         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44230 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44232         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44233         __sp to uintptr_t.
44235 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44238         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44239         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44243         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44245         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44248         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44249         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44250         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44254         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44258         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44259         (pthread_rwlock_rdlock): Add elision.
44260         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44261         (pthread_rwlock_wrlock): Add elision.
44262         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44263         (pthread_rwlock_trywrlock): Add elision.
44264         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44265         (pthread_rwlock_tryrdlock): Add elision.
44266         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44267         (pthread_rwlock_tryrdlock): Add elision unlock.
44268         * nptl/sysdeps/pthread/pthread.h:
44269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44270         (PTHREAD_RWLOCK_INITIALIZER,
44271         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44272         Handle new elision field.
44273         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44274         * sysdeps/arm/nptl/bits/pthreadtypes.h
44275         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44276         * sysdeps/sh/nptl/bits/pthreadtypes.h
44277         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44278         * sysdeps/tile/nptl/bits/pthreadtypes.h
44279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44280         * sysdeps/a/nptl/bits/pthreadtypes.h
44281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44284         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44286         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44288         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44290         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44292         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44294         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44296         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44298         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44299         (elision_init): Set try_xbegin to zero when no RTM.
44300         * sysdeps/x86/nptl/bits/pthreadtypes.h
44301         (pthread_rwlock_t): Change __pad1 to __rwelision.
44302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44304 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44306         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44307         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44308         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44309         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44311 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44313         [BZ #16996]
44314         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44315         that the cached result has been set before returning it.
44317 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44319         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44320         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44321         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44322         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44323         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44324         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44326         * nptl/sysdeps/sparc/Makefile: Moved ...
44327         * sysdeps/sparc/nptl/Makefile: ... here.
44328         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44329         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44330         * nptl/sysdeps/sparc/tls.h: Moved ...
44331         * sysdeps/sparc/nptl/tls.h: ... here.
44332         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44333         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44334         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44335         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44336         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44337         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44338         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44339         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44340         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44341         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44342         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44343         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44344         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44345         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44346         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44347         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44348         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44350         Update #include.
44351         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44352         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44353         Update #include.
44354         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44356         Update #include.
44357         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44358         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44359         Update #include.
44361         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44363         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44364         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44366         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44367         (struct list_links): Type removed.
44368         (struct thread_node, struct timer_node): Replace struct list_links
44369         with struct list_head.
44370         (list_unlink_ip): Likewise.
44371         * sysdeps/pthread/timer_routines.c
44372         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44373         (list_append, list_insbefore): Likewise.
44374         (list_init): Function removed.
44375         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44376         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44377         * sysdeps/pthread/Makefile: ... here, new file.
44379         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44380         * sysdeps/nptl/Implies: ... here.
44381         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44382         * nptl/sysdeps/pthread/list.h: Moved ...
44383         * include/list.h: ... here.
44384         * nptl/sysdeps/pthread/createthread.c: Moved ...
44385         * nptl/createthread.c: ... here.
44386         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44387         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44388         * nptl/pt-longjmp.c: ... here.
44389         * nptl/sysdeps/pthread/Makefile: Moved ...
44390         * sysdeps/nptl/Makefile: ... here.
44391         * nptl/sysdeps/pthread/Subdirs: Moved ...
44392         * sysdeps/nptl/Subdirs: ... here.
44393         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44394         * sysdeps/nptl/aio_misc.h: ... here.
44395         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44396         * sysdeps/nptl/bits/libc-lock.h: ... here.
44397         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44398         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44399         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44400         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44401         * nptl/sysdeps/pthread/configure: Moved ...
44402         * sysdeps/nptl/configure: ... here.
44403         * nptl/sysdeps/pthread/configure.ac: Moved ...
44404         * sysdeps/nptl/configure.ac: ... here.
44405         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44406         * sysdeps/nptl/gai_misc.h: ... here.
44407         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44408         * sysdeps/nptl/librt-cancellation.c: ... here.
44409         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44410         * sysdeps/nptl/malloc-machine.h: ... here.
44411         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44412         * sysdeps/nptl/pthread-functions.h: ... here.
44413         * nptl/sysdeps/pthread/pthread.h: Moved ...
44414         * sysdeps/nptl/pthread.h: ... here.
44415         * nptl/sysdeps/pthread/setxid.h: Moved ...
44416         * sysdeps/nptl/setxid.h: ... here.
44417         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44418         * sysdeps/nptl/sigfillset.c: ... here.
44419         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44420         * sysdeps/nptl/tcb-offsets.h: ... here.
44421         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44422         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44423         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44424         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44425         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44426         * sysdeps/pthread/allocalim.h: ... here.
44427         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44428         * sysdeps/pthread/bits/sigthread.h: ... here.
44429         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44430         * sysdeps/pthread/flockfile.c: ... here.
44431         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44432         * sysdeps/pthread/ftrylockfile.c: ... here.
44433         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44434         * sysdeps/pthread/funlockfile.c: ... here.
44435         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44436         * sysdeps/pthread/posix-timer.h: ... here.
44437         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44438         * sysdeps/pthread/timer_create.c: ... here.
44439         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44440         * sysdeps/pthread/timer_delete.c: ... here.
44441         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44442         * sysdeps/pthread/timer_getoverr.c: ... here.
44443         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44444         * sysdeps/pthread/timer_gettime.c: ... here.
44445         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44446         * sysdeps/pthread/timer_routines.c: ... here.
44447         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44448         * sysdeps/pthread/timer_settime.c: ... here.
44449         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44450         * sysdeps/pthread/tst-timer.c: ... here.
44451         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44452         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44454         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44455         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44457         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44458         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44459         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44460         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44461         Update #include target.
44462         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44463         * sysdeps/i386/i686/nptl/Makefile: ... here.
44464         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44465         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44466         Update #include target.
44467         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44468         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44469         * nptl/sysdeps/i386/Makefile: Moved ...
44470         * sysdeps/i386/nptl/Makefile: ... here.
44471         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44472         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44473         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44474         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44475         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44476         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44477         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44478         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44479         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44480         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44481         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44482         * nptl/sysdeps/i386/tls.h: Moved ...
44483         * sysdeps/i386/nptl/tls.h: ... here.
44485         * sysdeps/sh/Makefile [$(subdir) = csu]
44486         (gen-as-const-headers): Add tcb-offsets.sym.
44487         * nptl/sysdeps/sh/Makefile: File removed.
44488         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44489         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44490         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44491         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44492         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44493         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44494         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44495         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44496         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44497         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44498         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44499         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44500         * nptl/sysdeps/sh/tls.h: Moved ...
44501         * sysdeps/sh/nptl/tls.h: ... here.
44502         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44503         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44504         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44505         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44506         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44507         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44508         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44509         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44510         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44511         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44512         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44513         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44515         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44517         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44519         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44521         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44523         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44525         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44527         Moved ...
44528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44530         Moved ...
44531         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44533         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44534         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44536         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44537         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44538         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44539         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44540         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44541         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44542         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44543         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44544         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44545         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44546         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44547         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44548         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44549         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44551 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44553         * posix/spawn_faction_addopen.c: Include string.h.
44555 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44557         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44558         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44559         * nptl/sysdeps/x86_64/Makefile: Moved ...
44560         * sysdeps/x86_64/nptl/Makefile: ... here.
44561         * nptl/sysdeps/x86_64/configure: Moved ...
44562         * sysdeps/x86_64/nptl/configure: ... here.
44563         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44564         * sysdeps/x86_64/nptl/configure.ac: ... here.
44565         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44566         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44567         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44568         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44569         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44570         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44571         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44572         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44573         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44574         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44575         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44576         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44577         * nptl/sysdeps/x86_64/tls.h: Moved ...
44578         * sysdeps/x86_64/nptl/tls.h: ... here.
44579         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44580         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44581         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44582         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44584         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44586 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44590 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44592         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44593         type.
44594         [POSIX] (off_t): Likewise.
44595         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44596         [POSIX] (S_ISBLK): Require macro.
44597         [POSIX] (S_ISCHR): Likewise.
44598         [POSIX] (S_ISDIR): Likewise.
44599         [POSIX] (S_ISFIFO): Likewise.
44600         [POSIX] (S_ISREG): Likewise.
44601         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44602         optional-macro.
44603         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44604         type.
44605         [POSIX] (time_t): Likewise.
44606         [POSIX] (timer_t): Likewise.
44608 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44610         [BZ #17048]
44611         * posix/spawn_int.h (struct __spawn_action): Make the path string
44612         non-const to support deallocation.
44613         * posix/spawn_faction_addopen.c
44614         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44615         * posix/spawn_faction_destroy.c
44616         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44617         path in all spawn_do_open actions.
44618         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44619         posix_spawn_file_actions_addopen.
44621 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44623         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44624         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44625         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44626         conditional code always true.
44627         (__libc_vfork): New alias.
44629 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44631         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44632         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44634         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44636         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44637         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44639         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44640         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44642         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44643         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44645 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44647         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44648         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44649         multiarch strcmp for PPC64.
44650         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44651         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44653         multiarch optimizations.
44654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44655         (__libc_ifunc_impl_list): Likewise.
44657 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44659         * benchtests/scripts/validate_benchout.py: New script.
44660         * benchtests/Makefile (bench-func): Call it.
44661         * benchtests/scripts/benchout.schema.json: New file.
44663 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44665         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44666         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44667         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44668         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44669         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44670         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44671         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44672         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44673         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44674         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44675         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44676         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44677         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44678         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44679         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44680         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44682         Moved ...
44683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44684         ... here.
44685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44686         Moved ...
44687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44689         Moved ...
44690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44691         ... here.
44692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44693         Moved ...
44694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44695         ... here.
44696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44697         Moved ...
44698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44700         Moved ...
44701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44702         ... here.
44703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44704         Moved ...
44705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44706         ... here.
44707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44708         Moved ...
44709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44711         Moved ...
44712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44713         ... here.
44714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44715         Moved ...
44716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44717         ... here.
44718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44719         Moved ...
44720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44721         ... here.
44722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44723         Moved ...
44724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44726         Moved ...
44727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44728         ... here.
44729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44730         Moved ...
44731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44732         ... here.
44733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44734         Moved ...
44735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44736         ... here.
44737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44738         Moved ...
44739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44741         Moved ...
44742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44743         ... here.
44744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44745         Moved ...
44746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44747         ... here.
44748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44749         Moved ...
44750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44752         Moved ...
44753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44754         ... here.
44755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44756         Moved ...
44757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44759         Moved ...
44760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44762         Moved ...
44763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44764         ... here.
44765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44766         Moved ...
44767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44768         ... here.
44769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44770         Moved ...
44771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44772         ... here.
44773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44774         Moved ...
44775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44777         Moved ...
44778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44779         ... here.
44780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44781         Moved ...
44782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44783         ... here.
44784         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44785         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44787         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44789         Moved ...
44790         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44791         ... here.
44792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44793         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44795         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44797         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44799         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44801         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44803         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44805         Moved ...
44806         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44808         Moved ...
44809         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44811         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44813         Moved ...
44814         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44816         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44817         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44818         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44819         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44820         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44822 2014-06-10  Wilco  <wdijkstr@arm.com>
44824         * math/test-fenv-return.c: New file.
44825         * math/Makefile: Add new test test-fenv-return.
44827 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44829         [BZ #17042]
44830         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44831         when x - 1 is zero.
44832         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44833         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44834         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44835         0.0L for an argument of 1.0L.
44836         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44837         Likewise.
44838         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44839         value when x - 1 is zero.
44840         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44841         * sysdeps/i386/fpu/libm-test-ulps: Update.
44842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44844 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44846         [BZ #15119]
44847         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44849 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44851         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44852         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44854 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44856         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44857         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44859         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44860         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44862         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44863         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44865         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44866         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44868         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44869         if not already defined.
44870         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44871         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44872         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44873         (TLS_INIT_TP): Use it.
44874         (TLS_DEFINE_INIT_TP): New macro.
44875         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44877 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44879         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44880         constant.
44881         [POSIX] (IXANY): Likewise.
44882         [POSIX] (OLCUC): Likewise.
44883         [POSIX || POSIX2008] (CBAUD): Do not allow.
44884         [POSIX || POSIX2008] (DEFECHO): Likewise.
44885         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44886         [POSIX || POSIX2008] (ECHOKE): Likewise.
44887         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44888         [POSIX || POSIX2008] (EXTA): Likewise.
44889         [POSIX || POSIX2008] (EXTB): Likewise.
44890         [POSIX || POSIX2008] (FLUSHO): Likewise.
44891         [POSIX || POSIX2008] (LOBLK): Likewise.
44892         [POSIX || POSIX2008] (PENDIN): Likewise.
44893         [POSIX || POSIX2008] (SWTCH): Likewise.
44894         [POSIX || POSIX2008] (VDISCARD): Likewise.
44895         [POSIX || POSIX2008] (VDSUSP): Likewise.
44896         [POSIX || POSIX2008] (VLNEXT): Likewise.
44897         [POSIX || POSIX2008] (VREPRINT): Likewise.
44898         [POSIX || POSIX2008] (VSTATUS): Likewise.
44899         [POSIX || POSIX2008] (VWERASE): Likewise.
44900         (B*): Change to B[0123456789]*.
44901         * conform/data/time.h-data [POSIX || UNIX98]
44902         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44903         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44904         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44905         [POSIX] (tm_*): Do not allow.
44907 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44909         * Makefile (install): Don't set LANGUAGE.
44910         * Makefile.in (install): Likewise.
44911         * assert/Makefile (test-assert-ENV): Remove variable.
44912         (test-assert-perr-ENV): Likewise.
44913         * elf/Makefile (neededtest4-ENV): Likewise.
44914         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44915         [$(cross-compiling) = no]: Don't set LANGUAGE.
44916         * io/ftwtest-sh (LANG): Remove variable.
44917         * libio/Makefile (tst-widetext-ENV): Likewise.
44918         * manual/install.texi (Running make install): Don't refer to
44919         environment settings for make install.
44920         * INSTALL: Regenerated.
44921         * nptl/tst-tls6.sh: Don't set LANG.
44922         * posix/globtest.sh (LANG): Remove variable.
44923         * string/Makefile (tester-ENV): Likewise.
44924         (inl-tester-ENV): Likewise.
44925         (noinl-tester-ENV): Likewise.
44926         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44927         [$(cross-compiling) = no]: Don't set LANGUAGE.
44928         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44929         without explicit environment settings.
44931 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44933         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44934         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44935         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44936         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44938 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44940         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44941         other files in the crypt directory.
44942         * crypt/crypt.c: Remove duplicate includes.
44943         * crypt/crypt-entry.c: Likewise.
44944         * crypt/crypt_util.c: Likewise.
44946 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44948         * Makeconfig (run-program-env): New variable.
44949         (run-program-prefix-before-env): Likewise.
44950         (run-program-prefix-after-env): Likewise.
44951         (run-program-prefix): Define in terms of new variables.
44952         (built-program-cmd-before-env): New variable.
44953         (built-program-cmd-after-env): Likewise.
44954         (built-program-cmd): Define in terms of new variables.
44955         (test-program-prefix-before-env): New variable.
44956         (test-program-prefix-after-env): Likewise.
44957         (test-program-prefix): Define in terms of new variables.
44958         (test-program-cmd-before-env): New variable.
44959         (test-program-cmd-after-env): Likewise.
44960         (test-program-cmd): Define in terms of new variables.
44961         * Rules (make-test-out): Use $(run-program-env).
44962         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44963         (help): Do not mention environment variables.  Mention
44964         --timeoutfactor option.
44965         (timeoutfactor): New variable.
44966         (blacklist_exports): Remove function.
44967         (exports): Remove variable.
44968         (command): Do not include ${exports}.
44969         * manual/install.texi (Configuring and compiling): Do not mention
44970         test wrappers preserving environment variables.  Mention that last
44971         assignment to a variable must take precedence.
44972         * INSTALL: Regenerated.
44973         * benchtests/Makefile (run-bench): Use $(run-program-env).
44974         * catgets/Makefile ($(objpfx)test1.cat): Use
44975         $(built-program-cmd-before-env), $(run-program-env) and
44976         $(built-program-cmd-after-env).
44977         ($(objpfx)test2.cat): Do not specify environment variables
44978         explicitly.
44979         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44980         $(run-program-env) and $(built-program-cmd-after-env).
44981         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44982         $(run-program-env) and $(test-program-cmd-after-env).
44983         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44984         explicitly.
44985         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44986         run_program_env and test_program_cmd_after_env arguments.
44987         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44988         * elf/tst-pathopt.sh: Use run_program_env argument.
44989         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44990         $(test-wrapper-env) and $(run-program-env).
44991         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44992         run_program_env arguments.
44993         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44994         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44995         $(test-program-prefix-before-env), $(run-program-env) and
44996         $(test-program-prefix-after-env).
44997         ($(objpfx)tst-gettext2.out): Likewise.
44998         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44999         run_program_env and test_program_prefix_after_env arguments.
45000         * intl/tst-gettext2.sh: Likewise.
45001         * intl/tst-gettext4.sh: Do not set environment variables
45002         explicitly.
45003         * intl/tst-gettext6.sh: Likewise.
45004         * intl/tst-translit.sh: Likewise.
45005         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45006         $(test-program-prefix-before-env), $(run-program-env) and
45007         $(test-program-prefix-after-env).
45008         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45009         run_program_env and test_program_prefix_after_env arguments.
45010         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45011         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45012         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45013         explicitly with each use of ${test_wrapper_env}.
45014         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45015         $(test-program-prefix-before-env), $(run-program-env) and
45016         $(test-program-prefix-after-env).
45017         * posix/tst-getconf.sh: Do not set environment variables
45018         explicitly.
45019         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45020         run_program_env and test_program_prefix_after_env arguments.
45021         * stdio-common/tst-printf.sh: Do not set environment variables
45022         explicitly.
45023         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45024         $(test-program-prefix-before-env), $(run-program-env) and
45025         $(test-program-prefix-after-env).
45026         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45027         run_program_env and test_program_prefix_after_env arguments.
45028         Split $test calls into $test_pre and $test.
45029         * timezone/Makefile (build-testdata): Use
45030         $(built-program-cmd-before-env), $(run-program-env) and
45031         $(built-program-cmd-after-env).
45033 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45035         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45036         strlen for non SHARED builds.
45038 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45040         * nptl/allocatestack.c (check_list): Inlined function...
45041         (__reclaim_stacks): ... here.
45043 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45045         [BZ #15698]
45046         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45047         memory overrun.
45049 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45051         * Rules (make-test-out): Include
45052         LOCPATH=$(common-objpfx)localedata in default environment.
45053         * debug/Makefile (tst-chk1-ENV): Remove variable.
45054         (tst-chk2-ENV): Likewise.
45055         (tst-chk3-ENV): Likewise.
45056         (tst-chk4-ENV): Likewise.
45057         (tst-chk5-ENV): Likewise.
45058         (tst-chk6-ENV): Likewise.
45059         (tst-lfschk1-ENV): Likewise.
45060         (tst-lfschk2-ENV): Likewise.
45061         (tst-lfschk3-ENV): Likewise.
45062         (tst-lfschk4-ENV): Likewise.
45063         (tst-lfschk5-ENV): Likewise.
45064         (tst-lfschk6-ENV): Likewise.
45065         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45066         (tst-iconv7-ENV): Likewise.
45067         * intl/Makefile (LOCPATH-ENV): Likewise.
45068         (tst-codeset-ENV): Likewise.
45069         (tst-gettext3-ENV): Likewise.
45070         (tst-gettext5-ENV): Likewise.
45071         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45072         (tst-fopenloc-ENV): Likewise.
45073         (tst-fgetws-ENV): Remove variable.
45074         (tst-ungetwc1-ENV): Likewise.
45075         (tst-ungetwc2-ENV): Likewise.
45076         (bug-ungetwc2-ENV): Likewise.
45077         (tst-swscanf-ENV): Likewise.
45078         (bug-ftell-ENV): Likewise.
45079         (tst-fgetwc-ENV): Likewise.
45080         (tst-fseek-ENV): Likewise.
45081         (tst-ftell-partial-wide-ENV): Likewise.
45082         (tst-ftell-active-handler-ENV): Likewise.
45083         (tst-ftell-append-ENV): Likewise.
45084         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45085         (tst-regexloc-ENV): Likewise.
45086         (bug-regex1-ENV): Likewise.
45087         (tst-regex-ENV): Likewise.
45088         (tst-regex2-ENV): Likewise.
45089         (bug-regex5-ENV): Likewise.
45090         (bug-regex6-ENV): Likewise.
45091         (bug-regex17-ENV): Likewise.
45092         (bug-regex18-ENV): Likewise.
45093         (bug-regex19-ENV): Likewise.
45094         (bug-regex20-ENV): Likewise.
45095         (bug-regex22-ENV): Likewise.
45096         (bug-regex23-ENV): Likewise.
45097         (bug-regex25-ENV): Likewise.
45098         (bug-regex26-ENV): Likewise.
45099         (bug-regex30-ENV): Likewise.
45100         (bug-regex32-ENV): Likewise.
45101         (bug-regex33-ENV): Likewise.
45102         (bug-regex34-ENV): Likewise.
45103         (bug-regex35-ENV): Likewise.
45104         (tst-rxspencer-ENV): Likewise.
45105         (tst-rxspencer-no-utf8-ENV): Likewise.
45106         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45107         (tst-sscanf-ENV): Likewise.
45108         (tst-swprintf-ENV): Likewise.
45109         (tst-swscanf-ENV): Likewise.
45110         (test-vfprintf-ENV): Likewise.
45111         (scanf13-ENV): Likewise.
45112         (bug14-ENV): Likewise.
45113         (tst-grouping-ENV): Likewise.
45114         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45115         (tst-strtod3-ENV): Likewise.
45116         (tst-strtod4-ENV): Likewise.
45117         (tst-strtod5-ENV): Likewise.
45118         (testmb2-ENV): Likewise./
45119         * string/Makefile (tst-strxfrm-ENV): Likewise.
45120         (tst-strxfrm2-ENV): Likewise.
45121         (bug-strcoll1-ENV): Likewise.
45122         (test-strcasecmp-ENV): Likewise.
45123         (test-strncasecmp-ENV): Likewise.
45124         * time/Makefile (tst-strptime-ENV): Likewise.
45125         (tst-ftime_l-ENV): Likewise.
45126         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45127         (tst-mbrtowc-ENV): Likewise.
45128         (tst-wcrtomb-ENV): Likewise.
45129         (tst-mbrtowc2-ENV): Likewise.
45130         (tst-c16c32-1-ENV): Likewise.
45131         (tst-mbsnrtowcs-ENV): Likewise.
45133 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45135         * manual/resource.texi (How to get information about the memory
45136         subsystem?): Fix typo.
45137         Reported by Peon de la Parra Ivan <peon@keba.com>
45139 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45141         [BZ #16882]
45142         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45143         (pthread_spin_lock): Branch out of spin loop to proper location.
45144         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45145         (pthread_spin_lock): Likewise.
45147         * nptl/tst-spin4.c: New test.
45148         * nptl/Makefile (tests): Add tst-spin4.
45150 2014-06-03  Andreas Schwab  <schwab@suse.de>
45152         [BZ #15946]
45153         * resolv/res_send.c (send_dg): Reload file descriptor after
45154         calling reopen.
45156 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45158         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45160 2014-06-03  Richard Henderson  <rth@redhat.com>
45162         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45163         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45164         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45165         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45166         in the SAVE_PID block.
45167         (__libc_vfork): New alias.
45168         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45170         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45171         child in registers, not on the stack.  Remove RESET_PID conditionals.
45172         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45174 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45176         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45178 2014-06-03  Wilco  <wdijkstr@arm.com>
45180         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45181         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45182         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45183         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45184         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45185         Likewise.
45187 2014-06-03  Wilco  <wdijkstr@arm.com>
45189         * sysdeps/aarch64/fpu/math_private.h
45190         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45191         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45192         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45193         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45194         Fix declarations.
45196 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45198         * crypt/crypt-private.h: Include ufc-crypt.h.
45199         (__b64_from_24bit): Declare extern.
45200         * crypt/crypt_util.c(__b64_from_24bit): New function.
45201         (b64t): New static const variable.
45202         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45203         (b64t): Remove variable.
45204         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45205         * crypt/sha256-crypt.c: Include crypt-private.h.
45206         (b64t): Remove variable.
45207         (__sha256_crypt_r): Remove b64_from_24bit and replace
45208         with __b64_from_24bit.
45209         * crypt/sha512-crypt.c: Likewise.
45211 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45213         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45214         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45215         Label the code __libc_vfork rather than __vfork.
45216         [!NOT_IN_libc] (vfork): Define as weak alias.
45217         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45218         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45219         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45221 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45223         * malloc/malloc.c (malloc_info): Fix format specifier for
45224         n_mmaps.
45226 2014-06-02  Wilco  <wdijkstr@arm.com>
45228         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45229         FPCR write.
45231 2014-06-02  Wilco  <wdijkstr@arm.com>
45233         [BZ #17009]
45234         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45235         Rewrite to reduce FPCR/FPSR accesses.
45237 2014-06-01  David S. Miller  <davem@davemloft.net>
45239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45241 2014-05-31  David S. Miller  <davem@davemloft.net>
45243         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45244         to occur in round to nearest mode when |x| >= 2.0
45246 2014-05-30  Richard Henderson  <rth@twiddle.net>
45248         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45249         (PSEUDO_RET_NOERRNO): Remove.
45250         (ret): Don't redefine.
45251         (ret_NOERRNO): Define in terms of ret.
45252         (ret_ERRVAL): Likewise.
45254         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45255         use of PSEUDO_RET; perform the error check directly.
45257 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45259         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45260         with __int128_t.
45262 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45264         * malloc/malloc (malloc_info): Fix formatting.
45266 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45267             Roland McGrath  <roland@hack.frob.com>
45269         * malloc/malloc (malloc_info): Also print mmapped statistics.
45271 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45273         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45274         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45276 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45278         * malloc/malloc.c (malloc_info): Inline mi_arena.
45280 2014-05-29  Richard Henderson  <rth@twiddle.net>
45282         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45283         Remove comma before expanding ASM_ARGS_##nr.
45284         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45285         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45286         of ASM_ARGS_##nr.
45287         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45288         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45289         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45290         (ASM_ARGS_1): Add leading comma.
45292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45293         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45294         to __errno_location.
45295         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45296         Remove the expected plt for __errno_location.
45298         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45299         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45300         call to __read_tp.
45302         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45303         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45304         it and break it down.
45305         (DOCARGS_0, DOCARGS_1): Do nothing.
45306         (DOCARGS_2): Update to store into the new stack frame.
45307         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45308         (UNDOCARGS_1): Update to restore from the new stack frame.
45309         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45310         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45312         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45313         (SINGLE_THREAD_P): New parameter for result regno.
45314         (PSEUDO): Update to match; use cbz instead of beq.
45316         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45317         Use ENTRY to define the _nocancel entry point.  Share the syscall
45318         and syscall error check paths with the cancel path.
45319         (PSEUDO_END): New.
45321         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45322         whitespace; tabs before and after asm mnemonics.
45324 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45326         [BZ #15132]
45327         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45328         Call fstat64 or stat64 internally, depending on arguments passed.
45329         Replace stat buffer argument with file descriptor argument.
45330         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45331         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45332         Pass fd to __internal_statvfs instead of calling fstat64.
45333         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45334         Pass fd to __internal_statvfs64 instead of calling fstat64.
45335         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45336         Pass -1 to __internal_statvfs instead of calling stat64.
45337         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45338         Pass -1 to __internal_statvfs64 instead of calling stat64.
45340 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45342         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45343         that was previously under [RESET_PID].
45344         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45346         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45347         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45349 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45351         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45353         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45354         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45356 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45358         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45360 2014-05-27  Andreas Schwab  <schwab@suse.de>
45362         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45363         TLS_INIT_TP macro.
45364         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45365         * elf/rtld.c (init_tls, dl_main): Likewise.
45366         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45367         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45368         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45369         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45370         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45371         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45372         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45373         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45374         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45375         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45376         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45377         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45378         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45379         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45380         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45381         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45382         * sysdeps/generic/tls.h: Update description.
45384 2014-05-27  Will Newton  <will.newton@linaro.org>
45386         [BZ #16990]
45387         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45388         and restore r2 rather than just restoring.
45390 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45392         [BZ #16724]
45393         * libio/tst-ftell-append.c: New test case.
45394         * libio/Makefile (tests): Add test case.
45395         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45396         append mode.
45397         * libio/wfileops.c (do_ftell_wide): Likewise.
45399 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45403         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45404         ...
45405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45407         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45408         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45409         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45410         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45411         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45412         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45413         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45414         Moved ...
45415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45417         Moved ...
45418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45419         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45420         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45421         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45422         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45423         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45424         ...
45425         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45426         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45427         Moved ...
45428         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45429         here.
45430         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45431         ...
45432         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45433         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45434         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45436         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45437         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45438         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45439         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45442         merge into ...
45443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45445         ...
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45448         ...
45449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45451         Moved ...
45452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45453         here.
45454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45455         Moved ...
45456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45458         Moved ...
45459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45462         conditional [RESET_PID].
45463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45465         removed.
45466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45467         removed.
45469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45470         <tcb-offsets.h>.
45471         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45472         (__libc_vfork): New strong alias.
45473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45474         removed.
45475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45476         Removed.
45478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45479         <tcb-offsets.h>.
45480         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45481         (__libc_vfork): New strong alias.
45482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45483         removed.
45484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45485         removed.
45487 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45489         * malloc/malloc.c (mi_arena): New function.
45490         (malloc_info): Remove nested function mi_arena. Call non-nosted
45491         function mi_arena.
45493 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45495         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45496         by insrwi.
45497         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45498         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45499         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45500         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45501         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45502         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45503         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45505 2014-05-26  Andreas Schwab  <schwab@suse.de>
45507         [BZ #16984]
45508         * locale/programs/repertoire.c (repertoire_read): Add slash
45509         between I18NPATH element and file name.
45510         * locale/programs/locfile.c (locfile_read): Likewise.
45512 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45514         * nptl/pthread_mutexattr_settype.c
45515         (__pthread_mutexattr_settype):
45516         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45518 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45520         * nptl/tst-mutex5 (do_test):
45521         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45523 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45525         * benchtests/README: Document 'init' directive.
45526         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45527         BENCH_INIT.
45528         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45529         (parse_file): Recognize 'init' directive.
45531 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45533         [BZ #16796]
45534         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45535         alignment of struct pthread.
45537 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45539         [BZ #16878]
45540         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45541         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45542         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45543         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45545 2014-05-25  Richard Henderson  <rth@twiddle.net>
45547         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45548         (SINGLE_THREAD_P_PIC): Remove.
45549         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45550         (SINGLE_THREAD_P_PIC): Remove.
45552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45553         branch to syscall error ...
45554         (PSEUDO): ... here.
45555         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45556         from __local_syscall_error to .Lsyscall_error.
45557         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45558         (SYSCALL_ERROR): Update label name.
45560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45561         Do not use DOARGS/UNDOARGS.
45562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45563         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45564         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45565         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45566         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45568         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45569         block comment.
45571         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45572         define if !NOT_IN_libc.
45573         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45574         define with non-default symbol versions.
45576 2014-05-23  Richard Henderson  <rth@twiddle.net>
45578         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45579         (vfork, __vfork): Define via compat_symbol.
45581         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45582         [!HAVE_IFUNC] (vfork_compat): Remove.
45583         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45585 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45587         [BZ #16978]
45588         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45589         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45590         variable.
45592 2014-05-23  Richard Henderson  <rth@twiddle.net>
45594         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45595         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45596         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45597         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45599         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45600         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45601         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45602         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45603         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45604         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45605         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45606         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45607         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45608         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45609         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45610         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45611         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45612         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45613         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45614         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45615         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45616         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45617         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45618         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45619         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45620         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45621         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45622         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45623         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45624         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45625         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45626         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45627         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45628         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45629         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45630         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45631         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45632         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45633         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45634         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45635         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45636         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45637         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45638         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45639         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45640         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45641         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45642         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45643         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45644         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45645         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45646         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45647         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45648         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45650         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45652         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45654         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45656         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45657         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45658         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45659         before exiting on error.
45660         (__libc_vfork): New strong alias.
45661         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45662         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45664         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45665         that was previously under [RESET_PID].
45666         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45668         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45670 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45672         [BZ #16977]
45673         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45674         value when x - 1 is zero.
45675         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45676         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45677         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45678         0.0L for an argument of 1.0L.
45679         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45680         Likewise.
45681         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45682         value when x - 1 is zero.
45683         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45684         * sysdeps/i386/fpu/libm-test-ulps: Update.
45685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45687 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45689         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45690         alphasort and versionsort.
45692 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45694         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45695         macro.
45696         [copysignf]: Likewise.
45698 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45700         * crypt/md5-crypt.c: Fix formatting.
45702 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45704         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45705         (b64_from_24bit): New function.
45707 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45709         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45710         libc_hidden_builtin_def to ifunc.
45711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45712         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45714 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45716         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45717         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45719 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45721         * nscd/Depend (linuxthreads): Remove.
45722         (nptl): Add.
45723         * resolv/Depend (linuxthreads): Remove.
45724         * rt/Depend (linuxthreads): Remove.
45726         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45727         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45728         $(common-objpfx)elf/.
45729         (link-libc-before-gnulib): Likewise.
45730         (elfobjdir): Remove variable.
45731         * Makefile (install): Use $(elf-objpfx) instead of
45732         $(common-objpfx)elf/.
45733         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45734         $(elfobjdir)/.
45735         (link-libc-deps): Likewise.
45736         ($(common-objpfx)libc.so): Likewise.
45737         ($(common-objpfx)linkobj/libc.so): Likewise.
45738         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45739         instead of $(common-objpfx)elf/.
45740         (symbolic-link-list): Likewise.
45741         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45742         [$(cross-compiling) = no]: Likewise.
45743         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45744         $(elfobjdir)/.
45745         (static-gnulib-arch): Likewise.
45746         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45747         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45748         $(common-objpfx)elf/.
45750 2014-05-21  Richard Henderson  <rth@redhat.com>
45752         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45753         (SINGLE_THREAD_P): Use the correct width load.  Fold
45754         into the ldr offset.
45756         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45757         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45759 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45761         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45762         (libgcc_s_resume): Use __attribute_used__.
45763         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45764         Likewise.
45766 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45768         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45769         optimization when used with float constants.
45771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45773 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45775         [BZ #16915]
45776         * locale/nl_langinfo_l.c: Make direct reference to every
45777         _nl_current_CATEGORY symbol.
45778         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45779         (tests-static): Add tst-langinfo-static.
45780         (tests-special): Add tst-langinfo-static.out.
45781         ($(objpfx)tst-langinfo.out): Redirect output.
45782         ($(objpfx)tst-langinfo-static.out): New.
45783         * localedata/tst-langinfo.sh: Send output to stdout.
45784         * localedata/tst-langinfo-static.c: New file.
45786         [BZ #16965]
45787         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45788         when the shift amount is modulo the limb size.
45790 2014-05-20  Richard Henderson  <rth@redhat.com>
45792         [BZ #16967]
45793         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45794         Change type of sa_flags from unsigned int to int.
45796         [BZ #16966]
45797         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45799         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45801 2014-05-20  Will Newton  <will.newton@linaro.org>
45803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45804         Test the return value of the system call in the nocancel case.
45806 2014-05-20  Will Newton  <will.newton@linaro.org>
45807             Yvan Roux  <yvan.roux@linaro.org>
45809         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45810         #include of asm/ptrace.h.
45811         (PTRACE_GET_THREAD_AREA): Remove #undef.
45812         (PTRACE_GETHBPREGS): Likewise.
45813         (PTRACE_SETHBPREGS): Likewise.
45814         (struct user_regs_struct): New structure.
45815         (struct user_fpsimd_struct): New structure.
45816         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45817         #include of asm/ptrace.h and second #include of sys/user.h.
45818         (PTRACE_GET_THREAD_AREA): Remove #undef.
45819         (PTRACE_GETHBPREGS): Likewise.
45820         (PTRACE_SETHBPREGS): Likewise.
45821         (ELF_NGREG): Use new struct user_regs_struct.
45822         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45824 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45826         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45827         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45829 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45831         [BZ #16958]
45832         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45833         membar to avoid block loads/stores to overlap previous stores.
45835 2014-05-17  Richard Henderson  <rth@redhat.com>
45837         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45838         Create the __##syscall_name##_nocancel entry point.
45839         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45840         Remove; let the sysdep-cancel.h code create it.
45842 2014-05-17  David S. Miller  <davem@davemloft.net>
45844         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45845         Protect with __USE_GNU.
45846         (TIOCSET_TEMPT): Likewise.
45847         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45848         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45849         these are already provided in bits/ioctl-types.h
45851 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45853         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45854         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45856         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45857         Use wait4 regardless of [__NR_waitpid].
45859 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45861         PR libgcc/60166
45862         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45863         (_FP_NANSIGN_Q): Set the quiet bit.
45865 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45867         * benchtests/Makefile
45868         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45869         not $(common-objpfx)math/libm.so.
45870         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45871         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45872         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45873         $(common-objpfx)dlfcn/libdl.so.
45874         ($(objpfx)tst-audit8): Depend on $(libm), not
45875         $(common-objpfx)math/libm.so.
45876         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45877         not $(common-objpfx)dlfcn/libdl.so.
45878         * math/Makefile
45879         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45880         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45881         [$(build-shared) = yes].
45882         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45883         $(common-objpfx)nptl/libpthread.so.
45884         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45885         $(common-objpfx)math/libm.so$(libm.so-version) or
45886         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45887         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45888         $(common-objpfx)dlfcn/libdl.so.
45889         * setjmp/Makefile (link-libm): Remove variable.
45890         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45891         * stdio-common/Makefile (link-libm): Remove variable.
45892         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45893         * stdlib/Makefile (link-libm): Remove variable.
45894         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45895         ($(objpfx)tst-strtod-round): Likewise.
45896         ($(objpfx)tst-tininess): Likewise.
45897         ($(objpfx)tst-strtod-underflow): Likewise.
45898         ($(objpfx)tst-strtod6): Likewise.
45899         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45900         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45901         $(common-objpfx)dlfcn/libdl.so.
45903 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45905         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45906         BSD terminal modes definitions.
45908 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45910         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45911         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45913         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45914         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45915         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45916         Don't do #include_next.
45917         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45918         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45919         Don't do #include_next.
45920         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45921         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45922         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45923         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45925 2014-05-16  Allan McRae  <allan@archlinux.org>
45927         * po/sv.po: Update Swedish translation from translation project.
45929         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45930         in sed expression.
45932 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45934         [BZ #16917]
45935         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45936         errno if the TIOCGPTN ioctl fails with an error different than
45937         EINVAL.
45938         * login/tst-ptsname.c: New file.
45939         * login/Makefile (tests): Add tst-ptsname.
45941         [BZ #16943]
45942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45943         and prlimit64.
45945 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45947         [BZ #16849]
45948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45949         herrno to return EAI_AGAIN.
45951 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45953         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45954         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45955         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45956         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45957         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45958         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45959         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45960         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45961         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45962         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45963         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45964         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45965         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45966         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45967         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45968         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45969         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45970         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45971         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45972         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45973         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45974         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45976         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45977         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45978         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45979         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45980         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45982         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45984         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45986         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45988         Moved ...
45989         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45991         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45993         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45995         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45997         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45999         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46001         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46003         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46005         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46007         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46009         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46011         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46013         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46015         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46017         Moved ...
46018         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46020         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46022         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46024         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46026         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46028         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46030         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46032         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46034         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46036         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46038         Moved ...
46039         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46041         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46043         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46044         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46045         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46046         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46047         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46048         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46049         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46050         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46051         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46052         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46053         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46054         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46055         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46056         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46057         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46058         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46059         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46060         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46061         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46062         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46063         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46064         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46065         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46066         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46067         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46068         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46069         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46070         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46071         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46072         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46073         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46075         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46076         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46078         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46079         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46080         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46081         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46082         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46084         Moved ...
46085         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46086         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46087         Moved ...
46088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46090         Moved ...
46091         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46092         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46093         Moved ...
46094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46095         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46096         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46097         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46098         Moved ...
46099         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46100         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46101         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46103         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46104         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46105         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46107         Moved ...
46108         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46109         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46110         Moved ...
46111         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46112         ... here.
46113         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46114         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46115         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46116         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46118         Moved ...
46119         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46120         ... here.
46121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46122         Moved ...
46123         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46124         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46125         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46126         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46127         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46129         Moved ...
46130         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46131         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46132         Moved ...
46133         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46135         Moved ...
46136         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46138         Moved ...
46139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46140         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46141         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46142         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46143         Moved ...
46144         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46145         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46146         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46148         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46149         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46150         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46152         Moved ...
46153         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46155         Moved ...
46156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46157         ... here.
46158         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46159         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46160         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46161         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46163         Moved ...
46164         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46165         ... here.
46166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46167         Moved ...
46168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46169         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46170         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46171         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46172         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46173         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46174         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46175         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46176         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46178         Moved ...
46179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46180         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46181         Moved ...
46182         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46184         Moved ...
46185         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46186         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46187         Moved ...
46188         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46189         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46190         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46191         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46192         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46194         Moved ...
46195         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46197         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46200         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46201         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46203         Moved ...
46204         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46206         Moved ...
46207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46208         ... here.
46209         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46210         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46211         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46212         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46214         Moved ...
46215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46216         ... here.
46217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46218         Moved ...
46219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46220         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46221         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46222         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46223         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46224         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46225         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46226         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46227         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46228         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46229         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46231         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46232         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46234         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46235         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46237         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46238         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46239         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46240         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46241         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46242         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46243         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46244         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46245         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46246         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46247         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46248         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46249         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46250         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46251         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46253         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46254         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46255         Moved ...
46256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46260         Moved ...
46261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46263         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46265         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46269         Moved ...
46270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46271         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46272         Moved ...
46273         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46275         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46279         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46280         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46281         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46282         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46283         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46284         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46285         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46286         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46287         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46288         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46289         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46291         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46292         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46293         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46294         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46295         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46297         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46298         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46299         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46300         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46301         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46302         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46303         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46304         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46305         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46306         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46311         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46312         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46313         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46314         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46315         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46316         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46317         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46318         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46319         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46320         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46321         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46322         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46323         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46324         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46326         Update #include.
46327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46328         Likewise.
46329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46330         Likewise.
46331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46332         Likewise.
46333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46334         Likewise.
46335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46336         Likewise.
46337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46338         Likewise.
46339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46340         Likewise.
46341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46342         Likewise.
46343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46344         Likewise.
46345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46351         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46352         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46355         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46356         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46357         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46358         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46361         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46362         that was previously under [RESET_PID].
46363         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46364         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46365         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46367         * sysdeps/i386/nptl/Implies: New file.
46368         * sysdeps/x86_64/nptl/Implies: New file.
46369         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46370         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46371         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46372         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46374         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46375         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46376         (__libc_vfork): New strong alias.
46377         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46378         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46380         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46381         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46382         (__libc_vfork): New strong alias.
46383         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46384         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46386         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46387         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46388         (__libc_vfork): New strong alias.
46389         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46390         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46391         * nptl/pt-vfork.c: New file.
46392         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46393         (libpthread: GLIBC_2.20): New version set (empty).
46395 2014-05-14  Will Newton  <will.newton@linaro.org>
46397         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46398         rather than #if.
46400 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46402         [BZ #16564]
46403         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46404         arguments with exponent 65 or above.
46405         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46406         arguments 0x1p113L or above.
46407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46408         to arguments 0x1p107L or above.
46409         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46410         positive arguments with exponent 65 or above.
46411         * math/auto-libm-test-in: Add more tests of log1p.
46412         * math/auto-libm-test-out: Regenerated.
46414         [BZ #16928]
46415         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46416         non-finite arguments is +0.
46417         * math/s_cacosf.c (__cacosf): Likewise.
46418         * math/s_cacosl.c (__cacosl): Likewise.
46419         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46420         * sysdeps/i386/fpu/libm-test-ulps: Update.
46421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46423         [BZ #16927]
46424         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46425         value.
46426         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46427         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46428         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46429         for explicit high bit of mantissa when testing for argument equal
46430         to 1.
46431         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46432         * sysdeps/i386/fpu/libm-test-ulps: Update.
46433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46435         [BZ #16516]
46436         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46437         (__erf): Scale by 16 instead of 8 in potentially underflowing
46438         case.  Ensure exception if result actually underflows.
46439         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46440         (__erff): Scale by 16 instead of 8 in potentially underflowing
46441         case.  Ensure exception if result actually underflows.
46442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46443         (efx8): Remove variable.
46444         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46445         case.  Ensure exception if result actually underflows.
46446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46447         (efx8): Remove variable.
46448         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46449         case.  Ensure exception if result actually underflows.
46450         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46451         (efx8): Remove variable.
46452         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46453         case.  Ensure exception if result actually underflows.
46454         * math/auto-libm-test-in: Add more tests of erf.
46455         * math/auto-libm-test-out: Regenerated.
46457 2014-05-14  Andreas Schwab  <schwab@suse.de>
46459         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46460         Remove code conditionalized on USE___THREAD.
46462         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46463         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46464         not definedness.
46466 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46469         Define unconditionally.
46470         (__ASSUME_O_CLOEXEC): Likewise.
46471         (__ASSUME_SOCK_CLOEXEC): Likewise.
46472         (__ASSUME_IN_NONBLOCK): Likewise.
46473         (__ASSUME_PIPE2): Likewise.
46474         (__ASSUME_EVENTFD2): Likewise.
46475         (__ASSUME_SIGNALFD4): Likewise.
46476         (__ASSUME_DUP3): Likewise.
46477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46478         (__ASSUME_DUP3): Do not define.
46479         (__ASSUME_EVENTFD2): Likewise.
46480         (__ASSUME_IN_NONBLOCK): Likewise.
46481         (__ASSUME_O_CLOEXEC): Likewise.
46482         (__ASSUME_PIPE2): Likewise.
46483         (__ASSUME_SIGNALFD4): Likewise.
46484         (__ASSUME_SOCK_CLOEXEC): Likewise.
46485         (__ASSUME_UTIMES): Undefine.
46486         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46487         (__ASSUME_UTIMES): Do not define.
46488         (__ASSUME_O_CLOEXEC): Likewise.
46489         (__ASSUME_SOCK_CLOEXEC): Likewise.
46490         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46491         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46492         0x020621].
46493         (__ASSUME_PIPE2): Likewise.
46494         (__ASSUME_EVENTFD2): Likewise.
46495         (__ASSUME_SIGNALFD4): Likewise.
46496         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46497         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46498         Do not define.
46499         (__ASSUME_EVENTFD2): Likewise.
46500         (__ASSUME_SIGNALFD4): Likewise.
46501         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46502         (__ASSUME_32BITUIDS): Likewise.
46503         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46504         (__ASSUME_IPC64): Likewise.
46505         (__ASSUME_ST_INO_64_BIT): Likewise.
46506         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46507         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46508         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46509         (__ASSUME_UTIMES): Do not define.
46510         (__ASSUME_PSELECT): Likewise.
46511         (__ASSUME_PPOLL): Likewise.
46512         (__ASSUME_O_CLOEXEC): Likewise.
46513         (__ASSUME_SOCK_CLOEXEC): Likewise.
46514         (__ASSUME_IN_NONBLOCK): Likewise.
46515         (__ASSUME_PIPE2): Likewise.
46516         (__ASSUME_EVENTFD2): Likewise.
46517         (__ASSUME_SIGNALFD4): Likewise.
46518         (__ASSUME_DUP3): Likewise.
46519         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46520         (__ASSUME_UTIMES): Likewise.
46521         (__ASSUME_O_CLOEXEC): Likewise.
46522         (__ASSUME_SOCK_CLOEXEC): Likewise.
46523         (__ASSUME_IN_NONBLOCK): Likewise.
46524         (__ASSUME_PIPE2): Likewise.
46525         (__ASSUME_EVENTFD2): Likewise.
46526         (__ASSUME_SIGNALFD4): Likewise.
46527         (__ASSUME_DUP3): Likewise.
46528         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46529         (__ASSUME_UTIMES): Likewise.
46530         (__ASSUME_O_CLOEXEC): Likewise.
46531         (__ASSUME_SOCK_CLOEXEC): Likewise.
46532         (__ASSUME_IN_NONBLOCK): Likewise.
46533         (__ASSUME_PIPE2): Likewise.
46534         (__ASSUME_EVENTFD2): Likewise.
46535         (__ASSUME_SIGNALFD4): Likewise.
46536         (__ASSUME_DUP3): Likewise.
46537         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46538         Likewise.
46539         (__ASSUME_UTIMES): Likewise.
46540         (__ASSUME_EVENTFD2): Likewise.
46541         (__ASSUME_SIGNALFD4): Likewise.
46542         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46543         (__ASSUME_O_CLOEXEC): Likewise.
46544         (__ASSUME_SOCK_CLOEXEC): Likewise.
46545         (__ASSUME_IN_NONBLOCK): Likewise.
46546         (__ASSUME_PIPE2): Likewise.
46547         (__ASSUME_EVENTFD2): Likewise.
46548         (__ASSUME_SIGNALFD4): Likewise.
46549         (__ASSUME_DUP3): Likewise.
46550         (__ASSUME_UTIMES): Undefine.
46552         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46553         feclearexcept.  Remove symbol versioning code.
46554         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46555         symbol versioning code.
46556         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46557         symbol versioning code.
46558         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46559         feupdateenv.  Remove symbol versioning code.
46560         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46561         fegetexceptflag.  Remove symbol versioning code.
46562         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46563         fesetexceptflag.  Remove symbol versioning code.
46564         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46565         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46566         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46567         (__posix_fadvise64_l32): Remove prototype.
46568         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46569         code.
46571 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46573         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46574         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46575         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46576         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46578 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46580         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46581         current working directory
46583 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46585         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46586         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46587         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46588         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46589         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46590         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46591         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46592         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46593         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46594         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46595         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46596         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46597         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46598         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46599         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46600         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46601         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46602         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46603         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46604         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46605         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46606         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46607         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46608         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46609         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46610         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46611         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46612         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46613         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46614         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46615         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46616         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46617         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46618         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46619         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46620         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46621         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46622         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46623         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46624         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46625         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46626         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46628         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46629         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46631         * sysdeps/unix/sysv/linux/arm/Makefile
46632         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46633         Add rt-aeabi_unwind_cpp_pr1.
46634         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46635         Add nptl-aeabi_unwind_cpp_pr1.
46636         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46637         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46638         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46639         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46640         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46641         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46643         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46644         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46645         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46646         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46648         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46649         Deconditionalize the code that was previously under [RESET_PID].
46650         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46652         * sysdeps/generic/exit-thread.h: New file.
46653         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46654         * include/unistd.h (__exit_thread): Remove declaration.
46655         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46656         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46657         * csu/libc-start.c: Include <exit-thread.h>.
46658         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46659         * nptl/pthread_create.c: Include <exit-thread.h>.
46660         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46661         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46662         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46663         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46664         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46665         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46666         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46667         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46668         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46669         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46670         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46671         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46672         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46673         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46674         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46675         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46676         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46678 2014-05-13  Andreas Schwab  <schwab@suse.de>
46680         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46682 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46684         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46685         (__ASSUME_UTIMES): Do not condition on kernel version.
46686         (__ASSUME_PSELECT): Define unconditionally.
46687         (__ASSUME_PPOLL): Likewise.
46688         (__ASSUME_ATFCTS): Likewise.
46689         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46690         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46691         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46692         (__ASSUME_UTIMENSAT): Define unconditionally.
46693         (__ASSUME_PRIVATE_FUTEX): Likewise.
46694         (__ASSUME_FALLOCATE): Likewise.
46695         (__ASSUME_O_CLOEXEC): Likewise.
46696         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46697         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46698         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46699         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46700         (__ASSUME_IN_NONBLOCK): Likewise.
46701         (__ASSUME_PIPE2): Likewise.
46702         (__ASSUME_EVENTFD2): Likewise.
46703         (__ASSUME_SIGNALFD4): Likewise.
46704         (__ASSUME_DUP3): Likewise.
46705         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46706         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46707         (__ASSUME_AT_RANDOM): Likewise.
46708         (__ASSUME_PREADV): Likewise.
46709         (__ASSUME_PWRITEV): Likewise.
46710         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46711         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46712         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46713         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46714         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46715         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46716         (__ASSUME_O_CLOEXEC): Define unconditionally.
46717         (__ASSUME_PSELECT): Do not undefine conditionally.
46718         (__ASSUME_PPOLL): Likewise.
46719         (__ASSUME_ATFCTS): Likewise.
46720         (__ASSUME_SET_ROBUST_LIST): Likewise.
46721         (__ASSUME_UTIMENSAT): Likewise.
46722         (__ASSUME_FDATASYNC): Define unconditionally.
46723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46724         (__ASSUME_SIGFRAME_V2): Likewise.
46725         )__ASSUME_EVENTFD2): Likewise.
46726         (__ASSUME_SIGNALFD4): Likewise.
46727         (__ASSUME_PSELECT): Do not undefine conditionally.
46728         (__ASSUME_PPOLL): Likewise.
46729         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46730         (__ASSUME_PSELECT): Define unconditionally.
46731         (__ASSUME_PPOLL): Likewise.
46732         (__ASSUME_O_CLOEXEC): Likewise.
46733         (__ASSUME_SOCK_CLOEXEC): Likewise.
46734         (__ASSUME_IN_NONBLOCK): Likewise.
46735         (__ASSUME_PIPE2): Likewise.
46736         (__ASSUME_EVENTFD2): Likewise.
46737         (__ASSUME_SIGNALFD4): Likewise.
46738         (__ASSUME_DUP3): Likewise.
46739         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46740         (__ASSUME_O_CLOEXEC): Likewise.
46741         (__ASSUME_SOCK_CLOEXEC): Likewise.
46742         (__ASSUME_IN_NONBLOCK): Likewise.
46743         (__ASSUME_PIPE2): Likewise.
46744         (__ASSUME_EVENTFD2): Likewise.
46745         (__ASSUME_SIGNALFD4): Likewise.
46746         (__ASSUME_DUP3): Likewise.
46747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46748         (__ASSUME_EVENTFD2): Likewise.
46749         (__ASSUME_SIGNALFD4): Likewise.
46750         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46752 2014-05-12  Andreas Schwab  <schwab@suse.de>
46754         [BZ #16932]
46755         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46756         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46757         than maximum RPC packet size.
46758         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46759         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46760         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46761         (_nss_nis_getservbyport_r): Likewise.
46763 2014-05-12  Will Newton  <will.newton@linaro.org>
46765         * malloc/Makefile (tests): Add tst-mallopt.
46766         * malloc/tst-mallopt.c: New file.
46768 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46770         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46771         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46773 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46775         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46776         (tst-tlsmod6.so): Likewise.
46778 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46780         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46782 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46784         [BZ #16064]
46785         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46786         and <dl-procinfo.h>.
46787         (__fegetenv): Save SSE state in envp->__eip if supported.
46788         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46789         envp->__eip if supported.
46790         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46791         and <dl-procinfo.h>.
46792         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46793         __data_offset and __data_selector in environment to 0.  Set SSE
46794         state if supported.
46795         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46796         test-fenv-sse.
46797         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46798         -mfpmath=sse.
46799         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46801 2014-05-09  Will Newton  <will.newton@linaro.org>
46803         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46804         and libc_relro_required for ARM.
46805         * sysdeps/arm/preconfigure: Regenerate.
46807 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46808             Stefan Liebler  <stli@linux.vnet.ibm.com>
46810         * config.make.in (enable-lock-elision): New Makefile variable.
46811         * configure.ac: Likewise.
46812         * configure: Regenerate.
46813         * sysdeps/s390/configure.ac:
46814         Add check for gcc transactions support.
46815         * sysdeps/s390/configure: Regenerate.
46816         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46817         Build elision files if enabled.
46818         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46819         Add lock elision support for s390.
46820         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46821         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46822         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46823         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46824         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46825         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46826         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46827         Likewise.
46828         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46829         Likewise.
46830         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46831         Likewise.
46832         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46833         Likewise.
46834         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46835         (__lll_timedlock_elision, __lll_lock_elision)
46836         (__lll_unlock_elision, __lll_trylock_elision)
46837         (lll_timedlock_elision, lll_lock_elision)
46838         (lll_unlock_elision, lll_trylock_elision): Add.
46839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46840         (pthread_mutex_t): Add lock elision support for s390.
46842 2014-05-14  Wilco  <wdijkstr@arm.com>
46844         * sysdeps/arm/fclrexcpt.c: Cleanup.
46845         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46846         * sysdeps/arm/feenablxcpt.c: Cleanup.
46847         * sysdeps/arm/fegetenv.c: Cleanup.
46848         * sysdeps/arm/fegetexcept.c: Cleanup.
46849         * sysdeps/arm/fegetround.c: Cleanup.
46850         * sysdeps/arm/feholdexcpt.c: Cleanup.
46851         * sysdeps/arm/fesetenv.c: Cleanup.
46852         * sysdeps/arm/fesetround.c: Cleanup.
46853         * sysdeps/arm/feupdateenv.c: Cleanup.
46854         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46855         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46856         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46857         * sysdeps/arm/ftestexcept.c: Cleanup.
46858         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46859         * sysdeps/arm/setfpucw.c: Cleanup.
46861 2014-05-09  Will Newton  <will.newton@linaro.org>
46863         * sysdeps/arm/armv7/strcmp.S: New file.
46864         * NEWS: Mention addition of ARMv7 optimized strcmp.
46866 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46868         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46869         look for %.ac rather than %.in.
46871         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46872         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46873         * sysdeps/mach/hurd/configure: Regenerated.
46874         * sysdeps/unix/sysv/linux/configure: Regenerated.
46876         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46878 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46880         [BZ #16922]
46881         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46882         (LONG_SUB): Ditto.
46883         (PTR_SUB): Ditto.
46885 2014-05-07  Andreas Schwab  <schwab@suse.de>
46887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46888         when skipping over non-matching result from nscd.
46890 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46892         [BZ #16876]
46893         * nptl/sockperf.c (client): Check socket return value.
46895         [BZ #16877]
46896         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46897         nscd security class.
46899 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46901         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46902         * sysdeps/arm/unwind.h: ... here.
46904 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46906         [BZ #16916]
46907         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46908         Define.
46910 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46912         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46913         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46914         multiarch strncpy for PPC64.
46915         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46916         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46917         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46918         multiarch optimizations.
46919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46920         (__libc_ifunc_impl_list): Likewise.
46921         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46922         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46923         multiarch stpncpy for PPC64.
46924         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46925         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46927 2014-05-06  Andreas Schwab  <schwab@suse.de>
46929         [BZ #16912]
46930         * gmon/mcount.c (_MCOUNT_DECL): Use
46931         atomic_compare_and_exchange_bool_acq instead of
46932         catomic_compare_and_exchange_bool_acq.
46934 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46936         * elf/Makefile (others, install-bin): Remove pldd.
46937         (pldd-modules): Variable removed.
46938         ($(objpfx)pldd): Target removed.
46939         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46940         (others, install-bin): Append pldd here.
46941         ($(objpfx)pldd): New target.
46943         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46944         to 0, so the first #if test emitted later doesn't see it undefined.
46945         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46946         * sysdeps/gnu/errlist.c: Regenerated.
46948 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46950         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46951         [libc_hidden_builtin_def]: Define to empty value.
46952         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46953         [libc_hidden_builtin_def]: Likewise.
46954         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46955         [libc_hidden_builtin_def]: Likewise.
46956         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46957         [libc_hidden_builtin_def]: Likewise.
46958         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46959         __redirect_memcpy and define ifunc as default hidden symbol.
46960         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46961         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46963 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46965         * locale/iso-4217.def: Reintroduce XDR currency.
46967 2014-05-04  Allan McRae  <allan@archlinux.org>
46969         * po/eo.po: Update Esperanto translation from translation project.
46971 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46973         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46974         and FEATURE_INDEX_MAX to 1.
46975         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46977 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46979         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46980         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46981         * iconvdata/big5.c (ONE_DIRECTION): Define.
46982         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46983         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46984         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46985         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46986         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46987         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46988         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46989         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46990         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46991         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46992         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46993         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46994         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46995         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46996         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46997         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46998         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46999         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47000         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47001         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47002         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47003         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47004         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47005         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47006         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47007         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47008         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47009         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47010         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47011         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47012         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47013         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47014         * iconvdata/johab.c (ONE_DIRECTION): Define.
47015         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47016         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47017         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47018         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47019         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47020         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47021         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47022         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47023         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47024         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47026 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47028         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47029         (_IO_JUMPS_OFFSET): Define to 0.
47031         * nptl/sysdeps/pthread/bits/libc-lock.h
47032         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47033         (__libc_lock_define_initialized_recursive): Always define using
47034         initializer.  Modern compilers treat uninitialized (implicit zero) and
47035         explicit zero initializers the same (i.e. put the datum in bss).
47037 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47039         * nscd/nscd-client.h: Include <string.h>.
47041 2014-05-01  David S. Miller  <davem@davemloft.net>
47043         [BZ #16885]
47044         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47045         multiple zero bytes exist at the end of a string.
47046         Reported by Aurelien Jarno <aurelien@aurel32.net>
47048         * string/test-strcmp.c (check): Add explicit test for situations where
47049         there are multiple zero bytes after the first.
47051 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47053         [BZ #16890]
47054         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47055         when compiling wprintf.
47056         * stdio-common/tstdiomisc.c (t3): New function.
47057         (main): Call it.
47059 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47061         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47062         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47063         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47064         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47066 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47068         * stdlib/longlong.h: Updated from GCC.
47070 2014-05-01  Will Newton  <will.newton@linaro.org>
47071             Bernard Ogden  <bernie.ogden@linaro.org>
47073         * NEWS: Update fixed bug list.
47075         [BZ #15119]
47076         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47078 2014-04-30  David S. Miller  <davem@davemloft.net>
47080         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47081         (libc_feholdexcept_setround_sparc_ctx): New function.
47082         (libc_fesetenv_sparc_ctx): Likewise.
47083         (libc_feupdateenv_sparc_ctx): Likewise.
47084         (libc_feholdsetround_sparc_ctx): Likewise.
47085         (libc_feholdexcept_setround_ctx): Define.
47086         (libc_feholdexcept_setroundf_ctx): Likewise.
47087         (libc_feholdexcept_setroundl_ctx): Likewise.
47088         (libc_fesetenv_ctx): Likewise.
47089         (libc_fesetenvf_ctx): Likewise.
47090         (libc_fesetenvl_ctx): Likewise.
47091         (libc_feupdateenv_ctx): Likewise.
47092         (libc_feupdateenvf_ctx): Likewise.
47093         (libc_feupdateenvl_ctx): Likewise.
47094         (libc_feresetround_ctx): Likewise.
47095         (libc_feresetroundf_ctx): Likewise.
47096         (libc_feresetroundl_ctx): Likewise.
47097         (libc_feholdsetround_ctx): Likewise.
47098         (libc_feholdsetroundf_ctx): Likewise.
47099         (libc_feholdsetroundl_ctx): Likewise.
47101         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47102         with __USE_GNU instead of XOPEN cpp guards.
47104         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47105         0.
47107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47108         with XOPEN cpp guards.
47110 2014-04-30  Julian Brown  <julian@codesourcery.com>
47112         [BZ #16888]
47113         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47114         handling.
47116 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47118         [BZ #9894]
47119         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47120         Change to 2.6.32.
47121         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47122         * sysdeps/unix/sysv/linux/configure: Regenerated.
47123         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47124         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47125         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47126         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47127         * README: Update reference to required Linux kernel version.
47128         * manual/install.texi (Linux): Update reference to required Linux
47129         kernel headers version.
47130         * INSTALL: Regenerated.
47132         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47133         header inclusion.
47134         [POSIX] (limits.h): Likewise.
47135         [POSIX] (math.h): Likewise.
47136         [POSIX] (sys/wait.h): Likewise.
47137         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47138         function.
47139         [POSIX] (stddef.h): Do not allow header inclusion.
47141 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47143         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47145 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47147         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47148         Return immediately after lll_futex_wake.
47150 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47152         [BZ #16791]
47153         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47154         structure.
47155         (datahead_init_pos): Call datahead_init_common early.
47156         (datahead_init_neg): Likewise.
47158         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47159         datahead_init_neg): New functions.
47160         * nscd/aicache.c (addhstaiX): Use them.
47161         * nscd/grpcache.c (cache_addgr): Likewise.
47162         * nscd/hstcache.c (cache_addhst): Likewise.
47163         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47164         * nscd/netgroupcache.c (do_notfound): Likewise.
47165         (addgetnetgrentX): Likewise.
47166         (addinnetgrX): Likewise.
47167         * nscd/pwdcache.c (cache_addpw): Likewise.
47168         * nscd/servicescache.c (cache_addserv): Likewise.
47170 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47171             Atsushi Onoe  <atsushi@onoe.org>
47173         [BZ #14308]
47174         [BZ #12994]
47175         [BZ #13651]
47176         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47177         one response is valid.
47178         * resolv/res_send.c (send_dg): Check for validity of other
47179         response if the current response is a referral.
47181 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47183         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47185 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47187         [BZ #16823]
47188         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47189         Always divide by positive zero when computing -Inf result.
47190         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47191         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47193 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47195         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47196         FPSCR if value do not change.
47197         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47198         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47199         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47200         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47201         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47202         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47203         function.
47205 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47207         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47208         * sysdeps/unix/sysv/linux/hppa: Move directory from
47209         ports/systeps/unix/sysv/linux/hppa.
47210         * README: Update listing for hppa-*-linux-gnu.
47212 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47214         [BZ #16754]
47215         * manual/stdio.texi (Hook functions): Fix types of stream hook
47216         functions.
47217         [BZ #16854]
47218         * socket/sys/socket.h: Fix typo in comment.
47220 2014-04-28  Wilco  <wdijkstr@arm.com>
47222         * sysdeps/arm/fenv_private.h: New file.
47223         * sysdeps/arm/math_private.h: New file.
47224         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47226 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47228         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47229         with __int128_t.
47230         (La_x86_64_retval): Likewise.
47232 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47234         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47235         fpsr if value didn't change.
47236         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47237         to fpcr if value didn't change.
47238         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47239         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47240         fpsr or fpcr if value didn't change.
47241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47242         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47243         fpcr if value didn't change.
47244         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47245         to fpsr if value didn't change.
47247 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47249         * nptl/tst-sem3.c: Use test-skeleton.c
47250         (main): Rename to do_test.  Use return instead of
47251         exit.
47252         * nptl/tst-sem4.c: Use test-skeleton.c
47253         (main): Rename to do_test.
47255 2014-04-22  David S. Miller  <davem@davemloft.net>
47257         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47258         (struct sigaction): New struct member __glibc_reserved0, change
47259         type of sa_flags to int.
47261 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47263         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47264         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47266 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47268         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47269         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47271 2014-04-22  Will Newton  <will.newton@linaro.org>
47272             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47274         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47275         (__longjmp): Add longjmp and longjmp_target SystemTap
47276         probes.
47277         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47278         (__sigsetjmp): Add setjmp SystemTap probe.
47280 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47282         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47283         match manual order.
47285 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47287         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47289         * sysdeps/powerpc/fpu/fenv_private.h
47290         (libc_feholdexcept_setroundl_ctx): Define to
47291         libc_feholdexcept_setround_ppc_ctx.
47292         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47293         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47294         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47295         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47297 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47299         * sysdeps/aarch64/math-tests.h: New file.
47301 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47303         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47304         New.
47305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47306         Check and set bit_AVX2_Usable.
47307         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47308         macro.
47309         (bit_AVX2): Likewise.
47310         (index_AVX2_Usable): Likewise.
47311         (CPUID_AVX2): Likewise.
47312         (HAS_AVX2): Likewise.
47314 2014-04-17  Will Newton  <will.newton@linaro.org>
47316         * manual/setjmp.texi (System V contexts): Add note that
47317         calling setcontext on a context created by a call to a
47318         signal handler is undefined.  Update text to note that
47319         setcontext from a signal handler is possible but not
47320         recommended.
47322         [BZ #16629]
47323         * stdlib/tst-setcontext.c: Include signal.h.
47324         (main): Check that the signal stack before and
47325         after swapcontext is the same.
47327         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47328         Re-implement to restore registers in user code and avoid
47329         rt_sigreturn system call.
47331 2014-04-17  Wilco  <wdijkstr@arm.com>
47333         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47334         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47335         * math/test-fenv.c: Skip exception trap tests on targets which only
47336         support non-stop mode.
47338 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47339             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47341         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47342         (libc_feholdsetround_aarch64_ctx)
47343         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47344         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47345         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47346         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47347         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47348         (libc_feresetround_noexl_ctx): Define.
47350 2014-04-16  Richard Henderson  <rth@redhat.com>
47352         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47354         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47355         unwind tables.
47357         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47358         const from the non-libc, non-ldso copy.
47360         * sysdeps/alpha/libm-test-ulps: Regenerate.
47362 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47363             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47365         * sysdeps/aarch64/fpu/math_private.h: New file.
47367 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47369         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47371 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47373         [BZ #16275]
47374         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47375         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47376         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47377         Intel MPX bound registers before _dl_profile_fixup.
47378         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47379         registers after _dl_profile_fixup.  Save and restore bound
47380         registers bnd0/bnd1 when calling _dl_call_pltexit.
47381         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47382         (LR_BND_OFFSET): Likewise.
47383         (LRV_BND0_OFFSET): Likewise.
47384         (LRV_BND1_OFFSET): Likewise.
47386 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47388         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47389         to...
47390         * sysdeps/mach/hurd/i386/tls.h: ... here.
47391         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47392         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47393         fields.
47395 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47397         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47399 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47401         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47403 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47405         [BZ #14770]
47406         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47407         * sysdeps/s390/configure: Regenerate.
47409         [BZ #16824]
47410         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47411         Set round-to-nearest internally to reduce error accumulation.
47413 2014-04-16  Alan Modra  <amodra@gmail.com>
47415         [BZ #16740]
47416         [BZ #16619]
47417         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47418         * math/libm-test.inc (frexp_test_data): Add tests.
47419         * NEWS: Update fixed bug list.
47421 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47423         * benchtests/Makefile: Depend on libraries in build directory.
47424         (bench-math): Separate out math tests.
47425         (bench-pthread): Separate out pthread tests.
47426         (bench): Include math and pthread tests.
47428 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47430         [BZ #16831]
47431         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47432         _dl_debug_initialize.
47434         * configure.ac: Remove SELinux header check.
47435         * configure: Regenerate.
47436         * nscd/selinux.c (perms): Array of const char* to permission names.
47437         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47438         default policy. Call string_to_security_class and string_to_av_perm to
47439         translate strings. Enforce default policy and call avs_has_perm with
47440         results of translated strings.
47442 2014-04-13  David S. Miller  <davem@davemloft.net>
47444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47446 2014-04-12  Allan McRae  <allan@archlinux.org>
47448         [BZ #16838]
47449         * manual/string.texi (Collation Functions): Fix qsort argument
47450         order in example.
47451         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47453 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47455         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47456         Make the test a no-op if there are no exceptions defined.
47458 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47460         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47461         enable-hardcoded-path-in-tests
47463 2014-04-11  Will Newton  <will.newton@linaro.org>
47465         * benchtests/Makefile (extra-objs): Add json-lib.o.
47466         (bench-func): Tidy up JSON output.
47467         * benchtests/bench-skeleton.c: Include json-lib.h.
47468         (main): Use JSON library functions to do output of
47469         benchmark results.
47470         * benchtests/bench-timing-type.c (main): Output the
47471         timing type simply, leaving formatting to the user.
47472         * benchtests/json-lib.c: New file.
47473         * benchtests/json-lib.h: Likewise.
47475 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47477         [BZ #15215]
47478         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47479         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47480         memory barriers.  Add comments.
47481         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47482         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47483         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47484         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47485         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47486         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47488 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47490         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47491         * sysdeps/s390/s390-64/configure.ac: ... this ...
47492         * sysdeps/s390/configure.ac: ... to here.
47493         * sysdeps/s390/s390-32/configure: Delete file.
47494         * sysdeps/s390/s390-64/configure: Delete file.
47495         * sysdeps/s390/configure: Regenerate.
47497 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47499         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47501 2014-04-11  Will Newton  <will.newton@linaro.org>
47503         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47504         to zero if it is not defined elsewhere.  (mtrim): Test
47505         the value of MALLOC_DEBUG with #if rather than #ifdef.
47507 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47509         * benchtests/pthread_once-inputs: New file.
47510         * benchtests/pthread_once-source.c: New file.
47511         * benchtests/README: Update documentation.
47513 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47514             H.J. Lu  <hongjiu.lu@intel.com>
47516         [BZ #16275]
47517         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47518         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47519         * sysdeps/x86_64/configure: Regenerated.
47520         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47521         macro.
47522         (REGISTER_SAVE_RAX): Likewise.
47523         (REGISTER_SAVE_RCX): Likewise.
47524         (REGISTER_SAVE_RDX): Likewise.
47525         (REGISTER_SAVE_RSI): Likewise.
47526         (REGISTER_SAVE_RDI): Likewise.
47527         (REGISTER_SAVE_R8): Likewise.
47528         (REGISTER_SAVE_R9): Likewise.
47529         (REGISTER_SAVE_BND0): Likewise.
47530         (REGISTER_SAVE_BND1): Likewise.
47531         (REGISTER_SAVE_BND2): Likewise.
47532         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47533         bound registers when calling _dl_fixup.
47535 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47537         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47538         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47539         of its definition.
47540         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47541         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47542         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47543         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47544         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47545         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47546         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47548 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47550         [BZ #15514]
47551         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47552         pathconf(_PC_NAME_MAX).
47554 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47556         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47557         Remove macro usage.
47558         (__PTHREAD_SPINS): Move definition to ...
47559         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47560         (__PTHREAD_SPINS): ... here.
47561         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47562         (__PTHREAD_SPIN): Likewise.
47563         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47564         (__PTHREAD_SPIN): Likewise.
47565         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47566         (__PTHREAD_SPIN): Likewise.
47567         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47568         (__PTHREAD_SPIN): Likewise.
47569         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47570         (__PTHREAD_SPIN): Likewise.
47571         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47572         (__PTHREAD_SPIN): Likewise.
47573         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47574         (__PTHREAD_SPIN): Likewise.
47575         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47576         (__PTHREAD_SPIN): Likewise.
47577         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47578         (__PTHREAD_SPIN): Likewise.
47579         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47580         (__PTHREAD_SPIN): Likewise.
47581         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47582         (__PTHREAD_SPIN): Likewise.
47583         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47584         (__PTHREAD_SPIN): Likewise.
47586         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47587         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47588         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47589         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47590         imply folder.
47591         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47592         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47593         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47594         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47595         correct imply path.
47596         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47597         strlen symbol for non multi-arch builds.
47598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47599         missing hidden_def and weak_alias.
47601 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47603         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47605 2014-04-07  Will Newton  <will.newton@linaro.org>
47607         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47608         and contents.  [!_LIBC] Remove #ifndef and contents.
47609         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47610         * string/memccpy.c (__memccpy): Use ANSI prototype.
47611         * string/memfrob.c (memfrob): Likewise.
47612         * string/strcoll.c (STRCOLL): Likewise.
47613         * string/strlen.c (strlen): Likewise.
47614         * string/strtok.c (STRTOK): Likewise.
47615         * string/strcat.c: Remove unused #include of memcopy.h.
47616         (strcat): Use ANSI prototype.
47617         * string/strchr.c: Remove unused #include of memcopy.h.
47618         (strchr): Use ANSI prototype.
47619         * string/strcmp.c: Remove unused #include of memcopy.h.
47620         (strcmp): Use ANSI prototype.
47621         * string/strcpy.c: Remove unused #include of memcopy.h.
47622         (strcpy): Use ANSI prototype.
47624 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47626         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47627         * config.make.in (config-extra-cppflags): Set it from
47628         libc_extra_cppflags.
47629         * configure.ac (libc_extra_cflags): Make it accumulate over
47630         configure fragments.
47631         (libc_extra_cppflags): New flag.
47632         * configure. Regenerate.
47633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47634         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47635         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47638         [BZ #16815]
47639         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47640         result for FE_DOWNWARD rounding mode.
47641         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47642         Likewise.
47643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47645 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47647         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47648         in function argument name.
47650 2014-04-03  David Svoboda  <svoboda@cert.org>
47652         [BZ #5666]
47653         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47654         explicitly.
47656 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47658         * elf/dl-unmap-segments.h: New file.
47659         * sysdeps/generic/ldsodefs.h
47660         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47661         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47662         * elf/dl-fptr.c: Likewise.
47663         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47664         * sysdeps/aarch64/tlsdesc.c: Likewise.
47665         * sysdeps/arm/tlsdesc.c: Likewise.
47666         * sysdeps/i386/tlsdesc.c: Likewise.
47667         * sysdeps/tile/dl-runtime.c: Likewise.
47668         * sysdeps/x86_64/tlsdesc.c: Likewise.
47669         * elf/dl-load.h: New file.
47670         * elf/dl-load.c: Include it.
47671         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47672         Macros moved to dl-load.h.
47673         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47674         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47675         Use _dl_unmap_segments in place of __munmap.
47676         Break out segment-mapping loop into ...
47677         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47679 2014-04-03  Will Newton  <will.newton@linaro.org>
47681         * elf/dl-lookup.c (do_lookup_x): Remove comment
47682         referring to nested function and move variable
47683         declarations down to before first use.
47685 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47687         [BZ #16799]
47688         [BZ #16800]
47689         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47690         with 0 numerator.
47691         * math/s_catanf.c (__catanf): Likewise.
47692         * math/s_catanh.c (__catanh): Likewise.
47693         * math/s_catanhf.c (__catanhf): Likewise.
47694         * math/s_catanhl.c (__catanhl): Likewise.
47695         * math/s_catanl.c (__catanl): Likewise.
47696         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47697         by positive zero when computing -Inf result.
47698         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47699         (catanh_test): Likewise.
47700         * sysdeps/i386/fpu/libm-test-ulps: Update.
47701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47703         [BZ #16789]
47704         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47705         instead of using underflowing value in computing result.
47706         * math/s_clog10.c (__clog10): Likewise.
47707         * math/s_clog10f.c (__clog10f): Likewise.
47708         * math/s_clog10l.c (__clog10l): Likewise.
47709         * math/s_clogf.c (__clogf): Likewise.
47710         * math/s_clogl.c (__clogl): Likewise.
47711         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47712         (clog10_test): Likewise.
47713         * sysdeps/i386/fpu/libm-test-ulps: Update.
47714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47716 2014-04-02  Alan Modra  <amodra@gmail.com>
47718         [BZ #16739]
47719         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47720         output when value is near a power of two.  Use int64_t for lx and
47721         remove casts.  Use decimal rather than hex exponent constants.
47722         Don't use long double multiplication when double will suffice.
47723         * math/libm-test.inc (nextafter_test_data): Add tests.
47724         * NEWS: Add 16739 and 16786 to bug list.
47726         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47728         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47730 2014-04-01  Will Newton  <will.newton@linaro.org>
47732         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47733         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47735 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47737         [BZ #13347]
47738         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47739         * nptl/tst-setuid2.c: New file.
47740         * nptl/Makefile (xtests): Add tst-setuid2.
47742 2014-04-01  Alan Modra  <amodra@gmail.com>
47744         [BZ #16786]
47745         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47747 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47749         [BZ #6803]
47750         [BZ #6804]
47751         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47752         set errno as appropriate.
47753         * math/w_scalbf.c (__scalbf): Likewise.
47754         * math/w_scalbl.c (__scalbl): Likewise.
47755         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47756         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47757         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47758         Add more NaN tests.
47760         [BZ #16349]
47761         * math/w_atan2.c: Include <errno.h>.
47762         (__atan2): Set errno for result underflowing to zero.
47763         * math/w_atan2f.c: Include <errno.h>.
47764         (__atan2f): Set errno for result underflowing to zero.
47765         * math/w_atan2l.c: Include <errno.h>.
47766         (__atan2l): Set errno for result underflowing to zero.
47767         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47768         tests.
47769         * math/auto-libm-test-out: Regenerated.
47771 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47773         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47774         Encode instruction correctly in little endian.
47775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47776         Likewise.
47777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47778         Likewise.
47779         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47780         Likewise.
47781         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47782         Likewise.
47784 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47786         [BZ #9894]
47787         * sysdeps/unix/sysv/linux/kernel-features.h
47788         [__sparc__ && !__arch64__ && !__sparc_v9__]
47789         (__ASSUME_SET_ROBUST_LIST): Do not define.
47790         [__sparc__ && !__arch64__ && !__sparc_v9__]
47791         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47792         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47793         Likewise.
47794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47795         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47796         (__ASSUME_REQUEUE_PI): Likewise.
47797         (__ASSUME_SET_ROBUST_LIST): Likewise.
47798         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47799         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47800         Undefine.
47801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47802         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47803         Likewise.
47804         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47805         Likewise.
47806         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47807         Likewise.
47808         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47809         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47810         Undefine.
47811         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47812         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47813         Likewise.
47815         [BZ #16648]
47816         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47817         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47818         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47820 2014-03-31  Will Newton  <will.newton@linaro.org>
47822         * benchtests/Makefile (bench): Add ffs and ffsll to list
47823         of tests.
47824         * benchtests/ffs-inputs: New file.
47825         * benchtests/ffsll-inputs: Likewise.
47827 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47829         [BZ #16770]
47830         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47831         too large before casting to int.
47832         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47833         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47834         * math/libm-test.inc (scalb_test_data): Add more tests.
47836 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47838         * benchtests/Makefile (DETAILED_OPT): New make option.
47839         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47840         set.
47841         * benchtests/bench-skeleton.c: Include stdbool.h.
47842         (main): Store and print timings per input.
47843         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47844         member to each argument value.
47845         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47846         (_print_arg_data): Initialize per-input timing to 0.
47848         * benchtests/Makefile (timing-type): New binary.
47849         (bench-clean): Also remove bench-timing-type.
47850         (bench): New target for timing-type.
47851         (bench-func): Print output in JSON format.
47852         * benchtests/bench-skeleton.c (main): Print output in JSON
47853         format.
47854         * benchtests/bench-timing-type.c: New file.
47855         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47856         (TIMING_PRINT_STATS): Remove.
47857         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47858         name separately.
47860         * benchtests/bench-modf.c: Remove.
47861         * benchtests/modf-inputs: New inputs file.
47863 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47865         [BZ #16362]
47866         * math/s_clog10.c (M_PI_LOG10E): New macro.
47867         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47868         imaginary parts are 0.
47869         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47870         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47871         imaginary parts are 0.
47872         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47873         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47874         imaginary parts are 0.
47875         * math/libm-test.inc (clog10_test_data): Update expected results
47876         for when real and imaginary parts are 0.
47878 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47880         * elf/dl-load.c: Finish conversion of __builtin_expect into
47881         __glibc_{un}likely.
47883 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47885         [BZ #16348]
47886         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47887         1+x for argument with exponent below -67.
47888         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47889         Likewise.
47890         * math/auto-libm-test-in: Add more tests of exp.
47891         * math/auto-libm-test-out: Regenerated.
47893 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47895         [BZ #16759]
47896         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47897         (nscd_getnetgrent): Use it.
47899         [BZ #16760]
47900         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47901         of stpcpy.
47903 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47905         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47906         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47907         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47908         (lll_robust_unlock): Remove out of line section. Use cfi
47909         intrinsics.
47910         (LLL_STUB_UNWIND_INFO*): Remove.
47911         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47912         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47913         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47914         (lll_robust_unlock): Remove out of line section. Use cfi
47915         intrinsics.
47916         (LLL_STUB_UNWIND_INFO*): Remove.
47918 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47920         [BZ #16758]
47921         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47922         blank values.
47924 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47926         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47928 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47930         [BZ #16198]
47931         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47932         fnstenv.
47933         * math/test-fenv-preserve.c: New file.
47934         * math/Makefile (tests): Add test-fenv-preserve.
47936 2014-03-26  Will Newton <will.newton@linaro.org>
47938         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47940 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47942         * scripts/versionlist.awk: Partition the version sets and emit all
47943         GLIBC_* (sorted) before all others (sorted).
47945 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47947         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47948         GLIBC_2.2.5 version.
47950 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47952         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47953         calls.
47955         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47956         previous change.
47958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47960 2014-03-25  Andreas Schwab  <schwab@suse.de>
47962         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47963         label to be used after in6ailist is initialized.
47965 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47967         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47968         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47970 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47972         [BZ #16357]
47973         [BZ #16599]
47974         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47975         min_plus_half.
47976         (fp_formats): Update initializers.
47977         (init_fp_formats): Initialize new field.
47978         (output_for_one_input_case): Allow underflow for results up to
47979         min_plus_half.
47980         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47981         * math/auto-libm-test-in: Don't mark some underflows from asin and
47982         atanh as spurious.
47983         * math/auto-libm-test-out: Regenerated.
47984         * sysdeps/i386/fpu/libm-test-ulps: Update.
47985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47987 2014-03-25  Andreas Schwab  <schwab@suse.de>
47989         * libio/Makefile (tst-ftell-partial-wide-ENV)
47990         (tst-ftell-active-handler-ENV): Define.
47992 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47994         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47996 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47998         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48000 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48002         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48003         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48004         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48006 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48008         [BZ #16634]
48009         * elf/dl-load.c (open_verify): Add mode parameter.
48010         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48011         (open_path): Change from boolean 'secure' to complete flag 'mode'
48012         (_dl_map_object): Adjust.
48013         * elf/Makefile (tests): Add tst-dlopen-aout.
48014         * elf/tst-dlopen-aout.c: New test.
48016 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48018         [BZ #16714]
48019         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48020         (struct stat): Rename member pad0 to __glibc_reserved0.
48022         [BZ #16712]
48023         * sysdeps/s390/s390-32/bits/wordsize.h
48024         (__WORDSIZE32_SIZE_ULONG): New define.
48025         * sysdeps/s390/s390-64/bits/wordsize.h
48026         (__WORDSIZE32_SIZE_ULONG): Likewise.
48027         * sysdeps/generic/stdint.h (SIZE_MAX):
48028         Define as UL if __WORDSIZE32_SIZE_ULONG.
48030         [BZ #16713]
48031         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48032         (__glibc_reserved0): New variable.
48033         (sa_flags): Change type to int.
48035         * posix/Makefile (before-compile): Use += before-compile instead
48036         of a :=.
48038         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48039         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48041 2014-03-20  Andreas Schwab  <schwab@suse.de>
48043         [BZ #16743]
48044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48045         non-matching result from nscd.
48047 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48049         * scripts/bench.py: Moved to ...
48050         * benchtests/scripts/bench.py: ... here.
48051         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48053 2014-03-24  Andreas Schwab  <schwab@suse.de>
48055         [BZ #16002]
48056         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48057         alloca_account and account alloca use for struct in6ailist.
48059 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48061         [BZ #16284]
48062         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48063         rounding mode to recompute results that overflow to infinity or
48064         underflow to zero.
48065         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48066         bug 16284.
48067         * math/auto-libm-test-out: Regenerated.
48068         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48069         (ccosh_test): Likewise.
48070         (csin_test_data): Use plus_oflow.
48071         (csin_test): Use ALL_RM_TEST.
48072         (csinh_test_data): Use plus_oflow.
48073         (csinh_test): Use ALL_RM_TEST.
48074         * sysdeps/i386/fpu/libm-test-ulps: Update.
48075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48077 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48079         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48080         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48081         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48083         [BZ #16731]
48084         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48085         when x - 1 is zero.
48086         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48087         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48088         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48089         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48090         argument is 1.
48091         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48092         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48093         zero.
48094         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48095         * sysdeps/i386/fpu/libm-test-ulps: Update.
48096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48098 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48100         * scripts/bench.pl: Remove file.
48101         * scripts/bench.py: New benchmark script.
48102         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48103         * benchtests/README: Mention python dependency.
48104         * scripts/pylintrc: New file.
48105         * scripts/pylint: New file.
48107         * bits/mathdef.h: Use #ifdef instead of #if.
48108         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48109         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48110         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48111         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48112         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48113         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48115 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48116             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48118         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48120         and strpbrk-ppc64 objects.
48121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48122         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48123         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48124         multiarch strpbrk for POWER7.
48125         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48126         multiarch strpbrk for PPC64.
48127         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48128         ifunc selector.
48129         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48130         strpbrk for POWER7.
48132 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48134         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48135         (atan_test): Likewise.
48136         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48137         (atanh_test): Use ALL_RM_TEST.
48138         (atan2_test_data): Likewise.
48139         (cabs_test): Likewise.
48140         (cacosh_test): Likewise.
48141         (carg_test): Likewise.
48142         (casin_test): Likewise.
48143         (casinh_test): Likewise.
48144         (cbrt_test): Likewise.
48145         (csqrt_test): Likewise.
48146         (erf_test): Likewise.
48147         (erfc_test): Likewise.
48148         (pow10_test): Likewise.
48149         (exp2_test): Likewise.
48150         (hypot_test): Likewise.
48151         (j0_test): Likewise.
48152         (j1_test): Likewise.
48153         (lgamma_test): Likewise.
48154         (gamma_test): Likewise.
48155         (sincos_test): Likewise.
48156         (tanh_test): Likewise.
48157         (y0_test): Likewise.
48158         (y1_test): Likewise.
48159         * sysdeps/i386/fpu/libm-test-ulps: Update.
48160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48162 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48164         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48166         and strcspn-ppc64 objects.
48167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48168         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48169         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48170         multiarch strcspn for POWER7.
48171         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48172         multiarch strcspn for PPC64.
48173         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48174         ifunc selector.
48175         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48176         strcspn for POWER7.
48178 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48180         * math/gen-libm-test.pl (generate_testfile): Expect only function
48181         name as argument to AUTO_TESTS_* and pass results for all rounding
48182         modes to parse_args.
48183         (parse_auto_input): Separate inputs of automatic tests from
48184         outputs before storing in %auto_tests.
48185         * math/libm-test.inc (acos_test_data): Update call to
48186         AUTO_TESTS_f_f.
48187         (acos_test): Use ALL_RM_TEST.
48188         (acos_tonearest_test_data): Remove.
48189         (acos_test_tonearest): Likewise.
48190         (acos_towardzero_test_data): Likewise.
48191         (acos_test_towardzero): Likewise.
48192         (acos_downward_test_data): Likewise.
48193         (acos_test_downward): Likewise.
48194         (acos_upward_test_data): Likewise.
48195         (acos_test_upward): Likewise.
48196         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48197         (asin_test_data): Likewise.
48198         (asin_test): Use ALL_RM_TEST.
48199         (asin_tonearest_test_data): Remove.
48200         (asin_test_tonearest): Likewise.
48201         (asin_towardzero_test_data): Likewise.
48202         (asin_test_towardzero): Likewise.
48203         (asin_downward_test_data): Likewise.
48204         (asin_test_downward): Likewise.
48205         (asin_upward_test_data): Likewise.
48206         (asin_test_upward): Likewise.
48207         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48208         (atan_test_data): Likewise.
48209         (atanh_test_data): Likewise.
48210         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48211         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48212         (carg_test_data): Likewise.
48213         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48214         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48215         (ccosh_test_data): Likewise.
48216         (cexp_test_data): Likewise.
48217         (clog_test_data): Likewise.
48218         (clog10_test_data): Likewise.
48219         (cos_test_data): Update call to AUTO_TESTS_f_f.
48220         (cos_test): Use ALL_RM_TEST.
48221         (cos_tonearest_test_data): Remove.
48222         (cos_test_tonearest): Likewise.
48223         (cos_towardzero_test_data): Likewise.
48224         (cos_test_towardzero): Likewise.
48225         (cos_downward_test_data): Likewise.
48226         (cos_test_downward): Likewise.
48227         (cos_upward_test_data): Likewise.
48228         (cos_test_upward): Likewise.
48229         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48230         (cosh_test): Use ALL_RM_TEST.
48231         (cosh_tonearest_test_data): Remove.
48232         (cosh_test_tonearest): Likewise.
48233         (cosh_towardzero_test_data): Likewise.
48234         (cosh_test_towardzero): Likewise.
48235         (cosh_downward_test_data): Likewise.
48236         (cosh_test_downward): Likewise.
48237         (cosh_upward_test_data): Likewise.
48238         (cosh_test_upward): Likewise.
48239         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48240         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48241         (ctan_test_data): Likewise.
48242         (ctan_test): Use ALL_RM_TEST.
48243         (ctan_tonearest_test_data): Remove.
48244         (ctan_test_tonearest): Likewise.
48245         (ctan_towardzero_test_data): Likewise.
48246         (ctan_test_towardzero): Likewise.
48247         (ctan_downward_test_data): Likewise.
48248         (ctan_test_downward): Likewise.
48249         (ctan_upward_test_data): Likewise.
48250         (ctan_test_upward): Likewise.
48251         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48252         (ctanh_test): Use ALL_RM_TEST.
48253         (ctanh_tonearest_test_data): Remove.
48254         (ctanh_test_tonearest): Likewise.
48255         (ctanh_towardzero_test_data): Likewise.
48256         (ctanh_test_towardzero): Likewise.
48257         (ctanh_downward_test_data): Likewise.
48258         (ctanh_test_downward): Likewise.
48259         (ctanh_upward_test_data): Likewise.
48260         (ctanh_test_upward): Likewise.
48261         (erf_test_data): Update call to AUTO_TESTS_f_f.
48262         (erfc_test_data): Likewise.
48263         (exp_test_data): Likewise.
48264         (exp_test): Use ALL_RM_TEST.
48265         (exp_tonearest_test_data): Remove.
48266         (exp_test_tonearest): Likewise.
48267         (exp_towardzero_test_data): Likewise.
48268         (exp_test_towardzero): Likewise.
48269         (exp_downward_test_data): Likewise.
48270         (exp_test_downward): Likewise.
48271         (exp_upward_test_data): Likewise.
48272         (exp_test_upward): Likewise.
48273         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48274         (exp10_test): Use ALL_RM_TEST.
48275         (exp10_tonearest_test_data): Remove.
48276         (exp10_test_tonearest): Likewise.
48277         (exp10_towardzero_test_data): Likewise.
48278         (exp10_test_towardzero): Likewise.
48279         (exp10_downward_test_data): Likewise.
48280         (exp10_test_downward): Likewise.
48281         (exp10_upward_test_data): Likewise.
48282         (exp10_test_upward): Likewise.
48283         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48284         (expm1_test_data): Likewise.
48285         (expm1_test): Use ALL_RM_TEST.
48286         (expm1_tonearest_test_data): Remove.
48287         (expm1_test_tonearest): Likewise.
48288         (expm1_towardzero_test_data): Likewise.
48289         (expm1_test_towardzero): Likewise.
48290         (expm1_downward_test_data): Likewise.
48291         (expm1_test_downward): Likewise.
48292         (expm1_upward_test_data): Likewise.
48293         (expm1_test_upward): Likewise.
48294         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48295         (fma_test): Use ALL_RM_TEST.
48296         (fma_towardzero_test_data): Remove.
48297         (fma_test_towardzero): Likewise.
48298         (fma_downward_test_data): Likewise.
48299         (fma_test_downward): Likewise.
48300         (fma_upward_test_data): Likewise.
48301         (fma_test_upward): Likewise.
48302         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48303         (j0_test_data): Update call to AUTO_TESTS_f_f.
48304         (j1_test_data): Likewise.
48305         (jn_test_data): Update call to AUTO_TESTS_if_f.
48306         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48307         (log_test_data): Update call to AUTO_TESTS_f_f.
48308         (log10_test_data): Likewise.
48309         (log1p_test_data): Likewise.
48310         (log2_test_data): Likewise.
48311         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48312         (pow_tonearest_test_data): Likewise.
48313         (sin_test_data): Update call to AUTO_TESTS_f_f.
48314         (sin_test): Use ALL_RM_TEST.
48315         (sin_tonearest_test_data): Remove.
48316         (sin_test_tonearest): Likewise.
48317         (sin_towardzero_test_data): Likewise.
48318         (sin_test_towardzero): Likewise.
48319         (sin_downward_test_data): Likewise.
48320         (sin_test_downward): Likewise.
48321         (sin_upward_test_data): Likewise.
48322         (sin_test_upward): Likewise.
48323         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48324         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48325         (sinh_test): Use ALL_RM_TEST.
48326         (sinh_tonearest_test_data): Remove.
48327         (sinh_test_tonearest): Likewise.
48328         (sinh_towardzero_test_data): Likewise.
48329         (sinh_test_towardzero): Likewise.
48330         (sinh_downward_test_data): Likewise.
48331         (sinh_test_downward): Likewise.
48332         (sinh_upward_test_data): Likewise.
48333         (sinh_test_upward): Likewise.
48334         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48335         (sqrt_test): Use ALL_RM_TEST.
48336         (sqrt_tonearest_test_data): Remove.
48337         (sqrt_test_tonearest): Likewise.
48338         (sqrt_towardzero_test_data): Likewise.
48339         (sqrt_test_towardzero): Likewise.
48340         (sqrt_downward_test_data): Likewise.
48341         (sqrt_test_downward): Likewise.
48342         (sqrt_upward_test_data): Likewise.
48343         (sqrt_test_upward): Likewise.
48344         (tan_test_data): Update call to AUTO_TESTS_f_f.
48345         (tan_test): Use ALL_RM_TEST.
48346         (tan_tonearest_test_data): Remove.
48347         (tan_test_tonearest): Likewise.
48348         (tan_towardzero_test_data): Likewise.
48349         (tan_test_towardzero): Likewise.
48350         (tan_downward_test_data): Likewise.
48351         (tan_test_downward): Likewise.
48352         (tan_upward_test_data): Likewise.
48353         (tan_test_upward): Likewise.
48354         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48355         (tgamma_test_data): Likewise.
48356         (y0_test_data): Likewise.
48357         (y1_test_data): Likewise.
48358         (yn_test_data): Update call to AUTO_TESTS_if_f.
48359         (main): Do not call removed functions.
48361 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48363         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48364         (ldexp_test_data): Remove.
48365         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48366         scalbn_test_data.
48367         (scalb_test): Use ALL_RM_TEST.
48369 2014-03-19  Andreas Schwab  <schwab@suse.de>
48371         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48373 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48375         [BZ #16649]
48376         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48377         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48378         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48379         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48380         (__ASSUME_PREADV): Undefine.
48381         (__ASSUME_PWRITEV): Likewise.
48383 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48385         * bits/mman-linux.h: Add comment about non-Linux use.
48386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48387         bits/mman-linux.h resting place.
48389         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48390         * bits/mman-linux.h: ... here.
48392 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48394         * conform/conformtest.pl: Add standard definition when calling C
48395         preprocessor on data files.
48396         (checknamespace): Remove unused variable.
48398 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48400         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48401         minus_oflow, plus_uflow and minus_uflow in expected results.
48402         * math/libm-test.inc (scalbn_test_data): Add more tests of
48403         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48404         minus_uflow.
48405         (scalbn_test): Use ALL_RM_TEST.
48406         (scalbln_test_data): Add more tests of negative arguments.  Use
48407         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48408         (scalbln_test): Use ALL_RM_TEST.
48410 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48412         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48414 2014-03-18  Will Newton  <will.newton@linaro.org>
48416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48417         inaccurate comment.
48419 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48421         * Makerules [!subdir] (check-abi): Exit with error status if a
48422         test failed.
48424 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48426         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48427         for rint.  Include results for all rounding modes.
48428         (nearbyint_test): Use ALL_RM_TEST.
48429         (rint_test_data): Include all tests used for nearbyint.
48431 2014-03-17  Will Newton  <will.newton@linaro.org>
48433         * nptl/sysdeps/pthread/pthread.h: Revert previous
48434         change.
48436         * sysdeps/generic/ldsodefs.h: Revert previous
48437         change.
48439         * libio/genops.c: Revert previous change.
48440         * libio/libioP.h: Likewise.
48441         * stdio-common/vfprintf.c: Likewise.
48443         * sysdeps/generic/math_private.h: Revert previous
48444         change.
48446         * sysdeps/generic/math_private.h: Check whether
48447         HAVE_RM_CTX is defined with #ifdef rather
48448         than #if.
48450         * argp/argp-fmtstream.h: Check whether
48451         __STRICT_ANSI__ is defined with #ifdef rather
48452         than #if.
48453         * argp/argp.h: Likewise.
48455         * libio/genops.c: Check whether
48456         _IO_JUMPS_OFFSET is defined with #ifdef rather
48457         than #if.
48458         * libio/libioP.h: Likewise.
48459         * stdio-common/vfprintf.c: Likewise.
48461         * sysdeps/generic/ldsodefs.h: Check whether
48462         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48463         than #if.
48465         * nptl/sysdeps/pthread/pthread.h: Check
48466         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48467         its value.
48469 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48471         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48472         setting O_APPEND.
48473         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48474         test case.
48476         [BZ #16680]
48477         * libio/fileops.c (_IO_file_open): Seek to end of file but
48478         don't cache the offset.
48479         (get_file_offset): Remove function.
48480         (do_ftell): Use cached offset when available.
48481         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48482         don't cache the offset.
48483         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48484         case.
48485         (do_one_test): Call it.
48486         (do_ftell_test): Fix up expected old offset for a+ mode.
48487         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48488         available.
48490         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48491         up test status with function return status.
48492         (do_write_test): Likewise.
48493         (do_append_test): Likewise.
48495         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48496         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48497         Remove.
48499 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48501         * math/gen-libm-test.pl (parse_args): Handle results specified for
48502         each rounding mode separately.
48503         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48504         tests and results from lrint_tonearest_test_data,
48505         lrint_towardzero_test_data, lrint_downward_test_data and
48506         lrint_upward_test_data.
48507         (lrint_test): Use ALL_RM_TEST.
48508         (lrint_tonearest_test_data): Remove.
48509         (lrint_test_tonearest): Likewise.
48510         (lrint_towardzero_test_data): Likewise.
48511         (lrint_test_towardzero): Likewise.
48512         (lrint_downward_test_data): Likewise.
48513         (lrint_test_downward): Likewise.
48514         (lrint_upward_test_data): Likewise.
48515         (lrint_test_upward): Likewise.
48516         (llrint_test_data): Merge in per-rounding-mode tests and results
48517         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48518         llrint_downward_test_data and llrint_upward_test_data.
48519         (llrint_test): Use ALL_RM_TEST.
48520         (llrint_tonearest_test_data): Remove.
48521         (llrint_test_tonearest): Likewise.
48522         (llrint_towardzero_test_data): Likewise.
48523         (llrint_test_towardzero): Likewise.
48524         (llrint_downward_test_data): Likewise.
48525         (llrint_test_downward): Likewise.
48526         (llrint_upward_test_data): Likewise.
48527         (llrint_test_upward): Likewise.
48528         (rint_test_data): Merge in per-rounding-mode tests and results
48529         from rint_tonearest_test_data, rint_towardzero_test_data,
48530         rint_downward_test_data and rint_upward_test_data.  Add
48531         per-rounding-mode results for tests not in those arrays.
48532         (rint_test): Use ALL_RM_TEST.
48533         (rint_tonearest_test_data): Remove.
48534         (rint_test_tonearest): Likewise.
48535         (rint_towardzero_test_data): Likewise.
48536         (rint_test_towardzero): Likewise.
48537         (rint_downward_test_data): Likewise.
48538         (rint_test_downward): Likewise.
48539         (rint_upward_test_data): Likewise.
48540         (rint_test_upward): Likewise.
48541         (main): Don't call removed functions.
48543 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48545         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48546         "Compiled on ..." crapola.  It is anti-useful.
48548 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48550         * scripts/evaluate-test.sh: Handle fourth argument to determine
48551         whether test run should stop on failure.
48552         * Makeconfig (stop-on-test-failure): New variable.
48553         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48554         $(stop-on-test-failure).
48555         * Makefile (tests): Give a summary of results from testing and
48556         exit with failure status if they include an ERROR or FAIL.
48557         (xtests): Likewise.
48558         * manual/install.texi (Configuring and compiling): Mention
48559         stop-on-test-failure=y.
48560         * INSTALL: Regenerated.
48562 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48564         * scripts/versionlist.awk: New file.
48565         * Makerules [$(build-shared) = yes]
48566         (postclean-generated): Add Versions.def, not Versions.def.v and
48567         Versions.def.v.i.
48568         ($(common-objpfx)Versions.def.v.i): Target removed.
48569         ($(common-objpfx)Versions.def): New target.
48570         ($(common-objpfx)Versions.all): Depend on that rather that
48571         $(common-objpfx)Versions.def.v.
48572         * Versions.def: File removed.
48574         * Makeconfig (+gccwarn): Add -Wundef.
48575         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48576         a dl-sysdep.h breaking its contract.
48577         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48578         * include/stackinfo.h: New file.
48579         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48580         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48581         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48582         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48583         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48584         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48585         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48586         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48587         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48588         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48589         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48590         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48591         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48592         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48593         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48595 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48597         [BZ #16707]
48598         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48599         implementation.
48600         * math/libm-test.inc (round_test_data): Add more tests.
48602         [BZ #16706]
48603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48604         implementation.
48605         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48607         [BZ #16701]
48608         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48609         implementation.
48610         * math/libm-test.inc (ceil_test_data): Add more tests.
48612         * math/libm-test.inc (trunc_test_data): Add more tests related to
48613         BZ#16414.
48615 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48617         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48618         with #if rather than #ifdef.
48619         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48621 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48623         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48624         first.  Disable AVX-512 GCC support if assembler doesn't support
48625         it.
48626         * sysdeps/x86_64/configure: Regenerated.
48628 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48630         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48631         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48632         (__old_pthread_attr_setstack): Likewise.
48633         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48634         [!_STACK_GROWS_DOWN]: Likewise.
48636 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48638         * config.make.in (have-bash2): Delete.
48639         * configure.ac (libc_cv_have_bash2): Delete.
48640         * configure: Regenerate.
48641         * elf/Makefile (common-ldd-rewrite): Rename to ...
48642         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48643         (sh-ldd-rewrite): Delete.
48644         (bash-ldd-rewrite): Delete.
48645         (have-bash2): Delete checks.
48646         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48647         ldd-rewrite.
48649         * config.make.in (have-ksh): Delete.
48650         (KSH): Delete.
48651         * configure.ac (libc_cv_have_ksh): Delete.
48652         * configure: Regenerate.
48654         * elf/Makefile: Delete $(have-ksh) check.
48655         ($(objpfx)sotruss): Change KSH to BASH.
48656         * elf/sotruss.ksh: Rename to ...
48657         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48658         function style to match POSIX.  Drop ksh vim mode setting.
48660         * manual/time.texi (Specifying the Time Zone with TZ): Change
48661         Tuesday to Thursday.
48663         * debug/tst-longjmp_chk2.c: Update header comment.
48664         (stackoverflow_handler): Add comment.  Call assert on pass value.
48666 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48668         [BZ #16194]
48669         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48670         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48671         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48672         (La_x86_64_vector): Add zmm.
48673         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48674         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48675         ($(objpfx)tst-audit10): New target.
48676         ($(objpfx)tst-audit10.out): Likewise.
48677         (tst-audit10-ENV): New.
48678         (AVX512-CFLAGS): Likewise.
48679         (CFLAGS-tst-audit10.c): Likewise.
48680         (CFLAGS-tst-auditmod10a.c): Likewise.
48681         (CFLAGS-tst-auditmod10b.c): Likewise.
48682         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48683         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48684         * sysdeps/x86_64/configure: Regenerated.
48685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48686         AVX-512 zmm register support.
48687         (_dl_x86_64_save_sse): Likewise.
48688         (_dl_x86_64_restore_sse): Likewise.
48689         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48690         size vector registers.
48691         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48692         (ZMM_SIZE): Likewise.
48693         * sysdeps/x86_64/tst-audit10.c: New file.
48694         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48695         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48697 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48699         * configure.ac (HAVE_EHDR_START): New check.
48700         * configure: Regenerated.
48701         * config.h.in (HAVE_EHDR_START): New #undef.
48702         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48703         assuming the lowest-addressed segment maps the start of the file.
48705 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48707         * INSTALL: Regenerated.
48709 2014-03-13  Will Newton  <will.newton@linaro.org>
48711         * manual/setjmp.texi (System V contexts): Improve
48712         clarity and grammar of documentation.
48714 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48716         [BZ #16381]
48717         * elf/Makefile (tests): Add tst-pie2.
48718         (tests-pie): Add tst-pie2.
48719         * elf/tst-pie2.c: New file.
48720         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48721         for ET_EXEC.
48722         * elf/rtld.c (map_doit): Load executable as lt_executable.
48723         (dl_main): Likewise.
48725 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48727         [BZ #16642]
48728         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48729         (__ASSUME_PSELECT): Undefine.
48731 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48733         [BZ #16689]
48734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48735         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48736         static build.
48737         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48738         selector for static builds.
48740 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48742         [BZ #16695]
48743         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48744         key in the buffer.
48746 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48748         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48749         IFUNC selector for static builds.
48751 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48753         * sysdeps/mips/math_private.h [__mips_hard_float]
48754         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48755         libc_feresetround_mips_ctx.
48756         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48757         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48758         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48760         [BZ #16677]
48761         * math/s_nextafter.c (__nextafter): Do not return value from
48762         overflowing computation.
48763         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48764         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48765         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48766         Likewise.
48767         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48768         Likewise.
48769         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48770         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48772 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48774         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48775         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48776         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48777         the new mov targetting sp.
48779 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48781         [BZ #16683]
48782         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48783         Define it for static builds as well.
48784         (NO_BZERO_IMPL): Likewise.
48786 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48788         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48789         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48790         multiarch strspn for PPC64.
48791         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48792         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48794         (__libc_ifunc_impl_list): Likewise.
48795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48796         multiarch optimizations
48797         * string/strspn.c (strspn): Using macro to redefine symbol name.
48799 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48800             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48802         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48803         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48804         multiarch strncat for PPC64.
48805         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48806         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48808         (__libc_ifunc_impl_list): Likewise.
48809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48810         multiarch optimizations
48812 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48814         [BZ #16639]
48815         * nscd/nscd.service: Make service type forking.
48817 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48819         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48820         sign in non default rounding modes.
48821         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48823 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48825         * math/libm-test.inc (ALL_RM_TEST): New macro.
48826         (ceil_test): Use ALL_RM_TEST.
48827         (cimag_test): Likewise.
48828         (conj_test): Likewise.
48829         (copysign_test): Likewise.
48830         (cproj_test): Likewise.
48831         (creal_test): Likewise.
48832         (fabs_test): Likewise.
48833         (floor_test): Likewise.
48834         (fmax_test): Likewise.
48835         (fmin_test): Likewise.
48836         (fmod_test): Likewise.
48837         (fpclassify_test): Likewise.
48838         (frexp_test): Likewise.
48839         (ilogb_test): Likewise.
48840         (isfinite_test): Likewise.
48841         (finite_test): Likewise.
48842         (isgreater_test): Likewise.
48843         (isgreaterequal_test): Likewise.
48844         (isinf_test): Likewise.
48845         (isless_test): Likewise.
48846         (islessequal_test): Likewise.
48847         (islessgreater_test): Likewise.
48848         (isnan_test): Likewise.
48849         (isnormal_test): Likewise.
48850         (issignaling_test): Likewise.
48851         (isunordered_test): Likewise.
48852         (logb_test): Likewise.
48853         (logb_downward_test_data): Remove.
48854         (logb_test_downward): Likewise.
48855         (lround_test): Use ALL_RM_TEST.
48856         (llround_test): Likewise.
48857         (modf_test): Likewise.
48858         (nexttoward_test): Likewise.
48859         (remainder_test): Likewise.
48860         (drem_test): Likewise.
48861         (remainder_tonearest_test_data): Likewise.
48862         (remainder_test_tonearest): Likewise.
48863         (drem_test_tonearest): Likewise.
48864         (remainder_towardzero_test_data): Likewise.
48865         (remainder_test_towardzero): Likewise.
48866         (drem_test_towardzero): Likewise.
48867         (remainder_downward_test_data): Likewise.
48868         (remainder_test_downward): Likewise.
48869         (drem_test_downward): Likewise.
48870         (remainder_upward_test_data): Likewise.
48871         (remainder_test_upward): Likewise.
48872         (drem_test_upward): Likewise.
48873         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48874         (round_test): Use ALL_RM_TEST.
48875         (signbit_test): Likewise.
48876         (trunc_test): Likewise.
48877         (significand_test): Likewise.
48878         (main): Don't call removed functions.
48880 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48882         [BZ #16674]
48883         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48884         || __USE_XOPEN2K8].
48885         (ILL_ILLOPN): Likewise.
48886         (ILL_ILLADR): Likewise.
48887         (ILL_ILLTRP): Likewise.
48888         (ILL_PRVOPC): Likewise.
48889         (ILL_PRVREG): Likewise.
48890         (ILL_COPROC): Likewise.
48891         (ILL_BADSTK): Likewise.
48892         (FPE_INTDIV): Likewise.
48893         (FPE_INTOVF): Likewise.
48894         (FPE_FLTDIV): Likewise.
48895         (FPE_FLTOVF): Likewise.
48896         (FPE_FLTUND): Likewise.
48897         (FPE_FLTRES): Likewise.
48898         (FPE_FLTINV): Likewise.
48899         (FPE_FLTSUB): Likewise.
48900         (SEGV_MAPERR): Likewise.
48901         (SEGV_ACCERR): Likewise.
48902         (BUS_ADRALN): Likewise.
48903         (BUS_ADRERR): Likewise.
48904         (BUS_OBJERR): Likewise.
48905         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48906         (TRAP_TRACE): Likewise.
48907         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48908         __USE_XOPEN2K8].
48909         (CLD_KILLED): Likewise.
48910         (CLD_DUMPED): Likewise.
48911         (CLD_TRAPPED): Likewise.
48912         (CLD_STOPPED): Likewise.
48913         (CLD_CONTINUED): Likewise.
48914         (POLL_IN): Likewise.
48915         (POLL_OUT): Likewise.
48916         (POLL_MSG): Likewise.
48917         (POLL_ERR): Likewise.
48918         (POLL_PRI): Likewise.
48919         (POLL_HUP): Likewise.
48920         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48921         Likewise.
48922         (ILL_ILLOPN): Likewise.
48923         (ILL_ILLADR): Likewise.
48924         (ILL_ILLTRP): Likewise.
48925         (ILL_PRVOPC): Likewise.
48926         (ILL_PRVREG): Likewise.
48927         (ILL_COPROC): Likewise.
48928         (ILL_BADSTK): Likewise.
48929         (FPE_INTDIV): Likewise.
48930         (FPE_INTOVF): Likewise.
48931         (FPE_FLTDIV): Likewise.
48932         (FPE_FLTOVF): Likewise.
48933         (FPE_FLTUND): Likewise.
48934         (FPE_FLTRES): Likewise.
48935         (FPE_FLTINV): Likewise.
48936         (FPE_FLTSUB): Likewise.
48937         (SEGV_MAPERR): Likewise.
48938         (SEGV_ACCERR): Likewise.
48939         (BUS_ADRALN): Likewise.
48940         (BUS_ADRERR): Likewise.
48941         (BUS_OBJERR): Likewise.
48942         (BUS_MCEERR_AR): Likewise.
48943         (BUS_MCEERR_AO): Likewise.
48944         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48945         (TRAP_TRACE): Likewise.
48946         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48947         __USE_XOPEN2K8].
48948         (CLD_KILLED): Likewise.
48949         (CLD_DUMPED): Likewise.
48950         (CLD_TRAPPED): Likewise.
48951         (CLD_STOPPED): Likewise.
48952         (CLD_CONTINUED): Likewise.
48953         (POLL_IN): Likewise.
48954         (POLL_OUT): Likewise.
48955         (POLL_MSG): Likewise.
48956         (POLL_ERR): Likewise.
48957         (POLL_PRI): Likewise.
48958         (POLL_HUP): Likewise.
48959         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48960         (ILL_ILLOPN): Likewise.
48961         (ILL_ILLADR): Likewise.
48962         (ILL_ILLTRP): Likewise.
48963         (ILL_PRVOPC): Likewise.
48964         (ILL_PRVREG): Likewise.
48965         (ILL_COPROC): Likewise.
48966         (ILL_BADSTK): Likewise.
48967         (FPE_INTDIV): Likewise.
48968         (FPE_INTOVF): Likewise.
48969         (FPE_FLTDIV): Likewise.
48970         (FPE_FLTOVF): Likewise.
48971         (FPE_FLTUND): Likewise.
48972         (FPE_FLTRES): Likewise.
48973         (FPE_FLTINV): Likewise.
48974         (FPE_FLTSUB): Likewise.
48975         (SEGV_MAPERR): Likewise.
48976         (SEGV_ACCERR): Likewise.
48977         (BUS_ADRALN): Likewise.
48978         (BUS_ADRERR): Likewise.
48979         (BUS_OBJERR): Likewise.
48980         (BUS_MCEERR_AR): Likewise.
48981         (BUS_MCEERR_AO): Likewise.
48982         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48983         (TRAP_TRACE): Likewise.
48984         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48985         __USE_XOPEN2K8].
48986         (CLD_KILLED): Likewise.
48987         (CLD_DUMPED): Likewise.
48988         (CLD_TRAPPED): Likewise.
48989         (CLD_STOPPED): Likewise.
48990         (CLD_CONTINUED): Likewise.
48991         (POLL_IN): Likewise.
48992         (POLL_OUT): Likewise.
48993         (POLL_MSG): Likewise.
48994         (POLL_ERR): Likewise.
48995         (POLL_PRI): Likewise.
48996         (POLL_HUP): Likewise.
48997         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48998         Likewise.
48999         (ILL_ILLOPN): Likewise.
49000         (ILL_ILLADR): Likewise.
49001         (ILL_ILLTRP): Likewise.
49002         (ILL_PRVOPC): Likewise.
49003         (ILL_PRVREG): Likewise.
49004         (ILL_COPROC): Likewise.
49005         (ILL_BADSTK): Likewise.
49006         (ILL_BADIADDR): Likewise.
49007         (ILL_BREAK): Likewise.
49008         (FPE_INTDIV): Likewise.
49009         (FPE_INTOVF): Likewise.
49010         (FPE_FLTDIV): Likewise.
49011         (FPE_FLTOVF): Likewise.
49012         (FPE_FLTUND): Likewise.
49013         (FPE_FLTRES): Likewise.
49014         (FPE_FLTINV): Likewise.
49015         (FPE_FLTSUB): Likewise.
49016         (FPE_DECOVF): Likewise.
49017         (FPE_DECDIV): Likewise.
49018         (FPE_DECERR): Likewise.
49019         (FPE_INVASC): Likewise.
49020         (FPE_INVDEC): Likewise.
49021         (SEGV_MAPERR): Likewise.
49022         (SEGV_ACCERR): Likewise.
49023         (SEGV_PSTKOVF): Likewise.
49024         (BUS_ADRALN): Likewise.
49025         (BUS_ADRERR): Likewise.
49026         (BUS_OBJERR): Likewise.
49027         (BUS_MCEERR_AR): Likewise.
49028         (BUS_MCEERR_AO): Likewise.
49029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49030         (TRAP_TRACE): Likewise.
49031         (TRAP_BRANCH): Likewise.
49032         (TRAP_HWBKPT): Likewise.
49033         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49034         __USE_XOPEN2K8].
49035         (CLD_KILLED): Likewise.
49036         (CLD_DUMPED): Likewise.
49037         (CLD_TRAPPED): Likewise.
49038         (CLD_STOPPED): Likewise.
49039         (CLD_CONTINUED): Likewise.
49040         (POLL_IN): Likewise.
49041         (POLL_OUT): Likewise.
49042         (POLL_MSG): Likewise.
49043         (POLL_ERR): Likewise.
49044         (POLL_PRI): Likewise.
49045         (POLL_HUP): Likewise.
49046         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49047         (ILL_ILLOPN): Likewise.
49048         (ILL_ILLADR): Likewise.
49049         (ILL_ILLTRP): Likewise.
49050         (ILL_PRVOPC): Likewise.
49051         (ILL_PRVREG): Likewise.
49052         (ILL_COPROC): Likewise.
49053         (ILL_BADSTK): Likewise.
49054         (FPE_INTDIV): Likewise.
49055         (FPE_INTOVF): Likewise.
49056         (FPE_FLTDIV): Likewise.
49057         (FPE_FLTOVF): Likewise.
49058         (FPE_FLTUND): Likewise.
49059         (FPE_FLTRES): Likewise.
49060         (FPE_FLTINV): Likewise.
49061         (FPE_FLTSUB): Likewise.
49062         (SEGV_MAPERR): Likewise.
49063         (SEGV_ACCERR): Likewise.
49064         (BUS_ADRALN): Likewise.
49065         (BUS_ADRERR): Likewise.
49066         (BUS_OBJERR): Likewise.
49067         (BUS_MCEERR_AR): Likewise.
49068         (BUS_MCEERR_AO): Likewise.
49069         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49070         (TRAP_TRACE): Likewise.
49071         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49072         __USE_XOPEN2K8].
49073         (CLD_KILLED): Likewise.
49074         (CLD_DUMPED): Likewise.
49075         (CLD_TRAPPED): Likewise.
49076         (CLD_STOPPED): Likewise.
49077         (CLD_CONTINUED): Likewise.
49078         (POLL_IN): Likewise.
49079         (POLL_OUT): Likewise.
49080         (POLL_MSG): Likewise.
49081         (POLL_ERR): Likewise.
49082         (POLL_PRI): Likewise.
49083         (POLL_HUP): Likewise.
49084         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49085         (ILL_ILLOPN): Likewise.
49086         (ILL_ILLADR): Likewise.
49087         (ILL_ILLTRP): Likewise.
49088         (ILL_PRVOPC): Likewise.
49089         (ILL_PRVREG): Likewise.
49090         (ILL_COPROC): Likewise.
49091         (ILL_BADSTK): Likewise.
49092         (FPE_INTDIV): Likewise.
49093         (FPE_INTOVF): Likewise.
49094         (FPE_FLTDIV): Likewise.
49095         (FPE_FLTOVF): Likewise.
49096         (FPE_FLTUND): Likewise.
49097         (FPE_FLTRES): Likewise.
49098         (FPE_FLTINV): Likewise.
49099         (FPE_FLTSUB): Likewise.
49100         (SEGV_MAPERR): Likewise.
49101         (SEGV_ACCERR): Likewise.
49102         (BUS_ADRALN): Likewise.
49103         (BUS_ADRERR): Likewise.
49104         (BUS_OBJERR): Likewise.
49105         (BUS_MCEERR_AR): Likewise.
49106         (BUS_MCEERR_AO): Likewise.
49107         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49108         (TRAP_TRACE): Likewise.
49109         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49110         __USE_XOPEN2K8].
49111         (CLD_KILLED): Likewise.
49112         (CLD_DUMPED): Likewise.
49113         (CLD_TRAPPED): Likewise.
49114         (CLD_STOPPED): Likewise.
49115         (CLD_CONTINUED): Likewise.
49116         (POLL_IN): Likewise.
49117         (POLL_OUT): Likewise.
49118         (POLL_MSG): Likewise.
49119         (POLL_ERR): Likewise.
49120         (POLL_PRI): Likewise.
49121         (POLL_HUP): Likewise.
49122         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49123         (ILL_ILLOPN): Likewise.
49124         (ILL_ILLADR): Likewise.
49125         (ILL_ILLTRP): Likewise.
49126         (ILL_PRVOPC): Likewise.
49127         (ILL_PRVREG): Likewise.
49128         (ILL_COPROC): Likewise.
49129         (ILL_BADSTK): Likewise.
49130         (FPE_INTDIV): Likewise.
49131         (FPE_INTOVF): Likewise.
49132         (FPE_FLTDIV): Likewise.
49133         (FPE_FLTOVF): Likewise.
49134         (FPE_FLTUND): Likewise.
49135         (FPE_FLTRES): Likewise.
49136         (FPE_FLTINV): Likewise.
49137         (FPE_FLTSUB): Likewise.
49138         (SEGV_MAPERR): Likewise.
49139         (SEGV_ACCERR): Likewise.
49140         (BUS_ADRALN): Likewise.
49141         (BUS_ADRERR): Likewise.
49142         (BUS_OBJERR): Likewise.
49143         (BUS_MCEERR_AR): Likewise.
49144         (BUS_MCEERR_AO): Likewise.
49145         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49146         (TRAP_TRACE): Likewise.
49147         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49148         __USE_XOPEN2K8].
49149         (CLD_KILLED): Likewise.
49150         (CLD_DUMPED): Likewise.
49151         (CLD_TRAPPED): Likewise.
49152         (CLD_STOPPED): Likewise.
49153         (CLD_CONTINUED): Likewise.
49154         (POLL_IN): Likewise.
49155         (POLL_OUT): Likewise.
49156         (POLL_MSG): Likewise.
49157         (POLL_ERR): Likewise.
49158         (POLL_PRI): Likewise.
49159         (POLL_HUP): Likewise.
49160         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49161         (ILL_ILLOPN): Likewise.
49162         (ILL_ILLADR): Likewise.
49163         (ILL_ILLTRP): Likewise.
49164         (ILL_PRVOPC): Likewise.
49165         (ILL_PRVREG): Likewise.
49166         (ILL_COPROC): Likewise.
49167         (ILL_BADSTK): Likewise.
49168         (ILL_DBLFLT): Likewise.
49169         (ILL_HARDWALL): Likewise.
49170         (FPE_INTDIV): Likewise.
49171         (FPE_INTOVF): Likewise.
49172         (FPE_FLTDIV): Likewise.
49173         (FPE_FLTOVF): Likewise.
49174         (FPE_FLTUND): Likewise.
49175         (FPE_FLTRES): Likewise.
49176         (FPE_FLTINV): Likewise.
49177         (FPE_FLTSUB): Likewise.
49178         (SEGV_MAPERR): Likewise.
49179         (SEGV_ACCERR): Likewise.
49180         (BUS_ADRALN): Likewise.
49181         (BUS_ADRERR): Likewise.
49182         (BUS_OBJERR): Likewise.
49183         (BUS_MCEERR_AR): Likewise.
49184         (BUS_MCEERR_AO): Likewise.
49185         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49186         (TRAP_TRACE): Likewise.
49187         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49188         __USE_XOPEN2K8].
49189         (CLD_KILLED): Likewise.
49190         (CLD_DUMPED): Likewise.
49191         (CLD_TRAPPED): Likewise.
49192         (CLD_STOPPED): Likewise.
49193         (CLD_CONTINUED): Likewise.
49194         (POLL_IN): Likewise.
49195         (POLL_OUT): Likewise.
49196         (POLL_MSG): Likewise.
49197         (POLL_ERR): Likewise.
49198         (POLL_PRI): Likewise.
49199         (POLL_HUP): Likewise.
49200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49201         (ILL_ILLOPN): Likewise.
49202         (ILL_ILLADR): Likewise.
49203         (ILL_ILLTRP): Likewise.
49204         (ILL_PRVOPC): Likewise.
49205         (ILL_PRVREG): Likewise.
49206         (ILL_COPROC): Likewise.
49207         (ILL_BADSTK): Likewise.
49208         (FPE_INTDIV): Likewise.
49209         (FPE_INTOVF): Likewise.
49210         (FPE_FLTDIV): Likewise.
49211         (FPE_FLTOVF): Likewise.
49212         (FPE_FLTUND): Likewise.
49213         (FPE_FLTRES): Likewise.
49214         (FPE_FLTINV): Likewise.
49215         (FPE_FLTSUB): Likewise.
49216         (SEGV_MAPERR): Likewise.
49217         (SEGV_ACCERR): Likewise.
49218         (BUS_ADRALN): Likewise.
49219         (BUS_ADRERR): Likewise.
49220         (BUS_OBJERR): Likewise.
49221         (BUS_MCEERR_AR): Likewise.
49222         (BUS_MCEERR_AO): Likewise.
49223         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49224         (TRAP_TRACE): Likewise.
49225         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49226         __USE_XOPEN2K8].
49227         (CLD_KILLED): Likewise.
49228         (CLD_DUMPED): Likewise.
49229         (CLD_TRAPPED): Likewise.
49230         (CLD_STOPPED): Likewise.
49231         (CLD_CONTINUED): Likewise.
49232         (POLL_IN): Likewise.
49233         (POLL_OUT): Likewise.
49234         (POLL_MSG): Likewise.
49235         (POLL_ERR): Likewise.
49236         (POLL_PRI): Likewise.
49237         (POLL_HUP): Likewise.
49238         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49239         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49241         [BZ #16670]
49242         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49243         before #include of <time.h>.
49244         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49245         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49246         (test-xfail-UNIX98/sched.h/conform): Likewise.
49248 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49250         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49251         error absence of trapping exception support.
49252         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49254 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49256         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49257         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49258         * timezone/Makefile (testdata): Move definition above include of
49259         Rules.
49260         (test-zones): New variable.
49261         (tests-special): Add zone files.
49262         (build-testdata): Use $(evaluate-test).
49264         * elf/Makefile (tests-special): Rename tests to end with .out.
49265         ($(objpfx)noload-mem): Likewise.
49266         ($(objpfx)tst-leaks1-mem): Likewise.
49267         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49268         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49269         $(objpfx)test-iconvconfig.out.
49270         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49271         set -e inside subshell and redirect output to file.
49272         * iconvdata/Makefile (generated): Rename tests to end with .out.
49273         Correct type.
49274         (tests-special): Rename tests to end with .out.
49275         ($(objpfx)mtrace-tst-loading): Likewise.
49276         * intl/Makefile (generated): Likewise.
49277         (tests-special): Likewise.
49278         ($(objpfx)mtrace-tst-gettext): Likewise.
49279         * misc/Makefile (generated): Likewise.
49280         (tests-special): Likewise.
49281         ($(objpfx)tst-error1-mem): Likewise.
49282         * nptl/Makefile (tests-special): Likewise.
49283         ($(objpfx)tst-stack3-mem): Likewise.
49284         (generated): Likewise.
49285         * posix/Makefile (generated): Likewise.
49286         (tests-special): Likewise.
49287         (xtests-special): Likewise.
49288         ($(objpfx)tst-fnmatch-mem): Likewise.
49289         ($(objpfx)bug-regex2-mem): Likewise.
49290         ($(objpfx)bug-regex14-mem): Likewise.
49291         ($(objpfx)bug-regex21-mem): Likewise.
49292         ($(objpfx)bug-regex31-mem): Likewise.
49293         ($(objpfx)tst-vfork3-mem): Likewise.
49294         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49295         ($(objpfx)tst-pcre-mem): Likewise.
49296         ($(objpfx)tst-boost-mem): Likewise.
49297         ($(objpfx)bug-ga2-mem): Likewise.
49298         ($(objpfx)bug-glob2-mem): Likewise.
49299         * resolv/Makefile (generate): Likewise.
49300         (tests-special): Likewise.
49301         (xtests-special): Likewise.
49302         (generated): Likewise.
49303         ($(objpfx)mtrace-tst-leaks): Likewise.
49304         ($(objpfx)mtrace-tst-leaks2): Likewise.
49306         * scripts/merge-test-results.sh: New file.
49307         * Makefile (tests-special-notdir): New variable.
49308         (tests): Run merge-test-results.sh.
49309         (xtests): Likewise.
49310         * Rules (tests-special-notdir): New variable.
49311         (xtests-special-notdir): Likewise.
49312         (tests): Run merge-test-results.sh
49313         (xtests): Likewise.
49315         * Makeconfig (test-xfail-name): New variable.
49316         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49317         compute variable name for expected failures.
49318         * conform/Makefile (conformtest-headers-data): New variable.
49319         (conformtest-standards): Likewise.
49320         (conformtest-headers-ISO): Likewise.
49321         (conformtest-headers-ISO99): Likewise.
49322         (conformtest-headers-ISO11): Likewise.
49323         (conformtest-headers-POSIX): Likewise.
49324         (conformtest-headers-XPG3): Likewise.
49325         (conformtest-headers-XPG4): Likewise.
49326         (conformtest-headers-UNIX98): Likewise.
49327         (conformtest-headers-XOPEN2K): Likewise.
49328         (conformtest-headers-POSIX2008): Likewise.
49329         (conformtest-headers-XOPEN2K8): Likewise.
49330         (conformtest-header-list-base): Likewise.
49331         (conformtest-header-list-tests): Likewise.
49332         (conformtest-header-base): Likewise.
49333         (conformtest-header-tests): Likewise.
49334         (tests-special): Add $(conformtest-header-list-tests).  If
49335         [$(fast-check) && !$(cross-compiling)], add
49336         $(conformtest-header-tests) instead of
49337         $(objpfx)run-conformtest.out.
49338         (generated): Add $(conformtest-header-list-base).  If
49339         [$(fast-check) && !$(cross-compiling)], add
49340         $(conformtest-header-base).  Remove previous setting.
49341         ($(conformtest-header-list-tests)): New target.
49342         (test-xfail-run-conformtest): Remove variable.
49343         ($(objpfx)run-conformtest.out): Remove target.
49344         (test-xfail-ISO11/complex.h/conform): New variable.
49345         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49346         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49347         (test-xfail-XPG3/varargs.h/conform): Likewise.
49348         (test-xfail-XPG4/varargs.h/conform): Likewise.
49349         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49350         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49351         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49352         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49353         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49354         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49355         (test-xfail-XPG3/ftw.h/conform): Likewise.
49356         (test-xfail-XPG3/grp.h/conform): Likewise.
49357         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49358         (test-xfail-XPG3/limits.h/conform): Likewise.
49359         (test-xfail-XPG3/pwd.h/conform): Likewise.
49360         (test-xfail-XPG3/search.h/conform): Likewise.
49361         (test-xfail-XPG3/signal.h/conform): Likewise.
49362         (test-xfail-XPG3/stdio.h/conform): Likewise.
49363         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49364         (test-xfail-XPG3/string.h/conform): Likewise.
49365         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49366         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49367         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49368         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49369         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49370         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49371         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49372         (test-xfail-XPG3/termios.h/conform): Likewise.
49373         (test-xfail-XPG3/time.h/conform): Likewise.
49374         (test-xfail-XPG3/unistd.h/conform): Likewise.
49375         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49376         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49377         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49378         (test-xfail-XPG4/netdb.h/conform): Likewise.
49379         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49380         (test-xfail-XPG4/signal.h/conform): Likewise.
49381         (test-xfail-XPG4/stdio.h/conform): Likewise.
49382         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49383         (test-xfail-XPG4/stropts.h/conform): Likewise.
49384         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49385         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49386         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49387         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49388         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49389         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49390         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49391         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49392         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49393         (test-xfail-XPG4/termios.h/conform): Likewise.
49394         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49395         (test-xfail-XPG4/unistd.h/conform): Likewise.
49396         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49397         (test-xfail-POSIX/sched.h/conform): Likewise.
49398         (test-xfail-POSIX/signal.h/conform): Likewise.
49399         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49400         (test-xfail-POSIX/tar.h/conform): Likewise.
49401         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49402         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49403         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49404         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49405         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49406         (test-xfail-UNIX98/sched.h/conform): Likewise.
49407         (test-xfail-UNIX98/signal.h/conform): Likewise.
49408         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49409         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49410         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49411         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49412         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49413         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49414         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49415         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49416         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49417         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49418         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49419         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49420         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49421         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49422         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49423         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49424         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49425         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49426         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49427         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49428         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49429         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49430         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49431         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49432         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49433         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49434         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49435         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49436         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49437         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49438         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49439         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49440         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49441         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49442         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49443         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49444         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49445         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49446         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49447         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49448         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49449         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49450         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49451         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49452         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49453         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49454         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49455         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49456         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49457         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49458         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49459         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49460         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49461         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49462         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49463         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49464         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49465         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49466         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49467         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49468         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49469         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49470         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49471         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49472         (conformtest-cc-flags): Likewise.
49473         ($(conformtest-header-tests): New target.
49474         * conform/check-header-lists.sh: New file.
49475         * conform/run-conformtest.sh: Remove.
49477         * conform/conformtest.pl: Allow ' and \ in values given for
49478         constants.
49479         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49480         inclusion.
49481         [POSIX] (sys/types.h): Likewise.
49482         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49483         inclusion.
49484         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49485         inclusion.
49486         * conform/data/signal.h-data (SIGIO): Remove expectation.
49487         [XPG3] (SIGBUS): Do not expect.
49488         [POSIX || XPG3] (SIGPOLL): Likewise.
49489         [POSIX || XPG3] (SIGPROF): Likewise.
49490         [POSIX || XPG3] (SIGSYS): Likewise.
49491         [XPG3] (SIGTRAP): Likewise.
49492         [POSIX || XPG3] (SIGURG): Likewise.
49493         [POSIX || XPG3] (SIGVTALRM): Likewise.
49494         [POSIX || XPG3] (SIGXCPU): Likewise.
49495         [POSIX || XPG3] (SIGXFSZ): Likewise.
49496         [POSIX] (SA_SIGINFO): Expect.
49497         [XPG3] (siginfo_t): Do not expect type or contents.
49498         [POSIX] (si_pid): Do not expect element.
49499         [POSIX] (si_uid): Likewise.
49500         [POSIX] (si_addr): Likewise.
49501         [POSIX] (si_status): Likewise.
49502         [POSIX] (si_band): Likewise.
49503         [XPG4] (si_value): Likewise.
49504         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49505         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49506         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49507         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49508         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49509         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49510         [POSIX || XPG3] (ILL_COPROC): Likewise.
49511         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49512         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49513         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49514         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49515         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49516         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49517         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49518         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49519         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49520         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49521         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49522         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49523         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49524         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49525         [POSIX || XPG3] (CLD_EXITED): Likewise.
49526         [POSIX || XPG3] (CLD_KILLED): Likewise.
49527         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49528         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49529         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49530         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49531         [POSIX || XPG3] (POLL_IN): Likewise.
49532         [POSIX || XPG3] (POLL_OUT): Likewise.
49533         [POSIX || XPG3] (POLL_MSG): Likewise.
49534         [POSIX || XPG3] (POLL_ERR): Likewise.
49535         [POSIX || XPG3] (POLL_PRI): Likewise.
49536         [POSIX || XPG3] (POLL_HUP): Likewise.
49537         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49538         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49539         (SIG*): Do not allow.
49540         [XPG3] (si_*): Likewise.
49541         [XPG3] (SI_*): Likewise.
49542         [XPG3 || XPG4] (sigev_*): Likewise.
49543         [XPG3 || XPG4] (SIGEV_*): Likewise.
49544         [XPG3 || XPG4] (sival_*): Likewise.
49545         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49546         [POSIX || XPG3] (BUS_*): Likewise.
49547         [POSIX || XPG3] (CLD_*): Likewise.
49548         [POSIX || XPG3] (FPE_*): Likewise.
49549         [POSIX || XPG3] (ILL_*): Likewise.
49550         [POSIX || XPG3] (POLL_*): Likewise.
49551         [POSIX || XPG3] (SEGV_*): Likewise.
49552         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49553         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49554         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49555         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49556         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49557         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49558         Specify type and value.
49559         (TVERSLEN): Likewise.
49560         (REGTYPE): Likewise.
49561         (AREGTYPE): Likewise.
49562         (LNKTYPE): Likewise.
49563         (SYMTYPE): Likewise.
49564         (CHRTYPE): Likewise.
49565         (BLKTYPE): Likewise.
49566         (DIRTYPE): Likewise.
49567         (FIFOTYPE): Likewise.
49568         (CONTTYPE): Likewise.
49569         (TSUID): Likewise.
49570         (TSGID): Likewise.
49571         (TSVTX): Likewise.
49572         (TUREAD): Likewise.
49573         (TUWRITE): Likewise.
49574         (TUEXEC): Likewise.
49575         (TGREAD): Likewise.
49576         (TGWRITE): Likewise.
49577         (TGEXEC): Likewise.
49578         (TOREAD): Likewise.
49579         (TOWRITE): Likewise.
49580         (TOEXEC): Likewise.
49581         [POSIX] (TSVTX): Expect constant.
49583 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49585         * Makefile (tests): Change dependencies to ....
49586         (tests-special): ... additions to this variable.
49587         (tests): Depend on $(tests-special).
49588         * Makerules (check-abi-list): New variable.
49589         (check-abi): Depend on $(check-abi-list).
49590         [$(subdir) = elf] (tests-special): Add
49591         $(objpfx)check-abi-libc.out.
49592         [$(build-shared) = yes && subdir] (tests-special): Add
49593         $(check-abi-list).
49594         [$(build-shared) = yes && subdir] (tests): Do not depend on
49595         check-abi.
49596         * Rules (tests): Depend on $(tests-special).
49597         (xtests): Depend on $(xtests-special).
49598         * catgets/Makefile (tests): Change dependencies to ....
49599         (tests-special): ... additions to this variable.
49600         * conform/Makefile (tests): Change dependencies to ....
49601         (tests-special): ... additions to this variable.
49602         * elf/Makefile (tests): Change dependencies to ....
49603         (tests-special): ... additions to this variable.
49604         * grp/Makefile (tests): Change dependencies to ....
49605         (tests-special): ... additions to this variable.
49606         * iconv/Makefile (xtests): Change dependencies to ....
49607         (xtests-special): ... additions to this variable.
49608         * iconvdata/Makefile (tests): Change dependencies to ....
49609         (tests-special): ... additions to this variable.
49610         * intl/Makefile (tests): Change dependencies to ....
49611         (tests-special): ... additions to this variable.  Also add
49612         $(objpfx)tst-gettext.out.
49613         * io/Makefile (tests): Change dependencies to ....
49614         (tests-special): ... additions to this variable.
49615         * libio/Makefile (tests): Change dependencies to ....
49616         (tests-special): ... additions to this variable.
49617         * malloc/Makefile (tests): Change dependencies to ....
49618         (tests-special): ... additions to this variable.
49619         * misc/Makefile (tests): Change dependencies to ....
49620         (tests-special): ... additions to this variable.
49621         * nptl/Makefile (tests): Change dependencies to ....
49622         (tests-special): ... additions to this variable.
49623         * nptl_db/Makefile (tests): Change dependencies to ....
49624         (tests-special): ... additions to this variable.
49625         * posix/Makefile (tests): Change dependencies to ....
49626         (tests-special): ... additions to this variable.
49627         (xtests): Change dependencies to ....
49628         (xtests-special): ... additions to this variable.
49629         * resolv/Makefile (tests): Change dependencies to ....
49630         (tests-special): ... additions to this variable.
49631         (xtests): Change dependencies to ....
49632         (xtests-special): ... additions to this variable.
49633         * stdio-common/Makefile (tests): Change dependencies to ....
49634         (tests-special): ... additions to this variable.
49635         (do-tst-unbputc): Remove target.
49636         (do-tst-printf): Likewise.
49637         * stdlib/Makefile (tests): Change dependencies to ....
49638         (tests-special): ... additions to this variable.
49639         * string/Makefile (tests): Change dependencies to ....
49640         (tests-special): ... additions to this variable.
49641         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49642         (tests-special): ... additions to this variable.
49644         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49645         whole file.
49646         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49647         whole file.
49648         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49649         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49651         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49652         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49653         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49654         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49655         * conform/data/libgen.h-data [XPG3]: Likewise.
49656         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49657         * conform/data/ndbm.h-data [XPG3]: Likewise.
49658         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49659         * conform/data/netdb.h-data [XPG3]: Likewise.
49660         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49661         * conform/data/poll.h-data [XPG3]: Likewise.
49662         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49663         * conform/data/strings.h-data [XPG3]: Likewise.
49664         * conform/data/stropts.h-data [XPG3]: Likewise.
49665         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49666         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49667         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49668         Likewise.
49669         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49670         * conform/data/sys/time.h-data [XPG3]: Likewise.
49671         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49672         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49673         * conform/data/sys/un.h-data [XPG3]: Likewise.
49674         * conform/data/syslog.h-data [XPG3]: Likewise.
49675         * conform/data/ucontext.h-data [XPG3]: Likewise.
49676         * conform/data/utmpx.h-data [XPG3]: Likewise.
49677         * conform/data/varargs.h-data [UNIX98]: Enable file.
49679         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49681         * math/libm-test.inc (struct test_f_f_data): Move expected results
49682         into structure for each rounding mode.
49683         (struct test_ff_f_data): Likewise.
49684         (struct test_ff_f_data_nexttoward): Likewise.
49685         (struct test_fi_f_data): Likewise.
49686         (struct test_fl_f_data): Likewise.
49687         (struct test_if_f_data): Likewise.
49688         (struct test_fff_f_data): Likewise.
49689         (struct test_c_f_data): Likewise.
49690         (struct test_f_f1_data): Likewise.
49691         (struct test_fF_f1_data): Likewise.
49692         (struct test_ffI_f1_data): Likewise.
49693         (struct test_c_c_data): Likewise.
49694         (struct test_cc_c_data): Likewise.
49695         (struct test_f_i_data): Likewise.
49696         (struct test_ff_i_data): Likewise.
49697         (struct test_f_l_data): Likewise.
49698         (struct test_f_L_data): Likewise.
49699         (struct test_fFF_11_data): Likewise.
49700         (RM_): New macro.
49701         (RM_FE_DOWNWARD): Likewise.
49702         (RM_FE_TONEAREST): Likewise.
49703         (RM_FE_TOWARDZERO): Likewise.
49704         (RM_FE_UPWARD): Likewise.
49705         (RUN_TEST_LOOP_f_f): Update references to expected results.
49706         (RUN_TEST_LOOP_2_f): Likewise.
49707         (RUN_TEST_LOOP_fff_f): Likewise.
49708         (RUN_TEST_LOOP_c_f): Likewise.
49709         (RUN_TEST_LOOP_f_f1): Likewise.
49710         (RUN_TEST_LOOP_fF_f1): Likewise.
49711         (RUN_TEST_LOOP_fI_f1): Likewise.
49712         (RUN_TEST_LOOP_ffI_f1): Likewise.
49713         (RUN_TEST_LOOP_c_c): Likewise.
49714         (RUN_TEST_LOOP_cc_c): Likewise.
49715         (RUN_TEST_LOOP_f_i): Likewise.
49716         (RUN_TEST_LOOP_f_i_tg): Likewise.
49717         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49718         (RUN_TEST_LOOP_f_b): Likewise.
49719         (RUN_TEST_LOOP_f_b_tg): Likewise.
49720         (RUN_TEST_LOOP_f_l): Likewise.
49721         (RUN_TEST_LOOP_f_L): Likewise.
49722         (RUN_TEST_LOOP_fFF_11): Likewise.
49723         * math/gen-libm-test.pl (parse_args): Output four copies of
49724         expected results for each test.
49726         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49727         (__ASSUME_UTIMES): Remove.
49728         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49729         (__ASSUME_UTIMES): Likewise.
49731         * math/gen-auto-libm-tests.c: Update comment on output format.
49732         (output_for_one_input_case): Generate before-rounding and
49733         after-rounding information as conditions on output flags not
49734         floating-point format.
49735         * math/auto-libm-test-out: Regenerated.
49736         * math/gen-libm-test.pl (cond_value): New function.
49737         (or_cond_value): Use cond_value.
49738         (generate_testfile): Handle conditional exceptions.
49740 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49742         * math/libm-test.inc (max_valid_error): New variable.
49743         (init_max_error): Take new argument specifying whether function
49744         results are exactly determined.  Set max_valid_error and bound
49745         other variables for errors based on this argument.
49746         (set_max_error): Do not record results above max_valid_error.
49747         (check_float_internal): Only accept errors of up to 0.5ulps if
49748         also at most max_valid_error.
49749         (START): Take new argument EXACT and pass it to init_max_error.
49750         (acos_test): Update call to START.
49751         (acos_test_tonearest): Likewise.
49752         (acos_test_towardzero): Likewise.
49753         (acos_test_downward): Likewise.
49754         (acos_test_upward): Likewise.
49755         (acosh_test): Likewise.
49756         (asin_test): Likewise.
49757         (asin_test_tonearest): Likewise.
49758         (asin_test_towardzero): Likewise.
49759         (asin_test_downward): Likewise.
49760         (asin_test_upward): Likewise.
49761         (asinh_test): Likewise.
49762         (atan_test): Likewise.
49763         (atanh_test): Likewise.
49764         (atan2_test): Likewise.
49765         (cabs_test): Likewise.
49766         (cacos_test): Likewise.
49767         (cacosh_test): Likewise.
49768         (carg_test): Likewise.
49769         (casin_test): Likewise.
49770         (casinh_test): Likewise.
49771         (catan_test): Likewise.
49772         (catanh_test): Likewise.
49773         (cbrt_test): Likewise.
49774         (ccos_test): Likewise.
49775         (ccosh_test): Likewise.
49776         (ceil_test): Likewise.
49777         (cexp_test): Likewise.
49778         (cimag_test): Likewise.
49779         (clog_test): Likewise.
49780         (clog10_test): Likewise.
49781         (conj_test): Likewise.
49782         (copysign_test): Likewise.
49783         (cos_test): Likewise.
49784         (cos_test_tonearest): Likewise.
49785         (cos_test_towardzero): Likewise.
49786         (cos_test_downward): Likewise.
49787         (cos_test_upward): Likewise.
49788         (cosh_test): Likewise.
49789         (cosh_test_tonearest): Likewise.
49790         (cosh_test_towardzero): Likewise.
49791         (cosh_test_downward): Likewise.
49792         (cosh_test_upward): Likewise.
49793         (cpow_test): Likewise.
49794         (cproj_test): Likewise.
49795         (creal_test): Likewise.
49796         (csin_test): Likewise.
49797         (csinh_test): Likewise.
49798         (csqrt_test): Likewise.
49799         (ctan_test): Likewise.
49800         (ctan_test_tonearest): Likewise.
49801         (ctan_test_towardzero): Likewise.
49802         (ctan_test_downward): Likewise.
49803         (ctan_test_upward): Likewise.
49804         (ctanh_test): Likewise.
49805         (ctanh_test_tonearest): Likewise.
49806         (ctanh_test_towardzero): Likewise.
49807         (ctanh_test_downward): Likewise.
49808         (ctanh_test_upward): Likewise.
49809         (erf_test): Likewise.
49810         (erfc_test): Likewise.
49811         (exp_test): Likewise.
49812         (exp_test_tonearest): Likewise.
49813         (exp_test_towardzero): Likewise.
49814         (exp_test_downward): Likewise.
49815         (exp_test_upward): Likewise.
49816         (exp10_test): Likewise.
49817         (exp10_test_tonearest): Likewise.
49818         (exp10_test_towardzero): Likewise.
49819         (exp10_test_downward): Likewise.
49820         (exp10_test_upward): Likewise.
49821         (pow10_test): Likewise.
49822         (exp2_test): Likewise.
49823         (expm1_test): Likewise.
49824         (expm1_test_tonearest): Likewise.
49825         (expm1_test_towardzero): Likewise.
49826         (expm1_test_downward): Likewise.
49827         (expm1_test_upward): Likewise.
49828         (fabs_test): Likewise.
49829         (fdim_test): Likewise.
49830         (floor_test): Likewise.
49831         (fma_test): Likewise.
49832         (fma_test_towardzero): Likewise.
49833         (fma_test_downward): Likewise.
49834         (fma_test_upward): Likewise.
49835         (fmax_test): Likewise.
49836         (fmin_test): Likewise.
49837         (fmod_test): Likewise.
49838         (fpclassify_test): Likewise.
49839         (frexp_test): Likewise.
49840         (hypot_test): Likewise.
49841         (ilogb_test): Likewise.
49842         (isfinite_test): Likewise.
49843         (finite_test): Likewise.
49844         (isgreater_test): Likewise.
49845         (isgreaterequal_test): Likewise.
49846         (isinf_test): Likewise.
49847         (isless_test): Likewise.
49848         (islessequal_test): Likewise.
49849         (islessgreater_test): Likewise.
49850         (isnan_test): Likewise.
49851         (isnormal_test): Likewise.
49852         (issignaling_test): Likewise.
49853         (isunordered_test): Likewise.
49854         (j0_test): Likewise.
49855         (j1_test): Likewise.
49856         (jn_test): Likewise.
49857         (ldexp_test): Likewise.
49858         (lgamma_test): Likewise.
49859         (gamma_test): Likewise.
49860         (lrint_test): Likewise.
49861         (lrint_test_tonearest): Likewise.
49862         (lrint_test_towardzero): Likewise.
49863         (lrint_test_downward): Likewise.
49864         (lrint_test_upward): Likewise.
49865         (llrint_test): Likewise.
49866         (llrint_test_tonearest): Likewise.
49867         (llrint_test_towardzero): Likewise.
49868         (llrint_test_downward): Likewise.
49869         (llrint_test_upward): Likewise.
49870         (log_test): Likewise.
49871         (log10_test): Likewise.
49872         (log1p_test): Likewise.
49873         (log2_test): Likewise.
49874         (logb_test): Likewise.
49875         (logb_test_downward): Likewise.
49876         (lround_test): Likewise.
49877         (llround_test): Likewise.
49878         (modf_test): Likewise.
49879         (nearbyint_test): Likewise.
49880         (nextafter_test): Likewise.
49881         (nexttoward_test): Likewise.
49882         (pow_test): Likewise.
49883         (pow_test_tonearest): Likewise.
49884         (pow_test_towardzero): Likewise.
49885         (pow_test_downward): Likewise.
49886         (pow_test_upward): Likewise.
49887         (remainder_test): Likewise.
49888         (drem_test): Likewise.
49889         (remainder_test_tonearest): Likewise.
49890         (drem_test_tonearest): Likewise.
49891         (remainder_test_towardzero): Likewise.
49892         (drem_test_towardzero): Likewise.
49893         (remainder_test_downward): Likewise.
49894         (drem_test_downward): Likewise.
49895         (remainder_test_upward): Likewise.
49896         (drem_test_upward): Likewise.
49897         (remquo_test): Likewise.
49898         (rint_test): Likewise.
49899         (rint_test_tonearest): Likewise.
49900         (rint_test_towardzero): Likewise.
49901         (rint_test_downward): Likewise.
49902         (rint_test_upward): Likewise.
49903         (round_test): Likewise.
49904         (scalb_test): Likewise.
49905         (scalbn_test): Likewise.
49906         (scalbln_test): Likewise.
49907         (signbit_test): Likewise.
49908         (sin_test): Likewise.
49909         (sin_test_tonearest): Likewise.
49910         (sin_test_towardzero): Likewise.
49911         (sin_test_downward): Likewise.
49912         (sin_test_upward): Likewise.
49913         (sincos_test): Likewise.
49914         (sinh_test): Likewise.
49915         (sinh_test_tonearest): Likewise.
49916         (sinh_test_towardzero): Likewise.
49917         (sinh_test_downward): Likewise.
49918         (sinh_test_upward): Likewise.
49919         (sqrt_test): Likewise.
49920         (sqrt_test_tonearest): Likewise.
49921         (sqrt_test_towardzero): Likewise.
49922         (sqrt_test_downward): Likewise.
49923         (sqrt_test_upward): Likewise.
49924         (tan_test): Likewise.
49925         (tan_test_tonearest): Likewise.
49926         (tan_test_towardzero): Likewise.
49927         (tan_test_downward): Likewise.
49928         (tan_test_upward): Likewise.
49929         (tanh_test): Likewise.
49930         (tgamma_test): Likewise.
49931         (trunc_test): Likewise.
49932         (y0_test): Likewise.
49933         (y1_test): Likewise.
49934         (yn_test): Likewise.
49935         (significand_test): Likewise.
49937         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49938         individual tests in comment.
49939         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49940         (prev_max_error): New variable.
49941         (prev_real_max_error): Likewise.
49942         (prev_imag_max_error): Likewise.
49943         (compare_ulp_data): Don't refer to test names in comment.
49944         (find_test_ulps): Remove function.
49945         (find_function_ulps): Likewise.
49946         (find_complex_function_ulps): Likewise.
49947         (init_max_error): Take function name as argument.  Look up ulps
49948         for that function.
49949         (print_ulps): Remove function.
49950         (print_max_error): Use prev_max_error instead of calling
49951         find_function_ulps.
49952         (print_complex_max_error): Use prev_real_max_error and
49953         prev_imag_max_error instead of calling find_complex_function_ulps.
49954         (check_float_internal): Take max_ulp parameter instead of calling
49955         find_test_ulps.  Don't call print_ulps.
49956         (check_float): Update call to check_float_internal.
49957         (check_complex): Update calls to check_float_internal.
49958         (START): Pass argument to init_max_error.
49959         * math/gen-libm-test.pl (%results): Don't include "kind"
49960         information.
49961         (parse_ulps): Don't handle ulps of individual tests.
49962         (print_ulps_file): Likewise.
49963         (output_ulps): Likewise.
49964         * math/README.libm-test: Update.
49965         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49966         individual tests.
49967         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49968         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49969         * sysdeps/arm/libm-test-ulps: Likewise.
49970         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49971         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49972         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49973         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49974         * sysdeps/microblaze/libm-test-ulps: Likewise.
49975         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49976         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49977         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49978         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49979         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49980         * sysdeps/sh/libm-test-ulps: Likewise.
49981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49982         * sysdeps/tile/libm-test-ulps: Likewise.
49983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49985 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49987         * math/libm-test.inc (print_complex_max_error): Check separately
49988         whether real and imaginary errors are within allowed range and
49989         pass 0 to print_complex_function_ulps instead of value within
49990         allowed range.
49992 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49994         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49995         formatting.
49996         (get_handles_fopen): Likewise.
49997         (do_write_test): Likewise.
49999         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50001         * libio/fileops.c (do_ftell): Use cached offset when
50002         available.
50003         * libio/iofwide.c (do_ftell_wide): Likewise.
50004         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50005         _IO_file_attach.
50006         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50008         [BZ #16532]
50009         * libio/libioP.h (get_file_offset): New function.
50010         * libio/fileops.c (get_file_offset): Likewise.
50011         (do_ftell): Likewise.
50012         (_IO_new_file_seekoff): Split out ftell logic.
50013         * libio/wfileops.c (do_ftell_wide): Likewise.
50014         (_IO_wfile_seekoff): Split out ftell logic.
50015         * libio/tst-ftell-active-handler.c: New test case.
50016         * libio/Makefile (tests): Add it.
50018 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50020         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50021         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50023 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50025         [BZ #16639]
50026         * nscd/connections.c (nscd_init): Call do_exit.
50027         (start_threads): Call do_exit and notify_parent.
50028         (begin_drop_privileges): Call do_exit.
50029         (finish_drop_privileges): Likewise.
50030         * nscd/selinux.c (preserve_capabilities): Likewise.
50031         (install_real_capabilities): Likewise.
50032         (nscd_selinux_enabled): Likewise.
50033         (avc_create_thread): Likewise.
50034         (avc_alloc_lock): Likewise.
50035         (nscd_avc_init): Likewise.
50036         * nscd/nscd.c (parent_fd): New static variable.
50037         (main): Create a pipe between parent and child processes.
50038         Skip closing parent_fd.
50039         (monitor_child): New function.
50040         (do_exit): Likewise.
50041         (notify_parent): Likewise.
50042         * nscd/nscd.h (notify_parent): Likewise.
50043         (do_exit): Likewise.
50045 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50047         * malloc/malloc.c (__libc_calloc): Revert last change.
50049 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50053 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50055         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50057         implementation.
50058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50059         (__libc_ifunc_impl_list): Likewise.
50060         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50061         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50062         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50063         * string/strrchr.c: Define STRRCHR.
50065 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50067         * benchtest/bench-strtok.c (simple_strtok): Delete.
50068         (strtok_string): Use as benchmark.
50069         * string/strtok (STRTOK): New macro.
50071 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50073         * manual/threads.texi: Add header and standard comments to all
50074         functions.
50076         * elf/dl-lookup.c (check_match): New function.
50077         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50078         (do_lookup_x): Remove nested function check_match. Use non-nested
50079         function check_match.
50081 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50083         * csu/Makefile (generated, before-compile): Use += rather than =.
50084         * catgets/Makefile (generated, generated-dirs): Likewise.
50085         * debug/Makefile (generated): Likewise.
50086         * dlfcn/Makefile (generated): Likewise.
50087         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50088         * iconvdata/Makefile (before-compile, generated): Likewise.
50089         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50090         * libio/Makefile (generated): Likewise.
50091         * malloc/Makefile (generated): Likewise.
50092         * manual/Makefile (generated, generated-dirs): Likewise.
50093         * misc/Makefile (generated): Likewise.
50094         * posix/Makefile (generated): Likewise.
50095         * resolv/Makefile (generated): Likewise.
50096         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50097         * timezone/Makefile (generated, generated-dirs): Likewise.
50099         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50101 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50104         power8 implementation.
50105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50106         file: POWER8 llround ifunc implementation.
50107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50108         (__lllround): Add POWER8 implementation.
50109         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50110         POWER8 llround implementation.
50112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50113         power8 implementation.
50114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50115         file: POWER8 llrint ifunc implementation.
50116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50117         Add POWER8 implementation.
50118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50119         POWER8 llrint implementation.
50121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50122         power8 implementation.
50123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50124         file: POWER8 finite ifunc implementation.
50125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50126         Add POWER8 implementation.
50127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50128         Likewise.
50129         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50130         POWER8 finite implementation.
50131         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50133         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50134         power8 implementation.
50135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50136         file: POWER8 isinf ifunc implementation.
50137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50138         POWER8 implementation.
50139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50140         Likewise.
50141         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50142         isinf implementation.
50143         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50145         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50146         (INIT_ARCH): Add hwcap2 initialization.
50147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50148         power8 implementation.
50149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50150         file: POWER8 isnan ifunc implementation.
50151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50152         POWER8 implementation.
50153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50154         Likewise.
50155         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50156         isnan implementation.
50157         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50159 2014-02-27  Joey Ye  <joey.ye@arm.com>
50161         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50162         (_FP_NANFRAC_Q): Set to zero.
50164 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50166         [BZ #16623]
50167         * math/auto-libm-test-in: New test inputs.
50168         * math/auto-libm-test-out: Regenerate.
50169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50170         and DA.
50171         (__cos): Likewise.
50172         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50174 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50176         * scripts/evaluate-test.sh: Take new argument indicating whether
50177         failure is expected.
50178         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50179         indicating whether failure is expected.
50180         * conform/Makefile (test-xfail-run-conformtest): New variable.
50181         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50182         level.
50183         * posix/Makefile (test-xfail-annexc): New variable.
50184         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50186 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50188         * argp/Makefile: Include Makeconfig immediately after defining
50189         subdir.
50190         * assert/Makefile: Likewise.
50191         * benchtests/Makefile: Likewise.
50192         * catgets/Makefile: Likewise.
50193         * conform/Makefile: Likewise.
50194         * crypt/Makefile: Likewise.
50195         * csu/Makefile: Likewise.
50196         (all): Remove target.
50197         * ctype/Makefile: Include Makeconfig immediately after defining
50198         subdir.
50199         * debug/Makefile: Likewise.
50200         * dirent/Makefile: Likewise.
50201         * dlfcn/Makefile: Likewise.
50202         * gmon/Makefile: Likewise.
50203         * gnulib/Makefile: Likewise.
50204         * grp/Makefile: Likewise.
50205         * gshadow/Makefile: Likewise.
50206         * hesiod/Makefile: Likewise.
50207         * hurd/Makefile: Likewise.
50208         (all): Remove target.
50209         * iconvdata/Makefile: Include Makeconfig immediately after
50210         defining subdir.
50211         * inet/Makefile: Likewise.
50212         * intl/Makefile: Likewise.
50213         * io/Makefile: Likewise.
50214         * libio/Makefile: Likewise.
50215         (all): Remove target.
50216         * locale/Makefile: Include Makeconfig immediately after defining
50217         subdir.
50218         * login/Makefile: Likewise.
50219         * mach/Makefile: Likewise.
50220         (all): Remove target.
50221         * malloc/Makefile: Include Makeconfig immediately after defining
50222         subdir.
50223         (all): Remove target.
50224         * manual/Makefile: Include Makeconfig immediately after defining
50225         subdir.
50226         * math/Makefile: Likewise.
50227         * misc/Makefile: Likewise.
50228         * nis/Makefile: Likewise.
50229         * nss/Makefile: Likewise.
50230         * po/Makefile: Likewise.
50231         (all): Remove target.
50232         * posix/Makefile: Include Makeconfig immediately after defining
50233         subdir.
50234         * pwd/Makefile: Likewise.
50235         * resolv/Makefile: Likewise.
50236         * resource/Makefile: Likewise.
50237         * rt/Makefile: Likewise.
50238         * setjmp/Makefile: Likewise.
50239         * shadow/Makefile: Likewise.
50240         * signal/Makefile: Likewise.
50241         * socket/Makefile: Likewise.
50242         * soft-fp/Makefile: Likewise.
50243         * stdio-common/Makefile: Likewise.
50244         * stdlib/Makefile: Likewise.
50245         * streams/Makefile: Likewise.
50246         * string/Makefile: Likewise.
50247         * sunrpc/Makefile: Likewise.
50248         (all): Remove target.
50249         * sysvipc/Makefile: Include Makeconfig immediately after defining
50250         subdir.
50251         * termios/Makefile: Likewise.
50252         * time/Makefile: Likewise.
50253         * timezone/Makefile: Likewise.
50254         (all): Remove target.
50255         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50256         subdir.
50257         * wctype/Makefile: Likewise.
50259 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50261         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50262         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50263         (libc_feholdexcept_setround_mips): Ditto.
50264         (libc_feholdsetround): New.
50265         (libc_feholdsetroundf): New.
50266         (libc_feholdsetroundl): New.
50267         (libc_feupdateenv_test_mips): New.
50268         (libc_feupdateenv_test): New.
50269         (libc_feupdateenv_testf): New.
50270         (libc_feupdateenv_testl): New.
50271         (libc_feresetround): New.
50272         (libc_feresetroundf): New.
50273         (libc_feresetroundl): New.
50274         (libc_fetestexcept_mips): New.
50275         (libc_fetestexcept): New.
50276         (libc_fetestexceptf): New.
50277         (libc_fetestexceptl): New.
50278         (HAVE_RM_CTX): New.
50279         (libc_feholdexcept_setround_mips_ctx): New.
50280         (libc_feholdexcept_setround_ctx): New.
50281         (libc_feholdexcept_setroundf_ctx): New.
50282         (libc_feholdexcept_setroundl_ctx): New.
50283         (libc_fesetenv_mips_ctx): New.
50284         (libc_fesetenv_ctx): New.
50285         (libc_fesetenv_ctxf): New.
50286         (libc_fesetenv_ctxl): New.
50287         (libc_feupdateenv_mips_ctx): New.
50288         (libc_feupdateenv_ctx): New.
50289         (libc_feupdateenvf_ctx): New.
50290         (libc_feupdateenvl_ctx): New.
50291         (libc_feholdsetround_mips_ctx): New.
50292         (libc_feholdsetround_ctx): New.
50293         (libc_feholdsetroundf_ctx): New.
50294         (libc_feholdsetroundl_ctx): New.
50295         (libc_feresetround_mips_ctx): New.
50296         (libc_feresetround_ctx): New.
50297         (libc_feresetroundf_ctx): New.
50298         (libc_feresetroundl_ctx): New.
50300 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50302         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50304         * manual/ipc.texi: New file.
50305         * manual/Makefile (chapters): Add ipc.
50306         * manual/job.texi: Add "Inter-Process Communication" to next.
50307         * manual/process.texi: Add "Inter-Process Communication" to prev.
50309 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50313 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50315         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50317         * manual/arith.texi: Fix spaces after sentences.
50318         * manual/charset.texi: Likewise.
50319         * manual/errno.texi: Likewise.
50320         * manual/install.texi: Likewise.
50321         * manual/llio.texi: Likewise.
50322         * manual/locale.texi: Likewise.
50323         * manual/maint.texi: Likewise.
50324         * manual/math.texi: Likewise.
50325         * manual/memory.texi: Likewise.
50326         * manual/message.texi: Likewise.
50327         * manual/probes.texi: Likewise.
50328         * manual/resource.texi: Likewise.
50329         * manual/signal.texi: Likewise.
50330         * manual/socket.texi: Likewise.
50331         * manual/stdio.texi: Likewise.
50332         * manual/string.texi: Likewise.
50333         * manual/time.texi: Likewise.
50334         * manual/users.texi: Likewise.
50336 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50338         [BZ #16632]
50339         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50340         _DEFAULT_SOURCE is defined.
50342 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50343             Carlos O'Donell  <carlos@redhat.com>
50345         [BZ #16613]
50346         * elf/dl-tls.c (_dl_count_modids): New function.
50347         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50348         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50349         audit library and increment generation counter.
50350         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50351         * elf/tst-audit9.c: New file.
50352         * elf/tst-auditmod9a.c: New file.
50353         * elf/tst-auditmod9b.c: New file.
50354         * elf/Makefile: Add rules to build and run tst-audit9.
50356 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50358         [BZ #15347]
50359         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50361 2014-02-25  Will Newton  <will.newton@linaro.org>
50363         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50364         (__longjmp): Restore sp and lr before restoring callee
50365         saved registers.  Add longjmp and longjmp_target
50366         SystemTap probe point.
50367         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50368         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50369         Define to zero to match jmpbuf layout.
50370         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50371         (__sigsetjmp): Save sp and lr before saving callee
50372         saved registers.  Add setjmp SystemTap probe point.
50374 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50376         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50378 2014-02-24  Andreas Schwab  <schwab@suse.de>
50380         [BZ #15804]
50381         * elf/pldd.c (wait_for_ptrace_stop): New function.
50382         (main): Call it after attaching.
50384 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50386         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50387         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50388         Versions files is now verboten.
50389         * hurd/Versions (libc: GLIBC_2.0):
50390         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50391         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50392         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50393         * mach/Versions: Likewise.
50395         * csu/Versions: Remove unused %include.
50396         * resolv/Versions: Likewise.
50398 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50400         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50401         ($(objpfx)check-local-headers.out): Likewise.
50402         ($(objpfx)begin-end-check.out): Likewise.
50403         * Makerules (check-abi-%.out): Likewise.
50404         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50405         ($(objpfx)test2.cat): Likewise.
50406         ($(objpfx)de/libc.cat): Likewise.
50407         ($(objpfx)test-gencat.out): Likewise.
50408         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50409         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50410         ($(objpfx)noload-mem): Likewise.
50411         ($(objpfx)tst-pathopt.out): Likewise.
50412         ($(objpfx)tst-rtld-load-self.out): Likewise.
50413         ($(objpfx)tst-array1-cmp.out): Likewise.
50414         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50415         ($(objpfx)tst-array2-cmp.out): Likewise.
50416         ($(objpfx)tst-array3-cmp.out): Likewise.
50417         ($(objpfx)tst-array4-cmp.out): Likewise.
50418         ($(objpfx)tst-array5-cmp.out): Likewise.
50419         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50420         ($(objpfx)check-textrel.out): Likewise.
50421         ($(objpfx)check-execstack.out): Likewise.
50422         ($(objpfx)check-localplt.out): Likewise.
50423         ($(objpfx)order2-cmp.out): Likewise.
50424         ($(objpfx)tst-leaks1-mem): Likewise.
50425         ($(objpfx)tst-leaks1-static-mem): Likewise.
50426         ($(objpfx)tst-initorder-cmp.out): Likewise.
50427         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50428         ($(objpfx)tst-unused-dep.out): Likewise.
50429         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50430         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50431         * iconv/Makefile (test-iconvconfig): Likewise.
50432         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50433         ($(objpfx)iconv-test.out): Likewise.
50434         ($(objpfx)tst-tables.out): Likewise.
50435         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50436         ($(objpfx)tst-gettext.out): Likewise.
50437         ($(objpfx)tst-translit.out): Likewise.
50438         ($(objpfx)tst-gettext2.out): Likewise.
50439         ($(objpfx)tst-gettext4.out): Likewise.
50440         ($(objpfx)tst-gettext6.out): Likewise.
50441         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50442         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50443         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50444         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50445         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50446         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50447         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50448         ($(objpfx)wordexp-tst.out): Likewise.
50449         ($(objpfx)annexc.out): Likewise.
50450         ($(objpfx)tst-fnmatch-mem): Likewise.
50451         ($(objpfx)bug-regex2-mem): Likewise.
50452         ($(objpfx)bug-regex14-mem): Likewise.
50453         ($(objpfx)bug-regex21-mem): Likewise.
50454         ($(objpfx)bug-regex31-mem): Likewise.
50455         ($(objpfx)tst-vfork3-mem): Likewise.
50456         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50457         ($(objpfx)tst-pcre-mem): Likewise.
50458         ($(objpfx)tst-boost-mem): Likewise.
50459         ($(objpfx)tst-getconf.out): Likewise.
50460         ($(objpfx)bug-ga2-mem): Likewise.
50461         ($(objpfx)bug-glob2-mem): Likewise.
50462         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50463         ($(objpfx)mtrace-tst-leaks2): Likewise.
50464         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50465         ($(objpfx)tst-printf.out): Likewise.
50466         ($(objpfx)tst-setvbuf1.out): Likewise.
50467         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50468         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50469         ($(objpfx)tst-fmtmsg.out): Likewise.
50470         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50471         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50473         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50474         * bits/sigaction.h [__USE_MISC]: Likewise.
50475         * bits/waitstatus.h: Update #endif comments.
50476         * ctype/ctype.h: Likewise.
50477         * dirent/dirent.h: Likewise.
50478         [__USE_MISC]: Remove redundant conditionals.
50479         * grp/grp.h: Update #endif comments.
50480         [__USE_GNU]: Remove redundant conditionals.
50481         [__USE_MISC]: Likewise.
50482         * inet/netinet/in.h [__USE_GNU]: Likewise.
50483         * io/sys/stat.h [__USE_MISC]: Likewise.
50484         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50485         * libio/bits/stdio.h: Update #endif comments.
50486         [__USE_MISC]: Remove redundant conditionals.
50487         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50488         * libio/stdio.h: Update #endif comments.
50489         [__USE_MISC]: Remove redundant conditionals.
50490         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50491         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50492         * math/math.h: Update #else and #endif comments.
50493         [__USE_MISC]: Remove redundant conditionals.
50494         * misc/sys/uio.h: Update #endif comments.
50495         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50496         * posix/glob.h [__USE_MISC]: Likewise.
50497         * posix/sys/types.h: Update #endif comments.
50498         [__USE_MISC]: Remove redundant conditionals.
50499         * posix/sys/wait.h: Update #endif comments.
50500         [__USE_MISC]: Remove redundant conditionals.
50501         * posix/unistd.h: Update #endif comments.
50502         [__USE_MISC]: Remove redundant conditionals.
50503         * pwd/pwd.h [__USE_GNU]: Likewise.
50504         [__USE_MISC]: Likewise.
50505         * resolv/netdb.h [__USE_GNU]: Likewise.
50506         * signal/signal.h: Update #endif comments.
50507         [__USE_MISC]: Remove redundant conditionals.
50508         * stdlib/stdlib.h: Update #else and #endif comments.
50509         [__USE_MISC]: Remove redundant conditionals.
50510         [__USE_GNU]: Likewise.
50511         * string/bits/string2.h [__USE_MISC]: Likewise.
50512         * string/string.h: Update #endif comments.
50513         [__USE_MISC]: Remove redundant conditionals.
50514         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50515         Likewise.
50516         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50517         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50518         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50519         Likewise.
50520         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50521         Likewise.
50522         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50523         comments.
50524         [__USE_MISC]: Remove redundant conditionals.
50525         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50526         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50527         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50528         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50529         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50530         Likewise.
50531         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50532         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50533         Likewise.
50534         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50535         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50536         Likewise.
50537         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50538         Likewise.
50539         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50540         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50541         Likewise.
50542         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50543         Likewise.
50544         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50545         * sysdeps/x86/bits/string.h: Update #endif comments.
50546         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50547         conditionals.
50548         * time/sys/time.h: Update #endif comments.
50549         * time/time.h: Likewise.
50550         [__USE_MISC]: Remove redundant conditionals.
50552 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50554         [BZ #16600]
50555         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50557 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50559         * Versions.def (librt): Add GLIBC_2.17.
50561 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50563         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50564         synonym for _SYS_AUXV_H to allow direct inclusion.
50565         * sysdeps/sparc/bits/hwcap.h: Likewise.
50566         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50567         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50568         * sysdeps/sparc/sysdep.h: Likewise.
50570 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50572         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50574 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50576         * benchtests/bench-strrchr.c: Print length instead of position.
50578 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50580         [BZ #16611]
50581         * sysdeps/unix/sysv/linux/kernel-features.h
50582         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50583         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50584         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50585         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50586         Likewise.
50587         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50588         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50589         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50590         (__ASSUME_SENDMMSG): Define instead of using previous
50591         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50592         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50593         (__ASSUME_SENDMMSG_SYSCALL): Define.
50594         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50595         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50596         Likewise.
50597         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50598         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50599         Likewise.
50600         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50601         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50602         Likewise.
50603         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50604         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50605         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50606         [__ASSUME_SENDMMSG]: Change conditionals to
50607         [__ASSUME_SENDMMSG_SOCKETCALL].
50608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50609         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50610         Define.
50611         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50612         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50613         Likewise.
50614         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50615         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50616         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50617         [!__ASSUME_SENDMMSG]: Change conditional to
50618         [!__ASSUME_SENDMMSG_SOCKETCALL].
50619         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50620         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50621         Define.
50623         [BZ #16610]
50624         * sysdeps/unix/sysv/linux/kernel-features.h
50625         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50626         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50627         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50628         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50629         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50630         [__i386__ || __sparc__]
50631         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50632         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50633         (__ASSUME_RECVMMSG): Define instead of using previous
50634         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50636         (__ASSUME_RECVMMSG_SYSCALL): Define.
50637         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50638         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50639         Likewise.
50640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50642         Likewise.
50643         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50644         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50645         Likewise.
50646         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50647         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50648         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50649         [__ASSUME_RECVMMSG]: Change condition to
50650         [__ASSUME_RECVMMSG_SOCKETCALL].
50651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50652         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50653         Define.
50654         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50655         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50656         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50657         Likewise.
50658         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50659         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50660         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50661         [!__ASSUME_RECVMMSG]: Change condition to
50662         [!__ASSUME_RECVMMSG_SOCKETCALL].
50663         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50664         (__ASSUME_RECVMMSG_SYSCALL): Define.
50666         [BZ #16609]
50667         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50668         __powerpc__ || __s390__ || __sh__ || __sparc__]
50669         (__ASSUME_SOCKETCALL): Define.
50670         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50671         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50672         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50673         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50674         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50675         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50676         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50677         (__ASSUME_ACCEPT4): Define instead of using previous
50678         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50679         __powerpc__ || __sparc__ || __s390__)] condition.
50680         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50681         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50682         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50683         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50684         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50685         [!__ASSUME_ACCEPT4]: Change condition to
50686         [!__ASSUME_ACCEPT4_SOCKETCALL].
50687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50688         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50689         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50691         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50692         __ASSUME_ACCEPT4_SYSCALL.
50693         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50694         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50695         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50696         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50697         __ASSUME_ACCEPT4_SYSCALL.
50698         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50699         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50700         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50701         [__ASSUME_ACCEPT4]: Change condition to
50702         [__ASSUME_ACCEPT4_SOCKETCALL].
50703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50704         (__ASSUME_SOCKETCALL): Define.
50705         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50707         (__ASSUME_SOCKETCALL): Define.
50708         (__ASSUME_ACCEPT4): Remove.
50709         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50710         Define.
50711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50712         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50713         Likewise.
50714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50715         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50717         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50718         macro.
50719         (HWCAP_ARM_LPAE): Likewise.
50720         (HWCAP_ARM_EVTSTRM): Likewise.
50721         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50722         Add vpfd32, lpae and evtstrm.
50723         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50724         Increase to 22.
50726 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50728         * math/auto-libm-test-in: Add tests of clog10.
50729         * math/auto-libm-test-out: Regenerated.
50730         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50731         * sysdeps/i386/fpu/libm-test-ulps: Update.
50732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50734 2014-02-18  Andreas Schwab  <schwab@suse.de>
50736         [BZ #16574]
50737         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50738         Store non-zero if the second buffer was newly allocated.
50739         (send_dg): Likewise.
50740         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50741         to send_vc and send_dg.
50742         (res_nsend): Pass NULL for ansp2_malloced.
50743         * resolv/res_query.c (__libc_res_nquery): Add parameter
50744         answerp2_malloced and pass it down to __libc_res_nsend.
50745         (res_nquery): Pass additional NULL to __libc_res_nquery.
50746         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50747         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50748         second answer buffer if answerp2_malloced was set.
50749         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50750         (__libc_res_nquerydomain): Add parameter
50751         answerp2_malloced and pass it down to __libc_res_nquery.
50752         (res_nquerydomain): Pass additional NULL to
50753         __libc_res_nquerydomain.
50754         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50755         additional NULL to __libc_res_nsend and __libc_res_nquery.
50756         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50757         additional NULL to __libc_res_nsearch.
50758         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50759         parameter of __libc_res_nsearch to check for separately allocated
50760         second buffer.
50761         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50762         __libc_res_nquery.
50763         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50764         additional NULL to __libc_res_nquery.
50765         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50766         __libc_res_nsearch.
50767         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50768         * include/resolv.h: Update prototypes of __libc_res_nquery,
50769         __libc_res_nsearch, __libc_res_nsend.
50771 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50773         * math/auto-libm-test-in: Add tests of fma.
50774         * math/auto-libm-test-out: Regenerated.
50775         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50776         (fma_towardzero_test_data): Likewise.
50777         (fma_downward_test_data): Likewise.
50778         (fma_upward_test_data): Likewise.
50779         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50780         mpc_mode.
50781         (rounding_modes): Add values for new field.
50782         (func_calc_method): Add value mpfr_fff_f.
50783         (func_calc_desc): Add mpfr_fff_f union field.
50784         (test_function): Add field exact_args.
50785         (FUNC): Add macro argument EXACT_ARGS.
50786         (FUNC_mpfr_f_f): Update call to FUNC.
50787         (FUNC_mpfr_f_f): Likewise.
50788         (FUNC_mpfr_ff_f): Likewise.
50789         (FUNC_mpfr_if_f): Likewise.
50790         (FUNC_mpc_c_f): Likewise.
50791         (FUNC_mpc_c_c): Likewise.
50792         (test_functions): Add fma.  Update calls to FUNC.
50793         (handle_input_arg): Add argument exact_args.
50794         (add_test): Update call to handle_input_arg.
50795         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50796         (output_for_one_input_case): Update call to calc_generic_results.
50797         Recalculate exact zero results in each rounding mode.
50799         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50800         non-negative before setting low bit.
50801         * math/auto-libm-test-in: Mark one asin test possibly having
50802         spurious underflow.
50803         * math/auto-libm-test-out: Regenerated.
50804         * sysdeps/i386/fpu/libm-test-ulps: Update.
50805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50807 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50809         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50810         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50811         ports/sysdeps/unix/sysv/linux/microblaze.
50812         * README: Add missing listing for microblaze*-*-linux-gnu.
50814 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50816         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50817         duplicate code
50819 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50821         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50822         * sysdeps/unix/sysv/linux/ia64: Move directory from
50823         ports/sysdeps/unix/sysv/linux/ia64.
50824         * README: Update listing for ia64-*-linux-gnu.
50826 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50827             Joseph Myers  <joseph@codesourcery.com>
50829         * Makeconfig (test-name): New variable.
50830         (evaluate-test): Likewise.
50831         * Makerules (do-test-clean): Remove .test-result files.
50832         (common-mostlyclean): Likewise.
50833         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50834         * scripts/evaluate-test.sh: New file.
50836 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50838         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50839         separate $(objpfx)tst-fopenloc-cmp.out and
50840         $(objpfx)tst-fopenloc-mem.out targets.
50841         (tests): Update dependencies.
50842         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50843         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50844         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50845         (tst-rxspencer-no-utf8-ARGS): New variable.
50846         (tst-rxspencer-no-utf8-ENV): Likewise.
50847         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50848         instead of $(objpfx)tst-rxspencer-mem.
50849         ($(objpfx)tst-rxspencer-mem): Change target to
50850         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50851         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50852         * posix/tst-rxspencer-no-utf8.c: New file.
50854         * elf/Makefile ($(objpfx)order.out): Remove rule.
50855         [$(run-built-tests) = yes] (tests): Depend on
50856         $(objpfx)order-cmp.out.
50857         ($(objpfx)order-cmp.out): New rule.
50858         [$(run-built-tests) = yes] (tests): Depend on
50859         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50860         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50861         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50862         $(objpfx)tst-array5-static-cmp.out.
50863         ($(objpfx)tst-array1.out): Remove rule.
50864         ($(objpfx)tst-array1-cmp.out): New rule.
50865         ($(objpfx)tst-array1-static.out): Remove rule.
50866         ($(objpfx)tst-array1-static-cmp.out): New rule.
50867         ($(objpfx)tst-array2.out): Remove rule.
50868         ($(objpfx)tst-array2-cmp.out): New rule.
50869         ($(objpfx)tst-array3.out): Remove rule.
50870         ($(objpfx)tst-array3-cmp.out): New rule.
50871         ($(objpfx)tst-array4.out): Remove rule.
50872         ($(objpfx)tst-array4-cmp.out): New rule.
50873         ($(objpfx)tst-array5.out): Remove rule.
50874         ($(objpfx)tst-array5-cmp.out): New rule.
50875         ($(objpfx)tst-array5-static.out): Remove rule.
50876         ($(objpfx)tst-array5-static-cmp.out): New rule.
50877         [$(run-built-tests) = yes] (tests): Depend on
50878         $(objpfx)order2-cmp.out.
50879         ($(objpfx)order2.out): Remove rule.
50880         ($(objpfx)order2-cmp.out): New rule.
50881         ($(objpfx)tst-initorder.out): Remove rule.
50882         [$(run-built-tests) = yes] (tests): Depend on
50883         $(objpfx)tst-initorder-cmp.out.
50884         ($(objpfx)tst-initorder-cmp.out): New rule.
50885         ($(objpfx)tst-initorder2.out): Remove rule.
50886         [$(run-built-tests) = yes] (tests): Depend on
50887         $(objpfx)tst-initorder2-cmp.out.
50888         ($(objpfx)tst-initorder2-cmp.out): New rule.
50889         [$(run-built-tests) = yes] (tests): Depend on
50890         $(objpfx)tst-unused-dep-cmp.out.
50891         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50892         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50893         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50894         on $(objpfx)tst-setvbuf1-cmp.out.
50895         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50896         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50897         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50898         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50899         ($(objpfx)tst-svc.out): Remove rule.
50900         ($(objpfx)tst-svc-cmp.out): New rule.
50902 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50904         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50905         * ctype/ctype.h [__USE_MISC]: Likewise.
50906         * dirent/dirent.h [__USE_MISC]: Likewise.
50907         * grp/grp.h [__USE_MISC]: Likewise.
50908         * io/fcntl.h [__USE_MISC]: Likewise.
50909         * io/sys/stat.h [__USE_MISC]: Likewise.
50910         * libio/stdio.h [__USE_MISC]: Likewise.
50911         * posix/unistd.h [__USE_MISC]: Likewise.
50912         * pwd/pwd.h [__USE_MISC]: Likewise.
50913         * stdlib.h [__USE_MISC]: Likewise.
50914         * string/bits/string2.h [__USE_MISC]: Likewise.
50915         * string/string.h [__USE_MISC]: Likewise.
50916         * time/time.h [__USE_MISC]: Likewise.
50918 2014-02-13  Andreas Schwab  <schwab@suse.de>
50920         [BZ #16574]
50921         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50922         second answer buffer if it was separately allocated.
50924 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50926         * sysdeps/mips/math-tests.h: Include <features.h>.
50927         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50928         (ROUNDING_TESTS_long_double): Do not define.
50929         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50930         (EXCEPTION_TESTS_long_double): Likewise.
50931         * sysdeps/mips/mips64/libm-test-ulps: Update.
50933         * include/features.h (__USE_BSD): Remove macro definitions.
50934         (__USE_SVID): Likewise.
50935         (_BSD_SOURCE): Likewise.
50936         (_SVID_SOURCE): Likewise.
50937         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50938         from definition of _DEFAULT_SOURCE.
50939         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50940         [_DEFAULT_SOURCE].
50941         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50942         * bits/mman.h [__USE_BSD]: Likewise.
50943         * bits/termios.h [__USE_BSD]: Likewise.
50944         * bits/waitstatus.h [__USE_BSD]: Likewise.
50945         * ctype/ctype.h [__USE_SVID]: Likewise.
50946         * dirent/dirent.h [__USE_BSD]: Likewise.
50947         * grp/grp.h [__USE_SVID]: Likewise.
50948         [__USE_BSD]: Likewise.
50949         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50950         * io/fcntl.h [__USE_BSD]: Likewise.
50951         * io/ftw.h [__USE_BSD]: Likewise.
50952         * io/sys/stat.h [__USE_BSD]: Likewise.
50953         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50954         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50955         * libio/stdio.h [__USE_SVID]: Likewise.
50956         [__USE_BSD]: Likewise.
50957         * math/math.h [__USE_SVID]: Likewise.
50958         [__USE_BSD]: Likewise.
50959         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50960         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50961         * misc/search.h [__USE_SVID]: Likewise.
50962         * misc/sys/mman.h [__USE_BSD]: Likewise.
50963         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50964         * misc/sys/uio.h [__USE_BSD]: Likewise.
50965         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50966         * posix/glob.h [__USE_BSD]: Likewise.
50967         * posix/regex.h [__USE_BSD]: Likewise.
50968         * posix/sys/types.h [__USE_BSD]: Likewise.
50969         [__USE_SVID]: Likewise.
50970         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50971         * posix/sys/wait.h [__USE_BSD]: Likewise.
50972         [__USE_SVID]: Likewise.
50973         * posix/unistd.h [__USE_BSD]: Likewise.
50974         [__USE_SVID]: Likewise.
50975         * pwd/pwd.h [__USE_SVID]: Likewise.
50976         * resolv/netdb.h [__USE_BSD]: Likewise.
50977         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50978         * signal/signal.h [__USE_BSD]: Likewise.
50979         [__USE_SVID]: Likewise.
50980         * socket/sys/socket.h [__USE_BSD]: Likewise.
50981         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50982         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50983         [__USE_SVID]: Likewise.
50984         * string/bits/string2.h [__USE_BSD]: Likewise.
50985         [__USE_SVID]: Likewise.
50986         * string/bits/string3.h [__USE_BSD]: Likewise.
50987         * string/endian.h [__USE_BSD]: Likewise.
50988         * string/string.h [__USE_SVID]: Likewise.
50989         [__USE_BSD]: Likewise.
50990         * string/strings.h [__USE_BSD]: Likewise.
50991         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50992         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50993         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50994         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50995         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50996         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50997         Likewise.
50998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50999         Likewise.
51000         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51001         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51002         Likewise.
51003         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51004         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51005         Likewise.
51006         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51007         Likewise.
51008         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51009         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51010         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51011         Likewise.
51012         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51013         Likewise.
51014         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51015         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51016         * termios/termios.h [__USE_BSD]: Likewise.
51017         * time/sys/time.h [__USE_BSD]: Likewise.
51018         * time/time.h [__USE_BSD]: Likewise.
51019         [__USE_SVID]: Likewise.
51021         * Makefile (subdir_targets): Remove subdir_lint.out.
51023         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51024         (do-tst-printf): Likewise.
51025         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51026         $(objpfx)tst-printf.out.
51028         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51030         * Makerules (check-abi-%): Change target to
51031         $(objpfx)check-abi-%.out.
51032         (check-abi target): Update dependencies.
51033         (check-abi-pattern variable): Redirect output of diff to $@.
51034         (check-abi variable): Likewise.
51035         * elf/Makefile (check-abi): Update dependencies.
51037         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51038         unused.
51039         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51040         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51041         subnormal range.
51042         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51043         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51044         value has largest subnormal exponent.
51045         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51046         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51047         * sysdeps/aarch64/soft-fp/sfp-machine.h
51048         (_FP_TININESS_AFTER_ROUNDING): New macro.
51049         * sysdeps/alpha/soft-fp/sfp-machine.h
51050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51051         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51052         Likewise.
51053         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51054         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51055         * sysdeps/mips/soft-fp/sfp-machine.h
51056         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51057         * sysdeps/powerpc/soft-fp/sfp-machine.h
51058         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51059         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51060         Likewise.
51061         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51062         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51063         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51064         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51065         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51066         Likewise.
51068 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51070         [BZ #16545]
51071         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51072         model 1.
51074 2014-02-12  Richard Henderson  <rth@redhat.com>
51076         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51077         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51078         * sysdeps/unix/sysv/linux/alpha: Move directory from
51079         ports/sysdeps/unix/sysv/linux/alpha.
51080         * README: Update listing for alpha-*-linux-gnu.
51082 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51084         * include/features.h: Update comment documenting feature test
51085         macros.
51086         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51087         _DEFAULT_SOURCE.
51088         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51089         (_SVID_SOURCE): Likewise.
51090         (_DEFAULT_SOURCE): Update description of default features.
51091         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51092         with _GNU_SOURCE.
51093         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51094         (S_ISVTX): Likewise.
51095         * manual/math.texi (Mathematical Constants): Likewise.
51096         * manual/signal.texi (Interrupted Primitives): Likewise.
51097         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51098         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51099         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51100         Don't refer to _SVID_SOURCE in warning text.
51102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51104         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51105         already defined.
51106         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51107         * sysdeps/mips/dl-lookup.c: Remove.
51108         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51110 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51112         [BZ #16447]
51113         * math/auto-libm-test-in: Add testcase for expl.
51114         * math/auto-libm-test-out: Regenerate.
51115         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51116         calculation of unsafe.
51117         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51119 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51121         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51122         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51123         ports/sysdeps/unix/sysv/linux/aarch64.
51124         * README: Update listing for aarch64*-*-linux-gnu.
51126 2014-02-11  Will Newton  <will.newton@linaro.org>
51128         * manual/probes.texi (Mathematical Function Probes): Use
51129         "triggered" instead of "hit".
51131         * manual/probes.texi (Internal Probes): Add documentation
51132         of setjmp, longjmp and longjmp_target probes.
51134         * include/stap-probe.h: Add comment about probe argument
51135         format.
51137         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51138         definition.  (tr_where, tr_freehook, tr_mallochook,
51139         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51141 2014-02-11  David S. Miller  <davem@davemloft.net>
51143         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51144         processing int_tests.
51146 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51148         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51149         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51150         * sysdeps/unix/sysv/linux/mips: Move directory from
51151         ports/sysdeps/unix/sysv/linux/mips.
51152         * README: Update listing for mips-*-linux-gnu and
51153         mips64-*-linux-gnu.
51155 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51157         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51158         * sysdeps/unix/sysv/linux/m68k: Move directory from
51159         ports/sysdeps/unix/sysv/linux/m68k.
51160         * README: Update listing for m68k-*-linux-gnu.
51162 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51164         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51165         * sysdeps/unix/sysv/linux/generic: Move directory from
51166         ports/sysdeps/unix/sysv/linux/generic.
51167         * sysdeps/unix/sysv/linux/tile: Move directory from
51168         ports/sysdeps/unix/sysv/linux/tile.
51169         * README: Update listing for tile*-*-linux-gnu.
51171 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51173         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51174         __builtin_expect.
51175         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51176         * catgets/open_catalog.c (__open_catalog): Likewise.
51177         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51178         * debug/confstr_chk.c: Likewise.
51179         * debug/fread_chk.c (__fread_chk): Likewise.
51180         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51181         * debug/getgroups_chk.c: Likewise.
51182         * debug/mbsnrtowcs_chk.c: Likewise.
51183         * debug/mbsrtowcs_chk.c: Likewise.
51184         * debug/mbstowcs_chk.c: Likewise.
51185         * debug/memcpy_chk.c: Likewise.
51186         * debug/memmove_chk.c: Likewise.
51187         * debug/mempcpy_chk.c: Likewise.
51188         * debug/memset_chk.c: Likewise.
51189         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51190         * debug/strcat_chk.c (__strcat_chk): Likewise.
51191         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51192         * debug/strncat_chk.c (__strncat_chk): Likewise.
51193         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51194         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51195         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51196         * debug/wcpncpy_chk.c: Likewise.
51197         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51198         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51199         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51200         * debug/wcsncpy_chk.c: Likewise.
51201         * debug/wcsnrtombs_chk.c: Likewise.
51202         * debug/wcsrtombs_chk.c: Likewise.
51203         * debug/wcstombs_chk.c: Likewise.
51204         * debug/wmemcpy_chk.c: Likewise.
51205         * debug/wmemmove_chk.c: Likewise.
51206         * debug/wmempcpy_chk.c: Likewise.
51207         * debug/wmemset_chk.c: Likewise.
51208         * dirent/scandirat.c (SCANDIRAT): Likewise.
51209         * dlfcn/dladdr1.c (dladdr1): Likewise.
51210         * dlfcn/dladdr.c (dladdr): Likewise.
51211         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51212         * dlfcn/dlerror.c (__dlerror): Likewise.
51213         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51214         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51215         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51216         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51217         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51218         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51219         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51220         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51221         Likewise.
51222         * elf/dl-conflict.c: Likewise.
51223         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51224         * elf/dl-dst.h: Likewise.
51225         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51226         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51227         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51228         * elf/dl-init.c (call_init, _dl_init): Likewise.
51229         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51230         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51231         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51232         Likewise.
51233         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51234         Likewise.
51235         * elf/dl-minimal.c (__libc_memalign): Likewise.
51236         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51237         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51238         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51239         * elf/dl-sym.c (do_sym): Likewise.
51240         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51241         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51242         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51243         * elf/dl-writev.h (_dl_writev): Likewise.
51244         * elf/ldconfig.c (search_dir): Likewise.
51245         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51246         (dl_main): Likewise.
51247         * elf/setup-vdso.h (setup_vdso): Likewise.
51248         * grp/compat-initgroups.c (compat_call): Likewise.
51249         * grp/fgetgrent.c (fgetgrent): Likewise.
51250         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51251         * grp/putgrent.c (putgrent): Likewise.
51252         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51253         Likewise.
51254         * hurd/hurdinit.c: Likewise.
51255         * iconvdata/8bit-gap.c (struct): Likewise.
51256         * iconvdata/ansi_x3.110.c : Likewise.
51257         * iconvdata/big5.c : Likewise.
51258         * iconvdata/big5hkscs.c : Likewise.
51259         * iconvdata/cp1255.c: Likewise.
51260         * iconvdata/cp1258.c : Likewise.
51261         * iconvdata/cp932.c : Likewise.
51262         * iconvdata/euc-cn.c: Likewise.
51263         * iconvdata/euc-jisx0213.c : Likewise.
51264         * iconvdata/euc-jp.c: Likewise.
51265         * iconvdata/euc-jp-ms.c : Likewise.
51266         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51267         * iconvdata/gb18030.c : Likewise.
51268         * iconvdata/gbbig5.c (const): Likewise.
51269         * iconvdata/gbgbk.c: Likewise.
51270         * iconvdata/gbk.c : Likewise.
51271         * iconvdata/ibm1364.c : Likewise.
51272         * iconvdata/ibm930.c : Likewise.
51273         * iconvdata/ibm932.c: Likewise.
51274         * iconvdata/ibm933.c : Likewise.
51275         * iconvdata/ibm935.c : Likewise.
51276         * iconvdata/ibm937.c : Likewise.
51277         * iconvdata/ibm939.c : Likewise.
51278         * iconvdata/ibm943.c: Likewise.
51279         * iconvdata/iso_11548-1.c: Likewise.
51280         * iconvdata/iso-2022-cn.c : Likewise.
51281         * iconvdata/iso-2022-cn-ext.c : Likewise.
51282         * iconvdata/iso-2022-jp-3.c: Likewise.
51283         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51284         * iconvdata/iso-2022-kr.c : Likewise.
51285         * iconvdata/iso646.c (gconv_end): Likewise.
51286         * iconvdata/iso_6937-2.c : Likewise.
51287         * iconvdata/iso_6937.c : Likewise.
51288         * iconvdata/iso8859-1.c: Likewise.
51289         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51290         * iconvdata/shift_jisx0213.c : Likewise.
51291         * iconvdata/sjis.c : Likewise.
51292         * iconvdata/t.61.c : Likewise.
51293         * iconvdata/tcvn5712-1.c : Likewise.
51294         * iconvdata/tscii.c: Likewise.
51295         * iconvdata/uhc.c : Likewise.
51296         * iconvdata/unicode.c (gconv_end): Likewise.
51297         * iconvdata/utf-16.c (gconv_end): Likewise.
51298         * iconvdata/utf-32.c (gconv_end): Likewise.
51299         * iconvdata/utf-7.c (base64): Likewise.
51300         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51301         * iconv/gconv_close.c (__gconv_close): Likewise.
51302         * iconv/gconv_open.c (__gconv_open): Likewise.
51303         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51304         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51305         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51306         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51307         (ucs4le_internal_loop_single): Likewise.
51308         * iconv/iconv.c (iconv): Likewise.
51309         * iconv/iconv_close.c: Likewise.
51310         * iconv/loop.c (SINGLE): Likewise.
51311         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51312         * include/atomic.h: Likewise.
51313         * inet/inet6_option.c (option_alloc): Likewise.
51314         * intl/bindtextdom.c (set_binding_values): Likewise.
51315         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51316         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51317         * intl/localealias.c (read_alias_file): Likewise.
51318         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51319         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51320         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51321         * libio/fmemopen.c (fmemopen): Likewise.
51322         * libio/iofgets.c (_IO_fgets): Likewise.
51323         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51324         * libio/iofgetws.c (fgetws): Likewise.
51325         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51326         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51327         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51328         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51329         * locale/findlocale.c (_nl_find_locale): Likewise.
51330         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51331         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51332         Likewise.
51333         * locale/setlocale.c (setlocale): Likewise.
51334         * login/programs/pt_chown.c (main): Likewise.
51335         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51336         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51337         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51338         (mmap, mmap64, mremap, munmap): Likewise.
51339         * math/e_exp2l.c: Likewise.
51340         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51341         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51342         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51343         * math/s_catan.c (__catan): Likewise.
51344         * math/s_catanf.c (__catanf): Likewise.
51345         * math/s_catanh.c (__catanh): Likewise.
51346         * math/s_catanhf.c (__catanhf): Likewise.
51347         * math/s_catanhl.c (__catanhl): Likewise.
51348         * math/s_catanl.c (__catanl): Likewise.
51349         * math/s_ccosh.c (__ccosh): Likewise.
51350         * math/s_ccoshf.c (__ccoshf): Likewise.
51351         * math/s_ccoshl.c (__ccoshl): Likewise.
51352         * math/s_cexp.c (__cexp): Likewise.
51353         * math/s_cexpf.c (__cexpf): Likewise.
51354         * math/s_cexpl.c (__cexpl): Likewise.
51355         * math/s_clog10.c (__clog10): Likewise.
51356         * math/s_clog10f.c (__clog10f): Likewise.
51357         * math/s_clog10l.c (__clog10l): Likewise.
51358         * math/s_clog.c (__clog): Likewise.
51359         * math/s_clogf.c (__clogf): Likewise.
51360         * math/s_clogl.c (__clogl): Likewise.
51361         * math/s_csin.c (__csin): Likewise.
51362         * math/s_csinf.c (__csinf): Likewise.
51363         * math/s_csinh.c (__csinh): Likewise.
51364         * math/s_csinhf.c (__csinhf): Likewise.
51365         * math/s_csinhl.c (__csinhl): Likewise.
51366         * math/s_csinl.c (__csinl): Likewise.
51367         * math/s_csqrt.c (__csqrt): Likewise.
51368         * math/s_csqrtf.c (__csqrtf): Likewise.
51369         * math/s_csqrtl.c (__csqrtl): Likewise.
51370         * math/s_ctan.c (__ctan): Likewise.
51371         * math/s_ctanf.c (__ctanf): Likewise.
51372         * math/s_ctanh.c (__ctanh): Likewise.
51373         * math/s_ctanhf.c (__ctanhf): Likewise.
51374         * math/s_ctanhl.c (__ctanhl): Likewise.
51375         * math/s_ctanl.c (__ctanl): Likewise.
51376         * math/w_pow.c: Likewise.
51377         * math/w_powf.c: Likewise.
51378         * math/w_powl.c: Likewise.
51379         * math/w_scalb.c (sysv_scalb): Likewise.
51380         * math/w_scalbf.c (sysv_scalbf): Likewise.
51381         * math/w_scalbl.c (sysv_scalbl): Likewise.
51382         * misc/error.c (error_tail): Likewise.
51383         * misc/pselect.c (__pselect): Likewise.
51384         * nis/nis_callback.c (__nis_create_callback): Likewise.
51385         * nis/nis_call.c (__nisfind_server): Likewise.
51386         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51387         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51388         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51389         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51390         * nis/nis_lookup.c (nis_lookup): Likewise.
51391         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51392         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51393         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51394         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51395         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51396         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51397         * nis/nss_compat/compat-initgroups.c (add_group)
51398         (internal_getgrent_r): Likewise.
51399         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51400         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51401         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51402         (internal_getspnam_r): Likewise.
51403         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51404         (_nss_nis_getaliasbyname_r): Likewise.
51405         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51406         (_nss_nis_getntohost_r): Likewise.
51407         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51408         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51409         (_nss_nis_getgrgid_r): Likewise.
51410         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51411         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51412         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51413         (_nss_nis_gethostbyname4_r): Likewise.
51414         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51415         (initgroups_netid): Likewise.
51416         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51417         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51418         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51419         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51420         (_nss_nis_getprotobynumber_r): Likewise.
51421         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51422         (_nss_nis_getsecretkey): Likewise.
51423         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51424         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51425         (_nss_nis_getpwuid_r): Likewise.
51426         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51427         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51428         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51429         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51430         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51431         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51432         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51433         Likewise.
51434         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51435         (_nss_nisplus_getntohost_r): Likewise.
51436         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51437         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51438         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51439         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51440         Likewise.
51441         * nis/nss_nisplus/nisplus-initgroups.c
51442         (_nss_nisplus_initgroups_dyn): Likewise.
51443         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51444         (_nss_nisplus_getnetbyaddr_r): Likewise.
51445         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51446         (_nss_nisplus_getprotobynumber_r): Likewise.
51447         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51448         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51449         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51450         Likewise.
51451         * nis/nss_nisplus/nisplus-service.c
51452         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51453         (_nss_nisplus_getservbyport_r): Likewise.
51454         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51455         (_nss_nisplus_getspnam_r): Likewise.
51456         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51457         Likewise.
51458         * nscd/aicache.c (addhstaiX): Likewise.
51459         * nscd/cache.c (cache_search, prune_cache): Likewise.
51460         * nscd/connections.c (register_traced_file, send_ro_fd)
51461         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51462         (main_loop_epoll): Likewise.
51463         * nscd/grpcache.c (addgrbyX): Likewise.
51464         * nscd/hstcache.c (addhstbyX): Likewise.
51465         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51466         * nscd/mem.c (gc, mempool_alloc): Likewise.
51467         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51468         (addinnetgrX): Likewise.
51469         * nscd/nscd-client.h (__nscd_acquire_maplock)
51470         (__nscd_drop_map_ref): Likewise.
51471         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51472         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51473         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51474         Likewise.
51475         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51476         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51477         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51478         (__nscd_get_map_ref): Likewise.
51479         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51480         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51481         Likewise.
51482         * nscd/pwdcache.c (addpwbyX): Likewise.
51483         * nscd/selinux.c (preserve_capabilities): Likewise.
51484         * nscd/servicescache.c (addservbyX): Likewise.
51485         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51486         * posix/fnmatch.c (fnmatch): Likewise.
51487         * posix/getopt.c (_getopt_internal_r): Likewise.
51488         * posix/glob.c (glob, glob_in_dir): Likewise.
51489         * posix/wordexp.c (exec_comm_child): Likewise.
51490         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51491         (getanswer_r, gaih_getanswer_slice): Likewise.
51492         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51493         * resolv/res_init.c: Likewise.
51494         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51495         * resolv/res_query.c (__libc_res_nquery): Likewise.
51496         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51497         Likewise.
51498         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51499         * stdio-common/perror.c (perror): Likewise.
51500         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51501         * stdio-common/tmpnam.c (tmpnam): Likewise.
51502         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51503         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51504         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51505         Likewise.
51506         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51507         * stdlib/putenv.c (putenv): Likewise.
51508         * stdlib/setenv.c (__add_to_environ): Likewise.
51509         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51510         * stdlib/strtol_l.c (INTERNAL): Likewise.
51511         * string/memmem.c (memmem): Likewise.
51512         * string/strerror.c (strerror): Likewise.
51513         * string/strnlen.c (__strnlen): Likewise.
51514         * string/test-memmem.c (simple_memmem): Likewise.
51515         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51516         * sunrpc/pm_getport.c (__get_socket): Likewise.
51517         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51518         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51519         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51520         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51521         Likewise.
51522         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51523         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51524         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51525         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51526         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51527         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51528         Likewise.
51529         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51530         Likewise.
51531         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51532         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51533         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51534         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51535         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51537         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51538         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51539         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51540         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51541         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51542         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51543         Likewise.
51544         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51545         Likewise.
51546         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51547         Likewise.
51548         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51549         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51550         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51551         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51552         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51553         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51554         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51555         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51557         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51558         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51560         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51561         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51563         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51564         Likewise.
51565         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51566         Likewise.
51567         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51568         Likewise.
51569         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51570         Likewise.
51571         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51573         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51574         Likewise.
51575         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51576         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51577         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51578         * sysdeps/posix/sleep.c: Likewise.
51579         * sysdeps/posix/tempname.c: Likewise.
51580         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51581         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51582         Likewise.
51583         * sysdeps/powerpc/powerpc32/dl-machine.h
51584         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51585         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51586         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51587         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51588         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51589         Likewise.
51590         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51592         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51594         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51595         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51596         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51597         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51598         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51599         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51600         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51601         (elf_machine_lazy_rel): Likewise.
51602         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51603         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51604         (elf_machine_lazy_rel): Likewise.
51605         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51606         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51607         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51608         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51609         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51610         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51611         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51613         Likewise.
51614         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51615         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51616         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51617         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51618         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51620         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51621         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51622         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51623         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51624         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51625         Likewise.
51626         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51627         (__posix_fallocate64_l64): Likewise.
51628         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51629         (posix_fallocate): Likewise.
51630         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51631         Likewise.
51632         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51633         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51634         (getifaddrs_internal): Likewise.
51635         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51636         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51637         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51638         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51639         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51640         (__posix_fallocate64_l64): Likewise.
51641         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51642         Likewise.
51643         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51644         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51645         (__get_clockfreq): Likewise.
51646         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51647         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51648         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51650         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51651         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51652         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51653         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51654         Likewise.
51655         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51656         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51657         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51658         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51659         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51660         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51661         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51662         Likewise.
51663         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51664         (posix_fallocate): Likewise.
51665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51666         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51667         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51668         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51669         (elf_machine_rela, elf_machine_rela_relative)
51670         (elf_machine_lazy_rel): Likewise.
51671         * time/asctime.c (asctime_internal): Likewise.
51672         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51673         * time/tzset.c (__tzset_parse_tz): Likewise.
51674         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51675         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51676         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51677         * wcsmbs/wcsmbsload.h: Likewise.
51679         [BZ #15894]
51680         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51682         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51683         (arena_get2): Remove THREAD_STATS conditionals.
51684         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51685         (__malloc_stats, int): Likewise.
51687 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51689         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51690         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51692         * manual/setjmp.texi: Fix typos/grammar errors.
51694         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51695         Only return early when n is <= 0.  Delete unused return statement.
51697         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51698         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51699         * debug/tst-longjmp_chk3.c: New file.
51701         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51702         (test_main): Replace code with set_fortify_handler call.
51703         * debug/test-strcpy_chk.c: Likewise.
51704         * debug/tst-chk1.c: Likewise.
51705         * debug/tst-longjmp_chk.c: Likewise.
51706         * test-skeleton.c: Include fcntl.h & paths.h
51707         (set_fortify_handler): Define.
51709         * debug/tst-longjmp_chk.c: Add header comment and include
51710         ../test-skeleton.c.
51711         (do_test): Mark static.
51712         (TEST_FUNCTION): Define.
51714         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51715         (IP_PMTUDISC_INTERFACE): Likewise.
51716         (IP_MULTICAST_IF): Likewise.
51717         (IP_MULTICAST_TTL): Likewise.
51718         (IP_MULTICAST_LOOP): Likewise.
51719         (IP_ADD_MEMBERSHIP): Likewise.
51720         (IP_DROP_MEMBERSHIP): Likewise.
51721         (IP_UNBLOCK_SOURCE): Likewise.
51722         (IP_BLOCK_SOURCE): Likewise.
51723         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51724         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51725         (IP_MSFILTER): Likewise.
51726         (MCAST_JOIN_GROUP): Likewise.
51727         (MCAST_BLOCK_SOURCE): Likewise.
51728         (MCAST_UNBLOCK_SOURCE): Likewise.
51729         (MCAST_LEAVE_GROUP): Likewise.
51730         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51731         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51732         (MCAST_MSFILTER): Likewise.
51733         (IP_MULTICAST_ALL): Likewise.
51734         (IP_UNICAST_IF): Likewise.
51736         * timezone/Makefile: Delete $(have-ksh) check.
51737         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51738         * timezone/tzselect.ksh: Add +x mode bits.
51740         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51741         (ANON_INODE_FS_MAGIC): Likewise.
51742         (BDEVFS_MAGIC): Likewise.
51743         (BINFMTFS_MAGIC): Likewise.
51744         (BTRFS_TEST_MAGIC): Likewise.
51745         (CRAMFS_MAGIC_WEND): Likewise.
51746         (DEBUGFS_MAGIC): Likewise.
51747         (ECRYPTFS_SUPER_MAGIC): Likewise.
51748         (EXT3_SUPER_MAGIC): Likewise.
51749         (EXT4_SUPER_MAGIC): Likewise.
51750         (FUTEXFS_SUPER_MAGIC): Likewise.
51751         (HOSTFS_SUPER_MAGIC): Likewise.
51752         (HUGETLBFS_MAGIC): Likewise.
51753         (MINIX3_SUPER_MAGIC): Likewise.
51754         (MTD_INODE_FS_MAGIC): Likewise.
51755         (NILFS_SUPER_MAGIC): Likewise.
51756         (OPENPROM_SUPER_MAGIC): Likewise.
51757         (PIPEFS_MAGIC): Likewise.
51758         (PSTOREFS_MAGIC): Likewise.
51759         (QNX6_SUPER_MAGIC): Likewise.
51760         (RAMFS_MAGIC): Likewise.
51761         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51762         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51763         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51764         (SECURITYFS_MAGIC): Likewise.
51765         (SELINUX_MAGIC): Likewise.
51766         (SMACK_MAGIC): Likewise.
51767         (SOCKFS_MAGIC): Likewise.
51768         (SQUASHFS_MAGIC): Likewise.
51769         (STACK_END_MAGIC): Likewise.
51770         (TMPFS_MAGIC): Likewise.
51771         (USBDEVICE_SUPER_MAGIC): Likewise.
51772         (V9FS_MAGIC): Likewise.
51773         (XENFS_SUPER_MAGIC): Likewise.
51774         (CRAMFS_MAGIC): Fix typo in comment.
51775         (EXT2_SUPER_MAGIC): Update comment.
51776         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51778 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51780         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51781         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51782         * sysdeps/unix/sysv/linux/arm: Move directory from
51783         ports/sysdeps/unix/sysv/linux/arm.
51784         * README: Update listing for arm-*-linux-gnueabi.
51786         * README: Remove mention of am33.
51788 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51790         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51791         than the comma operator, to avoid "rhs of comma has no effect"
51792         compiler warnings.
51793         (__sigfillset, __sigandset, __sigorset): Likewise.
51794         * include/signal.h (__sigemptyset): Likewise.
51795         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51797 2014-02-07  Allan McRae  <allan@archlinux.org>
51799         * version.h (RELEASE): Set to "development".
51800         (VERSION): Set to "2.19.90"
51801         * NEWS: Add 2.20 section.
51803 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51805         [BZ #16529]
51806         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51808 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51810         * manual/contrib.texi: Update entry for Carlos O'Donell,
51811         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51813 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51815         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51817         * sysdeps/unix/sysv/linux/kernel-features.h
51818         [__LINUX_KERNEL_VERSION >= 0x020621]
51819         (__ASSUME_PROC_PID_TASK_COMM): Define.
51821 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51823         [BZ #16398]
51824         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51825         conversion when destination buffer does not have enough space.
51826         * libio/tst-ftell-partial-wide.c: New test case.
51827         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51829         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51830         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51831         Leonard and Allan McRae.
51833 2014-02-04  David S. Miller  <davem@davemloft.net>
51835         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51836         32-bit.
51838 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51841         New file
51842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51843         New file
51844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51845         New file.
51846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51847         New file.
51848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51849         New file.
51850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51851         New file.
51852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51853         New file.
51854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51855         New file.
51856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51857         New file.
51858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51859         New file.
51860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51861         New file.
51862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51863         New file.
51864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51865         New file.
51867 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51869         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51870         * shlib-versions: Likewise.
51872 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51873             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51875         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51876         (abilist-pattern): New variable, set to %-le.abilist.
51878         * Makerules (abilist-pattern): New variable.
51879         (vpath): Use $(abilist-pattern) in place of %.abilist.
51880         (check-abi-% pattern rule): Likewise.
51881         (check-abi, update-abi): Likewise.
51883 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51887 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51889         * manual/startup.texi: Add next, previous, and top entries for
51890         the `Program Arguments' and `Environment Variables' nodes.
51892 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51894         * manual/macros.texi: Add comments before MTASC-safety macros.
51896         * manual/users.texi: Document MTASC-safety properties.
51898         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51899         (pthread_getspecific, pthread_setspecific): Format with
51900         @deftypefun, and add @safety note.
51901         * manual/signal.texi: Move comments that analyze the above
51902         functions to their home place.
51904 2014-02-03  Allan McRae  <allan@archlinux.org>
51906         * po/sl.po: Update Slovenian translation from translation project.
51908 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51910         * manual/time.texi (timegm): Add missing blank after @c.
51911         Reported by Joseph Myers <joseph@codesourcery.com>.
51913 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51915         * manual/check-safety.sh: New.
51916         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51918         * manual/terminal.texi: Document MTASC-safety properties.
51920         * manual/filesys.texi: Document MTASC-safety properties.
51922         * manual/errno.texi: Document MTASC-safety properties.
51924         * manual/intro.texi: Document safety identifiers and
51925         conditionals.
51927         * manual/string.texi (wcstok): Fix prototype.
51928         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51930         * manual/time.texi: Document MTASC-safety properties.
51932         * manual/string.texi: Document MTASC-safety properties.
51934         * manual/threads.texi: Document MTASC-safety properties.
51936         * manual/stdio.texi: Document MTASC-safety properties.
51938         * manual/syslog.texi: Document MTASC-safety properties.
51940         * manual/sysinfo.texi: Document MTASC-safety properties.
51942         * manual/startup.texi: Document MTASC-safety properties.
51944         * manual/socket.texi: Document MTASC-safety properties.
51946         * manual/signal.texi: Document MTASC-safety properties.
51948 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51950         * manual/setjmp.texi: Document MTASC-safety properties.
51952         * manual/search.texi: Document MTASC-safety properties.
51954         * manual/resource.texi: Document MTASC-safety properties.
51956         * manual/process.texi: Document MTASC-safety properties.
51958         * manual/platform.texi: Document MTASC-safety properties.
51960         * manual/pipe.texi: Document MTASC-safety properties.
51962         * manual/pattern.texi: Document MTASC-safety properties.
51964         * manual/message.texi: Document MTASC-safety properties.
51966         [BZ #12751]
51967         * manual/memory.texi: Document MTASC-safety properties.
51969         * manual/math.texi: Document MTASC-safety properties.
51971         * manual/locale.texi: Document MTASC-safety properties.
51973         * manual/llio.texi: Document MTASC-safety properties.
51975         * manual/libdl.texi: New.
51977         * manual/lang.texi: Document MTASC-safety properties.
51979         * manual/job.texi: Document MTASC-safety properties.
51981         * manual/getopt.texi: Document MTASC-safety properties.
51983         * manual/ctype.texi: Document MTASC-safety properties.
51985 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51987         [BZ #16046]
51988         * csu/libc-tls.c (static_map): Remove variable.
51989         (__libc_setup_tls): Use main executable's link map for TLS data.
51990         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51991         casing for LM_ID_BASE and GL(dl_nns).
51992         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51993         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51994         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51995         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51996         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51997         member.
51998         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51999         l_phnum members.
52001 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52003         * manual/debug.texi: Document MTASC-safety properties.
52005 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52007         [BZ #16510]
52008         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52009         of __x86_64__ when disabling x87 inline functions.
52011 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52013         * manual/charset.texi: Document MTASC-safety properties.
52015         * manual/crypt.texi: Document MTASC-safety properties.
52017         * manual/conf.texi: Document MTASC-safety properties.
52019         * manual/arith.texi: Document MTASC-safety properties.
52021         * manual/argp.texi: Document MTASC-safety properties.
52023         * manual/macros.texi: Introduce macros to document multi
52024         thread, asynchronous signal and asynchronous cancellation
52025         safety properties.
52026         * manual/intro.texi: Introduce the properties themselves.
52028 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52030         * sysdeps/sh/sh4/Makefile: New file.
52032 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52034         * math/gen-libm-test.pl ($srcdir): New variable.
52035         ($auto_input): Use it.
52037 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52039         [BZ #16506]
52040         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52041         access beyond array bounds when parsing netgroups file.
52043         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52044         the old buffer before realloc.
52046 2014-01-27  Allan McRae  <allan@archlinux.org>
52048         * po/fr.po: Update French translation from translation project.
52050 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52052         * sysdeps/sh/libm-test-ulps: Regenerate.
52054 2014-01-24  David S. Miller  <davem@davemloft.net>
52056         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52058 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52060         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52061         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52063 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52065         [BZ #16474]
52066         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52067         string pointers after reallocation.
52069 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52071         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52072         __SH4A__ instead of __SH_FPU_ANY__.
52074 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52076         * sysdeps/sh/fpu_control.h: New file.
52077         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52078         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52079         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52080         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52081         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52082         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52083         * sysdeps/sh/sys/ucontext.h: Remove.
52084         * sysdeps/sh/sys: Remove directory.
52086 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52088         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52089         s390/sys/ucontext.h.
52090         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52091         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52093 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52095         [BZ #15605]
52096         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52098 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52100         [BZ #16431]
52101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52102         Adjust the vDSO correctly for internal calls.
52103         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52105 2014-01-20  Allan McRae  <allan@archlinux.org>
52107         * po/ca.po: Update Catalan translation from translation project.
52109 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52111         * sysdeps/s390/sotruss-lib.c: New file.
52113 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52115         [BZ #16430]
52116         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52117         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52118         local calls issues by not having a PLT stub required for IFUNC calls.
52119         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52121 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52123         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52124         * math/test-fpucw-static.c: Likewise.
52126 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52128         [BZ #16453]
52129         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52131 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52133         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52134         implementation for powerpc.
52136 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52138         [BZ #14782]
52139         * sysdeps/posix/system.c (__libc_system): Do not enable
52140         asynchronous cancellation.
52142 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52144         [BZ #16427]
52145         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52146         handling only for numbers special also in the IEEE case.
52148 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52150         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52152 2014-01-11  Allan McRae  <allan@archlinux.org>
52154         * po/bg.po: Update Bulgarian translation from translation project.
52156         * po/de.po: Update German translation from translation project.
52158 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52160         * sysdeps/generic/gcc-compat.h: New file.
52162 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52164         * benchtests/asin-inputs: Correct slow inputs.
52165         * benchtests/acos-inputs: Likewise.
52167 2014-01-10  Allan McRae  <allan@archlinux.org>
52169         * po:sv.po: Update Swedish translation from translation project.
52171         * po/vi.po: Update Vietnamese translation from translation project.
52173         * po/eo.po: Update Esperanto translation from translation project.
52175         * po/cs.po: Update Czech translation from translation project.
52177         * po/nl.po: Update Dutch translation from translation project.
52179         * po/pl.po: Update Polish translation from translation project.
52181         * po/ru.po: Update Russian translation from translation project.
52183         * po/uk.po: Update Ukrainian translation from translation project.
52185 2014-01-08  Brooks Moses  <bmoses@google.com>
52187         * elf/dl-load.c: Fix comment typo.
52189 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52191         * po/header.pot: Rename to...
52192         * po/pot.header: ... this.
52193         * po/Makefile: Use pot.header.
52195 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52196             Maxim Kuvyrkov  <maxim@kugelworks.com>
52198         [BZ #16394]
52199         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52200         SRC and DEST against LEN.
52202 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52204         [BZ #16414]
52205         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52206         implementation.
52207         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52209 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52213 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52215         [BZ #16408]
52216         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52217         for large positive arguments.
52219 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52221         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52223         * math/auto-libm-test-in: Mark various tests with
52224         xfail-rounding:ldbl-128ibm.
52225         * math/auto-libm-test-out: Regenerated.
52227         [BZ #16407]
52228         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52229         Increase overflow threshold.
52231 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52233         [BZ #14286]
52234         * stdio-common/vfprintf.c: Check for integer overflow.
52236 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52238         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52239         the first argument and return value of __tls_get_addr_internal.
52241 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52243         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52244         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52246 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52248         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52249         * sysdeps/s390/rtld-global-offsets.sym: New file.
52250         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52251         GLIBC_2.19 symbol.
52252         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52253         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52254         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52255         ... this.
52256         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52257         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52258         ... this.
52259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52260         Regenerate.
52261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52262         Regenerate.
52263         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52264         halfs of GPRs for high_gprs contexts.
52265         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52266         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52267         field.
52268         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52269         uc_flags field.
52270         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52271         64 bit versions:
52272         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52273         for high GPRs (uc_high_gprs) and for future extensions
52274         (__reserved).
52275         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52276         for future extensions (__reserved).
52277         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52278         64 bit versions:
52279         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52280         SC_HIGHGPRS offset definition.
52281         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52282         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52284         * Versions.def: Add GLIBC_2.19 for libpthread.
52285         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52286         siglongjmp for libpthread with GLIBC_2.19 symver.
52287         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52288         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52289         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52290         * sysdeps/s390/__longjmp.c: New file.
52291         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52292         * sysdeps/s390/longjmp.c: New file.
52293         * sysdeps/s390/setjmp.S: New file.
52294         * sysdeps/s390/sigjmp.S: New file.
52295         * sysdeps/s390/v1-longjmp.c: New file.
52296         * sysdeps/s390/v1-setjmp.h: New file.
52297         * sysdeps/s390/v1-sigjmp.c: New file.
52298         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52299         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52300         GLIBC_2.19 version.
52301         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52302         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52303         versioned symbols for ____longjmp_chk.
52304         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52305         Likewise.
52306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52307         Regenerate.
52308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52309         Regenerate.
52310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52311         Regenerate.
52312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52313         Regenerate.
52314         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52315         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52316         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52317         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52318         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52319         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52320         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52321         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52322         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52323         * sysdeps/s390/rtld-__longjmp.c: New file.
52324         * sysdeps/s390/rtld-setjmp.S: New file.
52326 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52328         [BZ #16400]
52329         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52330         Return -__logl (x) for small positive arguments without evaluating
52331         a polynomial.
52333 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52335         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52336         Rename to ...
52337         (__ptrace_peeksiginfo_args): ... this.
52338         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52339         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52340         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52342 2014-01-06  Allan McRae  <allan@archlinux.org>
52344         * inet/netinet/in.h: Fix typo in comment.
52346 2014-01-05  Andreas Jaeger  <aj@suse.de>
52348         * sysdeps/i386/fpu/libm-test-ulps: Update.
52350 2014-01-05  Allan McRae  <allan@archlinux.org>
52352         * po/libc.pot: Regenerated.
52354         * malloc/memusagestat.c: Fix gettext call formatting.
52356 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52358         * nscd/nscd.c: Improve usage() output.
52360 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52362         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52363         * sysdeps/unix/sysv/linux/configure: Regenerated.
52364         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52365         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52367 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52369         [BZ #16390]
52370         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52371         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52373 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52376         extra tokens at end of #undef directive.
52377         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52378         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52379         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52381 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52383         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52385         * math/auto-libm-test-in: Mark various tests with
52386         xfail-rounding:ldbl-128ibm.
52387         * math/auto-libm-test-out: Regenerated.
52389 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52391         [BZ #16386]
52392         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52393         numbers with subnormal high part when calculating exponent.
52395         [BZ #16385]
52396         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52397         fabs.
52399         [BZ #16384]
52400         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52401         M_LN2l.
52402         (__ieee754_acoshl): Use __log1pl not __log1p.
52404 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52406         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52407         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52408         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52409         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52410         (reused_arena, arena_get2): Convert to GNU style.
52411         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52412         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52413         (memalign_check, __malloc_set_state): Likewise.
52414         * malloc/mallocbug.c (main): Likewise.
52415         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52416         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52417         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52418         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52419         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52420         (__posix_memalign, malloc_info): Likewise.
52421         * malloc/malloc.h: Likewise.
52422         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52423         (mallochook, memalignhook, reallochook, mabort): Likewise.
52424         * malloc/mcheck.h: Likewise.
52425         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52426         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52427         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52428         * malloc/morecore.c (__default_morecore): Likewise.
52429         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52430         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52431         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52432         (print_and_abort): Likewise.
52433         * malloc/obstack.h: Likewise.
52434         * malloc/set-freeres.c (__libc_freeres): Likewise.
52435         * malloc/tst-mallocstate.c (main): Likewise.
52436         * malloc/tst-mtrace.c (main): Likewise.
52437         * malloc/tst-realloc.c (do_test): Likewise.
52439 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52441         [BZ #16366]
52442         * nscd/netgroupcache.c (do_notfound): New function.
52443         (addgetnetgrentX): Use it.
52445         [BZ # 16365]
52446         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52447         NSS_STATUS_NOTFOUND.
52449 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52451         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52454 2014-01-01  Allan McRae  <allan@archlinux.org>
52456         * scripts/update-copyrights: Update configure input file suffix.
52458         * NEWS: Update copyright year.
52459         * catgets/gencat.c: Likewise.
52460         * csu/version.c: Likewise.
52461         * debug/catchsegv.sh: Likewise.
52462         * debug/pcprofiledump.c: Likewise.
52463         * debug/xtrace.sh: Likewise.
52464         * elf/ldconfig.c: Likewise.
52465         * elf/ldd.bash.in: Likewise.
52466         * elf/pldd.c: Likewise.
52467         * elf/sotruss.ksh: Likewise.
52468         * elf/sprof.c: Likewise.
52469         * iconv/iconv_prog.c: Likewise.
52470         * iconv/iconvconfig.c: Likewise.
52471         * locale/programs/locale.c: Likewise.
52472         * locale/programs/localedef.c: Likewise.
52473         * login/programs/pt_chown.c: Likewise.
52474         * malloc/memusage.sh: Likewise.
52475         * malloc/memusagestat.c: Likewise.
52476         * malloc/mtrace.pl: Likewise.
52477         * manual/libc.texinfo: Likewise.
52478         * nscd/nscd.c: Likewise.
52479         * nss/getent.c: Likewise.
52480         * nss/makedb.c: Likewise.
52481         * posix/getconf.c: Likewise.
52482         * scripts/test-installation.pl: Likewise.
52484         * All files with FSF copyright notices: Update copyright dates
52485         using scripts/update-copyrights.
52486         * intl/plural.c: Regenerated.
52487         * locale/programs/charmap-kw.h: Likewise.
52488         * locale/programs/locfile-kw.h: Likewise.
52490 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52492         * sysdeps/unix/sysv/linux/configure: Regenerated.
52493         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52494         the linux/fanotify.h header.
52495         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52496         HAVE_LINUX_FANOTIFY_H is defined.
52498 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52500         * benchtests/cos-inputs: New inputs.
52501         * benchtests/sin-inputs: Likewise.
52503         * benchtests/atan-inputs: New inputs. Fix name of multiple
52504         precision fallback inputs.
52506         * benchtests/atanh-inputs: New inputs.
52507         * benchtests/tanh-inputs: Likewise.
52509         * benchtests/acosh-inputs: New inputs.
52510         * benchtests/asinh-inputs: Likewise.
52512         * benchtests/cosh-inputs: New inputs.
52513         * benchtests/sinh-inputs: Likewise.
52515         * benchtests/acos-inputs: Add more inputs.
52516         * benchtests/asin-inputs: Likewise.
52518 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52520         [BZ #16375]
52521         * manual/arith.texi: Fix spelling.
52522         * manual/charset.texi: Likewise.
52523         * manual/errno.texi: Likewise.
52524         * manual/filesys.texi: Likewise.
52525         * manual/lang.texi: Likewise.
52526         * manual/llio.texi: Likewise.
52527         * manual/locale.texi: Likewise.
52528         * manual/message.texi: Likewise.
52529         * manual/resource.texi: Likewise.
52530         * manual/search.texi: Likewise.
52531         * manual/setjmp.texi: Likewise.
52532         * manual/stdio.texi: Likewise.
52533         * manual/string.texi: Likewise.
52534         * manual/sysinfo.texi: Likewise.
52535         * manual/time.texi: Likewise.
52537 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52539         * po/sl.po: New file.
52541 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52543         * .gitignore: Add core/.gdbinit/.gdb_history.
52545 2013-12-27  Allan McRae  <allan@archlinux.org>
52547         [BZ #16369]
52548         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52549         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52551 2013-12-24  Brooks Moses  <bmoses@google.com>
52553         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52554         all compilers that claim C++98 compliance, not just GCC.
52555         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52556         Likewise.
52558 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52560         * NEWS: Restore accidentally deleted bug-fix entries.
52562 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52563             Ondřej Bílka  <neleai@seznam.cz>
52565         [BZ #15073]
52566         * malloc/malloc.c (_int_free): Perform sanity check only if we
52567         have_lock.
52569 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52571         [BZ #12986]
52572         * manual/stdio.texi (String Input Conversions): Clarify that character
52573         classes are not supported.
52575 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52579 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52581         [BZ #16337]
52582         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52583         Calculate results for small negative arguments directly rather
52584         than using reflection formula with special underflow handling.
52586         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52587         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52588         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52589         (fchflags): Likewise.
52590         (revoke): Likewise.
52591         (setlogin): Likewise.
52592         (sigaltstack): Likewise.
52593         (wait4): Likewise.
52594         (sigblock): Remove.
52595         (sigsetmask): Likewise.
52596         (wait3): Likewise.
52597         (waitpid): Likewise.
52598         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52599         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52600         file.
52601         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52602         * sysdeps/unix/bsd/Makefile: ... here.
52603         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52604         * sysdeps/unix/bsd/Versions: ... here.
52605         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52606         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52607         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52608         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52609         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52610         * sysdeps/unix/bsd/sigblock.c: ... here.
52611         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52612         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52613         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52614         * sysdeps/unix/bsd/sigvec.c: ... here.
52615         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52616         * sysdeps/unix/bsd/tcdrain.c: ... here.
52617         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52618         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52619         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52620         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52621         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52622         * sysdeps/unix/bsd/wait.c: ... here.
52623         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52624         * sysdeps/unix/bsd/wait3.c: ... here.
52625         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52626         * sysdeps/unix/bsd/waitpid.c: ... here.
52628 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52630         [BZ #16356]
52631         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52632         round-to-nearest for [!USE_AS_EXPM1L].
52633         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52634         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52635         more tests of exp and exp10.  Expect some exp10 tests to miss
52636         exceptions or fail in directed rounding modes.
52637         * math/auto-libm-test-out: Regenerated.
52638         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52639         (exp10_test_tonearest): New function.
52640         (exp10_towardzero_test_data): New array.
52641         (exp10_test_towardzero): New function.
52642         (exp10_downward_test_data): New array.
52643         (exp10_test_downward): New function.
52644         (exp10_upward_test_data): New array.
52645         (exp10_test_upward): New function.
52646         (main): Call the new functions.
52647         * sysdeps/i386/fpu/libm-test-ulps: Update.
52648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52650 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52652         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52653         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52654         * math/auto-libm-test-out: Regenerated.
52655         * math/libm-test.inc (acosh_test_data): Add more tests.
52656         (atanh_test_data): Likewise.
52657         (ceil_test_data): Likewise.
52658         (copysign_test_data): Likewise.
52659         * sysdeps/i386/fpu/libm-test-ulps: Update.
52660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52662         * timezone/checktab.awk: Update from tzcode 2013i.
52663         * timezone/private.h: Likewise.
52664         * timezone/scheck.c: Likewise.
52665         * timezone/tzfile.h: Likewise.
52666         * timezone/tzselect.ksh: Likewise.
52667         * timezone/zdump.c: Likewise.
52668         * timezone/zic.c: Likewise.
52670         * math/auto-libm-test-in: Add tests of cpow.
52671         * math/auto-libm-test-out: Regenerated.
52672         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52673         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52674         mpc_cc_c.
52675         (func_calc_desc): Add mpc_cc_c union field.
52676         (test_functions): Add cpow.
52677         (special_fill_2pi): New function.
52678         (special_real_inputs): Add 2pi.
52679         (calc_generic_results): Handle mpc_cc_c.
52680         * sysdeps/i386/fpu/libm-test-ulps: Update.
52681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52683         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52684         csqrt, ctan and ctanh.
52685         * math/auto-libm-test-out: Regenerated.
52686         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52687         (TEST_COND_x86): Likewise.
52688         (ccos_test_data): Use AUTO_TESTS_c_c.
52689         (ccosh_test_data): Likewise.
52690         (cexp_test_data): Likewise.
52691         (clog_test_data): Likewise.
52692         (csqrt_test_data): Likewise.
52693         (ctan_test_data): Likewise.
52694         (ctan_tonearest_test_data): Likewise.
52695         (ctan_towardzero_test_data): Likewise.
52696         (ctan_downward_test_data): Likewise.
52697         (ctan_upward_test_data): Likewise.
52698         (ctanh_test_data): Likewise.
52699         (ctanh_tonearest_test_data): Likewise.
52700         (ctanh_towardzero_test_data): Likewise.
52701         (ctanh_downward_test_data): Likewise.
52702         (ctanh_upward_test_data): Likewise.
52703         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52704         mpc_c_c.
52705         (func_calc_desc): Add mpc_c_c union field.
52706         (FUNC_mpc_c_c): New macro.
52707         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52708         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52709         ctanh.
52710         (special_fill_min_subnorm_p120): New function.
52711         (special_real_inputs): Add min_subnorm_p120.
52712         (calc_generic_results): Handle mpc_c_c.
52713         * sysdeps/i386/fpu/libm-test-ulps: Update.
52714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52716 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52718         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52719         (do_sin_slow): New functions.
52720         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52721         (cslow2, csloww1, csloww2): Use the new functions.
52723         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52724         Use M to change sign of result instead of X.  Assume X is
52725         positive.
52726         (csloww1): Likewise.
52727         (__sin): Adjust.
52728         (__cos): Adjust.
52730         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52731         arguments A and DA.
52732         (__sin): Adjust.
52733         (__cos): Likewise.
52735         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52736         (__cos): Likewise.
52737         (sloww1): Don't adjust sign of DX.
52738         (csloww1): Likewise.
52739         (sloww2): Use X directly and don't adjust sign of DX.
52740         (csloww2): Likewise.
52742 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52744         * math/auto-libm-test-in: Add tests of cabs and carg.
52745         * math/auto-libm-test-out: Regenerated.
52746         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52747         (carg_test_data): Likewise.
52748         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52749         mpc_c_f.
52750         (func_calc_desc): Add mpc_c_f union field.
52751         (test_functions): Add cabs and carg.
52752         (calc_generic_results): Handle mpc_c_f.
52754         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52755         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52756         as a macro and a compat symbol.
52757         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52758         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52759         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52760         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52761         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52762         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52763         not use .hidden.
52764         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52765         Likewise.
52766         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52767         Likewise.
52768         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52769         Likewise.
52770         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52771         Likewise.
52772         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52773         Likewise.
52774         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52775         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52776         from GLIBC_2.3.2.
52778 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52782 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52784         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52785         trailing whitespace removed.
52786         * scripts/config.guess: Update to version 2013-11-29.
52787         * scripts/config.sub: Update to version 2013-10-01.
52789         * math/auto-libm-test-in: Add tests of sincos.
52790         * math/auto-libm-test-out: Regenerated.
52791         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52792         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52793         mpfr_f_11.
52794         (func_calc_desc): Add mpfr_f_11 union field.
52795         (test_functions): Add sincos.
52796         (calc_generic_results): Handle mpfr_f_11.
52797         * sysdeps/i386/fpu/libm-test-ulps: Update.
52798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52800 2013-12-19  Andreas Schwab  <schwab@suse.de>
52802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52803         CALL_MCOUNT.
52804         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52805         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52806         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52808 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52810         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52811         * sysdeps/i386/fpu/libm-test-ulps: Update.
52812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52814         [BZ #16293]
52815         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52816         round-to-nearest mode when using frndint.
52817         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52818         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52820         Likewise.
52821         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52822         sinh test to fail.
52823         * math/auto-libm-test-out: Regenerated.
52824         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52825         (TEST_COND_x86): Likewise.
52826         (expm1_tonearest_test_data): New array.
52827         (expm1_test_tonearest): New function.
52828         (expm1_towardzero_test_data): New array.
52829         (expm1_test_towardzero): New function.
52830         (expm1_downward_test_data): New array.
52831         (expm1_test_downward): New function.
52832         (expm1_upward_test_data): New array.
52833         (expm1_test_upward): New function.
52834         (main): Run the new test functions.
52835         * sysdeps/i386/fpu/libm-test-ulps: Update.
52836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52838         * include/features.h: Update comment documenting feature test
52839         macros.  Mention _DEFAULT_SOURCE in comment.
52840         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52841         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52842         _BSD_SOURCE and _SVID_SOURCE.
52843         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52844         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52845         !_SVID_SOURCE]: Likewise.
52846         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52847         (__USE_POSIX_IMPLICITLY): Define.
52848         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52849         (_POSIX_SOURCE): Undefine and redefine.
52850         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52851         (_POSIX_C_SOURCE): Likewise.
52852         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52853         (Feature Test Macros): Update documentation of default features.
52855 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52857         * benchtests/Makefile: Add bench-strtok.
52858         * benchtests/bench-strtok.c: New file: strtok benchtest.
52860 2013-12-19  Allan McRae  <allan@archlinux.org>
52862         * manual/install.texi: Suppress menu for plain text output.
52863         * INSTALL: Regenerated.
52865 2013-12-18  Brooks Moses  <bmoses@google.com>
52867         [BZ #15846]
52868         * misc/getauxval.c: Include errno.h.
52869         (__getauxval): Set errno to ENOENT if the requested type is not
52870         found.
52871         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52872         don't declare with __attribute_const__.
52873         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52874         * manual/startup.texi: Document that getauxval sets errno.
52876 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52878         * math/auto-libm-test-in: Add tests of jn and yn.
52879         * math/auto-libm-test-out: Regenerated.
52880         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52881         (yn_test_data): Likewise.
52882         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52883         mpfr_if_f.
52884         (func_calc_desc): Add mpfr_if_f union field.
52885         (FUNC_mpfr_if_f): New macro.
52886         (test_functions): Add jn and yn.
52887         (calc_generic_results): Assert type of second input for
52888         mpfr_ff_f.  Handle mpfr_if_f.
52889         (output_for_one_input_case): Disable all checking for arguments
52890         fitting floating-point types in case of an integer argument.
52891         * sysdeps/i386/fpu/libm-test-ulps: Update.
52892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52895         Don't expect fegetround reference in libm.so.
52897 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52899         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52900         $(config-cflags-nofma).
52902 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52904         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52905         * math/auto-libm-test-out: Regenerated.
52907         [BZ #16338]
52908         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52909         to determine exponent and adjust argument to have exponent of -1.
52910         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52911         log2.
52912         * math/auto-libm-test-out: Regenerated.
52913         * sysdeps/i386/fpu/libm-test-ulps: Update.
52914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52916 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52918         * manual/probes.texi: Remove cases when per-thread arenas are
52919         disabled.
52921 2013-12-18  Andreas Schwab  <schwab@suse.de>
52923         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52924         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52925         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52926         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52927         * sysdeps/i386/i686/multiarch/Makefile: Update.
52928         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52930 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52932         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52933         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52935 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52937         [BZ #15968]
52938         Support TZ transition times < 00:00:00.
52939         This is needed for version-3 tz-format files; it supports time
52940         stamps past 2037 for America/Godthab (the only entry in the tz
52941         database for which this change is relevant).
52942         * manual/time.texi (TZ Variable): Document transition times
52943         from -167:59:59 through -00:00:01.
52944         * time/tzset.c (tz_rule): Time of day is now signed.
52945         (__tzset_parse_tz): Parse negative time of day.
52947         Document TZ transition times >= 25:00:00.
52948         * manual/time.texi (TZ Variable): Document transition times from
52949         25:00:00 through 167:59:59.  These are already supported, and this
52950         support will help with version-3 tz-format files.
52952         * manual/time.texi (TZ Variable): Modernize North America example
52953         to reflect current (i.e., 2007-and-later) daylight saving rules.
52955         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52957 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52959         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52960         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52961         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52962         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52963         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52964         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52965         * sysdeps/unix/bsd/clock.c: Likewise.
52966         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52967         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52968         * sysdeps/unix/bsd/init-posix.c: Likewise.
52969         * sysdeps/unix/bsd/poll.c: Likewise.
52970         * sysdeps/unix/bsd/ptsname.c: Likewise.
52971         * sysdeps/unix/bsd/seekdir.c: Likewise.
52972         * sysdeps/unix/bsd/setegid.c: Likewise.
52973         * sysdeps/unix/bsd/seteuid.c: Likewise.
52974         * sysdeps/unix/bsd/setgid.c: Likewise.
52975         * sysdeps/unix/bsd/setrgid.c: Likewise.
52976         * sysdeps/unix/bsd/setruid.c: Likewise.
52977         * sysdeps/unix/bsd/setsid.c: Likewise.
52978         * sysdeps/unix/bsd/setuid.c: Likewise.
52979         * sysdeps/unix/bsd/sigaction.c: Likewise.
52980         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52981         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52982         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52983         * sysdeps/unix/bsd/telldir.c: Likewise.
52984         * sysdeps/unix/bsd/times.c: Likewise.
52985         * sysdeps/unix/bsd/usleep.c: Likewise.
52987         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52988         ($(objpfx)libbsd-compat.a): Remove rule.
52990         * include/features.h (__FAVOR_BSD): Do not define.
52991         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52992         features conflicting with POSIX.
52993         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52994         (_BSD_SOURCE): Remove description of not being a subset of other
52995         feature test macros.
52996         * manual/job.texi (getpgrp): Do not document BSD version.
52997         (getpgid): Do not document by reference to BSD getpgrp.
52998         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52999         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53000         * signal/signal.h [__FAVOR_BSD]: Likewise.
53001         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53002         instead of making contents conditional on [__FAVOR_BSD].
53003         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53005 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53009 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53011         [BZ #16314]
53012         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53013         values below 2**-450, not 2**-500.
53014         * math/auto-libm-test-in: Don't allow spurious underflow from
53015         hypot.
53016         * math/auto-libm-test-out: Regenerated.
53018         [BZ #16316]
53019         [BZ #16330]
53020         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53021         values of ha and hb and sort them after adjusting subnormal
53022         arguments.
53023         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53024         Likewise.
53025         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53026         values of ea and eb and sort them after adjusting subnormal
53027         arguments.
53028         * math/auto-libm-test-in: Do not expect some hypot tests of
53029         subnormals to fail.  Add more hypot tests.
53030         * math/auto-libm-test-out: Regenerated.
53032 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53034         [BZ #13304]
53035         * sysdeps/sh/s_fma.c: New file.
53036         * sysdeps/sh/s_fmaf.c: New file.
53037         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53038         version.
53039         * sysdeps/sh/Implies: Add sh/soft-fp.
53041 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53043         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53044         level of indirection to members `objname', `errstring', `malloced'.
53045         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53046         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53047         it as the __longjmp argument (just pass 1 instead).
53048         (_dl_catch_error): Initialize C with argument pointers and address of
53049         volatile local ERRCODE rather than copying values out of C at return.
53051 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53053         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53054         * math/auto-libm-test-out: Regenerated.
53055         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53056         (hypot_test_data): Likewise.
53057         (pow_test_data): Likewise.
53058         (pow_tonearest_test_data): Likewise.
53059         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53060         mpfr_ff_f.
53061         (func_calc_desc): Add mpfr_ff_f union field.
53062         (FUNC_mpfr_ff_f): New macro.
53063         (test_functions): Add atan2, hypot and pow.
53064         (special_fill_min): New function.
53065         (special_fill_minus_min): Likewise.
53066         (special_fill_min_subnorm): Likewise.
53067         (special_fill_minus_min_subnorm): Likewise.
53068         (special_real_inputs): Add min, -min, min_subnorm and
53069         -min_subnorm.
53070         (calc_generic_results): Handle mpfr_ff_f.
53071         * sysdeps/i386/fpu/libm-test-ulps: Update.
53072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53074 2013-12-16  Will Newton  <will.newton@linaro.org>
53076         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53077         (Aligned Memory Blocks): Add documentation for aligned_alloc
53078         and suggest it as an alternative to posix_memalign.
53079         (Hooks for Malloc): Document __memalign_hook is also called
53080         for aligned_alloc.  (Summary of Malloc): Add summary for
53081         aligned alloc.  Document __memalign_hook is also called
53082         for aligned_alloc.
53084 2013-12-16  Will Newton  <will.newton@linaro.org>
53086         * manual/memory.texi (Malloc Examples): Clarify default
53087         alignment documentation.  Suggest posix_memalign rather
53088         than memalign or valloc.
53089         (Aligned Memory Blocks): Remove suggestion to use memalign
53090         or valloc.  Remove obsolete comment about BSD.
53091         Document memalign errno values and mark the function obsolete.
53092         Document posix_memalign returned error codes.  Mark valloc
53093         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53094         called for posix_memalign and valloc.
53095         (Summary of Malloc): Add posix_memalign to function summary.
53096         __memalign_hook is also called for posix_memalign and valloc.
53098 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53100         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53101         TAYLOR_SIN.
53102         (__sin): Adjust.
53103         (__cos): Likewise.
53104         (sloww): Use mynumber union.  Expand ternary operator into
53105         if-else statements.
53106         (cslow): use mynumber union.
53108 2013-12-16  Allan McRae  <allan@archlinux.org>
53110         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53111         * configure: Regenerated.
53113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53115         [BZ #14120]
53116         * configure.ac: Added --enable-maintainer-mode. Check for
53117         autoconf when enabled.
53118         * configure: Regenerated.
53120         * nscd/nscd.service: New file.
53121         * nscd/nscd.tmpfiles: New file.
53123 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53125         [BZ #12100]
53126         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53127         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53128         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53129         (strstr): Add __strstr_sse2_unaligned ifunc.
53130         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53131         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53132         (strcasestr): Remove __strcasestr_sse42 ifunc.
53133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53137 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53139         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53140         * sysdeps/sh/bits/fenv.h: ... here.
53141         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53143 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53145         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53148         hypotf multiarch implementations.
53149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53152         multiarch hypot for PPC64.
53153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53154         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53155         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53156         multiarch hypotf for PPC64.
53158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53159         modff multiarch implementations.
53160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53163         multiarch modf for PPC64.
53164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53167         multiarch modff for PPC64.
53169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53170         and logl multiarch implementations.
53171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53174         multiarch logb for PPC64.
53175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53178         multiarch logb for PPC64.
53179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53182         multiarch logb for PPC64.
53184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53185         isinff multiarch implementation.
53186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53187         file.
53188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53190         multiarch isinf for PPC64.
53191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53192         file.
53193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53194         multiarch isinff for PPC64.
53196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53197         finitef multiarch implementation.
53198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53199         file.
53200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53202         multiarch finite for PPC64.
53203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53204         file.
53205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53206         multiarch finitef for PPC64.
53208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53209         lrint multiarch implementation.
53210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53211         file.
53212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53214         multiarch llrint for PPC64.
53215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53216         multiarch lrint for PPC64.
53218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53219         copysignf multiarch implementation.
53220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53221         file.
53222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53223         file.
53224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53225         multiarch copysign for PPC64.
53226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53227         multiarch copysignf for PPC64.
53229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53230         multiarch implementation.
53231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53232         file.
53233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53234         file.
53235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53236         file.
53237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53238         file.
53239         multiarch llround for PPC64.
53240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53241         multiarch trunc for PPC64.
53242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53243         multiarch truncf for PPC64.
53245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53246         multiarch implementation.
53247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53248         file.
53249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53250         file.
53251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53252         file.
53253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53254         file.
53255         multiarch llround for PPC64.
53256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53257         multiarch round for PPC64.
53258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53259         multiarch roundf for PPC64.
53261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53262         multiarch implementation.
53263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53264         file.
53265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53266         file.
53267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53268         file.
53269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53270         file.
53271         multiarch llround for PPC64.
53272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53273         multiarch floor for PPC64.
53274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53275         multiarch floorf for PPC64.
53277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53278         multiarch implementation.
53279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53280         file.
53281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53282         file.
53283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53284         file.
53285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53286         file.
53287         multiarch llround for PPC64.
53288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53289         multiarch ceil for PPC64.
53290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53291         multiarch ceilf for PPC64.
53293         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53294         multiarch implementation.
53295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53296         file.
53297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53298         file.
53299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53300         file.
53301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53302         multiarch llround for PPC64.
53303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53304         multiarch lround for PPC64.
53306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53307         multiarch implementation.
53308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53311         file.
53312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53315         multiarch isnan for PPC64.
53316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53317         multiarch isnanf for PPC64.
53319         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53320         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53321         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53322         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53323         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53326         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53327         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53328         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53332         multiarch implementations.
53333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53334         (__libc_ifunc_impl_list): Likewise.
53335         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53336         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53337         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53338         multiarch stpcpy for PPC64.
53340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53341         multiarch implementations.
53342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53343         (__libc_ifunc_impl_list): Likewise.
53344         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53345         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53346         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53347         multiarch strcpy for PPC64.
53349         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53350         redefine function name.
53351         (_wordcopy_fwd_dest_aligned): Likewise.
53352         (_wordcopy_bwd_aligned): Likewise.
53353         (_wordcopy_bwd_dest_aligned): Likewise.
53354         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53355         multiarch implementations.
53356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53357         (__libc_ifunc_impl_list): Likewise.
53358         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53359         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53360         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53361         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53362         multiarch wcscpy for PPC64.
53364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53365         multiarch implementations.
53366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53367         (__libc_ifunc_impl_list): Likewise.
53368         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53369         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53370         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53371         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53372         multiarch wcscpy for PPC64.
53374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53375         multiarch implementations.
53376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53377         (__libc_ifunc_impl_list): Likewise.
53378         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53379         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53380         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53381         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53382         multiarch wcsrchr for PPC64.
53384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53385         multiarch implementations.
53386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53387         (__libc_ifunc_impl_list): Likewise.
53388         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53389         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53390         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53391         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53392         multiarch wcschr for PPC64.
53394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53395         multiarch implementations.
53396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53397         (__libc_ifunc_impl_list): Likewise.
53398         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53399         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53400         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53401         multiarch strchrnul for PPC64.
53403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53404         implementations.
53405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53406         (__libc_ifunc_impl_list): Likewise.
53407         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53408         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53409         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53410         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53411         strchr for PPC64.
53413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53414         implementations.
53415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53416         (__libc_ifunc_impl_list): Likewise.
53417         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53418         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53419         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53420         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53421         strncmp for PPC64.
53423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53424         multiarch implementations.
53425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53426         (__libc_ifunc_impl_list): Likewise.
53427         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53428         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53429         strncasecmp for PPC64.
53430         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53431         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53432         multiarch strncasecmp_l for PPC64.
53434         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53435         multiarch implementations.
53436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53437         (__libc_ifunc_impl_list): Likewise.
53438         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53440         multiarch strcasecmp for PPC64.
53441         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53442         file.
53443         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53444         multiarch strcasecmp_l for PPC64.
53446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53447         implementations.
53448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53449         (__libc_ifunc_impl_list): Likewise.
53450         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53451         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53452         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53453         strnlen for PPC64.
53455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53456         implementations.
53457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53458         (__libc_ifunc_impl_list): Likewise.
53459         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53460         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53461         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53462         strlen for PPC64.
53464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53465         implementations.
53466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53467         (__libc_ifunc_impl_list): Likewise.
53468         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53469         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53470         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53471         rawmemrchr for PPC64.
53473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53474         implementation.
53475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53476         (__libc_ifunc_impl_list): Likewise.
53477         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53478         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53479         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53480         memrchr for PPC64.
53482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53483         implementation.
53484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53485         (__libc_ifunc_impl_list): Likewise.
53486         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53487         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53488         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53489         memchr for PPC64.
53491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53492         implementation.
53493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53494         (__libc_ifunc_impl_list): Likewise.
53495         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53496         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53497         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53498         mempcpy for PPC64.
53500         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53501         avoid cretion of __bzero symbol.
53502         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53503         Likewise.
53504         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53505         Likewise.
53506         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53507         Likewise.
53508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53509         multiarch implementations.
53510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53511         (__libc_ifunc_impl_list): Likewise.
53512         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53513         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53514         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53515         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53516         bzero for PPC32.
53517         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53518         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53519         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53520         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53521         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53522         memset for PPC64.
53523         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53525         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53527         implementations.
53528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53529         (__libc_ifunc_impl_list): Likewise.
53530         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53531         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53532         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53533         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53534         memcmp for PPC64.
53536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53537         multiarch for POWER/PPC64.
53538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53539         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53540         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53541         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53542         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53543         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53544         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53545         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53546         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53547         memcpy for PPC64.
53549         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53550         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53551         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53552         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53553         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53554         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53555         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53556         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53557         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53558         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53559         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53560         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53561         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53562         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53563         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53572 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53574         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53576 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53578         * benchtests/Makefile (bench): Add exp2 and log2.
53579         (LDLIBS-bench-exp2): Add -lm.
53580         (LDLIBS-bench-log2): Likewise.
53581         * benchtests/exp2-inputs: New inputs file.
53582         * benchtests/log2-inputs: New inputs file.
53583         * benchtests/log-inputs: Add new inputs.
53584         * benchtests/tan-inputs: Likewise.
53586 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53588         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53589         definition...
53590         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53591         (csloww2): ... from here.
53593         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53594         instead of structures.
53595         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53596         (POLYNOMIAL): Likewise.
53597         (TAYLOR_SLOW): Likewise.
53598         (__sin): Likewise.
53599         (__cos): Likewise.
53600         (slow1): Likewise.
53601         (slow2): Likewise.
53602         (sloww): Likewise.
53603         (sloww1); Likewise.
53604         (sloww2): Likewise.
53605         (bsloww1): Likewise.
53606         (bsloww2): Likewise.
53607         (cslow2): Likewise.
53608         (csloww): Likewise.
53609         (csloww1): Likewise.
53610         (csloww2): Likewise.
53612 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53614         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53615         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53616         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53617         * malloc/hooks.c (realloc_check): Likewise.
53619         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53620         * malloc/arena.c: Remove PER_THREAD conditional.
53621         [!PER_THREAD]: Remove code.
53622         (ptmalloc_unlock_all2): Likewise.
53623         (ptmalloc_init): Likewise.
53624         (_int_new_arena): Likewise.
53625         (arena_get2): Likewise.
53626         * malloc/hooks.c (__malloc_get_state): Likewise.
53627         (__malloc_set_state): Likewise.
53628         * malloc/malloc.c: Likewise.
53629         (struct malloc_state): Likewise.
53630         (struct malloc_par): Likewise.
53631         (__libc_realloc): Likewise.
53632         (__libc_mallopt): Likewise.
53634 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53636         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53638 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53640         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53641         macro to a function.  Check for zero perturb_byte.
53642         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53644         * malloc/malloc.c: (force_reg): Remove.
53645         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53646         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53647         force_reg by atomic_forced_read.
53648         * malloc/arena.c (ptmalloc_init): Likewise.
53649         * malloc/hooks.c (top_check): Likewise.
53651 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53655 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53659 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53661         * math/auto-libm-test-in: Add tests of lgamma.
53662         * math/auto-libm-test-out: Regenerated.
53663         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53664         (M_LOG_2_SQRT_PIl): Likewise.
53665         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53666         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53667         mpfr_f_f1.
53668         (func_calc_desc): Add mpfr_f_f1 union field.
53669         (ARGS1): New macro.
53670         (ARGS2): Likewise.
53671         (ARGS3): Likewise.
53672         (ARGS4): Likewise.
53673         (RET1): Likewise.
53674         (RET2): Likewise.
53675         (CALC): Likewise.
53676         (FUNC): Likewise.
53677         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53678         (test_functions): Add lgamma.
53679         (calc_generic_results): Handle mpfr_f_f1.
53680         * sysdeps/i386/fpu/libm-test-ulps: Update.
53681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53683 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53685         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53686         __mpn_add_n for PowerPC64/POWER7.
53687         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53688         __mpn_sub_n for PowerPC64/POWER7.
53690         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53691         __mpn_addmul_1 for PowerPC64.
53692         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53693         __mpn_submul_1 for PowerPC64.
53694         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53695         for PowerPC64.
53696         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53697         for PowerPC64.
53699 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53701         [BZ #15089]
53702         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53704 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53706         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53708         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53709         add multiarch folders.
53710         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53711         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53712         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53713         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53714         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53715         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53716         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53717         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53718         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53719         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53720         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53729         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53731         New file.
53732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53733         New file.
53734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53735         multiarch __ieee754_hypot for PowerPC32.
53736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53737         New file.
53738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53739         New file.
53740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53741         multiarch __ieee754_hypotf for PowerPC32.
53743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53744         long_double_symbol only if __logbl is defined.
53745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53746         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53747         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53748         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53749         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53750         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53751         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53752         path for implementation.
53753         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53756         logb, and logbl multiarch implementations for PowerPC32.
53757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53758         file.
53759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53760         file.
53761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53762         multiarch logb for PowerPC32.
53763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53764         file.
53765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53766         file.
53767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53768         multiarch logbf for PowerPC32.
53769         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53771         file.
53772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53773         multiarch logbl implementation for PowerPC32.
53775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53776         and modff multiarch implementations.
53777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53778         New file.
53779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53780         New file.
53781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53782         multiarch modf for PowerPC32.
53783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53784         New file.
53785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53786         New file.
53787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53788         multiarch modff for PowerPC32.
53790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53791         and lrintf multiarch implementations.
53792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53793         New file.
53794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53795         New file.
53796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53797         multiarch lrint for PowerPC32.
53798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53799         file: multiarch lrintf for PowerPC32.
53801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53802         and lroundf multiarch implementations.
53803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53804         New file.
53805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53806         New file.
53807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53808         New file.
53809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53810         multiarch lround for PowerPC32.
53811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53812         file: multiarch lroundf for PowerPC32.
53814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53815         copysign and copysignf multiarch implementations.
53816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53817         New file.
53818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53819         New file.
53820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53821         file: multiarch copysign for PowerPC32.
53822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53823         file: multiarch copysignf for PowerPC32.
53825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53826         and truncf multiarch implementations.
53827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53828         New file.
53829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53830         file.
53831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53832         multiarch trunc for PowerPC32.
53833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53834         New file.
53835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53836         New file.
53837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53838         multiarch truncf for PowerPC32.
53840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53841         and roundf multiarch implementations.
53842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53843         New file.
53844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53845         file.
53846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53847         multiarch round for PowerPC32.
53848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53849         New file.
53850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53851         New file.
53852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53853         multiarch roundf for PowerPC32.
53855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53856         and floorf multiarch implementations.
53857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53858         New file.
53859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53860         file.
53861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53862         multiarch floor for PowerPC32.
53863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53864         New file.
53865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53866         New file.
53867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53868         multiarch floorf for PowerPC32.
53870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53871         and ceilf multiarch implementations.
53872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53873         New file.
53874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53875         file.
53876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53877         multiarch ceil for PowerPC32.
53878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53879         New file.
53880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53881         file.
53882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53883         multiarch ceilf for PowerPC32.
53885         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53886         is defined.
53887         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53888         FINITEF is defined.
53889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53890         and finitef multiarch implementations.
53891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53892         New file.
53893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53894         file.
53895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53896         multiarch finite for PowerPC32.
53897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53898         New file.
53899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53900         file: multiarch finitef for PowerPC32.
53902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53903         and isinff multiarch implementations.
53904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53905         file.
53906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53907         file.
53908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53909         multiarch isinf for PowerPC32.
53910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53911         New file.
53912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53913         multiarch isinff for PowerPC32.
53915         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53916         alias when __isnan is defined.
53917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53918         and isnanf multiarch implementations.
53919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53920         file.
53921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53922         file.
53923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53924         file.
53925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53926         file.
53927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53928         multiarch isnan for PowerPC32.
53929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53930         New file.
53931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53932         New file.
53933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53934         multiarch isnanf for PowerPC32.
53936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53937         and sqrtf multiarch implementations.
53938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53939         file.
53940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53941         file.
53942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53943         multiarch sqrt for PowerPC32.
53944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53945         file.
53946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53947         file.
53948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53949         multiarch sqrtf for PowerPC32.
53951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53952         and llroundf multiarch implementations.
53953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53954         New file.
53955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53956         New file.
53957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53958         New file.
53959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53960         file: multiarch llround for PowerPC32.
53961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53962         file: multiarch llroundf for PowerPC32.
53964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53965         multiarch PowerPC32 fpu implementations.
53966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53967         New file.
53968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53969         New file.
53970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53971         multiarch llrint for PowerPC32.
53972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53973         New file.
53974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53975         New file.
53976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53977         file.
53979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53981         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53982         file.
53983         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53984         file.
53985         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53986         file.
53987         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53988         multiarch wordcopy for PPC32.
53989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53990         wordcopy objects.
53991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53992         (__libc_ifunc_impl_list): Likewise.
53993         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53994         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53995         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53996         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53997         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53998         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54000         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54002         file.
54003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54004         file.
54005         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54006         file.
54007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54008         multiarch wcscpy for PPC32.
54009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54010         multiarch objects.
54011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54012         (__libc_ifunc_impl_list): Likewise.
54013         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54014         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54015         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54016         sysdeps/powerpc/power6/wcscpy.c.
54018         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54020         file.
54021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54022         file.
54023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54024         file.
54025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54026         multiarch wcsrchr for PPC32.
54027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54028         multiarch objects.
54029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54030         (__libc_ifunc_impl_list): Likewise.
54031         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54032         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54033         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54034         sysdeps/powerpc/power6/wcsrchr.c.
54036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54037         file.
54038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54039         file.
54040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54042         multiarch wcschr for PPc32.
54043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54044         multiarch objects.
54045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54046         (__libc_ifunc_impl_list): Likewise.
54047         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54048         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54049         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54050         sysdeps/powerpc/power6/wcschr.c.
54052         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54053         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54054         file.
54055         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54056         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54057         file: multiarch strchr for PPC32.
54058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54059         multiarch objects.
54060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54061         (__libc_ifunc_impl_list): Likewise.
54063         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54064         name.
54065         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54066         file.
54067         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54068         file.
54069         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54070         multiarch strchrnul for PPC32.
54071         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54072         multiarch objects.
54073         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54074         (__libc_ifunc_impl_list): Likewise.
54076         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54077         file.
54078         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54079         multiarch strncasecmp for PPC32.
54080         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54081         file.
54082         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54083         multiarch strncasecmp_l for PPC32.
54084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54085         strncasecmp multiarch objects.
54086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54087         (__libc_ifunc_impl_list): Likewise.
54089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54090         file.
54091         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54092         multiarch strncasecmp for PPC32.
54093         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54094         New file.
54095         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54096         multiarch strcasecmp_l for PPC32.
54097         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54098         multiarch objects.
54099         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54100         (__libc_ifunc_impl_list): Likewise.
54102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54103         file.
54104         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54105         file.
54106         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54107         multiarch strncmp for PPC32.
54108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54109         multiarch objects.
54110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54111         (__libc_ifunc_impl_list): Likewise.
54113         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54114         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54115         file.
54116         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54117         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54119         multiarch objects.
54120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54121         (__libc_ifunc_impl_list): Likewise.
54123         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54124         file.
54125         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54126         file.
54127         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54129         multiarch objects.
54130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54131         (__libc_ifunc_impl_list): Likewise.
54133         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54134         file.
54135         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54136         file.
54137         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54138         multiarch rawmemchr for PPC32.
54139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54140         multiarch objects.
54141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54142         (__libc_ifunc_impl_list): Likewise.
54144         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54145         file.
54146         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54147         file.
54148         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54149         file: memrchr multiarch for PPC32.
54150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54151         multiarch objects.
54152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54153         (__libc_ifunc_impl_list): Likewise.
54155         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54156         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54157         file.
54158         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54159         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54160         multiarch memchr for PPC32.
54161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54162         multiarch objects.
54163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54164         (__libc_ifunc_impl_list): Likewise.
54166         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54167         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54168         file.
54169         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54170         file.
54171         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54172         file: multiarch mempcpy for PPC32.
54173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54174         multiarch objects.
54175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54176         (__libc_ifunc_impl_list): Likewise.
54178         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54179         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54180         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54182         multiarch bzero for PPC32.
54183         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54184         file.
54185         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54186         file.
54187         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54188         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54189         file: multiarch memset for PPC32.
54190         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54192         memset multiarch objects.
54193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54194         (__libc_ifunc_impl_list): Likewise.
54196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54197         file.
54198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54200         memcmp for PPC32.
54201         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54203         multiarch objects.
54204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54205         (__libc_ifunc_impl_list): Likewise.
54207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54210         file.
54211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54212         file.
54213         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54214         file.
54215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54216         multiarch memcpy for PPC32.
54217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54218         multiarch objects.
54219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54220         (__libc_ifunc_impl_list): Likewise.
54222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54223         support multiarch for POWER/PPC32.
54224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54225         Likewise.
54226         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54228         Implies file to make multiarch folder appers before the fpu and
54229         default folder for power4 configuration.
54231 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54233         * scripts/bench.pl: Append volatile keyword to type.
54235 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54237         * sysdeps/sh/sotruss-lib.c: New file.
54238         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54240 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54244 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54246         [BZ #6810]
54247         * math/w_tgamma.c: Include <errno.h>.
54248         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54249         * math/w_tgammaf.c: Include <errno.h>.
54250         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54251         * math/w_tgammal.c: Include <errno.h>.
54252         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54253         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54254         underflow.  Add more tgamma tests.
54255         * math/auto-libm-test-out: Regenerated.
54256         * sysdeps/i386/fpu/libm-test-ulps: Update.
54257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54259         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54260         sin, sinh, tan, tanh, tgamma, y0 and y1.
54261         * math/auto-libm-test-out: Regenerated.
54262         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54263         (TEST_COND_x86): Likewise.
54264         (M_E2l): Remove macro.
54265         (M_E3l): Likewise.
54266         (M_2_SQRT_PIl): Likewise.
54267         (M_SQRT_PIl): Likewise.
54268         (M_1_DIV_El): Likewise.
54269         (log_test_data): Use AUTO_TESTS_f_f.
54270         (log10_test_data): Likewise.
54271         (log1p_test_data): Likewise.
54272         (log2_test_data): Likewise.
54273         (sin_test_data): Likewise.
54274         (sin_tonearest_test_data): Likewise.
54275         (sin_towardzero_test_data): Likewise.
54276         (sin_downward_test_data): Likewise.
54277         (sin_upward_test_data): Likewise.
54278         (sinh_test_data): Likewise.
54279         (sinh_tonearest_test_data): Likewise.
54280         (sinh_towardzero_test_data): Likewise.
54281         (sinh_downward_test_data): Likewise.
54282         (sinh_upward_test_data): Likewise.
54283         (tan_test_data): Likewise.
54284         (tan_tonearest_test_data): Likewise.
54285         (tan_towardzero_test_data): Likewise.
54286         (tan_downward_test_data): Likewise.
54287         (tan_upward_test_data): Likewise.
54288         (tanh_test_data): Likewise.
54289         (tgamma_test_data): Likewise.
54290         (y0_test_data): Likewise.
54291         (y1_test_data): Likewise.
54292         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54293         (special_real_inputs): Add pi/4.
54294         * sysdeps/i386/fpu/libm-test-ulps: Update.
54295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54297 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54299         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54300         "longjmp_target" static probes.
54301         (__longjmp): Rename to __longjmp_symbol.
54302         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54303         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54304         on which longjmp to generate.
54305         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54306         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54307         probe.
54308         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54309         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54310         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54311         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54312         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54313         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54315         __longjmp_symbol based on which __longjmp to generate.
54316         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54317         probe.
54318         (setjmp): Rename to setjmp_symbol.
54319         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54320         (_setjmp): Rename to _setjmp_symbol.
54321         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54322         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54323         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54324         which setjmp to generate.
54325         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54326         "longjmp_target" static probes.
54328 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54330         * benchtests/README: Add note about output arguments.
54331         * benchtests/bench-sincos.c: Remove file.
54332         * benchtests/sincos-inputs: New file.
54333         * scripts/bench.pl: Identify output arguments and define
54334         static variables for them.
54336         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54338         [BZ #15941]
54339         * Makefile (INSTALL): Add install-plain.texi as the primary
54340         dependency.
54341         * manual/install-plain.texi: New file.
54342         * manual/install.texi: Include node directive only for
54343         non-plaintext output.
54345 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54347         * stdlib/longlong.h: Update from GCC.
54349         [BZ #6807]
54350         [BZ #15901]
54351         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54352         * math/w_j0f.c (y0f): Likewise.
54353         * math/w_j0l.c (__y0l): Likewise.
54354         * math/w_j1.c (y1): Likewise.
54355         * math/w_j1f.c (y1f): Likewise.
54356         * math/w_j1l.c (__y1l): Likewise.
54357         * math/w_jn.c (yn): Likewise.
54358         * math/w_jnf.c (ynf): Likewise.
54359         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54360         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54361         value for Bessel function domain errors outside _SVID_ mode.
54362         Adjust sign of return value for yn (negative integer, 0).
54363         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54364         by zero in return for negative x and set sign appropriately for
54365         negative n.
54366         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54367         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54368         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54369         expectations in error cases.
54370         (y1_test_data): Likewise.
54371         (yn_test_data): Likewise.
54372         * sysdeps/i386/fpu/libm-test-ulps: Update.
54373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54375 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54377         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54378         "64" to "64-v1".  Add "64-v2".
54379         (abi-64-options): Rename to ...
54380         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54381         (abi-64-condition): Rename to ...
54382         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54383         (abi-64-ld-soname): Rename to ...
54384         (abi-64-v1-ld-soname): ... this.
54385         (abi-64-v2-options): Define.
54386         (abi-64-v2-condition): Likewise.
54387         (abi-64-v2-ld-soname): Likewise.
54388         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54389         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54394 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54395             Alan Modra  <amodra@gmail.com>
54397         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54398         New versions for use with the ELFv2 ABI.
54399         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54400         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54401         declaration.
54402         (struct La_ppc64v2_retval): Likewise.
54403         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54404         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54405         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54406         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54407         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54408         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54409         Do not save or restore CR.
54410         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54411         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54412         return values for ELFv2 ABI.  Fix location of FPR return registers.
54413         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54414         updated values for _CALL_ELF == 2.
54415         (La_regs, La_retval, int_retval): Likewise.
54417 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54419         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54420         (FRAME_MIN_SIZE_PARM): Likewise.
54421         (FRAME_BACKCHAIN): Likewise.
54422         (FRAME_CR_SAVE): Likewise.
54423         (FRAME_LR_SAVE): Likewise.
54424         (FRAME_TOC_SAVE): Likewise.
54425         (FRAME_PARM_SAVE): Likewise.
54426         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54427         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54428         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54429         (call_mcount_parm_offset): New macro.
54430         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54431         (PROF): Use symbolic stack frame offsets.
54432         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54433         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54434         Redefine in terms of FRAME_MIN_SIZE.
54435         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54436         (_dl_profile_resolve): Likewise.  Update comment.
54437         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54438         symbols stack frame offsets.
54439         (__sigsetjmp): Likewise.
54440         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54441         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54442         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54443         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54446         (FRAME_BACKCHAIN): Remove.
54447         (FRAME_CR_SAVE): Likewise.
54448         (FRAME_LR_SAVE): Likewise.
54449         (FRAME_COMPILER_DW): Likewise.
54450         (FRAME_LINKER_DW): Likewise.
54451         (FRAME_TOC_SAVE): Likewise.
54452         (FRAME_PARM_SAVE): Likewise.
54453         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54454         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54455         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54457         (CHECK_SP): Use symbolic stack frame offsets.
54458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54459         zone" instead of caller's parameter save area for temp storage.
54460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54461         Likewise.  Also, use symbolic stack frame offsets.
54462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54463         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54464         our own stack frame instead of the caller's.
54465         (__socket): Use symbolic stack frame offsets.
54467 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54468             Alan Modra  <amodra@gmail.com>
54470         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54471         Define.
54472         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54473         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54474         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54475         New function.
54476         (elf_machine_fixup_plt): Call it.
54477         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54478         reloc arguments.
54479         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54480         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54481         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54482         r2 before calling target.
54484 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54485             Alan Modra  <amodra@gmail.com>
54487         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54488         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54489         versions of macros to support ELFv2 ABI.
54490         (LOCALENTRY): New macro.
54491         (ENTRY, EALIGN): Use it.
54492         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54493         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54494         fall through into ENTRY entry point.
54495         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54496         Only define if _CALL_ELF != 2.
54498         (elf_machine_matches_host): Verify ABI version matches.
54499         (RTLD_START): Use LOCALENTRY.
54500         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54501         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54502         (PLT_ENTRY_WORDS): New macro.
54503         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54504         (elf_machine_runtime_setup): Support ELFv2 ABI.
54505         (elf_machine_fixup_plt): Likewise.
54506         (elf_machine_plt_conflict): Likewise.
54507         (resolve_ifunc): Likewise.
54508         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54510         Likewise.
54511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54512         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54514         (makecontext): Support ELFv2 ABI.
54515         * elf/elf.h (EF_PPC64_ABI): Define.
54517 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54519         * sysdeps/powerpc/powerpc64/sysdep.h
54520         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54521         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54522         (ENTRY) [ASSEMBLER]: ... but instead here ...
54523         (EALIGN) [ASSEMBLER]: ... and here.
54524         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54525         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54526         (ENTRY_2) [!ASSEMBLER]: Use it.
54527         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54528         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54529         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54530         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54531         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54533         Use PPC64_LOAD_FUNCPTR.
54535         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54537 2013-12-04  Alan Modra  <amodra@gmail.com>
54539         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54540         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54541         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54542         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54544         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54545         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54546         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54547         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54548         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54549         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54551 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54554         (__makecontext): Fix incorrect CFI when backtracing out of
54555         context created via makecontext.
54556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54557         (__setcontext): Fix incorrect CFI during switch to new context.
54558         (__novec_setcontext): Likewise.
54560 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54562         [BZ #4772]
54563         * time/strptime_l.c (__strptime_internal): Allow modifiers
54564         in strptime.
54565         * time/tst-strptime.c (day_tests): Add testcase.
54567 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54569         * scripts/bench.pl: Skip over blank lines.
54571 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54573         [BZ #926]
54574         * manual/time.texi (Calendar Time): Clarify what timezone functions
54575         use.
54577 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54581 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54583         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54584         implementation.
54585         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54586         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54587         * debug/memset_chk.c (__memset_chk): Likewise.
54588         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54589         * debug/strncpy_chk.c: Likewise.
54591 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54593         [BZ #15268]
54594         [BZ #15425]
54595         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54596         (__ieee754_exp): For possibly underflowing results, check size of
54597         result and force underflow exception if required.
54598         * math/auto-libm-test-in: Add more tests of exp.
54599         * math/auto-libm-test-out: Regenerated.
54600         * sysdeps/i386/fpu/libm-test-ulps: Update.
54601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54603         [BZ #16283]
54604         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54605         * math/w_exp2f.c (__exp2f): Likewise.
54606         * math/w_exp2l.c (__exp2l): Likewise.
54607         * math/auto-libm-test-in: Do not allow missing errno on exp2
54608         underflow.
54609         * math/auto-libm-test-out: Regenerated.
54611 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54613         [BZ #16274]
54614         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54615         handle filename validation.
54616         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54617         (do_open): Delete.
54619 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54621         [BZ #6786]
54622         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54623         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54624         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54625         <float.h>.
54626         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54627         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54628         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54629         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54630         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54632         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54633         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54634         Add more erfc tests.
54635         * math/auto-libm-test-out: Regenerated.
54636         * sysdeps/i386/fpu/libm-test-ulps: Update.
54637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54639         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54640         exp2, expm1, j0 and j1.
54641         * math/auto-libm-test-out: Regenerated.
54642         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54643         (erfc_test_data): Likewise.
54644         (exp_test_data): Likewise.
54645         (exp_tonearest_test_data): Likewise.
54646         (exp_towardzero_test_data): Likewise.
54647         (exp_downward_test_data): Likewise.
54648         (exp_upward_test_data): Likewise.
54649         (exp10_test_data): Likewise.
54650         (exp2_test_data): Likewise.
54651         (expm1_test_data): Likewise.
54652         (j0_test_data): Likewise.
54653         (j1_test_data): Likewise.
54654         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54655         (input_flag_type): Add flag_xfail_rounding.
54656         (input_flags): Add xfail-rounding.
54657         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54658         (output_for_one_input_case): Handle flag_xfail_rounding.
54659         * sysdeps/i386/fpu/libm-test-ulps: Update.
54660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54662 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54664         [BZ #16289]
54665         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54666         division by 0.
54668 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54670         [BZ #16195]
54671         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54672         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54673         (STAP_PROBE0): New macro.
54674         (STAP_PROBE1): Likewise.
54675         (STAP_PROBE2): Likewise.
54676         (STAP_PROBE3): Likewise.
54677         (STAP_PROBE4): Likewise.
54679 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54681         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54683 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54685         * benchtests/Makefile (bench): Add sqrt.
54686         (LDLIBS-bench-sqrt): New.
54687         * benchtests/sqrt-input: New.
54689 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54691         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54692         (GAIH_EAI): Likewise.
54693         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54694         (gaih_inet): Likewise.
54695         (getaddrinfo): Don't use GAIH_EAI.
54697         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54698         (struct gaih): Remove definition.
54700 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54702         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54703         Use HERRNOP directly.
54705 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54709 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54711         * math/gen-auto-libm-tests.c (test_functions): Add more
54712         single-argument functions.
54713         (special_fill_pi_2): New function.
54714         (special_fill_minus_pi_2): Likewise.
54715         (special_fill_pi_6): Likewise.
54716         (special_fill_minus_pi_6): Likewise.
54717         (special_fill_pi_3): Likewise.
54718         (special_fill_2pi_3): Likewise.
54719         (special_fill_e): Likewise.
54720         (special_fill_1_e): Likewise.
54721         (special_fill_e_minus_1): Likewise.
54722         (special_real_inputs): Add more special inputs.
54723         (output_for_one_input_case): Do not require ERANGE on underflow to
54724         zero if round-to-nearest result does not underflow to zero, unless
54725         exact results required.
54726         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54727         atan, atanh, cbrt, cos and cosh.
54728         * math/auto-libm-test-out: Regenerated.
54729         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54730         (acos_tonearest_test_data): Likewise.
54731         (acos_towardzero_test_data): Likewise.
54732         (acos_downward_test_data): Likewise.
54733         (acos_upward_test_data): Likewise.
54734         (acosh_test_data): Likewise.
54735         (asin_test_data): Likewise.
54736         (asin_tonearest_test_data): Likewise.
54737         (asin_towardzero_test_data): Likewise.
54738         (asin_upward_test_data): Likewise.
54739         (asinh_test_data): Likewise.
54740         (atan_test_data): Likewise.
54741         (atanh_test_data): Likewise.
54742         (cbrt_test_data): Likewise.
54743         (cos_test_data): Likewise.
54744         (cos_tonearest_test_data): Likewise.
54745         (cos_towardzero_test_data): Likewise.
54746         (cos_downward_test_data): Likewise.
54747         (cos_upward_test_data): Likewise.
54748         (cosh_test_data): Likewise.
54749         (cosh_tonearest_test_data): Likewise.
54750         (cosh_towardzero_test_data): Likewise.
54751         (cosh_downward_test_data): Likewise.
54752         (cosh_upward_test_data): Likewise.
54753         * sysdeps/i386/fpu/libm-test-ulps: Update.
54754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54756 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54758         [BZ #6787]
54759         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54760         * math/w_exp10f.c (__exp10f): Likewise.
54761         * math/w_exp10l.c (__exp10l): Likewise.
54762         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54763         errno settings in existing tests.
54765         [BZ #14032]
54766         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54767         precision control set to double precision.
54768         * sysdeps/i386/fpu/w_sqrt.c: New file.
54769         * math/auto-libm-test-in: Add more tests.
54770         * math/auto-libm-test-out: Update.
54772         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54773         (sqrt_test_tonearest): New function.
54774         (sqrt_towardzero_test_data): New variable.
54775         (sqrt_test_towardzero): New function.
54776         (sqrt_downward_test_data): New variable.
54777         (sqrt_test_downward): New function.
54778         (sqrt_upward_test_data): New variable.
54779         (sqrt_test_upward): New function.
54780         (main): Call the new functions.
54782         * math/gen-auto-libm-tests.c: New file.
54783         * math/auto-libm-test-in: Likewise.
54784         * math/auto-libm-test-out: New generated file.
54785         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54786         variables.
54787         (%beautify): Add generated representations of zero.
54788         (top level): Set $auto_input and call parse_auto_input.
54789         (beautify): Remove trailing "f" from hex float constants.
54790         (parse_args): Handle XFAIL_TEST.
54791         (convert_condition): New function.
54792         (or_value): Likewise.
54793         (or_cond_value): Likewise.
54794         (generate_testfile): Handle AUTO_TESTS_* lines.
54795         (parse_auto_input): New function.
54796         * math/libm-test.inc (XFAIL_TEST): New macro.
54797         (ERRNO_UNCHANGED): Update value.
54798         (ERRNO_EDOM): Likewise.
54799         (ERRNO_ERANGE): Likewise.
54800         (IGNORE_RESULT): Likewise.
54801         (TEST_COND_flt_32): New macro.
54802         (TEST_COND_dbl_64): Likewise.
54803         (TEST_COND_ldbl_96_intel): Likewise.
54804         (TEST_COND_ldbl_96_m68k): Likewise.
54805         (TEST_COND_ldbl_128): Likewise.
54806         (TEST_COND_ldbl_128ibm): Likewise.
54807         (TEST_COND_long32): Likewise.
54808         (TEST_COND_long64): Likewise.
54809         (TEST_COND_before_rounding): Likewise.
54810         (TEST_COND_after_rounding): Likewise.
54811         (enable_test): Handle XFAIL_TEST flag.
54812         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54813         with finite results.
54814         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54815         auto-libm-test-out.
54817 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54818             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54820         [BZ #16214]
54821         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54822         __tls_get_addr_internal instead of __tls_get_offset in order to
54823         avoid GOT pointer dependency.  Make rtld export
54824         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54825         __tls_get_addr since we are a __tls_get_offset platform.
54826         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54827         GOT pointer being set up before.
54828         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54830 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54832         * manual/math.texi (Errors in Math Functions): Document accuracy
54833         goals.
54835         [BZ #15004]
54836         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54837         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54838         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54839         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54840         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54841         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54842         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54843         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54844         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54845         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54846         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54847         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54848         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54849         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54850         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54851         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54853         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54854         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54855         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54856         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54857         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54858         Likewise.
54859         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54860         Likewise.
54861         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54862         Likewise.
54863         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54864         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54865         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54866         atomic-feupdateenv and flt-rounds.
54867         * sysdeps/powerpc/nofpu/Versions (libc): Add
54868         __atomic_feholdexcept, __atomic_feclearexcept,
54869         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54870         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54871         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54872         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54873         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54874         here.
54875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54876         Update.
54878         * manual/arith.texi (FP Exceptions): Document that exceptions may
54879         not be raised when matherr is used.
54880         (Math Error Reporting): Document overflow in directed rounding
54881         modes.  Document that errno may not be set when finite values are
54882         returned on overflow.  Document intent to set errno on underflow
54883         only for underflow to zero.
54885         [BZ #16271]
54886         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54887         round-to-nearest then adjust result for other rounding modes.
54888         * include/fenv.h (fegetround): Use libm_hidden_proto.
54889         * math/fegetround.c (fegetround): Use libm_hidden_def.
54890         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54891         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54892         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54893         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54894         Likewise.
54895         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54896         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54897         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54898         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54900 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54902         [BZ #16077]
54903         * nss/Versions (libnss_files): Add
54904         _nss_files_gethostbyname3_r.
54905         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54906         New function.
54907         (HOST_DB_LOOKUP): Remove macro.
54908         (_nss_files_gethostbyname_r): Implement function without the
54909         HOST_DB_LOOKUP macro.
54910         (_nss_files_gethostbyname2_r): Likewise.
54912 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54914         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54916 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54918         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54919         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54920         warning.
54922 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54924         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54925         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54926         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54927         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54928         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54929         __fe_nomask_env_priv and attribute_hidden.
54930         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54931         (libc_feupdateenv_test_ppc): Likewise.
54932         (libc_feresetround_ppc): Likewise.
54933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54934         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54935         compat_symbol macro.
54936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54937         (__fe_nomask_env): Likewise.
54938         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54940 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54942         * string/Makefile: Remove ifunc tests.
54943         * string/test-string.h: Define TEST_IFUNC.
54944         * string/test-bcopy-ifunc.c: Remove.
54945         * string/test-bzero-ifunc.c: Likewise.
54946         * string/test-memccpy-ifunc.c: Likewise.
54947         * string/test-memchr-ifunc.c: Likewise.
54948         * string/test-memcmp-ifunc.c: Likewise.
54949         * string/test-memcpy-ifunc.c: Likewise.
54950         * string/test-memmem-ifunc.c: Likewise.
54951         * string/test-memmove-ifunc.c: Likewise.
54952         * string/test-mempcpy-ifunc.c: Likewise.
54953         * string/test-memrchr-ifunc.c: Likewise.
54954         * string/test-memset-ifunc.c: Likewise.
54955         * string/test-rawmemchr-ifunc.c: Likewise.
54956         * string/test-stpcpy-ifunc.c: Likewise.
54957         * string/test-stpncpy-ifunc.c: Likewise.
54958         * string/test-strcasecmp-ifunc.c: Likewise.
54959         * string/test-strcasestr-ifunc.c: Likewise.
54960         * string/test-strcat-ifunc.c: Likewise.
54961         * string/test-strchr-ifunc.c: Likewise.
54962         * string/test-strchrnul-ifunc.c: Likewise.
54963         * string/test-strcmp-ifunc.c: Likewise.
54964         * string/test-strcpy-ifunc.c: Likewise.
54965         * string/test-strcspn-ifunc.c: Likewise.
54966         * string/test-strlen-ifunc.c: Likewise.
54967         * string/test-strncasecmp-ifunc.c: Likewise.
54968         * string/test-strncat-ifunc.c: Likewise.
54969         * string/test-strncmp-ifunc.c: Likewise.
54970         * string/test-strncpy-ifunc.c: Likewise.
54971         * string/test-strnlen-ifunc.c: Likewise.
54972         * string/test-strpbrk-ifunc.c: Likewise.
54973         * string/test-strrchr-ifunc.c: Likewise.
54974         * string/test-strspn-ifunc.c: Likewise.
54975         * string/test-strstr-ifunc.c: Likewise.
54977 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54979         * benchtests/Makefile: Remove ifunc tests.
54980         * benchtests/bench-string.h: Define TEST_IFUNC.
54981         * benchtests/bench-bcopy-ifunc.c: Remove.
54982         * benchtests/bench-bzero-ifunc.c: Likewise.
54983         * benchtests/bench-memccpy-ifunc.c: Likewise.
54984         * benchtests/bench-memchr-ifunc.c: Likewise.
54985         * benchtests/bench-memcmp-ifunc.c: Likewise.
54986         * benchtests/bench-memcpy-ifunc.c: Likewise.
54987         * benchtests/bench-memmem-ifunc.c: Likewise.
54988         * benchtests/bench-memmove-ifunc.c: Likewise.
54989         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54990         * benchtests/bench-memrchr-ifunc.c: Likewise.
54991         * benchtests/bench-memset-ifunc.c: Likewise.
54992         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54993         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54994         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54995         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54996         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54997         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54998         * benchtests/bench-strcat-ifunc.c: Likewise.
54999         * benchtests/bench-strchr-ifunc.c: Likewise.
55000         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55001         * benchtests/bench-strcmp-ifunc.c: Likewise.
55002         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55003         * benchtests/bench-strcpy-ifunc.c: Likewise.
55004         * benchtests/bench-strcspn-ifunc.c: Likewise.
55005         * benchtests/bench-strlen-ifunc.c: Likewise.
55006         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55007         * benchtests/bench-strncat-ifunc.c: Likewise.
55008         * benchtests/bench-strncmp-ifunc.c: Likewise.
55009         * benchtests/bench-strncpy-ifunc.c: Likewise.
55010         * benchtests/bench-strnlen-ifunc.c: Likewise.
55011         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55012         * benchtests/bench-strrchr-ifunc.c: Likewise.
55013         * benchtests/bench-strsep-ifunc.c: Likewise.
55014         * benchtests/bench-strspn-ifunc.c: Likewise.
55015         * benchtests/bench-strstr-ifunc.c: Likewise.
55017 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55019         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55021 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55023         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55024         * rt/aio.h: Likewise.
55025         * sysdeps/gnu/bits/utmp.h: Likewise.
55026         * sysdeps/gnu/bits/utmpx.h: Likewise.
55027         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55028         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55029         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55030         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55031         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55032         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55033         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55034         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55035         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55036         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55037         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55038         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55039         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55041         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55042         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55043         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55044         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55045         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55046         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55047         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55048         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55049         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55050         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55051         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55053         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55054         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55055         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55056         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55057         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55058         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55059         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55060         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55061         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55062         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55063         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55064         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55065         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55066         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55067         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55068         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55070 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55072         [BZ #16245]
55073         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55074         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55076 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55078         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55079         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55080         Likewise.
55082 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55084         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55085         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55086         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55087         (__fesetround): Remove define.
55088         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55089         rounding and exceptions handling.
55090         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55091         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55092         (__fe_nomask_env): Likewise.
55093         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55094         __fegetround instead of fegetround.
55095         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55096         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55098 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55100         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55101         it's there.
55103         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55105 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55107         [BZ #11157]
55108         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55109         (encrypt_r): Likewise.
55110         * malloc/obstack.h (obstack_free): Likewise.
55111         * posix/unistd.h (encrypt): Likewise.
55113 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55115         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55116         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55117         DL_CALL_DT_FINI() that call the functions directly.
55118         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55119         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55120         * elf/dl-fini.c: Likewise.
55122 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55124         * malloc/hooks.c (memalign_check): Add alignment rounding.
55125         * malloc/malloc.c (_mid_memalign): New function.
55126         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55127         Implement by calling _mid_memalign.
55128         * manual/probes.texi (Memory Allocation Probes): Remove
55129         memory_valloc_retry and memory_pvalloc_retry.
55131 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55133         * locale/programs/locarchive.c (open_archive): Add const
55134         qualifier to ARCHIVEFNAME and copy default fname to
55135         DEFAULT_FNAME.
55137         [BZ #15601]
55138         * libio/tst-widetext.input: Rename Oriya to Odia.
55139         * locale/iso-639.def: Likewise.
55141         * manual/probes.texi (Mathematical Function Probes): Add
55142         documentation for sin, cos, asin and acos probes.
55143         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55144         (__sin32): Add slowasin probe.
55145         (__cos32): Add slowacos probe.
55146         (__mpsin): Add slowsin probe.
55147         (__mpcos): Add slowcos probe.
55149 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55151         [BZ #15483]
55152         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55153         thread-local __sim_exceptions_thread and global
55154         __sim_exceptions_global.
55155         (__sim_disabled_exceptions): Change to thread-local
55156         __sim_disabled_exceptions_thread and global
55157         __sim_disabled_exceptions_global.
55158         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55159         and global __sim_round_mode_global.
55160         (__simulate_exceptions): Use thread-local floating-point state and
55161         set global state from it as needed.
55162         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55163         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55164         __sim_round_mode_thread.
55165         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55166         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55167         and global __sim_exceptions_global.
55168         (__sim_disabled_exceptions): Change to thread-local
55169         __sim_disabled_exceptions_thread and global
55170         __sim_disabled_exceptions_global.
55171         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55172         and global __sim_round_mode_global.
55173         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55174         (SIM_SET_GLOBAL): Likewise.
55175         * sysdeps/powerpc/soft-fp/sfp-machine.h
55176         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55177         __sim_round_mode_thread.
55178         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55179         __sim_disabled_exceptions_thread.
55180         (__sim_exceptions): Change to __sim_exceptions_thread.
55181         (__sim_disabled_exceptions): Change to
55182         __sim_disabled_exceptions_thread.
55183         (__sim_round_mode): Change to __sim_round_mode_thread.
55184         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55185         thread-local floating-point state and set global state from it as
55186         needed.
55187         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55188         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55189         (__sim_disabled_exceptions): Remove extern declaration.
55190         (feenableexcept): Use thread-local floating-point state and set
55191         global state from it as needed.
55192         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55193         extern declaration.
55194         (__sim_disabled_exceptions): Likewise.
55195         (__sim_round_mode): Likewise.
55196         (__fegetenv): Use thread-local floating-point state.
55197         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55198         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55199         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55200         floating-point state and set global state from it as needed.
55201         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55202         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55203         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55204         Likewise.
55205         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55206         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55207         Likewise.
55208         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55209         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55210         Use __sim_round_mode_thread.
55211         * math/test-fenv-tls.c: New file.
55212         * math/Makefile (tests): Add test-fenv-tls.
55213         ($(objpfx)test-fenv-tls): Depend on
55214         $(common-objpfx)nptl/libpthread.so.
55216 2013-11-19  Andreas Schwab  <schwab@suse.de>
55218         * locale/programs/locale.c (show_info): Decode wordarray elements.
55219         * locale/categories.def (LC_MONETARY): Add element for
55220         _NL_MONETARY_CRNCYSTR.
55221         * locale/C-monetary.c (conversion_rate): New variable.
55222         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55223         element.
55225 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55227         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55228         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55230 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55232         * elf/Makefile (tst-auxv): New test.
55233         * elf/tst-auxv.c: New
55234         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55236 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55238         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55239         (hidden_proto): Caller changed.
55240         (hidden_tls_proto): New macro.
55241         (libc_hidden_tls_proto): Likewise.
55242         (rtld_hidden_tls_proto): Likewise.
55243         (libm_hidden_tls_proto): Likewise.
55244         (libresolv_hidden_tls_proto): Likewise.
55245         (librt_hidden_tls_proto): Likewise.
55246         (libdl_hidden_tls_proto): Likewise.
55247         (libnss_files_hidden_tls_proto): Likewise.
55248         (libnsl_hidden_tls_proto): Likewise.
55249         (libnss_nisplus_hidden_tls_proto): Likewise.
55250         (libutil_hidden_tls_proto): Likewise.
55252 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55254         [BZ #10253]
55255         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55256         (decompose_rpath): Defer expansion to fillin_rpath.
55257         (_dl_init_paths): Pass linkmap to fillin_rpath.
55259 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55261         * benchtests/Makefile: Add strsep.
55262         * benchtests/bench-strsep.c: New file: strsep benchtest.
55263         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55265 2013-11-18  Andreas Schwab  <schwab@suse.de>
55267         * locale/programs/locale.c (show_info) [case byte]: Check for
55268         '\377' instead of '\177'.
55269         * locale/C-monetary.c (not_available): Always use "\377".
55270         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55271         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55272         detect unavailable sign_posn locale elements.
55273         * locale/localeconv.c (__localeconv): For grouping and
55274         mon_grouping handle "\177" and "\377" like no grouping.
55275         (INT_ELEM): New macro.  Use it to set all numeric members.
55276         * locale/programs/ld-monetary.c (monetary_read)
55277         <tok_mon_grouping>: Normalize single -1 to the empty string.
55278         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55279         Likewise.
55281 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55283         [BZ #16055]
55284         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55285         when we match (nil).
55286         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55288 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55290         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55291         (NO_TEST_INLINE): Update value.
55292         (ERRNO_UNCHANGED): Likewise.
55293         (ERRNO_EDOM): Likewise.
55294         (ERRNO_ERANGE): Likewise.
55295         (IGNORE_RESULT): Likewise.
55296         (check_float_internal): Check signs of NaN results if
55297         TEST_NAN_SIGN used.
55298         (check_complex): Pass TEST_NAN_SIGN flag through to second
55299         check_float_internal call.
55300         (copysign_test_data): Add tests with quiet NaNs as second
55301         argument.  Use TEST_NAN_SIGN.
55302         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55303         TEST_NAN_SIGN.
55304         (signbit_test_data): Add tests of quiet NaN argument.
55305         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55307         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55308         $ignore_result.
55309         (parse_args): Handle function results specified as IGNORE.
55310         * math/libm-test.inc (IGNORE_RESULT): New macro.
55311         (check_float_internal): Do not check numerical result if flag
55312         IGNORE_RESULT set.
55313         (check_complex): Pass through IGNORE_RESULT to second
55314         check_float_internal call.
55315         (check_int): Do not check numerical result if flag IGNORE_RESULT
55316         set.
55317         (check_long): Likewise.
55318         (check_bool): Likewise.
55319         (check_longlong): Likewise.
55320         (lrint_test_data): Add tests of infinite and NaN arguments.
55321         (lrint_tonearest_test_data): Likewise.
55322         (lrint_towardzero_test_data): Likewise.
55323         (lrint_downward_test_data): Likewise.
55324         (lrint_upward_test_data): Likewise.
55325         (llrint_test_data): Likewise.
55326         (llrint_tonearest_test_data): Likewise.
55327         (llrint_towardzero_test_data): Likewise.
55328         (llrint_downward_test_data): Likewise.
55329         (llrint_upward_test_data): Likewise.
55330         (lround_test_data): Likewise.
55331         (llround_test_data): Likewise.
55333         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55334         (ERRNO_UNCHANGED): Update value.
55335         (ERRNO_EDOM): Likewise.
55336         (ERRNO_ERANGE): Likewise.
55337         (NO_TEST_INLINE_FLOAT): New macro.
55338         (NO_TEST_INLINE_DOUBLE): Likewise.
55339         (enable_test): New function.
55340         (RUN_TEST_f_f): Check enable_test before running test.
55341         (RUN_TEST_2_f): Likewise.
55342         (RUN_TEST_fff_f): Likewise.
55343         (RUN_TEST_c_f): Likewise.
55344         (RUN_TEST_f_f1): Likewise.
55345         (RUN_TEST_fF_f1): Likewise.
55346         (RUN_TEST_fI_f1): Likewise.
55347         (RUN_TEST_ffI_f1): Likewise.
55348         (RUN_TEST_c_c): Likewise.
55349         (RUN_TEST_cc_c): Likewise.
55350         (RUN_TEST_f_i): Likewise.
55351         (RUN_TEST_f_i_tg): Likewise.
55352         (RUN_TEST_ff_i_tg): Likewise.
55353         (RUN_TEST_f_b): Likewise.
55354         (RUN_TEST_f_b_tg): Likewise.
55355         (RUN_TEST_f_l): Likewise.
55356         (RUN_TEST_f_L): Likewise.
55357         (RUN_TEST_fFF_11): Likewise.
55358         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55359         conditionals.
55360         (cosh_test_data): Likewise.
55361         (exp_test_data): Likewise.
55362         (expm1_test_data): Likewise.
55363         (hypot_test_data): Likewise.
55364         (pow_test_data): Likewise.
55365         (sinh_test_data): Likewise.
55366         (tanh_test_data): Likewise.
55367         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55368         flags argument.
55370         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55371         tests with quiet NaN input and output.
55372         (acosh_test_data): Likewise.
55373         (asin_test_data): Likewise.
55374         (asinh_test_data): Likewise.
55375         (atan_test_data): Likewise.
55376         (atanh_test_data): Likewise.
55377         (atan2_test_data): Likewise.
55378         (cbrt_test_data): Likewise.
55379         (cos_test_data): Likewise.
55380         (cosh_test_data): Likewise.
55381         (erf_test_data): Likewise.
55382         (erfc_test_data): Likewise.
55383         (exp_test_data): Likewise.
55384         (exp10_test_data): Likewise.
55385         (exp2_test_data): Likewise.
55386         (expm1_test_data): Likewise.
55387         (hypot_test_data): Likewise.
55388         (j0_test_data): Likewise.
55389         (j1_test_data): Likewise.
55390         (jn_test_data): Likewise.
55391         (lgamma_test_data): Likewise.
55392         (log_test_data): Likewise.
55393         (log10_test_data): Likewise.
55394         (log1p_test_data): Likewise.
55395         (log2_test_data): Likewise.
55396         (pow_test_data): Likewise.
55397         (scalb_test_data): Likewise.
55398         (sin_test_data): Likewise.
55399         (sincos_test_data): Likewise.
55400         (sinh_test_data): Likewise.
55401         (tan_test_data): Likewise.
55402         (tanh_test_data): Likewise.
55403         (tgamma_test_data): Likewise.
55404         (y0_test_data): Likewise.
55405         (y1_test_data): Likewise.
55406         (yn_test_data): Likewise.
55408         [BZ #16167]
55409         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55410         argument being NaN and avoid computations with second argument in
55411         that case.
55412         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55413         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55414         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55416 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55418         * locale/iso-639.def: Add Chitwani Tharu (the).
55420 2013-11-14  Andreas Schwab  <schwab@suse.de>
55422         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55423         word instead of empty string.
55425 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55428         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55430         (__fe_nomask_env): Likewise.
55432 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55434         * benchtests/bench-timing.h: Include time.h.
55436 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55438         [BZ #15997]
55439         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55440         to 3.4.0 for x32.
55441         * sysdeps/unix/sysv/linux/configure: Regenerated.
55443 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55445         [BZ #16151]
55446         * stdlib/strtod_l.c (round_and_return): Do not consider
55447         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55448         exponent one less than half the least subnormal exponent.
55449         * stdlib/test-strtod-round-data: Add more tests.
55450         * stdlib/tst-strtod-round.c (tests): Regenerated.
55452 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55454         [BZ #14143]
55455         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55456         (__fe_mask_env): Likewise.
55457         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55458         libm_hidden_proto and add function prototype.
55459         (__fe_mask_env): Add function prototype.
55460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55461         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55463         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55465         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55467 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55469         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55470         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55472 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55474         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55475         of htab_find_slot().
55477 2013-11-11  David S. Miller  <davem@davemloft.net>
55479         [BZ #16150]
55480         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55481         symbol in the non-vis3 case in static builds.
55482         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55483         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55484         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55485         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55487 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55489         [BZ #387]
55490         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55491         it is empty.
55493 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55495         * benchtests/Makefile: Add bench-strtod.
55496         * benchtests/bench-strtod.c: New file: strtod benchtest
55498 2013-11-11  Andreas Schwab  <schwab@suse.de>
55500         [BZ #16153]
55501         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55502         terminating NUL in key length.
55504 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55506         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55507         Add artificial ODP entry for vDSO symbol for PPC64.
55508         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55509         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55511 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55513         [BZ #15374]
55514         * nss/getent.c (services_keys): Recognize services starting with digit.
55516 2013-11-06  David S. Miller  <davem@davemloft.net>
55518         [BZ #15985]
55519         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55520         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55522 2013-11-06  Will Newton  <will.newton@linaro.org>
55524         * manual/memory.texi (Malloc Examples): Remove register
55525         keyword from examples.
55527 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55529         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55531 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55533         [BZ #6981]
55534         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55535         depending on [__GCC_IEC_559 > 0].
55536         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55537         depending on [__GCC_IEC_559_COMPLEX > 0].
55539 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55541         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55542         to iso-639.def.
55544 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55546         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55548 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55550         [BZ #16112]
55551         * malloc/malloc (malloc_info): Do not handle first bin as
55552         special case.
55554 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55556         * locale/iso-639.def: Add Central Nahuatl (nhn).
55558 2013-11-01  Bruno Haible  <bruno@clisp.org>
55560         [BZ #7003]
55561         * manual/math.texi (BSD Random): Specify range upper bound as
55562         in POSIX.
55564 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55566         * locale/iso-639.def: Add Meadow Mari (mhr).
55568 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55570         [BZ #14752], [BZ #15763]
55571         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55572         Validate name.
55573         * rt/tst_shm.c: Add test for escaping directory.
55575 2013-10-31  Andreas Schwab  <schwab@suse.de>
55577         [BZ #15917]
55578         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55579         followed by 'x' as part of digit sequence.
55580         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55582 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55584         [BZ #16037]
55585         * configure.ac: allow GNU Make 4.0 and greater.
55586         * configure: Regenerated.
55588 2013-10-30  Will Newton  <will.newton@linaro.org>
55590         [BZ #16038]
55591         * malloc/hooks.c (memalign_check): Limit alignment to the
55592         maximum representable power of two.
55593         * malloc/malloc.c (__libc_memalign): Likewise.
55594         * malloc/tst-memalign.c (do_test): Add test for very
55595         large alignment values.
55596         * malloc/tst-posix_memalign.c (do_test): Likewise.
55598 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55600         [BZ #11087]
55601         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55602         (munmap_chunk): Likewise.
55603         (mremap_chunk): Likewise.
55605 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55607         [BZ #15799]
55608         * stdlib/div.c (div): Remove obsolete code.
55609         * stdlib/ldiv.c (ldiv): Likewise.
55610         * stdlib/lldiv.c (lldiv): Likewise.
55612 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55614         [BZ #16071]
55615         * nss/nss_files/files-XXX.c (get_contents_ret): New
55616         enumerator.
55617         (get_contents): New function.
55618         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55620 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55622         * configure.in: Moved to ...
55623         * configure.ac: ... here. Change reference to configure.in
55624         to configure.ac.
55625         * sysdeps/arm/preconfigure.ac: ... here.
55626         configure.in to configure.ac.
55627         * sysdeps/gnu/configure.in: Moved to ...
55628         * sysdeps/gnu/configure.ac: ... here.
55629         * sysdeps/i386/configure.in: Moved to ...
55630         * sysdeps/i386/configure.ac: ... here.
55631         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55632         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55633         * sysdeps/mach/configure.in: Moved to ...
55634         * sysdeps/mach/configure.ac: ... here.
55635         * sysdeps/mach/hurd/configure.in: Moved to ...
55636         * sysdeps/mach/hurd/configure.ac: ... here.
55637         * sysdeps/powerpc/configure.in: Moved to ...
55638         * sysdeps/powerpc/configure.ac: ... here.
55639         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55640         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55641         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55642         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55643         * sysdeps/s390/s390-32/configure.in: Moved to ...
55644         * sysdeps/s390/s390-32/configure.ac: ... here.
55645         * sysdeps/s390/s390-64/configure.in: Moved to ...
55646         * sysdeps/s390/s390-64/configure.ac: ... here.
55647         * sysdeps/sh/configure.in: Moved to ...
55648         * sysdeps/sh/configure.ac: ... here.
55649         * sysdeps/sparc/configure.in: Moved to ...
55650         * sysdeps/sparc/configure.ac: ... here.
55651         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55652         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55653         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55654         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55655         * sysdeps/x86_64/configure.in: Moved to ...
55656         * sysdeps/x86_64/configure.ac: ... here.
55657         * sysdeps/x86_64/preconfigure.in: Moved to ...
55658         * sysdeps/x86_64/preconfigure.ac: ... here.
55659         * aclocal.m4: Change reference to configure.in to configure.ac.
55660         * config.h.in: Likewise.
55661         * manual/install.texi: Likewise.
55662         * manual/maint.texi: Likewise.
55663         * Makefile: Likewise.
55664         * malloc/Makefile: Likewise.
55665         * nscd/Makefile: Likewise.
55666         * Makeconfig: Change reference to configure.in and
55667         preconfigure.in to configure.ac and preconfigure.ac
55668         respectively.
55669         * INSTALL: Regenerated.
55670         * configure: Likewise.
55671         * sysdeps/gnu/configure: Likewise.
55672         * sysdeps/i386/configure: Likewise.
55673         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55674         * sysdeps/mach/configure: Likewise.
55675         * sysdeps/mach/hurd/configure: Likewise.
55676         * sysdeps/powerpc/configure: Likewise.
55677         * sysdeps/powerpc/powerpc32/configure: Likewise.
55678         * sysdeps/powerpc/powerpc64/configure: Likewise.
55679         * sysdeps/s390/s390-32/configure: Likewise.
55680         * sysdeps/s390/s390-64/configure: Likewise.
55681         * sysdeps/sh/configure: Likewise.
55682         * sysdeps/sparc/configure: Likewise.
55683         * sysdeps/unix/sysv/linux/configure: Likewise.
55684         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55685         * sysdeps/x86_64/configure: Likewise.
55686         * sysdeps/x86_64/preconfigure: Likewise.
55688 2013-10-29  Andreas Schwab  <schwab@suse.de>
55690         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55692 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55694         * benchtests/pow-inputs: Add new inputs.
55696         * benchtests/exp-inputs: Add new inputs.
55698         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55699         conditional check for return value.
55700         (__cos32): Likewise.
55702 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55704         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55705         to provide a boost for large inputs with word alignment.
55706         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55707         implementation based on optimized PPC64 strcpy.
55708         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55709         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55710         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55711         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55713 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55715         [BZ #2801]
55716         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55718 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55720         [BZ #14876]
55721         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55722         * time/tst-strptime.c (day_tests): Add testcase.
55724 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55726         [BZ #14029]
55727         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55729 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55731         [BZ #16074]
55732         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55733         MAP_FAILED on error.
55735 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55737         [BZ #16072]
55738         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55739         heap for large requests.
55741 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55743         [BZ #9954]
55744         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55745         result if the result has no associated interface.
55746         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55747         interface for all 127.X.Y.Z addresses.
55749 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55751         * locale/iso-639.def: Add Ligurian (lij)
55753 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55755         [BZ #15825]
55756         * sunrpc/rpc_main.c: Document rpcgen -5.
55758 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55760         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55762 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55764         [BZ #10278]
55765         * posix/glob.c: Match only directories when trailing slash is present.
55766         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55767         (main): Add testcase.
55769 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55771         [BZ #15670]
55772         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55774 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55776         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55777         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55778         AUTH_DES and cindex for FIPS 140-2.
55779         (DES Encryption): Add cindex FIPS 46-3.
55781         * locale/locarchive.h (struct locarhandle): Add fname.
55782         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55783         if an optional argument was specified to --list-archive,
55784         otherwise NULL.
55785         * locale/programs/locarchive.c (show_archive_content): Take new
55786         argument fname and pass it via ah.fname to open_archive.
55787         * locale/programs/localedef.h: Update decl.
55788         (open_archive): If AH->fname is non-null, open that file
55789         rather than the default file name, and don't ignore ENOENT.
55790         (create_archive): Set AH.fname to NULL.
55791         (delete_locales_from_archive): Likewise.
55792         (add_locales_to_archive): Likewise.
55793         * locale/programs/locfile.c (write_all_categories): Likewise.
55795 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55796             Aldy Hernandez  <aldyh@redhat.com>
55798         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55799         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55800         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55801         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55802         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55803         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55804         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55805         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55806         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55807         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55808         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55809         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55810         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55811         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55812         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55813         Likewise.
55814         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55815         Likewise.
55816         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55817         Likewise.
55818         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55819         Likewise.
55820         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55821         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55822         Likewise.
55823         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55824         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55825         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55826         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55827         Likewise.
55828         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55829         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55830         * sysdeps/powerpc/preconfigure: Likewise.
55831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55832         Likewise.
55833         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55834         Replace contents of file by #include of <fenv_libc.h>.
55835         * sysdeps/powerpc/soft-fp/sfp-machine.h
55836         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55837         and <sys/prctl.h>.
55838         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55844         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55846         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55847         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55848         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55851         Allow copysignl PLT reference to be missing.
55853 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55854             Joseph Myers  <joseph@codesourcery.com
55856         [BZ #15948]
55857         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55858         single character.
55859         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55861 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55863         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55864         * elf/tst-tls1.c: Likewise.
55865         * elf/tst-tls10.h: Likewise.
55866         * elf/tst-tls14.c: Likewise.
55867         * elf/tst-tls2.c: Likewise.
55868         * elf/tst-tls3.c: Likewise.
55869         * elf/tst-tls4.c: Likewise.
55870         * elf/tst-tls5.c: Likewise.
55871         * elf/tst-tls6.c: Likewise.
55872         * elf/tst-tls7.c: Likewise.
55873         * elf/tst-tls8.c: Likewise.
55874         * elf/tst-tls9.c: Likewise.
55875         * elf/tst-tlsmod1.c: Likewise.
55876         * elf/tst-tlsmod13.c: Likewise.
55877         * elf/tst-tlsmod13a.c: Likewise.
55878         * elf/tst-tlsmod14a.c: Likewise.
55879         * elf/tst-tlsmod16a.c: Likewise.
55880         * elf/tst-tlsmod16b.c: Likewise.
55881         * elf/tst-tlsmod2.c: Likewise.
55882         * elf/tst-tlsmod3.c: Likewise.
55883         * elf/tst-tlsmod4.c: Likewise.
55884         * elf/tst-tlsmod5.c: Likewise.
55885         * elf/tst-tlsmod6.c: Likewise.
55887 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55889         [BZ #12486]
55890         * malloc/malloc.c: remove checks for statistics.
55892 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55894         [BZ #15277]
55895         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55896         * inet/tst-network.c: Add testcase.
55898 2013-10-17  Andreas Schwab  <schwab@suse.de>
55900         [BZ #15218]
55901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55902         to determine canonical name.
55904 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55906         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55907         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55908         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55918         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55919         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55920         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55921         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55922         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55923         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55924         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55925         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55926         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55927         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55930         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55931         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55932         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55933         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55934         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55935         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55936         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55937         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55938         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55939         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55940         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55941         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55942         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55943         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55944         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55945         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55946         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55947         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55948         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55949         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55950         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55951         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55952         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55953         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55954         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55955         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55956         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55957         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55958         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55959         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55960         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55961         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55962         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55963         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55965 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55967         [BZ #16041]
55968         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55969         make result into a quiet NaN.
55971 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55973         * soft-fp/adddf3.c: Fix horizontal whitespace.
55974         * soft-fp/addsf3.c: Likewise.
55975         * soft-fp/addtf3.c: Likewise.
55976         * soft-fp/divdf3.c: Likewise.
55977         * soft-fp/divsf3.c: Likewise.
55978         * soft-fp/divtf3.c: Likewise.
55979         * soft-fp/double.h: Likewise.
55980         * soft-fp/eqdf2.c: Likewise.
55981         * soft-fp/eqsf2.c: Likewise.
55982         * soft-fp/eqtf2.c: Likewise.
55983         * soft-fp/extenddftf2.c: Likewise.
55984         * soft-fp/extended.h: Likewise.
55985         * soft-fp/extendsfdf2.c: Likewise.
55986         * soft-fp/extendsftf2.c: Likewise.
55987         * soft-fp/extendxftf2.c: Likewise.
55988         * soft-fp/fixdfdi.c: Likewise.
55989         * soft-fp/fixdfsi.c: Likewise.
55990         * soft-fp/fixdfti.c: Likewise.
55991         * soft-fp/fixsfdi.c: Likewise.
55992         * soft-fp/fixsfsi.c: Likewise.
55993         * soft-fp/fixsfti.c: Likewise.
55994         * soft-fp/fixtfdi.c: Likewise.
55995         * soft-fp/fixtfsi.c: Likewise.
55996         * soft-fp/fixtfti.c: Likewise.
55997         * soft-fp/fixunsdfdi.c: Likewise.
55998         * soft-fp/fixunsdfsi.c: Likewise.
55999         * soft-fp/fixunsdfti.c: Likewise.
56000         * soft-fp/fixunssfdi.c: Likewise.
56001         * soft-fp/fixunssfsi.c: Likewise.
56002         * soft-fp/fixunssfti.c: Likewise.
56003         * soft-fp/fixunstfdi.c: Likewise.
56004         * soft-fp/fixunstfsi.c: Likewise.
56005         * soft-fp/fixunstfti.c: Likewise.
56006         * soft-fp/floatdidf.c: Likewise.
56007         * soft-fp/floatdisf.c: Likewise.
56008         * soft-fp/floatditf.c: Likewise.
56009         * soft-fp/floatsidf.c: Likewise.
56010         * soft-fp/floatsisf.c: Likewise.
56011         * soft-fp/floatsitf.c: Likewise.
56012         * soft-fp/floattidf.c: Likewise.
56013         * soft-fp/floattisf.c: Likewise.
56014         * soft-fp/floattitf.c: Likewise.
56015         * soft-fp/floatundidf.c: Likewise.
56016         * soft-fp/floatundisf.c: Likewise.
56017         * soft-fp/floatunditf.c: Likewise.
56018         * soft-fp/floatunsidf.c: Likewise.
56019         * soft-fp/floatunsisf.c: Likewise.
56020         * soft-fp/floatunsitf.c: Likewise.
56021         * soft-fp/floatuntidf.c: Likewise.
56022         * soft-fp/floatuntisf.c: Likewise.
56023         * soft-fp/floatuntitf.c: Likewise.
56024         * soft-fp/fmadf4.c: Likewise.
56025         * soft-fp/fmasf4.c: Likewise.
56026         * soft-fp/fmatf4.c: Likewise.
56027         * soft-fp/gedf2.c: Likewise.
56028         * soft-fp/gesf2.c: Likewise.
56029         * soft-fp/getf2.c: Likewise.
56030         * soft-fp/ledf2.c: Likewise.
56031         * soft-fp/lesf2.c: Likewise.
56032         * soft-fp/letf2.c: Likewise.
56033         * soft-fp/muldf3.c: Likewise.
56034         * soft-fp/mulsf3.c: Likewise.
56035         * soft-fp/multf3.c: Likewise.
56036         * soft-fp/negdf2.c: Likewise.
56037         * soft-fp/negsf2.c: Likewise.
56038         * soft-fp/negtf2.c: Likewise.
56039         * soft-fp/op-1.h: Likewise.
56040         * soft-fp/op-2.h: Likewise.
56041         * soft-fp/op-4.h: Likewise.
56042         * soft-fp/op-8.h: Likewise.
56043         * soft-fp/op-common.h: Likewise.
56044         * soft-fp/quad.h: Likewise.
56045         * soft-fp/single.h: Likewise.
56046         * soft-fp/soft-fp.h: Likewise.
56047         * soft-fp/sqrtdf2.c: Likewise.
56048         * soft-fp/sqrtsf2.c: Likewise.
56049         * soft-fp/sqrttf2.c: Likewise.
56050         * soft-fp/subdf3.c: Likewise.
56051         * soft-fp/subsf3.c: Likewise.
56052         * soft-fp/subtf3.c: Likewise.
56053         * soft-fp/truncdfsf2.c: Likewise.
56054         * soft-fp/trunctfdf2.c: Likewise.
56055         * soft-fp/trunctfsf2.c: Likewise.
56056         * soft-fp/trunctfxf2.c: Likewise.
56057         * soft-fp/unorddf2.c: Likewise.
56058         * soft-fp/unordsf2.c: Likewise.
56059         * soft-fp/unordtf2.c: Likewise.
56061 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56063         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56064         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56066 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56068         * elf/dl-libc.c: Clear initfini list after freeing.
56070 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56072         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56073         * soft-fp/addsf3.c: Likewise.
56074         * soft-fp/addtf3.c: Likewise.
56075         * soft-fp/divdf3.c: Likewise.
56076         * soft-fp/divsf3.c: Likewise.
56077         * soft-fp/divtf3.c: Likewise.
56078         * soft-fp/double.h: Likewise.
56079         * soft-fp/eqdf2.c: Likewise.
56080         * soft-fp/eqsf2.c: Likewise.
56081         * soft-fp/eqtf2.c: Likewise.
56082         * soft-fp/extenddftf2.c: Likewise.
56083         * soft-fp/extended.h: Likewise.
56084         * soft-fp/extendsfdf2.c: Likewise.
56085         * soft-fp/extendsftf2.c: Likewise.
56086         * soft-fp/extendxftf2.c: Likewise.
56087         * soft-fp/fixdfdi.c: Likewise.
56088         * soft-fp/fixdfsi.c: Likewise.
56089         * soft-fp/fixdfti.c: Likewise.
56090         * soft-fp/fixsfdi.c: Likewise.
56091         * soft-fp/fixsfsi.c: Likewise.
56092         * soft-fp/fixsfti.c: Likewise.
56093         * soft-fp/fixtfdi.c: Likewise.
56094         * soft-fp/fixtfsi.c: Likewise.
56095         * soft-fp/fixtfti.c: Likewise.
56096         * soft-fp/fixunsdfdi.c: Likewise.
56097         * soft-fp/fixunsdfsi.c: Likewise.
56098         * soft-fp/fixunsdfti.c: Likewise.
56099         * soft-fp/fixunssfdi.c: Likewise.
56100         * soft-fp/fixunssfsi.c: Likewise.
56101         * soft-fp/fixunssfti.c: Likewise.
56102         * soft-fp/fixunstfdi.c: Likewise.
56103         * soft-fp/fixunstfsi.c: Likewise.
56104         * soft-fp/fixunstfti.c: Likewise.
56105         * soft-fp/floatdidf.c: Likewise.
56106         * soft-fp/floatdisf.c: Likewise.
56107         * soft-fp/floatditf.c: Likewise.
56108         * soft-fp/floatsidf.c: Likewise.
56109         * soft-fp/floatsisf.c: Likewise.
56110         * soft-fp/floatsitf.c: Likewise.
56111         * soft-fp/floattidf.c: Likewise.
56112         * soft-fp/floattisf.c: Likewise.
56113         * soft-fp/floattitf.c: Likewise.
56114         * soft-fp/floatundidf.c: Likewise.
56115         * soft-fp/floatundisf.c: Likewise.
56116         * soft-fp/floatunsidf.c: Likewise.
56117         * soft-fp/floatunsisf.c: Likewise.
56118         * soft-fp/floatuntidf.c: Likewise.
56119         * soft-fp/floatuntisf.c: Likewise.
56120         * soft-fp/floatuntitf.c: Likewise.
56121         * soft-fp/fmadf4.c: Likewise.
56122         * soft-fp/fmasf4.c: Likewise.
56123         * soft-fp/fmatf4.c: Likewise.
56124         * soft-fp/gedf2.c: Likewise.
56125         * soft-fp/gesf2.c: Likewise.
56126         * soft-fp/getf2.c: Likewise.
56127         * soft-fp/ledf2.c: Likewise.
56128         * soft-fp/lesf2.c: Likewise.
56129         * soft-fp/letf2.c: Likewise.
56130         * soft-fp/muldf3.c: Likewise.
56131         * soft-fp/mulsf3.c: Likewise.
56132         * soft-fp/multf3.c: Likewise.
56133         * soft-fp/negdf2.c: Likewise.
56134         * soft-fp/negsf2.c: Likewise.
56135         * soft-fp/negtf2.c: Likewise.
56136         * soft-fp/op-1.h: Likewise.
56137         * soft-fp/op-2.h: Likewise.
56138         * soft-fp/op-4.h: Likewise.
56139         * soft-fp/op-8.h: Likewise.
56140         * soft-fp/op-common.h: Likewise.
56141         * soft-fp/quad.h: Likewise.
56142         * soft-fp/single.h: Likewise.
56143         * soft-fp/soft-fp.h: Likewise.
56144         * soft-fp/sqrtdf2.c: Likewise.
56145         * soft-fp/sqrtsf2.c: Likewise.
56146         * soft-fp/sqrttf2.c: Likewise.
56147         * soft-fp/subdf3.c: Likewise.
56148         * soft-fp/subsf3.c: Likewise.
56149         * soft-fp/subtf3.c: Likewise.
56150         * soft-fp/truncdfsf2.c: Likewise.
56151         * soft-fp/trunctfdf2.c: Likewise.
56152         * soft-fp/trunctfsf2.c: Likewise.
56153         * soft-fp/trunctfxf2.c: Likewise.
56154         * soft-fp/unorddf2.c: Likewise.
56155         * soft-fp/unordsf2.c: Likewise.
56156         * soft-fp/unordtf2.c: Likewise.
56158 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56160         [BZ #15672]
56161         * misc/error.c (error_tail): Fix possible buffer overflow.
56163 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56165         [BZ #13028]
56166         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56167         address.
56169 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56171         [BZ #832]
56172         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56173         testing pipefail option.
56175 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56177         * soft-fp/double.h: Indent preprocessor directives inside #if.
56178         * soft-fp/extended.h: Likewise.
56179         * soft-fp/op-2.h: Likewise.
56180         * soft-fp/op-4.h: Likewise.
56181         * soft-fp/op-common.h: Likewise.
56182         * soft-fp/quad.h: Likewise.
56183         * soft-fp/single.h: Likewise.
56184         * soft-fp/soft-fp.h: Likewise.
56186 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56188         * iconv/iconv_prog.c: Fix typos.
56189         * stdio-common/psiginfo-data.h: Likewise.
56191 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56193         [BZ #15764]
56194         * locale/setlocale.c: Fix typo.
56196 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56198         [BZ #16036]
56199         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56200         signaling NaN arguments.
56201         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56202         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56204         [BZ #14910]
56205         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56206         unordered operands.
56207         * soft-fp/gesf2.c (__gesf2): Likewise.
56208         * soft-fp/getf2.c (__getf2): Likewise.
56209         * soft-fp/ledf2.c (__ledf2): Likewise.
56210         * soft-fp/lesf2.c (__lesf2): Likewise.
56211         * soft-fp/letf2.c (__letf2): Likewise.
56213         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56214         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56215         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56216         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56217         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56218         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56219         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56220         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56221         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56222         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56223         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56224         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56225         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56226         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56227         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56228         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56229         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56230         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56231         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56232         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56233         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56234         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56235         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56236         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56237         * soft-fp/floattidf.c (__floattidf): Likewise.
56238         * soft-fp/floattisf.c (__floattisf): Likewise.
56239         * soft-fp/floattitf.c (__floattitf): Likewise.
56240         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56241         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56242         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56243         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56244         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56245         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56246         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56247         * soft-fp/gesf2.c (__gesf2): Likewise.
56248         * soft-fp/getf2.c (__getf2): Likewise.
56249         * soft-fp/ledf2.c (__ledf2): Likewise.
56250         * soft-fp/lesf2.c (__lesf2): Likewise.
56251         * soft-fp/letf2.c (__letf2): Likewise.
56253         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56254         Undefine and redefine.
56255         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56256         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56257         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56258         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56259         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56260         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56261         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56262         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56263         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56264         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56265         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56266         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56267         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56268         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56269         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56271         [BZ #16032]
56272         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56273         without decrementing exponent if mantissa >= that for the
56274         denominator, not >.
56275         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56276         denominator, not >.  Decrement exponent in < case instead of
56277         incrementing in >= case.
56278         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56279         without decrementing exponent if mantissa >= that for the
56280         denominator, not >.
56282         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56283         computing saturated result for unsigned overflow.
56285 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56286             Jeff Law  <law@redhat.com>
56288         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56289         (atan2Mp): Add systemtap probe marker.
56290         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56291         (__ieee754_log): Add systemtap probe marker.
56292         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56293         (atanMp): Add systemtap probe marker.
56294         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56295         (tanMp): Add systemtap probe marker.
56296         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56297         (__slowexp): Add systemtap probe marker.
56298         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56299         (__slowpow): Add systemtap probe marker.
56300         * manual/probes.texi: Document probes.
56302 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56304         [BZ #15362]
56305         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56306         written.
56307         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56308         written.
56309         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56310         written to buffer but not flushed.
56311         * libio/iofwrite_u.c:  Likewise.
56312         * libio/iopadn.c:  Return bytes returned even if EOF was
56313         encountered.
56314         * libio/iowpadn.c:  Likewise.
56315         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56316         if _IO_padn does not write the whole buffer.
56317         [!COMPILE_WPRINTF] (PAD): Likewise.
56319 2013-10-10  David S. Miller  <davem@davemloft.net>
56321         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56322         directory block.
56324 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56326         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56327         instead of FSF address.
56328         * soft-fp/fixdfti.c: Likewise.
56329         * soft-fp/fixsfti.c: Likewise.
56330         * soft-fp/fixtfti.c: Likewise.
56331         * soft-fp/fixunsdfti.c: Likewise.
56332         * soft-fp/fixunssfti.c: Likewise.
56333         * soft-fp/fixunstfti.c: Likewise.
56334         * soft-fp/floattidf.c: Likewise.
56335         * soft-fp/floattisf.c: Likewise.
56336         * soft-fp/floattitf.c: Likewise.
56337         * soft-fp/floatuntidf.c: Likewise.
56338         * soft-fp/floatuntisf.c: Likewise.
56339         * soft-fp/floatuntitf.c: Likewise.
56340         * soft-fp/trunctfxf2.c: Likewise.
56342         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56343         * soft-fp/fixdfti.c: Likewise.
56344         * soft-fp/fixsfti.c: Likewise.
56345         * soft-fp/fixtfti.c: Likewise.
56346         * soft-fp/fixunsdfti.c: Likewise.
56347         * soft-fp/fixunssfti.c: Likewise.
56348         * soft-fp/fixunstfti.c: Likewise.
56349         * soft-fp/floattidf.c: Likewise.
56350         * soft-fp/floattisf.c: Likewise.
56351         * soft-fp/floattitf.c: Likewise.
56352         * soft-fp/floatuntidf.c: Likewise.
56353         * soft-fp/floatuntisf.c: Likewise.
56354         * soft-fp/floatuntitf.c: Likewise.
56355         * soft-fp/trunctfxf2.c: Likewise.
56357 2013-10-10  David S. Miller  <davem@davemloft.net>
56359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56361 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56363         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56364         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56365         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56366         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56367         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56368         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56369         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56371         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56372         for NaNs before doing comparisons on argument.
56373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56374         Likewise.
56376 2013-10-10  Will Newton  <will.newton@linaro.org>
56378         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56379         passed to _int_memalign does not overflow.
56381 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56383         * scripts/bench.pl: Add include-sources directive.
56384         * benchtests/README: Update documentation.
56386 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56388         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56389         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56390         instead of FP_INIT_ROUNDMODE.
56391         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56392         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56394         [BZ #16034]
56395         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56396         copy class of input value.
56397         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56398         not handle exceptions.
56399         * soft-fp/negsf2.c (__negsf2): Likewise.
56400         * soft-fp/negtf2.c (__negtf2): Likewise.
56401         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56403 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56405         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56406         semicolon.  From Linux kernel.
56408 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56410         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56412 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56414         [BZ #156]
56415         * manual/socket.texi: Added statement about buffer
56416         for gethostbyname2_r.
56418 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56420         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56421         Use .p2align directive instead, throughout.
56422         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56423         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56424         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56425         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56426         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56427         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56428         * sysdeps/x86_64/strchr.S: Likewise.
56429         * sysdeps/x86_64/strrchr.S: Likewise.
56431 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56433         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56435         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56437         * sysdeps/generic/math_private.h (__mpsin1): Remove
56438         declaration.
56439         (__mpcos1): Likewise.
56440         (__mpsin): New argument __range_reduce.
56441         (__mpcos): Likewise.
56442         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56443         (slow): Use __mpsin and __mpcos.
56444         (slow1): Likewise.
56445         (slow2): Likewise.
56446         (sloww): Likewise.
56447         (sloww1): Likewise.
56448         (sloww2): Likewise.
56449         (bsloww): Likewise.
56450         (bsloww1): Likewise.
56451         (bsloww2): Likewise.
56452         (cslow2): Likewise.
56453         (csloww): Likewise.
56454         (csloww1): Likewise.
56455         (csloww2): Likewise.
56456         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56457         range_reduce.  Merge in __mpsin1.
56458         (__mpcos): Likewise.
56459         (__mpsin1): Remove.
56460         (__mpcos1): Likewise.
56462 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56464         * locale/loadlocale.c (_nl_intern_locale_data): Use
56465         LOCFILE_ALIGNED_P.
56466         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56467         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56468         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56469         obstack data is appropriately aligned.
56470         (obstack_int32_grow_fast): Likewise.
56471         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56472         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56473         (add_locale_uint32_array): Likewise.
56475 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56477         * benchtests/Makefile: Remove ARGLIST and RET variables.
56478         ($(objpfx)bench-%.c): Pass only function name to the script.
56479         * benchtests/README: Update documentation.
56480         * benchtests/acos-inputs: Add new directives.
56481         * benchtests/acosh-inputs: Likewise.
56482         * benchtests/asin-inputs: Likewise.
56483         * benchtests/asinh-inputs: Likewise.
56484         * benchtests/atan-inputs: Likewise.
56485         * benchtests/atanh-inputs: Likewise.
56486         * benchtests/cos-inputs: Likewise.
56487         * benchtests/cosh-inputs: Likewise.
56488         * benchtests/exp-inputs: Likewise.
56489         * benchtests/log-inputs: Likewise.
56490         * benchtests/pow-inputs: Likewise.
56491         * benchtests/rint-inputs: Likewise.
56492         * benchtests/sin-inputs: Likewise.
56493         * benchtests/sinh-inputs: Likewise.
56494         * benchtests/tan-inputs: Likewise.
56495         * benchtests/tanh-inputs: Likewise.
56496         * scripts/bench.pl: Add support for new directives.
56498 2013-10-07  Alan Modra  <amodra@gmail.com>
56500         * README: Fix careless merge.
56502 2013-10-05  Alan Modra  <amodra@gmail.com>
56504         * NEWS: Mention powerpc64le support and bugs fixed.
56505         * README: Both big-endian and little-endian powerpc64 supported.
56507 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56509         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56510         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56511         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56512         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56514 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56516         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56517         match prototype.
56519 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56521         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56522         Move -mhard-float appending from
56523         ports/sysdeps/powerpc/powerpc32/Makefile.
56524         [$(with-fp) = yes] (ASFLAGS): Likewise.
56525         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56526         * sysdeps/powerpc/nofpu: Move directory from
56527         ports/sysdeps/powerpc/nofpu.
56528         * sysdeps/powerpc/soft-fp: Move directory from
56529         ports/sysdeps/powerpc/soft-fp.
56530         * sysdeps/powerpc/powerpc32/405: Move directory from
56531         ports/sysdeps/powerpc/powerpc32/405.
56532         * sysdeps/powerpc/powerpc32/440: Move directory from
56533         ports/sysdeps/powerpc/powerpc32/440.
56534         * sysdeps/powerpc/powerpc32/464: Move directory from
56535         ports/sysdeps/powerpc/powerpc32/464.
56536         * sysdeps/powerpc/powerpc32/476: Move directory from
56537         ports/sysdeps/powerpc/powerpc32/476.
56538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56539         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56541         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56543         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56545         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56547         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56548         * README: Update for powerpc-*-linux-gnu software floating point
56549         support in libc.
56551         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56552         case to powerpc/powerpc32*.
56553         * sysdeps/unix/sysv/linux/configure: Regenerated.
56555         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56556         (_FPU_MASK_OM): Define as 0x04.
56557         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56559         0x00c10080.
56560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56561         0x0000003c.
56562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56565         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56566         getcontext_e500.
56567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56568         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56569         setcontext_e500.
56570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56571         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56572         and setcontext_e500.
56574 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56576         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56578 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56580         * manual/threads.texi (Default Thread Attributes): Fix typo.
56582 2013-10-04  Will Newton  <will.newton@linaro.org>
56584         * malloc/Makefile: Add tst-memalign.
56585         * malloc/tst-memalign.c: New file.
56587         * malloc/tst-posix_memalign.c: Add comments.
56588         (do_test): Add comments and call free on all potentially
56589         allocated pointers. Add space after cast.
56591         * malloc/tst-pvalloc.c: Add comments.
56592         (do_test): Add comments and call free on all potentially
56593         allocated pointers. Remove duplicate check for NULL pointer.
56594         Add space after cast.
56596         * malloc/tst-valloc.c: Add comments.
56597         (do_test): Add comments and call free on all potentially
56598         allocated pointers. Remove duplicate check for NULL pointer.
56599         Add space after cast.
56601 2013-10-04  Alan Modra  <amodra@gmail.com>
56603         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56604         Use stdint types in rather than __attribute__((mode())).
56605         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56607 2013-10-04  Alan Modra  <amodra@gmail.com>
56609         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56610         Correct handling of unaligned relocs for little-endian.
56611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56613 2013-10-04  Alan Modra  <amodra@gmail.com>
56615         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56616         * configure: Regenerate.
56617         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56618         * shlib-versions: Likewise.
56620 2013-10-04  Alan Modra  <amodra@gmail.com>
56622         * string/tester.c (test_memrchr): Increment reported test cycle.
56624 2013-10-04  Alan Modra  <amodra@gmail.com>
56626         * string/test-memcpy.c (do_one_test): When reporting errors, print
56627         string address and don't overrun end of string.
56629 2013-10-04  Alan Modra  <amodra@gmail.com>
56631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56632         insrdi.  Make better use of reg selection to speed exit slightly.
56633         Schedule entry path a little better.  Remove useless "are we done"
56634         checks on entry to main loop.  Handle wrapping around zero address.
56635         Correct main loop count.  Handle single left-over word from main
56636         loop inline rather than by using loop_small.  Remove extra word
56637         case in loop_small caused by wrong loop count.  Add little-endian
56638         support.
56639         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56640         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56641         cache hint.
56642         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56643         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56644         support.  Avoid rlwimi.
56645         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56647 2013-10-04  Alan Modra  <amodra@gmail.com>
56649         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56650         insrdi.  Formatting.
56651         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56652         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56653         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56654         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56655         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56656         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56658 2013-10-04  Alan Modra  <amodra@gmail.com>
56660         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56662         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56663         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56664         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56665         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56666         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56667         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56668         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56669         use of regs.  Use power7 mtocrf.  Tidy function tails.
56671 2013-10-04  Alan Modra  <amodra@gmail.com>
56673         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56674         Formatting.  Consistently use rXXX register defines or rN defines.
56675         Use early exit labels that avoid restoring unused non-volatile regs.
56676         Make cr field use more consistent with rWORDn compares.  Rename
56677         regs used as shift registers for unaligned loop, using rN defines
56678         for short lifetime/multiple use regs.
56679         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56681         addi 1,1,64 to pop stack frame.  Simplify return value code.
56682         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56684 2013-10-04  Alan Modra  <amodra@gmail.com>
56686         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56687         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56688         rather than rlwimi.
56689         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56690         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56691         little-endian support.  Correct typos.
56692         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56693         rather than rlwimi.
56694         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56695         in loop and entry code to keep "and." results.
56696         (strchr): Add little-endian support.  Comment.  Move cntlzd
56697         earlier in tail.
56698         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56700 2013-10-04  Alan Modra  <amodra@gmail.com>
56702         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56703         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56704         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56705         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56707 2013-10-04  Alan Modra  <amodra@gmail.com>
56709         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56710         (rTMP): Define as r11.
56711         (strcmp): Add little-endian support.  Optimise tail.
56712         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56713         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56714         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56715         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56716         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56717         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56720 2013-10-04  Alan Modra  <amodra@gmail.com>
56722         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56723         little-endian support.  Remove unnecessary "are we done" tests.
56724         Handle "s" wrapping around zero and extremely large "size".
56725         Correct main loop count.  Handle single left-over word from main
56726         loop inline rather than by using small_loop.  Correct comments.
56727         Delete "zero" tail, use "end_max" instead.
56728         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56730 2013-10-04  Alan Modra  <amodra@gmail.com>
56732         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56733         support.  Don't branch over align.
56734         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56735         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56736         support.  Rearrange tmp reg use to suit.  Comment.
56737         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56739 2013-10-04  Alan Modra  <amodra@gmail.com>
56741         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56743 2013-10-04  Alan Modra  <amodra@gmail.com>
56745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56746         conditional form of branch and link when obtaining pc.
56747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56749 2013-10-04  Alan Modra  <amodra@gmail.com>
56751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56752         HIWORD/LOWORD.
56753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56756 2013-10-04  Alan Modra  <amodra@gmail.com>
56758         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56759         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56760         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56761         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56762         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56763         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56764         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56765         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56766         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56767         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56769 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56770             Alistair Popple <alistair@ozlabs.au.ibm.com>
56771             Alan Modra <amodra@gmail.com>
56773         [BZ #15723]
56774         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56775         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56776         _dl_hwcap access for little-endian.
56777         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56778         destroy vmx regs when saving unaligned.
56779         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56780         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56781         destroy vmx regs when saving unaligned.
56783 2013-10-04  Alan Modra  <amodra@gmail.com>
56785         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56786         Don't use a union to pack hi/low value.
56788 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56790         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56791         for little-endian.
56792         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56793         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56794         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56795         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56796         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56798 2013-10-04  Alan Modra  <amodra@gmail.com>
56800         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56801         constants to usual value for .cst8 section, and remove redundant
56802         high address load.
56803         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56804         constant for 0x1p52.  Load little-endian words of double from
56805         correct stack offsets.
56807 2013-10-04  Alan Modra  <amodra@gmail.com>
56809         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56810         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56811         words of double from correct stack offsets.
56812         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56813         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56814         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56815         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56816         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56817         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56818         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56819         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56820         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56821         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56822         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56823         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56824         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56825         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56826         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56827         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56828         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56830 2013-10-04  Alan Modra  <amodra@gmail.com>
56832         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56833         64-bit int/double union.
56834         (_FPU_SETCW): Likewise.
56835         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56836         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56838 2013-10-04  Alan Modra  <amodra@gmail.com>
56840         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56841         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56843 2013-10-04  Alan Modra  <amodra@gmail.com>
56845         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56846         use vector int constants.
56847         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56849 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56851         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56852         array with long long.
56853         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56854         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56855         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56856         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56857         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56858         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56859         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56860         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56861         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56862         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56863         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56864         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56865         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56867 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56869         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56870         (__signbit): Likewise.  Correct for little-endian.
56871         (__signbitl): Call __signbit.
56872         (lrint): Correct for little-endian.
56873         (lrintf): Call lrint.
56875 2013-10-04  Alan Modra  <amodra@gmail.com>
56877         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56878         union 32-bit int array member with 64-bit int array.
56879         (t515, tm256): Double rather than long double.
56880         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56882 2013-10-04  Alan Modra  <amodra@gmail.com>
56884         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56885         Delete.
56886         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56888         version of math_ldbl.h.
56890 2013-10-04  Alan Modra  <amodra@gmail.com>
56892         [BZ #15734], [BZ #15735]
56893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56894         all uses of ieee875 long double macros and unions.  Simplify test
56895         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56896         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56897         normalize after ldbl_extract_mantissa, and don't add hidden bit
56898         already handled.  Don't treat low word of ieee854 mantissa like
56899         low word of IBM long double and mask off bit when testing for
56900         zero.
56901         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56902         all uses of ieee875 long double macros and unions.  Simplify tests
56903         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56904         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56905         two1022, instead use their values.  Recognise that tests for large
56906         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56907         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56908         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56909         test for 0.0L and nan.  Correct negation.
56910         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56911         ieee875 long double macros and unions.  Correct output for large
56912         magnitude x.  Correct absolute value calculation.
56913         (__erfcl): Likewise.
56914         * math/libm-test.inc: Add tests for errors discovered in IBM long
56915         double versions of fmodl, remainderl, erfl and erfcl.
56917 2013-10-04  Alan Modra  <amodra@gmail.com>
56919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56920         all uses of ieee854 long double macros and unions.  Simplify tests
56921         for long doubles that are fully specified by the high double.
56922         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56923         Likewise.
56924         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56925         Remove dead code too.
56926         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56927         (__ieee754_ynl): Likewise.
56928         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56929         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56930         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56931         Remove dead code too.
56932         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56933         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56936         Simplify.
56937         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56938         Simplify.
56939         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56940         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56941         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56942         Comment on variable precision.
56943         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56945         Likewise.
56946         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56950         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56952 2013-10-04  Alan Modra  <amodra@gmail.com>
56954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56956         all uses of ieee854 long double macros and unions.
56957         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56958         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56959         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56960         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56963         Likewise.
56964         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56965         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56967         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56968         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56969         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56970         Simplify sign and nan test too.
56971         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56972         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56973         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56974         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56975         Likewise.
56976         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56977         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56978         Likewise.
56979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56981         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56982         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56983         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56984         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56986 2013-10-04  Alan Modra  <amodra@gmail.com>
56988         * stdio-common/printf_size.c (__printf_size): Don't use
56989         union ieee854_long_double in fpnum union.
56990         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56991         signbit macro to retrieve sign from long double.
56992         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56993         retrieve sign from long double.
56994         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56995         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56996         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56997         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56998         * math/test-misc.c (main): Don't use union ieee854_long_double.
57000 2013-10-04  Alan Modra  <amodra@gmail.com>
57002         [BZ #15680]
57003         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57004         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57005         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57006         calculation.  Remove unnecessary test for denormal exponent.
57007         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57008         Correct handling of denormals.  Avoid undefined shift behaviour.
57009         Correct normalisation of low mantissa when low double is denormal.
57010         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57011         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57012         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57013         Correct normalisation of low mantissa.  Test for overflow of high
57014         mantissa and normalise.
57015         (ldbl_nearbyint): Use more readable constant for two52.
57016         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57017         (__mpn_construct_long_double): Fix test for overflow of high
57018         mantissa and correct normalisation.  Avoid undefined shift.
57020 2013-10-04  Alan Modra  <amodra@gmail.com>
57022         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57023         (union ibm_extended_long_double): Define as an array of ieee754_double.
57024         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57025         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57026         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57027         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57028         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57029         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57030         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57031         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57032         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57033         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57034         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57036 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57038         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57039         page size instead of calling getpagesize.
57041         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57042         (LOCFILE_ALIGN_MASK): Likewise.
57043         (LOCFILE_ALIGN_UP): Likewise.
57044         (LOCFILE_ALIGNED_P): Likewise.
57045         * locale/programs/ld-collate.c (collate_output): Use the new
57046         macros instead of __alignof__ (int32_t).
57047         * locale/weight.h (findidx): Likewise.
57049 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57051         [BZ #431]
57052         * manual/string.texi: Fix strncat and wcsncat.
57054 2013-10-03  Brooks Moses  <bmoses@google.com>
57056         [BZ #15915]
57057         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57058         * Makerules: ...here, and adjust associated comments.
57060 2013-10-02  Will Newton  <will.newton@linaro.org>
57062         * malloc/Makefile: Add tst-pvalloc.
57063         * malloc/tst-pvalloc.c: New file.
57065 2013-10-02  Will Newton  <will.newton@linaro.org>
57067         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57068         improve test coverage.
57070 2013-10-02  Will Newton  <will.newton@linaro.org>
57072         * malloc/Makefile: Add tst-posix_memalign.
57073         * malloc/tst-posix_memalign.c: New file.
57075 2013-10-01  Eric Blake  <eblake@redhat.com>
57077         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57078         Use __THROWNL rather than __THROW on static functions.
57080 2013-09-30  Petr Machata  <pmachata@redhat.com>
57082         * elf/elf.h (R_AARCH64_ABS16): New macro.
57083         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57084         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57085         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57086         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57087         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57088         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57089         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57090         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57091         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57092         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57093         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57094         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57095         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57096         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57097         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57098         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57099         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57100         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57101         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57102         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57103         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57104         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57105         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57106         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57107         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57108         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57109         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57110         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57111         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57112         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57113         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57114         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57115         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57116         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57117         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57118         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57119         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57120         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57121         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57122         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57123         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57124         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57125         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57126         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57127         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57128         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57129         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57130         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57131         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57132         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57133         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57134         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57135         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57136         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57137         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57138         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57139         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57140         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57141         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57142         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57143         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57144         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57145         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57146         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57147         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57148         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57149         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57150         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57151         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57152         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57153         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57154         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57155         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57156         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57157         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57158         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57159         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57160         (R_AARCH64_TLSDESC_LDR): Likewise.
57161         (R_AARCH64_TLSDESC_ADD): Likewise.
57162         (R_AARCH64_TLSDESC_CALL): Likewise.
57164 2013-09-30  Andreas Schwab  <schwab@suse.de>
57166         [BZ #15048]
57167         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57168         the nss database lookup.
57169         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57172 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57174         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57176 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57178         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57179         ${Bash-specific parameter/pattern/string} parameter expansion.
57180         * sysdeps/unix/make-syscalls.sh: Likewise.
57182 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57184         * sysdeps/sh/stackguard-macros.h: New file.
57186 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57190         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57191         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57192         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57193         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57195 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57197         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57198         Fix thread ID register.
57200 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57202         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57203         [POSIX || UNIX98]: Require rather than permitting all symbols from
57204         <time.h>.
57205         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57206         element of struct sched_param.
57207         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57208         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57209         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57210         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57211         constant.
57213 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57215         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57216         argument calculation.
57218 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57220         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57221         Expect macro.
57222         [POSIX] (pthread_attr_t): Do not require type.
57223         [POSIX] (pthread_cond_t): Likewise.
57224         [POSIX] (pthread_condattr_t): Likewise.
57225         [POSIX] (pthread_key_t): Likewise.
57226         [POSIX] (pthread_mutex_t): Likewise.
57227         [POSIX] (pthread_mutexattr_t): Likewise.
57228         [POSIX] (pthread_once_t): Likewise.
57229         [POSIX] (pthread_t): Likewise.
57230         [POSIX-based standards] (pthread_atfork): Expect function.
57232 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57233             Richard Sandiford  <richard@codesourcery.com>
57235         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57236         (swap_endianness_p): New extern variable.
57237         (set_big_endian): New inline function.
57238         (maybe_swap_uint32): Likewise.
57239         (maybe_swap_uint32_array): Likewise.
57240         (maybe_swap_uint32_obstack): Likewise.
57241         * locale/programs/locfile.c: Include <stdbool.h>.
57242         (swap_endianness_p): New variable.
57243         (add_locale_uint32): Call maybe_swap_uint32.
57244         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57245         (write_locale_data): Call maybe_swap_uint32_array.
57246         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57247         maybe_swap_uint32.
57248         (obstack_int32_grow_fast): Likewise.
57249         (output_weightwc): Call maybe_swap_uint32_obstack.
57250         (collate_output): Likewise.
57251         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57252         (OPT_LITTLE_ENDIAN): Likewise.
57253         (options): Add --little-endian and --big-endian options.
57254         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57255         * locale/programs/locarchive.c: Include "locfile.h".
57256         (GET): New macro.
57257         (SET): Likewise.
57258         (INC): Likewise.
57259         (create_archive): Use the new macros to access fields of
57260         structures directly mapped from or written to locale archives.
57261         (oldlocrecentcmp): Likewise.
57262         (enlarge_archive): Likewise.
57263         (insert_name): Likewise.
57264         (add_alias): Likewise.
57265         (add_locale): Likewise.
57266         (delete_locales_from_archive): Likewise.
57267         (show_archive_content): Likewise.
57268         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57269         locale data.
57271 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57273         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57274         http://www.gnu.org/doc/freemanuals.texi.
57275         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57277 2013-09-24  Will Newton  <will.newton@linaro.org>
57279         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57280         macro.
57282 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57284         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57285         unsigned char.
57287 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57289         * manual/threads.texi (POSIX Threads): Fix a typo.
57291 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57293         [BZ #14547]
57294         * string/tst-strcoll-overflow.c: New test case.
57295         * string/Makefile (xtests): Add tst-strcoll-overflow.
57296         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57297         cache if string sizes may cause integer overflow.
57299         [BZ #14547]
57300         * string/strcoll_l.c (coll_seq): New members rule, idx,
57301         save_idx and back_us.
57302         (get_next_seq_nocache): New function.
57303         (do_compare_nocache): New function.
57304         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57305         when malloc fails.
57307 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57309         [BZ #15754]
57310         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57311         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57312         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57314         [BZ #15754]
57315         * elf/Makefile (tests): Add tst-ptrguard1.
57316         (tests-static): Add tst-ptrguard1-static.
57317         (tst-ptrguard1-ARGS): Define.
57318         (tst-ptrguard1-static-ARGS): Define.
57319         * elf/tst-ptrguard1.c: New file.
57320         * elf/tst-ptrguard1-static.c: New file.
57321         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57322         * sysdeps/i386/stackguard-macros.h: Likewise.
57323         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57324         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57325         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57326         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57327         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57328         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57330 2013-09-23  Hector Marco  <hecmargi@upv.es>
57331             Ismael Ripoll  <iripoll@disca.upv.es>
57332             Carlos O'Donell  <carlos@redhat.com>
57334         [BZ #15754]
57335         * sysdeps/generic/stackguard-macros.h: Define
57336         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57337         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57338         Define __pointer_chk_guard_local.
57339         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57340         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57342 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57344         [BZ #15859]
57345         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57347 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57349         * include/string.h (__ffs): Declare as hidden.
57350         * string/ffs.c (__ffs): Define as hidden.
57351         * sysdeps/i386/ffs.c (__ffs): Likewise.
57352         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57353         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57354         * sysdeps/s390/ffs.c (__ffs): Likewise.
57355         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57357 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57359         * NEWS: Mention malloc probes.
57361         * malloc/arena.c (new_heap): New memory_heap_new probe.
57362         (grow_heap): New memory_heap_more probe.
57363         (shrink_heap): New memory_heap_less probe.
57364         (heap_trim): New memory_heap_free probe.
57365         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57366         (systrim): New memory_sbrk_less probe.
57367         * manual/probes.texi: Document them.
57369         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57370         * manual/probes.texi: Document it.
57372         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57373         (__libc_realloc): Add memory_realloc_retry probe.
57374         (__libc_memalign): Add memory_memalign_retry probe.
57375         (__libc_valloc): Add memory_valloc_retry probe.
57376         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57377         (__libc_calloc): Add memory_calloc_retry probe.
57378         * manual/probes.texi: Document them.
57380         * malloc/arena.c (get_free_list): Add probe
57381         memory_arena_reuse_free_list.
57382         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57383         and memory_arena_reuse.
57384         (arena_get2) [!PER_THREAD]: Likewise.
57385         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57386         memory_arena_reuse_realloc.
57387         * manual/probes.texi: Document them.
57389         * malloc/malloc.c (__libc_free): Add
57390         memory_mallopt_free_dyn_thresholds probe.
57391         (__libc_mallopt): Add multiple memory_mallopt probes.
57392         * manual/probes.texi: Document them.
57394         * malloc/malloc.c: Include stap-probe.h.
57395         (__libc_mallopt): Add memory_mallopt probe.
57396         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57397         * manual/probes.texi: New.
57398         * manual/Makefile (chapters): Add probes.
57399         * manual/threads.texi: Set next node.
57401 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57403         [BZ #15963, #13985]
57404         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57405         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57406         Add `Chinese' to `nan' entry name.
57408 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57410         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57411         (POLYNOMIAL): Likewise.
57412         (TAYLOR_SINCOS): Likewise.
57413         (TAYLOR_SLOW): Likewise.
57414         (__sin): Use TAYLOR_SINCOS.
57415         (__cos): Likewise.
57416         (slow): Use TAYLOR_SLOW.
57417         (sloww): Likewise.
57418         (bsloww): Likewise.
57419         (csloww): Likewise.
57421 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57423         * stdlib/strtod_l.c: Fix buffer overrun.
57425 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57427         * benchtests/Makefile (bench): Add sincos.
57428         * benchtests/bench-sincos.c: New file.
57430         * math/libm-test.inc (cos_test_data): New test inputs.
57431         (sin_test_data): Likewise.
57433         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57434         macro.
57435         (__sin): Use it.
57436         (__cos): Likewise.
57437         (slow1): Likewise.
57438         (slow2): Likewise.
57439         (sloww1): Likewise.
57440         (sloww2): Likewise.
57441         (bsloww1): Likewise.
57442         (bsloww2): Likewise.
57443         (cslow2): Likewise.
57444         (csloww1): Likewise.
57445         (csloww2): Likewise.
57447         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57448         function.
57449         (__sin): Use it.
57450         (__cos): Likewise.
57452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57453         gotos.
57454         (__cos): Likewise.
57456 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57458         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57459         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57460         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57461         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57462         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57463         * elf/cache.c (print_entry): Handle the new cache flags.
57465 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57466             Aldy Hernandez  <aldyh@redhat.com>
57468         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57469         Change condition to [_SOFT_FLOAT].
57470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57482         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57485         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57486         declaration.
57488 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57490         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57491         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57492         (__longjmp): Use LOAD_GP to load saved GPRs.
57493         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57494         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57495         (__sigsetjmp): Use SAVE_GP to save GPRs.
57497         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57498         Do not append -msoft-float.
57499         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57501 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57503         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57505 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57507         [BZ #15966]
57508         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57509         (_FPU_GETCW): Use initial "__" on variable and field names but not
57510         on macro parameter name.
57511         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57512         parentheses around reference to macro parameter.
57514 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57516         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57517         prototype.
57518         (ctype_startup): Use uint32_t in cast and sizeof for
57519         ctype->charnames.
57521 2013-09-11  Jia Liu  <proljc@gmail.com>
57523         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57524         __daddr_t_defined.
57525         [__FreeBSD__]: Likewise.
57527 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57530         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57531         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57532         (strchr): Remove __strchr_sse42 ifunc selection.
57533         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57534         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57536 2013-09-11  Will Newton  <will.newton@linaro.org>
57538         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57539         parameter to RES. Remove hardcoded 1000 value.
57540         * benchtests/bench-skeleton.c (main): Pass RES parameter
57541         to TIMING_INIT and multiply result by 1000.
57543 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57547 2013-09-11  Andreas Schwab  <schwab@suse.de>
57549         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57550         if not defined.
57551         (O_TMPFILE) [__USE_GNU]: Define.
57552         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57553         Define.
57555 2013-09-11  Will Newton  <will.newton@linaro.org>
57557         [BZ #15857]
57558         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57559         does not overflow.
57561 2013-09-11  Will Newton  <will.newton@linaro.org>
57563         [BZ #15856]
57564         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57565         does not overflow.
57567 2013-09-11  Will Newton  <will.newton@linaro.org>
57569         [BZ #15855]
57570         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57571         does not overflow.
57573 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57575         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57576         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57577         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57578         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57579         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57581 2013-09-10  Allan McRae  <allan@archlinux.org>
57583         [BZ #15748]
57584         * manual/arith.texi (Parsing of Floats): Clarify
57585         cross-reference.
57587         [BZ #15849]
57588         * manual/install.texi (Running make install): Mention
57589         --enable-pt-chown.
57590         * INSTALL: Regenerated.
57592 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57594         * csu/init-first.c (_init): Remove the !SHARED condition around
57595         FPU control word initialization.
57596         * elf/dl-support.c (_dl_fpu_control): New variable.
57597         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57598         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57599         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57600         * math/test-fpucw-static.c: New file.
57601         * math/test-fpucw-ieee.c: New file.
57602         * math/test-fpucw-ieee-static.c: New file.
57603         * math/Makefile (tests): Add `test-fpucw-ieee' and
57604         `$(tests-static)'.
57605         (tests-static): New variable.
57606         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57607         dependency to...
57608         [($(build-shared),yes)]
57609         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57610         ... this.
57611         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57612         New dependency.
57614 2013-09-09  Allan McRae  <allan@archlinux.org>
57616         [BZ #15939]
57617         * manual/string.texi (Collation Functions): Fix typo in
57618         strcoll example.
57619         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57621         [BZ #15893]
57622         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57624         [BZ #15892]
57625         * libio/memstream.c (open_memstream): Fix memory leak.
57626         * libio/wmemstream.c (open_wmemstream): Likewise.
57628         [BZ #15895]
57629         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57631 2013-09-09  Will Newton  <will.newton@linaro.org>
57633         * malloc/Makefile: Add tst-realloc to tests.
57634         * malloc/tst-realloc.c: New file.
57636 2013-09-09  Allan McRae  <allan@archlinux.org>
57638         [BZ #15844]
57639         * COPYING: Update from GNU website to fix FSF address.
57640         * COPYING.LIB: Likewise.
57642 2013-09-06  David S. Miller  <davem@davemloft.net>
57644         * po/zh_TW.po: Update Chinese (traditional) translation from
57645         translation project.
57647 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57648             Joseph Myers  <joseph@codesourcery.com>
57650         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57651         "localeinfo.h".
57652         (obstack_chunk_alloc): New macro.
57653         (obstack_chunk_free): Likewise.
57654         (record_offset): New function.
57655         (init_locale_data): Likewise.
57656         (align_locale_data): Likewise.
57657         (add_locale_empty): Likewise.
57658         (add_locale_raw_data): Likewise.
57659         (add_locale_raw_obstack): Likewise.
57660         (add_locale_string): Likewise.
57661         (add_locale_wstring): Likewise.
57662         (add_locale_uint32): Likewise.
57663         (add_locale_uint32_array): Likewise.
57664         (add_locale_char): Likewise.
57665         (start_locale_structure): Likewise.
57666         (end_locale_structure): Likewise.
57667         (start_locale_prelude): Likewise.
57668         (end_locale_prelude): Likewise.
57669         (write_locale_data): Take locale_file structure rather than an
57670         iovec.
57671         * locale/programs/locfile.h: Include "obstack.h".
57672         (struct locale_file): Change to store locale file contents instead
57673         of header.
57674         (init_locale_data): New prototype.
57675         (align_locale_data): Likewise.
57676         (add_locale_empty): Likewise.
57677         (add_locale_raw_data): Likewise.
57678         (add_locale_raw_obstack): Likewise.
57679         (add_locale_string): Likewise.
57680         (add_locale_wstring): Likewise.
57681         (add_locale_uint32): Likewise.
57682         (add_locale_uint32_array): Likewise.
57683         (add_locale_char): Likewise.
57684         (start_locale_structure): Likewise.
57685         (end_locale_structure): Likewise.
57686         (start_locale_prelude): Likewise.
57687         (end_locale_prelude): Likewise.
57688         (write_locale_data): Update prototype.
57689         * locale/programs/3level.h (struct TABLE): Remove result field.
57690         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57691         Use new locale_file interface.
57692         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57693         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57694         * locale/programs/ld-address.c (address_output): Use new
57695         locale_file interface.
57696         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57697         NO_ADD_LOCALE.
57698         (collate_finish): Don't call collseq_table_finalize.
57699         (collate_output): Use new locale_file interface.
57700         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57701         in file.
57702         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57703         (TABLE): Move defines earlier in file.
57704         (ELEMENT): Likewise.
57705         (DEFAULT): Likewise.
57706         (wctrans_table_add): Move macro and inline function earlier in
57707         file.
57708         (struct wctype_table): Move type earlier in file.
57709         (add_locale_wctype_table): New static prototype.
57710         (struct locale_ctype_t): Use logical types instead of struct iovec
57711         pointers for members.
57712         (ctype_output): Use new locale_file interface.
57713         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57714         new locale_file interface.
57715         (allocate_arrays): Update for use of new locale_file interface.
57716         * locale/programs/ld-identification.c (identification_output): Use
57717         new locale_file interface.
57718         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57719         * locale/programs/ld-messages.c (messages_output): Likewise.
57720         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57721         * locale/programs/ld-name.c (name_output): Likewise.
57722         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57723         * locale/programs/ld-paper.c (paper_output): Likewise.
57724         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57725         * locale/programs/ld-time.c (time_output): Likewise.
57727 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57729         * benchtests/Makefile: Add memrchr benchmark.
57730         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57731         benchmark as memrchr.
57732         * benchtests/bench-memrchr-ifunc.c: New file.
57733         * benchtests/bench-memrchr.c: New file.
57735 2013-09-06   Will Newton  <will.newton@linaro.org>
57737         * benchtests/Makefile (string-bench): Add memcpy.
57739 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57740             Cong Wang  <amwang@redhat.com>
57742         [BZ #15850]
57743         * sysdeps/unix/sysv/linux/bits/in.h
57744         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57745         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57746         before __USE_KERNEL_IPV6_DEFS uses.
57747         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57748         IPPROTO_BEETPH.
57749         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57750         sockaddr_in6, or ipv6_mreq.
57752 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57754         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57755         memory access for final bytes in some large inputs.
57756         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57758 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57760         * string/test-memrchr.c: New file.
57761         * string/test-memrchr-ifunc.c: New file.
57762         * string/Makefile: Add new memrchr testcase.
57764 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57766         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57767         fanotify_init returns EPERM.
57769 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57771         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57772         errors.
57773         (top level): Treat second token from macro or constant entries for
57774         allowed headers as allowed.
57775         * include/complex.h: Condition internal declarations on
57776         [!_ISOMAC].
57777         * include/fenv.h: Condition include of <stdbool.h> and internal
57778         declarations on [!_ISOMAC].
57780 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57782         [BZ #15923]
57783         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57785 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57787         * configure.in (--enable-versioning): Remove configure option.
57788         (libc_cv_asm_symver_directive): Remove configure test.
57789         (libc_cv_ld_version_script_option): Likewise.
57790         (VERSIONING): Remove variable and AC_SUBST.
57791         (DO_VERSIONING): Remove AC_DEFINE.
57792         * configure: Regenerated.
57793         * config.h.in (DO_VERSIONING): Remove macro.
57794         * Makerules [$(versioning) = yes]: Change conditionals to
57795         [$(build-shared) = yes].
57796         * config.make.in (versioning): Remove variable.
57797         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57798         [$(build-shared) = yes].
57799         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57800         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57801         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57802         [$(build-shared) = yes].
57803         * extra-lib.mk [$(versioning) = yes]: Likewise.
57804         * hurd/Makefile [$(versioning) = yes]: Likewise.
57805         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57806         [SHARED].
57807         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57808         [SHARED].
57809         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57810         [SHARED && !NO_HIDDEN].
57811         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57812         [SHARED].
57813         [SHARED && DO_VERSIONING]: Likewise..
57814         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57815         [$(build-shared) = yes].
57816         * manual/install.texi (--disable-versioning): Remove
57817         documentation.
57818         * INSTALL: Regenerated.
57819         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57820         to [SHARED].
57821         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57822         [$(build-shared) = yes].
57823         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57824         * sysdeps/i386/i686/multiarch/strstr-c.c
57825         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57826         [SHARED && !NO_HIDDEN].
57827         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57828         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57829         * sysdeps/powerpc/powerpc32/dl-machine.c
57830         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57831         * sysdeps/powerpc/powerpc32/sysdep.h
57832         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57833         to [SHARED && PIC && !NO_HIDDEN].
57834         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57835         conditional to [SHARED].
57837 2013-09-04   Will Newton  <will.newton@linaro.org>
57839         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57840         * benchtests/bench-string.h: Include bench-timing.h instead
57841         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57842         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57843         call to HP_TIMING_DIFF_INIT.
57844         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57845         instead of hp-timing.h macros.
57846         * benchtests/bench-memchr.c: Likewise.
57847         * benchtests/bench-memcmp.c: Likewise.
57848         * benchtests/bench-memcpy.c: Likewise.
57849         * benchtests/bench-memmem.c: Likewise.
57850         * benchtests/bench-memmove.c: Likewise.
57851         * benchtests/bench-memset.c: Likewise.
57852         * benchtests/bench-rawmemchr.c: Likewise.
57853         * benchtests/bench-strcasecmp.c: Likewise.
57854         * benchtests/bench-strcasestr.c: Likewise.
57855         * benchtests/bench-strcat.c: Likewise.
57856         * benchtests/bench-strchr.c: Likewise.
57857         * benchtests/bench-strcmp.c: Likewise.
57858         * benchtests/bench-strcpy.c: Likewise.
57859         * benchtests/bench-strcpy_chk.c: Likewise.
57860         * benchtests/bench-strlen.c: Likewise.
57861         * benchtests/bench-strncasecmp.c: Likewise.
57862         * benchtests/bench-strncat.c: Likewise.
57863         * benchtests/bench-strncmp.c: Likewise.
57864         * benchtests/bench-strncpy.c: Likewise.
57865         * benchtests/bench-strnlen.c: Likewise.
57866         * benchtests/bench-strpbrk.c: Likewise.
57867         * benchtests/bench-strrchr.c: Likewise.
57868         * benchtests/bench-strspn.c: Likewise.
57869         * benchtests/bench-strstr.c: Likewise.
57871 2013-09-04  Will Newton  <will.newton@linaro.org>
57873         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57875 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57877         [BZ #15427]
57878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57879         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57880         * math/libm-test.inc (lgamma_test_data): Add more tests.
57881         * sysdeps/i386/fpu/libm-test-ulps: Update.
57882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57884 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57886         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57888         Add ifunc.
57889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57890         Add strcmp-sse2-unaligned
57891         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57893 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57895         * Versions.def (libc): Add GLIBC_2.19.
57897 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57899         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57900         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57902 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57904         [BZ #14155]
57905         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57906         intermediate calculations in recurrence.
57907         (__ieee754_ynf): Likewise.
57908         * math/libm-test.inc (jn_test_data): Do not allow spurious
57909         underflow exception.  Add more tests.
57910         (yn_test_data): Add more tests.
57911         * sysdeps/i386/fpu/libm-test-ulps: Update.
57912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57914 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57918 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57920         * csu/init-first.c: Fix then/than typos.
57921         * locale/programs/ld-collate.c: Likewise.
57922         * locale/programs/linereader.h: Likewise.
57923         * manual/charset.texi: Likewise.
57924         * manual/filesys.texi: Likewise.
57925         * manual/stdio.texi: Likewise.
57926         * manual/string.texi: Likewise.
57927         * stdlib/fmtmsg.c: Likewise.
57928         * sysdeps/i386/stpncpy.S: Likewise.
57929         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57930         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57931         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57932         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57934 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57936         * elf/dl-open.c: Fix typos.
57937         * iconvdata/gbbig5.c: Likewise.
57938         * iconvdata/iso-2022-jp.c: Likewise.
57939         * iconv/gconv_int.h: Likewise.
57940         * iconv/loop.c: Likewise.
57941         * nis/rpcsvc/nis.h: Likewise.
57942         * resolv/ns_name.c: Likewise.
57943         * stdio-common/vfscanf.c: Likewise.
57944         * streams/stropts.h: Likewise.
57945         * sunrpc/rpc_thread.c: Likewise.
57946         * sysdeps/i386/strpbrk.S: Likewise.
57947         * sysdeps/ieee754/k_standard.c: Likewise.
57948         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57950         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57951         * sysdeps/mach/hurd/profil.c: Likewise.
57952         * sysdeps/s390/dl-procinfo.h: Likewise.
57953         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57954         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57955         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57956         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57957         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57959 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57961         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57964 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57966         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57967         aix specific files.
57968         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57969         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57970         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57971         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57972         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57973         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57974         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57975         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57977 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57978             Roland McGrath  <roland@hack.frob.com>
57980         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57981         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57983 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57985         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57986         __executable_start symbol instead of _start.
57988 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57990         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57991         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57992         Move macros to...
57993         * sysdeps/gnu/ldsodefs.h: ... this new file.
57995         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57996         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57997         instead of ELFOSABI_LINUX.
57999         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58000         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58001         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58002         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58003         Likewise.
58004         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58005         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58006         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58007         Likewise.
58008         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58009         (ibm_extended_long_double): Add ieee_nan member.
58010         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58011         (do_test): New function.
58013         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58014         TEST_TRUNC.
58015         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58016         functions, renamed from truncdfsf_test, trunctfsf_test,
58017         trunctfdf_test.
58018         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58019         functions.
58020         (do_test): Run all these.
58022 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58024         * argp/argp-help.c: Fix typos.
58025         * argp/argp-parse.c: Likewise.
58026         * debug/backtracesyms.c: Likewise.
58027         * elf/elf.h: Likewise.
58028         * malloc/malloc.c: Likewise.
58029         * nis/nis_print.c: Likewise.
58030         * resolv/res_comp.c: Likewise.
58031         * stdlib/stdlib.h: Likewise.
58032         * sunrpc/clnt_tcp.c: Likewise.
58033         * sunrpc/clnt_udp.c: Likewise.
58034         * sunrpc/clnt_unix.c: Likewise.
58035         * sysdeps/unix/bsd/ptsname.c: Likewise.
58036         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58037         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58039         Likewise.
58040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58041         Likewise.
58042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58043         Likewise.
58044         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58046 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58048         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58051 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58053         [BZ #15897]
58054         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58055         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58056         ($(objpfx)bug-dl-leaf): New rule.
58057         ($(objpfx)bug-dl-leaf.so): Likewise.
58058         ($(objpfx)bug-dl-leaf.out): Likewise.
58059         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58060         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58061         * dlfcn/bug-dl-leaf.c: New test.
58062         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58063         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58064         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58065         (dlclose): Likewise.
58066         (dlmopen): Likewise.
58068 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58070         * include/netdb.h [!_ISOMAC]:
58071         Don't include <tls.h>.
58072         (h_errno, __libc_h_errno): Move declaration and macros out of
58073         [_LIBC_REENTRANT].
58075         * include/resolv.h [_RESOLV_H_]:
58076         Don't include <tls.h>.
58077         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58078         * resolv/res_libc.c: Don't include <tls.h>.
58079         (_res): Use __attribute__ ((nocommon)) in place of
58080         __attribute__ ((section (".bss"))).
58082         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58083         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58085         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58087         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58088         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58090         * resolv/res_mkquery.c: Include <sys/time.h>.
58092         * inet/ifreq.c: Moved to ...
58093         * sysdeps/unix/ifreq.c: ... here.
58094         * inet/ifreq.c: New file, true stub version.
58096         * socket/sa_len.c: New file.
58097         * socket/Makefile (aux): Add it.
58098         * sysdeps/unix/sysv/linux/Makefile
58099         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58100         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58101         and #include <socket/sa_len.c>.
58102         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58103         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58105         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58106         * bits/socket.h: ... here.
58108         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58109         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58110         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58112 2013-08-27  Andreas Schwab  <schwab@suse.de>
58114         [BZ #15736]
58115         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58116         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58117         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58118         * string/test-strcasecmp.c (test_main): Run tests in several
58119         locales.
58120         * string/test-strncasecmp.c (test_main): Likewise.
58122         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58123         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58124         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58125         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58126         (__strncasecmp_ssse3) [PIC]: Likewise.
58128 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58130         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58132         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58133         instead of explicitly declaring xdecrypt.
58134         * nis/nss_nis/nis-publickey.c: Likewise.
58136 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58138         [BZ #15890]
58139         * nscd/aicache.c: Include res_hconf.h.
58140         (addhstaiX): Initialize res_hconf.
58142 2013-08-26  Andreas Schwab  <schwab@suse.de>
58144         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58145         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58147 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58149         * nscd/aicache.c (addhstaiX): Fix indentation.
58151 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58153         * configure.ac: Quote $build_pt_chown test.
58154         * configure: Regenerated.
58156 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58158         [BZ #15532]
58159         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58160         * math/s_cexpf.c (__cexpf): Likewise.
58161         * math/s_cexpl.c (__cexpl): Likewise.
58162         * math/libm-test.inc (cexp_test_data): Correct expected return
58163         value for NaN + i0.  Add another test.
58165 2013-08-22  David S. Miller  <davem@davemloft.net>
58167         * po/ca.po: Update Catalan translation from translation project.
58168         * po/uk.po: Add Ukrainian translations from translation project.
58170 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58172         [BZ #15797]
58173         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58174         is infinite, not alongside NaN test.
58175         * math/s_fdimf.c (__fdimf): Likewise.
58176         * math/s_fdiml.c (__fdiml): Likewise.
58177         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58178         errno is unchanged.
58180 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58182         * argp/argp-help.c: Fix typos.
58183         * crypt/speeds.c: Likewise.
58184         * csu/check_fds.c: Likewise.
58185         * elf/dl-load.c: Likewise.
58186         * elf/dl-open.c: Likewise.
58187         * elf/reldep3.c: Likewise.
58188         * elf/reldep.c: Likewise.
58189         * elf/sprof.c: Likewise.
58190         * iconv/iconv_charmap.c: Likewise.
58191         * iconv/skeleton.c: Likewise.
58192         * iconv/strtab.c: Likewise.
58193         * io/lockf64.c: Likewise.
58194         * libio/libioP.h: Likewise.
58195         * resolv/gai_notify.c: Likewise.
58196         * resolv/ns_name.c: Likewise.
58197         * resolv/ns_samedomain.c: Likewise.
58198         * resolv/res_send.c: Likewise.
58199         * stdlib/random.c: Likewise.
58200         * sunrpc/rpc/xdr.h: Likewise.
58201         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58202         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58203         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58204         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58205         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58206         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58208         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58209         * sysdeps/mach/hurd/check_fds.c: Likewise.
58210         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58211         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58213         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58214         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58215         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58216         * sysdeps/pthread/aio_notify.c: Likewise.
58217         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58218         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58219         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58220         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58221         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58223 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58225         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58226         version if bit_Slow_SSE4_2 is set.
58227         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58228         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58230 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58232         [BZ #15867]
58233         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58234         trampoline stack frame information.
58235         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58236         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58237         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58238         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58239         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58240         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58241         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58242         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58243         sa_flags value.
58244         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58245         interrupting a syscall and set with option SA_SIGINFO.
58247 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58249         [BZ #15531]
58250         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58251         argument is infinite.
58252         * math/s_cprojf.c (__cprojf): Likewise.
58253         * math/s_cprojl.c (__cprojl): Likewise.
58254         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58255         * math/libm-test.inc (cproj_test_data): Add more tests.
58257         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58259         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58260         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58261         size.  Use __ffs to determine corresponding shift.
58263 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58264             Roland McGrath  <roland@hack.frob.com>
58266         * Makefile (INSTALL): Remove trailing blank lines from output of
58267         makeinfo.
58269 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58271         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58272         Align 32 bit compat elf_greg to 8 bytes.
58274 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58276         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58278 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58280         * string/strcoll_l.c (coll_seq): New structure.
58281         (get_next_seq_cached): New function.
58282         (get_next_seq): New function.
58283         (do_compare): New function.
58284         (STRCOLL): Use GNU style definition.  Simplify implementation
58285         by using get_next_seq, get_next_seq_cached and do_compare.
58287 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58289         [BZ #14699]
58290         CVE-2013-4237
58291         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58292         member.
58293         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58294         member.
58295         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58296         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58297         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58298         conditional.
58299         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58300         GETDENTS_64BIT_ALIGNED.
58301         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58302         * manual/filesys.texi (Reading/Closing Directory): Document
58303         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58304         strongly.
58305         * manual/conf.texi (Limits for Files): Add portability note to
58306         NAME_MAX, PATH_MAX.
58307         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58309 2013-08-13  Andreas Schwab  <schwab@suse.de>
58311         [BZ #15749]
58312         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58313         of fabs.
58314         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58315         LDBL_MAX_EXP >= 16384]: Add tests for it.
58317 2013-08-12  David S. Miller  <davem@davemloft.net>
58319         * version.h (RELEASE): Set to "development".
58320         (VERSION): Set to "2.18.90".
58321         * NEWS: Add 2.19 section.
58323 2013-08-03  David S. Miller  <davem@davemloft.net>
58325         * po/ko.po: Update Korean translation from translation project.
58327 2013-08-01  David S. Miller  <davem@davemloft.net>
58329         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58330         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58331         Bilka.
58333 2013-07-30  David S. Miller  <davem@davemloft.net>
58335         * po/fr.po: Update French translation from translation project.
58337 2013-07-28  David S. Miller  <davem@davemloft.net>
58339         * po/cs.po: Update Czech translation from translation project.
58341         * po/sv.po: Update Swedish translation from translation project.
58343 2013-07-27  David S. Miller  <davem@davemloft.net>
58345         * po/eo.po: Update Esperanto translation from translation project.
58347         * po/vi.po: Update Vietnamese translation from translation project.
58349         * po/de.po: Update German translation from translation project.
58351 2013-07-26  David S. Miller  <davem@davemloft.net>
58353         * po/bg.po: Update Bulgarian translation from translation project.
58355         * po/nl.po: Update Dutch translation from translation project.
58356         * po/pl.po: Update Polish translation from translation project.
58357         * po/ru.po: Update Russian translation from translation project.
58359 2013-07-24  David S. Miller  <davem@davemloft.net>
58361         * po/libc.pot: Update.
58363 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58365         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58366         variable page size.
58367         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58368         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58369         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58371 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58373         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58375 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58376             Andreas Schwab  <schwab@suse.de>
58377             Roland McGrath  <roland@hack.frob.com>
58378             Joseph Myers  <joseph@codesourcery.com>
58379             Carlos O'Donell  <carlos@redhat.com>
58381         [BZ #15755]
58382         * config.h.in: Define HAVE_PT_CHOWN.
58383         * config.make.in (build-pt-chown): New variable.
58384         * configure.in (--enable-pt_chown): New configure option.
58385         * configure: Regenerate.
58386         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58387         build-pt-chown is enabled.
58388         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58389         pt_chown to fix pty ownership.
58390         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58391         CLOSE_ALL_FDS.
58392         * manual/install.texi (Configuring and compiling): Mention
58393         --enable-pt_chown. Add @findex for grantpt.
58394         * INSTALL: Regenerate.
58396 2013-07-20  David S. Miller  <davem@davemloft.net>
58398         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58399         difference between 32-bit and 64-bit.
58401 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58403         [BZ #15711]
58404         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58405         Avoid system header dependency with -ffreestanding.
58406         ($(objpfx)bits/syscall%d): Likewise.
58408 2013-07-13  David S. Miller  <davem@davemloft.net>
58410         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58411         underflows from atanl/atan2l due to bug 15319.
58412         (casinh_test_data): Likewise.
58414 2013-07-07  David S. Miller  <davem@davemloft.net>
58416         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58418 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58420         * sysdeps/i386/fpu/libm-test-ulps: Update.
58421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58423 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58425         * configure.in (--enable-lock-elision): Fix message text.
58426         * INSTALL: Regenerate.
58427         * configure: Regenerate.
58429 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58433 2013-07-03  Andreas Jaeger  <aj@suse.de>
58435         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58436         define.
58437         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58438         (ptrace_peeksiginfo_args): Add.
58439         (__ptrace_peeksiginfo_flags): Add.
58440         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58441         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58442         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58444 2013-07-03  Allan McRae  <allan@archlinux.org>
58446         * sysdeps/i386/fpu/libm-test-ulps: Update.
58448 2013-07-02  David S. Miller  <davem@davemloft.net>
58450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58452 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58456 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58458         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58461 2013-07-02  Andi Kleen <ak@linux.intel.com>
58463         * config.h.in (ENABLE_LOCK_ELISION): Add.
58464         * configure.in (--enable-lock-elision): Add option.
58465         * manual/install.texi: Document --enable lock elision.
58466         * configure: Regenerate
58467         * INSTALL: Regenerate.
58469 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58471         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58472         SSE4.2 strcasecmp for libc.a.
58473         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58475 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58477         [BZ #13304]
58478         * soft-fp/op-common.h (_FP_FMA): New macro.
58479         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58480         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58481         (_FP_MUL_MEAT_1_imm): ... here.
58482         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58483         (_FP_MUL_MEAT_1_wide): ... here.
58484         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58485         (_FP_MUL_MEAT_1_hard): ... here.
58486         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58487         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58488         (_FP_MUL_MEAT_2_wide): ... here.
58489         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58490         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58491         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58492         (_FP_MUL_MEAT_2_gmp): ... here.
58493         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58494         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58495         (_FP_MUL_MEAT_4_wide): ... here.
58496         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58497         (_FP_MUL_MEAT_4_gmp): ... here.
58498         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58499         (_FP_WFRACBITS_DW_S): Likewise.
58500         (_FP_WFRACXBITS_DW_S): Likewise.
58501         (_FP_HIGHBIT_DW_S): Likewise.
58502         (FP_FMA_S): Likewise.
58503         (_FP_FRAC_HIGH_DW_S): Likewise.
58504         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58505         (_FP_WFRACBITS_DW_D): Likewise.
58506         (_FP_WFRACXBITS_DW_D): Likewise.
58507         (_FP_HIGHBIT_DW_D): Likewise.
58508         (FP_FMA_D): Likewise.
58509         (_FP_FRAC_HIGH_DW_D): Likewise.
58510         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58511         (_FP_WFRACBITS_DW_E): Likewise.
58512         (_FP_WFRACXBITS_DW_E): Likewise.
58513         (_FP_HIGHBIT_DW_E): Likewise.
58514         (FP_FMA_E): Likewise.
58515         (_FP_FRAC_HIGH_DW_E): Likewise.
58516         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58517         (_FP_WFRACBITS_DW_Q): Likewise.
58518         (_FP_WFRACXBITS_DW_Q): Likewise.
58519         (_FP_HIGHBIT_DW_Q): Likewise.
58520         (FP_FMA_Q): Likewise.
58521         (_FP_FRAC_HIGH_DW_Q): Likewise.
58522         * soft-fp/fmasf4.c: New file.
58523         * soft-fp/fmadf4.c: Likewise.
58524         * soft-fp/fmatf4.c: Likewise.
58526 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58529         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58530         Silvermont.
58531         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58532         macro.
58533         (index_Slow_SSE4_2): Likewise.
58534         (index_Prefer_PMINUB_for_stringop): Likewise.
58535         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58536         bit_Slow_SSE4_2 is set.
58537         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58538         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58540 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58542         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58543         rtld_global._dl_hwcap2.
58544         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58545         POWER8.
58546         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58547         POWER8 feature descriptions defined in _dl_hwcap2.
58548         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58549         string handling for POWER8 feature bits.
58550         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58551         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58552         _dl_powerpc_cap_flags.
58553         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58554         * sysdeps/powerpc/rtld-global-offsets.sym
58555         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58556         _dl_hwcap2 in the rtld_global_ro structure.
58558 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58560         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58561         hardware capabilities in support of AT_HWCAP2.
58562         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58563         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58564         GLRO(dl_hwcap2).
58565         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58566         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58567         explicitly the unknown a_type display mechanism is used.
58568         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58569         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58570         struct member.
58571         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58572         to macro prototype for AT_HWCAP2 support.
58573         * sysdeps/i386/dl-procinfo.h: Likewise.
58574         * sysdeps/s390/dl-procinfo.h: Likewise.
58575         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58576         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58577         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58578         return -1 for unknown a_type display fallback.
58579         * sysdeps/sparc/dl-procinfo.h: Likewise.
58580         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58581         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58583 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58585         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58586         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58588 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58590         [BZ #12492]
58591         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58592         mprotect making __stack_prot writable.
58594 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58595             Joseph Myers  <joseph@codesourcery.com>
58597         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58598         as being properly aligned.
58600 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58602         * dlfcn/modstatic5.c: New file.
58603         * dlfcn/tststatic5.c: New file.
58604         * dlfcn/Makefile (tests): Add tststatic5.
58605         (tests-static): Likewise.
58606         (modules-names): Add modstatic5.
58607         (tststatic5-ENV): New variable.
58608         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58610         [BZ #15022]
58611         * elf/dl-support.c (_dl_main_map): New variable.
58612         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58613         (_dl_nns, _dl_load_adds): Set to 1.
58614         (_dl_initial_searchlist): Refer to _dl_main_map.
58615         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58616         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58617         call to _dl_get_origin.
58618         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58619         around call_map.
58620         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58621         * dlfcn/modstatic3.c: New file.
58622         * dlfcn/tststatic3.c: New file.
58623         * dlfcn/tststatic4.c: New file.
58624         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58625         (tests-static): Likewise.
58626         (modules-names): Add modstatic3.
58627         (tststatic3-ENV, tststatic4-ENV): New variables.
58628         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58629         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58631 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58633         * configure.in (CC): Require GCC version 4.4 or later.
58634         * configure: Regenerated.
58635         * manual/install.texi (Tools for Compilation): Update GCC version
58636         requirement.
58637         * INSTALL: Regenerated.
58639 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58641         [BZ #15674]
58642         * string/test-memcmp.c (check2): New.
58643         (main): Call check2.
58645         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58647 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58649         [BZ #15022]
58650         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58651         over to...
58652         (dl_open_worker) [!SHARED]: ... here.
58654 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58656         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58658 2013-06-25  Richard Henderson  <rth@redhat.com>
58660         * locale/programs/locarchive.c: Include <libc-internal.h>
58662 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58664         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58665         trailing whitespace removed.
58667 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58669         [BZ #10283]
58670         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58671         * locale/programs/locarchive.c: Include libc-mmap.h.
58672         (prepare_address_space): Take two new outputs (the mmap base and len).
58673         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58674         values.
58675         (create_archive): Declare new mmap base and len values for
58676         prepare_address_space, and store the result in ah.
58677         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58678         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58679         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58680         Declare new mmap base and len values for
58681         prepare_address_space, and store the result in new_ah.
58682         (open_archive): Declare new mmap base and len values for
58683         prepare_address_space, and store the result in ah.
58684         (close_archive): If ah->mmap_base is not NULL, use that and
58685         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58686         * sysdeps/generic/libc-mmap.h: New file.
58688 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58690         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58691         (ALIGN_UP): Likewise.
58692         (PTR_ALIGN_DOWN): Likewise.
58693         (PTR_ALIGN_UP): Likewise.
58695 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58697         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58698         entry mapped to PPC_PLATFORM_POWER8.
58699         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58700         POWER8.
58701         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58702         (_dl_string_platform): Add case for exporting platform position for
58703         POWER8.
58704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58705         search path to sysdeps/powerpc/powerpc32/power8 directory.
58706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58707         search path to sysdeps/powerpc/powerpc64/power8 directory.
58708         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58709         power7 directories.
58710         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58711         power7 directories.
58713 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58715         * INSTALL: Regenerate.
58717         * nscd/connections.c (nscd_init): Fix comment.
58719 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58721         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58723         [BZ #15667]
58724         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58725         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58727 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58729         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58730         DL_DST_REQ_STATIC.
58731         (DL_DST_REQ_STATIC): Remove macro.
58733 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58735         [BZ #7006]
58736         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58737         with a shift of 0 bits.
58739 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58741         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58742         $(tststatic-ENV).
58744 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58746         [BZ #15655]
58747         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58749 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58751         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58752         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58753         accepts -fno-tree-loop-distribute-patterns.
58754         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58755         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58756         recursive call.
58757         * string/memset.c (memset): Likewise.
58758         * string/test-memmove.c (simple_memmove): Disable loop transformation
58759         to library calls.
58760         * string/test-memset.c (simple_memset): Likewise.
58761         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58762         * benchtests/bench-memset.c (simple_memset): Likewise.
58763         * configure: Regenerated.
58765 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58767         * math/test-misc.c (main): Ignore fesetround failure when failures
58768         of subsequent rounding tests would be ignored.
58770         [BZ #15654]
58771         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58772         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58773         * math/fegetenv.c (__fegetenv): Return 0.
58774         * math/fegetexcept.c (fegetexcept): Return 0.
58775         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58776         FE_TONEAREST.
58777         * math/feholdexcpt.c (feholdexcept): Return 0.
58778         * math/fesetenv.c (__fesetenv): Return 0.
58779         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58780         argument FE_TONEAREST.
58781         * math/feupdateenv.c (__feupdateenv): Return 0.
58782         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58784 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58786         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58787         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58788         ($(objpfx)rtld-%.os rules): Use them.
58790 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58792         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58793         fields.
58795 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58797         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58798         length of target pattern, then descending length of dependency pattern.
58799         * configure.in (AWK): Require gawk 3.1.2 or newer.
58800         * manual/install.texi (Tools for Compilation): Say that we do.
58801         * configure: Regenerated.
58803         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58804         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58805         * scripts/sysd-rules.awk: ... this new script.
58806         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58807         than a glob-style pattern.
58809 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58811         * math/test-misc.c (main): Do not treat incorrectly rounded
58812         conversions as failure unless ROUNDING_TESTS passes.
58814 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58816         [BZ #15631]
58817         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58818         restore exception state around main square root computation, then
58819         check for inexactness explicitly.
58821         * math/libm-test.inc (fma_test_data): Add another test.
58823 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58825         * manual/threads.texi (Non-POSIX Extensions): New document
58826         node.  Document pthread_getattr_default_np and
58827         pthread_setattr_default_np.
58829         * Versions.def (libpthread): Add GLIBC_2.18.
58830         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58832         Likewise.
58833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58834         Likewise.
58835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58836         Likewise.
58837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58838         Likewise.
58839         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58840         Likewise.
58841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58842         Likewise.
58843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58844         Likewise.
58845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58846         Likewise.
58847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58848         Likewise.
58850 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58853         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58855 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58856             H.J. Lu  <hjl.tools@gmail.com>
58858         [BZ #15627]
58859         * sysdeps/x86_64/rtld-memset.c: Remove file.
58860         * sysdeps/x86_64/rtld-memset.S: New file.
58862 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58864         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58865         (test_in_one_mode): Take arguments for whether the rounding mode
58866         is supported for each floating-point type.
58867         (do_test): Pass new arguments to test_in_one_mode using
58868         ROUNDING_TESTS.
58870 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58872         * posix/tst-waitid.c (do_test): Distinguish different instances of
58873         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58874         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58875         before entering the kernel for waitpid.
58877 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58879         * NEWS: Fix note on clock function precision.  Text by Roland
58880         McGrath.
58882 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58884         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58885         it into place only when and if the sanity check passes.
58887 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58889         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58890         output for whether conversion result is exact.  Take argument
58891         indicating whether type is IBM long double.
58892         (round_for_all): Change need_exact field to ibm_ld.
58893         * stdlib/tst-strtod-round.c (struct exactness): New type.
58894         (struct test): Change bool ld_ok field to struct exactness exact.
58895         (TEST): Update all definitions for change to field.
58896         (tests): Regenerate array contents.
58897         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58898         field value.  Check for IBM long double here.
58899         (do_test): Update calls to test_in_one_mode.
58901 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58903         [BZ #12515]
58904         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58905         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58907 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58909         [BZ #15605]
58910         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58911         generated by the compiler on loop optimizations.
58912         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58913         general definitions.
58915 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58917         * math/bug-nextafter.c: Include <math-tests.h>.
58918         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58919         the relevant type.
58920         * math/bug-nexttoward.c: Include <math-tests.h>.
58921         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58922         the relevant type.
58923         * math/test-misc.c: Include <math-tests.h>.
58924         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58925         the relevant type.
58927 2013-06-12  Andreas Jaeger  <aj@suse.de>
58929         * po/ia.po: Update Interlingua translation from translation
58930         project.
58932 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58934         * include/fenv.h: Include stdbool.h.
58935         (struct rm_ctx): New structure.
58936         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58937         Define macro.
58938         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58939         (SET_RESTORE_ROUNDF): Likewise.
58940         (SET_RESTORE_ROUNDL): Likewise.
58941         (SET_RESTORE_ROUND_NOEX): Likewise.
58942         (SET_RESTORE_ROUND_NOEXF): Likewise.
58943         (SET_RESTORE_ROUND_NOEXL): Likewise.
58944         (SET_RESTORE_ROUND_53BIT): Likewise.
58945         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58946         (libc_feresetround_noexf_ctx): Likewise.
58947         (libc_feresetround_noexl_ctx): Likewise.
58948         (libc_feholdsetround_53bit_ctx): Likewise.
58949         (libc_feresetround_53bit_ctx): Likewise.
58950         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58951         (libc_feholdexcept_setround_sse_ctx): New function.
58952         (libc_fesetenv_sse_ctx): Likewise.
58953         (libc_feupdateenv_sse_ctx): Likewise.
58954         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58955         (libc_feholdexcept_setround_387_ctx): Likewise.
58956         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58957         (libc_feholdsetround_387_prec_ctx): Likewise.
58958         (libc_feholdsetround_387_ctx): Likewise.
58959         (libc_feholdsetround_387_53bit_ctx): Likewise.
58960         (libc_feholdsetround_sse_ctx): Likewise.
58961         (libc_feresetround_sse_ctx): Likewise.
58962         (libc_feresetround_387_ctx): Likewise.
58963         (libc_feupdateenv_387_ctx): Likewise.
58964         (libc_feholdexcept_setroundf_ctx): Define macro.
58965         (libc_fesetenvf_ctx): Likewise.
58966         (libc_feupdateenvf_ctx): Likewise.
58967         (libc_feholdsetroundf_ctx): Likewise.
58968         (libc_feresetroundf_ctx): Likewise.
58969         (libc_feholdexcept_setround_ctx): Likewise.
58970         (libc_fesetenv_ctx): Likewise.
58971         (libc_feupdateenv_ctx): Likewise.
58972         (libc_feholdsetround_ctx): Likewise.
58973         (libc_feresetround_ctx): Likewise.
58974         (libc_feholdexcept_setroundl_ctx): Likewise.
58975         (libc_feupdateenvl_ctx): Likewise.
58976         (libc_feholdsetroundl_ctx): Likewise.
58977         (libc_feresetroundl_ctx): Likewise.
58978         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58979         (libc_feresetround_53bit_ctx): Likewise.
58981 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58983         * locale/iso-639.def: Convert to UTF-8.
58985 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58987         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58988         (EXCEPTION_TESTS_double): Likewise.
58989         (EXCEPTION_TESTS_long_double): Likewise.
58990         (EXCEPTION_TESTS): Likewise.
58991         * math/libm-test.inc (test_exceptions): Only test exceptions if
58992         EXCEPTION_TESTS (FLOAT).
58994 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58996         * benchtests/Makefile (string-bench): Add strcpy_chk and
58997         stpcpy_chk.
58998         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58999         * benchtests/bench-stpcpy_chk.c: New file.
59000         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59001         * benchtests/bench-strcpy_chk.c: New file.
59002         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59003         code.
59004         (do_test): Likewise.
59006 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59008         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59009         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59010         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59011         with tabs where appropriate.
59012         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59013         dl-procinfo.h.
59014         [PPC_PLATFORM_PPC440]: Likewise.
59015         [PPC_PLATFORM_PPC464]: Likewise.
59016         [PPC_PLATFORM_PPC476]: Likewise.
59017         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59018         ppc464, and ppc476 platform strings merging from ports/
59019         dl-procinfo.h.
59021 2013-06-11  Andreas Schwab  <schwab@suse.de>
59023         [BZ #14991]
59024         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59025         (from_ucs4_idx): Regenerate.
59026         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59027         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59028         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59029         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59030         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59031         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59032         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59033         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59034         from FROM_LOOP and TO_LOOP specific macros.
59035         (BODY): Handle combining characters.
59036         * iconvdata/BIG5HKSCS.irreversible: Update.
59037         * iconvdata/BIG5HKSCS.precomposed: New file.
59038         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59039         characters.
59040         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59042 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59044         * include/sys/time.h: Fix indentation and add copyright header.
59046         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59047         (do_test): Likewise.
59048         * string/test-memchr.c (do_one_test): Likewise.
59049         (do_test): Likewise.
59050         * string/test-memcmp.c (do_one_test): Likewise.
59051         (do_test): Likewise.
59052         * string/test-memcpy.c (do_one_test): Likewise.
59053         (do_test): Likewise.
59054         * string/test-memmem.c (do_one_test): Likewise.
59055         (do_test): Likewise.
59056         (do_random_tests): Likewise.
59057         * string/test-memmove.c (do_one_test): Likewise.
59058         (do_test): Likewise.
59059         * string/test-memset.c (do_one_test): Likewise.
59060         (do_test): Likewise.
59061         * string/test-rawmemchr.c (do_one_test): Likewise.
59062         (do_test): Likewise.
59063         * string/test-strcasecmp.c (do_one_test): Likewise.
59064         (do_test): Likewise.
59065         * string/test-strcasestr.c (do_one_test): Likewise.
59066         (do_test): Likewise.
59067         * string/test-strcat.c (do_one_test): Likewise.
59068         (do_test): Likewise.
59069         * string/test-strchr.c (do_one_test): Likewise.
59070         (do_test): Likewise.
59071         * string/test-strcmp.c (do_one_test): Likewise.
59072         (do_test): Likewise.
59073         * string/test-strcpy.c (do_one_test): Likewise.
59074         (do_test): Likewise.
59075         * string/test-string.h: Likewise.
59076         (test_init): Likewise.
59077         * string/test-strlen.c (do_one_test): Likewise.
59078         (do_test): Likewise.
59079         * string/test-strncasecmp.c (do_one_test): Likewise.
59080         (do_test): Likewise.
59081         * string/test-strncat.c (do_one_test): Likewise.
59082         (do_test): Likewise.
59083         * string/test-strncmp.c (do_one_test): Likewise.
59084         (do_test_limit): Likewise.
59085         (do_test): Likewise.
59086         * string/test-strncpy.c (do_one_test): Likewise.
59087         (do_test): Likewise.
59088         * string/test-strnlen.c (do_one_test): Likewise.
59089         (do_test): Likewise.
59090         * string/test-strpbrk.c (do_one_test): Likewise.
59091         (do_test): Likewise.
59092         * string/test-strrchr.c (do_one_test): Likewise.
59093         (do_test): Likewise.
59094         * string/test-strspn.c (do_one_test): Likewise.
59095         (do_test): Likewise.
59096         * string/test-strstr.c (do_one_test): Likewise.
59097         (do_test): Likewise.
59099         * benchtests/Makefile (string-bench): Add string benchmarks.
59100         * benchtests/bench-bcopy-ifunc.c: New file.
59101         * benchtests/bench-bcopy.c: New file.
59102         * benchtests/bench-bzero-ifunc.c: New file.
59103         * benchtests/bench-bzero.c: New file.
59104         * benchtests/bench-memccpy-ifunc.c: New file.
59105         * benchtests/bench-memccpy.c: New file.
59106         * benchtests/bench-memchr-ifunc.c: New file.
59107         * benchtests/bench-memchr.c: New file.
59108         * benchtests/bench-memcmp-ifunc.c: New file.
59109         * benchtests/bench-memcmp.c: New file.
59110         * benchtests/bench-memmem-ifunc.c: New file.
59111         * benchtests/bench-memmem.c: New file.
59112         * benchtests/bench-memmove-ifunc.c: New file.
59113         * benchtests/bench-memmove.c: New file.
59114         * benchtests/bench-mempcpy-ifunc.c: New file.
59115         * benchtests/bench-mempcpy.c: New file.
59116         * benchtests/bench-memset-ifunc.c: New file.
59117         * benchtests/bench-memset.c: New file.
59118         * benchtests/bench-rawmemchr-ifunc.c: New file.
59119         * benchtests/bench-rawmemchr.c: New file.
59120         * benchtests/bench-stpcpy-ifunc.c: New file.
59121         * benchtests/bench-stpcpy.c: New file.
59122         * benchtests/bench-stpncpy-ifunc.c: New file.
59123         * benchtests/bench-stpncpy.c: New file.
59124         * benchtests/bench-strcasecmp-ifunc.c: New file.
59125         * benchtests/bench-strcasecmp.c: New file.
59126         * benchtests/bench-strcasestr-ifunc.c: New file.
59127         * benchtests/bench-strcasestr.c: New file.
59128         * benchtests/bench-strcat-ifunc.c: New file.
59129         * benchtests/bench-strcat.c: New file.
59130         * benchtests/bench-strchr-ifunc.c: New file.
59131         * benchtests/bench-strchr.c: New file.
59132         * benchtests/bench-strchrnul-ifunc.c: New file.
59133         * benchtests/bench-strchrnul.c: New file.
59134         * benchtests/bench-strcmp-ifunc.c: New file.
59135         * benchtests/bench-strcmp.c: New file.
59136         * benchtests/bench-strcpy-ifunc.c: New file.
59137         * benchtests/bench-strcpy.c: New file.
59138         * benchtests/bench-strcspn-ifunc.c: New file.
59139         * benchtests/bench-strcspn.c: New file.
59140         * benchtests/bench-strlen-ifunc.c: New file.
59141         * benchtests/bench-strlen.c: New file.
59142         * benchtests/bench-strncasecmp-ifunc.c: New file.
59143         * benchtests/bench-strncasecmp.c: New file.
59144         * benchtests/bench-strncat-ifunc.c: New file.
59145         * benchtests/bench-strncat.c: New file.
59146         * benchtests/bench-strncmp-ifunc.c: New file.
59147         * benchtests/bench-strncmp.c: New file.
59148         * benchtests/bench-strncpy-ifunc.c: New file.
59149         * benchtests/bench-strncpy.c: New file.
59150         * benchtests/bench-strnlen-ifunc.c: New file.
59151         * benchtests/bench-strnlen.c: New file.
59152         * benchtests/bench-strpbrk-ifunc.c: New file.
59153         * benchtests/bench-strpbrk.c: New file.
59154         * benchtests/bench-strrchr-ifunc.c: New file.
59155         * benchtests/bench-strrchr.c: New file.
59156         * benchtests/bench-strspn-ifunc.c: New file.
59157         * benchtests/bench-strspn.c: New file.
59158         * benchtests/bench-strstr-ifunc.c: New file.
59159         * benchtests/bench-strstr.c: New file.
59161         * benchtests/Makefile: Disable parallel execution of targets.
59162         (string-bench): Add memcpy.
59163         (benchset): New variable to store a list of benchmark sets.
59164         (bench-func): Renamed from bench.
59165         (bench-set): New target.
59166         (bench): Depend on bench-func and bench-set.
59167         * benchtests/README: Add section on benchmark sets.
59168         * benchtests/bench-memcpy-ifunc.c: New file.
59169         * benchtests/bench-memcpy.c: New file.
59170         * benchtests/bench-string.h: New file.
59172 2013-06-11  Andreas Schwab  <schwab@suse.de>
59174         [BZ #15577]
59175         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59176         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59177         values in the triple.
59178         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59179         terminator in the group key.
59181 2013-06-11  Andreas Jaeger  <aj@suse.de>
59183         * po/zh_TW.po: Update Chinese (traditional) translation from
59184         translation project.
59186 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59188         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59189         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59190         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59191         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59192         (clock_getcpuclockid): Likewise.
59193         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59194         Add weak_alias and libc_hidden_def.
59195         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59196         * rt/clock_gettime.c (clock_gettime): Rename to
59197         __clock_gettime.  Add weak_alias and libc_hidden_def.
59198         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59199         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59200         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59201         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59202         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59203         Likewise.
59204         * rt/clock_settime.c (clock_settime): Rename to
59205         __clock_settime.  Add weak_alias and libc_hidden_def.
59206         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59208 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59210         * mach/err_boot.sub: Remove trailing whitespace.
59211         * mach/err_ipc.sub: Likewise.
59212         * mach/err_mach.sub: Likewise.
59214         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59215         (ROUNDING_TESTS_double): Likewise.
59216         (ROUNDING_TESTS_long_double): Likewise.
59217         (ROUNDING_TESTS): Likewise.
59218         * math/libm-test.inc: Include <math-tests.h>.
59219         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59220         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59221         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59222         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59224 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59226         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59227         of assigning.
59229 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59231         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59232         otherwise empty TRANS lines.
59233         * sysdeps/gnu/errlist.c: Regenerated.
59235         * catgets/gencat.c (error_print): Use (void) in function
59236         definition.
59237         * crypt/crypt_util.c (__init_des): Likewise.
59238         * crypt/speeds.c (Stop): Likewise.
59239         (main): Likewise.
59240         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59241         * inet/ruserpass.c (token): Likewise.
59242         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59243         * intl/localealias.c (extend_alias_table): Likewise.
59244         * intl/plural-exp.c (init_germanic_plural): Likewise.
59245         * libio/fcloseall.c (__fcloseall): Likewise.
59246         * libio/genops.c (_IO_flush_all): Likewise.
59247         (_IO_flush_all_linebuffered): Likewise.
59248         (_IO_cleanup): Likewise.
59249         (_IO_iter_begin): Likewise.
59250         (_IO_iter_end): Likewise.
59251         (_IO_list_lock): Likewise.
59252         (_IO_list_unlock): Likewise.
59253         (_IO_list_resetlock): Likewise.
59254         * libio/getchar.c (getchar): Likewise.
59255         * libio/getchar_u.c (getchar_unlocked): Likewise.
59256         * libio/getwchar.c (getwchar): Likewise.
59257         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59258         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59259         * login/getpt.c (__getpt): Likewise.
59260         * login/tst-utmp.c (main): Likewise.
59261         * malloc/hooks.c (__malloc_check_init): Likewise.
59262         * malloc/malloc.c (__malloc_stats): Likewise.
59263         * malloc/mtrace.c (tr_break): Likewise.
59264         (mtrace): Likewise.
59265         (muntrace): Likewise.
59266         * misc/fstab.c (endfsent): Likewise.
59267         * misc/getclktck.c (__getclktck): Likewise.
59268         * misc/getdtsz.c (__getdtablesize): Likewise.
59269         * misc/gethostid.c (gethostid): Likewise.
59270         * misc/getpagesize.c (__getpagesize): Likewise.
59271         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59272         (__get_nprocs): Likewise.
59273         (__get_phys_pages): Likewise.
59274         (__get_avphys_pages): Likewise.
59275         * misc/getttyent.c (getttyent): Likewise.
59276         (setttyent): Likewise.
59277         (endttyent): Likewise.
59278         * misc/getusershell.c (getusershell): Likewise.
59279         (endusershell): Likewise.
59280         (setusershell): Likewise.
59281         (initshells): Likewise.
59282         * misc/hsearch.c (__hdestroy): Likewise.
59283         * misc/sync.c (sync): Likewise.
59284         * misc/syslog.c (closelog_internal): Likewise.
59285         (closelog): Likewise.
59286         * misc/ttyslot.c (ttyslot): Likewise.
59287         * misc/vhangup.c (vhangup): Likewise.
59288         * posix/fork.c (__fork): Likewise.
59289         * posix/getegid.c (__getegid): Likewise.
59290         * posix/geteuid.c (__geteuid): Likewise.
59291         * posix/getgid.c (__getgid): Likewise.
59292         * posix/getpid.c (__getpid): Likewise.
59293         * posix/getppid.c (__getppid): Likewise.
59294         * posix/getuid.c (__getuid): Likewise.
59295         * posix/pause.c (pause): Likewise.
59296         * posix/setpgrp.c (setpgrp): Likewise.
59297         * posix/setsid.c (__setsid): Likewise.
59298         * posix/test-vfork.c (noop): Likewise.
59299         * resolv/gethnamaddr.c (_endhtent): Likewise.
59300         (_gethtent): Likewise.
59301         (ht_endhostent): Likewise.
59302         (gethostent): Likewise.
59303         (dns_service): Likewise.
59304         * stdlib/drand48.c (drand48): Likewise.
59305         * stdlib/lrand48.c (lrand48): Likewise.
59306         * stdlib/mrand48.c (mrand48): Likewise.
59307         * stdlib/rand.c (rand): Likewise.
59308         * stdlib/random.c (__random): Likewise.
59309         * stdlib/setenv.c (clearenv): Likewise.
59310         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59311         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59312         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59313         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59314         (__get_nprocs): Likewise.
59315         (__get_phys_pages): Likewise.
59316         (__get_avphys_pages): Likewise.
59317         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59318         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59319         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59320         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59321         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59322         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59323         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59324         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59325         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59326         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59327         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59328         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59329         * sysdeps/posix/clock.c (clock): Likewise.
59330         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59331         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59332         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59333         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59334         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59336         (__get_nprocs_conf): Likewise.
59337         (__get_phys_pages): Likewise.
59338         (__get_avphys_pages): Likewise.
59339         * time/clock.c (clock): Likewise.
59340         * time/tzset.c (__tzname_max): Likewise.
59342 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59344         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59345         (__bswap_32): Do not use "register".
59346         * crypt/crypt.c (_ufc_doit_r): Likewise.
59347         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59348         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59349         * gmon/gmon.c (__monstartup): Likewise.
59350         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59351         * hurd/hurdmalloc.c (more_memory): Likewise.
59352         (malloc): Likewise.
59353         (free): Likewise.
59354         (realloc): Likewise.
59355         (malloc_fork_prepare): Likewise.
59356         (malloc_fork_parent): Likewise.
59357         (malloc_fork_child): Likewise.
59358         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59359         (_svcauth_des): Likewise.
59360         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59361         * inet/inet_net.c (inet_network): Likewise.
59362         * inet/inet_netof.c (inet_netof): Likewise.
59363         * inet/rcmd.c (__validuser2_sa): Likewise.
59364         * io/fts.c (fts_open): Likewise.
59365         (fts_load): Likewise.
59366         (fts_close): Likewise.
59367         (fts_read): Likewise.
59368         (fts_children): Likewise.
59369         (fts_build): Likewise.
59370         (fts_stat): Likewise.
59371         (fts_sort): Likewise.
59372         (fts_alloc): Likewise.
59373         (fts_lfree): Likewise.
59374         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59375         (_IO_file_xsgetn): Likewise.
59376         (_IO_file_xsgetn_mmap): Likewise.
59377         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59378         (_IO_cookie_write): Likewise.
59379         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59380         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59381         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59382         * malloc/obstack.c (_obstack_begin): Likewise.
59383         (_obstack_begin_1): Likewise.
59384         (_obstack_newchunk): Likewise.
59385         (_obstack_allocated_p): Likewise.
59386         (obstack_free): Likewise.
59387         (_obstack_memory_used): Likewise.
59388         * misc/getttyent.c (getttynam): Likewise.
59389         (getttyent): Likewise.
59390         (skip): Likewise.
59391         (value): Likewise.
59392         * misc/getusershell.c (initshells): Likewise.
59393         * misc/syslog.c (__vsyslog_chk): Likewise.
59394         * misc/ttyslot.c (ttyslot): Likewise.
59395         * nis/nis_hash.c (__nis_hash): Likewise.
59396         * posix/fnmatch_loop.c (FCT): Likewise.
59397         * posix/getconf.c (print_all): Likewise.
59398         (main): Likewise.
59399         * posix/getopt.c (exchange): Likewise.
59400         * posix/glob.c (globfree): Likewise.
59401         (prefix_array): Likewise.
59402         (__glob_pattern_type): Likewise.
59403         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59404         (NS_GET32): Likewise.
59405         (NS_PUT16): Likewise.
59406         (NS_PUT32): Likewise.
59407         * resolv/gethnamaddr.c (getanswer): Likewise.
59408         (gethostbyname2): Likewise.
59409         (gethostbyaddr): Likewise.
59410         (_gethtent): Likewise.
59411         (_gethtbyname2): Likewise.
59412         (_gethtbyaddr): Likewise.
59413         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59414         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59415         * resolv/res_init.c (__res_vinit): Likewise.
59416         (net_mask): Likewise.
59417         * resolv/res_mkquery.c (outchar): Likewise.
59418         (PRINT): Likewise.
59419         * stdio-common/printf_fp.c (outchar): Likewise.
59420         (PRINT): Likewise.
59421         * stdio-common/printf_fphex.c (outchar): Likewise.
59422         (PRINT): Likewise.
59423         * stdio-common/printf_size.c (outchar): Likewise.
59424         (PRINT): Likewise.
59425         * stdio-common/test_rdwr.c (main): Likewise.
59426         * stdio-common/tfformat.c (matches): Likewise.
59427         * stdio-common/vfprintf.c (outchar): Likewise.
59428         (printf_unknown): Likewise.
59429         (buffered_vfprintf): Likewise.
59430         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59431         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59432         (ReadFile): Likewise.
59433         * stdlib/qsort.c (SWAP): Likewise.
59434         (_quicksort): Likewise.
59435         * stdlib/setenv.c (__add_to_environ): Likewise.
59436         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59437         * stdlib/strtol_l.c (__strtol_l): Likewise.
59438         * stdlib/tst-strtod.c (main): Likewise.
59439         * stdlib/tst-strtol.c (main): Likewise.
59440         * stdlib/tst-strtoll.c (main): Likewise.
59441         * string/bits/string2.h (__strcmp_cc): Likewise.
59442         (__strcmp_cg): Likewise.
59443         (__strcspn_c1): Likewise.
59444         (__strcspn_c2): Likewise.
59445         (__strcspn_c3): Likewise.
59446         (__strspn_c1): Likewise.
59447         (__strspn_c2): Likewise.
59448         (__strspn_c3): Likewise.
59449         (__strsep_1c): Likewise.
59450         (__strsep_2c): Likewise.
59451         (__strsep_3c): Likewise.
59452         * string/memccpy.c (__memccpy): Likewise.
59453         * string/stpcpy.c (__stpcpy): Likewise.
59454         * string/strcmp.c (strcmp): Likewise.
59455         * string/strrchr.c (strrchr): Likewise.
59456         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59457         Likewise.
59458         * sysdeps/mach/hurd/getcwd.c
59459         (_hurd_canonicalize_directory_name_internal): Likewise.
59460         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59461         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59462         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59463         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59464         Likewise, in both definitions.
59465         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59466         definitions.
59467         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59468         64] (__bswap_64): Likewise.
59469         * time/test_time.c (main): Likewise.
59470         * time/tzfile.c (__tzfile_read): Likewise.
59471         (__tzfile_compute): Likewise.
59472         * time/tzset.c (__tzset_parse_tz): Likewise.
59473         (tzset_internal): Likewise.
59474         (compute_change): Likewise.
59475         * wcsmbs/wcscat.c (__wcscat): Likewise.
59476         * wcsmbs/wcschr.c (wcschr): Likewise.
59477         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59478         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59479         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59480         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59481         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59482         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59483         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59484         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59485         * wcsmbs/wmemset.c (wmemset): Likewise.
59487 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59489         * scripts/config.guess: Update to version 2013-05-16.
59490         * scripts/config.sub: Update to version 2013-04-24.
59491         * scripts/install-sh: Update to version 2011-11-20.07.
59492         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59493         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59495 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59497         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59498         * elf/sln.c: Likewise.
59499         * hurd/hurd/ioctl.h: Likewise.
59500         * hurd/hurdmalloc.c: Likewise.
59501         * hurd/xattr.c: Likewise.
59502         * include/shlib-compat.h: Likewise.
59503         * inet/ruserpass.c: Likewise.
59504         * libio/iofgets_u.c: Likewise.
59505         * libio/iofgetws_u.c: Likewise.
59506         * locale/programs/ld-identification.c: Likewise.
59507         * locale/programs/ld-time.c: Likewise.
59508         * mach/msg-destroy.c: Likewise.
59509         * nss/nss_files/files-netgrp.c: Likewise.
59510         * resolv/res_data.c: Likewise.
59511         * soft-fp/op-1.h: Likewise.
59512         * soft-fp/op-2.h: Likewise.
59513         * soft-fp/op-4.h: Likewise.
59514         * soft-fp/op-common.h: Likewise.
59515         * stdio-common/printf_fphex.c: Likewise.
59516         * stdlib/strtod_l.c: Likewise.
59517         * sunrpc/rpc/clnt.h: Likewise.
59518         * sysdeps/generic/framestate.c: Likewise.
59519         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59520         * sysdeps/i386/bsd-setjmp.S: Likewise.
59521         * sysdeps/i386/__longjmp.S: Likewise.
59522         * sysdeps/i386/setjmp.S: Likewise.
59523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59524         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59525         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59526         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59527         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59528         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59529         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59530         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59531         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59532         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59533         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59534         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59535         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59536         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59537         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59538         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59539         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59540         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59541         * sysdeps/ieee754/support.c: Likewise.
59542         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59543         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59544         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59545         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59546         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59547         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59548         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59549         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59550         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59551         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59552         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59553         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59554         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59555         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59556         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59557         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59558         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59561 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59563         * posix/transbug.c: Remove executable mode.
59565 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59567         * crypt/speeds.c: Remove trailing whitespace.
59568         * dlfcn/default.c: Likewise.
59569         * elf/ifuncdep2.c: Likewise.
59570         * elf/ifuncmain1.c: Likewise.
59571         * elf/ifuncmain1vis.c: Likewise.
59572         * elf/testobj.h: Likewise.
59573         * elf/tst-stackguard1.c: Likewise.
59574         * gmon/sys/gmon.h: Likewise.
59575         * hurd/hurdmsg.c: Likewise.
59576         * hurd/new-fd.c: Likewise.
59577         * hurd/ports-get.c: Likewise.
59578         * iconvdata/ibm1008_420.c: Likewise.
59579         * inet/tst-getni1.c: Likewise.
59580         * inet/tst-getni2.c: Likewise.
59581         * libio/ioungetc.c: Likewise.
59582         * libio/wfiledoalloc.c: Likewise.
59583         * manual/libm-err-tab.pl: Likewise.
59584         * math/w_dremf.c: Likewise.
59585         * misc/ftruncate.c: Likewise.
59586         * posix/bug-glob2.c: Likewise.
59587         * posix/tst-pcre.c: Likewise.
59588         * posix/wait4.c: Likewise.
59589         * resolv/README: Likewise.
59590         * resolv/res_debug.h: Likewise.
59591         * resolv/tst-inet_ntop.c: Likewise.
59592         * setjmp/bug269-setjmp.c: Likewise.
59593         * soft-fp/extended.h: Likewise.
59594         * soft-fp/op-1.h: Likewise.
59595         * soft-fp/op-2.h: Likewise.
59596         * soft-fp/op-4.h: Likewise.
59597         * soft-fp/op-8.h: Likewise.
59598         * soft-fp/testit.c: Likewise.
59599         * stdio-common/bug16.c: Likewise.
59600         * stdlib/random.c: Likewise.
59601         * sunrpc/rpcsvc/rquota.x: Likewise.
59602         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59603         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59604         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59605         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59606         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59607         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59608         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59609         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59610         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59611         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59612         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59613         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59614         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59615         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59616         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59617         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59618         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59619         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59620         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59621         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59622         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59623         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59624         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59630         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59631         * sysdeps/ieee754/s_lib_version.c: Likewise.
59632         * sysdeps/mach/hurd/check_fds.c: Likewise.
59633         * sysdeps/mach/hurd/getsockname.c: Likewise.
59634         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59635         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59636         * sysdeps/powerpc/bits/link.h: Likewise.
59637         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59638         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59639         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59640         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59641         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59642         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59643         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59644         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59645         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59646         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59647         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59648         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59649         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59650         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59651         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59652         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59653         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59654         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59656         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59657         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59658         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59660         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59661         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59662         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59663         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59664         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59665         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59666         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59667         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59668         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59669         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59670         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59671         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59672         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59673         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59674         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59675         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59676         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59677         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59678         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59679         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59680         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59681         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59682         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59683         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59684         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59685         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59686         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59687         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59688         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59689         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59690         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59691         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59692         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59693         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59694         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59695         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59696         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59697         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59698         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59699         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59700         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59701         * sysdeps/powerpc/sysdep.h: Likewise.
59702         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59703         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59704         * sysdeps/sh/dl-trampoline.S: Likewise.
59705         * sysdeps/sh/memset.S: Likewise.
59706         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59707         * sysdeps/sh/strlen.S: Likewise.
59708         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59709         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59710         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59711         * sysdeps/sparc/sparc32/rem.S: Likewise.
59712         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59713         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59714         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59715         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59716         * sysdeps/sparc/sparc32/urem.S: Likewise.
59717         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59718         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59719         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59720         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59721         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59722         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59723         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59724         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59725         * sysdeps/unix/bsd/times.c: Likewise.
59726         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59727         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59731         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59732         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59733         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59734         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59735         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59736         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59737         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59738         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59739         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59740         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59741         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59742         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59743         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59744         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59745         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59746         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59747         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59748         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59749         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59750         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59751         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59752         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59753         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59754         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59755         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59756         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59757         * sysdeps/x86_64/strcspn.S: Likewise.
59759 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59761         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59762         generated file.  Regenerate properly from gen-translit.pl.
59763         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59764         locale/C-translit.h.
59766 2013-06-05  Andreas Schwab  <schwab@suse.de>
59768         [BZ #15100]
59769         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59770         week as 6 instead of -1.
59771         * time/tst-strptime.c (day_tests): Add test case.
59773 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59775         * sysdeps/generic/math_private.h
59776         (libc_feholdexcept_setround_53bit): Replace with
59777         libc_feholdsetround_53bit.
59778         (libc_feupdateenv_53bit): Replace with
59779         libc_feresetround_53bit.
59780         (SET_RESTORE_ROUND_53BIT): Adjust.
59782 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59784         * string/test-strchrnul.c: Add copyright header.
59786         * posix/tst-getaddrinfo4.c: Increase test timeout.
59788 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59790         [BZ #15536]
59791         * math/libm-test.inc (MAX_EXP): Remove
59792         (MIN_EXP): Define.
59793         (ulp): Use MIN_EXP - MANT_DIG.
59794         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59796 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59798         * po/be.po: Revert last change.
59799         * po/zh_CN.po: Likewise.
59800         * po/header.pot: Likewise.
59802 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59804         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59805         link-libc-deps to empty as target-specific variable.
59806         * Makerules (link-libc-args): New variable.
59807         (libc-for-link): Likewise.
59808         (link-libc-deps): Likewise.
59809         (lib%.so): Depend on $(link-libc-deps).  Link with
59810         $(link-libc-args).
59811         (build-module): Link with $(link-libc-args).
59812         (build-module-asneeded): Likewise.
59813         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59814         list of objects.
59815         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59816         target-specific variable.
59817         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59818         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59819         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59820         libc.
59821         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59822         libc and ld.so.
59823         ($(objpfx)libpcprofile.so): Likewise.
59824         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59825         libc_nonshared.a.
59826         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59827         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59828         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59829         $(link-libc-deps).
59830         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59831         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59832         * login/Makefile ($(objpfx)libutil.so): Likewise.
59833         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59834         * math/Makefile ($(objpfx)libm.so): Likewise.
59835         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59836         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59837         variable instead of depending directly on libc.
59838         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59839         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59840         $(link-libc-deps).
59841         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59842         libc.
59843         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59844         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59845         ($(objpfx)libanl.so): Likewise.
59846         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59847         ld.so.
59848         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59849         $(link-libc-deps).
59850         * sysdeps/i386/fpu/Makefile: Remove file.
59851         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59852         ($(objpfx)libm.so): Remove dependency on ld.so.
59854 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59856         [BZ # 15553]
59857         * nis/yp_xdr.c (XDRMAXNAME): Define.
59858         (XDRMAXRECORD): Define.
59859         (xdr_domainname): Use XDRMAXNAME.
59860         (xdr_mapname): Likewise.
59861         (xdr_peername): Likewise.
59862         (xdr_keydat): Use XDRMAXRECORD.
59863         (xdr_valdat): Likewise.
59865 2013-05-30  Jeff Law  <law@redhat.com>
59867         [BZ #14256]
59868         * manual/errno.texi (ESTALE): Update to account for more than
59869         just NFS file systems.
59870         * sysdeps/gnu/errlist.c: Regenerated.
59872 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59874         [BZ #15465]
59875         * elf/Makefile (tests): Add tst-null-argv.
59876         (modules-names):  Add tst-null-argv-lib.
59877         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59878         (tst-null-argv-ENV): Set environment for tst-null-argv.
59879         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59880         (RTLD_PROGNAME): New macro.
59881         * elf/tst-null-argv.c: New test case.
59882         * elf/tst-null-argv-lib.c: Library for test case.
59883         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59884         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59885         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59886         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59887         * elf/dl-init.c (call_init): Likewise.
59888         (_dl_init): Likewise.
59889         * elf/dl-load.c (print_search_path): Likewise.
59890         (_dl_map_object): Likewise.
59891         * elf/dl-lookup.c (do_lookup_x): Likewise.
59892         (add_dependency): Likewise.
59893         (_dl_lookup_symbol_x): Likewise.
59894         (_dl_debug_bindings): Likewise.
59895         * elf/dl-open.c (_dl_show_scope): Likewise.
59896         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59897         * elf/dl-version.c (match_symbol): Likewise.
59898         (_dl_check_map_versions): Likewise.
59899         * elf/rtld.c (dl_main): Likewise.
59900         (print_unresolved): Use RTLD_PROGNAME.
59901         (print_missing_version): Likewise.
59902         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59903         (elf_machine_rela): Likewise.
59904         * sysdeps/powerpc/powerpc32/dl-machine.c
59905         (__process_machine_rela): Likewise.
59906         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59907         Likewise.
59908         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59909         Likewise.
59910         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59911         Likewise.
59912         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59913         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59914         Likewise.
59915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59916         Likewise.
59917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59919 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59921         * po/be.po: Add descriptive title.
59922         * po/zh_CN.po: Likewise.
59923         * po/header.pot: Likewise.
59925 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59927         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59928         error message.
59929         (enlarge_archive): Likewise.
59931 2013-05-28  Ben North  <ben@redfrontdoor.org>
59933         * manual/arith.texi (frexp): It is the magnitude of the return
59934         value which lies in [0.5, 1), not the return value itself.
59936 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59940 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59942         * stdio-common/bug26.c (main): Correct fscanf template.
59944         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59945         declare _dl_skip_args.
59947         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59948         Don't declare.
59950         * manual/platform.texi: Add missing @end deftypefun.
59952 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59954         [BZ #15529]
59955         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59956         bit of mantissa of 2^16382.
59957         * math/libm-test.inc (hypot_test_data): Add more tests.
59959         * math/libm-test.inc: Add drem and pow10 to list of tested
59960         functions.
59961         (pow10_test): New function.
59962         (drem_test): Likewise.
59963         (drem_test_tonearest): Likewise.
59964         (drem_test_towardzero): Likewise.
59965         (drem_test_downward): Likewise.
59966         (drem_test_upward): Likewise.
59967         (main): Call the new functions.
59969         * math/libm-test.inc (finite_test_data): Remove.
59970         (finite_test): Run tests from isfinite_test_data.
59971         (gamma_test_data): Remove.
59972         (gamma_test): Run tests from lgamma_test_data.
59973         * sysdeps/i386/fpu/libm-test-ulps: Update.
59974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59976 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59978         * manual/platform.texi: Add PowerPC PPR function set documentation.
59979         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59980         implementation.
59982 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59984         * math/libm-test.inc (MAX_EXP): Define.
59985         (ULPDIFF): Define.
59986         (ulp): New function.
59987         (check_float_internal): Use ULPDIFF.
59988         (cpow_test): Disable failing test.
59989         (check_ulp): Test ulp() implementation.
59990         (main): Call check_ulp before starting tests.
59992 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59994         * math/gen-libm-test.pl (generate_testfile): Do not handle
59995         START_DATA and END_DATA.
59996         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59997         END_DATA.
59998         (acos_tonearest_test_data): Likewise.
59999         (acos_towardzero_test_data): Likewise.
60000         (acos_downward_test_data): Likewise.
60001         (acos_upward_test_data): Likewise.
60002         (acosh_test_data): Likewise.
60003         (asin_test_data): Likewise.
60004         (asin_tonearest_test_data): Likewise.
60005         (asin_towardzero_test_data): Likewise.
60006         (asin_downward_test_data): Likewise.
60007         (asin_upward_test_data): Likewise.
60008         (asinh_test_data): Likewise.
60009         (atan_test_data): Likewise.
60010         (atanh_test_data): Likewise.
60011         (atan2_test_data): Likewise.
60012         (cabs_test_data): Likewise.
60013         (cacos_test_data): Likewise.
60014         (cacosh_test_data): Likewise.
60015         (carg_test_data): Likewise.
60016         (casin_test_data): Likewise.
60017         (casinh_test_data): Likewise.
60018         (catan_test_data): Likewise.
60019         (catanh_test_data): Likewise.
60020         (cbrt_test_data): Likewise.
60021         (ccos_test_data): Likewise.
60022         (ccosh_test_data): Likewise.
60023         (ceil_test_data): Likewise.
60024         (cexp_test_data): Likewise.
60025         (cimag_test_data): Likewise.
60026         (clog_test_data): Likewise.
60027         (clog10_test_data): Likewise.
60028         (conj_test_data): Likewise.
60029         (copysign_test_data): Likewise.
60030         (cos_test_data): Likewise.
60031         (cos_tonearest_test_data): Likewise.
60032         (cos_towardzero_test_data): Likewise.
60033         (cos_downward_test_data): Likewise.
60034         (cos_upward_test_data): Likewise.
60035         (cosh_test_data): Likewise.
60036         (cosh_tonearest_test_data): Likewise.
60037         (cosh_towardzero_test_data): Likewise.
60038         (cosh_downward_test_data): Likewise.
60039         (cosh_upward_test_data): Likewise.
60040         (cpow_test_data): Likewise.
60041         (cproj_test_data): Likewise.
60042         (creal_test_data): Likewise.
60043         (csin_test_data): Likewise.
60044         (csinh_test_data): Likewise.
60045         (csqrt_test_data): Likewise.
60046         (ctan_test_data): Likewise.
60047         (ctan_tonearest_test_data): Likewise.
60048         (ctan_towardzero_test_data): Likewise.
60049         (ctan_downward_test_data): Likewise.
60050         (ctan_upward_test_data): Likewise.
60051         (ctanh_test_data): Likewise.
60052         (ctanh_tonearest_test_data): Likewise.
60053         (ctanh_towardzero_test_data): Likewise.
60054         (ctanh_downward_test_data): Likewise.
60055         (ctanh_upward_test_data): Likewise.
60056         (erf_test_data): Likewise.
60057         (erfc_test_data): Likewise.
60058         (exp_test_data): Likewise.
60059         (exp_tonearest_test_data): Likewise.
60060         (exp_towardzero_test_data): Likewise.
60061         (exp_downward_test_data): Likewise.
60062         (exp_upward_test_data): Likewise.
60063         (exp10_test_data): Likewise.
60064         (exp2_test_data): Likewise.
60065         (expm1_test_data): Likewise.
60066         (fabs_test_data): Likewise.
60067         (fdim_test_data): Likewise.
60068         (finite_test_data): Likewise.
60069         (floor_test_data): Likewise.
60070         (fma_test_data): Likewise.
60071         (fma_towardzero_test_data): Likewise.
60072         (fma_downward_test_data): Likewise.
60073         (fma_upward_test_data): Likewise.
60074         (fmax_test_data): Likewise.
60075         (fmin_test_data): Likewise.
60076         (fmod_test_data): Likewise.
60077         (fpclassify_test_data): Likewise.
60078         (frexp_test_data): Likewise.
60079         (gamma_test_data): Likewise.
60080         (hypot_test_data): Likewise.
60081         (ilogb_test_data): Likewise.
60082         (isfinite_test_data): Likewise.
60083         (isgreater_test_data): Likewise.
60084         (isgreaterequal_test_data): Likewise.
60085         (isinf_test_data): Likewise.
60086         (isless_test_data): Likewise.
60087         (islessequal_test_data): Likewise.
60088         (islessgreater_test_data): Likewise.
60089         (isnan_test_data): Likewise.
60090         (isnormal_test_data): Likewise.
60091         (issignaling_test_data): Likewise.
60092         (isunordered_test_data): Likewise.
60093         (j0_test_data): Likewise.
60094         (j1_test_data): Likewise.
60095         (jn_test_data): Likewise.
60096         (ldexp_test_data): Likewise.
60097         (lgamma_test_data): Likewise.
60098         (lrint_test_data): Likewise.
60099         (lrint_tonearest_test_data): Likewise.
60100         (lrint_towardzero_test_data): Likewise.
60101         (lrint_downward_test_data): Likewise.
60102         (lrint_upward_test_data): Likewise.
60103         (llrint_test_data): Likewise.
60104         (llrint_tonearest_test_data): Likewise.
60105         (llrint_towardzero_test_data): Likewise.
60106         (llrint_downward_test_data): Likewise.
60107         (llrint_upward_test_data): Likewise.
60108         (log_test_data): Likewise.
60109         (log10_test_data): Likewise.
60110         (log1p_test_data): Likewise.
60111         (log2_test_data): Likewise.
60112         (logb_test_data): Likewise.
60113         (logb_downward_test_data): Likewise.
60114         (lround_test_data): Likewise.
60115         (llround_test_data): Likewise.
60116         (modf_test_data): Likewise.
60117         (nearbyint_test_data): Likewise.
60118         (nextafter_test_data): Likewise.
60119         (nexttoward_test_data): Likewise.
60120         (pow_test_data): Likewise.
60121         (pow_tonearest_test_data): Likewise.
60122         (pow_towardzero_test_data): Likewise.
60123         (pow_downward_test_data): Likewise.
60124         (pow_upward_test_data): Likewise.
60125         (remainder_test_data): Likewise.
60126         (remainder_tonearest_test_data): Likewise.
60127         (remainder_towardzero_test_data): Likewise.
60128         (remainder_downward_test_data): Likewise.
60129         (remainder_upward_test_data): Likewise.
60130         (remquo_test_data): Likewise.
60131         (rint_test_data): Likewise.
60132         (rint_tonearest_test_data): Likewise.
60133         (rint_towardzero_test_data): Likewise.
60134         (rint_downward_test_data): Likewise.
60135         (rint_upward_test_data): Likewise.
60136         (round_test_data): Likewise.
60137         (scalb_test_data): Likewise.
60138         (scalbn_test_data): Likewise.
60139         (scalbln_test_data): Likewise.
60140         (signbit_test_data): Likewise.
60141         (sin_test_data): Likewise.
60142         (sin_tonearest_test_data): Likewise.
60143         (sin_towardzero_test_data): Likewise.
60144         (sin_downward_test_data): Likewise.
60145         (sin_upward_test_data): Likewise.
60146         (sincos_test_data): Likewise.
60147         (sinh_test_data): Likewise.
60148         (sinh_tonearest_test_data): Likewise.
60149         (sinh_towardzero_test_data): Likewise.
60150         (sinh_downward_test_data): Likewise.
60151         (sinh_upward_test_data): Likewise.
60152         (sqrt_test_data): Likewise.
60153         (tan_test_data): Likewise.
60154         (tan_tonearest_test_data): Likewise.
60155         (tan_towardzero_test_data): Likewise.
60156         (tan_downward_test_data): Likewise.
60157         (tan_upward_test_data): Likewise.
60158         (tanh_test_data): Likewise.
60159         (tgamma_test_data): Likewise.
60160         (trunc_test_data): Likewise.
60161         (y0_test_data): Likewise.
60162         (y1_test_data): Likewise.
60163         (yn_test_data): Likewise.
60164         (significand_test_data): Likewise.
60166         * math/gen-libm-test.pl (@functions): Remove variable.
60167         (generate_testfile): Don't handle START and END lines.
60168         * math/libm-test.inc (START): New macro.
60169         (END): Likewise.
60170         (END_COMPLEX): Likewise.
60171         (acos_test): Use END macro without arguments.
60172         (acos_test_tonearest): Likewise.
60173         (acos_test_towardzero): Likewise.
60174         (acos_test_downward): Likewise.
60175         (acos_test_upward): Likewise.
60176         (acosh_test): Likewise.
60177         (asin_test): Likewise.
60178         (asin_test_tonearest): Likewise.
60179         (asin_test_towardzero): Likewise.
60180         (asin_test_downward): Likewise.
60181         (asin_test_upward): Likewise.
60182         (asinh_test): Likewise.
60183         (atan_test): Likewise.
60184         (atanh_test): Likewise.
60185         (atan2_test): Likewise.
60186         (cabs_test): Likewise.
60187         (cacos_test): Use END_COMPLEX macro without arguments.
60188         (cacosh_test): Likewise.
60189         (carg_test): Use END macro without arguments.
60190         (casin_test): Use END_COMPLEX macro without arguments.
60191         (casinh_test): Likewise.
60192         (catan_test): Likewise.
60193         (catanh_test): Likewise.
60194         (cbrt_test): Use END macro without arguments.
60195         (ccos_test): Use END_COMPLEX macro without arguments.
60196         (ccosh_test): Likewise.
60197         (ceil_test): Use END macro without arguments.
60198         (cexp_test): Use END_COMPLEX macro without arguments.
60199         (cimag_test): Use END macro without arguments.
60200         (clog_test): Use END_COMPLEX macro without arguments.
60201         (clog10_test): Likewise.
60202         (conj_test): Likewise.
60203         (copysign_test): Use END macro without arguments.
60204         (cos_test): Likewise.
60205         (cos_test_tonearest): Likewise.
60206         (cos_test_towardzero): Likewise.
60207         (cos_test_downward): Likewise.
60208         (cos_test_upward): Likewise.
60209         (cosh_test): Likewise.
60210         (cosh_test_tonearest): Likewise.
60211         (cosh_test_towardzero): Likewise.
60212         (cosh_test_downward): Likewise.
60213         (cosh_test_upward): Likewise.
60214         (cpow_test): Use END_COMPLEX macro without arguments.
60215         (cproj_test): Likewise.
60216         (creal_test): Use END macro without arguments.
60217         (csin_test): Use END_COMPLEX macro without arguments.
60218         (csinh_test): Likewise.
60219         (csqrt_test): Likewise.
60220         (ctan_test): Likewise.
60221         (ctan_test_tonearest): Likewise.
60222         (ctan_test_towardzero): Likewise.
60223         (ctan_test_downward): Likewise.
60224         (ctan_test_upward): Likewise.
60225         (ctanh_test): Likewise.
60226         (ctanh_test_tonearest): Likewise.
60227         (ctanh_test_towardzero): Likewise.
60228         (ctanh_test_downward): Likewise.
60229         (ctanh_test_upward): Likewise.
60230         (erf_test): Use END macro without arguments.
60231         (erfc_test): Likewise.
60232         (exp_test): Likewise.
60233         (exp_test_tonearest): Likewise.
60234         (exp_test_towardzero): Likewise.
60235         (exp_test_downward): Likewise.
60236         (exp_test_upward): Likewise.
60237         (exp10_test): Likewise.
60238         (exp2_test): Likewise.
60239         (expm1_test): Likewise.
60240         (fabs_test): Likewise.
60241         (fdim_test): Likewise.
60242         (finite_test): Likewise.
60243         (floor_test): Likewise.
60244         (fma_test): Likewise.
60245         (fma_test_towardzero): Likewise.
60246         (fma_test_downward): Likewise.
60247         (fma_test_upward): Likewise.
60248         (fmax_test): Likewise.
60249         (fmin_test): Likewise.
60250         (fmod_test): Likewise.
60251         (fpclassify_test): Likewise.
60252         (frexp_test): Likewise.
60253         (gamma_test): Likewise.
60254         (hypot_test): Likewise.
60255         (ilogb_test): Likewise.
60256         (isfinite_test): Likewise.
60257         (isgreater_test): Likewise.
60258         (isgreaterequal_test): Likewise.
60259         (isinf_test): Likewise.
60260         (isless_test): Likewise.
60261         (islessequal_test): Likewise.
60262         (islessgreater_test): Likewise.
60263         (isnan_test): Likewise.
60264         (isnormal_test): Likewise.
60265         (issignaling_test): Likewise.
60266         (isunordered_test): Likewise.
60267         (j0_test): Likewise.
60268         (j1_test): Likewise.
60269         (jn_test): Likewise.
60270         (ldexp_test): Likewise.
60271         (lgamma_test): Likewise.
60272         (lrint_test): Likewise.
60273         (lrint_test_tonearest): Likewise.
60274         (lrint_test_towardzero): Likewise.
60275         (lrint_test_downward): Likewise.
60276         (lrint_test_upward): Likewise.
60277         (llrint_test): Likewise.
60278         (llrint_test_tonearest): Likewise.
60279         (llrint_test_towardzero): Likewise.
60280         (llrint_test_downward): Likewise.
60281         (llrint_test_upward): Likewise.
60282         (log_test): Likewise.
60283         (log10_test): Likewise.
60284         (log1p_test): Likewise.
60285         (log2_test): Likewise.
60286         (logb_test): Likewise.
60287         (logb_test_downward): Likewise.
60288         (lround_test): Likewise.
60289         (llround_test): Likewise.
60290         (modf_test): Likewise.
60291         (nearbyint_test): Likewise.
60292         (nextafter_test): Likewise.
60293         (nexttoward_test): Likewise.
60294         (pow_test): Likewise.
60295         (pow_test_tonearest): Likewise.
60296         (pow_test_towardzero): Likewise.
60297         (pow_test_downward): Likewise.
60298         (pow_test_upward): Likewise.
60299         (remainder_test): Likewise.
60300         (remainder_test_tonearest): Likewise.
60301         (remainder_test_towardzero): Likewise.
60302         (remainder_test_downward): Likewise.
60303         (remainder_test_upward): Likewise.
60304         (remquo_test): Likewise.
60305         (rint_test): Likewise.
60306         (rint_test_tonearest): Likewise.
60307         (rint_test_towardzero): Likewise.
60308         (rint_test_downward): Likewise.
60309         (rint_test_upward): Likewise.
60310         (round_test): Likewise.
60311         (scalb_test): Likewise.
60312         (scalbn_test): Likewise.
60313         (scalbln_test): Likewise.
60314         (signbit_test): Likewise.
60315         (sin_test): Likewise.
60316         (sin_test_tonearest): Likewise.
60317         (sin_test_towardzero): Likewise.
60318         (sin_test_downward): Likewise.
60319         (sin_test_upward): Likewise.
60320         (sincos_test): Likewise.
60321         (sinh_test): Likewise.
60322         (sinh_test_tonearest): Likewise.
60323         (sinh_test_towardzero): Likewise.
60324         (sinh_test_downward): Likewise.
60325         (sinh_test_upward): Likewise.
60326         (sqrt_test): Likewise.
60327         (tan_test): Likewise.
60328         (tan_test_tonearest): Likewise.
60329         (tan_test_towardzero): Likewise.
60330         (tan_test_downward): Likewise.
60331         (tan_test_upward): Likewise.
60332         (tanh_test): Likewise.
60333         (tgamma_test): Likewise.
60334         (trunc_test): Likewise.
60335         (y0_test): Likewise.
60336         (y1_test): Likewise.
60337         (yn_test): Likewise.
60338         (significand_test): Likewise.
60340 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60342         [BZ #15381]
60343         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60345 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60347         [BZ #14894]
60348         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60349         __ppc_mdoio and __ppc_mdoom.
60350         * manual/platform.texi: Document new functions __ppc_yield,
60351         __ppc_mdoio and __ppc_mdoom.
60353 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60355         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60356         (main): Mention "tls" pseudo-hwcap is legacy.
60357         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60359 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60361         * math/gen-libm-test.pl (parse_args): Output only string of
60362         arguments as text for test name, not full call or descriptions of
60363         tests for extra outputs.
60364         (generate_testfile): Do not pass function name to parse_args.
60365         Generate this_func variable from START.
60366         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60367         field to arg_str.
60368         (struct test_ff_f_data): Likewise.
60369         (test_ff_f_data_nexttoward): Likewise.
60370         (struct test_fi_f_data): Likewise.
60371         (struct test_fl_f_data): Likewise.
60372         (struct test_if_f_data): Likewise.
60373         (struct test_fff_f_data): Likewise.
60374         (struct test_c_f_data): Likewise.
60375         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60376         (struct test_fF_f1_data): Likewise.
60377         (struct test_ffI_f1_data): Likewise.
60378         (struct test_c_c_data): Rename test_name field to arg_str.
60379         (struct test_cc_c_data): Likewise.
60380         (struct test_f_i_data): Likewise.
60381         (struct test_ff_i_data): Likewise.
60382         (struct test_f_l_data): Likewise.
60383         (struct test_f_L_data): Likewise.
60384         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60385         and extra2_name.
60386         (COMMON_TEST_SETUP): New macro.
60387         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60388         (COMMON_TEST_CLEANUP): Likewise.
60389         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60390         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60391         macros.
60392         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60393         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60394         macros.
60395         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60396         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60397         cleanup macros.
60398         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60399         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60400         macros.
60401         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60402         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60403         macros.
60404         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60405         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60406         cleanup macros.
60407         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60408         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60409         cleanup macros.
60410         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60411         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60412         cleanup macros.
60413         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60414         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60415         macros.
60416         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60417         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60418         macros.
60419         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60420         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60421         macros.
60422         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60423         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60424         cleanup macros.
60425         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60426         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60427         cleanup macros.
60428         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60429         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60430         macros.
60431         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60432         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60433         cleanup macros.
60434         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60435         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60436         macros.
60437         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60438         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60439         macros.
60440         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60441         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60442         cleanup macros.
60443         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60445 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60447         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60448         to _sifields.sigfault.
60449         (si_addr_lsb): Define new macro.
60450         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60452         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60454 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60456         [BZ #15441]
60457         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60458         returns -1.
60459         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60460         null return -1.
60461         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60462         loading the domain.
60464 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60466         * math/gen-libm-test.pl (parse_args): Do not include expected
60467         result in test name.
60468         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60469         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60470         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60471         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60472         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60475 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60477         * benchtests/Makefile: Sort function entries.
60479         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60480         tanh, asinh, acosh, atanh.
60481         * benchtests/acos-inputs: New file.
60482         * benchtests/acosh-inputs: New file.
60483         * benchtests/asin-inputs: New file.
60484         * benchtests/asinh-inputs: New file.
60485         * benchtests/atanh-inputs: New file.
60486         * benchtests/cosh-inputs: New file.
60487         * benchtests/log-inputs: New file.
60488         * benchtests/sinh-inputs: New file.
60489         * benchtests/tanh-inputs: New file.
60491 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60493         [BZ #15339]
60494         * posix/tst-getaddrinfo4.c: New test.
60495         * posix/Makefile (tests): Add it.
60497 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60499         [BZ #15339]
60500         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60501         when no services were used.
60502         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60503         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60505 2013-05-21  Andreas Schwab  <schwab@suse.de>
60507         [BZ #15014]
60508         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60509         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60510         successful.
60511         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60512         redundant variable declarations and reallocation of buffer when
60513         parsing as IPv6 address.  Always set NSS status when called from
60514         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60515         buffer too small.  Correct computation of needed size.
60516         * nss/Makefile (tests): Add test-digits-dots.
60517         * nss/test-digits-dots.c: New test.
60519 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60521         * benchtests/Makefile: Remove instructions for adding
60522         benchmark tests.
60523         * benchtests/README: New file to explain how to execute and
60524         enhance the benchmark tests.
60526 2013-05-21  Andreas Schwab  <schwab@suse.de>
60528         [BZ #15493]
60529         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60530         * setjmp/tst-sigsetjmp.c: New test.
60532 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60534         * sysdeps/x86_64/memset.S (memset): New implementation.
60535         (__bzero): Likewise.
60536         (__memset_tail): New function.
60538 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60540         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60541         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60542         __memcpy_sse2_unaligned ifunc selection.
60543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60544         Add memcpy-sse2-unaligned.S.
60545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60546         Add: __memcpy_sse2_unaligned.
60548 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60550         [BZ #15490]
60551         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60552         math_force_eval before restoring floating-point envrionment.
60553         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60554         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60555         Likewise.
60556         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60557         <math_private.h>.
60558         (__nearbyintl): Use math_force_eval before restoring
60559         floating-point environment.
60560         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60562         * math/gen-libm-test.pl (special_functions): Remove.
60563         (parse_args): Don't handle TEST_extra.  Handle functions with no
60564         return value.
60565         * math/libm-test.inc (struct test_sincos_data): Replace with
60566         struct test_fFF_11_data.
60567         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60568         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60569         (sincos_test_data): Change element type to struct
60570         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60571         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60572         RUN_TEST_LOOP_sincos.
60573         * math/README.libm-test: Don't mention special handling of
60574         individual functions.
60575         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60576         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60577         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60578         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60579         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60582         * math/gen-libm-test.pl (get_variable): Remove function.
60583         (parse_args): Don't show pointer parameters to call in test
60584         names.  Use "extra output N" in test names for extra outputs
60585         rather than naming variables.
60587 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60589         [BZ #15488]
60590         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60591         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60592         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60593         double tests.
60594         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60595         disable.
60596         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60597         check_long_double.
60599         * math/gen-libm-test.pl (@tests): Remove variable.
60600         ($count): Likewise.
60601         (new_test): Remove function.
60602         (show_exceptions): New function.
60603         (special_functions): Use show_exceptions instead of new_test.
60604         (parse_args): Likewise.
60605         (generate_testfile): Pass only function name in generated call to
60606         print_max_error or print_complex_max_error.
60607         (get_ulps): Do not handle complex tests specially.
60608         (output_test): Rename to ...
60609         (get_all_ulps_for_test): ... this.  Return a string rather than
60610         printing to a file.  Require ulps to be present.
60611         (output_ulps): Generate arrays rather than #defines.
60612         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60613         (struct ulp_data): New type.
60614         (BUILD_COMPLEX_ULP): Remove macro.
60615         (compare_ulp_data): New function.
60616         (find_ulps): Likewise.
60617         (find_test_ulps): Likewise.
60618         (find_function_ulps): Likewise.
60619         (find_complex_function_ulps): Likewise.
60620         (print_max_error): Determine allowed ulps using
60621         find_function_ulps.
60622         (print_complex_max_error): Determine allowed ulps using
60623         find_complex_function_ulps.
60624         (check_float_internal): Determine max ulps using find_test_ulps.
60625         (check_float): Do not take max_ulp parameter.  Update call to
60626         check_float_internal.
60627         (check_complex): Likewise.
60628         (check_int): Do not take max_ulp parameter.
60629         (check_long): Likewise.
60630         (check_bool): Likewise.
60631         (check_longlong): Likewise.
60632         (struct test_f_f_data): Remove max_ulp field.
60633         (struct test_ff_f_data): Likewise.
60634         (struct test_ff_f_data_nexttoward): Likewise.
60635         (struct test_fi_f_data): Likewise.
60636         (struct test_fl_f_data): Likewise.
60637         (struct test_if_f_data): Likewise.
60638         (struct test_fff_f_data): Likewise.
60639         (struct test_c_f_data): Likewise.
60640         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60641         (struct test_fF_f1_data): Likewise.
60642         (struct test_ffI_f1_data): Likewise.
60643         (struct test_c_c_data): Remove max_ulp field.
60644         (struct test_cc_c_data): Likewise.
60645         (struct test_f_i_data): Likewise.
60646         (struct test_ff_i_data): Likewise.
60647         (struct test_f_l_data): Likewise.
60648         (struct test_f_L_data): Likewise.
60649         (struct test_sincos_data): Likewise.
60650         (RUN_TEST_f_f): Do not handle ulps.
60651         (RUN_TEST_LOOP_f_f): Likewise.
60652         (RUN_TEST_2_f): Likewise.
60653         (RUN_TEST_LOOP_2_f): Likewise.
60654         (RUN_TEST_fff_f): Likewise.
60655         (RUN_TEST_LOOP_fff_f): Likewise.
60656         (RUN_TEST_c_f): Likewise.
60657         (RUN_TEST_LOOP_c_f): Likewise.
60658         (RUN_TEST_f_f1): Likewise.
60659         (RUN_TEST_LOOP_f_f1): Likewise.
60660         (RUN_TEST_fF_f1): Likewise.
60661         (RUN_TEST_LOOP_fF_f1): Likewise.
60662         (RUN_TEST_fI_f1): Likewise.
60663         (RUN_TEST_LOOP_fI_f1): Likewise.
60664         (RUN_TEST_ffI_f1): Likewise.
60665         (RUN_TEST_LOOP_ffI_f1): Likewise.
60666         (RUN_TEST_c_c): Likewise.
60667         (RUN_TEST_LOOP_c_c): Likewise.
60668         (RUN_TEST_cc_c): Likewise.
60669         (RUN_TEST_LOOP_cc_c): Likewise.
60670         (RUN_TEST_f_i): Likewise.
60671         (RUN_TEST_LOOP_f_i): Likewise.
60672         (RUN_TEST_f_i_tg): Likewise.
60673         (RUN_TEST_LOOP_f_i_tg): Likewise.
60674         (RUN_TEST_ff_i_tg): Likewise.
60675         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60676         (RUN_TEST_f_b): Likewise.
60677         (RUN_TEST_LOOP_f_b): Likewise.
60678         (RUN_TEST_f_b_tg): Likewise.
60679         (RUN_TEST_LOOP_f_b_tg): Likewise.
60680         (RUN_TEST_f_l): Likewise.
60681         (RUN_TEST_LOOP_f_l): Likewise.
60682         (RUN_TEST_f_L): Likewise.
60683         (RUN_TEST_LOOP_f_L): Likewise.
60684         (RUN_TEST_sincos): Likewise.
60685         (RUN_TEST_LOOP_sincos): Likewise.
60687 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60689         [BZ #15480]
60690         [BZ #15485]
60691         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60692         main case of finite arguments, set rounding mode to FE_TONEAREST
60693         and discard exceptions.
60694         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60695         exceptions.
60696         (remainder_tonearest_test_data): New variable.
60697         (remainder_test_tonearest): New function.
60698         (remainder_towardzero_test_data): New variable.
60699         (remainder_test_towardzero): New function.
60700         (remainder_downward_test_data): New variable.
60701         (remainder_test_downward): New function.
60702         (remainder_upward_test_data): New variable.
60703         (remainder_test_upward): New function.
60704         (main): Call the new test functions.
60706         * math/libm-test.inc (struct test_f_f1_data): Remove field
60707         extra_init.
60708         (struct test_fF_f1_data): Likewise.
60709         (struct test_ffI_f1_data): Likewise.
60710         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60711         based on value of EXTRA_EXPECTED.
60712         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60713         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60714         EXTRA_VAR based on value of EXTRA_EXPECTED.
60715         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60716         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60717         EXTRA_VAR based on value of EXTRA_EXPECTED.
60718         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60719         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60720         EXTRA_VAR based on value of EXTRA_EXPECTED.
60721         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60722         * math/gen-libm-test.pl (parse_args): Don't output initializers
60723         for extra output values.
60725         * math/libm-test.inc (check_int): Expect result to be exactly
60726         equal to expected value and do not handle ulps.
60727         (check_long): Likewise.
60728         (check_longlong): Likewise.
60730         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60731         exceptions.
60732         (cimag_test_data): Likewise.
60733         (conj_test_data): Likewise.
60734         (copysign_test_data): Likewise.
60735         (cproj_test_data): Likewise.
60736         (creal_test_data): Likewise.
60737         (fabs_test_data): Likewise.
60738         (fdim_test_data): Likewise.
60739         (finite_test_data): Likewise.
60740         (floor_test_data): Likewise.
60741         (fmax_test_data): Likewise.
60742         (fmin_test_data): Likewise.
60743         (fmod_test_data): Likewise.
60744         (fpclassify_test_data): Likewise.
60745         (frexp_test_data): Likewise.
60746         (ilogb_test_data): Likewise.
60747         (isfinite_test_data): Likewise.
60748         (isgreater_test_data): Likewise.
60749         (isgreaterequal_test_data): Likewise.
60750         (isinf_test_data): Likewise.
60751         (isless_test_data): Likewise.
60752         (islessequal_test_data): Likewise.
60753         (islessgreater_test_data): Likewise.
60754         (isnan_test_data): Likewise.
60755         (isnormal_test_data): Likewise.
60756         (issignaling_test_data): Likewise.
60757         (isunordered_test_data): Likewise.
60758         (ldexp_test_data): Likewise.
60759         (lrint_test_data): Likewise.
60760         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60761         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60762         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60763         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60764         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60765         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60766         test input.
60767         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60768         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60769         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60770         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60771         that test input.
60772         (lrint_downward_test_data): Test for "inexact" exceptions.
60773         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60774         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60775         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60776         test input.
60777         (lrint_upward_test_data): Test for "inexact" exceptions.
60778         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60779         test input.
60780         (llrint_test_data): Test for "inexact" exceptions.
60781         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60782         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60783         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60784         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60785         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60786         (llrint_downward_test_data): Test for "inexact" exceptions.
60787         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60788         (llrint_upward_test_data): Test for "inexact" exceptions.
60789         (logb_test_data): Likewise.
60790         (logb_downward_test_data): Likewise.
60791         (nextafter_test_data): Likewise.
60792         (nexttoward_test_data): Likewise.
60793         (remainder_test_data): Likewise.
60794         (remquo_test_data): Likewise.
60795         (scalbn_test_data): Likewise.
60796         (scalbln_test_data): Likewise.
60797         (signbit_test_data): Likewise.
60798         (sqrt_test_data): Likewise.
60799         (significand_test_data): Likewise.
60801 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60803         [BZ #15424]
60804         * benchtests/bench-modf.c (struct args): Mark arg0 as
60805         volatile.
60806         * scripts/bench.pl: Mark members of struct args as volatile.
60808 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60810         [BZ # 15497]
60811         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60812         negative infinity on POWER6 or lower.
60813         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60815 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60817         [BZ #15442]
60818         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60819         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60820         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60821         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60822         (_FP_SETQNAN): New macro.
60823         (_FP_SETQNAN_SEMIRAW): Likewise.
60824         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60825         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60826         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60827         (FP_EXTEND): Use _FP_FRAC_SNANP.
60828         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60829         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60830         into account.
60831         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60832         New macro.
60833         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60834         Likewise.
60836 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60838         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60839         with DIVIDE_BY_ZERO_EXCEPTION.
60840         (gamma_test_data): Likewise.
60841         (lgamma_test_data): Likewise.
60842         (log_test_data): Likewise.
60843         (log10_test_data): Likewise.
60844         (log2_test_data): Likewise.
60845         (tgamma_test_data): Likewise.
60847         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60848         (acos_test_tonearest): Likewise.
60849         (acos_test_towardzero): Likewise.
60850         (acos_test_downward): Likewise.
60851         (acos_test_upward): Likewise.
60852         (acosh_test): Likewise.
60853         (asin_test): Likewise.
60854         (asin_test_tonearest): Likewise.
60855         (asin_test_towardzero): Likewise.
60856         (asin_test_downward): Likewise.
60857         (asin_test_upward): Likewise.
60858         (asinh_test): Likewise.
60859         (atan_test): Likewise.
60860         (atanh_test): Likewise.
60861         (atan2_test): Likewise.
60862         (cabs_test): Likewise.
60863         (cacos_test): Likewise.
60864         (cacosh_test): Likewise.
60865         (casin_test): Likewise.
60866         (casinh_test): Likewise.
60867         (catan_test): Likewise.
60868         (catanh_test): Likewise.
60869         (cbrt_test): Likewise.
60870         (ccos_test): Likewise.
60871         (ccosh_test): Likewise.
60872         (cexp_test): Likewise.
60873         (clog_test): Likewise.
60874         (clog10_test): Likewise.
60875         (cos_test): Likewise.
60876         (cos_test_tonearest): Likewise.
60877         (cos_test_towardzero): Likewise.
60878         (cos_test_downward): Likewise.
60879         (cos_test_upward): Likewise.
60880         (cosh_test): Likewise.
60881         (cosh_test_tonearest): Likewise.
60882         (cosh_test_towardzero): Likewise.
60883         (cosh_test_downward): Likewise.
60884         (cosh_test_upward): Likewise.
60885         (cpow_test): Likewise.
60886         (csin_test): Likewise.
60887         (csinh_test): Likewise.
60888         (csqrt_test): Likewise.
60889         (ctan_test): Likewise.
60890         (ctan_test_tonearest): Likewise.
60891         (ctan_test_towardzero): Likewise.
60892         (ctan_test_downward): Likewise.
60893         (ctan_test_upward): Likewise.
60894         (ctanh_test): Likewise.
60895         (ctanh_test_tonearest): Likewise.
60896         (ctanh_test_towardzero): Likewise.
60897         (ctanh_test_downward): Likewise.
60898         (ctanh_test_upward): Likewise.
60899         (erf_test): Likewise.
60900         (erfc_test): Likewise.
60901         (exp_test): Likewise.
60902         (exp_test_tonearest): Likewise.
60903         (exp_test_towardzero): Likewise.
60904         (exp_test_downward): Likewise.
60905         (exp_test_upward): Likewise.
60906         (exp10_test): Likewise.
60907         (exp2_test): Likewise.
60908         (expm1_test): Likewise.
60909         (fmod_test): Likewise.
60910         (gamma_test): Likewise.
60911         (hypot_test): Likewise.
60912         (j0_test): Likewise.
60913         (j1_test): Likewise.
60914         (jn_test): Likewise.
60915         (lgamma_test): Likewise.
60916         (log_test): Likewise.
60917         (log10_test): Likewise.
60918         (log1p_test): Likewise.
60919         (log2_test): Likewise.
60920         (logb_test_downward): Likewise.
60921         (pow_test): Likewise.
60922         (pow_test_tonearest): Likewise.
60923         (pow_test_towardzero): Likewise.
60924         (pow_test_downward): Likewise.
60925         (pow_test_upward): Likewise.
60926         (remainder_test): Likewise.
60927         (remquo_test): Likewise.
60928         (sin_test): Likewise.
60929         (sin_test_tonearest): Likewise.
60930         (sin_test_towardzero): Likewise.
60931         (sin_test_downward): Likewise.
60932         (sin_test_upward): Likewise.
60933         (sincos_test): Likewise.
60934         (sinh_test): Likewise.
60935         (sinh_test_tonearest): Likewise.
60936         (sinh_test_towardzero): Likewise.
60937         (sinh_test_downward): Likewise.
60938         (sinh_test_upward): Likewise.
60939         (sqrt_test): Likewise.
60940         (tan_test): Likewise.
60941         (tan_test_tonearest): Likewise.
60942         (tan_test_towardzero): Likewise.
60943         (tan_test_downward): Likewise.
60944         (tan_test_upward): Likewise.
60945         (tanh_test): Likewise.
60946         (tgamma_test): Likewise.
60947         (y0_test): Likewise.
60948         (y1_test): Likewise.
60949         (yn_test): Likewise.
60951         * math/gen-libm-test.pl (adjust_arg): Remove function.
60952         (special_function): Remove argument $in_func.  Only handle
60953         generating output for tables of tests, not inside functions.
60954         (parse_args): Likewise.
60955         (generate_testfile): Remove variable $in_func.  Update call to
60956         parse_args.
60957         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60958         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60959         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60960         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60961         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60962         (MAX_VALUE_INIT): Rename macro to max_value.
60963         (MIN_VALUE_INIT): Rename macro to min_value.
60964         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60965         (plus_zero): Remove variable.
60966         (minus_zero): Likewise.
60967         (plus_infty): Likewise.
60968         (minus_infty): Likewise.
60969         (qnan_value): Likewise.
60970         (max_value): Likewise.
60971         (min_value): Likewise.
60972         (min_subnorm_value): Likewise.
60974 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60976         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60977         uint64_t or uint32_t usage.
60978         * crypt/sha256-block.c: Likewise.
60979         * crypt/sha256-crypt.c: Likewise.
60980         * crypt/sha256.c: Likewise.
60981         * crypt/sha512-block.c: Likewise.
60982         * crypt/sha512-crypt.c: Likewise.
60983         * crypt/sha512.c: Likewise.
60984         * debug/backtrace-tst.c: Likewise.
60985         * debug/pcprofiledump.c: Likewise.
60986         * elf/cache.c: Likewise.
60987         * elf/dl-cache.c: Likewise.
60988         * elf/dl-misc.c: Likewise.
60989         * elf/dl-profile.c: Likewise.
60990         * elf/dl-support.c: Likewise.
60991         * elf/ldconfig.c: Likewise.
60992         * elf/sprof.c: Likewise.
60993         * iconv/dummy-repertoire.c: Likewise.
60994         * iconv/iconv_charmap.c: Likewise.
60995         * iconv/skeleton.c: Likewise.
60996         * iconvdata/8bit-generic.c: Likewise.
60997         * iconvdata/cp737.h: Likewise.
60998         * iconvdata/cp775.h: Likewise.
60999         * iconvdata/ibm1008.h: Likewise.
61000         * iconvdata/ibm1025.h: Likewise.
61001         * iconvdata/ibm1046.h: Likewise.
61002         * iconvdata/ibm1097.h: Likewise.
61003         * iconvdata/ibm1112.h: Likewise.
61004         * iconvdata/ibm1122.h: Likewise.
61005         * iconvdata/ibm1123.h: Likewise.
61006         * iconvdata/ibm1124.h: Likewise.
61007         * iconvdata/ibm1129.h: Likewise.
61008         * iconvdata/ibm1130.h: Likewise.
61009         * iconvdata/ibm1132.h: Likewise.
61010         * iconvdata/ibm1133.h: Likewise.
61011         * iconvdata/ibm1137.h: Likewise.
61012         * iconvdata/ibm1140.h: Likewise.
61013         * iconvdata/ibm1141.h: Likewise.
61014         * iconvdata/ibm1142.h: Likewise.
61015         * iconvdata/ibm1143.h: Likewise.
61016         * iconvdata/ibm1144.h: Likewise.
61017         * iconvdata/ibm1145.h: Likewise.
61018         * iconvdata/ibm1146.h: Likewise.
61019         * iconvdata/ibm1147.h: Likewise.
61020         * iconvdata/ibm1148.h: Likewise.
61021         * iconvdata/ibm1149.h: Likewise.
61022         * iconvdata/ibm1153.h: Likewise.
61023         * iconvdata/ibm1154.h: Likewise.
61024         * iconvdata/ibm1155.h: Likewise.
61025         * iconvdata/ibm1156.h: Likewise.
61026         * iconvdata/ibm1157.h: Likewise.
61027         * iconvdata/ibm1158.h: Likewise.
61028         * iconvdata/ibm1160.h: Likewise.
61029         * iconvdata/ibm1161.h: Likewise.
61030         * iconvdata/ibm1162.h: Likewise.
61031         * iconvdata/ibm1163.h: Likewise.
61032         * iconvdata/ibm1164.h: Likewise.
61033         * iconvdata/ibm1166.h: Likewise.
61034         * iconvdata/ibm1167.h: Likewise.
61035         * iconvdata/ibm12712.h: Likewise.
61036         * iconvdata/ibm1390.h: Likewise.
61037         * iconvdata/ibm1399.h: Likewise.
61038         * iconvdata/ibm16804.h: Likewise.
61039         * iconvdata/ibm4517.h: Likewise.
61040         * iconvdata/ibm4899.h: Likewise.
61041         * iconvdata/ibm4909.h: Likewise.
61042         * iconvdata/ibm4971.h: Likewise.
61043         * iconvdata/ibm5347.h: Likewise.
61044         * iconvdata/ibm803.h: Likewise.
61045         * iconvdata/ibm856.h: Likewise.
61046         * iconvdata/ibm901.h: Likewise.
61047         * iconvdata/ibm902.h: Likewise.
61048         * iconvdata/ibm9030.h: Likewise.
61049         * iconvdata/ibm9066.h: Likewise.
61050         * iconvdata/ibm921.h: Likewise.
61051         * iconvdata/ibm922.h: Likewise.
61052         * iconvdata/ibm9448.h: Likewise.
61053         * iconvdata/isiri-3342.h: Likewise.
61054         * iconvdata/jis0201.h: Likewise.
61055         * include/link.h: Likewise.
61056         * include/netdb.h: Likewise.
61057         * inet/check_native.c: Likewise.
61058         * inet/check_pf.c: Likewise.
61059         * inet/getipv4sourcefilter.c: Likewise.
61060         * inet/getnameinfo.c: Likewise.
61061         * inet/getsourcefilter.c: Likewise.
61062         * inet/htonl.c: Likewise.
61063         * inet/setipv4sourcefilter.c: Likewise.
61064         * inet/setsourcefilter.c: Likewise.
61065         * inet/test-inet6_opt.c: Likewise.
61066         * inet/tst-network.c: Likewise.
61067         * locale/C-collate.c: Likewise.
61068         * locale/C-ctype.c: Likewise.
61069         * locale/C-time.c: Likewise.
61070         * locale/C-translit.h: Likewise.
61071         * locale/loadarchive.c: Likewise.
61072         * locale/programs/3level.h: Likewise.
61073         * locale/programs/charmap.c: Likewise.
61074         * locale/programs/charmap.h: Likewise.
61075         * locale/programs/ld-address.c: Likewise.
61076         * locale/programs/ld-collate.c: Likewise.
61077         * locale/programs/ld-ctype.c: Likewise.
61078         * locale/programs/ld-identification.c: Likewise.
61079         * locale/programs/ld-measurement.c: Likewise.
61080         * locale/programs/ld-messages.c: Likewise.
61081         * locale/programs/ld-monetary.c: Likewise.
61082         * locale/programs/ld-name.c: Likewise.
61083         * locale/programs/ld-numeric.c: Likewise.
61084         * locale/programs/ld-paper.c: Likewise.
61085         * locale/programs/ld-telephone.c: Likewise.
61086         * locale/programs/ld-time.c: Likewise.
61087         * locale/programs/linereader.c: Likewise.
61088         * locale/programs/locale.c: Likewise.
61089         * locale/programs/locarchive.c: Likewise.
61090         * locale/programs/locfile.h: Likewise.
61091         * locale/programs/repertoire.c: Likewise.
61092         * locale/programs/simple-hash.c: Likewise.
61093         * locale/programs/simple-hash.h: Likewise.
61094         * malloc/memusage.c: Likewise.
61095         * malloc/memusagestat.c: Likewise.
61096         * nis/nis_defaults.c: Likewise.
61097         * nis/nis_hash.c: Likewise.
61098         * nis/nis_print.c: Likewise.
61099         * nis/nis_xdr.c: Likewise.
61100         * nscd/connections.c: Likewise.
61101         * nscd/hstcache.c: Likewise.
61102         * nscd/nscd_gethst_r.c: Likewise.
61103         * nscd/nscd_getserv_r.c: Likewise.
61104         * nscd/nscd_helper.c: Likewise.
61105         * nscd/servicescache.c: Likewise.
61106         * nss/makedb.c: Likewise.
61107         * nss/nss_db/db-XXX.c: Likewise.
61108         * nss/nss_db/db-initgroups.c: Likewise.
61109         * nss/nss_db/db-netgrp.c: Likewise.
61110         * nss/nss_files/files-network.c: Likewise.
61111         * nss/nss_files/files-parse.c: Likewise.
61112         * posix/bug-regex5.c: Likewise.
61113         * posix/fnmatch_loop.c: Likewise.
61114         * posix/regcomp.c: Likewise.
61115         * posix/regexec.c: Likewise.
61116         * posix/tst-rfc3484-2.c: Likewise.
61117         * posix/tst-rfc3484-3.c: Likewise.
61118         * posix/tst-rfc3484.c: Likewise.
61119         * resolv/nss_dns/dns-canon.c: Likewise.
61120         * resolv/nss_dns/dns-network.c: Likewise.
61121         * resolv/res_init.c: Likewise.
61122         * resolv/res_mkquery.c: Likewise.
61123         * resolv/tst-aton.c: Likewise.
61124         * stdlib/cxa_atexit.c: Likewise.
61125         * stdlib/cxa_finalize.c: Likewise.
61126         * stdlib/gen-fpioconst.c: Likewise.
61127         * stdlib/strtol_l.c: Likewise.
61128         * string/tst-endian.c: Likewise.
61129         * sunrpc/auth_des.c: Likewise.
61130         * sunrpc/clnt_udp.c: Likewise.
61131         * sunrpc/rtime.c: Likewise.
61132         * sunrpc/svcauth_des.c: Likewise.
61133         * sunrpc/xdr.c: Likewise.
61134         * sunrpc/xdr_intXX_t.c: Likewise.
61135         * sunrpc/xdr_rec.c: Likewise.
61136         * sysdeps/generic/ldconfig.h: Likewise.
61137         * sysdeps/generic/ldsodefs.h: Likewise.
61138         * sysdeps/generic/memusage.h: Likewise.
61139         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61140         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61141         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61142         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61143         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61144         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61145         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61147         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61148         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61149         * sysdeps/posix/getaddrinfo.c: Likewise.
61150         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61151         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61152         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61153         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61154         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61155         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61156         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61157         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61158         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61159         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61160         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61161         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61162         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61163         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61164         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61165         * sysdeps/x86_64/dl-tls.h: Likewise.
61166         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61167         * time/alt_digit.c: Likewise.
61168         * time/era.c: Likewise.
61169         * wcsmbs/tst-c16c32-1.c: Likewise.
61171 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61173         * math/libm-test.inc (struct test_sincos_data): New type.
61174         (RUN_TEST_LOOP_sincos): New macro.
61175         (sincos_test_data): New variable.
61176         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61178 2013-05-16  Richard Henderson  <rth@redhat.com>
61180         * math/atest-exp2.c (LIMB64): New macro.
61181         (CONSTSZ): New macro.
61182         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61183         (hexdig): Move ...
61184         (print_mpn_fp): ... to function scope.
61185         (read_mpn_hex): Remove.
61186         (get_log2): Remove.
61187         (exp2_mpn): Use mp_log2.
61188         (main): Use mp_exp1.
61190 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61192         * math/libm-test.inc: Remove comment about not testing "inexact"
61193         exceptions.
61194         (INEXACT_EXCEPTION): New macro.
61195         (NO_INEXACT_EXCEPTION): Likewise.
61196         (INVALID_EXCEPTION_OK): Update value.
61197         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61198         (OVERFLOW_EXCEPTION_OK): Likewise.
61199         (UNDERFLOW_EXCEPTION_OK): Likewise.
61200         (IGNORE_ZERO_INF_SIGN): Likewise.
61201         (ERRNO_UNCHANGED): Likewise.
61202         (ERRNO_EDOM): Likewise.
61203         (ERRNO_ERANGE): Likewise.
61204         (test_exceptions): Handle testing "inexact" exceptions.
61205         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61206         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61207         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61208         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61209         INEXACT_EXCEPTION.
61210         (rint_towardzero_test_data): Likewise.
61211         (rint_downward_test_data): Likewise.
61212         (rint_upward_test_data): Likewise.
61214         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61215         with OVERFLOW_EXCEPTION.
61216         (exp10_test_data): Likewise.
61217         (exp2_test_data): Likewise.
61218         (expm1_test_data): Likewise.
61219         (lgamma_test_data): Likewise.
61220         (pow_test_data): Likewise.
61221         (tgamma_test_data): Likewise.
61222         (yn_test_data): Remove duplicate test of overflow.
61224         * math/libm-test.inc (struct test_cc_c_data): New type.
61225         (RUN_TEST_LOOP_cc_c): New macro.
61226         (cpow_test_data): New variable.
61227         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61229         * math/libm-test.inc (struct test_f_L_data): New type.
61230         (RUN_TEST_LOOP_f_L): New macro.
61231         (llrint_test_data): New variable.
61232         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61233         (llrint_tonearest_test_data): New variable.
61234         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61235         (llrint_towardzero_test_data): New variable.
61236         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61237         (llrint_downward_test_data): New variable.
61238         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61239         (llrint_upward_test_data): New variable.
61240         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61241         (llround_test_data): New variable.
61242         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61244 2013-05-13  Peter Collingbourne  <pcc@google.com>
61246         * math/atest-exp2.c (get_log2): Remove const attribute.
61248 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61250         * math/libm-test.inc (struct test_f_l_data): New type.
61251         (RUN_TEST_LOOP_f_l): New macro.
61252         (lrint_test_data): New variable.
61253         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61254         (lrint_tonearest_test_data): New variable.
61255         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61256         (lrint_towardzero_test_data): New variable.
61257         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61258         (lrint_downward_test_data): New variable.
61259         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61260         (lrint_upward_test_data): New variable.
61261         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61262         (lround_test_data): New variable.
61263         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61265 2013-05-15  Peter Collingbourne  <pcc@google.com>
61267         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61268         (EXTRACT_WORDS64) Use where appropriate.
61269         (INSERT_WORDS64) Likewise.
61271         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61272         constraints with x constraints.
61273         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61275         * malloc/obstack.c (_obstack_compat): Add initializer.
61277 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61280         si_trapno and add si_addr_lsb to _sifields.sigfault.
61281         (si_trapno): Remove macro.
61282         (si_addr_lsb): Define new macro.
61283         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61285 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61287         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61288         instead of TEST_f_l.
61289         (llrint_test_tonearest): Likewise.
61290         (llrint_test_towardzero): Likewise.
61291         (llrint_test_downward): Likewise.
61292         (llrint_test_upward): Likewise.
61293         (llround_test): Likewise.
61295         * math/libm-test.inc (struct test_f_i_data): Add comment.
61296         (RUN_TEST_LOOP_f_b): New macro.
61297         (RUN_TEST_LOOP_f_b_tg): Likewise.
61298         (finite_test_data): New variable.
61299         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61300         (isfinite_test_data): New variable.
61301         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61302         (isinf_test_data): New variable.
61303         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61304         (isnan_test_data): New variable.
61305         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61306         (isnormal_test_data): New variable.
61307         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61308         (issignaling_test_data): New variable.
61309         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61310         (signbit_test_data): New variable.
61311         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61313         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61314         with INVALID_EXCEPTION.
61315         (acosh_test_data): Likewise.
61316         (asin_test_data): Likewise.
61317         (atanh_test_data): Likewise.
61318         (fmod_test_data): Likewise.
61319         (log_test_data): Likewise.
61320         (log10_test_data): Likewise.
61321         (log2_test_data): Likewise.
61322         (pow_test_data): Likewise.
61323         (sqrt_test_data): Likewise.
61324         (y0_test_data): Likewise.
61325         (y1_test_data): Likewise.
61326         (yn_test_data): Likewise.
61328         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61329         function contents.
61331         * math/libm-test.inc (struct test_ff_i_data): New type.
61332         (RUN_TEST_LOOP_ff_i_tg): New macro.
61333         (isgreater_test_data): New variable.
61334         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61335         (isgreaterequal_test_data): New variable.
61336         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61337         (isless_test_data): New variable.
61338         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61339         (islessequal_test_data): New variable.
61340         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61341         (islessgreater_test_data): New variable.
61342         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61343         (isunordered_test_data): New variable.
61344         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61346 2013-05-14  David S. Miller  <davem@davemloft.net>
61348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61350 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61352         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61354         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61355         extra_test to int.
61356         (struct test_f_i_data): Change type of max_ulp to int.
61358         * math/libm-test.inc (test_ffI_f1_data): New type.
61359         (RUN_TEST_LOOP_ffI_f1): New macro.
61360         (remquo_test_data): New variable.
61361         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61363         * setjmp/tst-setjmp-fp.c: New file.
61364         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61365         (link-libm): New variable.
61366         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61368         * math/libm-test.inc (struct test_f_i_data): New type.
61369         (RUN_TEST_LOOP_f_i): New macro.
61370         (RUN_TEST_LOOP_f_i_tg): Likewise.
61371         (fpclassify_test_data): New variable.
61372         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61373         (ilogb_test_data): New variable.
61374         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61376         * math/libm-test.inc (scalbln_test): Correct function name in END
61377         call.
61379         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61380         (RUN_TEST_LOOP_fI_f1): New macro.
61381         (frexp_test_data): New variable.
61382         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61384         * math/libm-test.inc (struct test_fF_f1_data): New type.
61385         (RUN_TEST_LOOP_fF_f1): New macro.
61386         (modf_test_data): New variable.
61387         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61389         * math/libm-test.inc (struct test_f_f1_data): New type.
61390         (RUN_TEST_LOOP_f_f1): New macro.
61391         (gamma_test_data): New variable.
61392         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61393         (lgamma_test_data): New variable.
61394         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61396 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61399         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61400         (main): Comment "tls" pseudo-hwcap.
61402 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61404         * math/libm-test.inc (struct test_fl_f_data): New type.
61405         (RUN_TEST_LOOP_fl_f): New variable.
61406         (scalbln_test_data): New variable.
61407         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61409         * math/libm-test.inc (struct test_fi_f_data): New type.
61410         (RUN_TEST_LOOP_fi_f): New macro.
61411         (ldexp_test_data): New variable.
61412         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61413         (scalbn_test_data): New variable.
61414         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61416         * math/libm-test.inc (struct test_c_f_data): New type.
61417         (RUN_TEST_LOOP_c_f): New macro.
61418         (cabs_test_data): New variable.
61419         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61420         (carg_test_data): New variable.
61421         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61422         (cimag_test_data): New variable.
61423         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61424         (creal_test_data): New variable.
61425         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61427         * math/libm-test.inc (struct test_if_f_data): New type.
61428         (RUN_TEST_LOOP_if_f): New macro.
61429         (jn_test_data): New variable.
61430         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61431         (yn_test_data): New variable.
61432         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61434         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61436 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61438         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61439         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61441 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61443         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61444         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61445         (bench-deps): Add bench-timing.h.
61446         * benchtests-bench-skeleton.c: Include bench-timing.h.
61447         (main): Use TIMING_* macros instead of clock_gettime.
61448         * benchtests/bench-timing.h: New file.
61450         [BZ #14582]
61451         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61452         Renamed from _LIB_VERSION.
61453         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61455 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61457         * math/libm-test.inc (struct test_fff_f_data): New type.
61458         (RUN_TEST_LOOP_fff_f): New macro.
61459         (fma_test_data): New variable.
61460         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61461         (fma_towardzero_test_data): New variable.
61462         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61463         (fma_downward_test_data): New variable.
61464         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61465         (fma_upward_test_data): New variable.
61466         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61468         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61469         (struct test_c_c_data): New type.
61470         (RUN_TEST_LOOP_c_c): New macro.
61471         (cacos_test_data): New variable.
61472         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61473         (cacosh_test_data): New variable.
61474         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61475         (casin_test_data): New variable.
61476         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61477         (casinh_test_data): New variable.
61478         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61479         (catan_test_data): New variable.
61480         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61481         (catanh_test_data): New variable.
61482         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61483         (ccos_test_data): New variable.
61484         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61485         (ccosh_test_data): New variable.
61486         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61487         (cexp_test_data): New variable.
61488         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61489         (clog_test_data): New variable.
61490         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61491         (clog10_test_data): New variable.
61492         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61493         (conj_test_data): New variable.
61494         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61495         (cproj_test_data): New variable.
61496         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61497         (csin_test_data): New variable.
61498         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61499         (csinh_test_data): New variable.
61500         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61501         (csqrt_test_data): New variable.
61502         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61503         (ctan_test_data): New variable.
61504         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61505         (ctan_tonearest_test_data): New variable.
61506         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61507         (ctan_towardzero_test_data): New variable.
61508         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61509         (ctan_downward_test_data): New variable.
61510         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61511         (ctan_upward_test_data): New variable.
61512         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61513         (ctanh_test_data): New variable.
61514         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61515         (ctanh_tonearest_test_data): New variable.
61516         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61517         (ctanh_towardzero_test_data): New variable.
61518         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61519         (ctanh_downward_test_data): New variable.
61520         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61521         (ctanh_upward_test_data): New variable.
61522         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61523         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61524         of BUILD_COMPLEX.
61526         * math/libm-test.inc (struct test_ff_f_data): New type.
61527         (struct test_ff_f_data_nexttoward): Likewise.
61528         (RUN_TEST_LOOP_2_f): New macro.
61529         (RUN_TEST_LOOP_ff_f): Likewise.
61530         (atan2_test_data): New variable.
61531         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61532         (copysign_test_data): New variable.
61533         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61534         (fdim_test_data): New variable.
61535         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61536         (fmax_test_data): New variable.
61537         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61538         (fmin_test_data): New variable.
61539         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61540         (fmod_test_data): New variable.
61541         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61542         (hypot_test_data): New variable.
61543         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61544         (nextafter_test_data): New variable.
61545         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61546         (nexttoward_test_data): New variable.
61547         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61548         (pow_test_data): New variable.
61549         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61550         (pow_tonearest_test_data): New variable.
61551         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61552         (pow_towardzero_test_data): New variable.
61553         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61554         (pow_downward_test_data): New variable.
61555         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61556         (pow_upward_test_data): New variable.
61557         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61558         (remainder_test_data): New variable.
61559         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61560         (scalb_test_data): New variable.
61561         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61562         * sysdeps/i386/fpu/libm-test-ulps: Update.
61564 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61566         * math/libm-test.inc (fma_test): Use max_value instead of local
61567         variable fltmax.
61568         (nextafter_test): Likewise.
61570         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61571         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61572         (acos_downward_test_data): New variable.
61573         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61574         (acos_upward_test_data): New variable.
61575         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61576         (acosh_test_data): New variable.
61577         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61578         (asin_test_data): New variable.
61579         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61580         (asin_tonearest_test_data): New variable.
61581         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61582         (asin_towardzero_test_data): New variable.
61583         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61584         (asin_downward_test_data): New variable.
61585         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61586         (asin_upward_test_data): New variable.
61587         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61588         (asinh_test_data): New variable.
61589         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61590         (atan_test_data): New variable.
61591         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61592         (atanh_test_data): New variable.
61593         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61594         (cbrt_test_data): New variable.
61595         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61596         (ceil_test_data): New variable.
61597         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61598         (cos_test_data): New variable.
61599         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61600         (cos_tonearest_test_data): New variable.
61601         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61602         (cos_towardzero_test_data): New variable.
61603         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61604         (cos_downward_test_data): New variable.
61605         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61606         (cos_upward_test_data): New variable.
61607         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61608         (cosh_test_data): New variable.
61609         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61610         (cosh_tonearest_test_data): New variable.
61611         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61612         (cosh_towardzero_test_data): New variable.
61613         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61614         (cosh_downward_test_data): New variable.
61615         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61616         (cosh_upward_test_data): New variable.
61617         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61618         (erf_test_data): New variable.
61619         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61620         (erfc_test_data): New variable.
61621         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61622         (exp_test_data): New variable.
61623         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61624         (exp_tonearest_test_data): New variable.
61625         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61626         (exp_towardzero_test_data): New variable.
61627         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61628         (exp_downward_test_data): New variable.
61629         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61630         (exp_upward_test_data): New variable.
61631         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61632         (exp10_test_data): New variable.
61633         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61634         (exp2_test_data): New variable.
61635         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61636         (expm1_test_data): New variable.
61637         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61638         (fabs_test_data): New variable.
61639         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61640         (floor_test_data): New variable.
61641         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61642         (j0_test_data): New variable.
61643         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61644         (j1_test_data): New variable.
61645         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61646         (log_test_data): New variable.
61647         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61648         (log10_test_data): New variable.
61649         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61650         (log1p_test_data): New variable.
61651         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61652         (log2_test_data): New variable.
61653         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61654         (logb_test_data): New variable.
61655         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61656         (logb_downward_test_data): New variable.
61657         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61658         (nearbyint_test_data): New variable.
61659         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61660         (rint_test_data): New variable.
61661         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61662         (rint_tonearest_test_data): New variable.
61663         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61664         (rint_towardzero_test_data): New variable.
61665         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61666         (rint_downward_test_data): New variable.
61667         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61668         (rint_upward_test_data): New variable.
61669         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61670         (round_test_data): New variable.
61671         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61672         (sin_test_data): New variable.
61673         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61674         (sin_tonearest_test_data): New variable.
61675         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61676         (sin_towardzero_test_data): New variable.
61677         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61678         (sin_downward_test_data): New variable.
61679         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61680         (sin_upward_test_data): New variable.
61681         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61682         (sinh_test_data): New variable.
61683         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61684         (sinh_tonearest_test_data): New variable.
61685         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61686         (sinh_towardzero_test_data): New variable.
61687         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61688         (sinh_downward_test_data): New variable.
61689         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61690         (sinh_upward_test_data): New variable.
61691         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61692         (sqrt_test_data): New variable.
61693         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61694         (tan_test_data): New variable.
61695         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61696         (tan_tonearest_test_data): New variable.
61697         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61698         (tan_towardzero_test_data): New variable.
61699         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61700         (tan_downward_test_data): New variable.
61701         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61702         (tan_upward_test_data): New variable.
61703         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61704         (tanh_test_data): New variable.
61705         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61706         (tgamma_test_data): New variable.
61707         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61708         (trunc_test_data): New variable.
61709         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61710         (y0_test_data): New variable.
61711         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61712         (y1_test_data): New variable.
61713         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61714         (significand_test_data): New variable.
61715         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61717 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61719         [BZ #12387]
61720         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61722 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61724         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61726 2013-05-10  Andreas Jaeger  <aj@suse.de>
61728         [BZ #15448]
61729         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61730         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61732 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61734         * math/gen-libm-test.pl (adjust_arg): New function.
61735         (special_functions): Handle generating output in both functions
61736         and arrays.
61737         (parse_args): Likewise.
61738         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61739         $in_func argument to parse_args.
61740         * math/libm-test.inc (struct test_f_f_data): New type.
61741         (IF_ROUND_INIT_): New macro.
61742         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61743         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61744         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61745         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61746         (ROUND_RESTORE_): Likewise.
61747         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61748         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61749         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61750         (ROUND_RESTORE_FE_UPWARD): Likewise.
61751         (RUN_TEST_LOOP_f_f): New macro.
61752         (acos_test_data): New variable.
61753         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61754         (acos_tonearest_test_data): New variable.
61755         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61757 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61759         * benchtests/bench-skeleton.c (startup): Fix coding style.
61761 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61763         [BZ #6809]
61764         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61765         negative infinity argument.
61766         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61767         negative infinity argument.
61768         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61769         negative infinity argument.
61770         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61771         domain errors.
61773 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61775         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61776         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61777         * iconv/iconv_prog.c (main): Likewise.
61778         * locale/programs/charmap-dir.c (charmap_readdir)
61779         (fopen_uncompressed): Likewise.
61780         * locale/programs/locfile.c (siblings_uncached)
61781         (write_locale_data): Use lstat64 instead of lstat.
61782         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61783         stat.
61785 2013-05-10  Andreas Jaeger  <aj@suse.de>
61787         [BZ #15395]
61788         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61789         localization.
61790         Include <locale.h>.
61792 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61794         * elf/dl-close.c (_dl_close_worker): Add comments.
61796 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61798         [BZ #15359]
61799         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61800         high part of pi/2.
61801         (__ieee754_rem_pio2l): Update comments.
61803         [BZ #15429]
61804         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61805         high part of pi/2.
61806         (__ieee754_rem_pio2l): Update comments.
61808         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61809         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61811         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61812         M_PI_4l.
61814         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61815         (M_PI_34_LOG10El): Likewise.
61816         (M_PI2_LOG10El): Likewise.
61817         (M_PI4_LOG10El): Likewise.
61818         (M_PI_LOG10El): Likewise.
61820 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61824 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61826         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61827         (MINUS_ZERO_INIT): Likewise.
61828         (PLUS_INFTY_INIT): Likewise.
61829         (MINUS_INFTY_INIT): Likewise.
61830         (QNAN_VALUE_INIT): Likewise.
61831         (MAX_VALUE_INIT): Likewise.
61832         (MIN_VALUE_INIT): Likewise.
61833         (MIN_SUBNORM_VALUE_INIT): Likewise.
61834         (plus_zero): Initialize with PLUS_ZERO_INIT.
61835         (minus_zero): Initialize with MINUS_ZERO_INIT.
61836         (plus_infty): Initialize with PLUS_INFTY_INIT.
61837         (minus_infty): Initialize with MINUS_INFTY_INIT.
61838         (qnan_value): Initialize with QNAN_VALUE_INIT.
61839         (max_value): Initialize with MAX_VALUE_INIT.
61840         (min_value): Initialize with MIN_VALUE_INIT.
61841         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61843         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61844         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61845         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61846         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61848         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61849         (RUN_TEST_2_f): Likewise.
61850         (RUN_TEST_ff_f): Likewise.
61851         (RUN_TEST_fi_f): Likewise.
61852         (RUN_TEST_fl_f): Likewise.
61853         (RUN_TEST_fff_f): Likewise.
61854         (RUN_TEST_c_f): Likewise.
61855         (RUN_TEST_f_f1): Likewise.
61856         (RUN_TEST_fF_f1): Likewise.
61857         (RUN_TEST_fI_f1): Likewise.
61858         (RUN_TEST_ffI_f1): Likewise.
61859         (RUN_TEST_c_c): Likewise.
61860         (RUN_TEST_cc_c): Likewise.
61861         (RUN_TEST_f_i): Likewise.
61862         (RUN_TEST_f_i_tg): Likewise.
61863         (RUN_TEST_ff_i_tg): Likewise.
61864         (RUN_TEST_f_b): Likewise.
61865         (RUN_TEST_f_b_tg): Likewise.
61866         (RUN_TEST_f_l): Likewise.
61867         (RUN_TEST_f_L): Likewise.
61868         (RUN_TEST_sincos): Likewise.
61869         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61870         whether to show exceptions.  Do not include ");\n" in return
61871         value.
61872         (special_functions): Output call to RUN_TEST_sincos instead of
61873         check_float calls.  Update calls to new_test.
61874         (parse_args): Output call to single RUN_TEST_* macro instead of
61875         check_* calls and other assignments.  Update calls to new_test.
61877         [BZ #2546]
61878         [BZ #2560]
61879         [BZ #5159]
61880         [BZ #15426]
61881         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61882         input to result for tgamma overflow.
61883         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61884         (gamma_coeff): New variable.
61885         (NCOEFF): New macro.
61886         (gamma_positive): New function.
61887         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61888         underflow here.  Use gamma_positive instead of exp (lgamma) for
61889         other arguments.
61890         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61891         (gamma_coeff): New variable.
61892         (NCOEFF): New macro.
61893         (gammaf_positive): New function.
61894         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61895         underflow here.  Use gamma_positive instead of exp (lgamma) for
61896         other arguments.
61897         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61898         (gamma_coeff): New variable.
61899         (NCOEFF): New macro.
61900         (gammal_positive): New function.
61901         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61902         underflow here.  Use gamma_positive instead of exp (lgamma) for
61903         other arguments.
61904         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61905         (gamma_coeff): New variable.
61906         (NCOEFF): New macro.
61907         (gammal_positive): New function.
61908         (__ieee754_gammal_r): Handle positive infinity, overflow and
61909         underflow here.  Handle NaN the same as positive infinity.  Remove
61910         check x < 0xffffffff for negative integers.  Use gamma_positive
61911         instead of exp (lgamma) for other arguments.
61912         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61913         (gamma_coeff): New variable.
61914         (NCOEFF): New macro.
61915         (gammal_positive): New function.
61916         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61917         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61918         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61919         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61920         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61921         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61922         * sysdeps/generic/math_private.h (__gamma_productf): New
61923         prototype.
61924         (__gamma_product): Likewise.
61925         (__gamma_productl): Likewise.
61926         * math/Makefile (libm-calls): Add gamma_product.
61927         * math/libm-test.inc (tgamma_test): Add more tests.
61928         * sysdeps/i386/fpu/libm-test-ulps: Update.
61929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61931 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61933         * benchtests/bench-skeleton.c (main): Preheat CPU.
61935 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61937         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61939 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61941         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61942         and _dl_skip_args_internal.
61944 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61946         * manual/message.texi (Message Translation): Talk about users.
61947         Message to key mapping impacts design.
61949 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61951         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61953         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61955         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61956         * sysdeps/wordsize-64/glob64.c: ... here.
61958         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61959         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61960         New macros.
61962         * debug/getlogin_r_chk.c: Moved to ...
61963         * login/getlogin_r_chk.c: ... here.
61964         * debug/Makefile (routines): Move getlogin_r_chk to ...
61965         * login/Makefile (routines): ... here.
61966         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61967         * login/Versions (libc: GLIBC_2.4): ... here.
61969         * io/poll.c (__poll): Renamed from poll.
61970         Add libc_hidden_def.
61971         (poll): Define as weak alias.
61973         * debug/ptsname_r_chk.c: Moved to ...
61974         * login/ptsname_r_chk.c: ... here.
61975         * debug/Makefile (routines): Move ptsname_r_chk to ...
61976         * login/Makefile (routines): ... here.
61977         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61978         * login/Versions (libc: GLIBC_2.4): ... here.
61980         * posix/getlogin.c: Moved to ...
61981         * login/getlogin.c: ... here.
61982         * posix/getlogin_r.c: Moved to ...
61983         * login/getlogin_r.c: ... here.
61984         * posix/getlogin_r.c: Moved to ...
61985         * login/getlogin_r.c: ... here.
61986         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61987         * login/Makefile (routines): ... here.
61988         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61989         * login/Versions (libc: GLIBC_2.0): ... here.
61991         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61992         (setrlimit): Define as weak alias.
61994         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61995         Call __ names for open, ftruncate, and close.
61996         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61997         (truncate): Define as weak alias.
61999 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62001         * math/gen-libm-test.pl (parse_args): Initialize x before each
62002         test of frexp, modf and remquo.
62004         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62005         test signgam value.
62007 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62009         [BZ #15418]
62010         [BZ #15419]
62011         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62012         internal tests.
62013         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62015 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62017         * elf/dl-writev.h: New file.
62018         * elf/dl-misc.c: Include it.
62019         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62020         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62022 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62024         * math/libm-test.inc (noXFails): Remove variable.
62025         (noXPasses): Likewise.
62026         (BUILD_COMPLEX_INT): Remove macro.
62027         (print_screen): Remove xfail argument.
62028         (print_screen_max_error): Likewise.
62029         (update_stats): Likewise.
62030         (print_max_error): Likewise.  Update calls to other affected
62031         functions.
62032         (print_complex_max_error): Likewise.
62033         (test_single_exception): Update calls to print_screen.
62034         (test_single_errno): Likewise.
62035         (check_float_internal): Remove xfail argument.  Update calls to
62036         other affected functions.
62037         (check_float): Likewise.
62038         (check_complex): Likewise.
62039         (check_int): Likewise.
62040         (check_long): Likewise.
62041         (check_bool): Likewise.
62042         (check_longlong): Likewise.
62043         (main): Don't print noXFails and noXPasses.
62044         * math/gen-libm-test.pl (top level): Don't mention expected
62045         failure handling in comment.
62046         (new_test): Don't handle expected failures.
62047         (parse_args): Don't mention expected failure handling in comment.
62048         (generate_testfile): Don't handle expected failures.
62049         (parse_ulps): Likewise.
62050         (print_ulps_file): Likewise.
62051         (get_failure): Remove function.
62052         (output_test): Don't handle expected failures.
62053         * make/README.libm-test: Don't mention expected failure handling.
62055         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62056         (minus_zero): Likewise.
62057         (plus_infty): Likewise.
62058         (minus_infty): Likewise.
62059         (qnan_value): Likewise.
62060         (max_value): Likewise.
62061         (min_value): Likewise.
62062         (min_subnorm_value): Likewise.
62063         (initialize): Do not initialize those variables dynamically.
62065 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62067         * io/open.c (__open_2): Moved to ...
62068         * io/open_2.c: ... this new file.
62069         * io/open64.c (__open64_2): Moved to ...
62070         * io/open64_2.c: ... this new file.
62071         * io/openat.c (__openat_2): Moved to ...
62072         * io/openat_2.c: ... this new file.
62073         * io/openat64.c (__openat64_2): Moved to ...
62074         * io/openat64_2.c: ... this new file.
62075         * io/Makefile (routines): Add them.
62076         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62077         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62078         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62079         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62080         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62081         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62082         (__openat64): Add hidden_ver.
62083         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62084         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62086         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62087         Separately conditionalize setting of GLRO(dl_sysinfo) so
62088         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62089         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62091 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62093         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62095         definition.
62096         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62097         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62098         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62099         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62100         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62102 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62104         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62105         test signgam value.
62107         * math/libm-test.inc (hypot_test): Do not use
62108         IGNORE_ZERO_INF_SIGN.
62110 2013-05-03  Andreas Jaeger  <aj@suse.de>
62112         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62113         Linux 3.9.
62114         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62115         (PF_MAX): Adjust for VSOCK change.
62117 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62121 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62123         [BZ #15264]
62124         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62125         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62126         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62128 2013-05-02  David S. Miller  <davem@davemloft.net>
62130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62132 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62134         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62136 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62138         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62140 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62142         [BZ #14952]
62143         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62144         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62145         Use __attribute__ ((__gnu_inline__)).
62146         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62147         Don't use __attribute__ ((__gnu_inline__)).
62149 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62151         [BZ #15423]
62152         * math/s_catan.c (__catan): Handle small real or imaginary part of
62153         input specially to avoid spurious underflow.
62154         * math/s_catanf.c (__catanf): Likewise.
62155         * math/s_catanh.c (__catanh): Likewise.
62156         * math/s_catanhf.c (__catanhf): Likewise.
62157         * math/s_catanhl.c (__catanhl): Likewise.
62158         * math/s_catanl.c (__catanl): Likewise.
62159         * math/libm-test.inc (catan_test): Add more tests.
62160         (catanh_test): Likewise.
62161         * sysdeps/i386/fpu/libm-test-ulps: Update.
62162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62164 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62168 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62170         [BZ #15416]
62171         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62172         accurately for denominator in atan2.
62173         * math/s_catanf.c (__catanf): Likewise.
62174         * math/s_catanh.c (__catanh): Likewise.
62175         * math/s_catanhf.c (__catanhf): Likewise.
62176         * math/s_catanhl.c (__catanhl): Likewise.
62177         * math/s_catanl.c (__catanl): Likewise.
62178         * math/libm-test.inc (catan_test): Add more tests.
62179         (catanh_test): Likewise.
62180         * sysdeps/i386/fpu/libm-test-ulps: Update.
62181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62183 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62185         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62187         * benchtests/Makefile (bench): Remove slow benchmarks.
62188         * benchtests/atan-inputs: Add slow benchmark inputs.
62189         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62190         (BENCH_FUNC): Accept variant offset.
62191         (VARIANT): Define.
62192         * benchtests/bench-skeleton.c (main): Run benchmark for each
62193         variant.
62194         * benchtests/cos-inputs: Add slow benchmark inputs.
62195         * benchtests/exp-inputs: Likewise.
62196         * benchtests/pow-inputs: Likewise.
62197         * benchtests/sin-inputs: Likewise.
62198         * benchtests/slowatan-inputs: Remove.
62199         * benchtests/slowatan.c: Remove.
62200         * benchtests/slowcos-inputs: Remove.
62201         * benchtests/slowcos.c: Remove.
62202         * benchtests/slowexp-inputs: Remove.
62203         * benchtests/slowexp.c: Remove.
62204         * benchtests/slowpow-inputs: Remove.
62205         * benchtests/slowpow.c: Remove.
62206         * benchtests/slowsin-inputs: Remove.
62207         * benchtests/slowsin.c: Remove.
62208         * benchtests/slowtan-inputs: Remove.
62209         * benchtests/slowtan.c: Remove.
62210         * benchtests/tan-inputs: Add slow benchmark inputs.
62211         * scripts/bench.pl: Parse comments and directives.
62213         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62214         in CPPFLAGS.
62215         ($(objpfx)bench-%.c): Remove *-ITER.
62216         * benchtests/bench-modf.c: Remove definition of ITER.
62217         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62218         (main): Loop for DURATION seconds instead of fixed number of
62219         iterations.
62220         * scripts/bench.pl: Don't expect iterations in parameters.
62222 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62224         * io/fchdir.c (__fchdir): Renamed from fchdir.
62225         (fchdir): Define as weak alias.
62227 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62229         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62230         (ERRNO_EDOM): Likewise.
62231         (ERRNO_ERANGE): Likewise.
62232         (noErrnoTests): New variable.
62233         (init_max_error): Set errno to 0.
62234         (test_single_errno): New function.
62235         (test_errno): Likewise.
62236         (check_float_internal): Call test_errno.  Set errno to 0.
62237         (check_complex): Refer to errno tests in comment.
62238         (check_int): Call test_errno.  Set errno to 0.
62239         (check_long): Likewise.
62240         (check_bool): Likewise.
62241         (check_longlong): Likewise.
62242         (cos_test): Use ERRNO_* flags for errno tests instead of
62243         check_int.
62244         (expm1_test): Likewise.
62245         (fmod_test): Likewise.
62246         (ilogb_test): Likewise.
62247         (lgamma_test): Likewise.
62248         (pow_test): Likewise.
62249         (remainder_test): Likewise.
62250         (sin_test): Likewise.
62251         (tan_test): Likewise.
62252         (yn_test): Likewise.
62253         (initialize): Set errno to 0.
62254         (main): Print number of errno tests.
62255         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62257 2013-04-29  Andreas Jaeger  <aj@suse.de>
62259         [BZ #15084]
62260         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62261         and RES_USEVC.
62263         [BZ #15085]
62264         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62265         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62266         unimplemented.
62268         [BZ #15380]
62269         * stdlib/random.c (__initstate): Return NULL if
62270         __initstate fails.
62272         [BZ #15086]
62273         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62274         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62275         RES_SNGLKUPREOP.
62277 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62281 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62283         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62284         of individual tests.
62285         (casin_test): Likewise.
62286         (casinh_test): Likewise.
62288 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62290         [BZ #15409]
62291         * math/s_catan.c (__catan): Handle arguments with large real or
62292         imaginary part separately without squaring.
62293         * math/s_catanf.c (__catanf): Likewise.
62294         * math/s_catanh.c (__catanh): Likewise.
62295         * math/s_catanhf.c (__catanhf): Likewise.
62296         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62297         and redefine.
62298         (__catanhl): Handle arguments with large real or imaginary part
62299         separately without squaring.
62300         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62301         and redefine.
62302         (__catanl): Handle arguments with large real or imaginary part
62303         separately without squaring.
62304         * math/libm-test.inc (catan_test): Add more tests.
62305         (catanh_test): Likewise.
62306         * sysdeps/i386/fpu/libm-test-ulps: Update.
62307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62309 2013-04-27  Andreas Jaeger  <aj@suse.de>
62311         [BZ #15007]
62312         * stdlib/stdlib.h: Update guards for qecvt.
62313         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62314         <stdlib.h>.
62316 2013-04-27  Allan McRae  <allan@archlinux.org>
62318         * sysdeps/i386/fpu/libm-test-ulps: Update.
62320 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62322         [BZ #15406]
62323         * math/s_catan.c: Include <float.h>.
62324         (__catan): Ensure underflow exception occurs for underflowed
62325         result.
62326         * math/s_catanf.c: Include <float.h>.
62327         (__catanf): Ensure underflow exception occurs for underflowed
62328         result.
62329         * math/s_catanh.c: Include <float.h>.
62330         (__catanh): Ensure underflow exception occurs for underflowed
62331         result.
62332         * math/s_catanhf.c: Include <float.h>.
62333         (__catanhf): Ensure underflow exception occurs for underflowed
62334         result.
62335         * math/s_catanhl.c: Include <float.h>.
62336         (__catanhl): Ensure underflow exception occurs for underflowed
62337         result.
62338         * math/s_catanl.c: Include <float.h>.
62339         (__catanl): Ensure underflow exception occurs for underflowed
62340         result.
62341         * math/libm-test.inc (catan_test): Add more tests.
62342         (catanh_test): Likewise.
62344         [BZ #15405]
62345         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62346         underflowed result.
62347         * math/s_ccoshf.c (__ccoshf): Likewise.
62348         * math/s_ccoshl.c (__ccoshl): Likewise.
62349         * math/s_csin.c (__csin): Likewise.
62350         * math/s_csinf.c (__csinf): Likewise.
62351         * math/s_csinh.c (__csinh): Likewise.
62352         * math/s_csinhf.c (__csinhf): Likewise.
62353         * math/s_csinhl.c (__csinhl): Likewise.
62354         * math/s_csinl.c (__csinl): Likewise.
62355         * math/libm-test.inc (ccos_test): Add more tests.
62356         (ccosh_test): Likewise.
62357         (csin_test): Likewise.
62358         (csinh_test): Likewise.
62360 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62362         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62363         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62364         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62365         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62366         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62367         powerpc/power5+/fpu folders.
62368         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62371 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62375 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62377         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62378         additions to variable.
62379         [$(config-machine) = x86_64] (modules-names): Likewise.
62380         ($(objpfx)tst-audit3): Remove dependency.
62381         ($(objpfx)tst-audit3.out): Likewise.
62382         ($(objpfx)tst-audit4): Likewise.
62383         ($(objpfx)tst-audit4.out): Likewise.
62384         ($(objpfx)tst-audit5): Likewise.
62385         ($(objpfx)tst-audit5.out): Likewise.
62386         ($(objpfx)tst-audit6): Likewise.
62387         ($(objpfx)tst-audit6.out): Likewise.
62388         ($(objpfx)tst-audit7): Likewise.
62389         ($(objpfx)tst-audit7.out): Likewise.
62390         (tst-audit3-ENV): Remove variable.
62391         (tst-audit4-ENV): Likewise.
62392         (tst-audit5-ENV): Likewise.
62393         (tst-audit6-ENV): Likewise.
62394         (tst-audit7-ENV): Likewise.
62395         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62396         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62397         addition to variable.
62398         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62399         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62400         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62401         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62402         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62403         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62404         tst-audit3, tst-audit4 and tst-audit5.
62405         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62406         tst-audit6 and tst-audit7.
62407         [$(subdir) = elf] (modules-names): Add audit modules for those
62408         tests.
62409         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62410         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62411         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62412         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62413         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62414         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62415         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62416         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62417         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62418         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62419         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62420         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62421         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62422         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62423         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62424         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62425         Likewise.
62426         [$(subdir) = elf && $(config-cflags-avx) = yes]
62427         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62428         [$(subdir) = elf && $(config-cflags-avx) = yes]
62429         (CFLAGS-tst-auditmod4a.c): Likewise.
62430         [$(subdir) = elf && $(config-cflags-avx) = yes]
62431         (CFLAGS-tst-auditmod4b.c): Likewise.
62432         [$(subdir) = elf && $(config-cflags-avx) = yes]
62433         (CFLAGS-tst-auditmod6b.c): Likewise.
62434         [$(subdir) = elf && $(config-cflags-avx) = yes]
62435         (CFLAGS-tst-auditmod6c.c): Likewise.
62436         [$(subdir) = elf && $(config-cflags-avx) = yes]
62437         (CFLAGS-tst-auditmod7b.c): Likewise.
62438         * elf/tst-audit3.c: Move to ...
62439         * sysdeps/x86_64/tst-audit3.c: ... here.
62440         * elf/tst-audit4.c: Move to ...
62441         * sysdeps/x86_64/tst-audit4.c: ... here.
62442         * elf/tst-audit5.c: Move to ...
62443         * sysdeps/x86_64/tst-audit5.c: ... here.
62444         * elf/tst-audit6.c: Move to ...
62445         * sysdeps/x86_64/tst-audit6.c: ... here.
62446         * elf/tst-audit7.c: Move to ...
62447         * sysdeps/x86_64/tst-audit7.c: ... here.
62448         * elf/tst-auditmod3a.c: Move to ...
62449         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62450         * elf/tst-auditmod3b.c: Move to ...
62451         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62452         * elf/tst-auditmod4a.c: Move to ...
62453         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62454         * elf/tst-auditmod4b.c: Move to ...
62455         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62456         * elf/tst-auditmod5a.c: Move to ...
62457         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62458         * elf/tst-auditmod5b.c: Move to ...
62459         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62460         * elf/tst-auditmod6a.c: Move to ...
62461         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62462         * elf/tst-auditmod6b.c: Move to ...
62463         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62464         * elf/tst-auditmod6c.c: Move to ...
62465         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62466         * elf/tst-auditmod7a.c: Move to ...
62467         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62468         * elf/tst-auditmod7b.c: Move to ...
62469         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62471 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62473         [BZ #15366]
62474         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62475         define unconditionally.
62476         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62477         define unconditionally.
62478         (INT8_C, INT16_C, etc.): Likewise.
62480 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62482         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62483         __ehdr_start with hidden visibility.
62485         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62487 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62489         * math/libm-test.inc (cos_test): Use accurate hex constants.
62490         (sincost_test): Likewise.
62492 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62494         * math/libm-test.inc (catan_test): Add more tests.
62495         (catanh_test): Likewise.
62497         * math/s_catanf.c (__catanf): Use suffixed floating-point
62498         constants.
62499         * math/s_catanhf.c (__catanhf): Likewise.
62500         * math/s_catanhl.c (__catanhl): Likewise.
62501         * math/s_catanl.c (__catanl): Likewise.
62503         [BZ #15394]
62504         * math/s_catan.c (__catan): Calculate imaginary part of result
62505         with log1p not log unless computing log of number close to 0.
62506         * math/s_catanf.c (__catanf): Likewise.
62507         * math/s_catanl.c (__catanl): Likewise.
62508         * math/s_catanh.c (__catanh): Calculate real part of result with
62509         log1p not log unless computing log of number close to 0.
62510         * math/s_catanhf.c (__catanhf): Likewise.
62511         * math/s_catanhl.c (__catanhl): Likewise.
62512         * math/libm-test.inc (catan_test): Add more tests.
62513         (catanh_test): Likewise.
62514         * sysdeps/i386/fpu/libm-test-ulps: Update.
62515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62517 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62519         * benchtests/Makefile: Mention files in which fast and slow
62520         paths of math functions are implemented.
62522 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62524         * sysdeps/posix/timespec_get.c: New file.
62526 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62528         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62529         POWER.
62530         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62531         for POWER.
62532         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62533         powerpc/power5/fpu folders.
62534         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62535         * benchtests/Makefile: Add modf testcase.
62536         * benchtests/bench-modf.c: New file: Benchmark test for mo
62538 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62540         [BZ #14888]
62541         * time/Makefile (tests): Add tst-strptime-whitespace.
62542         * time/strptime_l.c (get_number): Use ISSPACE.
62543         (__strptime_internal): Likewise.
62544         * time/tst-strptime-whitespace.c: New test case.
62546 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62548         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62549         member.
62550         (_nss_files_init): Set it here.
62552 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62554         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62555         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62556         unsigned.
62558 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62560         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62562 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62564         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62565         size just once.
62567 2013-04-21  David S. Miller  <davem@davemloft.net>
62569         * po/ru.po: Update Russion translation from translation project.
62571 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62573         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62574         and setfsgid.
62576 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62578         * configure.in: Remove i386 configure warning. Remove i386 case.
62579         * configure: Regenerate.
62580         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62581         Add example to error message.
62582         * sysdeps/i386/configure: Regenerate.
62584 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62586         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62587         slowtan.
62588         * benchtests/cos-inputs: New file.
62589         * benchtests/slowcos-inputs: New file.
62590         * benchtests/slowcos.c: New file.
62591         * benchtests/slowtan-inputs: New file.
62592         * benchtests/slowtan.c: New file.
62593         * benchtests/tan-inputs: New file.
62595 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62597         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62598         considered kosher.
62600 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62602         * benchtests/Makefile: Include cppflags-iterator.mk to add
62603         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62605         * Makefile.in (bench-clean): New target.
62606         * benchtests/Makefile (bench-clean): Likewise.
62608 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62610         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62612 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62614         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62616 2013-04-15  Andreas Schwab  <schwab@suse.de>
62618         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62619         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62620         * nscd/pwdcache.c (cache_addpw): Likewise.
62621         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62622         more than recsize.
62624 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62626         * benchtests/Makefile (bench): Write all output to
62627         bench-out.tmp together.
62629 2013-04-15  Andreas Schwab  <schwab@suse.de>
62631         * nscd/nscd.c (main): Don't fork again after closing files.
62633 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62635         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62637         * benchtests/Rules (bench-deps): Collect dependencies into a
62638         single variable.  Add Makefile to dependencies.
62639         ($(objpfx)bench-%.c): Depend on bench-deps.
62641 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62642             Xavier Roche  <roche+kml2@exalead.com>
62644         [BZ #15361]
62645         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62646         just that it's a file descriptor.
62647         * manual/llio.texi (Synchronizing AIO Operations): Update description
62648         for EBADF error from aio_fsync.
62650 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62652         * Rules (bench): Move target definition...
62653         * benchtests/Makefile: ... here.
62655 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62657         * math/libm-test.inc (cos_test): Fix PI/2 test.
62658         (sincos_test): Likewise.
62659         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62660         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62662 2013-04-11  Andreas Schwab  <schwab@suse.de>
62664         [BZ #13988]
62665         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62666         accept exponent character only when digits were seen.
62667         * stdio-common/Makefile (tests): Add bug26.
62668         * stdio-common/bug26.c: New file.
62670         [BZ #14293]
62671         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62672         non-freeable.
62674 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62676         * Makeconfig (rtld-prefix): Define built linker prefix.
62677         * Rules (run-bench): Use it.
62678         * math/Makefile (run-regen-ulps): Likewise.
62680         * Rules (bench): Remove eval.
62682 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62683             Roland McGrath  <roland@hack.frob.com>
62684             Ondrej Bilka  <neleai@seznam.cz>
62686         [BZ #15346]
62687         * time/getdate.c: Include ctype.h and alloca.h.
62688         (__getdate_r): Trim leading and trailing spaces of input.
62689         * time/tst-getdate.c (tests): Add tests with leading and
62690         trailing spaces.
62692 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62694         [BZ #14280]
62695         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62696         when computing value.
62698 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62700         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62701         Use testrun.sh to run libm tests.
62703         [BZ #15309]
62704         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62706 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62708         [BZ #15264]
62709         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62711 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62713         * Makefile.in (regen-ulps): New target.
62714         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62715         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62716         [ifneq (no,$(PERL)] (regen-ulps): New target.
62717         [ifeq (no,$(PERL)] (regen-ulps): New target.
62718         * math/libm-test.inc (ulps_file_name): Define.
62719         (output_dir): New variable.
62720         (options): Add "output-dir" option.
62721         (parse_opt): Handle 'o' case.
62722         (main): If output_dir is non-NULL use it as a prefix
62723         otherwise use "".
62724         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62726 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62728         [BZ #10060, #10062]
62729         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62730         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62731         fail configure if __sync_val_compare_and_swap is not inlined.
62732         * sysdeps/i386/configure: Regenerate.
62733         * configure.in: Build for i686 when configured for i386.
62734         * configure: Regenerate.
62735         * README: Remove i386 reference.
62737 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62739         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62740         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62742 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62744         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62745         (lmsnanval): New variables.
62746         (F): Add conversion tests.
62747         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62748         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62750         * stdio-common/tstdiomisc.c (F): Properly collect individual
62751         tests' results.
62753         [BZ #14686, #15336]
62754         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62755         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62756         Instead, use input NaN values or generate a qNaN by arithmetic
62757         operation.  Also fix bugs to comply with the standard.
62758         * math/libm-test.inc (remainder_test): Add more tests.
62760         [BZ #15335, #15342]
62761         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62763         input NaN values or generate a qNaN by arithmetic operation.
62765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62766         unreachable code.
62768         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62769         definitions.
62771 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62773         [BZ #14478]
62774         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62775         underflowed result.
62776         * math/s_cexpf.c (__cexpf): Likewise.
62777         * math/s_cexpl.c (__cexpl): Likewise.
62778         * math/libm-test.inc (cexp_test): Add more tests.
62780 2013-04-03  Andreas Schwab  <schwab@suse.de>
62782         [BZ #15330]
62783         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62784         order arrays from heap if bigger than alloca cutoff.
62786 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62788         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62789         (SNAN_TESTS_double): Refer to GCC PR56831.
62790         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62791         GCC PR56828.
62793 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62795         * Rules (bench): Move bench.out after the run is complete.
62797         * Rules (bench): Echo currently running benchmark.
62799         * benchtests/Makefile (bench): Add atan and slowatan.
62800         * benchtests/atan-inputs: New file.
62801         * benchtests/slowatan-inputs: New file.
62802         * benchtests/slowatan.c: New file.
62804         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62805         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62806         its value.
62808         [BZ #15305]
62809         * sysdeps/unix/sysv/linux/kernel-features.h
62810         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62811         __ASSUME_XFS_RESTRICTED_CHOWN.
62812         * sysdeps/unix/sysv/linux/pathconf.c
62813         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62814         Save and restore errno.
62816 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62818         [BZ #15327]
62819         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62820         arguments using __kernel_casinh.
62821         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62822         arguments using __kernel_casinhf.
62823         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62824         arguments using __kernel_casinhl.
62825         * math/libm-test.inc (cacosh_test): Add more tests.
62826         * sysdeps/i386/fpu/libm-test-ulps: Update.
62827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62829 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62831         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62834         * bench/Makefile (bench): Add sin and slowsin.
62835         * benchtests/sin-inputs: New file.
62836         * benchtests/slowsin-inputs: New file.
62837         * benchtests/slowsin.c: New file.
62839         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62840         (bench): Add slowexp and slowpow.
62841         (exp-ITER): Increase iterations.
62842         (pow-ITER): Likewise.
62843         * benchtests/exp-inputs: Change input.
62844         * benchtests/pow-inputs: Likewise.
62845         * benchtests/slowexp-inputs: New file.
62846         * benchtests/slowexp.c: New file.
62847         * benchtests/slowpow-inputs: New file.
62848         * benchtests/slowpow.c: New file.
62850 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62852         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62853         instructions.
62854         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62855         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62856         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62857         * benchtests/Makefile: Add rint benchtest.
62858         * benchtests/rint-inputs: Input for rint benchtest.
62860 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62862         * Versions.def (libm): Add GLIBC_2.18.
62863         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62864         hidden libm prototypes.
62865         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62866         * math/Makefile (libm-calls): Add s_issignaling.
62867         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62868         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62869         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62870         declaration.
62871         * math/math.h [__USE_GNU] (issignaling): New macro.
62872         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62873         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62874         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62875         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62876         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62877         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62878         * manual/arith.texi (issignaling): New section.
62879         * manual/libm-err-tab.pl (@all_functions): Update comment.
62880         * math/gen-libm-test.pl (parse_args): Apply special handling for
62881         issignaling.
62882         * math/libm-test.inc (print_float, issignaling_test): New
62883         functions.
62884         (check_float_internal): Add issignaling checks.
62885         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62886         default definition.
62887         * sysdeps/powerpc/math-tests.h: New file.
62888         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62889         tests.
62890         * math/test-snan.c (TEST_FUNC): Likewise.
62892 2013-03-30  David S. Miller  <davem@davemloft.net>
62894         * po/de.po: Update from translation team.
62896 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62898         [BZ #10357]
62899         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62900         imaginary part less than 1.0 and real part less than 0.5
62901         specially.
62902         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62903         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62904         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62905         (cacos_test): Add more tests.
62906         (casin_test): Likewise.
62907         (casinh_test): Likewise.
62908         * sysdeps/i386/fpu/libm-test-ulps: Update.
62909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62911 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62913         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62914         ONE with its value.
62916         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62917         (__pow_mp): Replace ONE and MONE with their values.
62918         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62919         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62921         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62922         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62923         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62925         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62927         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62928         (__pow_mp): Replace ZERO and MZERO with their values.
62929         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62930         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62931         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62933         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62934         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62935         (__sqr): Likewise.
62937         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62939         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62941 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62943         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62944         Declare with __attribute__ ((weak)).
62945         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62946         Call __call_tls_dtors only if it's not NULL.
62948 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62950         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62951         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62952         magic __ehdr_start linker symbol if it's defined.
62953         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62954         them up here if it was already done.
62956         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62957         (_dl_aux_init): Use const in cast when setting it.
62958         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62959         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62960         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62962         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62963         Declare them here.
62964         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62965         * csu/libc-tls.c: Nor here.
62966         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62968         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62969         (__libc_message): Never call vsyslog.
62971 2013-03-28  Alan Modra  <amodra@gmail.com>
62973         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62974         Define as empty.
62975         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62976         Likewise.
62978 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62980         [BZ #15214]
62981         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62982         underflow.
62983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62985 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62987         [BZ #15304]
62988         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62989         Don't add gid passed as argument.
62991         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62993 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62995         [BZ #15307]
62996         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62997         imaginary part between 1.0 and 1.5 and real part less than 0.5
62998         specially.
62999         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63000         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63001         * math/libm-test.inc (cacos_test): Add more tests.
63002         (casin_test): Likewise.
63003         (casinh_test): Likewise.
63004         * sysdeps/i386/fpu/libm-test-ulps: Update.
63005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63007 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63009         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63010         constants.
63011         (norm): Likewise.
63012         (denorm): Likewise.
63013         (__dbl_mp): Likewise.
63014         (add_magnitudes): Likewise.
63015         (sub_magnitudes): Likewise.
63016         (__add): Likewise.
63017         (__sub): Likewise.
63018         (__mul): Likewise.
63019         (__sqr): Likewise.
63020         (__inv): Likewise.
63021         (__dvd): Likewise.
63023         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63024         commented code.
63025         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63026         (__dubcos): Likewise.
63027         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63028         (__ieee754_acos): Likewise.
63029         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63030         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63031         (__exp1): Likewise.
63032         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63033         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63034         (log1): Likewise.
63035         (my_log2): Likewise.
63036         (checkint): Likewise.
63037         * sysdeps/ieee754/dbl-64/e_remainder.c
63038         (__ieee754_remainder): Likewise.
63039         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63040         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63041         (bsloww): Likewise.
63042         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63044         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63045         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63046         MANTISSA_STORE_T to store computations on mantissa.  Use
63047         macros for rounding and division.
63048         (denorm): Likewise.
63049         (__dbl_mp): Likewise.
63050         (add_magnitudes): Likewise.
63051         (sub_magnitudes): Likewise.
63052         (__mul): Likewise.
63053         (__sqr): Likewise.
63054         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63055         powers of two in terms of TWOPOW macro.
63056         (mp_no): Make type of mantissa as MANTISSA_T.
63057         [!RADIXI]: Define RADIXI.
63058         [!TWO52]: Define TWO52.
63059         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63061 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63063         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63064         llroundl symbol when building for PPC32.
63066 2013-03-24  Mark H Weaver  <mhw@netris.org>
63068         * manual/arith.texi (Normalization Functions): Fix prototypes for
63069         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63071 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63073         [BZ #13889]
63074         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63075         high value to check if expl overflow.
63076         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63077         to check for underflow and overflow.
63078         * math/libm-test.inc: Add exp test.
63080 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63082         [BZ #11120]
63083         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63084         with NOT_IN_libc.
63086 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63088         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63089         symbol.
63091 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63093         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63094         wrap blocks consisting of several statements.
63096         * sysdeps/generic/math-tests.h: New file.
63097         * sysdeps/i386/fpu/math-tests.h: Likewise.
63098         * math/test-snan.c: Include it.
63099         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63101 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63103         [BZ #15285]
63104         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63105         (__ieee754_j0l): Do not improve calculations using cos of twice
63106         input for inputs above LDBL_MAX / 2.0L.
63107         (__ieee754_y0l): Likewise.
63108         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63109         (__ieee754_j1l): Do not improve calculations using cos of twice
63110         input for inputs above LDBL_MAX / 2.0L.
63111         (__ieee754_y1l): Likewise.
63112         * math/libm-test.inc (j0_test): Add another test.
63113         (j1_test): Likewise.
63114         (y0_test): Likewise.
63115         (y1_test): Likewise.
63116         * sysdeps/i386/fpu/libm-test-ulps: Update.
63118 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63120         * Rules ($(objpfx)bench-%.c): Include code from a C source
63121         file.
63123 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63125         [BZ #15287]
63126         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63127         imaginary part 1.0 and real part less than 0.5 specially.
63128         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63129         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63130         * math/libm-test.inc (cacos_test): Add more tests.
63131         (casin_test): Likewise.
63132         (casinh_test): Likewise.
63133         * sysdeps/i386/fpu/libm-test-ulps: Update.
63134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63136 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63138         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63139         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63141 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63143         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63144         * config.make.in (config-cflags-sse4): Remove variable.
63145         (config-cflags-avx): Likewise.
63146         (config-cflags-sse2avx): Likewise.
63147         (config-cflags-novzeroupper): Likewise.
63148         (config-asflags-i686): Likewise.
63149         (have-mfma4): Likewise.
63150         (have-as-vis3): Likewise.
63151         (MIG): Likewise.
63152         * configure.in (MIG): Do not AC_SUBST.
63153         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63154         (libc_cv_cc_sse4): Do not AC_SUBST.
63155         (libc_cv_cc_avx): Likewise.
63156         (libc_cv_cc_sse2avx): Likewise.
63157         (libc_cv_cc_novzeroupper): Likewise.
63158         (libc_cv_cc_fma4): Likewise.
63159         (libc_cv_as_i686): Likewise.
63160         (libc_cv_sparc_as_vis3): Likewise.
63161         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63162         LIBC_CONFIG_VAR.
63163         (config-asflags-i686): Likewise.
63164         (config-cflags-avx): Likewise.
63165         (config-cflags-sse2avx): Likewise.
63166         (have-mfma4): Likewise.
63167         (config-cflags-novzeroupper): Likewise.
63168         * sysdeps/mach/configure.in (MIG): Likewise.
63169         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63170         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63171         LIBC_CONFIG_VAR.
63172         (config-cflags-avx): Likewise.
63173         (config-cflags-sse2avx): Likewise.
63174         (have-mfma4): Likewise.
63175         (config-cflags-novzeroupper): Likewise.
63176         * configure: Regenerated.
63177         * sysdeps/i386/configure: Likewise.
63178         * sysdeps/mach/configure: Likewise.
63179         * sysdeps/sparc/configure: Likewise.
63180         * sysdeps/x86_64/configure: Likewise.
63182 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63184         [BZ #14812]
63185         * locale/programs/localedef.c (options): Put N_ translation marker
63186         on argument names, not just descriptions.
63188 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63190         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63192 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63194         [BZ #14176]
63195         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63197 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63199         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63200         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63201         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63202         [!BEFORE_ABORT] (before_abort): New function.
63203         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63204         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63205         (writev_for_fatal): New function.
63206         (WRITEV_FOR_FATAL): New macro; call that.
63207         (backtrace_and_maps): New function.
63208         (BEFORE_ABORT): New macro; call that.
63209         (struct str_list): Type removed.
63210         (__libc_message, __libc_fatal): Functions removed.
63211         Include <sysdeps/posix/libc_fatal.c> instead.
63213 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63215         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63216         constants.
63217         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63218         double constants.
63220 2013-03-19  Andreas Schwab  <schwab@suse.de>
63222         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63223         * sysdeps/gnu/configure: Regenerate.
63225         * configure.in: Substitute libc_cv_rtlddir.
63226         * configure: Regenerate.
63227         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63228         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63229         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63230         * elf/Makefile (install-others, CFLAGS-interp.c)
63231         (ldso_install, common-ldd-rewrite): Likewise.
63232         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63233         $(inst_slibdir)/$(rtld-installed-name).
63234         * scripts/rellns-sh: Add -p option.
63235         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63236         for source.
63238 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63240         * manual/nptl.texi: Renamed to ...
63241         * manual/threads.texi: ... this.
63242         * manual/Makefile (chapters): Update.
63244 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63246         [BZ #14812]
63247         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63248         on argument names, not just descriptions.
63249         * malloc/memusagestat.c (options): Likewise.
63250         * nss/getent.c (options): Likewise.
63252 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63254         [BZ #14812]
63255         * iconv/iconv_prog.c (options): Put N_ translation marker
63256         on argument names, not just descriptions.
63257         * iconv/iconvconfig.c (options): Likewise.
63259 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63261         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63262         implementation which is faster on all x86_64 architectures.
63263         Tested on AMD, Intel Nehalem, SNB, IVB.
63264         * sysdeps/x86_64/strnlen.S: Likewise.
63266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63267         Remove all multiarch strlen and strnlen versions.
63268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63269         Remove strlen and strnlen related parts.
63271         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63272         Inline strlen part.
63273         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63275         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63276         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63277         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63278         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63279         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63280         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63282 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63284         * manual/memory.texi (Malloc Tunable Parameters):
63285         Sort parameters alphabetically. Add comments for missing entries.
63287 2013-03-17  David S. Miller  <davem@davemloft.net>
63289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63291 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63293         [BZ #15283]
63294         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63295         for arguments at most half maximum finite value.
63296         * math/libm-test.inc (j0_test): Add more tests.
63297         (j1_test): Likewise.
63298         (y0_test): Likewise.
63299         (y1_test): Likewise.
63300         * sysdeps/i386/fpu/libm-test-ulps: Update.
63301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63303         [BZ #14155]
63304         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63305         1 / x and functions P and Q for arguments above 0x1p256L.
63306         (__ieee754_y0l): Likewise.
63307         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63308         (__ieee754_y1l): Likewise.
63309         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63310         (j1_test): Likewise.
63311         (y0_test): Likewise.
63312         (y1_test): Likewise.
63314 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63316         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63317         variable.
63319 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63321         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63322         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63323         zero since it's initialized to EXEC_PAGESIZE.
63325         * sysdeps/unix/sysv/linux/ldsodefs.h
63326         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63327         * sysdeps/generic/ldsodefs.h: ... here.
63329 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63331         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63333         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63334         math/test-snan.c.
63335         * math/test-snan.c: Renamed from
63336         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63337         * math/Makefile (tests): Add test-snan.
63338         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63339         test-powerpc-snan.
63341         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63342         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63343         functions.
63344         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63345         __builtin_nan family of functions.
63346         * math/libm-test.inc (initialize): Initialize qnan_value with
63347         __builtin_nan family of functions.
63348         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63349         Remove variables.
63350         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63351         Remove functions.
63352         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63353         storage class.  Initialize qNaN_var and sNaN_var with
63354         __builtin_nan and __builtin_nans families of functions,
63355         respectively.
63357         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63358         (sqrt_test): Remove duplicate test with qNaN input.
63359         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63360         (round_test, signbit_test, significand_test): Note missing +/-Inf
63361         as well as qNaN tests.
63363         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63364         qNaN_var.  Fix a few strings, too.
63365         * math/libm-test.inc (nan_value): Rename to qnan_value.
63366         * math/gen-libm-test.pl (%beautify): Adjust to that.
63367         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63368         * math/test-misc.c (main): Likewise.
63369         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63370         to __qnan_bytes, and __qnan_union, respectively.
63371         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63372         Likewise.
63373         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63374         and lqnanval, respectively.
63375         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63376         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63377         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63378         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63380         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63381         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63382         doubles.
63384         * math/test-misc.c (main): Fix copy'n'pastos.
63385         * misc/tst-efgcvt.c (special): Likewise.
63387         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63388         Remove declarations.
63390 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63392         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63393         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63394         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63395         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63397 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63400         macro to return vdso values correctly in IFUNC implementations.
63401         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63402         Optimization by using IFUNC.
63404 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63405             Richard Henderson  <rth@redhat.com>
63406             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63408         * Makefile.in (bench): New target.
63409         * NEWS: Mention the benchmark framework.
63410         * Rules (bench): Likewise.
63411         (binaries-bench): Generate binaries for functions to
63412         benchmark.
63413         * benchtests/Makefile: New makefile for benchmark tests.
63414         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63415         programs.
63416         * benchtests/exp-inputs: New input file for EXP function.
63417         * benchtests/pow-inputs: New input file for POW function.
63418         * scripts/bench.pl: New script to generate source files for
63419         benchmark programs.
63421 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63423         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63424         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63425         computations on mantissa.  Use macros for rounding and
63426         division.
63427         (denorm): Likewise.
63428         (__dbl_mp): Likewise.
63429         (add_magnitudes): Likewise.
63430         (sub_magnitudes): Likewise.
63431         (__mul): Likewise.
63432         (__sqr): Likewise.
63433         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63434         powers of two in terms of TWOPOW macro.
63435         (mp_no): Make type of mantissa as MANTISSA_T.
63436         [!RADIXI]: Define RADIXI.
63437         [!TWO52]: Define TWO52.
63438         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63440         * manual/nptl.texi (cindex): Modify threads to pthreads.
63442 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63444         * sysdeps/x86_64/preconfigure: Regenerated.
63446 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63448         [BZ #14155]
63449         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63450         0x1p28 and above.
63451         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63452         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63453         0x1p28 and above.
63454         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63455         * math/libm-test.inc (j0_test): Do not allow one spurious
63456         underflow exception.
63457         (y1_test): Likewise.
63459 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63461         * manual/Makefile (chapters): Add nptl.
63462         * manual/debug.texi (Debugging Support): Add link to Threads
63463         chapter.
63464         * manual/nptl.texi: New file.
63466         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63468 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63470         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63471         for non-NULL pointer before the memory validity test. Pointed
63472         out by Holger Brunck <holger.brunck@keymile.com>.
63474 2013-03-13  Andreas Schwab  <schwab@suse.de>
63476         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63477         instead of .os.
63479 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63481         * timezone/zic.c: Update from tzcode 2013b.
63483 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63485         * manual/install.texi (Configuring and compiling):
63486         Mention i686 and i586.
63487         * INSTALL: Regenerate.
63489 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63491         * sysdeps/init_array/elf-init.c: New file.
63492         * csu/elf-init.c
63493         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63494         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63496         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63497         __gmon_start__ as global, but as static with a .preinit_array pointer.
63498         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63499         * sysdeps/init_array/crti.S: New file, empty except for comments.
63500         * sysdeps/init_array/crtn.S: Likewise.
63502 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63504         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63505         definining bcopy.
63506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63507         Remove Prefer_SSE_for_memop.
63508         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63509         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63510         HAS_PREFER_SSE_FOR_MEMOP.
63511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63512         memset-x86-64.
63513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63514         Remove bzero, memset ifunc support.
63515         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63516         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63517         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63518         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63520 2013-03-11  Andreas Schwab  <schwab@suse.de>
63522         [BZ #15234]
63523         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63524         by SHLIB_COMPAT.
63525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63526         (GLIBC_2.16): Remove pthread_atfork.
63528 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63530         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63531         (ptestcases.h): Likewise.
63533 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63535         * Makeconfig ($(common-objpfx)config.status): Depend on
63536         sysdeps/*/preconfigure{,.in} too.
63538 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63540         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63541         (__free_hook): Use void * instead of __malloc_ptr_t.
63542         (__malloc_hook): Likewise.
63543         (__realloc_hook): Likewise.
63544         (__memalign_hook): Likewise.
63545         (__after_morecore_hook): Likewise.
63546         * malloc/arena.c (save_malloc_hook): Likewise.
63547         (save_free_hook): Likewise.
63548         * malloc/hooks.c (malloc_hook_ini): Likewise.
63549         (realloc_hook_ini): Likewise.
63550         (memalign_hook_ini): Likewise.
63551         * malloc/malloc.c (malloc_hook_ini): Likewise.
63552         (realloc_hook_ini): Likewise.
63553         (memalign_hook_ini): Likewise.
63554         (__free_hook): Likewise.
63555         (__malloc_hook): Likewise.
63556         (__realloc_hook): Likewise.
63557         (__memalign_hook): Likewise.
63558         (__libc_malloc): Likewise.
63559         (__libc_free): Likewise.
63560         (__libc_realloc): Likewise.
63561         (__libc_memalign): Likewise.
63562         (__libc_valloc): Likewise.
63563         (__libc_pvalloc): Likewise.
63564         (__libc_calloc): Likewise.
63565         (__posix_memalign): Likewise.
63566         * malloc/morecore.c (__sbrk): Likewise.
63567         (__default_morecore): Likewise.
63569         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63571         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63572         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63573         __malloc_ptrdiff_t.
63575         * malloc/malloc.h (__malloc_size_t): Remove macro.
63576         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63577         __malloc_size_t.
63578         (old_memalign_hook): Likewise.
63579         (old_realloc_hook): Likewise.
63580         (struct hdr): Likewise.
63581         (flood): Likewise.
63582         (mallochook): Likewise.
63583         (memalignhook): Likewise.
63584         (reallochook): Likewise.
63585         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63586         (tr_old_realloc_hook): Likewise.
63587         (tr_old_memalign_hook): Likewise.
63588         (tr_mallochook): Likewise.
63589         (tr_reallochook): Likewise.
63590         (tr_memalignhook): Likewise.
63592 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63595         default_ldbl_pack and using as default implementation.
63596         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63597         implementation.
63598         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63599         redundant definition.
63600         (ldbl_insert_mantissa): Likewise.
63601         (ldbl_canonicalize): Likewise.
63602         (ldbl_nearbyint): Likewise.
63603         (ldbl_pack): Rename to ldbl_pack_ppc.
63604         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63605         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63606         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63608 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63610         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63611         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63612         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63613         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63614         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63615         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63616         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63617         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63619 2013-03-07  Andreas Jaeger  <aj@suse.de>
63621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63622         bits/mman-linux.h.
63624 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63626         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63627         Include mpa.h and declare __MPEXP.
63628         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63629         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63630         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63631         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63632         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63633         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63634         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63636         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63637         (__slowpow): Use long double EXPL and LOGL functions to
63638         compute POW.
63639         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63640         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63641         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63642         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63643         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63644         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63647         intermediate variable to calculate exponent.
63648         (__sqr): Likewise.
63649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63650         Likewise.
63651         (__sqr): Likewise.
63653         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63654         [!NO__SQR]: Define __sqr.
63655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63656         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63657         sysdeps/ieee754/dbl-64/mpa.c.
63658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63660         [BZ #12723]
63661         * posix/Makefile (tests): Add tst-pathconf.
63662         * posix/tst-pathconf.c: New test case.
63663         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63664         _PC_PIPE_BUF.
63665         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63667 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63669         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63671 2013-03-06  Andreas Jaeger  <aj@suse.de>
63673         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63674         definition via __MAP_ANONYMOUS.
63676         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63677         it's not part of Linux headers.
63679         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63680         (MAP_HUGE_MASK): Define.
63682         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63683         Define.
63684         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63685         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63686         Define.
63687         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63688         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63689         Define.
63690         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63691         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63692         Define.
63693         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63695         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63696         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63697         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63698         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63699         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63700         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63702         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63703         Handle f2fs.
63705         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63706         Handle f2fs and efivarfs.
63708         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63709         f2fs.
63711         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63712         (EFIVARFS_MAGIC): Add.
63713         (F2FS_LINK_MAX): Add.
63715 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63717         * stdio-common/vfprintf.c: Replace __builtin_expect with
63718         __glibc_unlikely.
63720 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63722         [BZ #13550]
63723         * sysdeps/generic/bp-sym.h: Remove file.
63724         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63725         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63726         <bp-sym.h> and <bp-asm.h>.
63727         (__longjmp): Don't use BP_SYM.
63728         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63729         and <bp-asm.h>.
63730         (memcpy): Don't use BP_SYM.
63731         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63732         <bp-sym.h> and <bp-asm.h>.
63733         (memcpy): Don't use BP_SYM.
63734         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63735         <bp-asm.h>.
63736         (memcpy): Don't use BP_SYM.
63737         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63738         <bp-asm.h>.
63739         (memset): Don't use BP_SYM.
63740         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63741         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63742         (__bzero): Don't use BP_SYM.
63743         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63744         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63745         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63746         <bp-sym.h> and <bp-asm.h>.
63747         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63748         pointers.
63749         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63750         <bp-sym.h> and <bp-asm.h>.
63751         (memcpy): Don't use BP_SYM.
63752         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63753         <bp-sym.h> and <bp-asm.h>.
63754         (memset): Don't use BP_SYM.
63755         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63756         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63757         (__bzero): Don't use BP_SYM.
63758         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63759         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63761         <bp-sym.h> and <bp-asm.h>.
63762         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63763         pointers.
63764         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63765         <bp-sym.h> and <bp-asm.h>.
63766         (memcpy): Don't use BP_SYM.
63767         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63768         <bp-sym.h> and <bp-asm.h>.
63769         (memset): Don't use BP_SYM.
63770         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63771         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63772         (__bzero): Don't use BP_SYM.
63773         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63774         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63775         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63776         <bp-sym.h> and <bp-asm.h>.
63777         (__memchr): Don't use BP_SYM.
63778         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63779         <bp-sym.h> and <bp-asm.h>.
63780         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63781         pointers.
63782         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63783         <bp-sym.h> and <bp-asm.h>.
63784         (memcpy): Don't use BP_SYM.
63785         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63786         <bp-sym.h> and <bp-asm.h>.
63787         (__mempcpy): Don't use BP_SYM.
63788         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63789         <bp-sym.h> and <bp-asm.h>.
63790         (__memrchr): Don't use BP_SYM.
63791         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63792         <bp-sym.h> and <bp-asm.h>.
63793         (memset): Don't use BP_SYM.
63794         (__bzero): Likewise.
63795         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63796         <bp-sym.h> and <bp-asm.h>.
63797         (__rawmemchr): Don't use BP_SYM.
63798         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63799         <bp-sym.h> and <bp-asm.h>.
63800         (__STRCMP): Don't use BP_SYM.
63801         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63802         <bp-sym.h> and <bp-asm.h>.
63803         (strchr): Don't use BP_SYM.
63804         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63805         <bp-sym.h> and <bp-asm.h>.
63806         (__strchrnul): Don't use BP_SYM.
63807         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63808         <bp-sym.h> and <bp-asm.h>.
63809         (strlen): Don't use BP_SYM.
63810         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63811         <bp-sym.h> and <bp-asm.h>.
63812         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63813         pointers.
63814         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63815         <bp-sym.h> and <bp-asm.h>.
63816         (__strnlen): Don't use BP_SYM.
63817         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63818         <bp-sym.h> and <bp-asm.h>.
63819         (__GI__setjmp): Don't use BP_SYM.
63820         (_setjmp): Likewise.
63821         (__sigsetjmp): Likewise.
63822         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63823         (L(start_addresses)): Don't use BP_SYM.
63824         (_start): Likewise.
63825         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63826         <bp-asm.h>.
63827         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63828         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63829         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63830         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63831         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63832         <bp-asm.h>.
63833         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63834         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63835         about bounded pointers.
63836         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63837         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63838         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63839         <bp-asm.h>.
63840         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63841         about bounded pointers.  Remove GKM FIXME comments.
63842         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63843         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63844         <bp-asm.h>.
63845         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63846         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63847         Remove GKM FIXME comments.
63848         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63849         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63850         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63851         <bp-asm.h>.
63852         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63853         about bounded pointers.  Remove GKM FIXME comment.
63854         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63855         and <bp-asm.h>.
63856         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63857         pointers.
63858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63859         <bp-sym.h> and <bp-asm.h>.
63860         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63862         <bp-sym.h> and <bp-asm.h>.
63863         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63864         comment.
63866 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63868         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63869         call free(NULL).
63871 2013-03-05  David S. Miller  <davem@davemloft.net>
63873         * po/es.po: Update from translation team.
63875 2013-03-05  Andreas Jaeger  <aj@suse.de>
63877         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63878         <bits/mman-linux.h>.
63879         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63880         is fine.
63881         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63882         <bits/mman-linux.h> to end of file.
63883         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63884         is fine.
63885         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63886         <bits/mman-linux.h> to end of file.
63887         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63888         is fine.
63889         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63890         <bits/mman-linux.h> to end of file.
63892         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63893         (MCL_CURRENT, MCL_FUTURE): Define here.
63895 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63897         [BZ #15232]
63898         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63899         attribute_hidden.
63900         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63902 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63904         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63905         fourth parameter needed for rt_sigprocmask syscall.
63906         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63907         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63908         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63909         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63910         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63911         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63913 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63915         [BZ #13550]
63916         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63917         comment about bounded pointers.
63918         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63919         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63921 2013-03-04  Andreas Jaeger  <aj@suse.de>
63923         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63924         common definitions.
63926         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63927         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63928         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63929         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63930         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63931         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63933 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63935         [BZ #15055]
63936         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63937         __ieee754_sqrl instead of __sqrl.
63939 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63941         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63942         * sysdeps/powerpc/fpu_control.h: ... here.
63943         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63944         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63945         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63946         * sysdeps/powerpc/bits/mathinline.h: ... here.
63948 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63950         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63951         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63952         to just [NEED_DL_SYSINFO_DSO].
63953         * elf/dl-support.c: Likewise.
63954         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63955         * elf/rtld.c (dl_main): Likewise.
63956         * elf/setup-vdso.h (setup_vdso): Likewise.
63957         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63958         * sysdeps/unix/sysv/linux/dl-sysdep.c
63959         (_dl_discover_osversion): Likewise.
63961 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63963         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63964         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63966 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63968         * NEWS: Mention libm performance improvements and non-x86 PI
63969         futex support.
63971         * csu/libc-start.c (__pthread_initialize_minimal): Change
63972         function arguments.
63973         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63975 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63977         [BZ #13550]
63978         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63979         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63980         <bp-sym.h> and <bp-asm.h>.
63981         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63982         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63983         and <bp-asm.h>.
63984         (memcpy): Don't use BP_SYM.
63985         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63986         <bp-asm.h>.
63987         (__mpn_add_n): Don't use BP_SYM.
63988         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63989         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63990         and <bp-asm.h>.
63991         (__mpn_addmul_1): Don't use BP_SYM.
63992         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63993         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63994         <bp-sym.h>.
63995         (_setjmp): Don't use BP_SYM.
63996         (__novmx_setjmp): Likewise.
63997         (__GI__setjmp): Likewise.
63998         (__vmx_setjmp): Likewise.
63999         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64000         <bp-sym.h>.
64001         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64002         (__bzero): Don't use BP_SYM.
64003         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64004         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64005         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64006         <bp-sym.h> and <bp-asm.h>.
64007         (memcpy): Don't use BP_SYM.
64008         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64009         <bp-sym.h> and <bp-asm.h>.
64010         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64011         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64012         <bp-sym.h> and <bp-asm.h>.
64013         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64014         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64015         <bp-asm.h>.
64016         (__mpn_lshift): Don't use BP_SYM.
64017         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64018         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64019         <bp-asm.h>.
64020         (memset): Don't use BP_SYM.
64021         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64022         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64023         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64024         <bp-asm.h>.
64025         (__mpn_mul_1): Don't use BP_SYM.
64026         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64028         <bp-sym.h> and <bp-asm.h>.
64029         (memcmp): Don't use BP_SYM.
64030         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64031         <bp-sym.h> and <bp-asm.h>.
64032         (memcpy): Don't use BP_SYM.
64033         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64034         <bp-sym.h> and <bp-asm.h>.
64035         (memset): Don't use BP_SYM.
64036         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64037         <bp-sym.h> and <bp-asm.h>.
64038         (strncmp): Don't use BP_SYM.
64039         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64040         <bp-sym.h> and <bp-asm.h>.
64041         (memcpy): Don't use BP_SYM.
64042         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64043         <bp-sym.h> and <bp-asm.h>.
64044         (memset): Don't use BP_SYM.
64045         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64046         <bp-sym.h> and <bp-asm.h>.
64047         (__memchr): Don't use BP_SYM.
64048         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64049         <bp-sym.h> and <bp-asm.h>.
64050         (memcmp): Don't use BP_SYM.
64051         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64052         <bp-sym.h> and <bp-asm.h>.
64053         (memcpy): Don't use BP_SYM.
64054         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64055         <bp-sym.h> and <bp-asm.h>.
64056         (__mempcpy): Don't use BP_SYM.
64057         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64058         <bp-sym.h> and <bp-asm.h>.
64059         (__memrchr): Don't use BP_SYM.
64060         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64061         <bp-sym.h> and <bp-asm.h>.
64062         (memset): Don't use BP_SYM.
64063         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64064         <bp-sym.h> and <bp-asm.h>.
64065         (__rawmemchr): Don't use BP_SYM.
64066         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64067         <bp-sym.h> and <bp-asm.h>.
64068         (__STRCMP): Don't use BP_SYM.
64069         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64070         <bp-sym.h> and <bp-asm.h>.
64071         (strchr): Don't use BP_SYM.
64072         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64073         <bp-sym.h> and <bp-asm.h>.
64074         (__strchrnul): Don't use BP_SYM.
64075         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64076         <bp-sym.h> and <bp-asm.h>.
64077         (strlen): Don't use BP_SYM.
64078         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64079         <bp-sym.h> and <bp-asm.h>.
64080         (strncmp): Don't use BP_SYM.
64081         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64082         <bp-sym.h> and <bp-asm.h>.
64083         (__strnlen): Don't use BP_SYM.
64084         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64085         <bp-asm.h>.
64086         (__mpn_rshift): Don't use BP_SYM.
64087         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64088         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64089         <bp-sym.h> and <bp-asm.h>.
64090         (__sigsetjmp): Don't use BP_SYM.
64091         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64092         (L(start_addresses)): Don't use BP_SYM.
64093         (_start): Likewise.
64094         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64095         <bp-asm.h>.
64096         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64097         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64098         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64099         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64100         <bp-asm.h>.
64101         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64102         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64103         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64104         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64105         <bp-asm.h>.
64106         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64107         comments.
64108         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64109         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64110         <bp-asm.h>.
64111         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64112         FIXME comments.
64113         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64114         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64115         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64116         <bp-asm.h>.
64117         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64118         comment.
64119         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64120         and <bp-asm.h>.
64121         (strncmp): Don't use BP_SYM,
64122         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64123         <bp-asm.h>.
64124         (__mpn_sub_n): Don't use BP_SYM.
64125         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64126         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64127         and <bp-asm.h>.
64128         (__mpn_submul_1): Don't use BP_SYM.
64129         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64131         <bp-sym.h> and <bp-asm.h>.
64132         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64134         <bp-sym.h> and <bp-asm.h>.
64135         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64136         comment.
64138 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64141         Use ZK to minimize writes to Z.
64142         (sub_magnitudes): Simplify code a bit.
64143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64144         Use ZK to minimize writes to Z.
64145         (sub_magnitudes): Simplify code a bit.
64147 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64149         * csu/gmon-start.c: Add special exception to license text.
64151 2013-02-27  Richard Henderson  <rth@redhat.com>
64153         * scripts/config.guess: Update from config.git.
64154         * scripts/config.sub: Likewise.
64156 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64158         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64160         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64162         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64164         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64166         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64168 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64170         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64171         [$(build-shared = yes].
64173 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64175         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64176         (__mul): Reduce iterations for calculating mantissa.
64178         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64179         MPTWO.
64180         (__mpranred): Likewise.
64182         [BZ #15160]
64183         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64184         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64186 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64188         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64189         Define __attribute__.
64191 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64193         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64194         unused.
64195         * posix/regex_internal.h (__attribute): Remove.
64196         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64197         (re_string_context_at): Likewise.
64198         (bitset_not): Use __attribute__ and mark function as possibly
64199         unused.
64200         (bitset_merge): Likewise.
64201         (bitset_mask): Likewise.
64202         (re_string_char_size_at): Likewise.
64203         (re_string_wchar_at): Likewise.
64204         (re_string_elem_size_at): Likewise.
64206 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64208         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64209         code.
64210         (cc32): Likewise.
64212         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64213         (__acr): Likewise.
64214         (__cpy): Likewise.
64215         (norm): Likewise.
64216         (denorm): Likewise.
64217         (__dbl_mp): Likewise.
64218         (add_magnitudes): Likewise.
64219         (sub_magnitudes): Likewise.
64220         (__mul): Likewise.
64221         (__inv): Likewise.
64223         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64224         style.
64226         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64227         style.
64229         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64230         code.
64232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64233         up changes with default code.
64234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64235         Likewise.
64237 2013-02-24  Allan McRae  <allan@archlinux.org>
64239         * manual/socket.texi (The Internet Namespace): Order menu items
64240         to match that in the file.
64242         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64243         node listing of the info page menu.
64245 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64247         [BZ #13550]
64248         * sysdeps/i386/bp-asm.h: Remove file.
64249         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64250         (PARMS): Do not use macros from bp-asm.h.
64251         (S1): Likewise.
64252         (S2): Likewise.
64253         (SIZE): Likewise.
64254         (__mpn_add_n): Do not use BP_SYM
64255         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64256         "bp-asm.h".
64257         (PARMS): Do not use macros from bp-asm.h.
64258         (S1): Likewise.
64259         (SIZE): Likewise.
64260         (__mpn_addmul_1): Do not use BP_SYM
64261         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64262         "bp-asm.h".
64263         (PARMS): Do not use macros from bp-asm.h.
64264         (SIGMSK): Likewise.
64265         (_setjmp): Likewise.  Do not use BP_SYM.
64266         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64267         "bp-asm.h".
64268         (PARMS): Do not use macros from bp-asm.h.
64269         (SIGMSK): Likewise.
64270         (setjmp): Likewise.  Do not use BP_SYM.
64271         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64272         "bp-asm.h".
64273         (PARMS): Do not use macros from bp-asm.h.
64274         (__frexp): Do not use BP_SYM.
64275         (frexp): Likewise.
64276         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64277         "bp-asm.h".
64278         (PARMS): Do not use macros from bp-asm.h.
64279         (__frexpf): Do not use BP_SYM.
64280         (frexpf): Likewise.
64281         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64282         "bp-asm.h".
64283         (PARMS): Do not use macros from bp-asm.h.
64284         (__frexpl): Do not use BP_SYM.
64285         (frexpl): Likewise.
64286         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64287         "bp-asm.h".
64288         (PARMS): Do not use macros from bp-asm.h.
64289         (__remquo): Do not use BP_SYM.
64290         (remquo): Likewise.
64291         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64292         "bp-asm.h".
64293         (PARMS): Do not use macros from bp-asm.h.
64294         (__remquof): Do not use BP_SYM.
64295         (remquof): Likewise.
64296         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64297         "bp-asm.h".
64298         (PARMS): Do not use macros from bp-asm.h.
64299         (__remquol): Do not use BP_SYM.
64300         (remquol): Likewise.
64301         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64302         "bp-asm.h".
64303         (PARMS): Do not use macros from bp-asm.h.
64304         (DEST): Likewise.
64305         (SRC): Likewise.
64306         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64307         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64308         "bp-asm.h".
64309         (PARMS): Do not use macros from bp-asm.h.
64310         (strlen): Do not use BP_SYM.
64311         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64312         "bp-asm.h".
64313         (PARMS): Do not use macros from bp-asm.h.
64314         (S1): Likewise.
64315         (S2): Likewise.
64316         (SIZE): Likewise.
64317         (__mpn_add_n): Do not use BP_SYM.
64318         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64319         "bp-asm.h".
64320         (PARMS): Do not use macros from bp-asm.h.
64321         (S1): Likewise.
64322         (SIZE): Likewise.
64323         (__mpn_addmul_1): Do not use BP_SYM.
64324         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64325         weak_alias.
64326         (bzero): Likewise.
64327         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64328         "bp-asm.h".
64329         (PARMS): Do not use macros from bp-asm.h.
64330         (S): Likewise.
64331         (SIZE): Likewise.
64332         (__mpn_lshift): Do not use BP_SYM.
64333         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64334         "bp-asm.h".
64335         (PARMS): Do not use macros from bp-asm.h.
64336         (DEST): Likewise.
64337         (SRC): Likewise.
64338         (LEN): Likewise.
64339         (memcpy): Likewise.  Do not use BP_SYM.
64340         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64341         libc_hidden_def and weak_alias.
64342         (mempcpy): Do not use BP_SYM in weak_alias.
64343         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64344         "bp-asm.h".
64345         (PARMS): Do not use macros from bp-asm.h.
64346         (DEST): Likewise.
64347         (LEN): Likewise.
64348         [!BZERO_P] (CHR): Likewise.
64349         (memset): Likewise.  Do not use BP_SYM.
64350         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64351         "bp-asm.h".
64352         (PARMS): Do not use macros from bp-asm.h.
64353         (S1): Likewise.
64354         (SIZE): Likewise.
64355         (__mpn_mul_1): Do not use BP_SYM.
64356         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64357         "bp-asm.h".
64358         (PARMS): Do not use macros from bp-asm.h.
64359         (S): Likewise.
64360         (SIZE): Likewise.
64361         (__mpn_rshift): Do not use BP_SYM.
64362         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64363         "bp-asm.h".
64364         (PARMS): Do not use macros from bp-asm.h.
64365         (STR): Likewise.
64366         (CHR): Likewise.
64367         (strchr): Likewise.  Do not use BP_SYM.
64368         (index): Do not use BP_SYM in weak_alias.
64369         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64370         "bp-asm.h".
64371         (PARMS): Do not use macros from bp-asm.h.
64372         (DEST): Likewise.
64373         (SRC): Likewise.
64374         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64375         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64376         "bp-asm.h".
64377         (PARMS): Do not use macros from bp-asm.h.
64378         (strlen): Do not use BP_SYM.
64379         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64380         "bp-asm.h".
64381         (PARMS): Do not use macros from bp-asm.h.
64382         (S1): Likewise.
64383         (S2): Likewise.
64384         (SIZE): Likewise.
64385         (__mpn_sub_n): Do not use BP_SYM.
64386         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64387         "bp-asm.h".
64388         (PARMS): Do not use macros from bp-asm.h.
64389         (S1): Likewise.
64390         (SIZE): Likewise.
64391         (__mpn_submul_1): Do not use BP_SYM.
64392         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64393         "bp-asm.h".
64394         (PARMS): Do not use macros from bp-asm.h.
64395         (S1): Likewise.
64396         (S2): Likewise.
64397         (SIZE): Likewise.
64398         (__mpn_add_n): Do not use BP_SYM.
64399         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64400         weak_alias.
64401         (bzero): Likewise.
64402         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64403         "bp-asm.h".
64404         (PARMS): Do not use macros from bp-asm.h.
64405         (BLK2): Likewise.
64406         (LEN): Likewise.
64407         (memcmp): Do not use BP_SYM.
64408         (bcmp): Do not use BP_SYM in weak_alias.
64409         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64410         "bp-asm.h".
64411         (PARMS): Do not use macros from bp-asm.h.
64412         (DEST): Likewise.
64413         (SRC): Likewise.
64414         (LEN): Likewise.
64415         (memcpy): Likewise.  Do not use BP_SYM.
64416         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64417         "bp-asm.h".
64418         (PARMS): Do not use macros from bp-asm.h.
64419         (DEST): Likewise.
64420         (SRC): Likewise.
64421         (LEN): Likewise.
64422         (memmove): Likewise.  Do not use BP_SYM.
64423         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64424         "bp-asm.h".
64425         (PARMS): Do not use macros from bp-asm.h.
64426         (DEST): Likewise.
64427         (SRC): Likewise.
64428         (LEN): Likewise.
64429         (__mempcpy): Likewise.  Do not use BP_SYM.
64430         (mempcpy): Do not use BP_SYM in weak_alias.
64431         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64432         "bp-asm.h".
64433         (PARMS): Do not use macros from bp-asm.h.
64434         (DEST): Likewise.
64435         (LEN): Likewise.
64436         [!BZERO_P] (CHR): Likewise.
64437         (memset): Likewise.  Do not use BP_SYM.
64438         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64439         "bp-asm.h".
64440         (PARMS): Do not use macros from bp-asm.h.
64441         (STR2): Likewise.
64442         (strcmp): Do not use BP_SYM.
64443         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64444         "bp-asm.h".
64445         (PARMS): Do not use macros from bp-asm.h.
64446         (STR): Likewise.
64447         (DELIM): Likewise.
64448         [USE_AS_STRTOK_R] (SAVE): Likewise.
64449         (FUNCTION): Likewise.  Do not use BP_SYM.
64450         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64451         aliases.
64452         (strtok_r): Likewise.
64453         (__GI___strtok_r): Likewise.
64454         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64455         (PARMS): Do not use macros from bp-asm.h.
64456         (S): Likewise.
64457         (SIZE): Likewise.
64458         (__mpn_lshift): Do not use BP_SYM.
64459         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64460         (PARMS): Do not use macros from bp-asm.h.
64461         (STR): Likewise.
64462         (CHR): Likewise.
64463         (__memchr): Do not use BP_SYM.
64464         (memchr): Do not use BP_SYM in weak_alias.
64465         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64466         (PARMS): Do not use macros from bp-asm.h.
64467         (BLK2): Likewise.
64468         (LEN): Likewise.
64469         (memcmp): Do not use BP_SYM.
64470         (bcmp): Do not use BP_SYM in weak_alias.
64471         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64472         (PARMS): Do not use macros from bp-asm.h.
64473         (S1): Likewise.
64474         (SIZE): Likewise.
64475         (__mpn_mul_1): Do not use BP_SYM.
64476         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64477         "bp-asm.h".
64478         (PARMS): Do not use macros from bp-asm.h.
64479         (STR): Likewise.
64480         (CHR): Likewise.
64481         (__rawmemchr): Do not use BP_SYM.
64482         (rawmemchr): Do not use BP_SYM in weak_alias.
64483         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64484         (PARMS): Do not use macros from bp-asm.h.
64485         (S): Likewise.
64486         (SIZE): Likewise.
64487         (__mpn_rshift): Do not use BP_SYM.
64488         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64489         (PARMS): Do not use macros from bp-asm.h.
64490         (SIGMSK): Likewise.
64491         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64492         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64493         (_start): Do not use BP_SYM.
64494         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64495         (PARMS): Do not use macros from bp-asm.h.
64496         (DEST): Likewise.
64497         (SRC): Likewise.
64498         (__stpcpy): Likewise.  Do not use BP_SYM.
64499         (stpcpy): Do not use BP_SYM in weak_alias.
64500         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64501         "bp-asm.h".
64502         (PARMS): Do not use macros from bp-asm.h.
64503         (DEST): Likewise.
64504         (SRC): Likewise.
64505         (LEN): Likewise.
64506         (__stpncpy): Likewise.  Do not use BP_SYM.
64507         (stpncpy): Do not use BP_SYM in weak_alias.
64508         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64509         (PARMS): Do not use macros from bp-asm.h.
64510         (STR): Likewise.
64511         (CHR): Likewise.
64512         (strchr): Likewise.  Do not use BP_SYM.
64513         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64514         "bp-asm.h".
64515         (PARMS): Do not use macros from bp-asm.h.
64516         (STR): Likewise.
64517         (CHR): Likewise.
64518         (__strchrnul): Likewise.  Do not use BP_SYM.
64519         (strchrnul): Do not use BP_SYM in weak_alias.
64520         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64521         "bp-asm.h".
64522         (PARMS): Do not use macros from bp-asm.h.
64523         (STOP): Likewise.
64524         (strcspn): Do not use BP_SYM.
64525         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64526         "bp-asm.h".
64527         (PARMS): Do not use macros from bp-asm.h.
64528         (STR): Likewise.
64529         (STOP): Likewise.
64530         (strpbrk): Likewise.  Do not use BP_SYM.
64531         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64532         "bp-asm.h".
64533         (PARMS): Do not use macros from bp-asm.h.
64534         (STR): Likewise.
64535         (CHR): Likewise.
64536         (strrchr): Likewise.  Do not use BP_SYM.
64537         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64538         (PARMS): Do not use macros from bp-asm.h.
64539         (SKIP): Likewise.
64540         (strspn): Do not use BP_SYM.
64541         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64542         (PARMS): Do not use macros from bp-asm.h.
64543         (STR): Likewise.
64544         (DELIM): Likewise.
64545         (SAVE): Likewise.
64546         (FUNCTION): Likewise.  Do not use BP_SYM.
64547         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64548         aliases.
64549         (strtok_r): Likewise.
64550         (__GI___strtok_r): Likewise.
64551         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64552         (PARMS): Do not use macros from bp-asm.h.
64553         (S1): Likewise.
64554         (S2): Likewise.
64555         (SIZE): Likewise.
64556         (__mpn_sub_n): Do not use BP_SYM.
64557         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64558         "bp-asm.h".
64559         (PARMS): Do not use macros from bp-asm.h.
64560         (S1): Likewise.
64561         (SIZE): Likewise.
64562         (__mpn_submul_1): Do not use BP_SYM.
64563         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64564         <bp-sym.h>.
64565         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64566         and <bp-asm.h>.
64567         (PARMS): Do not use macros from bp-asm.h.
64568         (FLAGS): Likewise.
64569         (PTID): Likewise.
64570         (TLS): Likewise.
64571         (CTID): Likewise.
64572         (__clone): Do not use BP_SYM.
64573         (clone): Do not use BP_SYM in weak_alias.
64574         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64575         and <bp-asm.h>.
64576         (PARMS): Do not use macros from bp-asm.h.
64577         (LEN): Likewise.
64578         (__mmap64): Do not use BP_SYM.
64579         (mmap64): Do not use BP_SYM in weak_alias.
64580         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64581         <bp-sym.h> and <bp-asm.h>.
64582         (PARMS): Do not use macros from bp-asm.h.
64583         (__posix_fadvise64_l64): Do not use BP_SYM.
64584         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64585         (PARMS): Do not use macros from bp-asm.h.
64586         (NSOPS): Likewise.
64587         (semtimedop): Do not use BP_SYM.
64588         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64589         and <bp-asm.h>.
64591 2013-02-21  Allan McRae  <allan@archlinux.org>
64593         * manual/message.texi (Charset conversion in gettext):
64594         Move @end statement to beginning of line.
64596 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64599         static.
64600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64601         Likewise.
64603         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64604         (denorm): Likewise.
64605         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64608 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64610         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64611         tail-call to the resolved function if pltexit isn't needed.
64613 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64616         or Y being zero as being unlikely.
64617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64618         Likewise.
64620 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64622         * manual/nss.texi (System Databases and Name Service Switch):
64623         Remove frobnicate @pxref.
64625 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64627         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64628         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64630 2013-02-20  Petr Machata  <pmachata@redhat.com>
64632         * elf/elf.h (R_ARM_TARGET1): New macro.
64633         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64634         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64635         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64636         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64637         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64638         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64639         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64640         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64641         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64642         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64643         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64644         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64645         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64646         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64647         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64648         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64649         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64650         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64651         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64652         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64653         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64654         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64655         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64656         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64657         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64658         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64659         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64660         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64661         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64662         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64663         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64664         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64665         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64666         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64667         (R_ARM_THM_GOT_BREL12): Likewise.
64668         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64669         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64670         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64671         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64672         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64673         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64674         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64675         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64676         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64678 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64680         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64681         __attribute_used__ to __attribute__ ((unused)).
64683 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64685         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64686         powerpc mpa.c.
64687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64688         comment formatting.
64689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64691 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64693         [BZ #13550]
64694         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64695         Remove macro.
64696         (ENTER): Remove both macro definitions.
64697         (LEAVE): Likewise.
64698         (CHECK_BOUNDS_LOW): Likewise.
64699         (CHECK_BOUNDS_HIGH): Likewise.
64700         (CHECK_BOUNDS_BOTH): Likewise.
64701         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64702         (RETURN_BOUNDED_POINTER): Likewise.
64703         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64704         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64705         (POP_ERRNO_LOCATION_RETURN): Likewise.
64706         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64707         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64708         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64709         macros.
64710         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64711         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64712         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64713         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64714         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64715         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64716         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64717         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64718         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64719         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64720         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64721         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64722         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64723         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64724         removed macros.
64725         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64726         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64727         macros.
64728         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64729         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64730         * sysdeps/i386/i586/memset.S (memset): Likewise.
64731         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64732         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64733         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64734         macros.
64735         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64736         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64737         Change uses of L(2) to L(out).
64738         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64739         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64740         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64741         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64742         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64743         removed macros.
64744         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64745         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64746         macros.
64747         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64748         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64749         (RETURN): Do not use macro LEAVE.
64750         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64751         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64752         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64753         * sysdeps/i386/i686/memset.S (memset): Likewise.
64754         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64755         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64756         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64757         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64758         Likewise.
64759         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64760         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64761         L(1_2) and L(1_3) into L(1).
64762         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64763         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64764         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64765         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64766         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64767         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64768         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64769         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64770         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64771         macros.
64772         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64773         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64774         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64775         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64776         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64777         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64778         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64779         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64780         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64781         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64782         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64783         * sysdeps/i386/strspn.S (strspn): Likewise.
64784         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64785         conditional code.
64786         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64787         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64788         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64789         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64790         L(1_3) into L(1_1).
64791         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64792         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64793         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64794         macros.
64795         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64797 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64799         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64800         macro.
64802 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64804         * math/atest-exp.c (exp_mpn): Remove ROUND.
64805         * math/atest-exp2.c (exp_mpn): Likewise.
64806         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64808         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64809         * stdlib/tst-tls-atexit-lib.c: Likewise.
64810         * stdlib/tst-tls-atexit.c: Likewise.
64812 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64814         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64815         and __attribute_alloc_size__.
64817 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64819         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64820         __attribute_alloc_size__.
64821         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64822         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64824 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64826         * include/programs/xmalloc.h: New file.
64827         * catgets/gencat.c: Include it.
64828         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64829         * elf/pldd.c: Likewise.
64830         * iconv/iconv_charmap.c: Likewise.
64831         * iconv/iconvconfig.c: Likewise.
64832         * iconv/strtab.c: Likewise.
64833         * locale/programs/locale.c: Likewise.
64834         * locale/programs/localedef.h: Likewise.
64835         * locale/programs/simple-hash.c: Likewise.
64836         * nscd/nscd.h: Likewise.
64837         * nss/makedb.c: Likewise.
64838         * sysdeps/generic/ldconfig.h: Likewise.
64840 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64842         * Versions.def: Add GLIBC_2.18.
64843         * include/link.h (struct link_map): New member l_tls_dtor_count.
64844         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64845         (__call_tls_dtors): Likewise.
64846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64847         __cxa_thread_atexit_impl.
64848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64849         Likewise.
64850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64851         Likewise.
64852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64853         Likewise.
64854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64855         Likewise.
64856         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64858         Likewise.
64859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64860         Likewise.
64861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64863         Likewise.
64864         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64865         (tests): Add test case tst-tls-atexit.
64866         (modules-names): Add shared library for tst-tls-atexit.
64867         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64868         (GLIBC_PRIVATE): Add __call_tls_dtors.
64869         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64870         for libstdc++.
64871         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64872         * stdlib/tst-tls-atexit.c: New test case.
64873         * stdlib/tst-tls-atexit-lib.c: New test case.
64875         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64877         * elf/Versions (ld): Add _dl_find_dso_for_object.
64878         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64879         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64880         (dl_open_worker): Use _dl_find_dso_for_object.
64881         * elf/dl-sym.c (do_sym): Likewise.
64882         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64884 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64886         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64887         Syntactic changes only.
64888         (_dl_runtime_profile): Do a tail-call to the resolved function.
64890 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64892         [BZ #13550]
64893         * sysdeps/x86_64/bp-asm.h: Remove file.
64894         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64895         <bp-sym.h> and <bp-asm.h>.
64896         (__clone): Do not use BP_SYM.
64897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64898         <bp-sym.h> and <bp-asm.h>.
64899         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64900         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64901         "bp-asm.h".
64902         (_setjmp): Do not use BP_SYM.
64903         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64904         "bp-asm.h".
64905         (setjmp): Do not use BP_SYM.
64906         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64907         libc_hidden_def.
64908         (mempcpy): Do not use BP_SYM in weak_alias.
64909         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64910         "bp-asm.h".
64911         (strchr): Do not use BP_SYM.
64912         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64913         "bp-asm.h".
64914         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64915         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64916         (_start): Do not use BP_SYM.
64917         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64918         "bp-asm.h".
64919         (strcat): Do not use BP_SYM.
64920         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64921         "bp-asm.h".
64922         (STRCMP): Do not use BP_SYM.
64923         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64924         "bp-asm.h".
64925         (STRCPY): Do not use BP_SYM.
64926         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64927         "bp-asm.h".
64928         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64929         "bp-asm.h".
64930         (FUNCTION): Do not use BP_SYM.
64931         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64932         weak_alias.
64933         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64935 2013-02-17  Andreas Jaeger  <aj@suse.de>
64937         * time/Versions: Sort entries.
64938         * string/Versions: Likewise.
64939         * resolv/Versions: Likewise.
64940         * posix/Versions: Likewise.
64941         * iconv/Versions: Likewise.
64942         * elf/Versions: Likewise.
64943         * wcsmbs/Versions: Likewise.
64945 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64947         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64948         loop termination condition.
64950         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64951         variable to calculate EZ.
64952         (__sqr): Likewise.
64954         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64955         the lower precision input.
64957 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64959         [BZ #13550]
64960         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64961         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64962         (run-via-rtld-prefix): Do not handle %-bp tests.
64963         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64964         (all-object-suffixes): Remove .ob.
64965         (bppfx): Remove variable.
64966         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64967         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64968         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64969         [$(build-bounded) = yes] (libtype.ob): Likewise.
64970         * Makerules (elide-routines.ob): Remove variable.
64971         (do-tests-clean): Do not handle *-bp.out.
64972         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64973         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64974         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64975         (tests): Do not include $(tests-bp.out).
64976         (xtests): Do not include $(xtests-bp.out).
64977         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64978         [$(build-bounded) = yes] ($(addprefix
64979         $(objpfx),$(binaries-bounded))): Remove rule.
64980         ($(objpfx)%-bp.out): Remove rule.
64981         * config.make.in (build-bounded): Remove variable.
64982         * crypt/Makefile [$(build-bounded) = yes]
64983         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64984         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64985         append to variable.
64986         [$(build-bounded) = yes] (install-lib): Likewise.
64987         [$(build-bounded) = yes] (generated): Likewise.
64988         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64989         Remove rule.
64990         * intl/Makefile [$(build-bounded) = yes]
64991         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64992         * math/Makefile [$(build-bounded) = yes]
64993         ($(tests:%=$(objpfx)%-bp): Likewise.
64994         * misc/Makefile [$(build-bounded) = yes]
64995         ($(objpfx)tst-tsearch-bp): Likewise.
64996         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64997         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64998         Remove dependency.
64999         * string/Makefile (o-objects.ob): Remove variable.
65000         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65001         (CFLAGS-.ob): Remove variable.
65002         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65003         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65004         both definitions of variable.
65005         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65006         (ASFLAGS-.ob): Remove variable.
65008 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65010         [BZ #13550]
65011         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65012         Remove __BOUNDED_POINTERS__ from condition.
65013         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65014         * string/bits/string2.h [!__NO_STRING_INLINES &&
65015         !__BOUNDED_POINTERS__]: Likewise.
65016         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65017         Likewise.
65018         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65019         Remove conditional code.
65020         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65021         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65022         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65023         condition.
65025         [BZ #13550]
65026         * csu/libc-start.c: Do not include <bp-sym.h>.
65027         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65028         * elf/dl-open.c: Do not include <bp-sym.h>.
65029         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65030         * math/fegetenv.c: Do not include <bp-sym.h>.
65031         (fegetenv): Do not use BP_SYM in versioned symbols.
65032         * nptl/sysdeps/pthread/bits/libc-lockP.h
65033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65034         <bp-sym.h>.
65035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65036         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65038         (__pthread_mutex_destroy): Likewise.
65039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65040         (__pthread_mutex_lock): Likewise.
65041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65042         (__pthread_mutex_trylock): Likewise.
65043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65044         (__pthread_mutex_unlock): Likewise.
65045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65046         (__pthread_mutexattr_init): Likewise.
65047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65048         (__pthread_mutexattr_destroy): Likewise.
65049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65050         (__pthread_mutexattr_settype): Likewise.
65051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65052         (__pthread_rwlock_init): Likewise.
65053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65054         (__pthread_rwlock_destroy): Likewise.
65055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65056         (__pthread_rwlock_rdlock): Likewise.
65057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65058         (__pthread_rwlock_tryrdlock): Likewise.
65059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65060         (__pthread_rwlock_wrlock): Likewise.
65061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65062         (__pthread_rwlock_trywrlock): Likewise.
65063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65064         (__pthread_rwlock_unlock): Likewise.
65065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65066         (__pthread_key_create): Likewise.
65067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65068         (__pthread_setspecific): Likewise.
65069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65070         (__pthread_getspecific): Likewise.
65071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65072         Likewise.
65073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65074         (_pthread_cleanup_push_defer): Likewise.
65075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65076         (_pthread_cleanup_pop_restore): Likewise.
65077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65078         (pthread_setcancelstate): Likewise.
65079         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65080         <bp-sym.h>.
65081         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65082         (memchr): Do not use BP_SYM in weak_alias.
65083         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65084         (fegetenv): Do not use BP_SYM in versioned symbols.
65085         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65086         (fesetenv): Do not use BP_SYM in versioned symbols.
65087         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65088         (feupdateenv): Do not use BP_SYM in versioned symbols.
65089         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65090         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65091         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65092         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65093         (open64): Do not use BP_SYM in weak_alias.
65094         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65095         (fegetenv): Do not use BP_SYM in versioned symbols.
65096         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65097         (fesetenv): Do not use BP_SYM in versioned symbols.
65098         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65099         (feupdateenv): Do not use BP_SYM in versioned symbols.
65100         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65101         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65102         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65103         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65104         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65105         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65106         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65107         <bp-sym.h>.
65108         (__libc_start_main): Do not use BP_SYM.
65110 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65113         redundant return line.
65114         (norm): Likewise.
65115         (denorm): Likewise.
65116         (dbl_mp): Likewise.
65117         (sub_magnitudes): Likewise.
65118         (__add): Likewise.
65119         (__sub): Likewise.
65120         (__mul): Likewise.
65121         (__inv): Likewise.
65122         (__dvd): Likewise.
65123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65124         (norm): Likewise.
65125         (denorm): Likewise.
65126         (dbl_mp): Likewise.
65127         (sub_magnitudes): Likewise.
65128         (__add): Likewise.
65129         (__sub): Likewise.
65130         (__mul): Likewise.
65131         (__inv): Likewise.
65132         (__dvd): Likewise.
65134         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65135         instead of __mul.
65136         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65137         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65138         (cc32): Likewise.
65140         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65141         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65142         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65143         of __mul for squares.
65144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65145         function
65146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65147         Likewise.
65148         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65149         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65151 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65153         [BZ #13550]
65154         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65155         code.
65156         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65157         prototype or function definition.  Rename ubp_* variables and
65158         parameters.  Remove argv definitions conditional on
65159         [__BOUNDED_POINTERS__].
65160         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65161         * elf/dl-runtime.c (_dl_fixup): Likewise.
65162         * include/set-hooks.h (RUN_HOOK): Likewise.
65163         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65164         definition.
65165         * string/strcpy.c (strcpy): Do not use __unbounded.
65166         * sysdeps/generic/frame.h (struct layout): Likewise.
65167         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65168         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65169         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65170         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65171         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65172         (__backtrace): Likewise.
65173         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65174         use __ptrvalue.
65175         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65176         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65177         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65178         Likewise.
65179         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65180         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65181         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65182         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65183         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65184         Do not use __unbounded.
65185         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65186         Rename __unboundedrlimits parameter to rlimits in prototype.
65187         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65188         Do not use __unbounded.
65189         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65190         not use __ptrvalue.
65191         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65192         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65193         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65194         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65195         __ptrvalue or __unbounded.
65196         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65197         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65198         use __unbounded.
65199         (__new_msgctl): Do not use __ptrvalue.
65200         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65201         __unbounded.
65202         (__libc_msgrcv): Do not use __ptrvalue.
65203         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65204         startup_info): Do not use __unbounded.
65205         (__libc_start_main): Likewise.  Rename ubp_* variables and
65206         parameters.  Remove argv definitions conditional on
65207         [__BOUNDED_POINTERS__].
65208         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65209         __ptrvalue.
65210         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65211         use __unbounded.
65212         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65213         or __ptrvalue.
65214         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65215         use __unbounded.
65216         (__new_shmctl): Do not use __ptrvalue.
65217         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65218         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65219         Likewise.
65220         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65221         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65222         (__libc_sigaction): Likewise.
65223         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65224         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65225         Likewise.
65226         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65228 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65230         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65232         * string/mempcpy.c: Implement by calling memcpy.
65234 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65236         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65239         evaluation.
65241         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65242         values in the mantissa.
65244         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65245         minimize writes to Z.
65246         (sub_magnitudes): Simplify code a bit.
65248 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65250         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65251         from the message.  The linker prefixes all warnings with that already.
65253 2013-02-12  Andreas Schwab  <schwab@suse.de>
65255         [BZ #15078]
65256         * posix/regexec.c (extend_buffers): Add parameter min_len.
65257         (check_matching): Pass minimum needed length.
65258         (clean_state_log_if_needed): Likewise.
65259         (get_subexp): Likewise.
65260         * posix/Makefile (tests): Add bug-regex34.
65261         (bug-regex34-ENV): Define.
65262         * posix/bug-regex34.c: New file.
65264         [BZ #11561]
65265         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65266         elements compare against the byte sequence of it, not its name.
65267         * posix/Makefile (tests): Add bug-regex35.
65268         (bug-regex35-ENV): Define.
65269         * posix/bug-regex35.c: New file.
65271 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65273         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65274         comment.
65275         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65276         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65277         (CHECK_EOL): Add undef.
65279 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65281         * bits/stdlib-bsearch.h: New file.
65282         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65283         * stdlib/stdlib.h: Likewise.
65285 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65287         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65288         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65289         declaration.
65290         * manual/search.texi (Array Search Function): Add missing const in
65291         lfind prototype.
65292         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65293         declaration to use rlim_t.
65294         (Basic Scheduling Functions): Remove erroneous const from
65295         sched_getparam prototype.  Remove erroneous * from
65296         sched_get_priority_max and sched_get_priority_min prototypes.
65297         (Resource Usage): Fix summary @comment on vtimes to refer to
65298         sys/vtimes.h rather than vtimes.h.
65299         Add missing *s in vtimes prototype.
65300         (Limits on Resources): Fix ulimit prototype to return long int.
65301         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65302         prototypes to use long int rather than double.
65303         (BSD Random): Fix initstate and setstate to use char *, not void *.
65304         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65305         prototype to make second argument 'struct aiocb64 *const[]'.
65306         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65307         (Status of AIO Operations): Remove erroneous const in aio_return and
65308         aio_return64 prototypes.
65309         (Synchronizing I/O): Fix sync prototype to return void.
65310         * manual/startup.texi (Suboptions): Remove an erroneous const in
65311         getsubopt prototype.
65312         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65313         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65314         use size_t rather than int.
65315         (Scanning All Users): Likewise for getpwent_r.
65316         (Setting Groups): Add missing const to setgroups prototype.
65317         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65318         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65319         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65320         'const void *' rather than 'const char *'.
65321         (Host Address Functions): Likewise for inet_ntop.
65322         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65323         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65324         ssize_t for return value.
65325         (Sending Data): Likewise for send, sendto, sendmsg.
65326         (Socket Option Functions): Add a missing const in setsockopt prototype.
65327         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65328         use wchar_t for the argument.
65329         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65330         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65331         take no arguments.
65332         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65333         double/float/long double for second argument.
65334         Fix return types of significand, significandf, significandl.
65335         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65336         argument in fchmod prototype.
65337         (File Owner): Use uid_t and gid_t in fchown prototype.
65338         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65339         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65340         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65341         use 'const struct dirent **' as argument types to CMP function pointer
65342         argument.
65343         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65344         (File Times): Fix summary magic @comment for struct utimbuf and utime
65345         to refer to utime.h, not time.h.
65346         * manual/string.texi (Argz Functions): Add missing const in
65347         argz_extract and argz_next prototypes.
65348         (Finding Tokens in a String): Likewise for basename.
65349         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65350         (Copying and Concatenation): Fix typo in wmemmove prototype.
65351         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65352         (Signal Stack): Remove erroneous const in sigstack prototype.
65353         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65354         prototype.
65355         (Simple Calendar Time): Likewise for stime.
65356         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65357         prototype.
65358         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65359         say sys/sysctl.h instead.
65360         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65361         and vsyslog prototypes.
65363 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65365         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65366         Remove.
65368 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65370         * misc/sys/mman.h: Fix typo in mremap comment.
65372 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65374         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65375         the '\0' terminator.
65377 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65379         [BZ #13550]
65380         * debug/segfault.c: Don't include <bp-checks.h>.
65381         * sysdeps/generic/bp-checks.h: Remove file.
65382         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65383         (__GETDENTS): Don't use CHECK_N.
65384         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65385         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65386         (__getgroups): Don't use CHECK_N.
65387         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65388         (setgroups): Don't use CHECK_N.
65389         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65390         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65391         (__libc_msgrcv): Don't use CHECK_N.
65392         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65393         (__libc_msgsnd): Don't use CHECK_N.
65394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65395         <bp-checks.h>.
65396         (__libc_pread): Don't use CHECK_N.
65397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65398         include <bp-checks.h>.
65399         (__libc_pread64): Don't use CHECK_N.
65400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65401         include <bp-checks.h>.
65402         (__libc_pwrite): Don't use CHECK_N.
65403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65404         include <bp-checks.h>.
65405         (__libc_pwrite64): Don't use CHECK_N.
65406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65407         <bp-checks.h>.
65408         (__libc_pread): Don't use CHECK_N.
65409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65410         include <bp-checks.h>.
65411         (__libc_pread64): Don't use CHECK_N.
65412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65413         include <bp-checks.h>.
65414         (__libc_pwrite): Don't use CHECK_N.
65415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65416         include <bp-checks.h>.
65417         (__libc_pwrite64): Don't use CHECK_N.
65418         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65419         (do_pread): Don't use CHECK_N.
65420         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65421         (do_pread64): Don't use CHECK_N.
65422         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65423         (do_pwrite): Don't use CHECK_N.
65424         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65425         (do_pwrite64): Don't use CHECK_N.
65426         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65427         (__libc_readv): Don't use CHECK_N.
65428         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65429         (semop): Don't use CHECK_N.
65430         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65431         <bp-checks.h>.
65432         (semtimedop): Don't use CHECK_N.
65433         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65434         (__libc_pread): Don't use CHECK_N.
65435         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65436         <bp-checks.h>.
65437         (__libc_pread64): Don't use CHECK_N.
65438         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65439         <bp-checks.h>.
65440         (__libc_pwrite): Don't use CHECK_N.
65441         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65442         <bp-checks.h>.
65443         (__libc_pwrite64): Don't use CHECK_N.
65444         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65445         <bp-checks.h>.
65446         (__libc_msgrcv): Don't use CHECK_N.
65447         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65448         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65449         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65450         (__libc_writev): Don't use CHECK_N.
65452 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65454         * string/strcpy.c: Removed unused variable.
65456         * Makeconfig (+sysdep-includes): Define with := rather than =.
65457         Use an existing include/ subdir of each sysdeps dir before it.
65459 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65461         * nscd/connection.c (register_traced_file): Comment function.
65462         [HAVE_INOTIFY] (union __inev): Define.
65463         [HAVE_INOTIFY] (inotify_check_files): New function.
65464         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65465         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65466         clear_db_cache.
65467         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65469 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65471         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65472         loaded if not already and that a failure is permanent.
65474 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65476         [BZ #15006]
65477         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65478         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65480 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65482         [BZ #13550]
65483         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65484         (CHECK_1_NULL_OK): Likewise.
65485         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65486         (__fxstat): Do not use CHECK_1.
65487         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65488         <bp-checks.h>.
65489         (___fxstat64): Do not use CHECK_1.
65490         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65491         <bp-checks.h>.
65492         (__fxstatat): Do not use CHECK_1.
65493         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65494         <bp-checks.h>.
65495         (__fxstatat64): Do not use CHECK_1.
65496         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65497         <bp-checks.h>.
65498         (__fxstat): Do not use CHECK_1.
65499         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65500         <bp-checks.h>.
65501         (__fxstatat): Do not use CHECK_1.
65502         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65503         <bp-checks.h>.
65504         (__getresgid): Do not use CHECK_1.
65505         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65506         <bp-checks.h>.
65507         (__getresuid): Do not use CHECK_1.
65508         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65509         <bp-checks.h>.
65510         (__lxstat): Do not use CHECK_1.
65511         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65512         <bp-checks.h>.
65513         (__old_msgctl): Do not use CHECK_1.
65514         (__new_msgctl): Likewise.
65515         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65516         <bp-checks.h>.
65517         (__new_setrlimit): Do not use CHECK_1.
65518         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65519         <bp-checks.h>.
65520         (__old_shmctl): Do not use CHECK_1.
65521         (__new_shmctl): Likewise.
65522         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65523         <bp-checks.h>.
65524         (__xstat): Do not use CHECK_1.
65525         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65526         (__lxstat): Do not use CHECK_1.
65527         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65528         <bp-checks.h>.
65529         (___lxstat64): Do not use CHECK_1.
65530         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65531         (__old_msgctl): Do not use CHECK_1.
65532         (__new_msgctl): Likewise.
65533         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65534         <bp-checks.h>.
65535         (__gettimeofday): Do not use CHECK_1.
65536         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65537         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65538         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65539         <bp-checks.h>.
65540         (__gettimeofday): Do not use CHECK_1.
65541         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65542         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65543         (__new_shmctl): Do not use CHECK_1.
65544         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65545         <bp-checks.h>.
65546         (do_sigtimedwait): Do not use CHECK_1.
65547         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65548         <bp-checks.h>.
65549         (do_sigwaitinfo): Do not use CHECK_1.
65550         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65551         <bp-checks.h>.
65552         (msgctl): Do not use CHECK_1.
65553         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65554         <bp-checks.h>.
65555         (shmctl): Do not use CHECK_1.
65556         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65557         (ustat): Do not use CHECK_1.
65558         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65559         <bp-checks.h>.
65560         (__fxstat): Do not use CHECK_1.
65561         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65562         <bp-checks.h>.
65563         (__fxstatat): Do not use CHECK_1.
65564         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65565         <bp-checks.h>.
65566         (__lxstat): Do not use CHECK_1.
65567         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65568         <bp-checks.h>.
65569         (__xstat): Do not use CHECK_1.
65570         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65571         (__xstat): Do not use CHECK_1.
65572         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65573         (___xstat64): Do not use CHECK_1.
65575         [BZ #13550]
65576         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65577         definitions.
65578         (CHECK_BOUNDS_HIGH): Likewise.
65579         * string/strcpy.c: Do not include <bp-checks.h>.
65580         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65582 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65584         * nscd/nscd-client.h (__nscd_drop_map_ref):
65585         Add __attribute__ ((unused)).
65586         * nis/nss-nisplus.h (niserr2nss): Likewise.
65588         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65589         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65591         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65592         Remove inline keyword.
65593         * include/rounding-mode.h (round_away): Likewise.
65594         * libio/wfileops.c (adjust_wide_data): Likewise.
65595         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65596         (__m128i_strloadu_tolower): Likewise.
65597         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65598         (__m128i_strloadu_tolower): Likewise.
65599         * time/mktime.c (ydhms_diff): Likewise.
65600         * locale/elem-hash.h (elem_hash): Likewise.
65601         * locale/setlocale.c (setdata): Likewise.
65602         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65603         (re_string_wchar_at): Likewise.
65604         (bitset_not, bitset_merge, bitset_mask): Likewise.
65605         [!(__GNUC__ > 3)] (inline): Remove macro.
65606         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65607         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65608         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65609         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65610         * string/memcmp.c (memcmp_bytes): Likewise.
65611         * locale/programs/locarchive.c (compute_hashval): Likewise.
65612         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65613         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65614         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65615         * nss/getent.c (print_rpc, print_protocols): Likewise.
65616         (print_passwd, print_group, print_aliases): Likewise.
65617         * nis/nss-nisplus.h (niserr2nss): Likewise.
65618         * nscd/connections.c (restart_p): Likewise.
65619         Change return type to bool.
65621 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65623         * Makeconfig (all-Depend-files): Add existing
65624         $(sorted-subdirs:=/Depend) files.
65625         (all-subdirs): Remove nss.
65626         * sysdeps/unix/inet/Subdirs: Add it here instead.
65627         * hesiod/Depend: New file.
65629         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65630         instead of calling alloca.
65632         * io/lseek.c (__lseek): Rename to __libc_lseek.
65633         Define __lseek as an alias.
65635         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65637 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65639         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65640         else clause and remove check for non-standard endianness.
65642 2013-02-04  David S. Miller  <davem@davemloft.net>
65644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65646 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65648         [BZ #13550]
65649         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65650         (__ubp_memchr): Remove prototype.
65651         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65652         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65653         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65654         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65655         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65656         Remove alias.
65657         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65658         (__ubp_memchr): Likewise.
65659         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65660         (__ubp_memchr): Likewise.
65661         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65662         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65663         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65664         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65665         CHECK_STRING.
65666         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65667         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65668         (__getcwd): Do not use CHECK_STRING.
65669         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65670         <bp-checks.h>.
65671         (__real_chown): Do not use CHECK_STRING.
65672         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65673         <bp-checks.h>.
65674         (fchownat): Do not use CHECK_STRING.
65675         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65676         CHECK_STRING.
65677         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65678         <bp-checks.h>.
65679         (__lchown): Do not use CHECK_STRING.
65680         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65681         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65682         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65683         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65685         include <bp-checks.h>.
65686         (truncate64): Do not use CHECK_STRING.
65687         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65688         <bp-checks.h>.
65689         (__real_chown): Do not use CHECK_STRING.
65690         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65691         <bp-checks.h>.
65692         (__lchown): Do not use CHECK_STRING.
65693         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65694         <bp-checks.h>.
65695         (__chown): Do not use CHECK_STRING.
65696         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65697         <bp-checks.h>.
65698         (truncate64): Do not use CHECK_STRING.
65699         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65700         Likewise.
65701         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65702         (__xmknod): Do not use CHECK_STRING.
65703         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65704         <bp-checks.h>.
65705         (__xmknodat): Do not use CHECK_STRING.
65706         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65707         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65709 2013-02-04  Andreas Schwab  <schwab@suse.de>
65711         [BZ #14142]
65712         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65713         * include/netdb.h: Likewise for h_errno.
65714         * elf/tst-stackguard1.c: Include <tls.h>.
65716 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65718         * elf/link.h (struct link_map): Extend the l_addr comment.
65719         * include/link.h (struct link_map): Likewise.
65721 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65723         [BZ #13550]
65724         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65725         (BOUNDED_1): Remove macro.
65726         * debug/backtrace.c: Don't include <bp-checks.h>.
65727         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65728         (__backtrace): Likewise.
65729         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65730         <bp-checks.h>.
65731         (__backtrace): Don't use BOUNDED_1.
65732         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65733         <bp-checks.h>.
65734         (__backtrace): Don't use BOUNDED_1.
65735         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65736         (__backtrace): Don't use BOUNDED_1.
65737         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65738         (shmat): Don't use BOUNDED_N.
65740 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65742         [BZ #13550]
65743         * sysdeps/generic/bp-start.h: Remove file.
65744         * csu/libc-start.c: Don't include <bp-start.h>.
65745         (LIBC_START_MAIN): Set up __environ directly instead of using
65746         INIT_ARGV_and_ENVIRON.
65747         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65748         <bp-start.h>.
65750         [BZ #13550]
65751         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65752         definitions.
65753         (CHECK_FCNTL): Likewise.
65754         (CHECK_N_PAGES): Likewise.
65756         [BZ #13550]
65757         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65758         definitions.
65759         (CHECK_SIGSET_NULL_OK): Likewise.
65760         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65761         <bp-checks.h>.
65762         (sigpending): Don't use CHECK_SIGSET.
65763         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65764         <bp-checks.h>.
65765         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65766         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65767         <bp-checks.h>.
65768         (do_sigsuspend): Don't use CHECK_SIGSET.
65769         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65770         use CHECK_SIGSET.
65771         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65772         (do_sigwait): Don't use CHECK_SIGSET.
65773         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65774         use CHECK_SIGSET.
65775         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65776         include <bp-checks.h>.
65777         (sigpending): Don't use CHECK_SIGSET.
65778         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65779         include <bp-checks.h>.
65780         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65781         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65782         <bp-checks.h>.
65783         (sigpending): Don't use CHECK_SIGSET.
65784         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65785         <bp-checks.h>.
65786         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65788         [BZ #13550]
65789         * sysdeps/generic/bp-semctl.h: Remove file.
65790         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65791         <bp-checks.h> and <bp-semctl.h>.
65792         (__old_semctl): Don't use CHECK_SEMCTL.
65793         (__new_semctl): Likewise.
65794         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65795         and <bp-semctl.h>.
65796         (__old_semctl): Don't use CHECK_SEMCTL.
65797         (__new_semctl): Likewise.
65798         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65799         <bp-checks.h> and <bp-semctl.h>.
65800         (__old_semctl): Don't use CHECK_SEMCTL.
65801         (__new_semctl): Likewise.
65802         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65803         <bp-checks.h> and <bp-semctl.h>.
65804         (semctl): Don't use CHECK_SEMCTL.
65806         [BZ #13550]
65807         * Makerules (elide-bp-thunks): Remove variable.
65808         (elide-routines.oS): Don't use $(elide-bp-thunks).
65809         (elide-routines.os): Likewise.
65810         (elide-routines.o): Likewise.
65811         (elide-routines.op): Likewise.
65812         (elide-routines.og): Likewise.
65813         (objects): Don't use $(bp-thunks).
65814         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65815         include.
65816         (common-generated): Do not add s-proto-bp.d.
65817         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65818         (int): Likewise.
65819         (typ): Likewise.
65820         Do not generate makefile rules for bounded-pointer thunks.
65821         * sysdeps/generic/bp-thunks.h: Remove file.
65822         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65823         * sysdeps/unix/s-proto-bp.S: Likewise.
65825         [BZ #15062]
65826         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65827         parts of result separately when argument is not close to line from
65828         -i to i and one part of argument is small.
65829         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65830         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65831         * math/libm-test.inc (cacos_test): Add more tests.
65832         (casin_test): Likewise.
65833         (casinh_test): Likewise.
65834         * sysdeps/i386/fpu/libm-test-ulps: Update.
65835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65837 2013-01-31  David S. Miller  <davem@davemloft.net>
65839         * po/de.po: Update from translation team.
65841 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65843         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65845 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65847         * configure.in (_AC_PROG_CC_C89): New definition.
65848         * configure: Regenerate.
65850         * configure.in (AC_PROG_CPP): New definition.
65851         * configure: Regenerate.
65853 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65855         * debug/tst-backtrace.h: New file.
65856         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65857         (ret): Remove variable.
65858         (x): Likewise.
65859         (FAIL): Remove macro.
65860         (NO_INLINE): Likewise.
65861         (fn1): Use match function instead of strstr.
65862         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65863         (ret): Remove variable.
65864         (x): Likewise.
65865         (FAIL): Remove macro.
65866         (NO_INLINE): Likewise.
65867         (fn): Use match function instead of strstr.
65868         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65869         (ret): Remove variable.
65870         (x): Likewise.
65871         (FAIL): Remove macro.
65872         (NO_INLINE): Likewise.
65873         (handle_signal): Use match function instead of strstr.
65874         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65875         (ret): Remove variable.
65876         (x): Likewise.
65877         (FAIL): Remove macro.
65878         (NO_INLINE): Likewise.
65879         (handle_signal): Use match function instead of strstr.
65881 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65883         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65885 2013-01-23  David S. Miller  <davem@davemloft.net>
65887         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65888         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65889         argument of CAS if possible.
65890         * sysdeps/sparc/sparc64/bits/atomic.h
65891         (__arch_compare_and_exchange_val_32_acq): Likewise.
65892         (__arch_compare_and_exchange_val_64_acq): Likewise.
65894 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65896         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65897         * sysdeps/posix/ulimit.c: ... this.
65898         Include <limits.h>.
65899         * sysdeps/unix/bsd/ulimit.c: Remove file.
65901 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65903         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65904         (LDFLAGS-tst-array5): Likewise.
65906 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65908         [BZ #15036]
65909         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65910         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65911         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65912         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65914 2013-01-21  David S. Miller  <davem@davemloft.net>
65916         * sysdeps/sparc/backtrace.c: New file.
65917         * sysdeps/sparc/sparc32/backtrace.h: New file.
65918         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65919         * sysdeps/sparc/sparc64/backtrace.h: New file.
65920         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65921         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65922         -funwind-tables.
65924 2013-01-21  Andreas Schwab  <schwab@suse.de>
65926         [BZ #15020]
65927         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65928         closed its stdout.
65930 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65933         "mpa2.h".
65934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65936 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65937             Mark Mitchell  <mark@codesourcery.com>
65938             Tom de Vries  <tom@codesourcery.com>
65939             Paul Pluzhnikov  <ppluzhnikov@google.com>
65941         * debug/tst-backtrace2.c: New file.
65942         * debug/tst-backtrace3.c: Likewise.
65943         * debug/tst-backtrace4.c: Likewise.
65944         * debug/tst-backtrace5.c: Likewise.
65945         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65946         (CFLAGS-tst-backtrace3.c): Likewise.
65947         (CFLAGS-tst-backtrace4.c): Likewise.
65948         (CFLAGS-tst-backtrace5.c): Likewise.
65949         (LDFLAGS-tst-backtrace2): Likewise.
65950         (LDFLAGS-tst-backtrace3): Likewise.
65951         (LDFLAGS-tst-backtrace4): Likewise.
65952         (LDFLAGS-tst-backtrace5): Likewise.
65953         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65954         tst-backtrace4 and tst-backtrace5.
65956 2013-01-18  Anton Blanchard  <anton@samba.org>
65957             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65959         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65960         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65961         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65962         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65964         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65965         "+r" and remove output regs list as redundant.  Add explicit inline
65966         asm to specify register of return val to work around compiler codegen
65967         bug.  Remove (int) cast on return value.  Add return type parameter to
65968         use in macro so that this macro does not truncate return value for
65969         64-bit values.
65970         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65971         pass to INTERNAL_VSYSCALL_NCS.
65972         (INLINE_VSYSCALL): Add 'long int' as return type to
65973         INTERNAL_VSYSCALL_NCS macro invocation.
65974         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65975         INTERNAL_VSYSCALL_NCS macro invocation.
65976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65978 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65980         [BZ #14496]
65981         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65982         Fix application of SIMD FP exception mask.
65984         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65985         mp_no from a power of two.
65986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65987         __mpexp_twomm1.  Use __pow_mp.
65989         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65990         multiplication.
65992 2013-01-17  David S. Miller  <davem@davemloft.net>
65994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65996 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65998         [BZ #15023]
65999         * include/complex.h: Condition contents on [!_COMPLEX_H].
66000         (__kernel_casinhf): New prototype.
66001         (__kernel_casinh): Likewise.
66002         (__kernel_casinhl): Likewise.
66003         * math/Makefile (libm_calls): Add k_casinh.
66004         * math/k_casinh.c: New file.
66005         * math/k_casinhf.c: Likewise.
66006         * math/k_casinhl.c: Likewise.
66007         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66008         finite nonzero arguments.
66009         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66010         finite nonzero arguments.
66011         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66012         finite nonzero arguments.
66013         * math/s_casinh.c: Do not include <float.h>.
66014         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66015         * math/s_casinhf.c: Do not include <float.h>.
66016         (__casinhf): Move code for finite nonzero arguments to
66017         k_casinhf.c.
66018         * math/s_casinhl.c: Do not include <float.h>.
66019         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66020         redefine.
66021         (__casinhl): Move code for finite nonzero arguments to
66022         k_casinhl.c.
66023         * math/libm-test.inc (cacos_test): Add more tests.
66024         * sysdeps/i386/fpu/libm-test-ulps: Update.
66025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66027 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66029         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66030         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66031         [!HAVE_MREMAP]: Remove [defined linux] case.
66032         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66034 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66036         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66038 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66040         * elf/elf.h (R_386_SIZE32): New relocation.
66041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66042         R_386_SIZE32.
66043         (elf_machine_rela): Likewise.
66044         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66045         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66047 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66049         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66050         (FP_FAST_FMA): Do not define.
66051         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66052         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66053         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66054         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66055         !_SOFT_FLOAT]: Likewise.
66056         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66057         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66058         value.
66059         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66060         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66061         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66062         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66063         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66064         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66065         file.
66067 2013-01-16  Andreas Schwab  <schwab@suse.de>
66069         [BZ #14327]
66070         * include/stdlib.h (__mktemp): Add declaration.
66071         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66072         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66074 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66076         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66077         definitions.
66078         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66079         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66080         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66081         definitions here.
66082         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66083         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66084         definitions.
66085         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66086         and ONE.
66087         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66088         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66089         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66090         definitions.
66091         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66092         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66093         definitions.
66094         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66096         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66098 2013-01-15  David S. Miller  <davem@davemloft.net>
66100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66101         trunc{,f} to libm-sysdep_routes.
66102         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66104         file.
66105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66107         file.
66108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66109         file.
66110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66112         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66113         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66114         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66115         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66116         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66117         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66120         nearbyint{,f} to libm-sysdep_routes.
66121         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66123         New file.
66124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66125         file.
66126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66127         New file.
66128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66129         file.
66130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66132         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66133         file.
66134         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66135         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66136         file.
66137         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66138         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66139         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66141         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66142         libc_feholdexcept and libc_fesetenv.
66144 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66146         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66148 2013-01-14  David S. Miller  <davem@davemloft.net>
66150         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66151         (SPARC_ASM_VIS2_IFUNC): Likewise.
66152         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66154         use of 'siam' instruction.
66155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66156         Likewise.
66157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66158         Likewise.
66159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66160         Likewise.
66161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66162         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66166         file.
66167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66168         file.
66169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66170         file.
66171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66172         file.
66173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66178         new VIS2 routines.
66179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66182         Likewise.
66183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66188         routines to libm-sysdep_routines.
66189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66192         fdim/fdimf to libm-sysdep_routines.
66193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66194         file.
66195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66197         file.
66198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66201         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66202         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66203         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66204         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66206 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66208         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66209         to optimize copies.
66211         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66212         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66216         local variable MPTWO.
66217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66218         Likewise.
66220 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66222         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66223         GLOB_NOESCAPE.
66225 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66227         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66229 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66231         * manual/pattern.texi (glob_t): Document gl_flags.
66232         (glob64_t): Likewise.
66234 2013-01-11  David S. Miller  <davem@davemloft.net>
66236         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66237         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66238         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66239         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66240         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66241         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66242         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66243         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66244         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66245         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66246         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66247         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66248         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66250         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66251         sparc V9 rather than using V8 code.
66252         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66253         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66255         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66256         Move to...
66257         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66258         Here.
66260 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66262         [BZ #14941]
66263         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66264         not in the main loop.
66265         * configure: Regenerated.
66267 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66269         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66270         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66271         to just #else.
66272         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66273         [!__GLIBC_HAVE_LONG_LONG] case.
66274         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66275         condition to just #else.
66276         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66277         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66278         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66279         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66280         unconditional.
66281         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66282         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66283         #elif condition to just #else.
66284         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66285         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66286         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66287         #elif condition to just #else.
66289 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66291         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66292         (EF_MIPS_ARCH_64): Fix value.
66293         (EF_MIPS_ARCH_32R2): New.
66294         (EF_MIPS_ARCH_64R2): New.
66296 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66298         * Makeconfig (+link-pie-before-libc): New.
66299         (+link-pie-after-libc): Likewise.
66300         (+link-pie-tests): Likewise.
66301         (+link-pie): Rewritten.
66302         (link-before-libc): Remove $(config-LDFLAGS).
66303         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66304         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66305         (config-LDFLAGS): Renamed to ...
66306         (rtld-LDFLAGS): This.
66307         (rtld-tests-LDFLAGS): New macro.
66308         (link-libc-rpath-link): Likewise.
66309         (link-libc-tests-rpath-link): Likewise.
66310         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66311         (link-libc): Prepand $(link-libc-rpath-link).
66312         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66313         (test-program-prefix): New macro.
66314         (test-via-rtld-prefix): Likewise.
66315         (test-program-cmd): Likewise.
66316         (host-test-program-cmd): Likewise.
66317         * Makefile ($(common-objpfx)testrun.sh): Replace
66318         $(run-program-prefix) with $(test-program-prefix).
66319         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66320         $(rtld-LDFLAGS).
66321         ($(common-objpfx)shlib.lds): Likewise.
66322         (build-module-helper): Likewise.
66323         ($(common-objpfx)format.lds): Likewise.
66324         * Rules (binaries-pie-tests): New.
66325         (binaries-pie-notests): Likewise.
66326         (binaries-pie): Rewritten.
66327         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66328         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66329         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66330         (make-test-out): Replace $(host-built-program-cmd) with
66331         $(host-test-program-cmd).
66332         * config.make.in (build-hardcoded-path-in-tests): New variable.
66333         * configure.in (--enable-hardcoded-path-in-tests): New configure
66334         option.
66335         (hardcoded_path_in_tests): New AC_SUBST.
66336         * configure: Regenerated.
66337         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66338         $(built-program-cmd) with $(test-program-cmd).
66339         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66340         (test_program_cmd): This.
66341         * elf/Makefile ($(objpfx)order.out): Run test with
66342         $(test-program-prefix).
66343         ($(objpfx)order2.out): Likewise.
66344         ($(objpfx)tst-initorder.out): Likewise.
66345         ($(objpfx)tst-initorder2.out): Likewise.
66346         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66347         $(test-program-cmd).
66348         ($(objpfx)tst-array1-static.out): Likewise.
66349         ($(objpfx)tst-array2.out): Likewise.
66350         ($(objpfx)tst-array3.out): Likewise.
66351         ($(objpfx)tst-array4.out): Likewise.
66352         ($(objpfx)tst-array5.out): Likewise.
66353         ($(objpfx)tst-array5-static.out): Likewise.
66354         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66355         $(test-program-cmd).
66356         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66357         $(run-program-prefix) with $(test-program-prefix).
66358         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66359         (test_program_prefix): This.
66360         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66361         $(run-program-prefix) with $(test-program-prefix).
66362         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66363         (test_program_prefix): This.
66364         * iconvdata/tst-tables.sh: Likewise.
66365         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66366         $(run-program-prefix) with $(test-program-prefix).
66367         ($(objpfx)tst-translit.out): Likewise.
66368         ($(objpfx)tst-gettext2.out): Likewise.
66369         ($(objpfx)tst-gettext4.out): Likewise.
66370         ($(objpfx)tst-gettext6.out): Likewise.
66371         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66372         (test_program_prefix): This.
66373         * intl/tst-gettext2.sh: Likewise.
66374         * intl/tst-gettext4.sh  Likewise.
66375         * intl/tst-gettext6.sh: Likewise.
66376         * intl/tst-translit.sh: Likewise.
66377         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66378         with $(test-program-cmd).
66379         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66380         $(run-program-prefix) with $(test-program-prefix).
66381         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66382         (test_program_prefix): This.
66383         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66384         $(run-program-prefix) with $(test-program-prefix).
66385         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66386         (test_program_prefix): This.
66387         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66388         * posix/Makefile ($(objpfx)globtest.out): Replace
66389         $(run-via-rtld-prefix) and $(test-wrapper) with
66390         $(test-program-prefix) and $(test-via-rtld-prefix).
66391         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66392         $(test-program-prefix).
66393         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66394         $(host-test-program-cmd).
66395         (tst-spawn-ARGS): Likewise.
66396         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66397         $(test-program-prefix).
66398         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66399         (test_via_rtld_prefix): This.
66400         (test_wrapper): Renamed to ...
66401         (test_program_prefix): This.
66402         (run_program_prefix): Replaced by test_program_prefix.
66403         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66404         (test_program_prefix): This.
66405         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66406         with $(host-test-program-cmd).
66407         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66408         $(run-program-prefix) with $(test-program-prefix).
66409         ($(objpfx)tst-printf.out): Likewise.
66410         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66411         $(test-program-cmd).
66412         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66413         (test_program_prefix): This.
66414         * stdio-common/tst-unbputc.sh: Likewise.
66415         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66416         $(run-program-prefix) with $(test-program-prefix).
66417         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66418         (test_program_prefix): This.
66419         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66420         $(built-program-cmd) with $(test-program-cmd).
66422 2013-01-11  Andreas Jaeger  <aj@suse.de>
66424         [BZ #15003]
66425         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66426         value. Sync with Linux 3.7.
66428 2013-01-10  David S. Miller  <davem@davemloft.net>
66430         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66431         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66432         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66434 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66436         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66437         never set.
66438         * configure: Regenerated.
66440 2013-01-10  David S. Miller  <davem@davemloft.net>
66442         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66443         sparc V9 rather than using V8 code.
66444         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66445         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66447 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66449         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66450         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66451         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66452         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66453         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66454         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66455         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66456         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66457         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66458         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66459         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66460         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66461         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66462         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66463         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66464         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66465         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66466         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66467         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66468         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66469         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66470         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66471         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66472         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66473         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66474         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66475         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66477 2013-01-10  David S. Miller  <davem@davemloft.net>
66479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66481 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66483         * posix/Makefile (tests-static): New variable.
66484         (tests): Add $(tests-static).
66485         (tst-exec-static-ARGS): New variable.
66486         (tst-spawn-static-ARGS): Likewise.
66487         * posix/tst-exec-static.c: New file.
66488         * posix/tst-spawn-static.c: Likewise.
66489         * posix/tst-exec.c: Support run directly.
66490         * posix/tst-spawn.c: Likewise.
66492 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66494         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66495         long.
66496         * math/bits/mathcalls.h (llrint): Likewise.
66497         (llround): Likewise.
66498         * stdlib/stdlib.h (struct drand48_data): Likewise.
66499         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66500         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66501         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66502         Likewise.
66503         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66504         Likewise.
66505         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66506         (elf_greg_t): Likewise.
66507         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66508         (__jmp_buf): Likewise.
66509         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66510         definitions.
66511         (llrint): Likewise, for all definitions.
66512         (llrintl): Likewise.
66514         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66515         Remove [__GNUC__] condition.
66516         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66517         condition to just [__USE_ISOC99].
66518         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66520 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66522         [BZ #14200]
66523         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66524         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66525         defined.
66526         (_POSIX_V6_ILP32_OFF32): Likewise.
66527         (_XBS5_ILP32_OFF32): Likewise.
66528         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66529         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66531 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66533         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66536         doubles __mpexp_twomm1.  Adjust usage.
66537         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66538         Remove.
66540 2013-01-10  Andreas Schwab  <schwab@suse.de>
66542         [BZ #14964]
66543         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66544         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66546 2013-01-09  David S. Miller  <davem@davemloft.net>
66548         [BZ #15003]
66549         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66550         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66551         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66552         (TCP_FASTOPEN): Define.
66553         (tcp_repair_opt): New structure.
66554         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66555         enum values.
66556         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66557         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66558         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66559         (tcp_cookie_transactions): New structure.
66561 2013-01-09  Anton Blanchard  <anton@samba.org>
66563         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66564         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66565         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66566         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66568 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66570         * include/features.h (__USE_ANSI): Remove.
66572 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66574         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66576         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66578 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66580         * sysdeps/s390/fpu/libm-test-ulps: Update.
66582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66584         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66585         (__acr): Likewise.
66586         (__cpy): Likewise.
66587         (norm): Likewise.
66588         (denorm): Likewise.
66589         (__mp_dbl): Likewise.
66590         (__dbl_mp): Likewise.
66591         (add_magnitudes): Likewise.
66592         (sub_magnitudes): Likewise.
66593         (__add): Likewise.
66594         (__sub): Likewise.
66595         (__mul): Likewise.
66596         (__inv): Likewise.
66597         (__dvd): Likewise.
66598         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66599         (__acr): Likewise.
66600         (__cpy): Likewise.
66601         (norm): Likewise.
66602         (denorm): Likewise.
66603         (__mp_dbl): Likewise.
66604         (__dbl_mp): Likewise.
66605         (add_magnitudes): Likewise.
66606         (sub_magnitudes): Likewise.
66607         (__add): Likewise.
66608         (__sub): Likewise.
66609         (__mul): Likewise.
66610         (__inv): Likewise.
66611         (__dvd): Likewise.
66612         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66613         (__acr): Likewise.
66614         (__cpy): Likewise.
66615         (norm): Likewise.
66616         (denorm): Likewise.
66617         (__mp_dbl): Likewise.
66618         (__dbl_mp): Likewise.
66619         (add_magnitudes): Likewise.
66620         (sub_magnitudes): Likewise.
66621         (__add): Likewise.
66622         (__sub): Likewise.
66623         (__mul): Likewise.
66624         (__inv): Likewise.
66625         (__dvd): Likewise.
66627 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66629         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66630         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66631         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66632         2 && __USE_EXTERN_INLINES]: Likewise.
66634 2013-01-08  Andreas Jaeger  <aj@suse.de>
66636         [BZ #14985]
66637         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66638         Remove.
66639         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66640         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66642 2013-01-07  Anton Blanchard  <anton@samba.org>
66644         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66645         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66646         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66647         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66648         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66649         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66650         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66651         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66653         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66654         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66655         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66656         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66657         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66658         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66659         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66661         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66662         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66663         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66664         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66665         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66667         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66668         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66669         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66670         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66671         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66673         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66674         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66676         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66677         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66678         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66679         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66680         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66681         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66682         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66683         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66684         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66686         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66688 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66690         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66691         (__MALLOC_PMT): Likewise.
66692         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66693         [__GNUC__], only on [_LIBC].
66694         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66695         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66696         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66697         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66698         forward declaration.
66699         (realloc_hook_ini): Likewise.
66700         (memalign_hook_ini): Likewise.
66701         (__libc_memalign): Do not use __MALLOC_PMT in variable
66702         declaration.
66703         (__libc_valloc): Likewise.
66704         (__libc_pvalloc): Likewise.
66705         (__libc_calloc): Likewise.
66706         (__posix_memalign): Likewise.
66708         [BZ #14996]
66709         * math/s_casinh.c: Include <float.h>.
66710         (__casinh): Do not do computation with squaring and square root
66711         for large arguments.
66712         * math/s_casinhf.c: Include <float.h>.
66713         (__casinhf): Do not do computation with squaring and square root
66714         for large arguments.
66715         * math/s_casinhl.c: Include <float.h>.
66716         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66717         (__casinhl): Do not do computation with squaring and square root
66718         for large arguments.
66719         * math/libm-test.inc (casin_test): Add more tests.
66720         (casinh_test): Likewise.
66721         * sysdeps/i386/fpu/libm-test-ulps: Update.
66722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66724 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66726         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66727         (__x86_64_raw_data_cache_size): Likewise.
66728         (__x86_64_data_cache_size_half): Likewise.
66729         (__x86_64_raw_data_cache_size_half): Likewise.
66730         (__x86_64_shared_cache_size): Likewise.
66731         (__x86_64_raw_shared_cache_size): Likewise.
66732         (__x86_64_shared_cache_size_half): Likewise.
66733         (__x86_64_raw_shared_cache_size_half): Likewise.
66734         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66735         to ...
66736         (__x86_data_cache_size): This.
66737         (__x86_64_raw_data_cache_size): Renamed to ...
66738         (__x86_raw_data_cache_size): This.
66739         (__x86_64_data_cache_size_half): Renamed to ...
66740         (__x86_data_cache_size_half): This.
66741         (__x86_64_raw_data_cache_size_half): Renamed to ...
66742         (__x86_raw_data_cache_size_half): This.
66743         (__x86_64_shared_cache_size): Renamed to ...
66744         (__x86_shared_cache_size): This.
66745         (__x86_64_raw_shared_cache_size): Renamed to ...
66746         (__x86_raw_shared_cache_size): This.
66747         (__x86_64_shared_cache_size_half): Renamed to ...
66748         (__x86_shared_cache_size_half): This.
66749         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66750         (__x86_raw_shared_cache_size_half): This.
66751         * sysdeps/x86_64/memcpy.S: Updated.
66752         * sysdeps/x86_64/memset.S: Likewise.
66753         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66754         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66755         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66757 2013-01-04  David S. Miller  <davem@davemloft.net>
66759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66761 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66763         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66764         1 to avoid redefinition warning.
66765         (__USE_GNU): Don't define.
66766         (init_signaling_nan): Protoize.
66768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66770 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66772         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66774         (__cpymn): Likewise.
66775         (norm): Remove commented code.
66776         (denorm): Likewise.
66777         (__mp_dbl): Likewise.
66778         (__inv): Likewise.
66779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66780         (__cpymn): Likewise.
66781         (norm): Remove commented code.
66782         (denorm): Likewise.
66783         (__mp_dbl): Likewise.
66784         (__inv): Likewise.
66786         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66787         mp_no value for 1.0 and 2.0.
66788         (norm): Use RADIXI instead of radixi.d.
66789         (denorm): Likewise.
66790         (__mul): Use 0.0 instead of zero.d.
66791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66792         mp_no value for 1.0 and 2.0.
66793         (norm): Use RADIXI instead of radixi.d.
66794         (denorm): Likewise.
66795         (__mul): Use 0.0 instead of zero.d.
66797 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66799         [BZ #14994]
66800         * math/s_casinh.c (__casinh): Reduce finite argument to first
66801         quadrant then set signs of results at the end.
66802         * math/s_casinhf.c (__casinhf): Likewise.
66803         * math/s_casinhl.c (__casinhl): Likewise.
66804         * math/libm-test.inc (casin_test): Add more tests.
66805         (casinh_test): Likewise.
66806         * sysdeps/i386/fpu/libm-test-ulps: Update.
66807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66809 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66811         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66813         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66815         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66816         declarations.
66817         (denorm): Likewise.
66818         (__mp_dbl): Likewise.
66819         (__inv): Likewise.
66821         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66822         and adjust the header comment.
66824         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66825         variable name from declaration.
66827 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66830         Initialize COMMON_CPUID_INDEX_7 element.
66831         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66832         (CPUID_RTM): Likewise.
66833         (HAS_RTM): Likewise.
66834         (COMMON_CPUID_INDEX_7): New enum.
66836 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66838         [BZ #14981]
66839         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66840         size is zero, record memory as freed.
66842 2013-01-03  Andreas Jaeger  <aj@suse.de>
66844         * po/ia.po: Add new Interlingua translation.
66846 2012-01-03  Allan McRae  <allan@archlinux.org>
66848         * locale/programs/localedef.c: Fix description of '--posix' flag.
66850 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66852         * NEWS: Update dates in second copyright notice.
66853         * README: Update copyright dates in example.
66854         * manual/libc.texinfo: Update copyright dates.
66855         * scripts/test-installation.pl: Update copyright date in --version
66856         output.
66858         * hurd/ctty-input.c: Fix copyright notice formatting.
66859         * hurd/ctty-output.c: Likewise.
66860         * hurd/dtable.c: Likewise.
66861         * hurd/hurd-raise.c: Likewise.
66862         * hurd/hurdprio.c: Likewise.
66863         * hurd/msgportdemux.c: Likewise.
66864         * misc/sys/file.h: Likewise.
66865         * misc/sys/ioctl.h: Likewise.
66866         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66867         * sysdeps/mach/hurd/chdir.c: Likewise.
66868         * sysdeps/mach/hurd/fchdir.c: Likewise.
66869         * sysdeps/mach/hurd/rename.c: Likewise.
66870         * sysdeps/mach/hurd/rmdir.c: Likewise.
66871         * sysdeps/mach/hurd/seekdir.c: Likewise.
66872         * sysdeps/mach/hurd/setsid.c: Likewise.
66873         * sysdeps/posix/wait3.c: Likewise.
66875         * All files with FSF copyright notices: Update copyright dates
66876         using scripts/update-copyrights.
66877         * intl/plural.c: Regenerated.
66878         * locale/programs/charmap-kw.h: Likewise.
66879         * locale/programs/locfile-kw.h: Likewise.
66881 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66883         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66884         four values.
66886         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66887         calculation loop and add branch prediction.
66889         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66890         check access beyond bounds of m1np.
66892         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66893         MPTWO.
66894         (__inv): Remove local variable MPTWO to use the global
66895         constant.
66896         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66897         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66898         variable MPTWO.
66899         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66900         MP3HALFS static const.
66902 2013-01-01  David S. Miller  <davem@davemloft.net>
66904         * po/ca.po: Update from translation team.
66906 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66908         * scripts/update-copyrights: New file.
66909         * Makeconfig: Reformat copyright notice.
66910         * ctype/ctype.h: Likewise.
66911         * debug/swprintf_chk.c: Likewise.
66912         * elf/dl-cache.c: Likewise.
66913         * elf/dl-debug.c: Likewise.
66914         * elf/dl-object.c: Likewise.
66915         * grp/initgroups.c: Likewise.
66916         * hurd/Makefile: Likewise.
66917         * hurd/hurd/signal.h: Likewise.
66918         * hurd/hurdfault.c: Likewise.
66919         * hurd/hurdioctl.c: Likewise.
66920         * hurd/hurdlookup.c: Likewise.
66921         * hurd/intr-msg.c: Likewise.
66922         * iconv/gconv_open.c: Likewise.
66923         * libio/swprintf.c: Likewise.
66924         * locale/lc-ctype.c: Likewise.
66925         * locale/nl_langinfo.c: Likewise.
66926         * mach/Machrules: Likewise.
66927         * mach/Makefile: Likewise.
66928         * malloc/obstack.h: Likewise.
66929         * manual/Makefile: Likewise.
66930         * manual/tsort.awk: Likewise.
66931         * misc/bits/stab.def: Likewise.
66932         * nis/nis_print_group_entry.c: Likewise.
66933         * nis/nis_table.c: Likewise.
66934         * nis/nss_compat/compat-pwd.c: Likewise.
66935         * nis/nss_compat/compat-spwd.c: Likewise.
66936         * po/Makefile: Likewise.
66937         * posix/fnmatch.c: Likewise.
66938         * posix/regex.h: Likewise.
66939         * resolv/Makefile: Likewise.
66940         * resolv/nss_dns/dns-network.c: Likewise.
66941         * resolv/res_hconf.c: Likewise.
66942         * scripts/gen-sorted.awk: Likewise.
66943         * soft-fp/soft-fp.h: Likewise.
66944         * stdio-common/printf.h: Likewise.
66945         * stdlib/monetary.h: Likewise.
66946         * stdlib/random.c: Likewise.
66947         * stdlib/random_r.c: Likewise.
66948         * sysdeps/generic/Makefile: Likewise.
66949         * sysdeps/gnu/Makefile: Likewise.
66950         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66951         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66952         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66953         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66954         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66955         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66957         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66958         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66959         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66960         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66961         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66962         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66963         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66964         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66965         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66966         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66967         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66968         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66969         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66970         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66971         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66972         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66973         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66974         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66975         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66976         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66977         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66978         * sysdeps/mach/hurd/errnos.awk: Likewise.
66979         * sysdeps/mach/hurd/fork.c: Likewise.
66980         * sysdeps/mach/hurd/getcwd.c: Likewise.
66981         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66982         * sysdeps/mach/hurd/mmap.c: Likewise.
66983         * sysdeps/mach/hurd/utimes.c: Likewise.
66984         * sysdeps/mach/hurd/xmknod.c: Likewise.
66985         * sysdeps/posix/profil.c: Likewise.
66986         * sysdeps/posix/readdir_r.c: Likewise.
66987         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66988         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66989         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66990         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66992         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66993         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66994         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66996         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66997         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66998         * sysdeps/pthread/lio_listio.c: Likewise.
66999         * sysdeps/sparc/dl-procinfo.h: Likewise.
67000         * sysdeps/unix/i386/sysdep.S: Likewise.
67001         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67002         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67003         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67004         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67006         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67007         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67008         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67009         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67010         * sysdeps/wordsize-32/divdi3.c: Likewise.
67011         * time/sys/time.h: Likewise.
67012         * wcsmbs/Makefile: Likewise.
67014 2013-01-01  David S. Miller  <davem@davemloft.net>
67016         * po/fr.po: Update from translation team.
67018         * catgets/gencat.c: Update copyright year.
67019         * csu/version.c: Likewise.
67020         * debug/catchsegv.sh: Likewise.
67021         * debug/pcprofiledump.c: Likewise.
67022         * debug/xtrace.sh: Likewise.
67023         * elf/ldconfig.c: Likewise.
67024         * elf/ldd.bash.in: Likewise.
67025         * elf/pldd.c: Likewise.
67026         * elf/sotruss.ksh: Likewise.
67027         * elf/sprof.c: Likewise.
67028         * iconv/iconv_prog.c: Likewise.
67029         * iconv/iconvconfig.c: Likewise.
67030         * locale/programs/locale.c: Likewise.
67031         * locale/programs/localedef.c: Likewise.
67032         * login/programs/pt_chown.c: Likewise.
67033         * malloc/memusage.sh: Likewise.
67034         * malloc/memusagestat.c: Likewise.
67035         * malloc/mtrace.pl: Likewise.
67036         * nscd/nscd.c: Likewise.
67037         * nss/getent.c: Likewise.
67038         * nss/makedb.c: Likewise.
67039         * posix/getconf.c: Likewise.
67041 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67043         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67044         numbers.
67046 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67048         * math/bits/mathcalls.h (modf): Use __nonnull.
67050 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67052         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67053         (split): Use macro CN instead of the bare value.
67054         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67055         could be used.
67056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67057         instead of the bare value.
67058         (power1): Likewise.
67060 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67062         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67063         __ATAN_TWOM.
67064         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67066         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67067         their values.
67068         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67069         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67070         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67071         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67073 2012-12-28  Andreas Jaeger  <aj@suse.de>
67075         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67076         values are from Linux 3.7.
67078         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67079         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67081 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67083         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67084         TRUE case.
67086         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67087         (norm): Likewise.
67088         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67089         variables with preprocessor constants.
67090         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67091         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67092         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67094 2012-12-27  Bruno Haible  <bruno@clisp.org>
67096         [BZ #14317]
67097         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67098         only if needed.
67100 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67103         and use variable directly.
67104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67106         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67107         MPONE.
67108         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67110         variable MPONE.
67111         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67113         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67114         include directive.  Remove local variable MPONE.
67115         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67116         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67117         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67119 2012-12-25  David S. Miller  <davem@davemloft.net>
67121         * version.h (RELEASE): Set to "development".
67122         (VERSION): Set to "2.17.90".
67123         * NEWS: Add 2.18 section.
67125 2012-12-21  David S. Miller  <davem@davemloft.net>
67127         * po/hr.po: Update from translation team.
67129 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67131         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67133 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67135         * NEWS:  Mention new memcpy for MIPS.
67137 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67139         * manual/contrib.texi (Contributors): Spelling correction.
67141 2012-12-15  David S. Miller  <davem@davemloft.net>
67143         * po/ru.po: Update from translation team.
67145 2012-12-13  David S. Miller  <davem@davemloft.net>
67147         * NEWS: Mention IFUNC testsuite enhancements.
67149         * po/pl.po: Update from translation team.
67150         * po/bg.po: Likewise.
67152         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67153         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67155 2012-12-11  David S. Miller  <davem@davemloft.net>
67157         * po/sv.po: Update from translation team.
67159         * po/vi.po: Update from translation team.
67161         * po/cs.po: Update from translation team.
67163         * po/de.po: Update from translation team.
67164         * po/eo.po: Likewise.
67165         * po/nl.po: Likewise.
67167 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67169         [BZ #14246]
67170         * manual/argp.texi (Argp Helper Functions): Move node to follow
67171         Argp Parsing State.
67173         [BZ #14872]
67174         * manual/conf.texi (Limits on File System Capacity): Mention if
67175         terminating null is included in the max size.
67177 2012-12-10  Andreas Jaeger  <aj@suse.de>
67179         * po/cs.po: Update from translation team.
67181 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67183         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67184         void pointer and cast to uintptr_t.
67185         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67186         path.
67187         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67188         * sysdeps/s390/s390-64/memset.S: Likewise.
67190 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67192         [BZ #14833]
67193         * menual/message.texi (Message Translation): Fix typos.
67194         (Helper programs for gettext): Likewise.
67196 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67198         [BZ #14898]
67199         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67200         Change to -1.
67202 2012-12-07  David S. Miller  <davem@davemloft.net>
67204         * po/libc.pot: Update.
67206 2012-12-07  Richard Henderson  <rth@redhat.com>
67208         [BZ #10114]
67209         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67210         normal/normal case to before the switch.
67211         (_FP_DIV): Likewise.
67213 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67214             Mike Frysinger  <vapier@gentoo.org>
67216         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67217         check for __NR_fadvise64_64.
67219 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67221         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67222         0, not just to plain "0" as a statement.
67223         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67224         with cw.
67226 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67228         * NEWS: Use sourceware.org in Bugzilla URL.
67230 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67233         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67235         * stdio-common/tst-put-error.c (do_test): Add newline to the
67236         padded test to ensure flush.
67238 2012-12-05  Jeff Law  <law@redhat.com>
67240         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67242 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67244         * README: Don't refer to ports add-on as distributed separately.
67245         Mention AArch64 in list of systems supported in the ports add-on.
67247         * LICENSES: Add more non-FSF copyright and license notices.
67249         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67250         ((unused)).
67252         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67254         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67255         10000 as width of padded output.
67257 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67259         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67261         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67262         variable LX with __attribute__ ((unused)).
67263         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67264         Likewise.
67265         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67266         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67267         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67268         with __attribute__ ((unused)).
67270 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67272         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67274 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67276         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67277         (CFLAGS-nldbl-acos.c): New variable.
67278         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67279         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67280         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67281         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67282         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67283         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67284         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67285         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67286         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67287         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67288         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67289         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67290         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67291         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67292         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67293         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67294         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67295         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67296         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67297         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67298         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67299         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67300         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67301         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67302         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67303         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67304         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67305         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67306         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67307         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67308         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67309         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67310         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67311         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67312         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67313         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67314         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67315         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67316         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67317         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67318         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67319         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67320         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67321         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67322         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67323         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67324         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67325         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67326         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67327         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67328         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67329         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67330         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67331         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67332         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67333         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67334         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67335         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67336         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67337         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67338         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67339         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67340         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67341         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67342         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67343         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67344         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67345         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67346         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67347         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67348         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67349         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67350         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67351         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67352         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67353         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67354         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67355         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67356         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67357         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67358         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67359         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67360         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67361         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67362         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67363         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67364         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67365         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67366         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67367         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67368         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67369         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67370         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67371         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67372         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67373         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67374         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67377         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67379         [BZ #14914]
67380         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67381         whole low double instead of just low 47 bits when splitting values
67382         into two parts.
67384 2012-12-03  Allan McRae  <allan@archlinux.org>
67386         * manual/stdio.texi (Predefined Printf Handlers): Remove
67387         @hsep and @vsep usage.
67389 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67391         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67392         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67394 2012-12-03  Jeff Law  <law@redhat.com>
67396         * time/sys/time.h (settimeofday): Do not mark TV argument
67397         as __nonnull.
67399 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67401         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67402         when currently writing and seek to current position when not.
67403         * libio/Makefile (tests): Remove bug-fclose1.
67404         * libio/bug-fclose1.c: Delete.
67406 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67408         * manual/arith.texi (feenableexcept): Fix typo.
67409         (fedisableexcept): Likewise.
67411 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67413         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67414         second, differently-typed declaration, rather than a cast.
67416 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67418         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67419         * include/rpc/svc.h: ... here.
67421 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67423         [BZ #13013]
67424         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67425         depending n and resplen2 to catch cases where answer
67426         equals answerp2.
67428 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67430         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67431         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67433 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67435         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67437 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67439         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67441 2012-11-28  Jeff Law  <law@redhat.com>
67443         [BZ #13761]
67444         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67445         dataset_temporary.  Track alloca usage into alloca_used.
67446         If dataset is large allocate and release it via malloc/free.
67448 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67450         [BZ #14197]
67451         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67453 2012-11-28  David S. Miller  <davem@davemloft.net>
67455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67457 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67459         [BZ #14803]
67460         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67461         of pi/2 rounded to nearest to 64 bits.
67462         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67463         nearest to 64 bits.
67464         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67465         bits.
67467 2012-11-28  Jeff Law <law@redhat.com>
67468             Martin Osvald <mosvald@redhat.com>
67470         [BZ #14889]
67471         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67472         * sunrpc/svc.c: Include time.h.
67473         (__svc_accept_failed): New function.
67474         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67475         any reason other than EINTR, call __svc_accept_failed.
67476         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67477         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67479 2012-11-28  Andreas Schwab  <schwab@suse.de>
67481         * scripts/abilist.awk: Also handle indirect functions in .opd
67482         section.
67484 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67486         [BZ #13881]
67487         * sysdeps/x86/fpu/powl_helper.c: New file.
67488         * sysdeps/x86/fpu/Makefile: Likewise.
67489         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67490         (p3): New object.
67491         (__ieee754_powl): Use __powl_helper for finite arguments except
67492         integer exponents below 8.
67493         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67494         (p3): New object.
67495         (__ieee754_powl): Use __powl_helper for finite arguments except
67496         integer exponents below 8.
67497         * math/libm-test.inc (pow_test): Add more tests and enable some
67498         previously disabled tests.
67499         * sysdeps/i386/fpu/libm-test-ulps: Update.
67500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67502 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67503             Carlos O'Donell  <carlos_odonell@mentor.com>
67505         * nss/makedb.c (is_prime): Assert that input is odd and greater
67506         than 4.  Note that fact in a comment too.
67507         (next_prime): Add 4 to input.
67509 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67511         [BZ #11741]
67512         * libio/Makefile (tests): Add test case tst-fwrite-error.
67513         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67514         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67515         * libio/tst-fwrite-error.c: New test case.
67517 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67519         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67520         before casting to void *.
67521         * include/libc-internal.h (__pointer_type): New macro.
67522         (__integer_if_pointer_type_sub): Likewise.
67523         (__integer_if_pointer_type): Likewise.
67524         (cast_to_integer): Likewise.
67525         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67526         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67527         before casting to atomic64_t.
67528         (atomic_exchange_acq): Likewise.
67529         (__arch_exchange_and_add_body): Likewise.
67530         (__arch_add_body): Likewise.
67531         (atomic_add_negative): Likewise.
67532         (atomic_add_zero): Likewise.
67534 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67536         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67537         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67538         (add_fdes): Likewise.
67539         (linear_search_fdes): Likewise.
67540         (binary_search_unencoded_fdes): Likewise.
67542 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67544         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67546 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67548         * configure.in: Autodetect C++ header directories.
67549         * configure: Regenerated.
67551 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67553         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67555 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67559 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67561         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67562         LDBL_MANT_DIG == 106]: Disable some tests.
67563         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67564         Likewise.
67565         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67566         Likewise.
67568         [BZ #14871]
67569         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67570         input for small inputs.  Return +/- pi/2 for large inputs.
67571         * math/libm-test.inc (atan_test): Add more tests.
67573         * sysdeps/generic/unwind-dw2-fde-glibc.c
67574         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67575         __attribute__ ((unused)).
67577         [BZ #14645]
67578         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67579         x * y if x and y are nonzero and z is zero.
67581         [BZ #14811]
67582         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67583         nonzero exponents with absolute value below 0x1p-117 to +/-
67584         0x1p-117.
67586         [BZ #14869]
67587         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67588         up arguments below 2**-450, not just those below 2**-500.
67589         * math/libm-test.inc (hypot_test): Add another test.
67591         [BZ #14868]
67592         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67593         Return a+b for ratio over 2**120, not 2**60.
67594         * math/libm-test.inc (hypot_test): Add another test.
67596         * math/libm-test.inc (clog_test): Use
67597         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67598         (clog10_test): Likewise.
67600         [BZ #6778]
67601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67603 2012-11-22  Andreas Schwab  <schwab@suse.de>
67605         * sysdeps/i386/fpu/libm-test-ulps: Update.
67607 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67609         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67610         printf output with newline.
67612 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67614         [BZ #14865]
67615         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67616         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67617         -z nodlopen, -z initfirst and -z execstack support.
67618         * configure: Regenerated.
67620         * elf/elf.h (DF_1_NODIRECT): New macro.
67621         (DF_1_IGNMULDEF): Likewise.
67622         (DF_1_NOKSYMS): Likewise.
67623         (DF_1_NOHDR): Likewise.
67624         (DF_1_EDITED): Likewise.
67625         (DF_1_NORELOC): Likewise.
67626         (DF_1_SYMINTPOSE): Likewise.
67627         (DF_1_GLOBAUDIT): Likewise.
67628         (DF_1_SINGLETON): Likewise.
67629         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67630         DT_1_SUPPORTED_MASK bits.
67631         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67633 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67635         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67637 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67639         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67640         macro.
67642         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67643         (sendmmsg): Move declarations...
67644         * socket/sys/socket.h: ... here.
67645         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67646         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67647         include it from...
67648         * socket/recvmmsg.c: ... this new file.
67649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67650         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67651         definition of __sendmmsg hidden.
67652         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67653         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67654         Move ENOSYS stub into and include it from...
67655         * socket/sendmmsg.c: ... this new file.
67656         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67657         (sysdep_routines): Move recvmmsg and sendmmsg...
67658         * socket/Makefile (routines): ... here.
67659         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67660         (GLIBC_PRIVATE): Add __sendmmsg.
67661         * include/sys/socket.h (__sendmmsg): Add declarations.
67662         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67663         sendmmsg.
67665 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67668         variable I1 with __attribute__ ((unused)).
67669         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67671 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67673         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67674         DUMMY variables with __attribute__ ((unused)).
67676         * bits/byteswap.h: Include <bits/types.h>.
67677         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67679 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67681         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67682         string_t.  Do not manually set errno.
67683         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67684         length with __strnlen.  Make sure to both set errno and return it on
67685         failure.
67687 2012-11-19  David S. Miller  <davem@davemloft.net>
67689         With help from Joseph Myers.
67690         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67691         very large arguments properly.
67692         * math/libm-test.inc (atan_test): New tests.
67693         (atan2_test): New tests.
67694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67697 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67699         [BZ #14856]
67700         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67701         Define to 3.
67703         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67704         [POSIX] (EADDRNOTAVAIL): Likewise.
67705         [POSIX] (EAFNOSUPPORT): Likewise.
67706         [POSIX] (EALREADY): Likewise.
67707         [POSIX] (ECONNABORTED): Likewise.
67708         [POSIX] (ECONNREFUSED): Likewise.
67709         [POSIX] (ECONNRESET): Likewise.
67710         [POSIX] (EDESTADDRREQ): Likewise.
67711         [POSIX] (EDQUOT): Likewise.
67712         [POSIX] (EHOSTUNREACH): Likewise.
67713         [POSIX] (EIDRM): Likewise.
67714         [POSIX] (EISCONN): Likewise.
67715         [POSIX] (ELOOP): Likewise.
67716         [POSIX] (EMULTIHOP): Likewise.
67717         [POSIX] (ENETDOWN): Likewise.
67718         [POSIX] (ENETUNREACH): Likewise.
67719         [POSIX] (ENOBUFS): Likewise.
67720         [POSIX] (ENODATA): Likewise.
67721         [POSIX] (ENOLINK): Likewise.
67722         [POSIX] (ENOMSG): Likewise.
67723         [POSIX] (ENOPROTOOPT): Likewise.
67724         [POSIX] (ENOSR): Likewise.
67725         [POSIX] (ENOSTR): Likewise.
67726         [POSIX] (ENOTCONN): Likewise.
67727         [POSIX] (ENOTSOCK): Likewise.
67728         [POSIX] (EOPNOTSUPP): Likewise.
67729         [POSIX] (EOVERFLOW): Likewise.
67730         [POSIX] (EPROTO): Likewise.
67731         [POSIX] (EPROTONOSUPPORT): Likewise.
67732         [POSIX] (EPROTOTYPE): Likewise.
67733         [POSIX] (ESTALE): Likewise.
67734         [POSIX] (ETIME): Likewise.
67735         [POSIX] (ETXTBSY): Likewise.
67736         [POSIX] (EWOULDBLOCK): Likewise.
67737         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67738         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67739         [POSIX] (SEEK_CUR): Likewise.
67740         [POSIX] (SEEK_END): Likewise.
67741         [POSIX || UNIX98] (mode_t): Do not require.
67742         [POSIX] (off_t): Likewise.
67743         [POSIX] (pid_t): Likewise.
67744         [POSIX] (sys/stat.h): Do not allow header.
67745         [POSIX] (unistd.h): Likewise.
67746         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67747         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67748         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67749         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67750         require.
67751         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67752         sigevent): Specify elements.
67753         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67754         entry.
67755         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67756         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67758         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67759         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67760         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67761         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67762         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67763         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67764         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67765         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67766         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67767         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67768         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67769         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67770         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67771         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67772         Likewise.
67773         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67774         Likewise.
67775         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67776         Likewise.
67777         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67778         Likewise.
67779         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67780         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67781         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67782         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67783         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67784         Specify lower bound on value.
67785         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67786         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67787         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67788         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67789         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67790         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67791         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67792         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67793         value.
67794         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67795         as optional.
67796         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67797         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67798         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67799         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67800         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67801         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67802         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67803         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67804         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67805         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67806         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67807         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67808         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67809         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67810         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67811         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67812         entry.
67813         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67814         optional.
67815         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67816         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67817         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67818         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67819         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67820         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67821         Likewise.
67822         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67823         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67824         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67825         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67826         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67827         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67828         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67829         as optional.
67830         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67831         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67832         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67833         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67834         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67835         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67836         specify as optional.
67837         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67838         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67839         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67840         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67841         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67842         [XPG3] (NL_LANGMAX): Likewise.
67843         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67844         [POSIX || XPG3] (NL_NMAX): Likewise.
67845         [POSIX || XPG3] (NL_SETMAX): Likewise.
67846         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67847         [XPG3] (NZERO): Likewise.
67848         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67849         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67850         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67851         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67852         (REG_ERANGE): Expect.
67853         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67854         optional-constant.
67855         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67856         Use (void) in prototype.
67857         [POSIX] (*_t): Allow.
67858         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67859         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67860         (WRDE_BADVAL): Expect.
67862         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67863         expect.
67864         [XPG3 || XPG4] (O_RSYNC): Likewise.
67865         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67866         Likewise.
67867         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67868         [XPG3 || XPG4] (sigqueue): Likewise.
67869         [XPG3 || XPG4] (sigtimedwait): Likewise.
67870         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67871         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67872         [XPG3 || XPG4] (vsnprintf): Likewise.
67873         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67874         Likewise.
67875         [XPG3 || XPG4] (blksize_t): Likewise.
67876         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67877         Likewise.
67878         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67879         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67880         [XPG3 || XPG4] (struct itimerspec): Likewise.
67881         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67882         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67883         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67884         [XPG3 || XPG4] (clockid_t): Likewise.
67885         [XPG3 || XPG4] (timer_t): Likewise.
67886         [XPG3 || XPG4] (clock_getres): Likewise.
67887         [XPG3 || XPG4] (clock_gettime): Likewise.
67888         [XPG3 || XPG4] (clock_settime): Likewise.
67889         [XPG3 || XPG4] (nanosleep): Likewise.
67890         [XPG3 || XPG4] (timer_create): Likewise.
67891         [XPG3 || XPG4] (timer_delete): Likewise.
67892         [XPG3 || XPG4] (timer_gettime): Likewise.
67893         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67894         [XPG3 || XPG4] (timer_settime): Likewise.
67895         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67896         [XPG3 || XPG4] (getlogin_r): Likewise.
67897         [XPG3 || XPG4] (pread): Likewise.
67898         [XPG3 || XPG4] (pthread_atfork): Likewise.
67899         [XPG3 || XPG4] (pwrite): Likewise.
67901         [BZ #14835]
67902         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67903         <bits/siginfo.h>.
67905 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67907         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67908         finalizing MALLSTREAM.
67910         * sysdeps/mach/hurd/syncfs.c: New file.
67912 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67914         [BZ #14719]
67915         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67916         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67918         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67919         (_nss_dns_gethostbyname4_r): Likewise.
67920         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67921         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67923 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67925         [BZ #13763]
67926         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67928 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67930         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67931         * elf/cache.c (print_entry): Print ",AArch64" for
67932         FLAG_AARCH64_LIB64
67934         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67935         * elf/cache.c (print_entry): Print ",hard-float" for
67936         FLAG_ARM_LIBHF.
67938 2012-11-18  David S. Miller  <davem@davemloft.net>
67940         With help from Joseph Myers.
67941         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67942         cutoff to 2**-13.
67943         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67944         cutoff to 2**-25.
67945         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67946         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67947         small.
67948         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67949         * math/libm-test.inc (y0_test): New tests.
67950         (y1_test): New tests.
67951         * sysdeps/i386/fpu/libm-test-ulps: Update.
67952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67955 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67957         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67958         64-bit targets.
67959         * configure: Regenerated.
67961 2012-11-17  David S. Miller  <davem@davemloft.net>
67963         [BZ #14811]
67964         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67965         nonzero exponents with absolute value below 0x1p-128 to +/-
67966         0x1p-128.
67968 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67970         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67972         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67974         * posix/getconf-speclist.c: New file.
67975         * posix/posix-envs.def: Likewise.
67976         * posix/confstr.c (START_ENV_GROUP): New macro.
67977         (END_ENV_GROUP): Likewise.
67978         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67979         (KNOWN_PRESENT_ENV_STRING): Likewise.
67980         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67981         (UNKNOWN_ENVIRONMENT): Likewise.
67982         (confstr): Include posix-envs.def instead of handling
67983         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67984         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67985         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67986         (END_ENV_GROUP): Likewise.
67987         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67988         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67989         (UNKNOWN_ENVIRONMENT): Likewise.
67990         (__sysconf): Include posix-envs.def instead of handling associated
67991         cases directly here.
67992         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67993         preprocessing getconf-speclist.c rather than running getconf or
67994         generating empty file.
67996 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67998         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68000 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68002         [BZ #14672]
68003         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68005 2012-11-16  David S. Miller  <davem@davemloft.net>
68007         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68008         smaller than LDBL_EPSILON/2.0L, just return xm1.
68010 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68012         * elf/tst-array1.c (init): Set constructor priority to 1000.
68013         (fini): Set destructor priority to 1000.
68014         * elf/tst-array2dep.c: Likewise.
68016 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68018         [BZ #11741]
68019         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68020         (_IO_new_file_xsputn): Also return EOF if none of the input
68021         data was written when overflow failed.
68022         * libio/iopadn.c (_IO_padn): Likewise.
68023         * libio/iowpadn.c (_IO_wpadn): Likewise.
68024         * stdio-common/tst-put-error.c: Add copyright notice.
68025         (do_test): Add case for printing padded string.
68026         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68027         _IO_padn returned error.
68028         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68029         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68030         return EOF.
68032 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68034         * libio/libioP.h: Add comment note that the references to C++
68035         bits are now obsolete.
68037 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68039         * math/libm-test.inc (check_complex): Use asprintf.
68041 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68043         * debug/pcprofiledump.c (print_version): Update copyright year.
68044         * malloc/memusagestat.c (print_version): Likewise.
68046 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68048         [BZ #14831]
68049         * elf/Makefile (tests): Add tst-audit8.
68050         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68051         ($(objpfx)tst-audit8.out): New target.
68052         (tst-audit8-ENV): New variable.
68053         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68054         audit if l_reloc_result is NULL.
68055         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68056         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68057         * elf/tst-audit8.c: New file.
68059 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68061         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68062         * misc/Makefile (CFLAGS-select.c): Define.
68063         * posix/Makefile (CFLAGS-pause.c): Define.
68065 2012-11-13  David S. Miller  <davem@davemloft.net>
68067         * crypt/Makefile: Move test targets after toplevel Rules
68068         inclusion.  Grab any necessary sysdep routines when linking.
68069         * crypt/md5.c (md5_process_block): Remove define, we will always
68070         name it __md5_process_block.
68071         (md5_finish_ctx): Update md5_process_block call.
68072         (md5_stream): Likewise.
68073         (md5_process_bytes): Likewise.
68074         (md5_process_block): Rename to __md5_process_block and move to ...
68075         * crypt/md5-block.c: ... here.
68076         * crypt/sha256.c (sha256_process_block): Move to ...
68077         * crypt/sha256-block.c: ... here.
68078         * crypt/sha512.c (sha512_process_block): Move to ...
68079         * crypt/sha512-block.c: ... here.
68080         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68081         path.
68082         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68083         * sysdeps/sparc/sparc64/multiarch/Makefile
68084         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68085         crypt subdir.
68086         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68087         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68088         multiarch changes.
68089         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68090         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68091         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68092         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68093         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68094         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68095         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68096         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68097         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68098         file.
68099         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68100         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68101         file.
68102         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68104 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68106         * timezone/tzselect.ksh: Update from tzcode git revision
68107         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68108         * timezone/zdump.c: Likewise.
68109         * timezone/zic.c: Likewise.
68110         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68111         in TZVERSION setting, not $(PKGVERSION).
68112         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68113         REPORT_BUGS_TO settings.
68115         [BZ #14838]
68116         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68117         macro.
68119 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68121         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68122         detection to immediately after _FP_ROUND().
68123         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68124         bits are 0.
68126 2012-11-11  David S. Miller  <davem@davemloft.net>
68128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68129         inttypes.h
68130         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68131         __close rather than their public counterparts.
68133 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68135         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68136         file.
68137         [UNIX98] (sem_timedwait): Do not expect.
68138         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68139         [XPG4 || UNIX98] (sockatmark): Do not expect.
68140         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68141         (clock_getcpuclockid): Do not expect.
68142         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68143         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68144         Do not expect.
68145         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68146         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68147         [UNIX98] (vwscanf): Likewise.
68148         [UNIX98] (vswscanf): Likewise.
68150 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68152         * timezone/version.h: Remove file.
68153         * timezone/README: Do not refer to version.h.
68154         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68155         $(objpfx)version.h.
68156         ($(objpfx)zdump.o): Likewise.
68157         ($(objpfx)version.h): New target.
68159         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68160         2012i.
68161         * timezone/README: Don't mention modification to tzselect.ksh.
68162         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68163         work on unmodified tzselect.ksh.  Substitute version numbers in
68164         tzselect.ksh.
68166         * Makefile (format-me): Remove.
68167         (INSTALL): Adjust indentation.  Use commands directly instead of
68168         using $(format-me).
68170         * aclocal.m4 (ACX_PKGVERSION): New macro.
68171         (ACX_BUGURL): Likewise.
68172         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68173         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68174         (REPORT_BUGS_TO): Likewise.
68175         * configure: Regenerated.
68176         * config.h.in (PKGVERSION): New macro.
68177         (REPORT_BUGS_TO): Likewise.
68178         * config.make.in (PKGVERSION): New variable.
68179         (PKGVERSION_TEXI): Likewise.
68180         (REPORT_BUGS_TO): Likewise.
68181         (REPORT_BUGS_TEXI): Likewise.
68182         * Makefile (format-me): Use -I$(common-objpfx)manual.
68183         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68184         ($(common-objpfx)manual/%): New target.
68185         (manual/%): Remove target.
68186         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68187         (print_version): Use PKGVERSION.
68188         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68189         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68190         and REPORT_BUGS_TO.
68191         ($(objpfx)xtrace): Likewise.
68192         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68193         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68194         (print_version): Use PKGVERSION.
68195         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68196         (do_version): Use PKGVERSION.
68197         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68198         REPORT_BUGS_TO.
68199         (common-ldd-rewrite): Likewise.
68200         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68201         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68202         (print_version): Use PKGVERSION.
68203         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68204         * elf/pldd.c (argp_program_bug_address): Remove variable.
68205         (more_help): New function.
68206         (argp): Use more_help.
68207         (print_version): Use PKGVERSION.
68208         * elf/sln.c (main): Use PKGVERSION.
68209         (usage): Use REPORT_BUGS_TO.
68210         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68211         (top level): Use PKGVERSION.
68212         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68213         (print_version): Use PKGVERSION.
68214         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68215         (print_version): Use PKGVERSION.
68216         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68217         (print_version): Use PKGVERSION.
68218         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68219         (print_version): Use PKGVERSION.
68220         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68221         (print_version): Use PKGVERSION.
68222         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68223         (print_version): Use PKGVERSION.
68224         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68225         and BUGURL.
68226         ($(objpfx)memusage): Likewise.
68227         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68228         (do_version): Use PKGVERSION.
68229         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68230         (print_version): Use PKGVERSION.
68231         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68232         ($PKGVERSION): New variable.
68233         ($REPORT_BUGS_TO): Likewise.
68234         (usage): Use $REPORT_BUGS_TO.
68235         (top level): Use $PKGVERSION.
68236         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68237         ($(objpfx)pkgvers.texi): New rule.
68238         ($(objpfx)stamp-pkgvers): Likewise.
68239         * manual/install.texi: Include pkgvers.texi.
68240         (--with-pkgversion): Document new configure option.
68241         (--with-bugurl): Likewise.
68242         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68243         than necessarily for this particular distribution.  Use
68244         REPORT_BUGS_TO for where to report bugs.
68245         * INSTALL: Regenerated.
68246         * manual/libc.texinfo: Include pkgvers.texi.
68247         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68248         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68249         (print_version): Use PKGVERSION.
68250         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68251         (print_version): Use PKGVERSION.
68252         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68253         (print_version): Use PKGVERSION.
68254         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68255         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68256         macro.
68257         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68258         (print_version): Use PKGVERSION.
68259         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68260         (print_version): Use PKGVERSION.
68261         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68262         and PKGVERSION.
68264         * timezone/checktab.awk: Update from tzcode 2012i.
68265         * timezone/ialloc.c: Likewise.
68266         * timezone/private.h: Likewise.
68267         * timezone/scheck.c: Likewise.
68268         * timezone/tzfile.h: Likewise.
68269         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68270         (TZVERSION): Hardcode tzcode version number.
68271         * timezone/zdump.c: Update from tzcode 2012i.
68272         * timezone/zic.c: Likewise.
68273         * timezone/version.h: New file.
68274         * timezone/README: Describe version.h.  Update upstream location.
68276         [BZ #14824]
68277         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68278         (mktemp): Enable declaration.
68279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68280         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68282         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68283         Likewise.
68284         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68285         Likewise.
68286         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68287         Likewise.
68288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68289         Likewise.
68290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68291         Likewise.
68292         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68293         Likewise.
68295         [BZ #14821]
68296         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68297         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68298         for copies of such integer values.
68299         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68300         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68302 2012-11-09  Andreas Jaeger  <aj@suse.de>
68304         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68305         definitions and declarations that are provided by
68306         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68308 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68310         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68311         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68312         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68313         definition.
68315 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68317         * elf/elf.h: Update comment before AArch64 relocations.
68319 2012-11-07  David S. Miller  <davem@davemloft.net>
68321         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68322         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68323         (__start_context): Declare.
68324         (__makecontext_ret): Delete.
68325         (__makecontext): Hook up __start_context instead of
68326         __makecontext_ret.
68327         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68328         (sysdep_routines): Add __start_context when in stdlib.
68330 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68332         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68333         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68334         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68335         hardcoded "nm".
68336         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68337         (READELF): New variable.  Use it instead of hardcoded "readelf".
68339 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68341         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68342         * sysdeps/x86/Makefile: Here.
68343         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68344         * sysdeps/x86/tst-xmmymm.sh: This.
68346 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68348         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68349         expectations.
68350         [UNIX98] (pthread_barrier_t): Do not expect.
68351         [UNIX98] (pthread_barrierattr_t): Likewise.
68352         [UNIX98] (pthread_spinlock_t): Likewise.
68353         [UNIX98] (pthread_barrier_destroy): Likewise.
68354         [UNIX98] (pthread_barrier_init): Likewise.
68355         [UNIX98] (pthread_barrier_wait): Likewise.
68356         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68357         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68358         [UNIX98] (pthread_barrierattr_init): Likewise.
68359         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68360         [UNIX98] (pthread_getcpuclockid): Likewise.
68361         [UNIX98] (pthread_mutex_timedlock): Likewise.
68362         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68363         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68364         [UNIX98] (pthread_sigmask): Likewise.
68365         [UNIX98] (pthread_spin_destroy): Likewise.
68366         [UNIX98] (pthread_spin_init): Likewise.
68367         [UNIX98] (pthread_spin_lock): Likewise.
68368         [UNIX98] (pthread_spin_trylock): Likewise.
68369         [UNIX98] (pthread_spin_unlock): Likewise.
68370         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68371         Do not expect.
68372         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68373         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68374         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68375         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68376         [XPG3 || XPG4] (pthread_key_t): Likewise.
68377         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68378         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68379         [XPG3 || XPG4] (pthread_once_t): Likewise.
68380         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68381         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68382         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68383         [XPG3 || XPG4] (pthread_t): Likewise.
68385         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68386         not expect.
68387         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68389         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68390         Change function return type to int.
68392         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68393         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68394         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68395         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68396         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68397         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68398         [!POSIX] (posix_madvise): Likewise.
68399         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68400         && !UNIX98].
68401         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68402         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68403         (mode_t): Likewise.
68404         (posix_mem_offset): Likewise.
68405         (posix_typed_mem_get_info): Likewise.
68406         (posix_typed_mem_open): Likewise.
68408         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68409         Change condition to [XOPEN2K8].
68411         * conform/conformtest.pl: Preprocess allow-header data with -x c
68412         instead of from stdin.
68413         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68414         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68415         [C99-based standards] (cerfc): Likewise.
68416         [C99-based standards] (cexp2): Likewise.
68417         [C99-based standards] (cexpm1): Likewise.
68418         [C99-based standards] (clog10): Likewise.
68419         [C99-based standards] (clog1p): Likewise.
68420         [C99-based standards] (clog2): Likewise.
68421         [C99-based standards] (clgamma): Likewise.
68422         [C99-based standards] (ctgamma): Likewise.
68423         [C99-based standards] (cerff): Likewise.
68424         [C99-based standards] (cerfcf): Likewise.
68425         [C99-based standards] (cexp2f): Likewise.
68426         [C99-based standards] (cexpm1f): Likewise.
68427         [C99-based standards] (clog10f): Likewise.
68428         [C99-based standards] (clog1pf): Likewise.
68429         [C99-based standards] (clog2f): Likewise.
68430         [C99-based standards] (clgammaf): Likewise.
68431         [C99-based standards] (ctgammaf): Likewise.
68432         [C99-based standards] (cerfl): Likewise.
68433         [C99-based standards] (cerfcl): Likewise.
68434         [C99-based standards] (cexp2l): Likewise.
68435         [C99-based standards] (cexpm1l): Likewise.
68436         [C99-based standards] (clog10l): Likewise.
68437         [C99-based standards] (clog1pl): Likewise.
68438         [C99-based standards] (clog2l): Likewise.
68439         [C99-based standards] (clgammal): Likewise.
68440         [C99-based standards] (ctgammal): Likewise.
68441         * conform/data/inttypes.h-data [C99-based standards]: Include
68442         stdint.h-data.  Remove all expectations for stdint.h contents.
68443         [C99-based standards] (PRI*): Do not allow.
68444         [C99-based standards] (SCN*): Likewise.
68445         [C99-based standards] (*_t): Likewise.
68446         [C99-based-standards] (PRId8): Expect macro.
68447         [C99-based-standards] (PRIi8): Likewise.
68448         [C99-based-standards] (PRIo8): Likewise.
68449         [C99-based-standards] (PRIu8): Likewise.
68450         [C99-based-standards] (PRIx8): Likewise.
68451         [C99-based-standards] (PRIX8): Likewise.
68452         [C99-based-standards] (SCNd8): Likewise.
68453         [C99-based-standards] (SCNi8): Likewise.
68454         [C99-based-standards] (SCNo8): Likewise.
68455         [C99-based-standards] (SCNu8): Likewise.
68456         [C99-based-standards] (SCNx8): Likewise.
68457         [C99-based-standards] (PRIdLEAST8): Likewise.
68458         [C99-based-standards] (PRIiLEAST8): Likewise.
68459         [C99-based-standards] (PRIoLEAST8): Likewise.
68460         [C99-based-standards] (PRIuLEAST8): Likewise.
68461         [C99-based-standards] (PRIxLEAST8): Likewise.
68462         [C99-based-standards] (PRIXLEAST8): Likewise.
68463         [C99-based-standards] (SCNdLEAST8): Likewise.
68464         [C99-based-standards] (SCNiLEAST8): Likewise.
68465         [C99-based-standards] (SCNoLEAST8): Likewise.
68466         [C99-based-standards] (SCNuLEAST8): Likewise.
68467         [C99-based-standards] (SCNxLEAST8): Likewise.
68468         [C99-based-standards] (PRIdFAST8): Likewise.
68469         [C99-based-standards] (PRIiFAST8): Likewise.
68470         [C99-based-standards] (PRIoFAST8): Likewise.
68471         [C99-based-standards] (PRIuFAST8): Likewise.
68472         [C99-based-standards] (PRIxFAST8): Likewise.
68473         [C99-based-standards] (PRIXFAST8): Likewise.
68474         [C99-based-standards] (SCNdFAST8): Likewise.
68475         [C99-based-standards] (SCNiFAST8): Likewise.
68476         [C99-based-standards] (SCNoFAST8): Likewise.
68477         [C99-based-standards] (SCNuFAST8): Likewise.
68478         [C99-based-standards] (SCNxFAST8): Likewise.
68479         [C99-based-standards] (PRId16): Likewise.
68480         [C99-based-standards] (PRIi16): Likewise.
68481         [C99-based-standards] (PRIo16): Likewise.
68482         [C99-based-standards] (PRIu16): Likewise.
68483         [C99-based-standards] (PRIx16): Likewise.
68484         [C99-based-standards] (PRIX16): Likewise.
68485         [C99-based-standards] (SCNd16): Likewise.
68486         [C99-based-standards] (SCNi16): Likewise.
68487         [C99-based-standards] (SCNo16): Likewise.
68488         [C99-based-standards] (SCNu16): Likewise.
68489         [C99-based-standards] (SCNx16): Likewise.
68490         [C99-based-standards] (PRIdLEAST16): Likewise.
68491         [C99-based-standards] (PRIiLEAST16): Likewise.
68492         [C99-based-standards] (PRIoLEAST16): Likewise.
68493         [C99-based-standards] (PRIuLEAST16): Likewise.
68494         [C99-based-standards] (PRIxLEAST16): Likewise.
68495         [C99-based-standards] (PRIXLEAST16): Likewise.
68496         [C99-based-standards] (SCNdLEAST16): Likewise.
68497         [C99-based-standards] (SCNiLEAST16): Likewise.
68498         [C99-based-standards] (SCNoLEAST16): Likewise.
68499         [C99-based-standards] (SCNuLEAST16): Likewise.
68500         [C99-based-standards] (SCNxLEAST16): Likewise.
68501         [C99-based-standards] (PRIdFAST16): Likewise.
68502         [C99-based-standards] (PRIiFAST16): Likewise.
68503         [C99-based-standards] (PRIoFAST16): Likewise.
68504         [C99-based-standards] (PRIuFAST16): Likewise.
68505         [C99-based-standards] (PRIxFAST16): Likewise.
68506         [C99-based-standards] (PRIXFAST16): Likewise.
68507         [C99-based-standards] (SCNdFAST16): Likewise.
68508         [C99-based-standards] (SCNiFAST16): Likewise.
68509         [C99-based-standards] (SCNoFAST16): Likewise.
68510         [C99-based-standards] (SCNuFAST16): Likewise.
68511         [C99-based-standards] (SCNxFAST16): Likewise.
68512         [C99-based-standards] (PRId32): Likewise.
68513         [C99-based-standards] (PRIi32): Likewise.
68514         [C99-based-standards] (PRIo32): Likewise.
68515         [C99-based-standards] (PRIu32): Likewise.
68516         [C99-based-standards] (PRIx32): Likewise.
68517         [C99-based-standards] (PRIX32): Likewise.
68518         [C99-based-standards] (SCNd32): Likewise.
68519         [C99-based-standards] (SCNi32): Likewise.
68520         [C99-based-standards] (SCNo32): Likewise.
68521         [C99-based-standards] (SCNu32): Likewise.
68522         [C99-based-standards] (SCNx32): Likewise.
68523         [C99-based-standards] (PRIdLEAST32): Likewise.
68524         [C99-based-standards] (PRIiLEAST32): Likewise.
68525         [C99-based-standards] (PRIoLEAST32): Likewise.
68526         [C99-based-standards] (PRIuLEAST32): Likewise.
68527         [C99-based-standards] (PRIxLEAST32): Likewise.
68528         [C99-based-standards] (PRIXLEAST32): Likewise.
68529         [C99-based-standards] (SCNdLEAST32): Likewise.
68530         [C99-based-standards] (SCNiLEAST32): Likewise.
68531         [C99-based-standards] (SCNoLEAST32): Likewise.
68532         [C99-based-standards] (SCNuLEAST32): Likewise.
68533         [C99-based-standards] (SCNxLEAST32): Likewise.
68534         [C99-based-standards] (PRIdFAST32): Likewise.
68535         [C99-based-standards] (PRIiFAST32): Likewise.
68536         [C99-based-standards] (PRIoFAST32): Likewise.
68537         [C99-based-standards] (PRIuFAST32): Likewise.
68538         [C99-based-standards] (PRIxFAST32): Likewise.
68539         [C99-based-standards] (PRIXFAST32): Likewise.
68540         [C99-based-standards] (SCNdFAST32): Likewise.
68541         [C99-based-standards] (SCNiFAST32): Likewise.
68542         [C99-based-standards] (SCNoFAST32): Likewise.
68543         [C99-based-standards] (SCNuFAST32): Likewise.
68544         [C99-based-standards] (SCNxFAST32): Likewise.
68545         [C99-based-standards] (PRId64): Likewise.
68546         [C99-based-standards] (PRIi64): Likewise.
68547         [C99-based-standards] (PRIo64): Likewise.
68548         [C99-based-standards] (PRIu64): Likewise.
68549         [C99-based-standards] (PRIx64): Likewise.
68550         [C99-based-standards] (PRIX64): Likewise.
68551         [C99-based-standards] (SCNd64): Likewise.
68552         [C99-based-standards] (SCNi64): Likewise.
68553         [C99-based-standards] (SCNo64): Likewise.
68554         [C99-based-standards] (SCNu64): Likewise.
68555         [C99-based-standards] (SCNx64): Likewise.
68556         [C99-based-standards] (PRIdLEAST64): Likewise.
68557         [C99-based-standards] (PRIiLEAST64): Likewise.
68558         [C99-based-standards] (PRIoLEAST64): Likewise.
68559         [C99-based-standards] (PRIuLEAST64): Likewise.
68560         [C99-based-standards] (PRIxLEAST64): Likewise.
68561         [C99-based-standards] (PRIXLEAST64): Likewise.
68562         [C99-based-standards] (SCNdLEAST64): Likewise.
68563         [C99-based-standards] (SCNiLEAST64): Likewise.
68564         [C99-based-standards] (SCNoLEAST64): Likewise.
68565         [C99-based-standards] (SCNuLEAST64): Likewise.
68566         [C99-based-standards] (SCNxLEAST64): Likewise.
68567         [C99-based-standards] (PRIdFAST64): Likewise.
68568         [C99-based-standards] (PRIiFAST64): Likewise.
68569         [C99-based-standards] (PRIoFAST64): Likewise.
68570         [C99-based-standards] (PRIuFAST64): Likewise.
68571         [C99-based-standards] (PRIxFAST64): Likewise.
68572         [C99-based-standards] (PRIXFAST64): Likewise.
68573         [C99-based-standards] (SCNdFAST64): Likewise.
68574         [C99-based-standards] (SCNiFAST64): Likewise.
68575         [C99-based-standards] (SCNoFAST64): Likewise.
68576         [C99-based-standards] (SCNuFAST64): Likewise.
68577         [C99-based-standards] (SCNxFAST64): Likewise.
68578         [C99-based-standards] (PRIdMAX): Likewise.
68579         [C99-based-standards] (PRIiMAX): Likewise.
68580         [C99-based-standards] (PRIoMAX): Likewise.
68581         [C99-based-standards] (PRIuMAX): Likewise.
68582         [C99-based-standards] (PRIxMAX): Likewise.
68583         [C99-based-standards] (PRIXMAX): Likewise.
68584         [C99-based-standards] (SCNdMAX): Likewise.
68585         [C99-based-standards] (SCNiMAX): Likewise.
68586         [C99-based-standards] (SCNoMAX): Likewise.
68587         [C99-based-standards] (SCNuMAX): Likewise.
68588         [C99-based-standards] (SCNxMAX): Likewise.
68589         [C99-based-standards] (PRIdPTR): Likewise.
68590         [C99-based-standards] (PRIiPTR): Likewise.
68591         [C99-based-standards] (PRIoPTR): Likewise.
68592         [C99-based-standards] (PRIuPTR): Likewise.
68593         [C99-based-standards] (PRIxPTR): Likewise.
68594         [C99-based-standards] (PRIXPTR): Likewise.
68595         [C99-based-standards] (SCNdPTR): Likewise.
68596         [C99-based-standards] (SCNiPTR): Likewise.
68597         [C99-based-standards] (SCNoPTR): Likewise.
68598         [C99-based-standards] (SCNuPTR): Likewise.
68599         [C99-based-standards] (SCNxPTR): Likewise.
68600         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68601         allow.
68602         * conform/data/stdint.h-data: Update comments to clarify
68603         requirements.
68604         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68605         type.
68606         [C99-based standards] (INT8_MAX): Likewise.
68607         [C99-based standards] (INT16_MIN): Likewise.
68608         [C99-based standards] (INT16_MAX): Likewise.
68609         [C99-based standards] (INT32_MIN): Likewise.
68610         [C99-based standards] (INT32_MAX): Likewise.
68611         [C99-based standards] (INT64_MIN): Likewise.
68612         [C99-based standards] (INT64_MAX): Likewise.
68613         [C99-based standards] (UINT8_MAX): Likewise.
68614         [C99-based standards] (UINT16_MAX): Likewise.
68615         [C99-based standards] (UINT32_MAX): Likewise.
68616         [C99-based standards] (UINT64_MAX): Likewise.
68617         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68618         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68619         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68620         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68621         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68622         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68623         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68624         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68625         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68626         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68627         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68628         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68629         [C99-based standards] (INT_FAST8_MIN): Likewise.
68630         [C99-based standards] (INT_FAST8_MAX): Likewise.
68631         [C99-based standards] (INT_FAST16_MIN): Likewise.
68632         [C99-based standards] (INT_FAST16_MAX): Likewise.
68633         [C99-based standards] (INT_FAST32_MIN): Likewise.
68634         [C99-based standards] (INT_FAST32_MAX): Likewise.
68635         [C99-based standards] (INT_FAST64_MIN): Likewise.
68636         [C99-based standards] (INT_FAST64_MAX): Likewise.
68637         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68638         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68639         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68640         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68641         [C99-based standards] (INTPTR_MIN): Likewise.
68642         [C99-based standards] (INTPTR_MAX): Likewise.
68643         [C99-based standards] (UINTPTR_MAX): Likewise.
68644         [C99-based standards] (INTMAX_MIN): Likewise.
68645         [C99-based standards] (INTMAX_MAX): Likewise.
68646         [C99-based standards] (UINTMAX_MAX): Likewise.
68647         [C99-based standards] (PTRDIFF_MIN): Likewise.
68648         [C99-based standards] (PTRDIFF_MAX): Likewise.
68649         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68650         [C99-based standards] (SIZE_MAX): Likewise.
68651         [C99-based standards] (WCHAR_MAX): Likewise.
68652         [C99-based standards] (WINT_MAX): Likewise.
68653         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68654         constraint on value.
68655         [C99-based standards] (WCHAR_MIN): Likewise.
68656         [C99-based standards] (WINT_MIN): Likewise.
68657         [C99-based standards] (*_t): Allow.
68658         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68659         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68660         Include math.h-data and complex.h-data.  Remove all expectations
68661         of math.h and complex.h contents.
68662         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68663         at end of line.
68664         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68665         (struct tm): Expect tag.
68666         [C99-based-standards] (wcstof): Expect function.
68667         [C99-based-standards] (wcstold): Likewise.
68668         [C99-based-standards] (wcstoll): Likewise.
68669         [C99-based-standards] (wcstoull): Likewise.
68670         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68671         macro-int-constant.  Specify type.
68672         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68673         constraint on value.
68674         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68675         Specify type.
68676         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68677         Specify value.
68678         [ISO C standards]: Do not allow headers.
68679         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68680         wcs[abcdefghijklmnopqrstuvwxyz]*.
68681         [ISO C standards] (*_t): Do not allow.
68682         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68683         Expect function.
68684         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68685         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68686         Specify type.
68687         [ISO C standards]: Do not allow headers.
68688         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68689         is[abcdefghijklmnopqrstuvwxyz]*.
68690         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68691         to[abcdefghijklmnopqrstuvwxyz]*.
68692         [ISO C standards] (*_t): Do not allow.
68693         * conform/data/stdalign.h-data: New file.
68694         * conform/data/stdbool.h-data: Likewise.
68695         * conform/data/stdnoreturn.h-data: Likewise.
68697 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68699         [BZ #14815]
68700         * manual/filesys.texi (Directory Entries): Typo fix.
68701         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68703 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68705         * elf/elf.h (EM_AARCH64): New macro.
68706         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68707         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68708         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68709         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68710         (R_AARCH64_TLSDESC): Likewise.
68711         (NT_ARM_TLS): Likewise.
68712         (NT_ARM_HW_BREAK): Likewise.
68713         (NT_ARM_HW_WATCH): Likewise.
68715 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68717         [BZ #14811]
68718         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68719         (__ieee754_powl): Saturate nonzero exponents with absolute value
68720         below 0x1p-79 to +/- 0x1p-79.
68721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68722         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68723         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68724         nonzero exponents with absolute value below 0x1p-32 to +/-
68725         0x1p-32.
68726         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68727         (__ieee754_powl): Saturate nonzero exponents with absolute value
68728         below 0x1p-79 to +/- 0x1p-79.
68729         * math/libm-test.inc (pow_test): Add more tests.
68731 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68733         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68734         _dl_s390_cap_flags with kernel. Increase string length.
68735         (_dl_s390_platforms): Add z196 and zEC12.
68737 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68739         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68740         Change XOPEN21K to XOPEN2K.
68742 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68744         * string/memmove.c: Use memcpy when possible.
68746 2012-11-06  Andreas Jaeger  <aj@suse.de>
68748         * po/eo.po: Update from translation team.
68750 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68752         [BZ #14793]
68753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68754         exponent and small x and y exponents, scale x or y up.  Increase
68755         by 2 the exponent used in scaling up.
68756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68757         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68758         * math/libm-test.inc (fma_test): Add more tests.
68759         (fma_test_towardzero): Likewise.
68760         (fma_test_downward): Likewise.
68761         (fma_test_upward): Likewise.
68763 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68765         [BZ #14805]
68766         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68767         fenv_t *.
68769         [BZ #14801]
68770         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68771         namespace for names of struct fields.
68772         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68773         fenv_t fields.
68774         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68775         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68777 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68779         [BZ #3665]
68780         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68782 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68784         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68785         PTR_DEMANGLE.
68787         [BZ #5246]
68788         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68789         PTR_DEMANGLE.
68791 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68793         [BZ #14797]
68794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68795         definitely overflow as x * y not x * y + z.
68796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68798         * math/libm-test.inc (fma_test): Add more tests.
68799         (fma_test_towardzero): Likewise.
68800         (fma_test_downward): Likewise.
68801         (fma_test_upward): Likewise.
68803 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68805         [BZ #157]
68807         * include/stub-tag.h: Remove file.
68808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68809         '#include' of it.
68810         * manual/maint.texi (Porting): Don't reference it.
68811         * Makerules ($(objpfx)stubs): Likewise.
68812         * dirent/closedir.c: Don't include <stub-tag.h>.
68813         * dirent/dirfd.c: Likewise.
68814         * dirent/fdopendir.c: Likewise.
68815         * dirent/getdents.c: Likewise.
68816         * dirent/getdents64.c: Likewise.
68817         * dirent/opendir.c: Likewise.
68818         * dirent/readdir.c: Likewise.
68819         * dirent/readdir64.c: Likewise.
68820         * dirent/readdir64_r.c: Likewise.
68821         * dirent/readdir_r.c: Likewise.
68822         * dirent/rewinddir.c: Likewise.
68823         * dirent/seekdir.c: Likewise.
68824         * dirent/telldir.c: Likewise.
68825         * gmon/profil.c: Likewise.
68826         * grp/setgroups.c: Likewise.
68827         * inet/if_index.c: Likewise.
68828         * io/access.c: Likewise.
68829         * io/chdir.c: Likewise.
68830         * io/chmod.c: Likewise.
68831         * io/chown.c: Likewise.
68832         * io/close.c: Likewise.
68833         * io/dup.c: Likewise.
68834         * io/dup2.c: Likewise.
68835         * io/dup3.c: Likewise.
68836         * io/euidaccess.c: Likewise.
68837         * io/faccessat.c: Likewise.
68838         * io/fchdir.c: Likewise.
68839         * io/fchmod.c: Likewise.
68840         * io/fchmodat.c: Likewise.
68841         * io/fchown.c: Likewise.
68842         * io/fchownat.c: Likewise.
68843         * io/fcntl.c: Likewise.
68844         * io/flock.c: Likewise.
68845         * io/fstatfs.c: Likewise.
68846         * io/fstatfs64.c: Likewise.
68847         * io/fstatvfs.c: Likewise.
68848         * io/fstatvfs64.c: Likewise.
68849         * io/futimens.c: Likewise.
68850         * io/fxstat.c: Likewise.
68851         * io/fxstat64.c: Likewise.
68852         * io/fxstatat.c: Likewise.
68853         * io/fxstatat64.c: Likewise.
68854         * io/getcwd.c: Likewise.
68855         * io/isatty.c: Likewise.
68856         * io/lchmod.c: Likewise.
68857         * io/lchown.c: Likewise.
68858         * io/link.c: Likewise.
68859         * io/linkat.c: Likewise.
68860         * io/lseek.c: Likewise.
68861         * io/lseek64.c: Likewise.
68862         * io/lxstat64.c: Likewise.
68863         * io/mkdir.c: Likewise.
68864         * io/mkdirat.c: Likewise.
68865         * io/mkfifo.c: Likewise.
68866         * io/mkfifoat.c: Likewise.
68867         * io/open.c: Likewise.
68868         * io/open64.c: Likewise.
68869         * io/openat.c: Likewise.
68870         * io/openat64.c: Likewise.
68871         * io/pipe.c: Likewise.
68872         * io/pipe2.c: Likewise.
68873         * io/poll.c: Likewise.
68874         * io/posix_fadvise.c: Likewise.
68875         * io/posix_fadvise64.c: Likewise.
68876         * io/posix_fallocate.c: Likewise.
68877         * io/posix_fallocate64.c: Likewise.
68878         * io/read.c: Likewise.
68879         * io/readlink.c: Likewise.
68880         * io/readlinkat.c: Likewise.
68881         * io/rmdir.c: Likewise.
68882         * io/sendfile.c: Likewise.
68883         * io/sendfile64.c: Likewise.
68884         * io/statfs.c: Likewise.
68885         * io/statfs64.c: Likewise.
68886         * io/statvfs.c: Likewise.
68887         * io/statvfs64.c: Likewise.
68888         * io/symlink.c: Likewise.
68889         * io/symlinkat.c: Likewise.
68890         * io/ttyname.c: Likewise.
68891         * io/ttyname_r.c: Likewise.
68892         * io/umask.c: Likewise.
68893         * io/unlink.c: Likewise.
68894         * io/unlinkat.c: Likewise.
68895         * io/utime.c: Likewise.
68896         * io/utimensat.c: Likewise.
68897         * io/write.c: Likewise.
68898         * io/xmknod.c: Likewise.
68899         * io/xmknodat.c: Likewise.
68900         * io/xstat.c: Likewise.
68901         * io/xstat64.c: Likewise.
68902         * login/getpt.c: Likewise.
68903         * login/grantpt.c: Likewise.
68904         * login/unlockpt.c: Likewise.
68905         * math/e_acoshl.c: Likewise.
68906         * math/e_acosl.c: Likewise.
68907         * math/e_asinl.c: Likewise.
68908         * math/e_atan2l.c: Likewise.
68909         * math/e_atanhl.c: Likewise.
68910         * math/e_coshl.c: Likewise.
68911         * math/e_expl.c: Likewise.
68912         * math/e_fmodl.c: Likewise.
68913         * math/e_gammal_r.c: Likewise.
68914         * math/e_hypotl.c: Likewise.
68915         * math/e_j0l.c: Likewise.
68916         * math/e_j1l.c: Likewise.
68917         * math/e_jnl.c: Likewise.
68918         * math/e_lgammal_r.c: Likewise.
68919         * math/e_log10l.c: Likewise.
68920         * math/e_log2l.c: Likewise.
68921         * math/e_logl.c: Likewise.
68922         * math/e_powl.c: Likewise.
68923         * math/e_rem_pio2l.c: Likewise.
68924         * math/e_sinhl.c: Likewise.
68925         * math/e_sqrtl.c: Likewise.
68926         * math/fclrexcpt.c: Likewise.
68927         * math/fedisblxcpt.c: Likewise.
68928         * math/feenablxcpt.c: Likewise.
68929         * math/fegetenv.c: Likewise.
68930         * math/fegetexcept.c: Likewise.
68931         * math/fegetround.c: Likewise.
68932         * math/feholdexcpt.c: Likewise.
68933         * math/fesetenv.c: Likewise.
68934         * math/fesetround.c: Likewise.
68935         * math/feupdateenv.c: Likewise.
68936         * math/fgetexcptflg.c: Likewise.
68937         * math/fraiseexcpt.c: Likewise.
68938         * math/fsetexcptflg.c: Likewise.
68939         * math/ftestexcept.c: Likewise.
68940         * math/k_cosl.c: Likewise.
68941         * math/k_rem_pio2l.c: Likewise.
68942         * math/k_sinl.c: Likewise.
68943         * math/k_tanl.c: Likewise.
68944         * math/s_asinhl.c: Likewise.
68945         * math/s_atanl.c: Likewise.
68946         * math/s_cbrtl.c: Likewise.
68947         * math/s_erfl.c: Likewise.
68948         * math/s_expm1l.c: Likewise.
68949         * math/s_log1pl.c: Likewise.
68950         * math/s_tanhl.c: Likewise.
68951         * misc/acct.c: Likewise.
68952         * misc/brk.c: Likewise.
68953         * misc/chflags.c: Likewise.
68954         * misc/chroot.c: Likewise.
68955         * misc/fchflags.c: Likewise.
68956         * misc/fgetxattr.c: Likewise.
68957         * misc/flistxattr.c: Likewise.
68958         * misc/fremovexattr.c: Likewise.
68959         * misc/fsetxattr.c: Likewise.
68960         * misc/fsync.c: Likewise.
68961         * misc/ftruncate.c: Likewise.
68962         * misc/futimes.c: Likewise.
68963         * misc/futimesat.c: Likewise.
68964         * misc/getdomain.c: Likewise.
68965         * misc/getdtsz.c: Likewise.
68966         * misc/gethostid.c: Likewise.
68967         * misc/gethostname.c: Likewise.
68968         * misc/getloadavg.c: Likewise.
68969         * misc/getpagesize.c: Likewise.
68970         * misc/getsysstats.c: Likewise.
68971         * misc/getxattr.c: Likewise.
68972         * misc/gtty.c: Likewise.
68973         * misc/ioctl.c: Likewise.
68974         * misc/lgetxattr.c: Likewise.
68975         * misc/listxattr.c: Likewise.
68976         * misc/llistxattr.c: Likewise.
68977         * misc/lremovexattr.c: Likewise.
68978         * misc/lsetxattr.c: Likewise.
68979         * misc/lutimes.c: Likewise.
68980         * misc/madvise.c: Likewise.
68981         * misc/mincore.c: Likewise.
68982         * misc/mlock.c: Likewise.
68983         * misc/mlockall.c: Likewise.
68984         * misc/mmap.c: Likewise.
68985         * misc/mprotect.c: Likewise.
68986         * misc/msync.c: Likewise.
68987         * misc/munlock.c: Likewise.
68988         * misc/munlockall.c: Likewise.
68989         * misc/munmap.c: Likewise.
68990         * misc/preadv.c: Likewise.
68991         * misc/preadv64.c: Likewise.
68992         * misc/ptrace.c: Likewise.
68993         * misc/pwritev.c: Likewise.
68994         * misc/pwritev64.c: Likewise.
68995         * misc/readv.c: Likewise.
68996         * misc/reboot.c: Likewise.
68997         * misc/remap_file_pages.c: Likewise.
68998         * misc/removexattr.c: Likewise.
68999         * misc/revoke.c: Likewise.
69000         * misc/select.c: Likewise.
69001         * misc/setdomain.c: Likewise.
69002         * misc/setegid.c: Likewise.
69003         * misc/seteuid.c: Likewise.
69004         * misc/sethostid.c: Likewise.
69005         * misc/sethostname.c: Likewise.
69006         * misc/setregid.c: Likewise.
69007         * misc/setreuid.c: Likewise.
69008         * misc/setxattr.c: Likewise.
69009         * misc/sstk.c: Likewise.
69010         * misc/stty.c: Likewise.
69011         * misc/swapoff.c: Likewise.
69012         * misc/swapon.c: Likewise.
69013         * misc/sync.c: Likewise.
69014         * misc/syncfs.c: Likewise.
69015         * misc/syscall.c: Likewise.
69016         * misc/truncate.c: Likewise.
69017         * misc/ualarm.c: Likewise.
69018         * misc/usleep.c: Likewise.
69019         * misc/ustat.c: Likewise.
69020         * misc/utimes.c: Likewise.
69021         * misc/vhangup.c: Likewise.
69022         * misc/writev.c: Likewise.
69023         * posix/_exit.c: Likewise.
69024         * posix/alarm.c: Likewise.
69025         * posix/execve.c: Likewise.
69026         * posix/fexecve.c: Likewise.
69027         * posix/fork.c: Likewise.
69028         * posix/fpathconf.c: Likewise.
69029         * posix/getaddrinfo.c: Likewise.
69030         * posix/getegid.c: Likewise.
69031         * posix/geteuid.c: Likewise.
69032         * posix/getgid.c: Likewise.
69033         * posix/getgroups.c: Likewise.
69034         * posix/getlogin.c: Likewise.
69035         * posix/getlogin_r.c: Likewise.
69036         * posix/getpgid.c: Likewise.
69037         * posix/getpid.c: Likewise.
69038         * posix/getppid.c: Likewise.
69039         * posix/getresgid.c: Likewise.
69040         * posix/getresuid.c: Likewise.
69041         * posix/getsid.c: Likewise.
69042         * posix/getuid.c: Likewise.
69043         * posix/glob64.c: Likewise.
69044         * posix/nanosleep.c: Likewise.
69045         * posix/pathconf.c: Likewise.
69046         * posix/pause.c: Likewise.
69047         * posix/posix_madvise.c: Likewise.
69048         * posix/pread.c: Likewise.
69049         * posix/pread64.c: Likewise.
69050         * posix/pwrite.c: Likewise.
69051         * posix/pwrite64.c: Likewise.
69052         * posix/sched_getaffinity.c: Likewise.
69053         * posix/sched_getp.c: Likewise.
69054         * posix/sched_gets.c: Likewise.
69055         * posix/sched_primax.c: Likewise.
69056         * posix/sched_primin.c: Likewise.
69057         * posix/sched_rr_gi.c: Likewise.
69058         * posix/sched_setaffinity.c: Likewise.
69059         * posix/sched_setp.c: Likewise.
69060         * posix/sched_sets.c: Likewise.
69061         * posix/sched_yield.c: Likewise.
69062         * posix/setgid.c: Likewise.
69063         * posix/setlogin.c: Likewise.
69064         * posix/setpgid.c: Likewise.
69065         * posix/setresgid.c: Likewise.
69066         * posix/setresuid.c: Likewise.
69067         * posix/setsid.c: Likewise.
69068         * posix/setuid.c: Likewise.
69069         * posix/sleep.c: Likewise.
69070         * posix/spawni.c: Likewise.
69071         * posix/sysconf.c: Likewise.
69072         * posix/times.c: Likewise.
69073         * posix/wait.c: Likewise.
69074         * posix/wait3.c: Likewise.
69075         * posix/wait4.c: Likewise.
69076         * posix/waitpid.c: Likewise.
69077         * resolv/gai_sigqueue.c: Likewise.
69078         * resource/getpriority.c: Likewise.
69079         * resource/getrlimit.c: Likewise.
69080         * resource/getrusage.c: Likewise.
69081         * resource/nice.c: Likewise.
69082         * resource/setpriority.c: Likewise.
69083         * resource/setrlimit.c: Likewise.
69084         * resource/ulimit.c: Likewise.
69085         * rt/aio_cancel.c: Likewise.
69086         * rt/aio_fsync.c: Likewise.
69087         * rt/aio_read.c: Likewise.
69088         * rt/aio_sigqueue.c: Likewise.
69089         * rt/aio_suspend.c: Likewise.
69090         * rt/aio_write.c: Likewise.
69091         * rt/clock_getres.c: Likewise.
69092         * rt/clock_gettime.c: Likewise.
69093         * rt/clock_nanosleep.c: Likewise.
69094         * rt/clock_settime.c: Likewise.
69095         * rt/lio_listio.c: Likewise.
69096         * rt/mq_close.c: Likewise.
69097         * rt/mq_getattr.c: Likewise.
69098         * rt/mq_notify.c: Likewise.
69099         * rt/mq_open.c: Likewise.
69100         * rt/mq_receive.c: Likewise.
69101         * rt/mq_send.c: Likewise.
69102         * rt/mq_setattr.c: Likewise.
69103         * rt/mq_timedreceive.c: Likewise.
69104         * rt/mq_timedsend.c: Likewise.
69105         * rt/mq_unlink.c: Likewise.
69106         * rt/shm_open.c: Likewise.
69107         * rt/shm_unlink.c: Likewise.
69108         * rt/timer_create.c: Likewise.
69109         * rt/timer_delete.c: Likewise.
69110         * rt/timer_getoverr.c: Likewise.
69111         * rt/timer_gettime.c: Likewise.
69112         * rt/timer_settime.c: Likewise.
69113         * setjmp/__longjmp.c: Likewise.
69114         * setjmp/setjmp.c: Likewise.
69115         * signal/kill.c: Likewise.
69116         * signal/killpg.c: Likewise.
69117         * signal/raise.c: Likewise.
69118         * signal/sigaction.c: Likewise.
69119         * signal/sigaltstack.c: Likewise.
69120         * signal/sigblock.c: Likewise.
69121         * signal/sigignore.c: Likewise.
69122         * signal/sigintr.c: Likewise.
69123         * signal/signal.c: Likewise.
69124         * signal/sigpause.c: Likewise.
69125         * signal/sigpending.c: Likewise.
69126         * signal/sigqueue.c: Likewise.
69127         * signal/sigreturn.c: Likewise.
69128         * signal/sigset.c: Likewise.
69129         * signal/sigsetmask.c: Likewise.
69130         * signal/sigstack.c: Likewise.
69131         * signal/sigsuspend.c: Likewise.
69132         * signal/sigtimedwait.c: Likewise.
69133         * signal/sigvec.c: Likewise.
69134         * signal/sigwait.c: Likewise.
69135         * signal/sigwaitinfo.c: Likewise.
69136         * signal/sysv_signal.c: Likewise.
69137         * socket/accept.c: Likewise.
69138         * socket/accept4.c: Likewise.
69139         * socket/bind.c: Likewise.
69140         * socket/connect.c: Likewise.
69141         * socket/getpeername.c: Likewise.
69142         * socket/getsockname.c: Likewise.
69143         * socket/getsockopt.c: Likewise.
69144         * socket/isfdtype.c: Likewise.
69145         * socket/listen.c: Likewise.
69146         * socket/recv.c: Likewise.
69147         * socket/recvfrom.c: Likewise.
69148         * socket/recvmsg.c: Likewise.
69149         * socket/send.c: Likewise.
69150         * socket/sendmsg.c: Likewise.
69151         * socket/sendto.c: Likewise.
69152         * socket/setsockopt.c: Likewise.
69153         * socket/shutdown.c: Likewise.
69154         * socket/sockatmark.c: Likewise.
69155         * socket/socket.c: Likewise.
69156         * socket/socketpair.c: Likewise.
69157         * stdio-common/ctermid.c: Likewise.
69158         * stdio-common/cuserid.c: Likewise.
69159         * stdio-common/remove.c: Likewise.
69160         * stdio-common/rename.c: Likewise.
69161         * stdio-common/renameat.c: Likewise.
69162         * stdio-common/tempname.c: Likewise.
69163         * stdlib/getcontext.c: Likewise.
69164         * stdlib/makecontext.c: Likewise.
69165         * stdlib/setcontext.c: Likewise.
69166         * stdlib/swapcontext.c: Likewise.
69167         * stdlib/system.c: Likewise.
69168         * streams/fattach.c: Likewise.
69169         * streams/fdetach.c: Likewise.
69170         * streams/getmsg.c: Likewise.
69171         * streams/getpmsg.c: Likewise.
69172         * streams/putmsg.c: Likewise.
69173         * streams/putpmsg.c: Likewise.
69174         * sysdeps/unix/bsd/getpt.c: Likewise.
69175         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69176         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69177         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69179         Likewise.
69180         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69181         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69182         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69183         * sysvipc/msgctl.c: Likewise.
69184         * sysvipc/msgget.c: Likewise.
69185         * sysvipc/msgrcv.c: Likewise.
69186         * sysvipc/msgsnd.c: Likewise.
69187         * sysvipc/semctl.c: Likewise.
69188         * sysvipc/semget.c: Likewise.
69189         * sysvipc/semop.c: Likewise.
69190         * sysvipc/semtimedop.c: Likewise.
69191         * sysvipc/shmat.c: Likewise.
69192         * sysvipc/shmctl.c: Likewise.
69193         * sysvipc/shmdt.c: Likewise.
69194         * sysvipc/shmget.c: Likewise.
69195         * termios/tcdrain.c: Likewise.
69196         * termios/tcflow.c: Likewise.
69197         * termios/tcflush.c: Likewise.
69198         * termios/tcgetattr.c: Likewise.
69199         * termios/tcgetpgrp.c: Likewise.
69200         * termios/tcsendbrk.c: Likewise.
69201         * termios/tcsetattr.c: Likewise.
69202         * termios/tcsetpgrp.c: Likewise.
69203         * time/adjtime.c: Likewise.
69204         * time/clock.c: Likewise.
69205         * time/getitimer.c: Likewise.
69206         * time/gettimeofday.c: Likewise.
69207         * time/setitimer.c: Likewise.
69208         * time/settimeofday.c: Likewise.
69209         * time/stime.c: Likewise.
69210         * time/time.c: Likewise.
69212 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69214         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69215         /usr/old/bin.
69217         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69218         instead of spaces.
69219         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69221 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69223         [BZ #14796]
69224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69225         FE_TONEAREST before applying Dekker multiplication and Knuth
69226         addition.  Clear inexact exceptions and check for exact zero
69227         results afterwards.
69228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69229         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69230         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69231         * math/libm-test.inc (fma_test): Add more tests.
69232         (fma_test_towardzero): Likewise.
69233         (fma_test_downward): Likewise.
69234         (fma_test_upward): Likewise.
69235         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69236         function.
69237         (libc_fesetround): New macro.
69238         (libc_fesetroundf): Likewise.
69239         (libc_fesetroundl): Likewise.
69240         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69241         function.
69242         (libc_fesetround_387): Likewise.
69243         (libc_fesetroundf): New macro.
69244         (libc_fesetround): Likewise.
69245         (libc_fesetroundl): Likewise.
69246         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69247         function.
69248         (libc_fesetroundf): New macro.
69249         (libc_fesetround): Likewise.
69250         (libc_fesetroundl): Likewise.
69251         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69252         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69253         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69254         libm_hidden_ver.
69255         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69256         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69257         libm_hidden_def.
69258         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69259         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69260         libm_hidden_ver.
69261         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69262         libm_hidden_def.
69264         [BZ #3439]
69265         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69266         integer constant usable in #if and use that to give value to enum
69267         constant.
69268         (FE_DIVBYZERO): Likewise.
69269         (FE_UNDERFLOW): Likewise.
69270         (FE_OVERFLOW): Likewise.
69271         (FE_INVALID): Likewise.
69272         (FE_INVALID_SNAN): Likewise.
69273         (FE_INVALID_ISI): Likewise.
69274         (FE_INVALID_IDI): Likewise.
69275         (FE_INVALID_ZDZ): Likewise.
69276         (FE_INVALID_IMZ): Likewise.
69277         (FE_INVALID_COMPARE): Likewise.
69278         (FE_INVALID_SOFTWARE): Likewise.
69279         (FE_INVALID_SQRT): Likewise.
69280         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69281         (FE_TONEAREST): Likewise.
69282         (FE_TOWARDZERO): Likewise.
69283         (FE_UPWARD): Likewise.
69284         (FE_DOWNWARD): Likewise.
69285         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69286         (FE_DIVBYZERO): Likewise.
69287         (FE_OVERFLOW): Likewise.
69288         (FE_UNDERFLOW): Likewise.
69289         (FE_INEXACT): Likewise.
69290         (FE_TONEAREST): Likewise.
69291         (FE_DOWNWARD): Likewise.
69292         (FE_UPWARD): Likewise.
69293         (FE_TOWARDZERO): Likewise.
69294         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69295         (FE_UNDERFLOW): Likewise.
69296         (FE_OVERFLOW): Likewise.
69297         (FE_DIVBYZERO): Likewise.
69298         (FE_INVALID): Likewise.
69299         (FE_TONEAREST): Likewise.
69300         (FE_TOWARDZERO): Likewise.
69301         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69302         (FE_OVERFLOW): Likewise.
69303         (FE_UNDERFLOW): Likewise.
69304         (FE_DIVBYZERO): Likewise.
69305         (FE_INEXACT): Likewise.
69306         (FE_TONEAREST): Likewise.
69307         (FE_TOWARDZERO): Likewise.
69308         (FE_UPWARD): Likewise.
69309         (FE_DOWNWARD): Likewise.
69310         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69311         (FE_DIVBYZERO): Likewise.
69312         (FE_OVERFLOW): Likewise.
69313         (FE_UNDERFLOW): Likewise.
69314         (FE_INEXACT): Likewise.
69315         (FE_TONEAREST): Likewise.
69316         (FE_DOWNWARD): Likewise.
69317         (FE_UPWARD): Likewise.
69318         (FE_TOWARDZERO): Likewise.
69320 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69322         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69324 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69326         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69327         commands.  Quote $PWD.
69328         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69329         -x" by "export".
69330         (remove_newlines): Remove.
69332 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69334         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69335         * stdlib/stdlib.h (atof): Moved to ...
69336         * include/bits/stdlib-float.h: Here.  New file.
69337         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69338         * stdlib/bits/stdlib-float.h: New file.
69339         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69340         -mno-sse -mno-mmx.
69341         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69342         <xmmintrin.h>.
69344 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69346         * conform/conformtest.pl (@headers): Add fenv.h.
69347         * conform/data/fenv.h-data: New file.
69348         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69349         include of <math/fenv.h>.
69351         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69352         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69353         && !UNIX98].  Enables tests for XOPEN2K8.
69354         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69355         POSIX2008]: Likewise.
69357         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69358         (struct rusage): Do not expect type or its members.
69360         [BZ #3439]
69361         * math/math.h (FP_NAN): Define macro to integer constant usable in
69362         #if and use that to give value to enum constant.
69363         (FP_INFINITE): Likewise.
69364         (FP_ZERO): Likewise.
69365         (FP_SUBNORMAL): Likewise.
69366         (FP_NORMAL): Likewise.
69368 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69370         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69371         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69372         arguments.
69374 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69376         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69377         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69378         autoconf-time if not.
69379         * configure.in: Remove AC_PREREQ.
69381 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69383         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69384         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69385         of the internal implementation.
69387 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69389         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69390         except include of <misc/sys/syslog.h>.
69392 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69395         function returns with a NULL context exit with zero.
69397 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69399         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69401 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69403         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69404         (run_program_cmd): This.
69405         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69406         (tst_langinfo): New variable.  Use it.
69408 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69410         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69411         floating point opcodes.
69413 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69415         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69416         variable.
69418         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69420         * sysdeps/mach/hurd/powerpc: Remove directory.
69421         * sysdeps/mach/powerpc: Likewise.
69423 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69425         * scripts/check-local-headers.sh: Ignore c++ headers.
69427 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69429         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69430         __libc_cleanup_region_start argument.
69432 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69434         [BZ #14784]
69435         [BZ #14785]
69436         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69437         x * y using scaling, not as x * y + z.
69438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69440         * math/libm-test.inc (fma_test): Add more tests.
69441         (fma_test_towardzero): Likewise.
69442         (fma_test_downward): Likewise.
69443         (fma_test_upward): Likewise.
69445 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69447         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69449 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69451         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69452         New variable.
69454 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69456         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69458 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69461         Fix sort order.
69462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69463         Likewise.
69465 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69468         Fix the order of the list for glibc 2.17.
69469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69470         Likewise.
69472 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69476 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69478         [BZ #14610]
69479         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69480         for low part of x being zero before using __atanl (y).
69481         * math/libm-test.inc (atan2_test): Add another test.
69483         * manual/install.texi (Configuring and compiling): Document
69484         general use of test-wrapper and test-wrapper-env.
69485         * INSTALL: Regenerated.
69487         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69488         (__fma): Do not extract and scale down low bits on after-rounding
69489         systems when result rounded to normal precision would have normal
69490         exponent.
69491         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69492         (__fmal): Do not extract and scale down low bits on after-rounding
69493         systems when result rounded to normal precision would have normal
69494         exponent.
69495         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69496         (__fmal): Do not extract and scale down low bits on after-rounding
69497         systems when result rounded to normal precision would have normal
69498         exponent.
69499         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69500         macro.
69501         (fma_test): Add more tests.
69502         (fma_test_towardzero): Likewise.
69503         (fma_test_downward): Likewise.
69504         (fma_test_upward): Likewise.
69506 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69508         * sysdeps/i386/tininess.h: Renamed to ...
69509         * sysdeps/x86/tininess.h: This.
69510         * sysdeps/x86_64/tininess.h: Removed.
69512 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69514         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69515         input.  Use $(build-program-cmd).
69516         ($(objpfx)tst-array1-static.out): Likewise.
69517         ($(objpfx)tst-array2.out): Likewise.
69518         ($(objpfx)tst-array3.out): Likewise.
69519         ($(objpfx)tst-array4.out): Likewise.
69520         ($(objpfx)tst-array5.out): Likewise.
69521         ($(objpfx)tst-array5-static.out): Likewise.
69523 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69525         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69526         if defined.
69528         * nss/nsswitch.h (nss_interface_function): Provide new
69529         macro for use with NSS functions.
69530         * grp/initgroups.c: Use new macro.
69531         * nss/getXXbyYY.c: Likewise.
69532         * nss/getXXbyYY_r.c: Likewise.
69533         * nss/getXXent.c: Likewise.
69534         * nss/getXXent_r.c: Likewise.
69535         * sysdeps/posix/getaddrinfo.c: Likewise.
69537 2012-10-30  Andreas Jaeger  <aj@suse.de>
69539         * po/ru.po: Update Russion translation from translation project.
69541 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69543         [BZ #14152]
69544         [BZ #14783]
69545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69546         result and shift together with sticky bit instead of replicating
69547         round-to-nearest rounding.
69548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69550         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69551         missing underflow exceptions.
69552         (fma_test_towardzero): Add more tests.
69553         (fma_test_downward): Likewise.
69554         (fma_test_upward): Likewise.
69556         [BZ #14047]
69557         * sysdeps/generic/tininess.h: New file.
69558         * sysdeps/i386/tininess.h: Likewise.
69559         * sysdeps/sh/tininess.h: Likewise.
69560         * sysdeps/x86_64/tininess.h: Likewise.
69561         * stdlib/tst-strtod-underflow.c: Likewise.
69562         * stdlib/tst-tininess.c: Likewise.
69563         * stdlib/strtod_l.c: Include <tininess.h>.
69564         (round_and_return): Do not set errno for exact underflow cases.
69565         Force an underflow exception when setting errno for underflow.
69566         Determine underflow based on rounding to normal precision if
69567         TININESS_AFTER_ROUNDING.
69568         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69569         ERANGE for exact underflow cases.
69570         * stdlib/Makefile (tests): Add tst-tininess and
69571         tst-strtod-underflow.
69572         ($(objpfx)tst-tininess): Use $(link-libm).
69573         ($(objpfx)tst-strtod-underflow): Likewise.
69575 2012-10-30  Andreas Jaeger  <aj@suse.de>
69577         [BZ #14767]
69578         * elf/Makefile (tests): Remove conditional for have-initfini-array
69579         since this is now always required and the variable does not exist
69580         anymore.
69581         (tests-static): Likewise.
69582         (modules-names): Likewise.
69584         * po/eo.po: Add Esperanto translation from translation project.
69586         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69587         merged with constructor/destructor.
69588         (init_array): Likewise.
69589         * elf/tst-array2dep.c (fini_array): Likewise.
69590         (init_array): Likewise.
69592 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69594         * manual/message.texi: Delete @cartouche tags.
69596 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69598         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69599         EOPNOTSUPP.
69600         * sysdeps/mach/hurd/fsync.c: Likewise.
69602         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69603         [_POSIX_REALTIME_SIGNALS]: Change condition to
69604         [_POSIX_REALTIME_SIGNALS > 0].
69606 2012-10-27  Andreas Jaeger  <aj@suse.de>
69608         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69609         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69610         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69611         [__WORDSIZE != 64]: Likewise.
69613 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69615         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69616         *  iconvdata/tst-tables.sh: Likewise.
69618 2012-10-25  David S. Miller  <davem@davemloft.net>
69620         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69621         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69622         of strtoull.
69624         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69625         ifunc-impl-list.c
69626         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69627         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69628         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69629         file.
69631 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69633         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69634         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69635         __getdirentries.
69637 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69638             Jim Blandy  <jimb@codesourcery.com>
69640         * scripts/cross-test-ssh.sh: New file.
69641         * manual/install.texi (Configuring and compiling): Document use of
69642         cross-test-ssh.sh.
69643         * INSTALL: Regenerated.
69645 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69647         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69648         EOPNOTSUPP.
69650 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69652         * Makeconfig (run-program-prefix): Fix comment.
69654 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69655             Jim Blandy  <jimb@codesourcery.com>
69657         * Makeconfig (test-wrapper): New variable,
69658         (test-wrapper-env): Likewise.
69659         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69660         (run-built-tests): Define to yes.
69661         (run-program-prefix): Use $(test-wrapper).
69662         (built-program-cmd): Likewise.
69663         * Rules (make-test-out): Use $(test-wrapper-env) and
69664         $(host-built-program-cmd).
69665         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69666         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69667         tst-pathopt.sh.
69668         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69669         $(test-wrapper-env) to tst-rtld-load-self.sh.
69670         ($(objpfx)order2.out): Use $(test-wrapper).
69671         ($(objpfx)tst-initorder.out): Likewise.
69672         ($(objpfx)tst-initorder2.out): Likewise.
69673         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69674         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69675         (test_wrapper_env): New variable.  Use it to run ld.so.
69676         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69677         Use it to run ld.so.
69678         (test_wrapper_env): Likewise.
69679         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69680         $(test-wrapper) to run-iconv-test.sh.
69681         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69682         (ICONV): Use $test_wrapper.
69683         * posix/Makefile ($(objpfx)globtest.out): Pass
69684         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69685         globtest.sh, not $(run-program-prefix).
69686         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69687         (test_wrapper): Likewise.
69688         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69689         set together with run_via_rtld_prefix.
69690         (run_program_prefix): Define in terms of test_wrapper and
69691         run_via_rtld_prefix.
69693 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69695         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69696         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69697         Targets removed.
69699         [BZ #14743]
69700         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69701         Declare __clock_getres, __clock_gettime, __clock_settime,
69702         __clock_nanosleep, and __clock_getcpuclockid.
69703         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69704         Remove librt_hidden_def (clock_gettime).
69705         * sysdeps/unix/clock_gettime.c: Likewise.
69706         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69708         * rt/clock_getres.c: Define __clock_getres as an alias.
69709         * sysdeps/posix/clock_getres.c: Likewise.
69710         * rt/clock_settime.c: Define __clock_settime as an alias.
69711         * sysdeps/unix/clock_settime.c: Likewise.
69712         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69713         * sysdeps/unix/clock_nanosleep.c: Likewise.
69714         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69715         * rt/clock-compat.c: New file.
69716         * rt/Makefile (librt-routines): Add clock-compat and move
69717         $(clock-routines) to ...
69718         (routines): ... here, new variable.
69719         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69720         Don't add get_clockfreq here.
69721         * rt/Versions (libc: GLIBC_2.17): New version set.
69722         Add clock_* symbols here.
69723         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69724         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69725         (GLIBC_2.17): Add clock_* symbols.
69726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69730         Likewise.
69731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69732         Likewise.
69733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69737         * NEWS: Mention the move.
69739         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69740         Use __open, __read, __close rather than their public counterparts.
69741         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69742         (__get_clockfreq_via_cpuinfo): Likewise.
69743         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69744         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69746         * config.h.in (HAVE_IFUNC): New #undef.
69747         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69748         was successful.
69749         * configure: Regenerated.
69751 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69753         * configure.in: Move READELF check to start of file.
69754         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69755         libc_cv_asm_gnu_indirect_function in the process.
69756         * configure: Regenerated.
69758 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69760         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69761         send the output to /dev/null.
69762         (libc_cv_cc_with_libunwind): Likewise.
69763         (libc_cv_as_noexecstack): Likewise.
69764         * configure: Regenerate.
69766 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69768         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69770         * posix/globtest.sh (TMPDIR): Do not set.
69771         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69772         (testout): Likewise.
69774 2012-10-24  Andreas Jaeger  <aj@suse.de>
69776         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69777         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69778         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69779         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69780         posix_fadvise64, posix_fallocate64.
69782         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69783         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69784         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69785         Likewise.
69786         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69787         Likewise.
69788         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69791         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69792         <bits/fcntl-linux.h>.
69793         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69795         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69796         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69797         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69798         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69799         [__WORDSIZE != 64]: Likewise.
69801 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69803         * Makeconfig (run-built-tests): New variable.
69804         * Rules [$(cross-compiling) = yes]: Change condition to
69805         [$(run-built-tests) = no].
69806         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69807         to [$(run-built-tests) = yes].
69808         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69809         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69810         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69811         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69812         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69813         * io/Makefile [$(cross-compiling) = no]: Likewise.
69814         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69815         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69816         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69817         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69818         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69819         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69820         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69821         * string/Makefile [$(cross-compiling) = no]: Likewise.
69823         * posix/Makefile ($(objpfx)globtest.out): Pass
69824         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69825         $(rtld-installed-name).
69826         * posix/globtest.sh (elf_objpfx): Remove variable.
69827         (rtld_installed_name): Likewise.
69828         (library_path): Likewise.
69829         (run_program_prefix): New variable.  Use for running globtest
69830         binary.
69832 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69833             Joseph Myers  <joseph@codesourcery.com>
69835         * Makeconfig (host-built-program-cmd): New variable.
69836         * elf/Makefile (tst-stackguard1-ARGS): Use
69837         $(host-built-program-cmd).
69838         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69839         (tst-spawn-ARGS): Likewise.
69840         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69842 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69843             Jim Blandy  <jimb@codesourcery.com>
69845         * Makeconfig (run-via-rtld-prefix): New variable.
69846         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69847         (built-program-cmd): Likewise.
69849 2012-10-22  Andreas Jaeger  <aj@suse.de>
69851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69852         __O_RSYNC if it exists, otherwise to O_SYNC.
69854 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69855             Joseph Myers  <joseph@codesourcery.com>
69857         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69858         /dev/null.
69859         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69860         from /dev/null
69861         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69862         /dev/null.
69864 2012-10-22  Andreas Jaeger  <aj@suse.de>
69866         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69867         Define always.
69868         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69871         bits/fcntl-linux.h.
69873         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69874         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69876         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69877         to __O_LARGEFILE.
69878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69879         to __O_LARGEFILE.
69881 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69882             Joseph Myers  <joseph@codesourcery.com>
69884         * config.make.in (NM): New variable.
69886 2012-10-21  Andreas Jaeger  <aj@suse.de>
69888         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69889         definitions and declarations that are provided by
69890         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69892 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69894         [BZ #14683]
69895         * elf/Makefile (tests-static): Add tst-leaks1-static.
69896         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69897         ($(objpfx)tst-leaks1-static): New rule.
69898         ($(objpfx)tst-leaks1-static-mem): Likewise.
69899         (tst-leaks1-static-ENV): New macro.
69900         * elf/dl-open.c (dl_open_worker): Check the main application
69901         only if SHARED is defined.
69902         * elf/tst-leaks1-static.c: New file.
69904 2012-10-20  Andreas Jaeger  <aj@suse.de>
69906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69907         generic values for Linux.
69908         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69909         and declarations that are provided by <bits/fcntl-linux.h> and
69910         include <bits/fcntl-linux.h>.
69911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69914 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69916         * io/fcntl.h: Move include of <bits/types.h> to the top and
69917         include it unconditionally.
69919 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69921         * wcsmbs/Makefile (tests-ifunc): New variable.
69922         (tests): Add $(tests-ifunc).
69923         * wcsmbs/test-wcschr-ifunc.c: New file.
69924         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69925         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69926         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69927         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69928         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69930         * string/Makefile (tests-ifunc): New variable.
69931         (tests): Add $(tests-ifunc).
69932         * string/test-memccpy.c (TEST_NAME): New macro.
69933         * string/test-memchr.c (TEST_NAME): Likewise.
69934         * string/test-memcmp.c (TEST_NAME): Likewise.
69935         * string/test-memcpy.c (TEST_NAME): Likewise.
69936         * string/test-memmem.c (TEST_NAME): Likewise.
69937         * string/test-memmove.c (TEST_NAME): Likewise.
69938         * string/test-memset.c (TEST_NAME): Likewise.
69939         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69940         * string/test-stpcpy.c (TEST_NAME): Likewise.
69941         * string/test-stpncpy.c (TEST_NAME): Likewise.
69942         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69943         * string/test-strcasestr.c (TEST_NAME): Likewise.
69944         * string/test-strcat.c (TEST_NAME): Likewise.
69945         * string/test-strchr.c (TEST_NAME): Likewise.
69946         * string/test-strcmp.c(TEST_NAME): Likewise.
69947         * string/test-strcpy.c (TEST_NAME): Likewise.
69948         * string/test-strcspn.c (TEST_NAME): Likewise.
69949         * string/test-strlen.c (TEST_NAME): Likewise.
69950         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69951         * string/test-strncmp.c (TEST_NAME): Likewise.
69952         * string/test-strncpy.c (TEST_NAME): Likewise.
69953         * string/test-strnlen.c (TEST_NAME): Likewise.
69954         * string/test-strpbrk.c (TEST_NAME): Likewise.
69955         * string/test-strrchr.c (TEST_NAME): Likewise.
69956         * string/test-strspn.c (TEST_NAME): Likewise.
69957         * string/test-strstr.c (TEST_NAME): Likewise.
69958         * string/test-bcopy-ifunc.c: New file.
69959         * string/test-bzero-ifunc.c: Likewise.
69960         * string/test-memccpy-ifunc.c: Likewise.
69961         * string/test-memchr-ifunc.c: Likewise.
69962         * string/test-memcmp-ifunc.c: Likewise.
69963         * string/test-memcpy-ifunc.c: Likewise.
69964         * string/test-memmem-ifunc.c: Likewise.
69965         * string/test-memmove-ifunc.c: Likewise.
69966         * string/test-mempcpy-ifunc.c: Likewise.
69967         * string/test-memset-ifunc.c: Likewise.
69968         * string/test-rawmemchr-ifunc.c: Likewise.
69969         * string/test-stpcpy-ifunc.c: Likewise.
69970         * string/test-stpncpy-ifunc.c: Likewise.
69971         * string/test-strcasecmp-ifunc.c: Likewise.
69972         * string/test-strcasestr-ifunc.c: Likewise.
69973         * string/test-strcat-ifunc.c: Likewise.
69974         * string/test-strchr-ifunc.c: Likewise.
69975         * string/test-strchrnul-ifunc.c: Likewise.
69976         * string/test-strcmp-ifunc.c: Likewise.
69977         * string/test-strcpy-ifunc.c: Likewise.
69978         * string/test-strcspn-ifunc.c: Likewise.
69979         * string/test-strlen-ifunc.c: Likewise.
69980         * string/test-strncasecmp-ifunc.c: Likewise.
69981         * string/test-strncat-ifunc.c: Likewise.
69982         * string/test-strncmp-ifunc.c: Likewise.
69983         * string/test-strncpy-ifunc.c: Likewise.
69984         * string/test-strnlen-ifunc.c: Likewise.
69985         * string/test-strpbrk-ifunc.c: Likewise.
69986         * string/test-strrchr-ifunc.c: Likewise.
69987         * string/test-strspn-ifunc.c: Likewise.
69988         * string/test-strstr-ifunc.c: Likewise.
69990         * debug/Makefile (tests-ifunc): New variable.
69991         (tests): Add $(tests-ifunc).
69992         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69993         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69994         * debug/test-stpcpy_chk-ifunc.c: New file.
69995         * debug/test-strcpy_chk-ifunc.c: Likewise.
69997 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69999         [BZ #13601]
70000         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70001         header is not read in.
70003 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70005         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70006         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70007         directly.  Pass built executable to script as
70008         $(built-program-cmd).
70009         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70010         $testprogram without using LD_LIBRARY_PATH and $ldso.
70012         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70013         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70014         $(rtld-installed-name).
70015         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70016         (rtld_installed_name): Likewise.
70017         (library_path): Likewise.
70018         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70019         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70020         $(run-program-prefix) to tst-tables.sh.
70021         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70022         it to run tst-table-from and tst-table-to.
70023         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70024         Pass it to tst-table.sh.
70025         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70026         $(run-program-prefix) to tst-gettext.sh.
70027         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70028         tst-translit.sh.
70029         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70030         tst-gettext2.sh.
70031         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70032         to run tst-gettext.
70033         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70034         to run tst-gettext2.
70035         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70036         to run tst-translit.
70037         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70038         $(run-program-prefix) to tst-mtrace.sh.
70039         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70040         to run tst-mtrace.
70041         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70042         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70043         $(rtld-installed-name).
70044         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70045         (rtld_installed_name): Likewise.
70046         (run_program_prefix): New variable.  Use it to run wordexp-test.
70048         * Makeconfig (ARCH): Remove all definitions.
70049         (machine): Likewise.
70050         [ARCH]: Remove conditional code.
70051         [!objdir]: Give error.
70052         [!objdir] (objpfx): Remove.
70053         [!objdir] (common-objpfx): Likewise.
70054         [!objdir] (common-objdir): Likewise.
70055         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70056         AC_CONFIG_FILES call.
70057         * configure: Regenerated.
70059         [BZ #13888]
70060         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70061         or TMPDIR.
70062         (testout): Likewise.
70064         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70065         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70066         $(rtld-installed-name).
70067         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70068         (rtld_installed_name): Likewise.
70069         (runit): Remove function.
70070         (run_getconf): New variable,  Use it for running getconf binary.
70072 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70074         [BZ #14716]
70075         * string/test-memmem.c (check_result): New function.
70076         (do_one_test): Use it.
70077         (check1): New function.
70078         (test_main): Use it.
70080 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70082         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70084 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70086         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70087         (_G_LSEEK64): Likewise.
70088         (_G_MMAP64): Likewise.
70089         (_G_FSTAT64): Likewise.
70090         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70091         (_G_LSEEK64): Likewise.
70092         (_G_MMAP64): Likewise.
70093         (_G_FSTAT64): Likewise.
70094         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70095         unconditional.  Call __mmap64 directly.
70096         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70097         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70098         __lseek64 directly.
70099         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70100         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70101         __mmap64 directly.
70102         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70103         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70104         __lseek64 directly.
70105         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70106         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70107         __lseek64 directly.
70108         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70109         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70110         __lseek64 directly.
70111         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70112         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70113         __fxstat64 directly.
70114         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70115         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70116         unconditional.
70117         (freopen64) [!_G_OPEN64]: Remove conditional code.
70118         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70119         unconditional.
70120         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70121         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70122         unconditional.
70123         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70124         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70125         unconditional.
70126         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70127         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70128         unconditional.
70129         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70130         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70131         unconditional.
70132         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70133         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70134         unconditional.
70135         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70136         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70137         unconditional.
70138         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70140 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70142         [BZ #12140]
70143         * manual/memory.texi (Malloc Tunable Parameters): Add note
70144         about free list pointers overwriting some perturb bytes.
70145         Wording suggested by Roland McGrath.
70147 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70149         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70150         (lgamma_test): Likewise.
70151         (tgamma_test): Likewise.
70153 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70155         [BZ #14700]
70156         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70157         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70159 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70161         * NEWS: Mention BZ #14716.
70162         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70163         when removing AVAILABLE1_USES_J macro.
70165 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70167         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70168         (__bswap_64): __uint64_t for unsigned 64-bit int.
70170 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70172         * include/string.h (memmem): Declare libc hidden alias.
70173         * string/memmem.c (memmem): Define libc hidden alias.
70174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70175         __read, __close instead of open, read, close.
70177 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70180         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70181         global and hidden.
70182         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70183         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70184         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70185         Likewise.
70186         (__rawmemchr_sse2): Likewise.
70187         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70188         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70189         (__strchr_sse2): Likewise.
70190         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70191         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70192         (__strcasecmp_sse2): Likewise.
70193         (__strncasecmp_sse2): Likewise.
70194         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70195         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70196         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70197         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70198         (__strrchr_sse2): Likewise.
70199         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70200         ifunc-impl-list.c.
70201         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70202         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70203         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70204         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70205         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70206         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70207         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70208         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70209         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70210         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70211         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70212         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70213         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70214         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70215         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70216         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70217         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70218         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70219         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70220         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70221         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70222         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70223         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70224         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70225         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70226         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70227         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70228         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70229         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70230         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70232         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70233         global and hidden.
70234         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70235         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70236         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70237         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70238         Likewise.
70239         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70240         Likewise.
70241         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70242         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70243         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70244         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70245         ifunc-impl-list.c.
70246         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70247         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70248         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70249         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70250         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70251         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70252         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70253         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70254         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70255         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70256         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70257         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70258         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70259         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70260         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70261         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70262         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70263         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70264         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70265         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70266         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70267         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70268         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70269         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70270         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70271         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70272         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70273         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70274         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70275         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70276         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70277         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70278         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70279         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70280         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70281         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70282         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70283         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70284         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70285         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70286         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70288         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70289         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70290         * include/ifunc-impl-list.h: New file.
70291         * misc/ifunc-impl-list.c: Likewise.
70292         * misc/Makefile (routines): Add ifunc-impl-list.
70293         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70294         * string/test-string.h: Include <ifunc-impl-list.h>.
70295         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70296         TEST_NAME]: New variables.
70297         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70298         are defined.
70299         (test_init): Call __libc_ifunc_impl_list to initialize
70300         func_list if TEST_IFUNC and TEST_NAME are defined.
70302         * string/Makefile (strop-tests): Add bcopy and bzero.
70303         * string/test-bcopy.c: New file.
70304         * string/test-bzero.c: Likewise.
70305         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70306         defined.
70307         * string/test-memset.c: Support bzero test if TEST_BZERO is
70308         defined.
70309         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70310         __libc_memmove.
70311         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70312         __libc_memset.
70313         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70314         of memset.
70316 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70318         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70319         * configure: Regenerated.
70321         * Makeconfig (+link-static-before-libc): Don't include
70322         $(link-static-libc).
70324         * libio/libio.h (_IO_pos_t): Remove.
70326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70328         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70329         McGrath.
70331 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70333         * crypt/crypt-entry.c: Include fips-private.h.
70334         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70335         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70336         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70337         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70339 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70341         * crypt/crypt-private.h: Include stdbool.h.
70342         (_ufc_setup_salt_r): Return bool.
70343         * crypt/crypt-entry.c: Include errno.h.
70344         (__crypt_r): Return NULL with EINVAL for bad salt.
70345         * crypt/crypt_util.c (bad_for_salt): New.
70346         (_ufc_setup_salt_r): Check that salt is long enough and within
70347         the specified alphabet.
70348         * crypt/badsalttest.c: New file.
70349         * crypt/Makefile (tests): Add it.
70350         ($(objpfx)badsalttest): New.
70352 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70354         * NEWS: Add entry for BZ #14602.
70356 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70358         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70359         type-generic.
70360         * math/libm-test.inc: Update comment listing what functions and
70361         macros are tested.
70362         (isgreater_test): New function.
70363         (isgreaterequal_test): Likewise.
70364         (isless_test): Likewise.
70365         (islessequal_test): Likewise.
70366         (islessgreater_test): Likewise.
70367         (isunordered_test): Likewise.
70368         (main): Call the new functions.
70370 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70372         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70373         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70374         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70375         * sysdeps/i386/configure: Regenerated.
70376         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70377         * sysdeps/mach/configure: Regenerated.
70378         * sysdeps/mach/hurd/configure: Regenerated.
70379         * sysdeps/powerpc/configure: Regenerated.
70380         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70381         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70382         * sysdeps/s390/s390-32/configure: Regenerated.
70383         * sysdeps/s390/s390-64/configure: Regenerated.
70384         * sysdeps/sh/configure: Regenerated.
70385         * sysdeps/sparc/configure: Regenerated.
70386         * sysdeps/unix/sysv/linux/configure: Regenerated.
70387         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70388         * sysdeps/x86_64/configure: Regenerated.
70390         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70391         defined.  Don't check if MAP is NULL.
70393 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70395         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70396         (_G_stat64): Likewise.
70397         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70398         (_G_stat64): Likewise.
70399         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70400         instead of struct _G_stat64.
70401         * libio/fileops.c (mmap_remap_check): Likewise.
70402         (decide_maybe_mmap): Likewise.
70403         (_IO_new_file_seekoff): Likewise.
70404         (_IO_file_stat): Likewise.
70405         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70406         _G_off64_t.
70407         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70408         instead of struct _G_stat64.
70409         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70411 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70413         [BZ #14602]
70414         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70415         Replace with ...
70416         (CHECK_EOL): New macro.
70417         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70418         CHECK_EOL.
70419         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70420         Replace with CHECK_EOL.
70421         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70422         Replace with CHECK_EOL.
70424 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70426         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70427         type-generic.
70428         * math/libm-test.inc: Update comment listing what functions and
70429         macros are tested.
70430         (finite_test): New function.
70431         (isinf_test): Likewise.
70432         (isnan_test): Likewise.
70433         (fpclassify_test): Test subnormal input.
70434         (isfinite_test): Likewise.
70435         (isnormal_test): Likewise.
70436         (main): Call the new functions.
70438 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70440         [BZ #14660]
70441         * Makerules (%.dynsym): Force C locale when running
70442         $(OBJDUMP) --dynamic-syms.
70444 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70446         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70447         <stdint.h>.
70449 2012-10-06  David S. Miller  <davem@davemloft.net>
70451         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70452         upper 32-bits of the length value in %o2 since we use branch-on-register
70453         tests which consider the entire 64-bit register.
70455 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70457         * string/test-strstr.c (check2): Add a test for page boundary.
70459 2012-10-05  David S. Miller  <davem@davemloft.net>
70461         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70462         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70463         file.
70464         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70465         sysdep_routines.
70466         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70467         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70468         and bzero when HWCAP_SPARC_CRYPTO is present.
70470 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70472         [BZ #14602]
70473         * string/test-strstr.c (check2): New function.
70474         (test_main): Call check2.
70476         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70477         and bug-strchr1.
70478         * string/bug-strcasestr1.c (do_test): Moved to ...
70479         * string/test-strcasestr.c (check1): Here.  New function.
70480         (do_one_test): Break out result checking code into ...
70481         (check_result): This.  New function.
70482         (do_one_test): Call check_result.
70483         (test_main): Call check1.
70484         * string/bug-strchr1.c (do_test): Moved to ...
70485         * string/test-strchr.c (check1): Here.  New function.
70486         (do_one_test): Break out result checking code into ...
70487         (check_result): This.  New function.
70488         (do_one_test): Call check_result.
70489         (test_main): Call check1.
70490         * string/bug-strstr1.c (main): Moved to ...
70491         * string/test-strstr.c (check1): Here.  New function.
70492         (do_one_test): Break out result checking code into ...
70493         (check_result): This.  New function.
70494         (do_one_test): Call check_result.
70495         (test_main): Call check1.
70496         * string/bug-strcasestr1.c: Removed.
70497         * string/bug-strchr1.c: Likewise.
70498         * string/bug-strstr1.c: Likewise.
70500         * elf/Makefile (dl-routines): Add hwcaps.
70501         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70502         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70503         (_dl_important_hwcaps): Moved to ...
70504         * elf/dl-hwcaps.c: Here.  New file.
70505         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70507         [BZ #14557]
70508         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70509         if IS_IN_rtld isn't defined.
70511         * elf/dl-support.c (_dl_sysinfo_map): New.
70512         Include "get-dynamic-info.h" and "setup-vdso.h".
70513         (_dl_non_dynamic_init): Call setup_vdso.
70514         * elf/dynamic-link.h: Don't include <assert.h>.
70515         (elf_get_dynamic_info): Moved to ...
70516         * elf/get-dynamic-info.h: Here.  New file.
70517         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70518         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70519         * elf/setup-vdso.h: Here.  New file.
70520         * elf/rtld.c: Include "setup-vdso.h".
70521         (dl_main): Call setup_vdso.
70523 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70525         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70526         creal in comment listing functions tested.  List finite, isinf,
70527         isnan, isless, islessequal, isgreater, isgreaterequal,
70528         islessgreater, isunordered, lgamma_r and pow10 as functions and
70529         macros not tested.  Mention which functions not tested are aliases
70530         for other functions.  Fix typo.  Note that signs of NaNs are not
70531         tested.
70533         * scripts/config.guess: Update from config.git.
70534         * scripts/config.sub: Likewise.
70536 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70538         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70539         * misc/madvise.c (madvise): Renamed to __madvise.
70540         Make madvise a weak alias.
70541         * include/sys/mman.h: Declare __madvise.
70542         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70543         * sysdeps/unix/syscalls.list
70544         (madvise): Make __madvise the strong name, and madvise a weak alias.
70545         * sysdeps/unix/sysv/linux/syscalls.list
70546         (madvise, mmap): Remove redundant entries.
70547         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70548         * malloc/malloc.c (mtrim): Likewise.
70549         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70551 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70553         * sysdeps/mach/hurd/dl-cache.c: File removed.
70554         * config.h.in (USE_LDCONFIG): New #undef.
70555         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70556         * configure: Regenerated.
70557         * elf/Makefile (dl-routines): Add dl-cache only under
70558         [$(use-ldconfig) = yes].
70559         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70560         cache on [USE_LDCONFIG].
70561         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70562         [USE_LDCONFIG].
70563         * elf/rtld.c (dl_main): Likewise.
70565 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70567         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70568         _SC_LEVEL4_CACHE_LINESIZE.
70570 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70572         * sysdeps/unix/bsd/confstr.h: File removed.
70574 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70576         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70577         sys/sdt-config.h.
70579 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70581         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70582         Make 'mapoff' field ElfW(Off) rather than off_t.
70584 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70586         * nscd/Makefile: Remove nscd-cflags and all its users.
70587         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70588         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70590         [BZ #10631]
70591         * malloc.c (malloc_printerr): Clarify error message.
70593 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70595         [BZ #14648]
70596         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70597         Set bit_FMA_Usable if FMA is supported.
70598         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70599         macro.
70600         (bit_FMA4_Usable): Updated.
70601         (index_FMA_Usable): New macro.
70602         (CPUID_FMA): Likewise.
70603         (HAS_FMA): Defined with bit_FMA_Usable.
70605 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70607         * bits/types.h (__swblk_t): Type removed.
70608         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70609         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70611         (__SWBLK_T_TYPE): Likewise.
70612         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70613         (__SWBLK_T_TYPE): Likewise.
70614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70615         (__SWBLK_T_TYPE): Likewise.
70616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70617         (__SWBLK_T_TYPE): Likewise.
70619 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70620             Honza Horak <hhorak@redhat.com>
70622         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70623         (xdr_mapname): Use YPMAXMAP as maxsize.
70624         (xdr_peername): Use YPMAXPEER as maxsize.
70625         (xdr_keydat): Use YPAXRECORD as maxsize.
70626         (xdr_valdat): Use YPMAXRECORD as maxsize.
70628 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70630         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70632         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70633         * csu/init-first.c: ... here.
70634         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70635         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70636         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70637         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70638         * sysdeps/i386/init-first.c: File removed.
70639         * sysdeps/sh/init-first.c: File removed.
70641 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70643         [BZ #14645]
70644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70645         if x * y might underflow to zero and z is zero.
70646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70648         * math/libm-test.inc (min_subnorm_value): New variable.
70649         (fma_test): Add more tests.
70650         (fma_test_towardzero): Likewise.
70651         (fma_test_downward): Likewise.
70652         (fma_test_upward): Likewise.
70653         (initialize): Set min_subnorm_value.
70655 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70657         [BZ #14638]
70658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70659         0 + 0.
70660         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70661         mode for addition resulting in exact zero.
70662         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70664         exact 0 + 0.
70665         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70667         * math/libm-test.inc (fma_test): Add more tests.
70668         (fma_test_towardzero): New function.
70669         (fma_test_downward): Likewise.
70670         (fma_test_upward): Likewise.
70671         (main): Call the new functions.
70673 2012-09-28  David S. Miller  <davem@davemloft.net>
70675         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70677 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70679         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70680         instead of SIGALRM.
70682         * sysdeps/gnu/_G_config.h: Moved to ...
70683         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70684         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70685         * sysdeps/generic/_G_config.h: ... here.
70687         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70689         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70691         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70692         Conditionalize target on [libnss_test1.so-version].
70694         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70696         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70697         (elfobjdir): Move out of conditionals.
70699         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70700         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70701         (__nss_lookup_function): Conditionalize label remove_from_tree on
70702         [!DO_STATIC_NSS || SHARED], matching its only use.
70704 2012-09-28  David S. Miller  <davem@davemloft.net>
70706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70707         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70708         file.
70709         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70710         sysdep_routines.
70711         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70713         when HWCAP_SPARC_CRYPTO is present.
70715 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70717         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70719 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70721         [BZ #6530]
70722         * stdio-common/vfprintf.c (process_string_arg): Revert
70723         2000-07-22 change.
70725 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70727         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70728         for testcase.
70729         * stdio-common/tst-sprintf.c: Include <locale.h>
70730         (main): Test sprintf's handling of incomplete multibyte
70731         characters.
70733 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70735         * elf/dl-runtime.c (VERSYMIDX): Removed.
70736         * elf/dl-version.c (VERSYMIDX): Likewise.
70737         * elf/do-rel.h (VERSYMIDX): Likewise.
70738         (VALIDX): Likewise.
70739         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70740         * elf/rtld.c (VALIDX): Likewise.
70741         (ADDRIDX): Likewise.
70742         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70743         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70744         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70745         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70746         (VALIDX): Likewise.
70747         (ADDRIDX): Likewise.
70749 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70751         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70753 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70755         [BZ #11438]
70756         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70757         to global scope.
70758         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70759         addresses are in the same scope as 192.0.2/24.
70760         * posix/gai.conf: Document new scope table defaults.
70762 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70764         [BZ #5298]
70765         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70766         for ftell.  Compute offsets from write pointers instead.
70767         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70769 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70771         [BZ #14543]
70772         * libio/Makefile (tests): New test case tst-fseek.
70773         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70774         combination works in wide mode.
70775         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70776         state when the external buffer state changes.
70778 2012-09-27  David S. Miller  <davem@davemloft.net>
70780         [BZ #14376]
70781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70782         pass reloc->r_addend in as the 'high' argument to
70783         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70787 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70789         * rt/tst-aio2.c: Include <pthread.h>.
70790         * rt/tst-aio3.c: Likewise.
70792 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70794         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70796 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70798         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70799         contents on [SHARED].
70801 2012-09-26  Marek Polacek  <polacek@redhat.com>
70803         [BZ #14530]
70804         [BZ #13741]
70805         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70806         for C++ and GCC <4.3 as well as for non GCC compilers.
70808 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70812 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70814         * Makefile.in (all, install): Declare with .PHONY.
70815         Reported by Michael Hope <michael.hope@linaro.org>.
70817 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70819         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70820         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70821         system header.
70822         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70823         Likewise.
70824         (sydep_routines): Add the new and the internal functions.
70825         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70826         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70828         (GLIBC_2.17): Add the new function.
70829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70830         (GLIBC_2.17): Likewise.
70831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70832         (GLIBC_2.17): Likewise.
70833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70834         (GLIBC_2.17): Likewise.
70835         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70837 2012-09-25  Alan Modra  <amodra@gmail.com>
70839         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70840         Add release barrier before setting once_control to say
70841         initialisation is done.  Add hints on lwarx.  Use macro in
70842         place of isync.
70843         (clear_once_control): Add release barrier.
70845 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70847         [BZ #13629]
70848         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70849         specially.
70850         * math/s_clog10.c (__clog10): Likewise.
70851         * math/s_clog10f.c (__clog10f): Likewise.
70852         * math/s_clog10l.c (__clog10l): Likewise.
70853         * math/s_clogf.c (__clogf): Likewise.
70854         * math/s_clogl.c (__clogl): Likewise.
70855         * math/Makefile (libm-calls): Add x2y2m1.
70856         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70857         (__x2y2m1): Likewise.
70858         (__x2y2m1l): Likewise.
70859         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70860         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70861         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70862         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70863         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70864         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70865         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70866         * sysdeps/i386/fpu/libm-test-ulps: Update.
70867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70869         [BZ #14621]
70870         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70871         int as type of variable DEPTH.
70872         (glob): Use size_t instead of int as type of variables NEWCOUNT
70873         and OLD_PATHC.
70875 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70877         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70878         Add s_sincosf-sse2.
70879         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70880         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70881         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70882         macros for using routine as __sincosf_ia32.
70883         Use macro for function declaration and weak_alias.
70884         * sysdeps/i386/fpu/libm-test-ulps: Update.
70886         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70889         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70890         subnormal argument.
70891         * math/s_cexpf.c (__cexpf): Likewise.
70892         * math/s_csinf.c (__csinf): Likewise.
70893         * math/s_csinhf.c (__csinhf): Likewise.
70894         * math/s_ctanf.c (__ctanf): Likewise.
70895         * math/s_ctanhf.c (__ctanhf): Likewise.
70896         * math/s_ccosh.c (__ccoshf): Likewise.
70897         * math/s_cexp.c (__cexpl): Likewise.
70898         * math/s_csin.c (__csin): Likewise.
70899         * math/s_csinh.c (__csinh): Likewise.
70900         * math/s_ctan.c (__ctan): Likewise.
70901         * math/s_ctanh.c (ctanh): Likewise.
70902         * math/s_ccoshl.c (__ccoshl): Likewise.
70903         * math/s_cexpl.c (__cexpl): Likewise.
70904         * math/s_csinl.c (__csinl): Likewise.
70905         * math/s_csinhl.c (__csinhl): Likewise.
70906         * math/s_ctanl.c (__ctanl): Likewise.
70907         * math/s_ctanhl.c (__ctanhl): Likewise.
70909 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70911         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70912         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70913         (_IO_off_t): Define to __off_t, not _G_off_t.
70914         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70915         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70916         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70917         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70918         type of __dummy and __dummy2 fields.
70919         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70920         (_G_ssize_t): Likewise.
70921         (_G_off_t): Likewise.
70922         (_G_pid_t): Likewise.
70923         (_G_uid_t): Likewise.
70924         (_G_wchar_t): Likewise.
70925         (_G_wint_t): Likewise.
70926         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70927         (_G_ssize_t): Likewise.
70928         (_G_off_t): Likewise.
70929         (_G_pid_t): Likewise.
70930         (_G_uid_t): Likewise.
70931         (_G_wchar_t): Likewise.
70932         (_G_wint_t): Likewise.
70933         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70934         (_G_ssize_t): Likewise.
70935         (_G_off_t): Likewise.
70936         (_G_pid_t): Likewise.
70937         (_G_uid_t): Likewise.
70938         (_G_wchar_t): Likewise.
70939         (_G_wint_t): Likewise.
70941 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70943         * malloc/arena.c: Include malloc-sysdep.h.
70944         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70945         is sufficient to shrink the heap or an unmap is needed.
70946         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70947         new function check_may_shrink_heap.
70948         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70949         new function check_may_shrink_heap.
70951 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70953         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70954         comments.
70956 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70958         * catgets/test-gencat.sh: Add "set -e".
70959         * elf/tst-pathopt.sh: Likewise.
70960         * grp/tst_fgetgrent.sh: Likewise.
70961         * iconvdata/run-iconv-test.sh: Likewise.
70962         * intl/tst-gettext.sh: Likewise.
70963         * intl/tst-gettext2.sh: Likewise.
70964         * intl/tst-gettext4.sh: Likewise.
70965         * intl/tst-gettext6.sh: Likewise.
70966         * intl/tst-translit.sh: Likewise.
70967         * io/ftwtest-sh: Likewise.
70968         * libio/test-freopen.sh: Likewise.
70969         * malloc/tst-mtrace.sh: Likewise.
70970         * posix/globtest.sh: Likewise.
70971         * posix/tst-getconf.sh: Likewise.
70972         * posix/wordexp-tst.sh: Likewise.
70973         * stdio-common/tst-printf.sh: Likewise.
70974         * stdio-common/tst-unbputc.sh: Likewise.
70975         * stdlib/tst-fmtmsg.sh: Likewise.
70976         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70977         * catgets/Makefile: Do not specify -e option when running
70978         testsuite shell scripts.
70979         * elf/Makefile: Likewise.
70980         * grp/Makefile: Likewise.
70981         * iconvdata/Makefile: Likewise.
70982         * intl/Makefile: Likewise.
70983         * io/Makefile: Likewise.
70984         * libio/Makefile: Likewise.
70985         * malloc/Makefile: Likewise.
70986         * posix/Makefile: Likewise.
70987         * stdio-common/Makefile: Likewise.
70988         * stdlib/Makefile: Likewise.
70989         * sysdeps/x86_64/Makefile: Likewise.
70991         * io/ftwtest-sh: Add copyright header.
70992         * posix/globtest.sh: Likewise.
70993         * posix/tst-getconf.sh: Likewise.
70994         * posix/wordexp-tst.sh: Likewise.
70995         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70997 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70999         [BZ #13679]
71000         * Makeconfig (+link): Defined as $(+link-static) if
71001         $(build-shared) isn't yes.
71002         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71003         isn't yes.
71004         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71006         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71008         [BZ #14562]
71009         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71010         new chunk size with MALLOC_ALIGN_MASK.
71012 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71014         [BZ #5044]
71015         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71016         <rounding-mode.h>.
71017         (__printf_fphex): Determine rounding using get_rounding_mode and
71018         round_away.
71019         * stdio-common/tst-printf-round.c (struct hex_test): New
71020         structure.
71021         (hex_tests): New variable.
71022         (test_hex_in_one_mode): New function.
71023         (do_test): Also run tests for hex float output.
71025 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71027         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71028         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71029         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71030         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71031         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71032         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71033         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71034         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71036 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71038         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71039         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71040         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71041         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71043 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71045         [BZ #14579]
71046         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71047         mode only.
71048         * elf/tst-rtld-load-self.sh: New test.
71049         * elf/Makefile: Run it.
71051 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71053         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71054         (tst-writev-ENV): Remove.
71055         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71057 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71059         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71061 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71063         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71064         unconditional.
71065         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71066         Likewise.
71067         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71068         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71069         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71070         Likewise.
71072 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71074         [BZ #14587]
71075         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71076         * config.make.in (have-cpp-asm-debuginfo): Removed.
71077         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71078         * configure: Regenerated.
71080 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71082         [BZ #5044]
71083         * stdio-common/printf_fp.c: Include <stdbool.h> and
71084         <rounding-mode.h>.
71085         (___printf_fp): Determine rounding using get_rounding_mode and
71086         round_away.
71087         * stdio-common/tst-printf-round.c: New file.
71088         * stdio-common/Makefile (tests): Add tst-printf-round.
71089         (link-libm): New variable.
71090         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71092 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71094         [BZ #14576]
71095         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71096         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71097         Likewise.
71098         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71099         Likewise.
71101 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71103         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71104         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71105         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71106         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71108 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71110         [BZ #14518]
71111         * include/rounding-mode.h: New file.
71112         * sysdeps/generic/get-rounding-mode.h: Likewise.
71113         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71114         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71115         (MAX_VALUE): New macro.
71116         (MIN_VALUE): Likewise.
71117         (overflow_value): New function.
71118         (underflow_value): Likewise.
71119         (round_and_return): Use overflow_value and underflow_value to
71120         determine return values in overflow and underflow cases.  Use
71121         round_away to determine rounding depending on rounding mode.
71122         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71123         determine return values in overflow and underflow cases.
71124         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71125         (struct test_results): New structure.
71126         (struct test): Use struct test_results to store expected results
71127         for all rounding modes.
71128         (TEST): Include expected results for all rounding modes.
71129         (test_in_one_mode): New function.
71130         (do_test): Use test_in_one_mode to compute and check results.
71131         Check results for all rounding modes.
71132         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71133         $(link-libm).
71135 2012-12-09  Allan McRae  <allan@archlinux.org>
71137         * sysdeps/i386/fpu/libm-test-ulps: Update
71139 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71141         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71142         (_G_int32_t): Likewise.
71143         (_G_uint16_t): Likewise.
71144         (_G_uint32_t): Likewise.
71145         (_G_HAVE_BOOL): Likewise.
71146         (_G_HAVE_ATEXIT): Likewise.
71147         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71148         (_G_HAVE_IO_FILE_OPEN): Likewise.
71149         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71150         (_G_int32_t): Likewise.
71151         (_G_uint16_t): Likewise.
71152         (_G_uint32_t): Likewise.
71153         (_G_HAVE_BOOL): Likewise.
71154         (_G_HAVE_ATEXIT): Likewise.
71155         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71156         (_G_HAVE_IO_FILE_OPEN): Likewise.
71157         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71158         (_G_int32_t): Likewise.
71159         (_G_uint16_t): Likewise.
71160         (_G_uint32_t): Likewise.
71161         (_G_HAVE_BOOL): Likewise.
71162         (_G_HAVE_ATEXIT): Likewise.
71163         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71164         (_G_HAVE_IO_FILE_OPEN): Likewise.
71166 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71168         * csu/libc-tls.c: Update copyright years.
71170 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71172         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71173         [!_G_USING_THUNKS]: Remove conditional code.
71174         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71175         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71177         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71178         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71179         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71180         (_G_VTABLE_LABEL_PREFIX): Likewise.
71181         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71182         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71183         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71184         (_G_VTABLE_LABEL_PREFIX): Likewise.
71185         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71186         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71187         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71188         (_G_VTABLE_LABEL_PREFIX): Likewise.
71189         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71191 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71193         * libio/Makefile: Include ../Makeconfig before tests.
71194         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71195         only if $(build-shared) is yes.
71197         * iconv/gconv_db.c: Update copyright years.
71199 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71201         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71202         unwind info if defined PIC. Fix special cases description.
71203         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71205         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71206         DP_HI_MASK entry.
71207         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71209 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71211         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71213         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71214         is NULL.
71216         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71217         (LDLIBS-tst-chk4): This.
71218         (LDFLAGS-tst-chk5): Renamed to ...
71219         (LDLIBS-tst-chk5): This.
71220         (LDFLAGS-tst-chk6): Renamed to ...
71221         (LDLIBS-tst-chk6): This.
71222         (LDFLAGS-tst-lfschk4): Renamed to ...
71223         (LDLIBS-tst-lfschk4): This.
71224         (LDFLAGS-tst-lfschk5): Renamed to ...
71225         (LDLIBS-tst-lfschk5): This.
71226         (LDFLAGS-tst-lfschk6): Renamed to ...
71227         (LDLIBS-tst-lfschk6): This.
71229         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71230         on $(common-objpfx)soversions.mk.
71232 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71234         [BZ #10014]
71235         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71236         example host name.
71238 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71240         * malloc/arena.c (arena_get_retry): New function that gets
71241         another arena for the caller to try its request on.
71242         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71243         current arena cannot fulfill the request.
71244         (__libc_memalign): Likewise.
71245         (__libc_memalign): Likewise.
71246         (__libc_pvalloc): Likewise.
71247         (__libc_calloc): Likewise.
71249 2012-09-05  John Tobey  <john.tobey@gmail.com>
71251         [BZ #13542]
71252         * manual/arith.texi (Operations on Complex): Fix description
71253         of carg branch cut.
71255 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71257         [BZ #10014]
71258         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71259         host name.
71261         [BZ #10038]
71262         * manual/memory.texi (Memory): Make order of menu items match
71263         order of sections.
71265 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71267         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71268         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71269         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71273         * csu/libc-tls.c (static_dtv): Renamed to ...
71274         (_dl_static_dtv): This.  Make it global.
71275         (_dl_initial_dtv): Removed.
71276         (__libc_setup_tls): Updated.
71277         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71278         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71279         DL_INITIAL_DTV.
71281 2012-09-06  Petr Machata  <pmachata@redhat.com>
71283         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71284         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71285         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71286         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71288 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71290         [BZ #14545]
71291         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71292         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71293         freeing dtv[-1].
71295 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71297         [BZ #14544]
71298         * Makeconfig (link-static-before-libc): Replace $(+prector)
71299         with $(+prectorT).
71300         (link-static-after-libc): Replace $(+postctor) with
71301         $(+postctorT).
71302         (link-bounded): Replace $(+prector)/$(+postctor) with
71303         $(+prectorT)/$(+postctorT).
71304         (+prectorT): New macro.
71305         (+postctorT): Likewise.
71307 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71309         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71310         (round_str): Handle values above the maximum for IBM long double
71311         as inexact.
71312         * stdlib/tst-strtod-round.c (tests): Regenerated.
71314 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71316         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71317         assembler flag.
71318         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71319         zarch_nohighgprs around the zarch optimized routines.
71320         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71321         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71322         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71323         for zarch.
71325 2012-09-05  David S. Miller  <davem@davemloft.net>
71327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71329         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71330         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71331         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71332         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71333         entries.
71335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71337         * malloc/arena.c: Fold copyright years.
71338         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71340 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71342         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71346         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71350         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71351         change internal state upon failure.
71353 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71355         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71356         * malloc/memusage.c (mmap): Likewise.
71357         (mmap64, mremap): Likewise.  Adjust name in comment.
71359 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71361         * libio/fileops.c: Fix typos in comments.
71362         * libio/oldfileops.c: Likewise.
71363         * libio/wfileops.c: Likewise.
71365 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71367         [BZ #1349]
71368         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71369         (tst-malloc-usable-ENV): Set environment for test case.
71370         * malloc/hooks.c (malloc_check_get_size): New function to get
71371         requested size.
71372         * malloc/malloc.c (musable): Use malloc_check_get_size.
71373         * malloc/tst-malloc-usable.c: New test case.
71375 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71377         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71379 2012-09-05  Allan McRae  <allan@archlinux.org>
71381         [BZ #13966]
71382         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71383         determine header location.
71384         * configure: Regenerated.
71386 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71388         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71389         float format.
71390         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71391         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71392         format.
71393         (test): Regenerate.
71395 2012-09-04  David S. Miller  <davem@davemloft.net>
71397         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71398         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71399         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71401 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71403         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71404         failures.
71406         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71408 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71410         [BZ #9914]
71411         * libio/iogetdelim.c: Include <limits.h>.
71412         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71413         + len + 1 would overflow.
71415 2012-09-03  Andreas Jaeger  <aj@suse.de>
71417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71418         * sysdeps/i386/fpu/libm-test-ulps: Update.
71420 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71422         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71423         Add s_sinf-sse2, s_conf-sse2.
71425         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71426         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71427         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71428         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71430         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71431         for using routine as __sinf_ia32.
71432         Use macro for function declaration and weak_alias.
71433         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71434         for using routine as __cosf_ia32.
71435         Use macro for function declaration and weak_alias.
71437         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71438         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71440         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71441         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71444         * math/libm-test.inc (cos_test): Add more test cases.
71445         (sin_test): Likewise.
71446         (sincos_test): Likewise.
71448 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71450         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71451         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71452         hidden.
71453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71455 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71457         [BZ #14538]
71458         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71459         first element of the GOT.
71460         (elf_machine_load_address): Return the difference between
71461         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71463 2012-09-01  Allan McRae  <allan@archlinux.org>
71465         [BZ #13412]
71466         * configure.in (AWK): Require gawk version 3.0 or later.
71467         * configure: Regenerated.
71469 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71471         * sysdeps/unix/sysv/linux/kernel-features.h
71472         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71473         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71474         [__NR_clock_getres]: Make code unconditional.
71475         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71476         (clock_getcpuclockid): Remove code left unreachable by removal of
71477         conditionals.
71478         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71479         code unconditional.
71480         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71481         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71482         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71483         Make code unconditional.
71484         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71485         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71486         * sysdeps/unix/sysv/linux/clock_settime.c
71487         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71488         conditional code.
71489         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71490         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71492 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71494         [BZ #14476]
71495         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71496         scripts/test-installation.pl.
71498         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71499         and $ld_so_version if it is set.
71501 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71503         [BZ #14516]
71504         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71505         failure if reading from procfs failed.
71506         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71508 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71510         * sysdeps/unix/sysv/linux/kernel-features.h
71511         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71512         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71513         Remove conditional code.
71514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71515         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71516         Remove conditional code.
71517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71518         * sysdeps/unix/sysv/linux/i386/fxstat.c
71519         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71521         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71522         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71524         * sysdeps/unix/sysv/linux/i386/lxstat.c
71525         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71527         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71528         Remove conditional code.
71529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71530         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71531         Remove conditional code.
71532         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71533         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71534         <kernel-features.h>.
71535         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71536         Remove.
71537         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71538         Remove conditional code.
71539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71540         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71541         Remove conditional.
71543 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71545         [BZ #5400]
71546         * NEWS: Add fixed bug number.
71548 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71550         [BZ #14519]
71551         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71552         underflowing exponent in case of negative sign.
71553         * stdlib/tst-strtod-round-data: Add more tests.
71554         * stdlib/tst-strtod-round.c (tests): Regenerated.
71556         [BZ #3479]
71557         * stdlib/strtod_l.c (NDIG): Remove.
71558         (HEXNDIG): Likewise.
71559         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71560         smallest representable value.
71561         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71562         lie within an exact representation of 1/2 ulp of the result.
71563         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71564         unconditionally.
71565         (TENS_P9_IDX): Define unconditionally.
71566         (TENS_P9_SIZE): Likewise.
71567         (TENS_P10_IDX): Likewise.
71568         (TENS_P10_SIZE): Likewise.
71569         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71570         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71571         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71572         entries for 10^2^13 and 10^2^14.
71573         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71574         (TENS_P13_IDX): Define.
71575         (TENS_P13_SIZE): Likewise.
71576         (TENS_P14_IDX): Likewise.
71577         (TENS_P14_SIZE): Likewise.
71578         (_fpioconst_pow10): Change array size to
71579         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71580         unconditional.
71581         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71582         1024]: Add entries for 10^2^13 and 10^2^14.
71583         [LAST_POW10 > _LAST_POW10]: Remove #error.
71584         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71585         (_fpioconst_pow10): Change array size to
71586         FPIOCONST_POW10_ARRAY_SIZE.
71587         * stdlib/gen-fpioconst.c: New file.
71588         * stdlib/gen-tst-strtod-round.c: Likewise.
71589         * stdlib/tst-strtod-round-data: Likewise.
71590         * stdlib/tst-strtod-round.c: Likewise.
71591         * stdlib/Makefile (tests): Add tst-strtod-round.
71593         [BZ #14459]
71594         * stdlib/strtod_l.c: Include <stdint.h>.
71595         (NDEBUG): Do not define.
71596         (round_and_return): Change EXPONENT parameter to type intmax_t.
71597         Rearrange calculations to avoid internal overflow possibilities.
71598         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71599         Rearrange calculations to avoid internal overflow possibilities.
71600         Assert that number fits inside MPNSIZE limbs.
71601         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71602         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71603         calculations and add assertions to avoid internal overflow
71604         possibilities.  Add casts to avoid signed/unsigned operations.
71605         * stdlib/tst-strtod-overflow.c: New file.
71606         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71608 2012-08-25  Marek Polacek  <polacek@redhat.com>
71610         * time/time.h: Fix some typos in comments.
71612 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71614         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71615         * posix/tst-rfc3484-2.c: Likewise.
71616         * posix/tst-rfc3484-3.c: Likewise.
71618 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71620         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71621         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71623 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71625         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71626         #include of fxstatat64.c.
71628 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71630         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71631         * shadow/getspent_r.c: Likewise.
71632         * shadow/getspnam.c: Likewise.
71633         * shadow/getspnam_r.c: Likewise.
71634         * gshadow/getsgent.c: Likewise.
71635         * gshadow/getsgent_r.c: Likewise.
71636         * gshadow/getsgnam.c: Likewise.
71637         * gshadow/getsgnam_r.c: Likewise.
71638         * inet/getnetbyad.c: Likewise.
71639         * inet/getnetbyad_r.c: Likewise.
71640         * inet/getnetbynm.c: Likewise.
71641         * inet/getnetbynm_r.c: Likewise.
71642         * inet/getnetent.c: Likewise.
71643         * inet/getnetent_r.c: Likewise.
71644         * inet/getproto.c: Likewise.
71645         * inet/getproto_r.c: Likewise.
71646         * inet/getprtent.c: Likewise.
71647         * inet/getprtent_r.c: Likewise.
71648         * inet/getprtname.c: Likewise.
71649         * inet/getprtname_r.c: Likewise.
71650         * inet/getrpcbyname.c: Likewise.
71651         * inet/getrpcbyname_r.c: Likewise.
71652         * inet/getrpcbynumber.c: Likewise.
71653         * inet/getrpcbynumber_r.c: Likewise.
71654         * inet/getrpcent.c: Likewise.
71655         * inet/getrpcent_r.c: Likewise.
71656         * inet/getaliasent.c: Likewise.
71657         * inet/getaliasent_r.c: Likewise.
71658         * inet/getaliasname.c: Likewise.
71659         * inet/getaliasname_r.c: Likewise.
71660         * nscd/getgrgid_r.c: Likewise.
71661         * nscd/getgrnam_r.c: Likewise.
71662         * nscd/gethstbyad_r.c: Likewise.
71663         * nscd/gethstbynm3_r.c: Likewise.
71664         * nscd/getpwnam_r.c: Likewise.
71665         * nscd/getpwuid_r.c: Likewise.
71666         * nscd/getsrvbynm_r.c: Likewise.
71667         * nscd/getsrvbypt_r.c: Likewise.
71668         * nscd/gai.c: Likewise.
71670         * configure.in (build_nscd): New substituted variable, set
71671         by --disable-build-nscd and defaults to $use_nscd.
71672         * configure: Regenerated.
71673         * config.make.in (build-nscd): New substituted variable.
71674         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71675         Change conditional to require [$(build-nscd) = yes] as well.
71676         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71678         [BZ #13696]
71679         * configure.in (use_nscd): New substituted variable, set by
71680         --disable-nscd.  If enabled, define USE_NSCD.
71681         * configure: Regenerated.
71682         * config.h.in: Add USE_NSCD.
71683         * config.make.in (use-nscd): New substituted variable.
71684         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71685         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71686         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71687         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71688         (CFLAGS-getgrnam_r.c): Likewise.
71689         (CFLAGS-initgroups.c): Likewise.
71690         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71691         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71692         Variables removed.
71693         * inet/getnetgrent_r.c
71694         (nscd_setnetgrent): New function, broken out of ...
71695         (setnetgrent): ... here.  Call it.
71696         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71697         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71698         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71699         * nscd/Makefile (routines, aux): Move definitions after include of
71700         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71701         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71702         Conditionalize on [USE_NSCD].
71703         (is_nscd, nscd_init_cb): Likewise.
71704         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71705         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71706         * nss/nss_db/db-init.c: Likewise.
71707         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71708         [USE_NSCD].
71709         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71710         (make_request): Use it.
71711         (cache_valid_p): New function.
71712         (__check_pf): Use it.
71713         * NEWS: Add item for --disable-nscd.
71715 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71717         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71718         to support sed >= 4.2.1-20-ga9bf076.
71719         * configure: Regenerated.
71721 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71723         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71724         Conditionalize whole body on [IREL].
71726 2012-08-22  Jeff Law <law@redhat.com>
71728         [BZ #14505]
71729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71730         if the family is PF_UNSPEC.
71732 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71734         * Makerules (lib-version): Rename from V.
71735         (install-lib-nosubdir): Change V to lib-version.
71737 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71739         [BZ #14252]
71740         * powerpc32/power6/wcschr.c: New file.
71741         * powerpc32/power6/wcscpy.c: New file.
71742         * powerpc32/power6/wcsrchr.c: New file.
71743         * powerpc64/power6/wcschr.c: New file.
71744         * powerpc64/power6/wcscpy.c: New file.
71745         * powerpc64/power6/wcsrchr.c: New file.
71747 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71749         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71750         (two_way_short_needle): Use it.
71751         * string/strstr.c (AVAILABLE1_USES_J): Define.
71752         * string/strcasestr.c: Likewise.
71754         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71755         array references.
71756         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71758         [BZ #11607]
71759         * NEWS: Add an entry.
71760         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71761         define their defaults.
71762         (two_way_short_needle): Detect end-of-string on-the-fly.
71763         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71764         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71765         * string/bug-strcasestr1.c: New test.
71766         * string/Makefile: Run it.
71768 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71770         [BZ #11607]
71771         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71772         the first character.
71774 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71776         * csu/elf-init.c (__libc_csu_irel): Function removed.
71777         * csu/libc-start.c (apply_irel): New function.
71778         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71780 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71782         * sysdeps/unix/sysv/linux/kernel-features.h
71783         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71784         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71785         <kernel-features.h>.
71786         [__NR_fadvise64_64]: Make code unconditional.
71787         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71788         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71789         !__NR_fadvise64_64)]: Likewise.
71790         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71791         !__NR_fadvise64_64))]: Likewise.
71792         [__NR_fadvise64]: Make code unconditional.
71793         [!__NR_fadvise64]: Remove conditional code.
71794         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71795         <kernel-features.h>.
71796         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71797         unconditional.
71798         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71799         conditional code.
71800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71801         not include <kernel-features.h>.
71802         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71803         unconditional.
71804         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71805         conditional code.
71806         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71807         include <kernel-features.h>.
71808         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71809         unconditional.
71810         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71811         conditional code.
71813 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71815         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71816         slight instruction rearrangements per scrollpipe analysis.
71817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71819 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71821         * manual/syslog.texi (syslog; vsyslog, closelog):
71822         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71823         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71825         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71826         DSOCAPS to match condition on defining it.
71828 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71830         * sysdeps/unix/sysv/linux/kernel-features.h
71831         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71833         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71834         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71836         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71837         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71839         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71840         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71842         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71843         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71845         * sysdeps/unix/sysv/linux/kernel-features.h
71846         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71847         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71848         unconditional.
71849         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71850         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71851         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71852         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71853         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71854         Make code unconditional.
71855         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71856         (__mmap64) [!__NR_mmap2]: Likewise.
71857         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71858         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71859         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71860         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71861         [__NR_mmap2]: Make code unconditional.
71862         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71863         (__mmap64) [!__NR_mmap2]: Likewise.
71865 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71867         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71869 2012-08-18  Andreas Jaeger  <aj@suse.de>
71871         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71873 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71875         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71876         * include/unistd.h (__have_sock_cloexec): Likewise.
71877         (__have_pipe2): Likewise.
71878         (__have_dup3): Likewise.
71880 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71882         [BZ #9685]
71883         * include/unistd.h (__have_pipe2): Change define into an extern int.
71884         (__have_dup3): Likewise.
71885         * socket/have_sock_cloexec.c: Include fcntl.h.
71886         (__have_pipe2): New variable.
71887         (__have_dup3): Likewise.
71889 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71891         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71893 2012-08-17  Marek Polacek  <polacek@redhat.com>
71895         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71896         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71898 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71900         * configure.in: Add AC_SUBST for sysheaders.
71901         * configure: Regenerated.
71902         * config.make.in (sysheaders): New substituted variable.
71904         * sysdeps/unix/mkfifo.c: Moved ...
71905         * sysdeps/posix/mkfifo.c: ... here.
71906         * sysdeps/unix/mkfifoat.c: Moved ...
71907         * sysdeps/posix/mkfifoat.c: ... here.
71909         * sysdeps/unix/utime.c: Moved ...
71910         * sysdeps/posix/utime.c: ... here.
71912         * sysdeps/unix/time.c: Moved ...
71913         * sysdeps/posix/time.c: ... here.
71914         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71915         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71917         * sysdeps/unix/nice.c: Moved ...
71918         * sysdeps/posix/nice.c: ... here.
71920         * sysdeps/unix/alarm.c: Moved ...
71921         * sysdeps/posix/alarm.c: ... here.
71923         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71925 2012-08-17  Jeff Law <law@redhat.com>
71927         * intl/Makefile (codeset_mo): New variable.
71928         ($(codeset_mo)): New target.
71929         (tst-codeset.out): Depend on that.  Remove explicit rule.
71930         (tst-gettext3.out, tst-gettext5.out): Likewise.
71931         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71932         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71933         * intl/tst-codeset.sh: Remove.
71934         * intl/tst-gettext3.sh: Likewise.
71935         * intl/tst-gettext5.sh: Likewise.
71937 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71939         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71940         * sysdeps/unix/syscalls.list: ... here.
71942         * sysdeps/posix/getaddrinfo.c
71943         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71944         (gaiconf_init, gaiconf_reload): Use them.
71945         [!_STATBUF_ST_NSEC]
71946         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71947         Define using time_t rather than struct timespec.
71949         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71950         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71951         Macros removed.
71952         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71953         [!NO_THREADS].
71954         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71955         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71956         Likewise.
71958         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71959         __libc_cleanup_push argument.
71961         * bits/param.h: New file.
71962         * misc/sys/param.h: New file.
71963         * include/sys/param.h: New file.
71964         * misc/Makefile (headers): Add bits/param.h.
71965         * sysdeps/generic/sys/param.h: File removed.
71966         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71967         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71968         * sysdeps/mach/hurd/bits/param.h: New file.
71969         * sysdeps/mach/hurd/sys/param.h: File removed.
71971         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71972         last change.
71974         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71975         [_IO_MTSAFE_IO].
71976         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71977         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71978         New macros.
71980         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71981         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71982         rather than -D_IO_MTSAFE_IO conditionally.
71983         * stdio-common/Makefile (CPPFLAGS): Likewise.
71984         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71985         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71986         Use $(libio-mtsafe).
71987         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71988         of -D_IO_MTSAFE_IO.
71989         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71990         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71991         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71992         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71993         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71994         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71995         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71996         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71997         (CFLAGS-fread_u_chk.c): Likewise.
71998         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71999         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72000         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72001         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72002         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72003         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72004         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72005         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72006         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72008         * libio/Makefile: Test [$(libc-reentrant) = yes]
72009         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72011         * Makeconfig
72012         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72013         * sysdeps/pthread/configure: File removed.
72014         * sysdeps/pthread/Makeconfig: New file.
72015         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72016         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72018 2012-08-16  Gary Benson  <gbenson@redhat.com>
72020         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72021         unmapping the first object in a namespace.
72023 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72025         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72026         (__internal_setnetgrent): ... this.  Add internal_function to
72027         definition.  Add libc_hidden_def.
72028         (setnetgrent): Update caller.
72029         (internal_endnetgrent): Renamed to ...
72030         (__internal_endnetgrent): ... this.  Add internal_function to
72031         definition.  Add libc_hidden_def.
72032         (endnetgrent): Update caller.
72033         (internal_getnetgrent_r): Renamed to ...
72034         (__internal_getnetgrent_r): ... this.  Add internal_function to
72035         definition.  Add libc_hidden_def.
72036         (__getnetgrent_r): Update caller.
72037         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72039 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72041         * stdlib/longlong.h: Update from GCC.
72043 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72045         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72046         on _QL, which is set by umul_ppmm but never used.
72047         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72048         variables, which are set by GMP macros but never used.
72049         * stdio-common/_itowa.c (_itowa): Likewise.
72050         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72051         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72053 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72055         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72056         struct La_sh_regs is not constant.
72057         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72058         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72059         and struct La_sparc64_regs are not constant.
72061 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72063         * sysdeps/unix/sysv/linux/kernel-features.h
72064         (__ASSUME_POSIX_TIMERS): Remove.
72065         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72067         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72068         Make code unconditional.
72069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72070         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72071         Make code unconditional.
72072         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72073         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72074         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72075         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72076         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72077         Make code unconditional.
72078         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72079         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72080         (__libc_missing_posix_timers): Remove.
72082 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72084         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72085         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72087         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72089         * elf/dl-sym.c: Include <stdlib.h>.
72091         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72092         constants, which avoids warnings in 32-bit builds.
72094         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72095         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72097         * misc/lseek.c: File moved to ...
72098         * io/lseek.c: ... here.
72100         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72102         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72103         shifting LEN more than 31 bits at once.
72105 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72107         [BZ #14195]
72108         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72109         segmentation fault for a case of two empty input strings.
72110         * string/test-strncasecmp.c (check1): Renamed to...
72111         (bz12205): ...this.
72112         (bz14195): Add new testcase for two empty input strings and N > 0.
72113         (test_main): Call new testcase, adapt for renamed function.
72115 2012-08-15  Andreas Jaeger  <aj@suse.de>
72117         [BZ #14090]
72118         * crypt/md5test2.c: New test, based on test supplied by Serge
72119         Belyshev <belyshev@depni.sinp.msu.ru>.
72120         * crypt/Makefile (xtests): Add md5test-giant..
72121         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72123 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72125         [BZ #14090]
72126         * crypt/md5.c (md5_process_block): Don't assume the buffer
72127         length is less than 2**32.
72128         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72129         length is less than 2**64.
72131 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72133         * string/str-two-way.h: Include <sys/param.h>.
72134         (MAX): Macro removed.
72136         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72137         Move #define and #undef of memmove to just before and after
72138         including <string.h>.
72140         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72141         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72142         and after including <string.h>.  Move declarations of
72143         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72144         to before #include "string/memmove.c".
72146         * include/dirent.h: Declare __getdirentries.
72148         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72149         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72151 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72153         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72154         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72155         * sysdeps/i386/configure: Regenerated.
72156         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72157         STABS_CURRENT_FILE, and STABS_FUN.
72158         (END): Remove call to STABS_FUN_END.
72159         (STABS_CURRENT_FILE1): Delete.
72160         (STABS_CURRENT_FILE): Likewise.
72161         (STABS_FUN): Likewise.
72162         (STABS_FUN_END): Likewise.
72163         (STABS_FUN2): Likewise.
72164         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72165         * sysdeps/x86_64/configure: Regenerated.
72167 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72169         * elf/dl-open.c: Include <atomic.h>.
72170         * elf/dl-lookup.c: Likewise.
72172 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72174         * sysdeps/unix/sysv/linux/kernel-features.h
72175         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72176         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72177         unconditionally.
72178         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72179         unconditionally.
72180         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72181         condition on __ASSUME_CLONE_THREAD_FLAGS.
72183 2012-08-14  Andreas Jaeger  <aj@suse.de>
72185         * sysdeps/i386/fpu/libm-test-ulps: Update.
72187 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72189         * include/atomic.h (atomic_exchange_and_add): Split into ...
72190         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72191         New atomic macros.
72193 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72195         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72197 2012-08-13  Jeff Law <law@redhat.com>
72199         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72200         null byte in the output string.
72202 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72204         * sysdeps/unix/sysv/linux/kernel-features.h
72205         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72206         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72207         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72208         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72209         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72210         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72211         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72213 2012-08-09  Jeff Law <law@redhat.com>
72215         [BZ #13939]
72216         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72217         When avoid_arena is set, don't retry in the that arena.  Pick the
72218         next one, whatever it might be.
72219         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72220         (arena_lock): Pass in new parameter to arena_get2.
72221         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72222         arena_get2.
72223         (__libc_malloc): Unify retrying after main arena failure with
72224         __libc_memalign version.
72225         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72227 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72229         [BZ #14166]
72230         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72231         to __redirect_strstr.
72232         (__strstr_sse42): Use typeof __redirect_strstr.
72233         (__strstr_ia32): Likewise.
72234         (__libc_strstr): New prototype.
72235         (strstr): Renamed to ...
72236         (__libc_strstr): This.
72237         (strstr): New strong alias of __libc_strstr.
72238         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72239         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72240         __redirect_time.
72241         Include <time.h>.
72242         (__libc_time): New prototype.
72243         (time_ifunc): Replace time with __libc_time.
72244         (time): New strong alias and hidden definition of __libc_time.
72245         (__GI_time): Remove strong alias.
72246         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72247         Include <stddef.h>.
72248         (memmove): Redefined to __redirect_memmove.
72249         (__memmove_sse2): Use typeof __redirect_memmove.
72250         (__memmove_ssse3): Likewise.
72251         (__memmove_ssse3_back): Likewise.
72252         (__libc_memmove): New prototype.
72253         (memmove): Renamed to ...
72254         (__libc_memmove): This.
72255         (memmove): New strong alias of __libc_memmove.
72257 2012-08-08  Mark Salter  <msalter@redhat.com>
72259         * elf/elf.h
72260         (R_MN10300_TLS_GD): Define.
72261         (R_MN10300_TLS_LD): Likewise.
72262         (R_MN10300_TLS_LDO): Likewise.
72263         (R_MN10300_TLS_GOTIE): Likewise.
72264         (R_MN10300_TLS_IE): Likewise.
72265         (R_MN10300_TLS_LE): Likewise.
72266         (R_MN10300_TLS_DTPMOD): Likewise.
72267         (R_MN10300_TLS_DTPOFF): Likewise.
72268         (R_MN10300_TLS_TPOFF): Likewise.
72269         (R_MN10300_SYM_DIFF): Likewise.
72270         (R_MN10300_ALIGN): Likewise.
72271         (R_MN10300_NUM): Update.
72273 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72275         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72276         Remove.
72278 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72280         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72282         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72283         sysdeps/unix -> sysdeps/posix move.
72284         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72286 2012-08-07      Allan McRae     <allan@archlinux.org>
72288         [BZ #14303]
72289         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72290         (SUNOS_CPP): Likewise.
72291         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72292         not found.
72293         (open_input): Call CPP using execvp.
72295 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72297         * sysdeps/unix/sysv/linux/kernel-features.h
72298         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72299         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72300         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72301         (__ASSUME_WAITID_SYSCALL): Likewise.
72302         * sysdeps/unix/sysv/linux/dl-execstack.c
72303         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72304         code unconditional.
72305         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72306         conditional code.
72307         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72308         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72309         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72310         code.
72311         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72312         unconditional.
72313         [__ASSUME_WAITID_SYSCALL]: Likewise.
72314         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72316 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72318         * sysdeps/unix/closedir.c: Renamed to ...
72319         * sysdeps/posix/closedir.c: ... here.
72320         * sysdeps/unix/dirfd.c: Renamed to ...
72321         * sysdeps/posix/dirfd.c: ... here.
72322         * sysdeps/unix/dirstream.h: Renamed to ...
72323         * sysdeps/posix/dirstream.h: ... here.
72324         * sysdeps/unix/fdopendir.c: Renamed to ...
72325         * sysdeps/posix/fdopendir.c: ... here.
72326         * sysdeps/unix/opendir.c: Renamed to ...
72327         * sysdeps/posix/opendir.c: ... here.
72328         * sysdeps/unix/readdir.c: Renamed to ...
72329         * sysdeps/posix/readdir.c: ... here.
72330         * sysdeps/unix/readdir_r.c: Renamed to ...
72331         * sysdeps/posix/readdir_r.c: ... here.
72332         * sysdeps/unix/rewinddir.c: Renamed to ...
72333         * sysdeps/posix/rewinddir.c: ... here.
72334         * sysdeps/unix/seekdir.c: Renamed to ...
72335         * sysdeps/posix/seekdir.c: ... here.
72336         * sysdeps/unix/telldir.c: Renamed to ...
72337         * sysdeps/posix/telldir.c: ... here.
72338         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72339         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72340         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72341         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72343         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72344         * bits/fcntl.h: ... here.
72346         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72347         not 0.
72348         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72349         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72350         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72351         (struct flock): Move l_start, l_len to the beginning.
72352         Use __pid_t for l_pid.
72353         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72354         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72355         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72356         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72357         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72358         [__USE_LARGEFILE64] (struct flock64): New type.
72359         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72361         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72362         * bits/dirent.h: ... here.
72364         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72365         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72367 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72369         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72370         Change from 2.6.0 to 2.6.16.
72371         * sysdeps/unix/sysv/linux/configure: Regenerated.
72372         * sysdeps/unix/sysv/linux/kernel-features.h
72373         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72374         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72375         version.
72376         (__ASSUME_UTIMES): Likewise.
72377         (__ASSUME_CLONE_STOPPED): Remove.
72378         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72379         architectures, not kernel version.
72380         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72381         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72382         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72383         (__ASSUME_WAITID_SYSCALL): Likewise.
72384         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72385         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72386         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72387         refer to older versions.
72389 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72391         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72392         Define alphasort64 as an alias.
72393         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72394         Define versionsort64 as an alias.
72395         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72396         Define scandir64 as an alias.
72397         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72398         Define scandirat64 as an alias.
72399         * dirent/alphasort64.c (alphasort64):
72400         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72401         * dirent/versionsort64.c: Likewise.
72402         * dirent/scandir64.c: Likewise.
72403         * dirent/scandirat64.c: Likewise.
72404         * sysdeps/wordsize-64/alphasort.c: File removed.
72405         * sysdeps/wordsize-64/alphasort64.c: File removed.
72406         * sysdeps/wordsize-64/scandir.c: File removed.
72407         * sysdeps/wordsize-64/scandir64.c: File removed.
72408         * sysdeps/wordsize-64/scandirat.c: File removed.
72409         * sysdeps/wordsize-64/scandirat64.c: File removed.
72410         * sysdeps/wordsize-64/versionsort.c: File removed.
72411         * sysdeps/wordsize-64/versionsort64.c: File removed.
72412         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72413         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72414         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72415         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72416         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72417         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72418         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72419         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72421         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72423         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72425         [defined __arch64__ || defined __sparcv9]
72426         (__INO_T_MATCHES_INO64_T): New macro.
72427         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72428         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72429         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72430         * sysdeps/unix/sysv/linux/bits/dirent.h
72431         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72432         (_DIRENT_MATCHES_DIRENT64): New macro.
72434         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72435         Define lockf64 as an alias.
72436         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72437         Define fseeko64 as an alias.
72438         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72439         Define ftello64 as an alias.
72440         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72441         Define _IO_fgetpos64 and fgetpos64 as aliases.
72442         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72443         Define _IO_fsetpos64 and fsetpos64 as aliases.
72444         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72445         Conditionalize body on this.
72446         * libio/fseeko64.c: Likewise.
72447         * libio/ftello64.c: Likewise.
72448         * libio/iofgetpos64.c: Likewise.
72449         * libio/iofsetpos64.c: Likewise.
72450         * sysdeps/wordsize-64/lockf.c: File removed.
72451         * sysdeps/wordsize-64/lockf64.c: File removed.
72452         * sysdeps/wordsize-64/fseeko.c: File removed.
72453         * sysdeps/wordsize-64/fseeko64.c: File removed.
72454         * sysdeps/wordsize-64/ftello.c: File removed.
72455         * sysdeps/wordsize-64/ftello64.c: File removed.
72456         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72457         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72458         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72459         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72460         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72461         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72462         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72463         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72464         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72465         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72466         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72467         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72468         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72469         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72471         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72472         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72473         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72474         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72475         [defined __arch64__ || defined __sparcv9]
72476         (__OFF_T_MATCHES_OFF64_T): New macro.
72477         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72478         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72479         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72480         (__OFF_T_MATCHES_OFF64_T): New macro.
72482 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72484         * stdlib/secure-getenv.c (__secure_getenv): Replace
72485         GLIBC_2_16 with GLIBC_2_17.
72487 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72489         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72490         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72492 2012-08-03  David S. Miller  <davem@davemloft.net>
72494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72496 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72499         Remove.
72500         (__ASSUME_CORRECT_SI_PID): Likewise.
72501         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72502         (__ASSUME_TMPFS_NAME): Likewise.
72503         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72504         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72505         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72506         (HAVE_AUX_SECURE): Make definition unconditional.
72507         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72508         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72510 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72512         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72513         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72514         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72515         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72516         __eloop_threshold instead of SYMLOOP_MAX.
72518         * sysdeps/generic/eloop-threshold.h: New file.
72519         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72520         of MAXSYMLINKS.
72521         * elf/chroot_canon.c (chroot_canon): Likewise.
72523 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72525         [BZ #13717]
72526         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72527         Change to 2.6.0 everywhere.
72528         * sysdeps/unix/sysv/linux/configure: Regenerated.
72529         * sysdeps/unix/sysv/linux/kernel-features.h
72530         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72531         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72532         kernel versions.
72533         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72534         (__ASSUME_FUTEX_REQUEUE): Remove.
72535         (__ASSUME_STATFS64): Define unconditionally.
72536         (__ASSUME_AT_SECURE): Likewise.
72537         (__ASSUME_CORRECT_SI_PID): Likewise.
72538         (__ASSUME_TGKILL): Define without depending on kernel version for
72539         i386.
72540         (__ASSUME_UTIMES): Likewise.
72541         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72542         kernel version.
72543         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72544         (__ASSUME_TMPFS_NAME): Likewise.
72545         * README: Update reference to Linux kernel versions.
72547 2012-08-02  Marek Polacek  <polacek@redhat.com>
72549         [BZ #14150]
72550         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72551         libc_cv_asm_type_prefix with %.
72552         * configure: Regenerated.
72553         * include/libc-symbols.h: Remove comment about
72554         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72555         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72556         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72557         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72558         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72559         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72560         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72561         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72562         * elf/tst-unique2mod1.c: Likewise.
72563         * elf/tst-unique1mod2.c: Likewise.
72564         * elf/tst-unique1mod1.c: Likewise.
72565         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72566         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72567         Replace ASM_TYPE_DIRECTIVE with .type.
72568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72569         * sysdeps/i386/sysdep.h: Likewise.
72570         * sysdeps/x86_64/sysdep.h: Likewise.
72571         * sysdeps/sh/sysdep.h: Likewise.
72572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72573         Do not define ASM_TYPE_DIRECTIVE.
72574         * sysdeps/powerpc/sysdep.h: Likewise.
72575         * sysdeps/powerpc/powerpc32/sysdep.h:
72576         Replace ASM_TYPE_DIRECTIVE with .type.
72577         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72578         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72579         * sysdeps/i386/fpu/e_powf.S: Likewise.
72580         * sysdeps/i386/fpu/e_expl.S: Likewise.
72581         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72582         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72583         * sysdeps/i386/fpu/e_pow.S: Likewise.
72584         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72585         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72586         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72587         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72588         * sysdeps/i386/fpu/e_log2.S: Likewise.
72589         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72590         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72591         * sysdeps/i386/fpu/e_powl.S: Likewise.
72592         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72593         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72594         * sysdeps/i386/fpu/e_logl.S: Likewise.
72595         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72596         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72597         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72598         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72599         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72600         * sysdeps/i386/fpu/e_log.S: Likewise.
72601         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72602         * sysdeps/i386/fpu/e_logf.S: Likewise.
72603         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72604         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72605         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72606         * sysdeps/i386/fpu/e_log10.S: Likewise.
72607         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72608         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72609         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72610         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72611         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72612         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72613         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72614         * sysdeps/i386/i686/strtok.S: Likewise.
72615         * sysdeps/i386/i386-mcount.S: Likewise.
72616         * sysdeps/i386/strtok.S: Likewise.
72617         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72618         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72619         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72620         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72621         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72622         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72623         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72624         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72625         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72626         * sysdeps/x86_64/_mcount.S: Likewise.
72627         * sysdeps/x86_64/strtok.S: Likewise.
72628         * sysdeps/sh/_mcount.S: Likewise.
72630 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72632         * libio/iofopen.c: Include <fcntl.h>.
72633         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72634         (_IO_fopen64, fopen64): Define as aliases.
72635         * libio/iofopen64.c: Include <fcntl.h>.
72636         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72637         Conditionalize body on this.
72638         * sysdeps/wordsize-64/iofopen.c: File removed.
72639         * sysdeps/wordsize-64/iofopen64.c: File removed.
72641 2012-08-01  Marek Polacek  <polacek@redhat.com>
72643         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72644         Use dlfcn directly instead of a variable.
72645         (binfmt-subdir): Do not define.
72646         (dlfcn): Likewise.
72648 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72651         Remove all definitions.
72652         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72653         <kernel-features.h>.
72654         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72655         (miss_F_GETOWN_EX): Remove all definitions.
72656         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72657         macro definition.
72658         [!__ASSUME_FCNTL64]: Remove conditional code.
72659         [__ASSUME_FCNTL64]: Make code unconditional.
72660         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72661         <kernel-features.h>.
72662         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72663         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72664         (lockf64) [__NR_fcntl64]: Make code unconditional.
72665         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72667         * sysdeps/unix/sysv/linux/kernel-features.h
72668         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72669         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72670         Make code unconditional.
72671         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72672         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72674         [__NR_vfork]: Make code unconditional.
72675         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72676         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72678         [__NR_vfork]: Make code unconditional.
72679         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72680         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72682 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72684         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72685         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72687         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72688         Define mkstemp64 as an alias.
72689         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72690         Define mkstemps64 as an alias.
72691         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72692         Define mkostemp64 as an alias.
72693         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72694         Define mkostemps64 as an alias.
72695         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72696         Conditionalize body on this.
72697         * misc/mkostemp64.c: Likewise.
72698         * misc/mkostemps64.c: Likewise.
72699         * misc/mkstemps64.c: Likewise.
72700         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72701         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72702         * sysdeps/wordsize-64/mkostemp.c: File removed.
72703         * sysdeps/wordsize-64/mkstemp.c: File removed.
72704         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72705         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72706         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72707         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72709         [BZ #14138]
72710         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72711         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72712         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72713         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72715         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72716         compat_symbol macros from <shlib-compat.h> rather than the underlying
72717         default_symbol_version and symbol_version macros, so that DEFAULT
72718         lines in shlib-versions are respected.
72719         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72721 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72723         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72724         Declare with warn_unused_result.
72725         (setgid, setregid, setegid, setresgid): Likewise.
72726         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72727         Likewise.
72728         * WUR-REPORT: Remove set*id functions.
72730 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72732         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72734 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72736         [BZ #10191]
72737         * include/sys/socket.h (__libc_accept, __libc_accept4):
72738         Add attribute_hidden.
72739         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72741         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72742         use of PTR_MANGLE.
72743         * inet/getnetgrent_r.c (setup): Likewise.
72745         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72747 2012-07-31  David S. Miller  <davem@davemloft.net>
72749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72751 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72753         [BZ #13629]
72754         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72755         value between 1.0 and 2.0 and smaller part has absolute value less
72756         than 1.0.
72757         * math/s_clog10.c (__clog10): Likewise.
72758         * math/s_clog10f.c (__clog10f): Likewise.
72759         * math/s_clog10l.c (__clog10l): Likewise.
72760         * math/s_clogf.c (__clogf): Likewise.
72761         * math/s_clogl.c (__clogl): Likewise.
72762         * math/libm-test.inc (clog_test): Add more tests.
72763         (clog10_test): Likewise.
72764         * sysdeps/i386/fpu/libm-test-ulps: Update.
72765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72767 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72769         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72770         Exit with zero in case no suitable GID is found, and write a
72771         message to standard error.
72773 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72775         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72776         rather than to 1.
72777         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72778         (MAXPATHLEN): Removed.
72779         (NOGROUP, NODEV): New macros.
72780         (setbit, clrbit, isset, isclr): New macros.
72781         (howmany, roundup, powerof2): New macros.
72782         (DEV_BSIZE): New macro.
72784         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72785         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72787         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72788         definition on [!__NO_LONG_DOUBLE_MATH].
72790         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72791         PTR_MANGLE and PTR_DEMANGLE.
72793         * socket/accept4.c (accept4): Rename to __libc_accept4.
72794         Define accept4 as a weak alias.
72796         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72797         on [_DIRENT_HAVE_D_TYPE].
72798         * io/ftw.c (ftw_dir): Likewise.
72800         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72802         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72804         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72805         Use the BSD numbers rather than the arbitrary ones we had.
72806         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72807         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72808         (SIGXCPU, SIGXFSZ): New macros.
72809         (_NSIG): Now 32.
72811         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72812         initializer on [_LIBC_REENTRANT].
72814         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72815         definitions inside [_POSIX_MAPPED_FILES].
72817         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72819         * dirent/opendir.c: Include <fcntl.h>.
72821         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72822         (__libc_getspecific): Likewise.
72823         (__libc_key_create): Likewise.
72825         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72826         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72827         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72828         (tmpfile64): Define as alias.
72829         * sysdeps/wordsize-64/tmpfile.c: File removed.
72830         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72831         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72832         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72834         * stdio-common/vfscanf.c: Include <stdbool.h>.
72835         * nss/makedb.c: Likewise.
72836         * stdio-common/_i18n_number.h: Likewise.
72837         * argp/argp-help.c: Likewise.
72838         * posix/wordexp.c: Likewise.
72839         * sysdeps/posix/spawni.c: Likewise.
72840         * nss/nss_files/files-initgroups.c: Likewise.
72841         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72842         * nss/nss_files/files-initgroups.c: Likewise.
72843         * nss/nss_db/db-netgrp.c: Likewise.
72844         * nss/nss_db/db-initgroups.c: Likewise.
72845         * io/fchmodat.c: Include <sys/stat.h>.
72847         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72848         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72850         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72851         [HAVE_MMAP].
72853         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72854         Add multiple inclusion protection.
72856 2012-07-27  David S. Miller  <davem@davemloft.net>
72858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72860 2012-07-27  Gary Benson  <gbenson@redhat.com>
72862         [BZ #14298]
72863         * elf/rtld.c: Include <stap-probe.h>.
72864         (dl_main): Added static probes "init_start" and "init_complete".
72865         * elf/dl-load.c: Include <stap-probe.h>.
72866         (lose): Take new parameter "nsid".
72867         Added static probe "map_failed".
72868         (_dl_map_object_from_fd): Pass namespace id to lose.
72869         Added static probe "map_start".
72870         (open_verify): Pass namespace id to lose.
72871         * elf/dl-open.c: Include <stap-probe.h>.
72872         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72873         and "reloc_complete".
72874         * elf/dl-close.c: Include <stap-probe.h>.
72875         (_dl_close_worker): Added static probes "unmap_start" and
72876         "unmap_complete".
72877         * elf/rtld-debugger-interface.txt: New file documenting the above.
72879 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72881         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72882         rather than a string variable.
72883         * sunrpc/rpc_main.c (h_output): Likewise.
72884         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72886 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72888         * inet/check_native.c: New file.
72890 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72892         [BZ #13629]
72893         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72894         if larger part has absolute value 1.0.
72895         * math/s_clog10.c (__clog10): Likewise.
72896         * math/s_clog10f.c (__clog10f): Likewise.
72897         * math/s_clog10l.c (__clog10l): Likewise.
72898         * math/s_clogf.c (__clogf): Likewise.
72899         * math/s_clogl.c (__clogl): Likewise.
72900         * math/libm-test.inc (clog_test): Add more tests.
72901         (clog10_test): Likewise.
72902         * sysdeps/i386/fpu/libm-test-ulps: Update.
72903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72905         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72906         (pltexit): Likewise.
72907         (La_regs): Likewise.
72908         (La_retval): Likewise.
72909         (int_retval): Likewise.
72910         Update #error for removed macros to refer only to definitions in
72911         tst-audit.h.
72912         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72913         macro.
72914         (pltexit): Likewise.
72915         (La_regs): Likewise.
72916         (La_retval): Likewise.
72917         (int_retval): Likewise.
72918         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72919         macro.
72920         (pltexit): Likewise.
72921         (La_regs): Likewise.
72922         (La_retval): Likewise.
72923         (int_retval): Likewise.
72924         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72925         macro.
72926         (pltexit): Likewise.
72927         (La_regs): Likewise.
72928         (La_retval): Likewise.
72929         (int_retval): Likewise.
72930         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72931         macro.
72932         (pltexit): Likewise.
72933         (La_regs): Likewise.
72934         (La_retval): Likewise.
72935         (int_retval): Likewise.
72936         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72937         macro.
72938         (pltexit): Likewise.
72939         (La_regs): Likewise.
72940         (La_retval): Likewise.
72941         (int_retval): Likewise.
72942         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72943         macro.
72944         (pltexit): Likewise.
72945         (La_regs): Likewise.
72946         (La_retval): Likewise.
72947         (int_retval): Likewise.
72948         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72949         macro definitions in tst-audit.h.
72950         * sysdeps/i386/tst-audit.h: New file.
72951         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72952         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72953         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72954         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72955         * sysdeps/sh/tst-audit.h: Likewise.
72956         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72957         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72958         * sysdeps/x86_64/tst-audit.h: Likewise.
72960 2012-07-26  Andreas Jaeger  <aj@suse.de>
72962         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72963         ptrace.
72965         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72966         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72967         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72968         PTRACE_O_MASK.
72969         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72970         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72971         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72973         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72974         value.
72976         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72977         _sigsys.
72978         (si_call_addr, si_syscall, si_arch): Define new macro.
72979         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72980         _sigsys.
72981         (si_call_addr, si_syscall, si_arch): Define new marcro.
72982         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72983         _sigsys.
72984         (si_call_addr, si_syscall, si_arch): Define new macro.
72985         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72986         _sigsys.
72987         (si_call_addr, si_syscall, si_arch): Define new macro.
72989 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72991         [BZ #13717]
72992         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72993         Change to 2.4.21 where previously 2.4.1.
72994         * sysdeps/unix/sysv/linux/configure: Regenerated.
72995         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72996         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72997         Linux kernel version.
72998         (__ASSUME_STD_AUXV): Remove.
72999         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73000         kernel version.
73001         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73002         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73003         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73004         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73005         (__ASSUME_NETLINK_SUPPORT): Likewise.
73006         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73007         (__no_netlink_support): Remove conditional definition.
73008         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73009         Remove.
73010         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73011         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73012         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73013         (if_nameindex_ioctl): Remove.
73014         (if_nameindex_netlink): Do not handle __no_netlink_support.
73015         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73016         code.
73017         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73018         Remove conditional code.
73019         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73020         code.
73021         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73022         unconditional.
73023         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73024         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73025         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73026         Remove.
73027         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73028         [!__ASSUME_STD_AUXV]: Remove conditional code.
73029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73030         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73031         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73033         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73034         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73035         code.
73036         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73038         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73039         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73040         conditional code.
73041         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73043         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73044         code.
73045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73046         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73047         conditional code.
73048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73049         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73050         code unconditional.
73051         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73052         conditional code.
73053         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73054         unconditional.
73055         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73056         conditional code.
73057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73058         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73059         unconditional.
73060         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73061         conditional code.
73062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73063         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73064         code unconditional.
73065         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73066         conditional code.
73067         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73068         unconditional.
73069         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73070         conditional code.
73071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73072         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73073         code unconditional.
73074         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73075         conditional code.
73076         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73077         unconditional.
73078         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73079         conditional code.
73081 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73083         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73084         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73085         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73086         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73087         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73088         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73089         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73090         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73091         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73092         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73093         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73094         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73095         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73096         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73097         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73098         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73099         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73100         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73101         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73102         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73103         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73104         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73107 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73109         * Versions.def: Add GLIBC_2.17.
73110         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73111         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73112         Introduce __libc_secure_getenv.
73113         * stdlib/Versions (2.17): Add secure_getenv
73114         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73115         * stdlib/secure-getenv.c: Rename __secure_getenv to
73116         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73117         symbol __secure_getenv for GLIBC_2.0.
73118         * stdlib/tst-secure-getenv.c: New.
73119         * stdlib/Makefile (tests): Add testcase.
73120         * manual/startup.texi (Environment Access): Document
73121         secure_getenv.
73122         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73123         __libc_secure_getenv.
73124         * inet/ruserpass.c (ruserpass): Likewise.
73125         * malloc/mtrace.c (mtrace): Likewise.
73126         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73127         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73128         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73129         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73130         HAVE_SECURE_GETENV.
73131         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73132         __secure_getenv to __libc_secure_getenv.
73133         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73135         Likewise.
73136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73137         Likewise.
73138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73140         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73143         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73146 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73148         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73149         (struct La_i86_retval): Likewise.
73150         (struct La_x86_64_regs): Likewise.
73151         (struct La_x86_64_retval): Likewise.
73152         (struct La_x32_regs): Likewise.
73153         (struct La_x32_retval): Likewise.
73154         (struct La_ppc32_regs): Likewise.
73155         (struct La_ppc32_retval): Likewise.
73156         (struct La_ppc64_regs): Likewise.
73157         (struct La_ppc64_retval): Likewise.
73158         (struct La_sh_regs): Likewise.
73159         (struct La_sh_retval): Likewise.
73160         (struct La_s390_32_regs): Likewise.
73161         (struct La_s390_32_retval): Likewise.
73162         (struct La_s390_64_regs): Likewise.
73163         (struct La_s390_64_retval): Likewise.
73164         (struct La_sparc32_regs): Likewise.
73165         (struct La_sparc32_retval): Likewise.
73166         (struct La_sparc64_regs): Likewise.
73167         (struct La_sparc64_retval): Likewise.
73168         (struct audit_ifaces): Remove architecture-specific pltenter and
73169         pltexit members.
73170         * sysdeps/i386/ldsodefs.h: New file.
73171         * sysdeps/powerpc/ldsodefs.h: Likewise.
73172         * sysdeps/s390/ldsodefs.h: Likewise.
73173         * sysdeps/sh/ldsodefs.h: Likewise.
73174         * sysdeps/sparc/ldsodefs.h: Likewise.
73175         * sysdeps/x86_64/ldsodefs.h: Likewise.
73177 2012-07-25  Marek Polacek  <polacek@redhat.com>
73179         [BZ #6808]
73180         * math/libm-test.inc (yn_test): Add another test.
73181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73182         to ERANGE when the result is +-Inf.
73183         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73184         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73185         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73186         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73188 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73190         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73191         equal to 0.
73192         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73193         clock_t.
73194         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73196 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73198         * configure.in <sysdeps resolving>: Correct printing
73199         Implies_before.
73200         * configure: Regenerate.
73202 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73204         * math/w_ilogb.c: Include <limits.h>.
73205         * math/w_ilogbl.c: Likewise.
73207 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73209         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73210         va_copy.  Document allowing for unavailable va_copy only as
73211         pre-C99 compatibility.
73212         * manual/string.texi (Copying and Concatenation): Use va_copy
73213         instead of __va_copy in concat example.
73215 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73217         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73218         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73219         it if not null.
73221         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73222         with O_NOLINK passed to __file_name_lookup.
73224         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73225         with O_NOLINK passed to __file_name_lookup.
73227         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73228         negative N or less than NGIDS.
73230         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73231         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73232         enough.  Use memcpy instead of strncpy.
73234 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73236         * elf/Makefile (check-data): Remove.
73237         (localplt.data): New vpath directive.
73238         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73239         instead of $(check-data).
73240         * scripts/data/localplt-generic.data: Move to ...
73241         * sysdeps/generic/localplt.data: ... here.
73242         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73243         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73244         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73246         ... here.
73247         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73249         ... here.
73250         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73252         ... here.
73253         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73255         ... here.
73256         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73258         ... here.
73259         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73261         ... here.
73263 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73265         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73266         PPC32 and PPC64 files.
73267         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73268         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73270 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73272         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73273         __makecontext_ret to ...
73274         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73275         ... here and call exit if uc_link is NULL.  New file.
73276         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73277         __makecontext_ret.S.
73278         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73279         __makecontext_ret to ...
73280         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73281         ... here and call exit if uc_link is NULL.  New file.
73282         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73283         __makecontext_ret.S.
73285 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73287         * elf/elf.h (R_390_IRELATIVE): New definition.
73288         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73289         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73290         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73291         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73292         (elf_machine_lazy_rel): Likewise.
73293         * sysdeps/s390/dl-irel.h: New file.
73294         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73295         * sysdeps/s390/s390-64/memset.S: New asm code.
73296         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73297         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73298         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73299         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73300         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73301         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73302         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73303         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73304         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73305         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73306         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73307         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73308         * sysdeps/s390/s390-32/memset.S: New asm code.
73309         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73311 2012-07-17  Marek Polacek  <polacek@redhat.com>
73313         [BZ #14349]
73314         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73315         * sysdeps/s390/s390-64/configure.in: Likewise.
73316         * sysdeps/sparc/configure.in: Likewise.
73317         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73318         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73319         * sysdeps/i386/configure.in: Likewise.
73320         * sysdeps/x86_64/configure.in: Likewise.
73321         * sysdeps/sh/configure.in: Likewise.
73322         * sysdeps/s390/s390-32/configure: Regenerated.
73323         * sysdeps/s390/s390-64/configure: Likewise.
73324         * sysdeps/x86_64/configure: Likewise.
73325         * sysdeps/sh/configure: Likewise.
73326         * sysdeps/powerpc/powerpc64/configure: Likewise.
73327         * sysdeps/powerpc/powerpc32/configure: Likewise.
73328         * sysdeps/sparc/configure: Likewise.
73329         * sysdeps/i386/configure: Likewise.
73331         * elf/dl-open.c: Comment fixes.
73333 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73335         * Makefile [CXX] (check-data): Remove.
73336         [CXX] (c++-types.data): New vpath directive.
73337         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73338         vpath.  Do not allow for C++ type data being missing.
73339         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73340         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73341         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73342         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73343         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73344         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73345         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73347         ... here.
73348         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73350         ... here.
73351         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73353         ... here.
73354         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73356         ... here.
73357         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73359         ... here.
73360         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73362         ... here.
73363         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73365         ... here.
73366         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73369         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73370         definitions to architecture-specific files.
73371         (TLS_IE): Likewise.
73372         (TLS_LD): Likewise.
73373         (TLS_GD): Likewise.
73374         * sysdeps/i386/tls-macros.h: New file.
73375         * sysdeps/powerpc/tls-macros.h: Likewise.
73376         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73377         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73378         * sysdeps/sh/tls-macros.h: Likewise.
73379         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73380         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73381         * sysdeps/x86_64/tls-macros.h: Likewise.
73383 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73385         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73386         zero value for regular exit case.
73388         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73389         (__start_context): Preserve zero value for regular exit case.
73391 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73392             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73394         * manual/setjmp.texi (setcontext): Clarify normal process
73395         termination when uc_link is the null pointer.
73396         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73397         exit call.
73399 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73401         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73402         preprocessor.  Test for each exception mask separately.
73404 2012-07-16  Andreas Jaeger  <aj@suse.de>
73406         * po/ru.po: Update from translation team.
73408 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73410         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73411         equal to 0.
73412         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73413         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73414         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73415         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73418 2012-07-13  Andreas Jaeger  <aj@suse.de>
73420         * po/fr.po: Update from translation team.
73422 2012-07-12  Marek Polacek  <polacek@redhat.com>
73424         [BZ #14173]
73425         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73426         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73427         loop condition.
73429 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73431         [BZ #13717]
73432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73433         Change to 2.4.1 where previously 2.4.0.
73434         * sysdeps/unix/sysv/linux/configure: Regenerated.
73435         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73436         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73437         version.
73438         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73439         (__ASSUME_AT_CLKTCK): Remove.
73440         (__ASSUME_AT_PAGESIZE): Likewise.
73441         (__ASSUME_AT_XID): Likewise.
73442         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73443         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73444         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73445         unconditionally.
73446         (HAVE_AUX_PAGESIZE): Likewise.
73447         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73448         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73449         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73451 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73453         [BZ #14307]
73454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73455         the temporary buffer used to invoke __gethostbyname2_r,
73456         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73457         host_data / struct gaih_addrtuple.
73458         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73459         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73460         header file nss/nsswitch.h.
73461         * nss/nsswitch.h (global scope): Add definition of implementation
73462         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73463         resolv/nss_dns/dns-host.c).
73465 2012-07-11  Andreas Jaeger  <aj@suse.de>
73467         * po/fr.po: Update from translation team.
73469         * po/sv.po: Update from translation team
73470         * po/fr.po: Another update from translation team.
73472 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73474         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73475         for subnormals or multiply small sinh result by itself.
73476         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73479 2012-07-11  David S. Miller  <davem@davemloft.net>
73481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73483 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73485         [BZ #14347]
73486         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73487         (INTERNAL_MARK): Shift it here.
73489 2012-07-10  Marek Polacek  <polacek@redhat.com>
73491         [BZ #14151]
73492         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73493         libc_cv_asm_global_directive with .globl.
73494         * configure: Regenerated.
73495         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73496         with .globl.
73497         * sysdeps/i386/configure: Regenerated.
73498         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73499         with .globl.
73500         * sysdeps/x86_64/configure: Regenerated.
73501         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73502         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73503         * elf/tst-unique2mod2.c: Likewise.
73504         * elf/tst-unique2mod1.c: Likewise.
73505         * elf/tst-unique1mod2.c: Likewise.
73506         * elf/tst-unique1mod1.c: Likewise.
73507         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73508         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73510         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73511         * sysdeps/mach/sysdep.h: Likewise.
73512         * sysdeps/i386/sysdep.h: Likewise.
73513         * sysdeps/i386/i386-mcount.S: Likewise.
73514         * sysdeps/x86_64/_mcount.S: Likewise.
73515         * sysdeps/x86_64/sysdep.h: Likewise.
73516         * sysdeps/sh/_mcount.S: Likewise.
73517         * sysdeps/sh/sysdep.h: Likewise.
73518         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73519         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73520         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73521         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73522         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73523         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73524         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73525         * locale/localeinfo.h: Likewise.
73526         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73527         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73529 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73531         [BZ #14336]
73532         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73533         system".
73534         * manual/message.texi (The Uniforum approach): Likewise.
73535         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73536         (glibc iconv Implementation): Likewise.
73538 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73540         [BZ #14337]
73541         * math/s_clog.c (__clog): Avoid scaling a value down where that
73542         could result in underflow.
73543         * math/s_clog10.c (__clog10): Likewise.
73544         * math/s_clog10f.c (__clog10f): Likewise.
73545         * math/s_clog10l.c (__clog10l): Likewise.
73546         * math/s_clogf.c (__clogf): Likewise.
73547         * math/s_clogl.c (__clogl): Likewise.
73548         * math/libm-test.inc (clog_test): Add more tests.
73549         (clog10_test): Likewise.
73550         * sysdeps/i386/fpu/libm-test-ulps: Update.
73551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73553 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73555         [BZ #14283]
73556         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73557         by 7 not 8 to examine high bit of fractional part.
73559         [BZ #14042]
73560         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73561         for call to __mcount_internal.
73562         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73563         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73564         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73566 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73568         [BZ #14154]
73569         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73570         approximation for values within 0x1p-13f of an odd multiple of
73571         pi/4.
73572         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73573         exception.  Add more tests.
73574         * sysdeps/i386/fpu/libm-test-ulps: Update.
73576         [BZ #6778]
73577         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73578         inputs and return -1 for them.  Do not check for +Inf in case not
73579         reachable for +Inf.
73580         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73581         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73582         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73583         and return -1 for them.  Do not check for +Inf in case not
73584         reachable for +Inf.
73585         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73586         define.
73587         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73588         and return -1 for them.  Do not check for +Inf in case not
73589         reachable for +Inf.
73590         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73591         spurious underflow.
73592         * sysdeps/i386/fpu/libm-test-ulps: Update.
73593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73595 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73597         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73599 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73601         [BZ #14157]
73602         [BZ #14331]
73603         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73604         could result in spurious underflow.  Scale down values above
73605         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73606         * math/s_csqrtf.c (__csqrtf): Likewise.
73607         * math/s_csqrtl.c (__csqrtl): Likewise.
73608         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73609         spurious underflow.
73610         * sysdeps/i386/fpu/libm-test-ulps: Update.
73611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73613 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73615         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73616         xopen-msg.sed.
73617         * catgets/xopen-msg.awk: New file.
73618         * catgets/xopen-msg.sed: Removed.
73620         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73621         po2text.sed.
73622         * intl/po2test.awk: New file.
73623         * intl/po2test.sed: Removed.
73625 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73627         [BZ #14328]
73628         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73629         or multiply small sinh result by itself.
73630         * math/s_ctanf.c (__ctanf): Likewise.
73631         * math/s_ctanh.c (__ctanh): Likewise.
73632         * math/s_ctanhf.c (__ctanhf): Likewise.
73633         * math/s_ctanhl.c (__ctanhl): Likewise.
73634         * math/s_ctanl.c (__ctanl): Likewise.
73635         * math/libm-test.inc (ctan_test_tonearest): New function.
73636         (ctan_test_towardzero): Likewise.
73637         (ctan_test_downward): Likewise.
73638         (ctan_test_upward): Likewise.
73639         (ctanh_test_tonearest): Likewise.
73640         (ctanh_test_towardzero): Likewise.
73641         (ctanh_test_downward): Likewise.
73642         (ctanh_test_upward): Likewise.
73643         (main): Call these new functions.
73644         * sysdeps/i386/fpu/libm-test-ulps: Update.
73645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73647 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73649         * .gitignore: Delete /ports entry.
73651 2012-07-03  Andreas Jaeger  <aj@suse.de>
73653         * po/bg.po: Update from translation team.
73654         * po/cs.po: Likewise.
73655         * po/de.po: Likewise.
73656         * po/hr.po: Likewise.
73657         * po/nl.pl: Likewise.
73658         * po/pl.po: Likewise.
73659         * po/vi.po: Likewise.
73661 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73663         * Makeconfig [!+link] (+link-before-libc): New variable.
73664         [!+link] (+link-after-libc): Likewise.
73665         [!+link] (+link-tests): Likewise.
73666         [!+link] (+link): Define in terms of $(+link-before-libc) and
73667         $(+link-after-libc).
73668         [!+link-static] (+link-static-before-libc): New variable.
73669         [!+link-static] (+link-static-after-libc): Likewise.
73670         [!+link-static] (+link-static-tests): Likewise.
73671         [!+link-static] (+link-static): Define in terms of
73672         $(+link-static-before-libc) and $(+link-static-after-libc).
73673         [build-shared] (link-libc-before-gnulib): New variable.
73674         [build-shared] (link-libc-tests): Likewise.
73675         [build-shared] (link-libc): Define in terms of
73676         $(link-libc-before-gnulib).
73677         [!build-shared] (link-libc-tests): New variable.
73678         (link-libc-static-tests): New variable.
73679         [!gnulib] (gnulib-arch): New variable.
73680         [!gnulib] (gnulib-tests): Likewise.
73681         [!gnulib] (static-gnulib-arch): Likewise.
73682         [!gnulib] (static-gnulib-tests): Likewise.
73683         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73684         Define with "=" instead of ":=".
73685         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73686         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73687         * Rules (binaries-all-notests): New variable.
73688         (binaries-all-tests): Likewise.
73689         (binaries-static-notests): Likewise.
73690         (binaries-static-tests): Likewise.
73691         (binaries-all): Define using $(binaries-all-notests) and
73692         $(binaries-all-tests).
73693         (binaries-static): Define using $(binaries-static-notests) and
73694         $(binaries-static-tests).
73695         (binaries-shared-tests): New variable.
73696         (binaries-shared-notests): Likewise.
73697         (binaries-shared): Remove variable.
73698         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73699         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73700         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73701         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73702         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73703         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73704         * elf/Makefile (sln-modules): New variable.
73705         (extra-objs): Add $(sln-modules:=.o).
73706         (ldconfig-modules): Add static-stubs.
73707         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73708         * elf/static-stubs.c: New file.
73710         [BZ #14283]
73711         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73712         by 7 not 8 to examine high bit of fractional part.  Use volatile
73713         variables when splitting into final array of floats if
73714         __FLT_EVAL_METHOD__ != 0.
73715         * math/libm-test.inc (cos_test): Add another test.
73716         (sin_test): Likewise.
73717         * sysdeps/i386/fpu/libm-test-ulps: Update.
73719         [BZ #14273]
73720         * math/libm-test.inc (cosh_test): Add more tests.
73722         * version.h (RELEASE): Set to "development".
73723         (VERSION): Set to "2.16.90".
73725 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73727         * NEWS: Update copyright. Remove last-updated date.
73728         Mention math library bug fixes and timezone data changes.
73729         * README: Mention GNU/Hurd, x32, and HPPA support status.
73731 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73733         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73735 2012-06-27  Andreas Jaeger  <aj@suse.de>
73737         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73739 2012-06-25  Andreas Jaeger  <aj@suse.de>
73741         * sysdeps/s390/fpu/libm-test-ulps: Update.
73743 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73744             Thomas Schwinge  <thomas@codesourcery.com>
73746         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73747         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73749         fanotify_mark.
73751 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73753         * sysdeps/mach/start.c: Remove file.
73754         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73755         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73756         * sysdeps/sh/init-first.c: Likewise.
73758         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73759         registers for frame unwinding purposes, add CFI directives.
73760         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73761         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73762         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73763         Likewise.
73765         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73766         __fortify_fail returning.
73767         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73769         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73770         sysdeps/sh/____longjmp_chk.S.
73771         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73772         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73773         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73774         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73776         * sysdeps/sh/abort-instr.h: New file.
73777         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73778         process in case exit returns.
73780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73781         initialize the GOT register before use.
73783         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73784         calculation of ARGC > 4.
73786         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73787         meaningful names to some local labels.
73789 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73790             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73792         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73793         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73794         (__arch_compare_and_exchange_val_16_acq): Likewise.
73795         (__arch_compare_and_exchange_val_32_acq): Likewise.
73796         (atomic_exchange_and_add): Fix gUSA sequence.
73797         (atomic_add): Likewise.
73798         (atomic_add_negative): Likewise.
73799         (atomic_add_zero): Likewise.
73800         (atomic_bit_test_set): Likewise.
73802 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73804         [BZ #13579]
73805         * include/link.h (struct link_map): Add l_free_initfini.
73806         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73807         l_initfini.
73808         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73809         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73810         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73811         set.
73813 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73815         * configure.in: Use AC_LANG_SOURCE.
73816         * configure: Regenerate.
73818 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73820         * configure.in (libc_cv_localstatedir): New substituted variable.
73821         * configure: Regenerated.
73822         * config.make.in (localstatedir): New variable, substituted from
73823         libc_cv_localstatedir.
73824         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73825         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73826         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73827         * sysdeps/gnu/configure: Regenerated.
73829 2012-06-21  Jeff Law  <law@redhat.com>
73831         [BZ #14277]
73832         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73833         free.  Simplify list management for _LIBC case.
73835 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73837         [BZ #14273]
73838         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73839         Clear sign bit of 64-bit integer value before comparing against
73840         overflow value.
73842         * sysdeps/mach/configure: Regenerated.
73844 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73846         [BZ #14278]
73847         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73849 2012-06-21  Jeff Law  <law@redhat.com>
73851         [BZ #13882]
73852         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73853         uint16_t for elements in the "seen" array to avoid char overflows.
73854         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73855         * elf/dl-open.c (dl_open_worker): Likewise.
73857 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73859         * scripts/list-sources.sh: Scan PORTS for translations.
73860         * po/libc.pot: Regenerated.
73862 2012-06-21  Andreas Jaeger  <aj@suse.de>
73864         [BZ #12194]
73865         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73866         warning.
73867         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73868         * bits/byteswap-16.h (__bswap_16): Likewise.
73869         * bits/byteswap.h (__bswap_constant_16): Likewise.
73871 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73873         [BZ #14117]
73874         * sysdeps/i386/fpu_control.h: Removed.
73875         * sysdeps/x86_64/fpu_control.h: Moved to ...
73876         * sysdeps/x86/fpu_control.h: Here.
73878         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73879         (_FPU_SETCW): Likewise.
73881 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73883         [BZ #14117]
73884         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73885         * sysdeps/x86/fpu/bits/mathinline.h: This.
73886         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73888         [BZ #14050]
73889         [BZ #14117]
73890         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73891         functions if __x86_64__ is defined.
73893 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73895         * string/endian.h: Add !__ASSEMBLER__ condition for including
73896         conversion interfaces.
73898 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73900         [BZ #14241]
73901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73902         of ABS(x) in calculating zero to negative powers other than odd
73903         integers.
73904         * math/libm-test.inc (pow_test): Add more tests.
73906 2012-06-15  Andreas Jaeger  <aj@suse.de>
73908         * manual/contrib.texi (Contributors): Update entry of Liubov
73909         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73910         Machado Filho.
73912 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73914         * string/string.h: Add __wur to GNU version of strerror_r.
73916 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73918         [BZ #14229]
73919         * string/Makefile (tests): Add tst-strtok_r.
73920         * string/tst-strtok_r.c: New file.
73921         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73922         RAX_LP/RDX_LP on SAVE_PTR.
73924 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73926         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73928 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73930         * libm_test.inc (csqrt_test): Allow more spurious underflow
73931         exceptions.
73932         (j0_test): Likewise.
73933         (j1_test): Likewise.
73934         (y0_test): Likewise.
73935         (y1_test): Likewise.
73937 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73939         * po/Makefile (libc.pot): Use UTF-8 charset.
73941 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73943         [BZ #14210]
73944         Suppress sign-conversion warning from FD_SET.
73945         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73946         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73947         not unsigned long int.
73948         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73950 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73952         [BZ #14050]
73953         [BZ #14117]
73954         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73955         __extern_always_inline instead of __extern_inline.
73956         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73957         (__signbit): Likewise.
73958         (__signbitl): Support C++ namespace.
73959         (lrintf): New inline function.
73960         (lrint): Likewise.
73961         (llrintf): Likewise.
73962         (llrint): Likewise.
73963         (fmaxf): Likewise.
73964         (fmax): Likewise.
73965         (fminf): Likewise.
73966         (fmin): Likewise.
73967         (rint): Likewise.
73968         (rintf): Likewise.
73969         (ceil): Likewise.
73970         (ceilf): Likewise.
73971         (floor): Likewise.
73972         (floorf): Likewise.
73973         (nearbyint): Likewise.
73974         (nearbyintf): Likewise.
73976 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73978         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73979         non-default versions.
73981 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73983         [BZ #14218]
73984         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73986 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73988         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73989         (FE_UPWARD, FE_DOWNWARD): Don't define.
73990         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73993         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73994         reading it.
73995         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73996         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73998 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74000         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74001         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74002         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74003         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74005 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74007         [BZ #14117]
74008         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74009         * sysdeps/i386/fpu/Implies: New file.
74010         * sysdeps/x86_64/fpu/Implies: Likewise.
74011         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74012         * sysdeps/x86/fpu/bits/fenv.h: This.
74014         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74015         __SSE_MATH__.
74017 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74019         [BZ #14134]
74020         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74021         character 0xffff that matches the last element of the
74022         conversion table.
74024 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74026         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74027         fmodl commit.
74029 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74031         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74032         values higher than 25.6283.
74034 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74036         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74037         subnormal exponent extraction and add some __builtin_expect.
74038         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74039         Fix for subnormal mantissa calculation.
74041 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74043         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74044         cpu2 is -1 and errno is not ENOSYS.
74046 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74048         [BZ #14117]
74049         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74050         * sysdeps/x86/bits/string.h: This.
74051         * sysdeps/x86_64/bits/string.h: Removed.
74053         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74054         if not compiling for x86-64, but compiling for >= i486.
74056         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74057         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74059         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74060         New macro from Linux kernel 3.4.0.
74061         (FP_XSTATE_MAGIC2): Likewise.
74062         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74063         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74064         (struct _fpx_sw_bytes): New struct.
74065         (struct _xsave_hdr): Likewise.
74066         (struct _ymmh_state): Likewise.
74067         (struct _xstate): Likewise.
74069         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74070         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74071         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74072         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74073         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74074         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74076         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74077         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74078         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74079         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74080         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74081         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74083 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74085         [BZ #13743]
74086         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74087         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74088         (sysdep_headers): Include sys/platform/ppc.h.
74089         * sysdeps/powerpc/test-gettimebase.c: Test for
74090         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74091         * manual/Makefile (appendices): Include platform.texi.
74092         * manual/contrib.texi (Contributors): Update @node pointers.
74093         * manual/maint.texi (Maintenance): Likewise.
74094         (Platform): New node.
74095         * manual/platform.texi: New file.  Document the new features.
74097 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74098             Jakub Jelinek  <jakub@redhat.com>
74100         [BZ #14188]
74101         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74102         where __builtin_expect is unavailable.
74104 2012-06-03  David S. Miller  <davem@davemloft.net>
74106         * stdlib/longlong.h: Updated from GCC.
74108 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74110         [BZ #14042]
74111         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74112         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74113         __mcount_internal.
74114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74115         (GLIBC_2.16): Likewise.
74117 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74119         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74121 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74124         (default-abi): New variable.
74125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74126         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74127         variable.
74128         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74129         Likewise.
74130         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74131         Likewise.
74132         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74133         Likewise.
74135         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74136         definition.  Document in comment.
74138 2012-06-01  David S. Miller  <davem@davemloft.net>
74140         * stdlib/longlong.h: Updated from GCC.
74142 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74144         [BZ #14117]
74145         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74146         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74147         sys/debugreg.h sys/io.h here.
74148         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74149         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74150         sys/io.h.
74151         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74152         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74153         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74154         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74155         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74156         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74158         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74159         Define only if __x86_64__ is defined.
74161 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74163         [BZ #14048]
74164         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74165         Use int64_t for variable i.
74166         * math/libm-test.inc (fmod_test): Add more tests.
74168         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74169         z computation is not scheduled after fetestexcept.
74170         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74171         Use math_force_eval instead of asm to ensure calculation scheduled
74172         before exception test.
74173         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74174         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74176 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74178         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74179         computation is not scheduled after fetestexcept.
74181 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74183         [BZ #14117]
74184         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74185         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74187 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74189         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74190         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74192 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74194         [BZ #14117]
74195         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74196         <bits/wordsize.h>.
74197         (__WCHAR_MIN): Support __WORDSIZE == 64.
74198         (__WCHAR_MAX): Likewise.
74200         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74201         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74203         [BZ #14183]
74204         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74205         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74207         [BZ #14117]
74208         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74209         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74211         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74212         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74214         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74215         Defined to 1 if __x86_64__ isn't defined.
74216         (_STAT_VER_LINUX_OLD): New.
74217         (st_atime): Remove duplicate.
74218         (st_mtime): Likewise.
74219         (st_ctime): Likewise.
74221 2012-05-31  David S. Miller  <davem@davemloft.net>
74223         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74224         entries.
74226 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74228         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74229         gen-libm-test.pl.
74231         [BZ #14132]
74232         * elf/dl-reloc.c: Include <_itoa.h>.
74233         (_dl_reloc_bad_type): Remove use of INTUSE.
74234         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74235         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74236         * stdio-common/psiginfo.c (psiginfo): Likewise.
74237         * stdio-common/psignal.c (psignal): Likewise.
74238         * string/strsignal.c (strsignal): Likewise.
74239         * include/signal.h (_sys_siglist): Declare hidden proto.
74240         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74241         INTVARDEF with libc_hidden_data_def.
74242         * stdio-common/itoa-udigits.c: Likewise.
74243         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74244         (_itoa_lower_digits_internal): Remove declaration.
74245         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74246         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74247         (_sys_sigabbrev_internal): Remove aliases.
74248         (_sys_siglist): Define hidden alias.
74250 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74253         bits/sysctl.h.
74255 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74257         [BZ #14117]
74258         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74259         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74261         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74262         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74263         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74264         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74265         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74266         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74268         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74269         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74270         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74272         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74273         with __addr.
74274         (insw): Likewise.
74275         (insl): Likewise.
74276         (outsb): Likewise.
74277         (outsw): Likewise.
74278         (outsl): Likewise.
74280         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74281         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74282         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74284         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74285         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74286         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74287         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74288         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74289         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74291         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74292         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74294         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74295         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74297         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74298         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74299         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74301         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74302         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74303         to ...
74304         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74306         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74307         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74308         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74310         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74311         for x86-64.
74312         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74314 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74316         * math/math.h (M_El): Use two more decimal places.
74317         (M_LOG2El): Likewise.
74318         (M_LOG10El): Likewise.
74319         (M_LN2l): Likewise.
74320         (M_LN10l): Likewise.
74321         (M_PIl): Likewise.
74322         (M_PI_2l): Likewise.
74323         (M_PI_4l): Likewise.
74324         (M_1_PIl): Likewise.
74325         (M_2_PIl): Likewise.
74326         (M_2_SQRTPIl): Likewise.
74327         (M_SQRT2l): Likewise.
74328         (M_SQRT1_2l): Likewise.
74330 2012-05-31  David S. Miller  <davem@davemloft.net>
74332         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74333         values between float registers.
74334         * sysdeps/sparc/sparc64/memset.S: Likewise.
74335         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74337 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74339         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74340         -D_FORTIFY_SOURCE=1.
74341         (CPPFLAGS-tst-longjmp_chk.c): Define.
74342         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74343         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74344         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74345         CFLAGS-tst-wchar-h.c.
74347 2012-05-31  Marek Polacek  <polacek@redhat.com>
74349         [BZ #14132]
74350         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74351         __endmntent_internal): Remove declaration.
74352         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74353         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74354         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74356 2012-05-30  David S. Miller  <davem@davemloft.net>
74358         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74359         (___Q_simulate_exceptions): Use real FP ops rather than writing
74360         into the %fsr.
74361         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74362         Likewise.
74364 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74366         [BZ #14117]
74367         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74368         * sysdeps/x86/bits/xtitypes.h: This.
74370         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74371         * sysdeps/x86/bits/wordsize.h: This.
74373         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74374         * sysdeps/x86/bits/huge_vall.h: This.
74376         * sysdeps/i386/bits/select.h: Removed.
74377         * sysdeps/x86_64/bits/select.h: Renamed to ...
74378         * sysdeps/x86/bits/select.h: This.
74380         * sysdeps/i386/bits/setjmp.h: Removed.
74381         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74382         * sysdeps/x86/bits/setjmp.h: This.
74384         * sysdeps/i386/bits/mathdef.h: Removed.
74385         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74386         * sysdeps/x86/bits/mathdef.h: This.
74388 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74390         [BZ #14132]
74391         * include/sys/socket.h (__connect_internal)
74392         (__libc_sa_len_internal): Remove declaration.
74393         (__connect, __libc_sa_len): Declare hidden_proto.
74394         (SA_LEN): Remove use of INTUSE.
74395         * socket/connect.c: Add libc_hidden_def.
74396         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74397         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74398         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74399         alias.
74400         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74401         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74402         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74403         of adding _internal alias.
74405 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74407         [BZ #14117]
74408         * sysdeps/i386/bits/link.h: Removed.
74409         * sysdeps/i386/bits/linkmap.h: Likewise.
74410         * sysdeps/x86_64/bits/link.h: Renamed to ...
74411         * sysdeps/x86/bits/link.h: This.
74412         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74413         * sysdeps/x86/bits/linkmap.h: This.
74415         * sysdeps/i386/bits/endian.h: Removed.
74416         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74417         * sysdeps/x86/bits/endian.h: This.
74419         * sysdeps/i386/bits/byteswap.h: Removed.
74420         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74421         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74422         * sysdeps/x86/bits/byteswap.h: This.
74423         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74424         * sysdeps/x86/bits/byteswap-16.h: This.
74425         * sysdeps/i386/Implies: Add x86.
74426         * sysdeps/x86_64/Implies: Likewise.
74428 2012-05-30  David S. Miller  <davem@davemloft.net>
74430         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74431         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74432         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74433         (FP_TRAPPING_EXCEPTIONS): Define.
74434         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74435         (FP_TRAPPING_EXCEPTIONS): Define.
74436         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74437         subnormals only when inexact has been signalled or underflow
74438         exceptions are enabled.
74439         (_FP_PACK_CANONICAL): Likewise.
74441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74443         [BZ #14183]
74444         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74445         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74447 2012-05-30  Richard Henderson  <rth@twiddle.net>
74449         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74450         with #ifndef NOT_IN_libc.
74452         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74453         marked to avoid plt entry.
74455 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74457         [BZ #14112]
74458         * Makeconfig (default-abi): New macro.
74459         (abi-includes): Likewise.
74460         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74461         $(abi-$(default-abi)-lib-soname) for soname if defined.
74462         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74463         abi-variants.
74464         * Makefile (installed-stubs): Likewise.
74465         * include/stubs-biarch.h: Removed.
74466         * scripts/lib-names.awk: Only handle one library at a time.
74467         * scripts/soversions.awk: Remove WORDSIZE support.
74468         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74469         entries.
74470         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74471         Removed.
74472         (syscall-list-default-condition): Likewise.
74473         (syscall-list-default-condition): Likewise.
74474         (syscall-list-includes): Likewise.
74475         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74476         syscall-list-* with abi-*.  Handle undefined abi-variants.
74477         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74478         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74479         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74480         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74481         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74482         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74483         Removed.
74484         (syscall-list-32-options): Likewise.
74485         (syscall-list-32-condition): Likewise.
74486         (syscall-list-64-options): Likewise.
74487         (syscall-list-64-condition): Likewise.
74488         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74489         macro.
74490         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74491         Renamed to ...
74492         (abi-*): This.
74493         (abi-64-ld-soname): New macro.
74494         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74495         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74496         Renamed to ...
74497         (abi-*): This.
74498         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74499         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74501 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74503         * sysdeps/unix/sysv/linux/kernel-features.h
74504         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74505         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74506         include <kernel-features.h>.
74507         [!__NR_ftruncate64]: Remove conditional code.
74508         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74509         [__NR_ftruncate64]: Make code unconditional.
74510         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74511         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74512         include <kernel-features.h>.
74513         [!__NR_ftruncate64]: Remove conditional code.
74514         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74515         [__NR_ftruncate64]: Make code unconditional.
74516         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74518         include <kernel-features.h>.
74519         [!__NR_ftruncate64]: Remove conditional code.
74520         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74521         [__NR_ftruncate64]: Make code unconditional.
74522         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74524         include <kernel-features.h>.
74525         [!__NR_ftruncate64]: Remove conditional code.
74526         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74527         [__NR_ftruncate64]: Make code unconditional.
74528         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74530         * configure.in (libc_cv_fpie): Weaken to a compile test using
74531         LIBC_TRY_CC_OPTION.
74532         * configure: Regenerated.
74534 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74540         Refreshed.
74541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74547         Refreshed.
74549 2012-05-27  David S. Miller  <davem@davemloft.net>
74551         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74552         (___Q_zero): New.
74553         (__Q_simulate_exceptions): Return void.  Change to simulate
74554         exceptions by writing into the %fsr.
74555         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74556         (__Qp_handle_exceptions): Likewise.
74557         (numbers): Delete.
74558         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74559         __Qp_handle_exceptions.
74560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74561         __Qp_handle_exceptions.
74562         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74563         as unused and give dummy FP_RND_NEAREST initializer.
74564         (FP_INHIBIT_RESULTS): Define.
74565         (___Q_simulate_exceptions): Update declaration.
74566         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74567         formatting.
74568         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74569         as unused and give dummy FP_RND_NEAREST initializer.
74570         (__Qp_handle_exceptions): Update declaration.
74571         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74572         formatting.
74574 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74576         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74577         the temporary FPU control word.
74578         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74579         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74580         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74581         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74582         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74583         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74584         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74585         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74586         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74587         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74588         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74590 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74592         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74593         fields.
74595 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74597         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74598         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74601         Likewise.
74602         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74603         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74604         Likewise.
74606 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74608         * po/h.po: Update from translation team.
74610 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74612         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74614         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74615         handling of denormals.
74616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74617         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74618         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74619         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74622         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74623         Likewise.
74625 2012-05-26  Marek Polacek  <polacek@redhat.com>
74627         [BZ #14152]
74628         * math/libm-test.inc (fma_test): Don't always expect underflow
74629         exception.
74631 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74633         [BZ #12416]
74634         * elf/tst-execstack.c: Include stackinfo.h.
74635         (do_test): Adjust test case to ensure that pthread_getattr_np
74636         behaviour remains the same after marking stack executable.
74638 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74640         * sysdeps/unix/sysv/linux/kernel-features.h
74641         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74642         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74643         kernel-features.h.
74644         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74645         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74646         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74647         kernel-features.h.
74648         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74649         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74651 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74653         * configure.in: Define the default includes to being none.
74654         * configure: Regenerated.
74656 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74658         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74659         * sysdeps/x86_64/setjmp.S: Likewise.
74660         * sysdeps/i386/bsd-setjmp.S: Likewise.
74661         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74662         * sysdeps/i386/setjmp.S: Likewise.
74663         * sysdeps/i386/__longjmp.S: Likewise.
74664         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74665         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74667         * include/stap-probe.h: New file.
74668         * configure.in: Handle --enable-systemtap.
74669         * configure: Regenerated.
74670         * config.h.in (USE_STAP_PROBE): New #undef.
74671         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74672         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74673         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74675 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74677         [BZ #13717]
74678         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74679         to 2.4.0 where earlier.
74680         * sysdeps/unix/sysv/linux/configure: Regenerated.
74681         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
74690         [__ASSUME_32BITUIDS]: Make code unconditional.
74691         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74692         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74693         <kernel-features.h>.
74694         [__ASSUME_32BITUIDS]: Make code unconditional.
74695         [!__ASSUME_32BITUIDS]: Remove conditional code.
74696         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74697         <kernel-features.h>.
74698         [__ASSUME_32BITUIDS]: Make code unconditional.
74699         [!__ASSUME_32BITUIDS]: Remove conditional code.
74700         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74701         <kernel-features.h>.
74702         [__ASSUME_32BITUIDS]: Make code unconditional.
74703         [!__ASSUME_32BITUIDS]: Remove conditional code.
74704         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74705         <kernel-features.h>.
74706         [__ASSUME_32BITUIDS]: Make code unconditional.
74707         [!__ASSUME_32BITUIDS]: Remove conditional code.
74708         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74709         <kernel-features.h>.
74710         [__ASSUME_32BITUIDS]: Make code unconditional.
74711         [!__ASSUME_32BITUIDS]: Remove conditional code.
74712         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74713         <kernel-features.h>.
74714         [__ASSUME_32BITUIDS]: Make code unconditional.
74715         [!__ASSUME_32BITUIDS]: Remove conditional code.
74716         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74717         <kernel-features.h>.
74718         [__ASSUME_32BITUIDS]: Make code unconditional.
74719         [!__ASSUME_32BITUIDS]: Remove conditional code.
74720         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74721         <kernel-features.h>.
74722         [__ASSUME_32BITUIDS]: Make code unconditional.
74723         [!__ASSUME_32BITUIDS]: Remove conditional code.
74724         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74725         <kernel-features.h>.
74726         [__ASSUME_32BITUIDS]: Make code unconditional.
74727         [!__ASSUME_32BITUIDS]: Remove conditional code.
74728         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74729         <kernel-features.h>.
74730         [__ASSUME_32BITUIDS]: Make code unconditional.
74731         [!__ASSUME_32BITUIDS]: Remove conditional code.
74732         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74733         <kernel-features.h>.
74734         [__NR_setresgid] (__setresgid): Do not declare.
74735         [__ASSUME_32BITUIDS]: Make code unconditional.
74736         [!__ASSUME_32BITUIDS]: Remove conditional code.
74737         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74738         <kernel-features.h>.
74739         [__NR_setresuid] (__setresuid): Do not declare.
74740         [__ASSUME_32BITUIDS]: Make code unconditional.
74741         [!__ASSUME_32BITUIDS]: Remove conditional code.
74742         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74743         <kernel-features.h>.
74744         [__ASSUME_32BITUIDS]: Make code unconditional.
74745         [!__ASSUME_32BITUIDS]: Remove conditional code.
74746         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74747         <kernel-features.h>.
74748         [__ASSUME_32BITUIDS]: Make code unconditional.
74749         [!__ASSUME_32BITUIDS]: Remove conditional code.
74750         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74751         <kernel-features.h>.
74752         [__ASSUME_32BITUIDS]: Make code unconditional.
74753         [!__ASSUME_32BITUIDS]: Remove conditional code.
74754         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74755         <kernel-features.h>.
74756         [__ASSUME_32BITUIDS]: Make code unconditional.
74757         [!__ASSUME_32BITUIDS]: Remove conditional code.
74758         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74759         <kernel-features.h>.
74760         [__ASSUME_32BITUIDS]: Make code unconditional.
74761         [!__ASSUME_32BITUIDS]: Remove conditional code.
74762         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74763         <kernel-features.h>.
74764         [__ASSUME_32BITUIDS]: Make code unconditional.
74765         [!__ASSUME_32BITUIDS]: Remove conditional code.
74766         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74767         <kernel-features.h>.
74768         [__ASSUME_32BITUIDS]: Make code unconditional.
74769         [!__ASSUME_32BITUIDS]: Remove conditional code.
74770         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74771         <kernel-features.h>.
74772         [__ASSUME_32BITUIDS]: Make code unconditional.
74773         [!__ASSUME_32BITUIDS]: Remove conditional code.
74774         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74775         <kernel-features.h>.
74776         [__ASSUME_32BITUIDS]: Make code unconditional.
74777         [!__ASSUME_32BITUIDS]: Remove conditional code.
74778         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74779         <kernel-features.h>.
74780         [__ASSUME_32BITUIDS]: Make code unconditional.
74781         [!__ASSUME_32BITUIDS]: Remove conditional code.
74782         * sysdeps/unix/sysv/linux/kernel-features.h
74783         (__ASSUME_SETRESUID_SYSCALL): Remove.
74784         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74785         (__ASSUME_32BITUIDS): Likewise.
74786         (__ASSUME_LDT_WORKS): Likewise.
74787         (__ASSUME_O_DIRECTORY): Likewise.
74788         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74789         architecture but not kernel version.
74790         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74791         (__ASSUME_MMAP2_SYSCALL): Likewise.
74792         (__ASSUME_STAT64_SYSCALL): Likewise.
74793         (__ASSUME_IPC64): Likewise.
74794         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74795         <kernel-features.h>.
74796         [__ASSUME_32BITUIDS]: Make code unconditional.
74797         [!__ASSUME_32BITUIDS]: Remove conditional code.
74798         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74799         <kernel-features.h>.
74800         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74801         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74802         132096]: Remove conditional code.
74803         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74805         <kernel-features.h>.
74806         [__ASSUME_32BITUIDS]: Make code unconditional.
74807         [!__ASSUME_32BITUIDS]: Remove conditional code.
74808         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74809         <kernel-features.h>.
74810         [__ASSUME_32BITUIDS]: Make code unconditional.
74811         [!__ASSUME_32BITUIDS]: Remove conditional code.
74812         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74813         <kernel-features.h>.
74814         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74815         unconditional.
74816         (__setresgid): Do not declare.
74817         [__ASSUME_32BITUIDS]: Make code unconditional.
74818         [!__ASSUME_32BITUIDS]: Remove conditional code.
74819         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74820         <kernel-features.h>.
74821         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74822         unconditional.
74823         (__setresuid): Do not declare.
74824         [__ASSUME_32BITUIDS]: Make code unconditional.
74825         [!__ASSUME_32BITUIDS]: Remove conditional code.
74826         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74827         <kernel-features.h>.
74828         [__ASSUME_32BITUIDS]: Make code unconditional.
74829         [!__ASSUME_32BITUIDS]: Remove conditional code.
74830         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74831         <kernel-features.h>.
74832         [__ASSUME_32BITUIDS]: Make code unconditional.
74833         [!__ASSUME_32BITUIDS]: Remove conditional code.
74835 2012-05-25  Richard Henderson  <rth@twiddle.net>
74837         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74838         dl_hwcap to ifunc resolver.
74839         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74840         elf_ifunc_invoke.
74841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74842         dl_hwcap to ifunc resolver.
74843         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74845 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74847         [BZ #14153]
74848         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74849         for |x| <= 2**-26, not 2**-57.
74850         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74851         exception.
74853 2012-05-24  Jeff Law  <law@redhat.com>
74855         * stdio-common/Makefile (tests): Add bug25.
74856         * stdio-common/bug25.c: New test.
74858 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74860         [BZ #13576]
74861         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74862         multiple of MALLOC_ALIGNMENT in size.
74863         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74865 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74867         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74868         Require >= 256.
74869         (FILENAME_MAX): Use macro-int-constant.
74870         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74871         (_IOFBF): Use macro-int-constant.
74872         (_IOLBF): Likewise.
74873         (_IONBF): Likewise.
74874         (SEEK_CUR): Likewise.
74875         (SEEK_END): Likewise.
74876         (SEEK_SET): Likewise.
74877         (TMP_MAX): Likewise.
74878         (EOF): Use macro-int-constant.  Require < 0.
74879         (NULL): Use macro-constant.  Require == 0.
74880         (stdin): Require type to be FILE *.
74881         (stdout): Likewise.
74882         (stderr): Likewise.
74883         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74884         macro-int-constant.
74885         (EXIT_SUCCESS): Likewise.
74886         (NULL): Use macro-constant.  Require == 0.
74887         (RAND_MAX): Use macro-int-constant.
74888         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74889         [C99-based standards] (strtof): Require function.
74890         [C99-based standards] (strtold): Likewise.
74891         [C99-based standards] (strtoll): Likewise.
74892         [C99-based standards] (strtoull): Likewise.
74893         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74894         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74895         [ISO || ISO99 || ISO11] (math.h): Likewise.
74896         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74897         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74900 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74902         [BZ #14132]
74903         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74904         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74905         * intl/dgettext.c (DCGETTEXT): Likewise.
74906         * intl/gettext.c (DCGETTEXT): Likewise.
74907         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74908         * posix/regex_internal.h (gettext): Likewise.
74909         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74910         Remove declaration.
74911         * include/argz.h (__argz_count_internal)
74912         (__argz_stringify_internal): Remove declaration.
74913         (__argz_count, __argz_stringify): Declare hidden proto.
74914         * intl/dcgettext.c: Remove use of INTDEF.
74915         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74916         * string/argz-stringify.c: Likewise.
74917         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74918         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74919         Declare hidden proto.
74920         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74921         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74922         Declare hidden proto.
74923         * include/stdio.h (__asprintf_internal): Don't declare.
74924         (__asprintf): Don't define as macro.  Declare hidden proto.
74925         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74926         (__fsetlocking): Declare hidden proto.
74927         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74928         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74929         hidden proto.
74930         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74931         (_IO_setlinebuf): Remove use of INTUSE.
74932         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74933         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74934         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74935         Remove declaration.
74936         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74937         (_IO_do_flush): Remove use of INTUSE.
74938         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74939         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74940         (_IO_adjust_column, _IO_least_wmarker)
74941         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74942         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74943         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74944         (_IO_default_doallocate, _IO_wdefault_doallocate)
74945         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74946         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74947         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74948         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74949         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74950         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74951         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74952         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74953         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74954         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74955         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74956         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74957         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74958         proto.
74959         (_IO_flush_all_internal, _IO_adjust_column_internal)
74960         (_IO_default_uflow_internal, _IO_default_finish_internal)
74961         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74962         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74963         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74964         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74965         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74966         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74967         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74968         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74969         (_IO_file_close_internal, _IO_file_close_it_internal)
74970         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74971         (_IO_file_init_internal, _IO_file_attach_internal)
74972         (_IO_file_fopen_internal, _IO_file_read_internal)
74973         (_IO_file_sync_internal, _IO_file_seek_internal)
74974         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74975         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74976         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74977         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74978         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74979         (_IO_list_all_internal, _IO_link_in_internal)
74980         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74981         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74982         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74983         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74984         (_IO_do_write_internal, _IO_padn_internal)
74985         (_IO_getline_info_internal, _IO_getline_internal)
74986         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74987         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74988         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74989         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74990         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74991         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74992         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74993         with libc_hidden_ver, remove use of INTUSE.
74994         * libio/genops.c: Likewise.
74995         * libio/freopen.c: Likewise.
74996         * libio/freopen64.c: Likewise.
74997         * libio/iofclose.c: Likewise.
74998         * libio/iofdopen.c: Likewise.
74999         * libio/iofflush.c: Likewise.
75000         * libio/iofflush_u.c: Likewise.
75001         * libio/iofgets.c: Likewise.
75002         * libio/iofgets_u.c: Likewise.
75003         * libio/iofopen.c: Likewise.
75004         * libio/iofopncook.c: Likewise.
75005         * libio/iofread.c: Likewise.
75006         * libio/iofread_u.c: Likewise.
75007         * libio/ioftell.c: Likewise.
75008         * libio/iofwrite.c: Likewise.
75009         * libio/iogetline.c: Likewise.
75010         * libio/iogets.c: Likewise.
75011         * libio/iogetwline.c: Likewise.
75012         * libio/iopadn.c: Likewise.
75013         * libio/iopopen.c: Likewise.
75014         * libio/ioseekoff.c: Likewise.
75015         * libio/ioseekpos.c: Likewise.
75016         * libio/iosetbuffer.c: Likewise.
75017         * libio/iosetvbuf.c: Likewise.
75018         * libio/ioungetc.c: Likewise.
75019         * libio/ioungetwc.c: Likewise.
75020         * libio/iovdprintf.c: Likewise.
75021         * libio/iovsprintf.c: Likewise.
75022         * libio/iovsscanf.c: Likewise.
75023         * libio/memstream.c: Likewise.
75024         * libio/obprintf.c: Likewise.
75025         * libio/oldfileops.c: Likewise.
75026         * libio/oldiofclose.c: Likewise.
75027         * libio/oldiofdopen.c: Likewise.
75028         * libio/oldiofopen.c: Likewise.
75029         * libio/oldiopopen.c: Likewise.
75030         * libio/oldstdfiles.c: Likewise.
75031         * libio/putc.c: Likewise.
75032         * libio/setbuf.c: Likewise.
75033         * libio/setlinebuf.c: Likewise.
75034         * libio/stdfiles.c: Likewise.
75035         * libio/strops.c: Likewise.
75036         * libio/vasprintf.c: Likewise.
75037         * libio/vscanf.c: Likewise.
75038         * libio/vsnprintf.c: Likewise.
75039         * libio/vswprintf.c: Likewise.
75040         * libio/wfiledoalloc.c: Likewise.
75041         * libio/wfileops.c: Likewise.
75042         * libio/wgenops.c: Likewise.
75043         * libio/wmemstream.c: Likewise.
75044         * libio/wstrops.c: Likewise.
75045         * libio/__fpurge.c: Likewise.
75046         * libio/__fsetlocking.c: Likewise.
75047         * assert/assert.c: Likewise.
75048         * debug/fgets_chk.c: Likewise.
75049         * debug/fgets_u_chk.c: Likewise.
75050         * debug/fread_chk.c: Likewise.
75051         * debug/fread_u_chk.c: Likewise.
75052         * debug/gets_chk.c: Likewise.
75053         * debug/obprintf_chk.c: Likewise.
75054         * debug/vasprintf_chk.c: Likewise.
75055         * debug/vdprintf_chk.c: Likewise.
75056         * debug/vsnprintf_chk.c: Likewise.
75057         * debug/vsprintf_chk.c: Likewise.
75058         * malloc/mtrace.c: Likewise.
75059         * misc/error.c: Likewise.
75060         * misc/syslog.c: Likewise.
75061         * stdio-common/asprintf.c: Likewise.
75062         * stdio-common/fxprintf.c: Likewise.
75063         * stdio-common/getw.c: Likewise.
75064         * stdio-common/isoc99_fscanf.c: Likewise.
75065         * stdio-common/isoc99_scanf.c: Likewise.
75066         * stdio-common/isoc99_vfscanf.c: Likewise.
75067         * stdio-common/isoc99_vscanf.c: Likewise.
75068         * stdio-common/isoc99_vsscanf.c: Likewise.
75069         * stdio-common/printf-prs.c: Likewise.
75070         * stdio-common/printf_fp.c: Likewise.
75071         * stdio-common/printf_fphex.c: Likewise.
75072         * stdio-common/printf_size.c: Likewise.
75073         * stdio-common/putw.c: Likewise.
75074         * stdio-common/scanf.c: Likewise.
75075         * stdio-common/sprintf.c: Likewise.
75076         * stdio-common/tmpfile.c: Likewise.
75077         * stdio-common/vfprintf.c: Likewise.
75078         * stdio-common/vfscanf.c: Likewise.
75079         * stdlib/strfmon_l.c: Likewise.
75080         * sunrpc/openchild.c: Likewise.
75081         * sunrpc/xdr_stdio.c: Likewise.
75082         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75083         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75085 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75087         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75089         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75090         in the third column, to generate for the shared library an IFUNC
75091         that uses _dl_vdso_vsym.
75092         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75093         * Makeconfig (object-suffixes-noshared): New variable.
75095         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75096         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75097         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75098         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75100         [BZ #14132]
75101         * include/sys/time.h (__gettimeofday): Remove macro.
75102         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75103         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75104         Remove INTDEF.
75105         (__gettimeofday): Add libc_hidden_def.
75106         (gettimeofday): Add libc_hidden_weak.
75107         * sysdeps/mach/gettimeofday.c: Likewise.
75108         * sysdeps/posix/gettimeofday.c: Likewise.
75109         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75110         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75111         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75112         (__gettimeofday_internal): Remove strong_alias.
75113         (__gettimeofday): Add libc_hidden_def.
75114         (gettimeofday): Add libc_hidden_weak.
75115         * sysdeps/unix/syscalls.list (gettimeofday):
75116         Remove __gettimeofday_internal alias.
75118 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75119             H.J. Lu  <hongjiu.lu@intel.com>
75121         [BZ #12495]
75122         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75123         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75124         (largebin_index_32_big): New.
75125         (largebin_index): Use it for 16-byte alignment.
75126         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75127         correction with front_misalign.
75129 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75133         Likewise.
75134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75135         Likewise.
75136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75137         Likewise.
75138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75139         Likewise.
75140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75141         Likewise.
75142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75143         Likewise.
75144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75145         Likewise.
75146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75147         Likewise.
75148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75149         Likewise.
75150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75151         Likewise.
75152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75153         Likewise.
75154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75155         Likewise.
75157         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75158         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75160 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75162         [BZ #10846]
75163         [BZ #14036]
75164         * math/libm-test.inc (exp_test): Add test from bug 14036.
75165         (pow_test): Add test from bug 10846.
75167         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75168         and other flags.
75169         (special_function): Do not include flags in test name.
75170         (parse_args): Likewise.
75171         * sysdeps/i386/fpu/libm-test-ulps: Update.
75172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75173         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75177         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75178         exceptions.
75179         * math/libm-test.inc ("Philosophy"): Update comment about
75180         exception testing.
75181         (UNDERFLOW_EXCEPTION): New macro.
75182         (UNDERFLOW_EXCEPTION_OK): Likewise.
75183         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75184         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75185         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75186         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75187         (INVALID_EXCEPTION_OK): Update value.
75188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75189         (OVERFLOW_EXCEPTION_OK): Likewise.
75190         (IGNORE_ZERO_INF_SIGN): Likewise.
75191         (test_exceptions): Handle underflow exceptions.
75192         (acos_test): Update for underflow exception expectations.
75193         (cexp_test): Likewise.
75194         (clog_test): Likewise.
75195         (clog10_test): Likewise.
75196         (csqrt_test): Likewise.
75197         (ctan_test): Likewise.
75198         (ctanh_test): Likewise.
75199         (exp_test): Likewise.
75200         (exp10_test): Likewise.
75201         (exp2_test): Likewise.
75202         (expm1_test): Likewise.
75203         (fma_test): Likewise.
75204         (j0_test): Likewise.
75205         (jn_test): Likewise.
75206         (nexttoward_test): Likewise.
75207         (pow_test): Likewise.
75208         (scalbn_test): Likewise.
75209         (scalbln_test): Likewise.
75210         (tan_test): Likewise.
75211         (y1_test): Likewise.
75212         * sysdeps/i386/fpu/libm-test-ulps: Update.
75213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75215 2012-05-23  David S. Miller  <davem@davemloft.net>
75217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75218         (__libc_sigaction): Remove unused local variables.
75220 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75222         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75224 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75226         mktime: avoid signed integer overflow
75227         * time/mktime.c (__mktime_internal): Do not mishandle the case
75228         where diff == INT_MIN.
75230         mktime: simplify computation of average
75231         * time/mktime.c (ranged_convert): Use new time_t_avg function
75232         instead of rolling our own (probably-slower) code.
75234         mktime: do not assume signed right shift propagates sign bit
75235         * time/mktime.c (isdst_differ): New static function.
75236         (__mktime_internal): No need to normalize tm_isdst now.
75237         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75238         tm_isdst values.
75240         mktime: merge another wrapv change from gnulib
75241         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75242         from some compilers.
75244         mktime: remove incorrect attempt at unusual arithmetics
75245         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75246         The code didn't really work on such machines anyway.
75247         (TYPE_MINIMUM): Assume two's complement.
75248         (twos_complement_arithmetic): Verify that long_int and time_t
75249         are two's complement (or unsigned, in the latter case).
75251         mktime: check signed shifts on long_int and time_t, too
75252         * time/mktime.c (SHR): Check that shifts work as desired
75253         on the types long_int and time_t too, as SHR is used on
75254         such types.
75256         mktime: do not assume 'long' is wide enough
75257         * time/mktime.c (verify): Move decl up.
75258         (long_int): New type.
75259         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75260         to remove assumption in the code that 'long' is wide enough to
75261         store year values.  This assumption is not true on x32 and on
75262         some non-glibc platforms.
75264         mktime: merge wrapv change from gnulib
75265         * time/mktime.c (WRAPV): New macro.
75266         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75267         (guess_time_tm, __mktime_internal): Do not assume that signed
75268         integer overflow wraps around; modern compilers generate code
75269         where this assumption is no longer valid.
75271 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75273         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75274         Replace "jmp L(pseudo_end)" with "ret".
75275         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75276         Likewise.
75278 2012-05-23  Andreas Jaeger  <aj@suse.de>
75280         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75281         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75283 2012-05-23  Andreas Jaeger  <aj@suse.de>
75284             Maximilian Attems  <max@stro.at>
75286         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75287         New macros.
75289 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75291         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75292         code so that pseudo_end is just ret and the stack pointer is
75293         correct also for static library in error case.
75295 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75297         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75298         move to syscalls.list.
75299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75304         * manual/install.texi (Running make install): Do not mention Linux
75305         kernel version for which pt_chown is not needed.
75306         (Linux): Do not mention problems with nscd with 2.0 kernels.
75307         * INSTALL: Regenerated.
75309 2012-05-23  Andreas Jaeger  <aj@suse.de>
75311         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75312         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75313         macro.
75314         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75315         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75316         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75317         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75318         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75319         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75320         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75321         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75322         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75323         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75324         * sysdeps/unix/sysv/linux/bits/in.h
75325         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75327 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75329         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75330         (PREPARE_VERSION): Just use assert instead, it will be elided
75331         under [NDEBUG] anyway.
75333 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75335         * sysdeps/unix/sysv/linux/Makefile: Include
75336         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75337         (sysdep_routines): Remove sysctl.
75338         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75339         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75340         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75341         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75342         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75344 2012-05-22  Andreas Jaeger  <aj@suse.de>
75346         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75347         that pseudo_end is just ret and the stack pointer is correct also
75348         for static library in error case.
75350 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75352         [BZ #14122]
75353         * nss/nsswitch.c (defconfig_entries): New variable.
75354         (__nss_database_lookup): Don't leak defconfig entries.
75355         (nss_parse_service_list): Don't leak on error paths.
75356         (free_database_entries): New function.
75357         (free_defconfig): New function.
75358         (free_mem): Move common code to free_database_entries.
75360 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75362         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75363         Add arch_prctl.
75364         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75367         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75369         New macro.
75370         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75371         (INTERNAL_SYSCALL_TYPES): Likewise.
75372         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75373         (LOAD_REGS_TYPES_[1-6]): Likewise.
75374         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75375         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75377 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75379         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75380         copysignl for GLIBC_2_0.
75381         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75382         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75384         logbl for GLIBC_2_0.
75385         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75386         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75388 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75390         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75391         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75393         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75394         Use "neg %eax".
75396         * time/mktime.c: Update copyright years.
75398 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75400         mktime: merge comment-quoting-style change from gnulib
75401         * time/mktime.c: Quote 'like this' in comments.
75402         The GNU coding standards suggest that we no longer quote `like this',
75403         as "`" and "'" are typically rendered asymmetrically nowadays.
75404         The typical gnulib style is to quote 'like this' when quoting
75405         code, and "like this" when quoting English.
75407         * time/mktime.c (compile-command): Add "-I.".
75409         mktime: merge mktime-internal.h change from gnulib
75410         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75412         mktime: merge time_r change from gnulib
75413         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75415         mktime: merge DEBUG change from gnulib
75416         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75417         case system <time.h> has a #define.
75419         mktime: merge <sys/types.h> change from gnulib
75420         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75421         since <time.t> is now guaranteed to define time_t.
75423         mktime: merge HAVE_CONFIG_H change from gnulib
75424         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75426 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75429         Use "neg %eax".
75431         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75432         __rlim_t cast.
75433         (struct rusage): Use anonymous union to pad each field to
75434         __syscall_slong_t.
75436 2012-05-21  David S. Miller  <davem@davemloft.net>
75438         * Makefules (o-iterator): Remove .s cases.
75439         (compile-command.s): Delete.
75440         (COMPILE.s): Delete.
75441         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75443 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75445         * configure.in (libc_cv_predef_stack_protector): Only consider
75446         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75447         * configure: Regenerated.
75449 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75452         New macro.  Use R*LP on int and pointer.
75453         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75454         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75455         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75456         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75458         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75459         [__WORDSIZE_TIME64_COMPAT32] instead of
75460         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75461         (struct utmp): Likewise.
75462         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75463         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75464         Renamed to ...
75465         (__WORDSIZE_TIME64_COMPAT32): This.
75466         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75467         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75468         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75469         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75470         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75471         (__WORDSIZE_TIME64_COMPAT32): New macro.
75473 2012-05-21  Andreas Jaeger  <aj@suse.de>
75475         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75476         only if [SHARED]. Add prototype for __wcschr_ia32.
75478 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75480         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75481         of %rbp unmolested in the jmp_buf while mangling the low bits.
75482         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75483         unmolested high bits of %rbp while demangling the low bits.
75484         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75486 2012-05-21  Andreas Jaeger  <aj@suse.de>
75488         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75489         * sunrpc/svc_simple.c: Use it for registerrpc.
75490         * sunrpc/xcrypt.c: Use it for passwd2des.
75492         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75494 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75496         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75497         Don't define if [__SYSCALL_WORDSIZE != 32].
75498         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75499         New macro.
75501 2012-05-21  Bruno Haible  <bruno@clisp.org>
75502             Andreas Jaeger  <aj@suse.de>
75504         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75505         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75506         inptr and inend for must_buffer_ch.
75507         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75508         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75509         * stdio-common/Makefile (tests): Remove bug15.
75510         (bug15-ENV): Remove macro.
75511         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75512         anymore.
75514 2012-05-19  Andreas Jaeger  <aj@suse.de>
75515             Roland McGrath  <roland@hack.frob.com>
75517         * manual/contrib.texi: Completely rewritten. It contains now an
75518         alphabetical list of contributors and their contributions.
75520 2012-05-21  Richard Henderson  <rth@twiddle.net>
75522         * misc/getauxval.c (__getauxval): Use unsigned long int.
75523         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75524         (getauxval): Use unsigned long int.
75526 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75528         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75530 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75532         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75533         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75534         __alignof__ (long double).
75536 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75540 2012-05-20  Richard Henderson  <rth@twiddle.net>
75542         * misc/getauxval.c: New file.
75543         * misc/sys/auxv.h: New file.
75544         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75545         (routines): Add getauxval.
75546         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75547         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75548         * elf/dl-sysdep.c (_dl_auxv): Remove.
75549         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75550         * elf/dl-support.c (_dl_auxv): New variable.
75551         (_dl_aux_init): Initialize it.
75552         * manual/startup.texi (Auxiliary Vector): New node.
75553         * sysdeps/generic/bits/hwcap.h: New file.
75554         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75555         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75556         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75557         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75558         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75559         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75561         Update.
75562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75571 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75575 2012-05-19  David S. Miller  <davem@davemloft.net>
75577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75579 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75581         [BZ #14123]
75582         * math/s_ccosh.c: Include <float.h>
75583         (__ccosh): Avoid internal overflow calculating sinh and cosh
75584         values before multiplying by sin and cos values.
75585         * math/s_ccoshf.c: Likewise.
75586         * math/s_ccoshl.c: Likewise.
75587         * math/s_csin.c: Likewise.
75588         * math/s_csinf.c: Likewise.
75589         * math/s_csinl.c: Likewise.
75590         * math/s_csinh.c: Likewise.
75591         * math/s_csinhf.c: Likewise.
75592         * math/s_csinhl.c: Likewise.
75593         * math/libm-test.inc (ccos_test): Add more tests.
75594         (ccosh_test): Likewise.
75595         (csin_test): Likewise.
75596         (csinh_test): Likewise.
75597         * sysdeps/i386/fpu/libm-test-ulps: Update.
75598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75600 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75602         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75603         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75605         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75607 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75609         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75610         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75611         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75612         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75613         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75614         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75615         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75616         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75617         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75618         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75619         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75620         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75621         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75622         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75623         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75624         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75625         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75626         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75627         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75628         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75629         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75630         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75631         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75632         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75633         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75634         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75635         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75636         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75637         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75638         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75639         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75641 2012-05-18  Andreas Jaeger  <aj@suse.de>
75643         * csu/.gitignore: Delete.
75645 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75647         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75648         (timex): Use __syscall_slong_t.
75650 2012-05-18  Andreas Jaeger  <aj@suse.de>
75651             Carlos O'Donell  <carlos_odonell@mentor.com>
75653         * manual/install.texi (Configuring and compiling): Update
75654         description about files modified in the source directory.
75655         * INSTALL: Regenerated.
75657 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75659         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75660         value.  Use "or" to set return value to -1.
75661         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75662         negate return value.
75664 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75666         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75667         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75668         failure if the compiler has Graphite support disabled.
75669         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75670         Likewise.
75671         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75672         (CFLAGS-memmove.c): Likewise.
75673         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75674         Likewise.
75676 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75678         * sysdeps/x86_64/x32/_itoa.h: New file.
75680         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75681         getdents system call only if kernel and user dirents have the
75682         same d_ino and d_off.
75684         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75685         LLONG_MAX != LONG_MAX.
75686         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75687         (_fitoa_word): Likewise.
75689         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75690         years.
75691         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75692         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75693         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75695         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75696         include <bits/wordsize.h>.  Check __x86_64__ instead of
75697         __WORDSIZE.
75698         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75699         if __x86_64__ is defined.  Use anonymous union on fpstate.
75701         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75702         anonymous union.
75704 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75706         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75707         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75708         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75709         Refer to _rtld_local_ro instead of _rtld_global_ro.
75710         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75711         Likewise.
75712         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75713         Likewise.
75714         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75715         Likewise.
75716         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75717         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75718         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75720         [BZ #10882]
75721         * sysdeps/powerpc/powerpc32/dl-machine.c
75722         (__elf_machine_runtime_setup) [PROF]: Don't reference
75723         _dl_prof_resolve.
75725 2012-05-18  Andreas Jaeger  <aj@suse.de>
75727         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75728         function only available for GCCs before 3.4 since GCC 3.4
75729         introduced a builtin.
75730         (lrint): Likewise.
75731         (llrintf): Likewise.
75732         (llrint): Likewise.
75733         (fmaxf): Likewise.
75734         (fmax): Likewise.
75735         (fminf): Likewise.
75736         (fmin): Likewise.
75737         (rint): Likewise.
75738         (rintf): Likewise.
75739         (nearbyint): Likewise.
75740         (nearbyintf): Likewise.
75741         (ceil): Likewise.
75742         (ceilf): Likewise.
75743         (floor): Likewise.
75744         (floorf): Likewise.
75746 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75748         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75749         on both fields and cast pointer to __syscall_ulong_t.
75751         * bits/types.h (__fsword_t): New type.
75752         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75753         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75755         (__FSWORD_T_TYPE): Likewise.
75756         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75757         (__FSWORD_T_TYPE): Likewise.
75758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75759         (__FSWORD_T_TYPE): Likewise.
75760         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75761         (__FSWORD_T_TYPE): Likewise.
75762         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75763         __SWORD_TYPE with __fsword_t.
75764         (statfs64): Likewise.
75766 2012-05-17  David S. Miller  <davem@davemloft.net>
75768         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75770 2012-05-17  Andreas Jaeger  <aj@suse.de>
75772         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75773         warning.
75775 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75777         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75779 2012-05-17  Andreas Jaeger  <aj@suse.de>
75781         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75782         when it is used.
75784 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75786         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75788 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75790         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75791         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75793 2012-05-17  Andreas Jaeger  <aj@suse.de>
75794             Carlos O'Donell  <carlos_odonell@mentor.com>
75796         [BZ #14059]
75797         * sysdeps/x86_64/multiarch/init-arch.h
75798         (bit_YMM_Usable): Rename to...
75799         (bit_AVX_Usable): ... this.
75800         (bit_FMA4_Usable): New macro.
75801         (bit_XMM_state): New macro.
75802         (bit_YMM_state): New macro.
75803         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75804         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75805         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75806         (CPUID_OSXSAVE): New macro.
75807         (CPUID_AVX): New macro.
75808         (CPUID_FMA4): New macro.
75809         (index_YMM_Usable): Rename to...
75810         (index_AVX_Usable): ... this.
75811         (HAS_AVX): Use HAS_ARCH_FEATURE.
75812         (HAS_FMA4): Likewise.
75813         (HAS_YMM_USABLE): Remove.
75814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75815         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75816         are present.
75817         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75818         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75819         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75820         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75821         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75823 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75825         * math/libm-test.c: Support platforms without multiple rounding modes.
75826         * math/bug-nextafter.c: Support platforms without FP exceptions.
75827         * math/bug-nexttoward.c: Likewise.
75828         * math/test-fenv.c: Likewise.
75829         * math/test-misc.c: Likewise.
75830         * stdlib/bug-getcontext.c: Likewise.
75832 2012-05-17  Andreas Jaeger  <aj@suse.de>
75834         * manual/examples/search.c (critter_cmp): Change signature to
75835         avoid warnings.
75836         * manual/string.texi (Collation Functions): Likewise.
75838 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75840         * bits/types.h: Fold copyright years.
75841         * bits/typesizes.h: Likewise.
75842         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75843         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75844         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75846         * time/time.h: Likewise.
75848 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75850         [BZ #208]
75851         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75852         in instead of returning them.  Return void.
75853         (__libc_mallinfo): Accumulate over all arenas.
75854         (__malloc_stats): Adjust for change in int_mallinfo interface.
75856 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75858         [BZ #10375]
75859         * configure.in (NM): Add AC_CHECK_TOOL for it.
75860         (libc_extra_cflags): New substituted variable.
75861         Check for -fstack-protector being used implicitly.
75862         * configure: Regenerated.
75863         * config.make.in (config-extra-cflags): New variable,
75864         gets @libc_extra_cflags@.
75865         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75867         [BZ #10375]
75868         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75869         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75870         * configure: Regenerated.
75871         * config.make.in (CPPUNDEFS): New substituted variable.
75872         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75873         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75874         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75876 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75878         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75879         (mq_attr): Use __syscall_slong_t.
75881 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75884         Check __x86_64__ instead of __WORDSIZE.
75885         (_STAT_VER_LINUX): Likewise.
75886         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75887         __syscall_ulong_t and __syscall_slong_t.
75888         (stat64): Likewise.
75890 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75892         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75896         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75898 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75900         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75901         __syscall_ulong_t.
75903         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75904         include <bits/wordsize.h>.  Check __x86_64__ instead of
75905         __WORDSIZE.
75906         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75907         defined.
75908         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75910         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75911         include <bits/wordsize.h>.  Check __x86_64__ instead of
75912         __WORDSIZE.
75913         (user_regs_struct): Use "__extension__ unsigned long long"
75914         instead of "unsigned long" if __x86_64__ is defined.
75915         (user): Likewise.  Pad after pointer field if __ILP32__ is
75916         defined.
75918 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75920         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75921         versions 5 to 9.
75922         * configure: Regenerated.
75923         * manual/install.texi (texinfo): Increase version requirement to
75924         4.5 or later.
75925         * INSTALL: Regenerated.
75927         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75929 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75931         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75933         * sysdeps/x86_64/x32/ffs.c: New file.
75935         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75936         __syscall_ulong_t.
75937         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75938         defined.  Use __syscall_ulong_t.
75939         (shminfo): Use __syscall_ulong_t.
75940         (shm_info): Likewise.
75942         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75943         __syscall_ulong_t.
75945         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75946         <bits/wordsize.h>.
75947         (msgqnum_t): Use __syscall_ulong_t.
75948         (msglen_t): Likewise.
75949         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75950         __syscall_ulong_t.
75952         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75953         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75955         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75957         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75958         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75960         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75961         __syscall_slong_t.
75963         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75964         include <bits/wordsize.h>.  Check __x86_64__ instead of
75965         __WORDSIZE.
75967         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75968         "unsigned long long int" if __x86_64__ is defined.
75969         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75971         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75972         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75973         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75975         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75976         <stdint.h>.
75977         (GET_PC): Cast to uintptr_t first.
75978         (GET_FRAME): Likewise.
75979         (GET_STACK): Likewise.
75981         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75982         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75983         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75984         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75985         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75986         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75987         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75988         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75989         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75990         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75991         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75992         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75993         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75994         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75995         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75996         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75997         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75998         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75999         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76000         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76001         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76002         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76003         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76004         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76005         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76006         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76007         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76008         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76009         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76011 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76013         * Makerules (+depfiles): Also collect depfiles from .oS in
76014         $(extra-objs).
76015         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76016         .oS, $(libnldbl-routines)).
76018         * Makerules (native-compile-mkdep-flags): Define.
76019         * sunrpc/Makefile (extra-objs): Add $(addprefix
76020         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76021         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76022         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76023         calling $(make-target-directory).
76025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76027         * bits/types.h (__snseconds_t): Removed.
76028         * time/time.h (struct timespec): Replace __snseconds_t with
76029         __syscall_slong_t.
76030         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76031         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76032         Likewise.
76033         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76034         (__SNSECONDS_T_TYPE): Likewise.
76035         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76036         (__SNSECONDS_T_TYPE): Likewise.
76037         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76038         (__SNSECONDS_T_TYPE): Likewise.
76040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76042         * sysdeps/mach/hurd/bits/typesizes.h
76043         (__SYSCALL_SLONG_TYPE): New macro.
76044         (__SYSCALL_ULONG_TYPE): Likewise.
76046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76048         * bits/types.h (__syscall_slong_t): New type.
76049         (__syscall_ulong_t): Likewise.
76051         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76052         (__SYSCALL_ULONG_TYPE): Likewise.
76053         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76054         (__SYSCALL_SLONG_TYPE): Likewise.
76055         (__SYSCALL_ULONG_TYPE): Likewise.
76056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76057         (__SYSCALL_SLONG_TYPE): Likewise.
76058         (__SYSCALL_ULONG_TYPE): Likewise.
76059         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76060         (__SYSCALL_SLONG_TYPE): Likewise.
76061         (__SYSCALL_ULONG_TYPE): Likewise.
76063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76065         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76066         Add sigaltstack-offsets.sym.
76067         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76068         <sigaltstack-offsets.h>.
76069         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76070         longjmp_msg pointer.
76071         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76072         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76073         signal stack.
76074         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76076 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76078         * elf/stackguard-macros.h: Remove file.
76079         * sysdeps/generic/stackguard-macros.h: New file.
76080         * sysdeps/i386/stackguard-macros.h: Likewise.
76081         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76082         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76083         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76084         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76085         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76086         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76087         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76088         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76089         <elf/stackguard-macros.h>.
76091         [BZ #14109]
76092         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76093         __aligned__ in attribute.
76094         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76095         (gregset_t): Likewise.
76097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76099         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76100         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76101         * sysdeps/x86_64/x32/Implies-after: New file.
76103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76105         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76106         and access return value for _dl_profile_fixup.  Use R10_LP to
76107         load frame size.
76109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76111         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76115         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76116         * sysdeps/x86_64/x32/sysdep.h: New file.
76118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76120         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76121         * sysdeps/x86_64/setjmp.S: Likewise.
76123 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76126         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76127         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76128         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76129         remove unused global constant.
76131 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76133         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76134         include of <not-cancel.h>.
76136 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76138         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76140 2012-05-15  Jeff Law  <law@redhat.com>
76141             Andreas Jaeger  <aj@suse.de>
76143         [BZ #13594]
76144         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76145         out from...
76146         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76147         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76148         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76149         code changing __hst_map_handle.map.
76151 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76153         * configure.in (sysnames): Look for Implies-before and Implies-after
76154         files.
76155         * configure: Regenerated.
76157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76159         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76160         8-byte data alignment with LP_SIZE alignment.
76162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76164         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76165         into R10_LP.
76167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76169         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76173         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76174         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76175         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76176         Likewise.
76177         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76181         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76182         (stackinfo_sub_sp): Likewise.
76184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76186         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76187         RAX_LP.
76189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76191         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76192         into R*_LP.
76194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76196         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76197         sizes into R*_LP.
76199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76201         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76205         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76206         into R11_LP and load __x86_64_shared_cache_size_half into
76207         R8_LP.
76209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76211         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76212         R8_LP.
76214 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76217         logb for POWER7.
76218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76219         logbf for POWER7.
76220         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76221         logbl for POWER7.
76222         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76223         powerpc32/power7/fpu/s_logb.c via #include.
76224         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76225         powerpc32/power7/fpu/s_logbf.c via #include.
76226         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76227         powerpc32/power7/fpu/s_logbl.c via #include.
76229 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76231         * README.libm: Remove file.
76233 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76235         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76236         count for x32.  Use R*_LP and omit operand-size suffix.
76238 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76240         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76241         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76242         * sysdeps/x86_64/x32/shlib-versions: New file.
76244 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76246         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76247         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76248         Use _dl_fatal_printf instead.
76250 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76252         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76253         set if not set by the user.  Do not allow for being unset.
76254         * sysdeps/unix/sysv/linux/configure: Regenerated.
76256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76258         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76259         the `q' suffix from lea and replace .quad with ASM_ADDR.
76261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76264         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76265         instead of $17.
76266         (PTR_DEMANGLE): Likewise.
76268 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76270         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76271         (LP_OP): Likewise.
76272         (ASM_ADDR): Likewise.
76273         (RAX_LP): Likewise.
76274         (RBP_LP): Likewise.
76275         (RBX_LP): Likewise.
76276         (RCX_LP): Likewise.
76277         (RDI_LP): Likewise.
76278         (RSI_LP): Likewise.
76279         (RSP_LP): Likewise.
76280         (R8_LP): Likewise.
76281         (R9_LP): Likewise.
76282         (R10_LP): Likewise.
76283         (R10_LP): Likewise.
76284         (R11_LP): Likewise.
76285         (R12_LP): Likewise.
76286         (R13_LP): Likewise.
76287         (R14_LP): Likewise.
76288         (R15_LP): Likewise.
76290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76292         * sysdeps/x86_64/x32/dl-machine.h: New file.
76294 2012-05-14  Andreas Jaeger  <aj@suse.de>
76296         * manual/Makefile (subdir): Remove export of subdir.
76297         (all): Remove target.
76298         (.PHONY): Remove all from list.
76299         (mkinstalldirs): Remove.
76300         (.PHONY): Remove installdirs from list.
76301         ($(inst_infodir)/libc.info): Use make-target-directory.
76302         (installdirs): Remove.
76303         (subdir_%): Remove.
76304         (glibc-targets): Remove.
76305         (lib): Remove.
76306         (stubs): Remove.
76307         ($(objpfx)stubs ../po/manual.pot): Remove.
76308         ($(objpfx)stamp%): Remove.
76309         (make-target-directory): Remove.
76310         (subdir_install): Remove.
76311         (routines): Remove.
76312         (aux): Remove.
76313         (sources): Remove.
76314         (objects): Remove.
76315         (headers): Remove.
76317         [BZ #13750]
76318         * manual/.gitignore: Remove, it's not needed anymore.
76319         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76320         all files in it.
76321         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76322         directory.
76323         (texis): Renamed to $(objpfx)texis.
76324         (texis-path): New, contains path to generated files.
76325         (chapters.%): Use texis-path for complete path, add extra argument
76326         libc-texinfo.sh.
76327         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76328         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76329         (summary,texi, stamp-summary): Use complete path of
76330         files. Generate files in build dir.
76331         (dir-add.texi): Build in build dir.
76332         (libm-err.texi,stamp-libm-err): Likewise.
76333         (version.texi, stamp-version): Likewise.
76334         (.%c.texi): Likewise.
76335         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76336         (mostlyclean): Remove target.
76337         (realclean): Remove target.
76338         (generated): Add new variable with contents from mostlyclean and
76339         realclean, remove entries duplicated in common-mostlyclean, add
76340         stamp-libm-err and stamp-version.
76341         (generated-dirs): Add libc directory.
76342         ($(inst_infodir)/libc.info): Install files from build dir.
76344         * manual/install.texi (Configuring and compiling): Adjust since
76345         the info files are not part of the tar ball anymore.
76347 2012-05-14  Andreas Jaeger  <aj@suse.de>
76349         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76350         variable.
76352 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76354         [BZ #13717]
76355         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76356         to 2.2.0 where earlier.
76357         * sysdeps/unix/sysv/linux/configure: Regenerated.
76358         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76359         Remove conditional code.
76360         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76361         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76362         Remove conditional code.
76363         [!__NR_lchown]: Likewise.
76364         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76365         [__NR_lchown]: Likewise.
76366         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76367         comment referencing __ASSUME_LCHOWN_SYSCALL.
76368         * sysdeps/unix/sysv/linux/i386/sigaction.c
76369         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76370         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76371         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76372         Remove conditional code.
76373         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76374         (__protocol_available): Remove #if 0 code.
76375         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76376         conditional code.
76377         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76378         * sysdeps/unix/sysv/linux/kernel-features.h
76379         (__ASSUME_GETCWD_SYSCALL): Don't define.
76380         (__ASSUME_REALTIME_SIGNALS): Likewise.
76381         (__ASSUME_PREAD_SYSCALL): Likewise.
76382         (__ASSUME_PWRITE_SYSCALL): Likewise.
76383         (__ASSUME_POLL_SYSCALL): Likewise.
76384         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76385         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76386         non-SPARC.
76387         (__ASSUME_SIOCGIFNAME): Don't define.
76388         (__ASSUME_MSG_NOSIGNAL): Likewise.
76389         (__ASSUME_SENDFILE): Define unconditionally.
76390         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76391         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76392         conditional code.
76393         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76394         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76395         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76396         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76397         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76398         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76399         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76401         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76404         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76407         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76408         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76410         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76413         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76416         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76419         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76420         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76422         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76423         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76424         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76425         Remove conditional code.
76426         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76427         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76428         Remove conditional code.
76429         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76430         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76431         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76432         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76433         Remove conditional code.
76434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76435         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76436         Remove conditional code.
76437         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76438         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76439         Remove conditional code.
76440         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76441         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76442         Remove conditional code.
76443         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76444         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76445         Remove conditional code.
76446         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76447         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76448         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76449         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76450         * sysdeps/unix/sysv/linux/sigaction.c
76451         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76452         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76453         * sysdeps/unix/sysv/linux/sigpending.c
76454         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76455         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76456         * sysdeps/unix/sysv/linux/sigprocmask.c
76457         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76458         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76459         * sysdeps/unix/sysv/linux/sigsuspend.c
76460         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76461         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76462         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76463         (__libc_missing_rt_sigs): Remove.
76464         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76465         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76466         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76467         Remove conditional code.
76468         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76469         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76470         return 1.
76471         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76472         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76473         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76474         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76476 2012-05-14  Andreas Jaeger  <aj@suse.de>
76478         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76479         it's not used in glibc.
76480         (__coshm1): Likewise.
76481         (__acosh1p): Likewise.
76482         (__sgn): Likewise.
76484         * manual/string.texi (Copying and Concatenation): Add missing
76485         variable in concat example.
76486         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76490         [BZ #14103]
76491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76492         __builtin_clzl with __builtin_clzll.
76494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76496         [BZ #14104]
76497         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76498         libc_freeres_ptr.
76500 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76502         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76503         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76504         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76505         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76507 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76509         * NEWS: Update ia64 info.
76511 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76513         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76514         used as bcopy.
76516 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76518         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76519         * sysdeps/unix/syscalls.list (dup3): Likewise.
76520         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76521         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76523 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76525         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76526         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76528 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76530         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76531         thread pointer.
76532         (TLS_IE): Use mov/add instead of movq/addq to load thread
76533         pointer.
76534         (TLS_GD_PREFIX): New.
76535         (TLS_GD): Use it.
76537 2012-05-11  David S. Miller  <davem@davemloft.net>
76539         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76540         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76541         (_FPU_SETCW): Likewise.
76543 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76545         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76546         is 32-byte aligned.
76548 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76550         [BZ #11837]
76551         * iconvdata/gb18030.c: Update tables.
76552         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76553         characters specially.
76554         (BODY for TO_LOOP): Add encoding of missing ranges.
76556 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76558         [BZ #13673]
76559         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76560         * sysdeps/mach/hurd/dup3.c: Likewise.
76561         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76562         * sysdeps/powerpc/memmove.c:: Likewise.
76564 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76566         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76567         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76569 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76571         * elf/elf.h (R_X86_64_RELATIVE64): New.
76572         (R_X86_64_NUM): Updated.
76573         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76574         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76575         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76576         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76577         tst-quad1pie tst-quad2pie
76578         (modules-names): Add tst-quadmod1 tst-quadmod2.
76579         ($(objpfx)tst-quad1): New dependency.
76580         ($(objpfx)tst-quad2): Likewise.
76581         ($(objpfx)tst-quad1pie): Likewise.
76582         ($(objpfx)tst-quad2pie): Likewise.
76583         * sysdeps/x86_64/tst-quad1.c: New file.
76584         * sysdeps/x86_64/tst-quad1pie.c: New file.
76585         * sysdeps/x86_64/tst-quad2.c: Likewise.
76586         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76587         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76588         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76589         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76590         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76592 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76594         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76595         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76596         * streams/stropts.h (t_scalar_t): Define type.
76598         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76599         (_PATH_PRESERVE): Set to "/var/lib".
76600         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76602         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76603         instead of int.
76605         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76606         if __dir_mkfile succeeded.
76608         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76609         checking for _hurd_dtablesize.  Unlock it right after having
76610         finished _hurd_dtable allocation.
76612 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76614         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76615         * sysdeps/mach/hurd/configure: Regenerated.
76616         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76617         special-casing to...
76618         * sysdeps/gnu/configure.in: ... this new file.
76619         * sysdeps/unix/sysv/linux/configure: Regenerated.
76620         * sysdeps/gnu/configure: New generated file.
76622         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76623         for Linux: use nsec instead of usec, as well as:
76624         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76625         members of type struct timespec.
76626         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76627         New macros.
76628         (struct stat64): Likewise.
76629         (_STATBUF_ST_NSEC): New macro.
76630         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76632         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76633         __strtoul_internal rather than strtoul.
76635 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76637         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76638         and reject them.
76640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76642         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76643         which preserves existing values.
76644         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76646 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76648         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76649         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76650         greater than FD_SETSIZE.
76652 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76654         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76655         allocated, call __vm_protect to finish enabling the existing space, and
76656         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76657         allocate the remainder.
76659 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76661         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76662         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76664 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76666         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76667         sysdeps/mach/hurd/readlink.c.
76669         * posix/tst-sysconf.c (posix_options): Only use
76670         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76671         _POSIX_SYNCHRONIZED_IO when they are defined
76672         * sysdeps/mach/hurd/bits/posix_opt.h:
76673         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76674         (_XOPEN_REALTIME): Undefine macro.
76675         (_XOPEN_REALTIME_THREADS): Undefine macro.
76676         (_XOPEN_SHM): Undefine macro.
76677         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76678         macro to -1.
76679         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76680         macro to -1.
76681         (_POSIX_ASYNC_IO): Undefine macro.
76682         (_POSIX_PRIORITIZED_IO): Undefine macro.
76683         (_POSIX_SPIN_LOCKS): Define macro to -1.
76685         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76686         SA_NODEFER, SA_RESETHAND.
76687         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76688         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76689         F_DUPFD_CLOEXEC.
76691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76693         * elf/Makefile (pldd-modules): Define unconditionally.
76695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76697         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76699 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76701         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76702         Return ENOENT when name is empty.
76703         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76705 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76707         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76709         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76711 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76713         Fix mlock in all cases except non-readable pages.
76714         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76715         instead of VM_PROT_ALL as parameter to __vm_wire function.
76717         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76718         (__mkdir): When path is `/', just fail with EEXIST.
76719         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76723         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76724         <sys/uio.h> (for writev).
76725         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76726         and <sys/param.h> (for MIN).
76728 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76730         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76731         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76732         if interrupted.
76734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76736         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76737         Depend on against $(link-rpcuserlibs).
76739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76741         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76742         (__libc_stack_end): Do not use attribute_relro.
76743         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76744         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76745         to libthread-provided value.
76746         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76747         attribute_relro.
76749 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76751         [BZ #3748]
76752         * bits/libc-lock.h (__libc_once_get): New macro.
76753         * sysdeps/mach/bits/libc-lock.h: Likewise.
76754         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76755         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76756         instead of using implementation details.
76758         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76759         * libio/freopen.c: Likewise.
76760         * libio/freopen64.c: Likewise.
76761         * misc/syslog.c: Likewise.
76762         * nscd/connections.c: Likewise.
76763         * nscd/netgroupcache.c: Likewise.
76764         * sysdeps/posix/getcwd.c: Likewise.
76766 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76768         * math/w_ilogbf.c: Add #include <limits.h>.
76770 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76772         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76773         path instead of returning without unlocking.
76775         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76776         immediate-write ioctls.
76777         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76781         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76782         __builtin_frame_address instead of making assumptions about the
76783         location of the return address relative to DATA.  Force early load of
76784         the return address.
76785         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76786         __builtin_frame_address.
76788         dup3 for GNU Hurd.
76789         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76790         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76791         implement dup3 and do some further code clean-ups.
76792         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76793         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76797         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76799         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76800         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76801         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76802         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76803         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76804         d->port.lock.
76806         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76807         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76808         when handler == SIG_ERR, not when handler != SIG_ERR.
76810 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76812         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76813         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76814         definitions.
76816         accept4 for GNU Hurd.
76817         * include/sys/socket.h (__libc_accept4): New prototype.
76818         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76819         to implement __libc_accept4.
76820         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76821         __libc_accept4.
76822         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76824         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76825         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76826         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76827         signal-defines.sym.
76829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76831         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76835         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76836         assertion on O_CLOEXEC flag.
76837         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76838         * hurd/intern-fd.c: Likewise.
76839         * hurd/port2fd.c: Likewise.
76841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76843         [BZ #3906]
76844         * bits/in.h (IPV6_PKTINFO): Define new macro.
76845         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76847 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76849         [BZ #13954]
76850         [BZ #13955]
76851         [BZ #13956]
76852         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76853         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76854         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76855         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76856         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76857         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76858         * math/libm-test.inc (logb_test) : Additional logb tests.
76860 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76861             Andreas Jaeger  <aj@suse.de>
76863         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76864         * configure: Regenerated.
76865         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76866         * config.make.in (link-obsolete-rpc): New substituted variable.
76867         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76868         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76869         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76870         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76871         so that libc.a contains the symbols.
76872         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76873         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76874         * sunrpc/auth_none.c: Likewise.
76875         * sunrpc/auth_unix.c: Likewise.
76876         * sunrpc/authdes_prot.c: Likewise.
76877         * sunrpc/authuxprot.c: Likewise.
76878         * sunrpc/clnt_gen.c: Likewise.
76879         * sunrpc/clnt_perr.c: Likewise.
76880         * sunrpc/clnt_raw.c: Likewise.
76881         * sunrpc/clnt_simp.c: Likewise.
76882         * sunrpc/clnt_tcp.c: Likewise.
76883         * sunrpc/clnt_udp.c: Likewise.
76884         * sunrpc/clnt_unix.c: Likewise.
76885         * sunrpc/des_crypt.c: Likewise.
76886         * sunrpc/des_soft.c: Likewise.
76887         * sunrpc/get_myaddr.c: Likewise.
76888         * sunrpc/key_call.c: Likewise.
76889         * sunrpc/key_prot.c: Likewise.
76890         * sunrpc/netname.c: Likewise.
76891         * sunrpc/pm_getmaps.c: Likewise.
76892         * sunrpc/pm_getport.c: Likewise.
76893         * sunrpc/pmap_clnt.c: Likewise.
76894         * sunrpc/pmap_prot.c: Likewise.
76895         * sunrpc/pmap_prot2.c: Likewise.
76896         * sunrpc/pmap_rmt.c: Likewise.
76897         * sunrpc/publickey.c: Likewise.
76898         * sunrpc/rpc_cmsg.c: Likewise.
76899         * sunrpc/rpc_common.c: Likewise.
76900         * sunrpc/rpc_dtable.c: Likewise.
76901         * sunrpc/rpc_prot.c: Likewise.
76902         * sunrpc/rpc_thread.c: Likewise.
76903         * sunrpc/rtime.c: Likewise.
76904         * sunrpc/svc.c: Likewise.
76905         * sunrpc/svc_auth.c: Likewise.
76906         * sunrpc/svc_raw.c: Likewise.
76907         * sunrpc/svc_run.c: Likewise.
76908         * sunrpc/svc_tcp.c: Likewise.
76909         * sunrpc/svc_udp.c: Likewise.
76910         * sunrpc/svc_unix.c: Likewise.
76911         * sunrpc/svcauth_des.c: Likewise.
76912         * sunrpc/xcrypt.c: Likewise.
76913         * sunrpc/xdr.c: Likewise.
76914         * sunrpc/xdr_array.c: Likewise.
76915         * sunrpc/xdr_float.c: Likewise.
76916         * sunrpc/xdr_intXX_t.c: Likewise.
76917         * sunrpc/xdr_mem.c: Likewise.
76918         * sunrpc/xdr_rec.c: Likewise.
76919         * sunrpc/xdr_ref.c: Likewise.
76920         * sunrpc/xdr_sizeof.c: Likewise.
76921         * sunrpc/xdr_stdio.c: Likewise.
76923 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76925         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76926         change.  Update copyright years.
76928 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76930         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76932 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76933             Joseph Myers  <joseph@codesourcery.com>
76934             Paul Pluzhnikov  <ppluzhnikov@google.com>
76936         [BZ #14012]
76937         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76938         requiring rpcgen.
76939         [cross-compiling] (extra-libs): Likewise.
76940         [cross-compiling] (extra-libs-others): Likewise.
76941         [cross-compiling] (librpcsvc-routines): Likewise.
76942         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76943         [cross-compiling] (omit-deps): Likewise.
76944         (sunrpc-CPPFLAGS): New variable.
76945         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76946         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76947         (cross-rpcgen-objs): New variable.
76948         (extra-objs): Append $(cross-rpcgen-objs).
76949         ($(cross-rpcgen-objs)): New rule.
76950         ($(objpfx)cross-rpcgen): Likewise.
76951         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76952         comment.
76953         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76954         ($(objpfx)x%.stmp): Likewise.
76955         * sunrpc/proto.h [IS_IN_build] (_): Define.
76956         [IS_IN_build] (_libc_intl_domainname): Likewise.
76958 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76960         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76961         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76962         and R_X86_64_TPOFF64.
76964 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76966         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76967         sysdeps/unix/sysv/syscalls.list.
76968         (stime): Likewise.
76969         (utime): Likewise.
76970         * sysdeps/unix/sysv/syscalls.list: Remove file.
76972 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76974         [BZ #3440]
76975         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76976         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76977         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76978         (__LC_IDENTIFICATION): Make these macros useful in #if
76979         expressions, as required by C99.
76981 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76983         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76984         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76985         after this.
76987 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76989         * stdlib/longlong.h: Updated from GCC.
76991 2012-05-09  Andreas Jaeger  <aj@suse.de>
76993         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76994         default is first entry.
76995         (run_mode): Set type.
76996         (main): Remove informal message about syslog.
76997         (options): Fix typo.
76999         [BZ #14053]
77000         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77001         to asm.
77002         (lrint): Likewise.
77003         (llrintf): Likewise.
77004         (llrint): Likewise.
77005         (rint): Likewise.
77006         (rintf): Likewise.
77007         (nearbyint): Likewise.
77008         (nearbyintf): Likewise.
77010 2012-05-09  Andreas Jaeger  <aj@suse.de>
77011             Pedro Alves  <palves@redhat.com>
77013         * nscd/nscd.c (run_mode): Use enum.
77014         (main): Cleanup coding style issue.
77016 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77017             Andreas Jaeger  <aj@suse.de>
77019         * nscd/nscd.c (go_background): Replaced with...
77020         (run_mode): ... this.
77021         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77022         (options): Add -F --foreground.
77023         (main): Implement it.
77024         (parse_opt): Parse it.
77026 2012-05-09  Andreas Jaeger  <aj@suse.de>
77028         [BZ #14083]
77029         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77030         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77031         -Wconversion warning.
77032         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77033         Likewise.
77035 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77037         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77038         == 0.
77039         (LC_ALL): Use macro-int-constant.
77040         (LC_COLLATE): Likewise.
77041         (LC_CTYPE): Likewise.
77042         (LC_MESSAGES): Likewise.
77043         (LC_MONETARY): Likewise.
77044         (LC_NUMERIC): Likewise.
77045         (LC_TIME): Likewise.
77046         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77047         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77048         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77049         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77050         Specify type.
77051         [C99-based standards] (float_t): Expect type.
77052         [C99-based standards] (double_t): Expect type.
77053         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77054         type.
77055         [C99-based standards] (HUGE_VALL): Likewise.
77056         [C99-based standards] (INFINITY): Likewise.
77057         [C99-based standards] (NAN): Likewise.
77058         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77059         [C99-based standards] (FP_NAN): Likewise.
77060         [C99-based standards] (FP_NORMAL): Likewise.
77061         [C99-based standards] (FP_SUBNORMAL): Likewise.
77062         [C99-based standards] (FP_ZERO): Likewise.
77063         [C99-based standards] (FP_FAST_FMA): Use
77064         optional-macro-int-constant.  Specify type.  Require == 1.
77065         [C99-based standards] (FP_FAST_FMAF): Likewise.
77066         [C99-based standards] (FP_FAST_FMAL): Likewise.
77067         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77068         [C99-based standards] (FP_ILOGBNAN): Likewise.
77069         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77070         Specify type.
77071         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77072         [C99-based standards] (math_errhandling): Specify type.
77073         [ISO99 || ISO11] (signgam): Do not allow.
77074         [non-C99-based standards] (copysignf): Do not allow.
77075         [non-C99-based standards] (exp2f): Likewise.
77076         [non-C99-based standards] (log2f): Likewise.
77077         [non-C99-based standards] (modff): Allow.
77078         [non-C99-based standards] (erff): Do not allow.
77079         [non-C99-based standards] (erfcf): Likewise.
77080         [non-C99-based standards] (gammaf): Likewise.
77081         [non-C99-based standards] (hypotf): Likewise.
77082         [non-C99-based standards] (j0f): Likewise.
77083         [non-C99-based standards] (j1f): Likewise.
77084         [non-C99-based standards] (jnf): Likewise.
77085         [non-C99-based standards] (lgammaf): Likewise.
77086         [non-C99-based standards] (tgammaf): Likewise.
77087         [non-C99-based standards] (y0f): Likewise.
77088         [non-C99-based standards] (y1f): Likewise.
77089         [non-C99-based standards] (ynf): Likewise.
77090         [non-C99-based standards] (isnanf): Likewise.
77091         [non-C99-based standards] (acoshf): Likewise.
77092         [non-C99-based standards] (asinhf): Likewise.
77093         [non-C99-based standards] (atanhf): Likewise.
77094         [non-C99-based standards] (cbrtf): Likewise.
77095         [non-C99-based standards] (expm1f): Likewise.
77096         [non-C99-based standards] (ilogbf): Likewise.
77097         [non-C99-based standards] (log1pf): Likewise.
77098         [non-C99-based standards] (logbf): Likewise.
77099         [non-C99-based standards] (nextafterf): Likewise.
77100         [non-C99-based standards] (remainderf): Likewise.
77101         [non-C99-based standards] (rintf): Likewise.
77102         [non-C99-based standards] (scalbf): Likewise.
77103         [non-C99-based standards] (copysignl): Likewise.
77104         [non-C99-based standards] (exp2l): Likewise.
77105         [non-C99-based standards] (log2l): Likewise.
77106         [non-C99-based standards] (modfl): Allow.
77107         [non-C99-based standards] (erfl): Do not allow.
77108         [non-C99-based standards] (erfcl): Likewise.
77109         [non-C99-based standards] (gammal): Likewise.
77110         [non-C99-based standards] (hypotl): Likewise.
77111         [non-C99-based standards] (j0l): Likewise.
77112         [non-C99-based standards] (j1l): Likewise.
77113         [non-C99-based standards] (jnl): Likewise.
77114         [non-C99-based standards] (lgammal): Likewise.
77115         [non-C99-based standards] (tgammal): Likewise.
77116         [non-C99-based standards] (y0l): Likewise.
77117         [non-C99-based standards] (y1l): Likewise.
77118         [non-C99-based standards] (ynl): Likewise.
77119         [non-C99-based standards] (isnanl): Likewise.
77120         [non-C99-based standards] (acoshl): Likewise.
77121         [non-C99-based standards] (asinhl): Likewise.
77122         [non-C99-based standards] (atanhl): Likewise.
77123         [non-C99-based standards] (cbrtl): Likewise.
77124         [non-C99-based standards] (expm1l): Likewise.
77125         [non-C99-based standards] (ilogbl): Likewise.
77126         [non-C99-based standards] (log1pl): Likewise.
77127         [non-C99-based standards] (logbl): Likewise.
77128         [non-C99-based standards] (nextafterl): Likewise.
77129         [non-C99-based standards] (remainderl): Likewise.
77130         [non-C99-based standards] (rintl): Likewise.
77131         [non-C99-based standards] (scalbl): Likewise.
77132         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77133         [non-C99-based standards] (FP_*): Do not allow.
77134         [C99-based standards] (FP_*): Change to
77135         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77136         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77137         allow.
77138         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77139         (SIG_ERR): Likewise.
77140         [X/Open-based standards] (SIG_HOLD): Likewise.
77141         (SIG_IGN): Likewise.
77142         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77143         positive value.
77144         (SIGFPE): Likewise.
77145         (SIGILL): Likewise.
77146         (SIGINT): Likewise.
77147         (SIGSEGV): Likewise.
77148         (SIGTER): Likewise.
77149         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77150         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77151         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77152         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77153         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77154         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77155         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77156         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77157         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77158         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77159         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77160         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77161         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77162         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77163         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77164         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77165         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77166         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77167         [X/Open-based standards] (SIGTRAP): Likewise.
77168         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77169         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77170         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77171         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77172         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77173         allow.
77175 2012-05-08  Ian Wienand  <ianw@vmware.com>
77177         [BZ #14080]
77178         * time/tzset.c (__tzset_parse_tz): Update default rules for
77179         daylight time changes in the Energy Policy Act of 2005.
77181 2012-05-09  Andreas Jaeger  <aj@suse.de>
77183         [BZ #13983]
77184         * elf/ldconfig.c (parse_conf): Change string to make clear that
77185         ldconfig only issued a warning if ld.so.conf does not exist.
77187 2012-05-08  David S. Miller  <davem@davemloft.net>
77189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77190         movxtod instead of popping the value on the stack.
77192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77194 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77196         * config.h.in: Add HAVE_ARM_PCS_VFP.
77198 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77200         [BZ #13979]
77201         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77202         checking but the checks are disabled for any reason.
77204 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77206         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77207         and ELF64_R_TYPE with ELFW(R_TYPE).
77209 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77211         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77212         (ulimit): Likewise.
77214         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77215         (settimeofday): Likewise.
77217 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77219         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77220         a struct th_u2 inside the union, and move tu_block/tu_code into
77221         a new th_u3 union of tu_block/tu_code inside of that.  Move
77222         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77223         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77224         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77225         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77226         (th_stuff): Change to th_u1.tu_stuff.
77227         (th_data): Define.
77228         (th_msg): Change to th_u1.th_u2.tu_data.
77230 2012-05-07  David S. Miller  <davem@davemloft.net>
77232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77234         [BZ #14074]
77235         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77236         (SETUP_PIC_REG): Use it.
77237         (SETUP_PIC_REG_LEAF): Use it.
77239 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77241         [BZ #13885]
77242         [BZ #13923]
77243         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77244         USE_AS_EXPM1L.
77245         (EXPL_FINITE): Likewise.
77246         (FLDLOG): Likewise.
77247         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77248         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77249         e_expl.S.
77250         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77251         USE_AS_EXPM1L.
77252         (EXPL_FINITE): Likewise.
77253         (FLDLOG): Likewise.
77254         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77255         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77256         e_expl.S.
77257         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77258         test of -max_value argument for long double.
77259         * sysdeps/i386/fpu/libm-test-ulps: Update.
77260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77262 2012-05-06  David S. Miller  <davem@davemloft.net>
77264         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77265         quad soft-float symbols whose references which are compiler
77266         generated.
77267         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77269 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77271         [BZ #13884]
77272         [BZ #13914]
77273         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77274         USE_AS_EXP10L.
77275         (EXPL_FINITE): Likewise.
77276         (FLDLOG): Likewise.
77277         (c0): Likewise.
77278         (c1): Likewise.
77279         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77280         Adjust comments for base varying.
77281         (__expl_finite): Change alias to EXPL_FINITE.
77282         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77283         e_expl.S.
77284         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77285         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77286         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77287         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77288         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77289         USE_AS_EXP10L.
77290         (EXPL_FINITE): Likewise.
77291         (FLDLOG): Likewise.
77292         (c0): Likewise.
77293         (c1): Likewise.
77294         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77295         Adjust comments for base varying.
77296         (__expl_finite): Change alias to EXPL_FINITE.
77297         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77298         tests for bugs.
77299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77301         [BZ #14064]
77302         * math/libm-test.inc (check_float_internal): Correct ulp
77303         calculation for subnormal expected results.
77305 2012-05-06  Andreas Jaeger  <aj@suse.de>
77307         * Makeconfig (+math-flags): New, set to -frounding-math.
77308         (+cflags): Add +math-flags so that all of glibc gets compiled with
77309         it.
77311         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77313 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77315         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77316         Disable one test.
77318         [BZ #13787]
77319         [BZ #13922]
77320         [BZ #14036]
77321         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77322         (__ieee754_expl): Allow for and saturate large arguments.
77323         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77324         (u_threshold): Likewise.
77325         (__exp): Call __ieee754_exp before checking for overflow and
77326         underflow.
77327         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77328         (u_threshold): Likewise.
77329         (__expf): Call __ieee754_expf before checking for overflow and
77330         underflow.
77331         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77332         (u_threshold): Likewise.
77333         (__expl): Call __ieee754_expl before checking for overflow and
77334         underflow.
77335         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77336         (__ieee754_expl): Allow for and saturate large arguments.
77337         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77338         missing overflow exception on overflow.
77339         (expm1_test): Do not allow missing overflow exception on overflow.
77341         * sysdeps/i386/fpu/e_expl.c: Move to ...
77342         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77343         rather than using inline asm.
77344         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77345         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77346         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77348         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77349         (nice): Likewise.
77350         (poll): Likewise.
77351         (signal): Likewise.
77352         (time): Likewise.
77353         (times): Likewise.
77355 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77357         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77358         sysdeps/unix/common/syscalls.list.
77359         (fchmod): Likewise.
77360         (fchown): Likewise.
77361         (ftruncate): Likewise.
77362         (getrusage): Likewise.
77363         (gettimeofday): Likewise.
77364         (setpgid): Likewise.
77365         (setregid): Likewise.
77366         (setreuid): Likewise.
77367         (sigaction): Likewise.
77368         (truncate): Likewise.
77369         (vhangup): Likewise.
77370         * sysdeps/unix/common/syscalls.list: Remove file.
77371         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77372         * sysdeps/unix/sysv/linux/Implies: Likewise.
77374 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77376         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77378         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77379         Moved to ...
77380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77381         Here.
77382         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77383         to ...
77384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77385         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77386         to ...
77387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77388         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77389         to ...
77390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77391         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77392         to ...
77393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77394         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77395         to ...
77396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77397         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77398         to ...
77399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77400         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77401         to ...
77402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77403         Here.
77404         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77405         to ...
77406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77407         Here.
77408         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77409         to ...
77410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77411         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77412         Moved to ...
77413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77414         Here.
77415         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77416         to ...
77417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77419 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77421         * sysdeps/unix/common/bits/dirent.h: Remove file.
77422         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77424         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77425         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77426         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77427         * sysdeps/unix/bsd/isatty.c: Likewise.
77428         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77429         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77430         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77432 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77434         [BZ #13563]
77435         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77436         long double comparison inaccuracies.
77437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77440 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77442         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77443         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77445 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77447         [BZ #14049]
77448         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77449         nonzero digits before rounding a hex value.
77450         * stdlib/tst-strtod.c (tests): Add another test.
77452 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77454         * sysdeps/s390/fpu/libm-test-ulps: Update.
77456 2012-05-03  Andreas Jaeger  <aj@suse.de>
77458         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77459         does not get optimized out.
77460         (malloc_opt_barrier): New.
77462 2012-05-03  Andreas Jaeger  <aj@suse.de>
77463             Roland McGrath  <roland@hack.frob.com>
77465         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77466         intermediate file deletion.
77467         (generated): Add .symlist files.
77469 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77471         [BZ #13775]
77472         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77473         Redirect under this condition.
77474         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77475         [__USE_GNU] (__dprintf_chk): Not under this condition.
77476         [__USE_GNU] (__vdprintf_chk): Likewise.
77477         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77478         under this condition.
77479         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77480         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77481         [__USE_XOPEN2K8] (vdprintf): Likewise.
77482         [__USE_GNU] (__dprintf_chk): Not under this condition.
77483         [__USE_GNU] (__vdprintf_chk): Likewise.
77484         [__USE_GNU] (dprintf): Likewise.
77485         [__USE_GNU] (vdprintf): Likewise.
77487 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77489         * elf/Makefile (common-generated): Set this instead of generated for
77490         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77491         $(all-built-dso)-derived lists.
77493 2012-05-03  Andreas Jaeger  <aj@suse.de>
77495         * sysdeps/i386/fpu/libm-test-ulps: Update.
77497         * FAQ: Removed.
77498         * FAQ.in: Likewise.
77499         * scripts/gen-FAQ.pl: Likewise.
77500         * manual/install.texi (Installation): Point to online location of
77501         FAQ.
77502         * Makefile (files-for-dist): Remove FAQ.
77503         (FAQ): Remove.
77505 2012-05-02  Allan McRae  <allan@archlinux.org>
77507         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77508         (LDFLAGS-reldepmod5.so): Likewise.
77509         (LDFLAGS-reldep6mod1.so): Likewise.
77510         (LDFLAGS-reldep6mod4.so): Likewise.
77511         (LDFLAGS-reldep8mod3.so): Likewise.
77512         (LDFLAGS-unload4mod1.so): Likewise.
77513         (LDFLAGS-unload4mod2.so): Likewise.
77514         (LDFLAGS-tst-initorder): Likewise.
77515         (LDFLAGS-tst-initordera2.so): Likewise.
77516         (LDFLAGS-tst-initordera3.so): Likewise.
77517         (LDFLAGS-tst-initordera4.so): Likewise.
77518         (LDFLAGS-tst-initorderb2.so): Likewise.
77519         (LDFLAGS-noload): Likewise.
77520         (LDFLAGS-next): Likewise.
77521         (LDFLAGS-order2mod1.so): Likewise.
77522         (LDFLAGS-order2mod2.so): Likewise.
77523         (LDFLAGS-tst-initorder2): Likewise.
77524         (LDFLAGS-tst-initorder2a.so): Likewise.
77525         (LDFLAGS-tst-initorder2b.so): Likewise.
77526         (LDFLAGS-tst-initorder2c.so): Likewise.
77527         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77529 2012-05-02  David S. Miller  <davem@davemloft.net>
77531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77533 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77535         [BZ #14055]
77536         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77538 2012-05-02  Andreas Jaeger  <aj@suse.de>
77540         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77541         since we manipulate rounding mode.
77542         (CPPFLAGS-test-idouble.c): Likewise.
77543         (CPPFLAGS-test-ifloat.c): Likewise.
77544         (CFLAGS-test-ldouble.c): Likewise.
77545         (CFLAGS-test-double.c): Likewise.
77546         (CFLAGS-test-float.c): Likewise.
77547         (CFLAGS-test-misc.c): Likewise.
77548         (CFLAGS-test-test-fenv.c): Likewise.
77550 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77552         [BZ #2550]
77553         [BZ #2570]
77554         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77555         comparisons to determine direction to adjust input.
77557 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77559         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77560         output to the target.
77562         * scripts/localplt.awk: New file.
77563         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77564         (check-localplt-CFLAGS): Variable removed.
77565         ($(all-built-dso:=.jmprel)): New static pattern rule.
77566         (generated): Add those targets.
77567         (localplt-built-dso): New variable.
77568         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77570         * elf/check-localplt.c: File removed.
77572         * scripts/check-execstack.awk: New file.
77573         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77574         (check-execstack-CFLAGS): Variable removed.
77575         ($(objpfx)check-execstack.h): Target removed.
77576         ($(objpfx)execstack-default): New target.
77577         (generated): Add that instead of check-execstack.h.
77578         ($(all-built-dso:=.phdr)): New static pattern rule.
77579         (generated): Add those targets.
77580         * elf/check-execstack.c: File removed.
77582         * scripts/check-textrel.awk: New file.
77583         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77584         (check-textrel-CFLAGS): Variable removed.
77585         (all-built-dso): Use := to define.o
77586         ($(all-built-dso:=.dyn)): New static pattern rule.
77587         (generated): Add those targets.
77588         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77589         * config.make.in (READELF): New substituted variable.
77590         * elf/check-textrel.c: File removed.
77592 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77594         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77595         allow.
77596         * conform/data/ctype.h-data [C99-based standards] (isblank):
77597         Expect function.
77598         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77599         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77600         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77601         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77602         Specify type.  Require positive value.
77603         (EILSEQ): Likewise.
77604         (ERANGE): Likewise.
77605         [ISO || POSIX] (EILSEQ): Do not expect.
77606         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77607         Specify type.  Require positive value.
77608         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77609         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77610         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77611         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77612         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77613         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77614         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77615         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77616         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77617         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77618         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77619         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77620         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77621         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77622         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77623         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77624         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77625         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77626         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77627         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77628         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77629         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77630         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77631         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77632         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77633         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77634         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77635         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77636         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77637         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77638         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77639         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77640         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77641         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77642         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77643         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77644         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77645         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77646         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77647         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77648         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77649         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77650         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77651         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77652         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77653         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77654         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77655         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77656         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77657         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77658         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77659         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77660         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77661         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77662         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77663         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77664         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77665         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77666         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77667         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77668         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77669         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77670         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77671         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77672         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77673         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77674         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77675         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77676         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77677         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77678         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77679         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77680         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77681         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77682         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77683         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77684         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77685         Require >= 2.
77686         (FLT_ROUNDS): Expect as macro, not constant.
77687         (FLT_MANT_DIG): Use macro-int-constant.
77688         (DBL_MANT_DIG): Likewise.
77689         (LDBL_MANT_DIG): Likewise.
77690         (FLT_DIG): Likewise.
77691         (DBL_DIG): Likewise.
77692         (LDBL_DIG): Likewise.
77693         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77694         (DBL_MIN_EXP): Likewise.
77695         (LDBL_MIN_EXP): Likewise.
77696         (FLT_MAX_EXP): Use macro-int-constant.
77697         (DBL_MAX_EXP): Likewise.
77698         (LDBL_MAX_EXP): Likewise.
77699         (FLT_MAX_10_EXP): Likewise.
77700         (DBL_MAX_10_EXP): Likewise.
77701         (LDBL_MAX_10_EXP): Likewise.
77702         (FLT_MAX): Use macro-constant.
77703         (DBL_MAX): Likewise.
77704         (LDBL_MAX): Likewise.
77705         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77706         (DBL_EPSILON): Likewise.
77707         (LDBL_EPSILON): Likewise.
77708         (FLT_MIN): Likewise.
77709         (DBL_MIN): Likewise.
77710         (LDBL_MIN): Likewise.
77711         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77712         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77713         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77714         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77715         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77716         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77717         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77718         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77719         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77720         [ISO11] (FLT_TRUE_MIN): Likewise.
77721         [ISO11] (LDBL_TRUE_MIN): Likewise.
77722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77723         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77724         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77725         (SCHAR_MAX): Likewise.
77726         (UCHAR_MAX): Likewise.
77727         (CHAR_MIN): Likewise.
77728         (CHAR_MAX): Likewise.
77729         (MB_LEN_MAX): Use macro-int-constant.
77730         (SHRT_MIN): Use macro-int-constant.  Specify type.
77731         (SHRT_MAX): Likewise.
77732         (USHRT_MAX): Likewise.
77733         (INT_MAX): Likewise.
77734         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77735         bound negative.
77736         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77737         bound with "U".
77738         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77739         bound with "L".
77740         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77741         bound negative.  Suffix upper bound with "L".
77742         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77743         bound with "UL".
77744         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77745         Specify type.
77746         [C99-based standards] (LLONG_MAX): Likewise.
77747         [C99-based standards] (ULLONG_MAX): Likewise.
77748         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77749         == 0.
77750         [ISO11] (max_align_t): Require type.
77751         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77753         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77754         from $CFLAGS, without defining away __attribute__ calls.
77755         (checknamespace): Use $CFLAGS_namespace.
77757         * conform/conformtest.pl (@keywords): Only include C99 keywords
77758         for standards based on C99 or C11.
77760         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77761         Disable tests.
77762         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77763         UNIX98]: Likewise.
77765         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77766         usability of symbols in #if.
77768         * conform/conformtest.pl: If macro or constant types start
77769         "promoted:", expect the symbol to be of the following type
77770         promoted by the integer promotions.
77772         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77773         in one place.  Also handle "macro-constant".
77775         * conform/conformtest.pl: Only accept expected macro values with
77776         "==".  Parse all "macro" lines in one place.
77777         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77779         * conform/conformtest.pl: Handle braced types on "constant" lines
77780         instead of handling "typed-constant".
77781         * conform/data/signal.h-data: Use "constant" instead of
77782         "typed-constant".
77784         * conform/conformtest.pl: Handle "optional-" at start of lines in
77785         one place rather than duplicating several cases.  Handle each
77786         format of "macro" line with initial "optional-".
77788         * conform/conformtest.pl: Only accept expected constant or
77789         optional-constant values with "==".  Parse all "constant" lines in
77790         one place.  Parse all "optional-constant" lines in one place.
77791         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77792         * conform/data/fmtmsg.h-data: Likewise.
77793         * conform/data/netinet/in.h-data: Likewise.
77794         * conform/data/tar.h-data: Likewise.
77795         * conform/data/limits.h-data: Use "==" form on "constant" and
77796         "optional-constant" lines.
77798         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77799         Use -std=c99 for XOPEN2K.
77800         (@knownproblems): Remove.
77801         (newtoken): Don't check %isknown.
77803         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77804         Do not expect macro.
77805         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77806         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77807         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77808         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77809         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77810         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77811         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77812         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77813         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77814         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77815         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77816         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77817         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77818         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77819         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77820         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77821         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77822         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77823         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77824         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77825         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77826         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77827         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77828         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77829         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77830         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77831         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77832         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77833         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77834         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77835         [XPG3] (acosh): Likewise.
77836         [XPG3] (asinh): Likewise.
77837         [XPG3] (atanh): Likewise.
77838         [XPG3] (cbrt): Likewise.
77839         [XPG3] (expm1): Likewise.
77840         [XPG3] (ilogb): Likewise.
77841         [XPG3] (log1p): Likewise.
77842         [XPG3] (logb): Likewise.
77843         [XPG3] (nextafter): Likewise.
77844         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77845         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77846         [XPG3] (remainder): Likewise.
77847         [XPG3] (rint): Likewise.
77848         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77849         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77850         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77851         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77852         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77853         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77854         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77855         [UNIX98 || XOPEN2K] (scalb): Expect.
77856         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77857         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77858         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77859         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77860         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77861         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77862         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77863         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77864         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77865         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77866         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77867         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77868         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77869         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77870         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77871         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77872         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77873         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77874         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77875         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77876         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77877         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77878         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77879         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77880         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77881         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77882         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77883         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77884         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77885         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77886         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77887         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77888         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77889         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77890         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77891         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77892         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77893         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77894         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77895         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77896         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77897         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77898         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77899         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77900         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77901         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77902         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77903         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77904         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77905         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77906         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77907         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77908         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77909         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77910         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77911         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77912         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77913         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77914         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77915         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77916         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77917         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77918         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77919         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77920         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77921         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77922         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77923         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77924         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77925         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77926         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77927         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77928         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77929         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77930         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77931         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77932         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77933         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77934         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77935         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77936         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77937         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77938         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77939         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77940         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77941         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77942         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77943         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77944         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77945         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77946         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77947         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77948         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77949         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77950         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77951         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77952         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77953         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77954         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77955         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77956         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77957         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77958         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77959         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77960         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77961         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77962         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77963         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77964         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77965         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77966         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77967         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77968         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77969         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77970         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77971         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77972         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77973         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77974         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77975         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77976         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77977         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77978         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77979         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77980         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77981         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77982         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77983         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77984         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77985         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77986         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77987         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77988         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77989         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77990         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77991         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77992         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77994         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77995         _XOPEN_SOURCE_EXTENDED for XPG4.
77997         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77999         * Makeconfig (localtime): Remove variable.
78000         (inst_localtime-file): Likewise.
78002 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78005         Update.
78006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78007         Update.
78008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78009         Update.
78010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78011         Update.
78012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78013         Update.
78014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78015         Update.
78016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78017         Update.
78018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78019         Update.
78020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78021         Update.
78023 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78025         [BZ #2550]
78026         [BZ #2570]
78027         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78028         comparisons to determine direction to adjust input.
78029         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78030         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78031         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78032         Likewise.
78033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78034         Likewise.
78035         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78036         Likewise.
78037         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78038         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78039         Likewise.
78040         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78041         Likewise.
78042         * math/libm-test.inc (nexttoward_test): Add more tests.
78044 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78046         [BZ #14040]
78047         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78048         in version GLIBC_2.1, not GLIBC_2.0.
78049         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78050         Likewise.
78052 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78054         [BZ #13942]
78055         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78056         (1 - x) * (1 + x).
78057         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78058         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78059         * math/libm-test.inc (acos_test): Add more tests.
78060         (asin_test): Likewise.
78061         * sysdeps/i386/fpu/libm-test-ulps: Update.
78062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78064         [BZ #14034]
78065         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78066         of square root.
78067         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78068         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78069         * math/libm-test.inc (acos_test_tonearest): New function.
78070         (acos_test_towardzero): Likewise.
78071         (acos_test_downward): Likewise.
78072         (acos_test_upward): Likewise.
78073         (asin_test_tonearest): Likewise.
78074         (asin_test_towardzero): Likewise.
78075         (asin_test_downward): Likewise.
78076         (asin_test_upward): Likewise.
78077         (main): Call the new functions.
78078         * sysdeps/i386/fpu/libm-test-ulps: Update.
78079         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78081         [BZ #13884]
78082         [BZ #13924]
78083         * math/e_exp10.c: Include <float.h>.
78084         (__ieee754_exp10): Handle underflow here rather than multiplying
78085         large negative argument by M_LN10.
78086         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78087         of __ieee754_expf.
78088         * math/e_exp10l.c: Include <float.h>.
78089         (__ieee754_exp10l): Handle underflow here rather than multiplying
78090         large negative argument by M_LN10l.
78091         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78092         spurious overflow exception on underflow.
78094 2012-04-29  Marek Polacek  <polacek@redhat.com>
78096         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78097         (__fortify_function): New macro.
78098         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78099         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78100         __extern_always_inline.
78101         * libio/bits/stdio2.h: Likewise.
78102         * libio/bits/stdio.h: Likewise.
78103         * string/string.h: Likewise.
78104         * string/bits/string3.h: Likewise.
78105         * include/stdio.h: Likewise.
78106         * stdlib/bits/stdlib.h: Likewise.
78107         * stdlib/stdlib.h: Likewise.
78108         * rt/bits/mqueue2.h: Likewise.
78109         * rt/mqueue.h: Likewise.
78110         * posix/bits/unistd.h: Likewise.
78111         * posix/unistd.h: Likewise.
78112         * io/bits/poll2.h: Likewise.
78113         * io/bits/fcntl2.h: Likewise.
78114         * io/fcntl.h: Likewise.
78115         * io/sys/poll.h: Likewise.
78116         * misc/bits/syslog.h: Likewise.
78117         * misc/bits/syslog-ldbl.h: Likewise.
78118         * misc/sys/syslog.h: Likewise.
78119         * socket/bits/socket2.h: Likewise.
78120         * socket/sys/socket.h: Likewise.
78121         * debug/tst-chk1.c: Likewise.
78122         * wcsmbs/bits/wchar2.h: Likewise.
78123         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78124         * wcsmbs/wchar.h: Likewise.
78126 2012-04-29  Andreas Jaeger  <aj@suse.de>
78128         * Makerules (tests): Remove enable-check-abi protection.
78129         (check-abi-warn): Remove.
78130         (check-abi-%): Remove check-abi-warn usage.
78132         * configure.in: Remove check-abi configure option.
78133         * configure: Regenerated.
78134         * config.make.in (enable-check-abi): Remove.
78136 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78138         [BZ #14033]
78139         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78140         double functions to double *_finite functions.
78142         [BZ #13941]
78143         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78144         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78145         LDBL_MIN_EXP.
78146         * stdio-common/Makefile (tests): Add tst-sprintf3.
78147         * stdio-common/tst-sprintf3.c: New file.
78149         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78150         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78152 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78154         * conform/conformtest.pl: Remove duplicate typed-constant
78155         handling.
78157 2012-04-28  David S. Miller  <davem@davemloft.net>
78159         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78160         (check-abi-%): Remove AWK script prerequisite and explicit
78161         abilist directory.
78162         (check-abi): Rewrite to just diff the symlist with the abilist.
78163         (config-tls, config-abi-config): Delete, no longer used.
78164         (update-abi-%): Remove AWK script and explicit abilist directory.
78165         (update-abi): Rewrite to simply compare and conditionally copy the
78166         symlist and the sysdep abilist file.  Remove update-abi-config
78167         checks.
78168         * abilist/ld.abilist: Remove.
78169         * abilist/libBrokenLocale.abilist: Remove.
78170         * abilist/libanl.abilist: Remove.
78171         * abilist/libcrypt.abilist: Remove.
78172         * abilist/libdl.abilist: Remove.
78173         * abilist/librt.abilist: Remove.
78174         * abilist/libthread_db.abilist: Remove.
78175         * abilist/libutil.abilist: Remove.
78176         * scripts/extract-abilist.awk: Remove.
78177         * scripts/merge-abilist.awk: Remove.
78178         * sysdeps/generic/libcidn.abilist: New file.
78179         * sysdeps/generic/libnss_compat.abilist: New file.
78180         * sysdeps/generic/libnss_db.abilist: New file.
78181         * sysdeps/generic/libnss_dns.abilist: New file.
78182         * sysdeps/generic/libnss_files.abilist: New file.
78183         * sysdeps/generic/libnss_hesiod.abilist: New file.
78184         * sysdeps/generic/libnss_nis.abilist: New file.
78185         * sysdeps/generic/libnss_nisplus.abilist: New file.
78186         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78187         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78188         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78189         file.
78190         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78191         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78192         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78193         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78194         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78195         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78196         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78197         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78198         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78199         file.
78200         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78201         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78202         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78203         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78204         file.
78205         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78206         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78207         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78208         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78209         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78210         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78211         file.
78212         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78213         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78214         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78215         file.
78216         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78218         New file.
78219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78220         New file.
78221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78222         New file.
78223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78224         New file.
78225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78226         New file.
78227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78228         New file.
78229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78230         New file.
78231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78232         New file.
78233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78234         New file.
78235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78236         New file.
78237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78238         New file.
78239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78240         New file.
78241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78242         New file.
78243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78244         file.
78245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78246         New file.
78247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78248         New file.
78249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78250         file.
78251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78252         New file.
78253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78254         New file.
78255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78256         file.
78257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78258         New file.
78259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78260         New file.
78261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78262         New file.
78263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78264         New file.
78265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78266         New file.
78267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78268         New file.
78269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78271         file.
78272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78273         New file.
78274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78275         file.
78276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78277         file.
78278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78279         file.
78280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78281         file.
78282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78283         file.
78284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78285         New file.
78286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78287         file.
78288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78289         file.
78290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78291         New file.
78292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78293         file.
78294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78296         file.
78297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78298         New file.
78299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78300         file.
78301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78302         file.
78303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78304         file.
78305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78306         file.
78307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78308         file.
78309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78310         New file.
78311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78312         file.
78313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78314         file.
78315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78316         New file.
78317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78318         file.
78319         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78320         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78321         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78322         file.
78323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78324         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78325         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78326         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78327         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78328         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78329         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78330         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78331         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78332         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78335         file.
78336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78337         New file.
78338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78339         file.
78340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78341         file.
78342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78343         file.
78344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78345         file.
78346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78347         file.
78348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78349         New file.
78350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78351         New file.
78352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78353         file.
78354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78355         New file.
78356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78357         file.
78358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78360         file.
78361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78362         New file.
78363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78364         file.
78365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78366         file.
78367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78368         file.
78369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78370         file.
78371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78372         file.
78373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78374         New file.
78375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78376         New file.
78377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78378         file.
78379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78380         New file.
78381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78382         file.
78384 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78386         * conform/conformtest.pl: Fix typo in handling typed-constant from
78387         allow-header.
78389 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78391         * README: Cut down references to pre-2.6 Linux kernels and
78392         Linuxthreads.  Update lists of configurations in libc and ports
78393         and sort alphabetically.  Say "or newer" with Linux kernel version
78394         requirements.
78396         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78398 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78400         [BZ #887]
78401         * math/libm-test.inc (logb_test_downward): New test to expose
78402         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78403         rounding mode.
78405 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78407         [BZ #14027]
78408         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78409         to be done.
78410         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78411         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78413 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78415         * sysdeps/unix/i386/brk.S: Remove file.
78416         * sysdeps/unix/i386/dl-brk.S: Likewise.
78417         * sysdeps/unix/i386/pipe.S: Likewise.
78418         * sysdeps/unix/i386/sigreturn.S: Likewise.
78419         * sysdeps/unix/i386/syscall.S: Likewise.
78420         * sysdeps/unix/i386/vfork.S: Likewise.
78421         * sysdeps/unix/i386/wait.S: Likewise.
78423         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78424         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78426         * configure.in (arm*-none*): Do not allow without
78427         --enable-hacker-mode.
78428         (netbsd*): Remove case setting base_os.
78429         (386bsd*): Likewise.
78430         (freebsd*): Likewise.
78431         (bsdi*): Likewise.
78432         (osf*): Likewise.
78433         (sunos*): Likewise.
78434         (ultrix*): Likewise.
78435         (newsos*): Likewise.
78436         (dynix*): Likewise.
78437         (*bsd*): Likewise.
78438         (sysv*): Likewise.
78439         (isc*): Likewise.
78440         (esix*): Likewise.
78441         (sco*): Likewise.
78442         (minix*): Likewise.
78443         (irix4*): Likewise.
78444         (irix6*): Likewise.
78445         (solaris[2-9]*): Likewise.
78446         (none): Likewise.
78447         * configure: Regenerated.
78449 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78451         [BZ #11521]
78452         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78453         overflow or cancellation in calculating denominator.
78454         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78455         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78456         down expression to avoid unexpected rounding in newer GCCs.
78457         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78459 2012-04-26  David S. Miller  <davem@davemloft.net>
78461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78462         long-double compat symbols.
78463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78477 2012-04-25  David S. Miller  <davem@davemloft.net>
78479         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78480         HWCAP_* values only after the memory barriers have been defined.
78481         (atomic_full_barrier): Define.
78482         (atomic_read_barrier): Define.
78483         (atomic_write_barrier): Define.
78485 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78487         * shlib-versions: Add libgcc_s version information.
78488         * sysdeps/generic/libgcc_s.h: Remove.
78489         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78490         libgcc_s.h.
78491         * sysdeps/gnu/unwind-resume.c: Likewise.
78492         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78494 2012-04-25  David S. Miller  <davem@davemloft.net>
78496         * sysdeps/unix/sparc/brk.S: Delete.
78497         * sysdeps/unix/sparc/dl-brk.S: Delete.
78498         * sysdeps/unix/sparc/pipe.S: Delete.
78499         * sysdeps/unix/sparc/sysdep.S: Delete.
78500         * sysdeps/unix/sparc/sysdep.h: Delete.
78501         * sysdeps/unix/sparc/vfork.S: Delete.
78502         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78503         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78504         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78505         (ret_ERRVAL, r0, r1, MOVE): Define.
78506         (JUMPTARGET): Remove.
78507         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78508         sysdeps/unix/sparc/sysdep.h
78509         (ENTRY, END): Remove.
78510         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78512 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78514         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78515         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78516         -DIS_IN_build.
78518         * timezone/README: Update upstream location and email address for
78519         tzcode and tzdata.
78520         * timezone/zdump.c: Update from tzcode 2012b.
78521         * timezone/zic.c: Likewise.
78523         * configure.in (libc_cv_as_needed): Remove test.
78524         * configure: Regenerated.
78525         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78526         conditional definition.
78527         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78528         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78529         * config.make.in (have-as-needed): Remove variable.
78531 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78532             Paul Pluzhnikov  <ppluzhnikov@google.com>
78534         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78535         strings correctly.
78537 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78539         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78540         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78541         * sysdeps/sh/strlen.S: Likewise.
78543 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78545         * sysdeps/unix/fork.S: Remove file.
78546         * sysdeps/unix/i386/fork.S: Likewise.
78547         * sysdeps/unix/sparc/fork.S: Likewise.
78549         * sysdeps/unix/system.c: Remove file.
78550         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78552         * sysdeps/unix/getegid.S: Remove file.
78553         * sysdeps/unix/geteuid.S: Likewise.
78555 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78557         * scripts/check-localplt.awk: New file.
78558         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78559         of diff.
78560         * scripts/data/localplt-generic.data: Add a comment.
78562         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78563         NODE when __dir_mkfile failed.
78564         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78565         Reported by Ludovic Courtès <ludo@gnu.org>.
78567 2012-04-24  Andreas Jaeger  <aj@suse.de>
78569         * Makerules (common-clean): Also remove gen-as-const-headers
78570         files.
78572 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78574         * Makerules (native-compile): Do not change working directory for
78575         build.  Use $(OUTPUT_OPTION) in command.
78576         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78578 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78580         [BZ #13886]
78581         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78582         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78583         * math/libm-test.inc (floor_test): Add more tests.
78584         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78586 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78588         * sysdeps/unix/getdents.c: Remove file.
78589         * sysdeps/unix/sysv/getdents.c: Likewise.
78590         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78592         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78593         sysdeps/unix/mman/syscalls.list.
78594         (mmap): Likewise.
78595         (mprotect): Likewise.
78596         (msync): Likewise.
78597         (munmap): Likewise.
78598         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78599         * sysdeps/unix/mman/syscalls.list: Remove.
78600         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78602         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78603         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78604         * configure: Regenerated.
78605         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78606         $(libgcc_s_suffix).
78607         * config.make.in (libgcc_s_suffix): Remove variable.
78609 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78611         * sysdeps/unix/sysv/gethostname.c: Move to ...
78612         * sysdeps/posix/gethostname.c: ... here.
78614         * sysdeps/unix/execve.S: Remove file.
78616         * sysdeps/unix/_exit.S: Remove file.
78618 2012-04-23  Andreas Jaeger  <aj@suse.de>
78620         [BZ #13739]
78621         * manual/Makefile: Remove make dist support, there's no
78622         need for a stand-alone documentation tar ball.
78623         (TEXI2DVI): Define always, it's not in Makeconfig.
78624         (dist): Removed.
78625         (tar-it): Removed.
78626         (edition): Removed.
78627         (glibc-doc-$(edition).tar): Removed
78628         (%.Z): Removed.
78629         (%.gz): Removed.
78630         (%.uu): Removed.
78631         (ETAGS): Remove, it's in Makeconfig.
78632         (move-if-change): Remove, it's in Makeconfig.
78634 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78636         [BZ #13970]
78637         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78638         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78639         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78640         (strtod_l, strtof_l, strtold_l): Remove __wur.
78641         It is not necessarily an error to ignore strtol's return value.
78642         One can reliably look at the stored endptr to decide whether
78643         the number had valid syntax.
78645 2012-04-21  Andreas Jaeger  <aj@suse.de>
78647         [BZ #13739]
78648         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78650 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78652         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78653         * sysdeps/unix/sysv/Versions: Remove file.
78655 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78657         [BZ #13927]
78658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78660 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78662         [BZ #7064]
78663         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78664         version from __vm86.
78666 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78668         * sysdeps/unix/common/lxstat.c: Remove file.
78669         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78671         * sysdeps/unix/sysv/Makefile: Remove file.
78673         * sysdeps/unix/sysv/direct.h: Remove file.
78675         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78676         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78677         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78678         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78679         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78680         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78681         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78683         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78685         * sysdeps/unix/xmknod.c: Remove file.
78686         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78688         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78690         * sysdeps/unix/sysv/i386/time.S: Remove file.
78692         * sysdeps/unix/fxstat.c: Remove file.
78693         * sysdeps/unix/xstat.c: Likewise.
78694         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78696         * sysdeps/unix/sysv/sigaction.c: Remove file.
78698         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78699         (sysdep_headers): Remove variable.
78700         [termio.h not in sysdep_headers] (generated): Likewise.
78701         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78702         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78703         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78704         * sysdeps/unix/sysv/tcflow.c: Likewise.
78705         * sysdeps/unix/sysv/tcflush.c: Likewise.
78706         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78707         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78708         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78709         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78710         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78712         * sysdeps/unix/siglist.c: Remove file.
78714         * sysdeps/unix/getppid.S: Remove file.
78716         * sysdeps/unix/mkdir.c: Remove file.
78717         * sysdeps/unix/rmdir.c: Likewise.
78719 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78721         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78722         ERR_MAX value.
78723         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78724         errlist-compat value.
78726 2012-04-18  David S. Miller  <davem@davemloft.net>
78728         * sysdeps/generic/memcopy.h (reg_char): Delete.
78729         * debug/strcat_chk.c: Use char, not reg_char.
78730         * debug/strcpy_chk.c: Likewise.
78731         * debug/strncat_chk.c: Likewise.
78732         * debug/strncpy_chk.c: Likewise.
78733         * string/memchr.c: Likewise.
78734         * string/memrchr.c: Likewise.
78735         * string/rawmemchr.c: Likewise.
78736         * string/strcat.c: Likewise.
78737         * string/strchr.c: Likewise.
78738         * string/strchrnul.c: Likewise.
78739         * string/strcmp.c: Likewise.
78740         * string/strcpy.c: Likewise.
78741         * string/strncat.c: Likewise.
78742         * string/strncmp.c: Likewise.
78743         * string/strncpy.c: Likewise.
78745 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78747         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78748         __builtin_memcopy is called when src and dest ranges are known to not
78749         overlap.
78751 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78753         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78754         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78755         fwd_align_merge macro call.
78756         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78757         bwd_align_merge macro call.
78758         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78760 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78762         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78763         bwd_align_merge macros.
78764         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78765         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78766         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78768 2012-04-18  David S. Miller  <davem@davemloft.net>
78770         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78772 2012-04-18  Andreas Jaeger  <aj@suse.de>
78774         [BZ #6794]
78775         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78776         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78777         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78779         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78780         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78781         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78783         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78784         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78785         Adjust for changed ldbl-128 files.
78787         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78788         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78789         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78791 2012-04-17  David S. Miller  <davem@davemloft.net>
78793         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78795 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78797         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78798         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78799         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78800         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78801         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78802         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78804 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78806         [BZ #6794]
78807         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78808         * math/libm-test.inc: Add ilogb errno and exception tests.
78809         * math/w_ilogb.c: New file: ilogb wrapper.
78810         * math/w_ilogbf.c: New file: ilogbf wrapper.
78811         * math/w_ilogbl.c: New file: ilogbl wrapper.
78812         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78813         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78814         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78815         exception being thrown with 0.0 as argument.
78816         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78817         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78818         exception being thrown with 0.0 as argument.
78819         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78820         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78821         exception being thrown with 0.0 as argument.
78822         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78823         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78824         exception being thrown with 0.0 as argument.
78825         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78826         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78827         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78828         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78829         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78830         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78831         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78832         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78833         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78835 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78837         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78838         with altivec.
78840 2012-04-16  Marek Polacek  <polacek@redhat.com>
78842         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78844 2012-04-16  Marek Polacek  <polacek@redhat.com>
78846         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78847         operands of fdivp instruction.
78849 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78851         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78852         * elf/tst-auditmod3b.c: Likewise.
78853         * elf/tst-auditmod4b.c: Likewise.
78854         * elf/tst-auditmod5b.c: Likewise.
78855         * elf/tst-auditmod6b.c: Likewise.
78856         * elf/tst-auditmod6c.c: Likewise.
78857         * elf/tst-auditmod7b.c: Likewise.
78858         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78859         * sysdeps/x86_64/preconfigure.in: Likewise.
78860         * sysdeps/x86_64/preconfigure: Regenerated.
78862 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78864         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78865         __ILP32__.
78867 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78869         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78870         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78872 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78874         [BZ #13973]
78875         * locale/iso-639.def: Fix gl language name. Spotted by
78876         Yaron Shahrabani.
78878 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78880         [BZ #2074]
78881         * libio/libio.h (__io_write_fn): Update comment.
78883 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78885         [BZ #2074]
78886         * stdio.texi (Hook Functions): The user provided writer function
78887         is not allowed to return -1.
78889 2012-04-11  David S. Miller  <davem@davemloft.net>
78891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78893 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78895         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78896         Add a leading slash to rtkaio.
78898 2012-04-11  Jim Meyering  <meyering@redhat.com>
78900         [BZ #11959]
78901         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78902         It is not necessarily an error to ignore fwrite's return
78903         value.  One can reliably use ferror to test for errors after
78904         the fact.
78906 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78908         * bits/types.h (__snseconds_t): New type.
78909         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78911         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78912         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78913         (__SNSECONDS_T_TYPE): Likewise.
78914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78915         (__SNSECONDS_T_TYPE): Likewise.
78916         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78917         (__SNSECONDS_T_TYPE): Likewise.
78919 2012-04-10  Andreas Jaeger  <aj@suse.de>
78921         [BZ #2636]
78922         * manual/time.texi (Processor Time): Return type of times is
78923         elapsed real time since an arbitrary point in the past.
78924         (CPU Time): Move CLK_TCK from here...
78925         (Processor Time): ...to here.  Correct description.
78926         * manual/conf.texi (Constants for Sysconf): Correct description of
78927         _SC_CLK_TCK.
78929 2012-04-10  David S. Miller  <davem@davemloft.net>
78931         [BZ #13967]
78932         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78933         where the is a gap between DT_REL(A) and DT_JMPREL.
78935 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78937         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78938         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78939         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78941 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78943         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78944         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78945         (dl_main): Handle --inhibit-cache.
78946         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78947         _dl_inhibit_cache.
78948         * elf/dl-load.c (_dl_map_object): Use it.
78949         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78951 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78953         [BZ #13872]
78954         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78955         (__ieee754_powl): Saturate large exponents rather than testing for
78956         overflow of y*log2(x).
78957         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78958         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78959         exceptions.
78961         [BZ #11521]
78962         * math/s_ctan.c: Include <float.h>.
78963         (__ctan): Avoid internal overflow or cancellation in calculating
78964         denominator.
78965         * math/s_ctanf.c: Likewise.
78966         * math/s_ctanl.c: Likewise.
78967         * math/s_ctanh.c: Likewise.
78968         * math/s_ctanhf.c: Likewise.
78969         * math/s_ctanhl.c: Likewise.
78970         * math/libm-test.inc (ctan_test): Add more tests.
78971         (ctanh_test): Likewise.
78972         * sysdeps/i386/fpu/libm-test-ulps: Update.
78973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78975 2012-04-09  Andreas Jaeger  <aj@suse.de>
78977         [BZ #6894]
78978         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78979         is an optional BSD extension.
78981         [BZ #10254]
78982         * manual/stdio.texi (Opening Streams): Document additional fopen
78983         parameters.
78985 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78987         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78988         %eax without telling the compiler.
78990 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78992         [BZ # 13963]
78993         * manual/install.texi: Use sourceware.org.
78995 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78997         [BZ #13873]
78998         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78999         (__ieee754_pow): Generate overflow and underflow using huge*huge
79000         and tiny*tiny rather than just returning constant infinity or zero
79001         for large exponents.
79002         * math/libm-test.inc (pow_test): Require overflow exceptions for
79003         applicable cases of large exponents.
79005         [BZ #706]
79006         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79007         (__ieee754_pow): Use iterative multiplication algorithm only for
79008         integer exponents with absolute value below 1024.  Check for odd
79009         integer exponents when using algorithm for real exponents.
79010         * math/libm-test.inc (pow_test): Add more tests.
79011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79013 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79015         [BZ #13705]
79016         * math/libm-test.inc (exp_test): Do not allow overflow exception
79017         on underflow test.
79019 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79021         [BZ #13705]
79022         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79023         instead of __kernel_standard_f.
79025 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79027         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79028         * sysdeps/x86_64/memset_chk.S: Likewise.
79030 2012-04-08  Andreas Jaeger  <aj@suse.de>
79032         [BZ #10153]
79033         * manual/startup.texi (Environment Access): Describe return value
79034         for putenv and setenv.
79036         [BZ #6895]
79037         * manual/filesys.texi (Directory Entries): Add description for
79038         DT_LNK.
79040         [BZ #6890]
79041         * manual/filesys.texi (Directory Entries): Clarify that it's file
79042         system not operating system in the description of DT_UNKNOWN.
79044         [BZ #6578]
79045         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79047 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79049         [BZ #6649]
79050         * manual/llio.texi (Opening and Closing Files): Add cross
79051         reference to explain mode argument.
79053 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79055         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79056         * sysdeps/x86_64/memset_chk.S: Likewise.
79058 2012-04-07  David S. Miller  <davem@davemloft.net>
79060         * elf/elf.h (R_SPARC_WDISP10): Define.
79061         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79062         R_SPARC_SIZE32.
79063         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79064         R_SPARC_SIZE64 and R_SPARC_H34.
79066 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79068         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79069         conditions and remove no longer applicable assertion.
79071 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79073         * bits/byteswap.h: Include <features.h>.
79074         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79075         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79077 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79079         * bits/byteswap.h (__bswap_16): Removed.
79080         Include <bits/byteswap-16.h> to get __bswap_16.
79081         * sysdeps/i386/bits/byteswap.h: Likewise.
79082         * sysdeps/s390/bits/byteswap.h: Likewise.
79083         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79084         * bits/byteswap-16.h: New file.
79085         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79086         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79087         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79088         * string/Makefile (headers): Add bits/byteswap-16.h.
79090 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79092         [BZ #13895]
79093         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79094         extra indirection.
79095         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79096         * nss/tst-nss-static.c: New.
79098 2012-04-06  Robert Millan  <rmh@gnu.org>
79100         [BZ #6486]
79101         * manual/llio.texi (File Position Primitive): lseek
79102         refers to WHENCE when it really means OFFSET.
79104 2012-04-06  Andreas Jaeger  <aj@suse.de>
79106         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79107         strncmp declarations.
79109         * abilist/libc.abilist: Add __poll and __ppoll.
79111 2012-04-05  David S. Miller  <davem@davemloft.net>
79113         * scripts/check-local-headers.sh: Accept a host triplet in the
79114         path matched by the exclude regexp.
79116         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79117         definition.
79118         * sysdeps/powerpc/powerpc32/dl-machine.h
79119         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79120         * sysdeps/s390/s390-32/dl-machine.h
79121         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79122         * sysdeps/sparc/sparc32/dl-machine.h
79123         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79124         * sysdeps/sparc/sparc64/dl-machine.h
79125         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79127         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79128         lazy binding.
79129         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79130         undefined symbol errors.
79132         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79133         DT_NEEDED entries.
79135 2012-04-05  Michael Matz  <matz@suse.de>
79137         [BZ #13592]
79138         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79140 2012-04-05  Andreas Jaeger  <aj@suse.de>
79142         [BZ #13908]
79143         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79144         comment.
79146 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79148         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79149         which ROUND is no valid rounding mode.
79151 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79153         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79154         read again.
79155         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79157 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79159         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79160         an exception using FPU order intentionally.
79162 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79164         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79165         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79166         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79167         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79169 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79171         [BZ #12340]
79172         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79173         EINVAL when BUFLEN is too smal.
79175 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79177         [BZ #13553]
79178         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79179         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79181 2012-04-03  Andreas Jaeger  <aj@suse.de>
79183         [BZ #13938]
79184         * manual/setjmp.texi (System V contexts): Fix sentence.
79186         [BZ #13926]
79187         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79188         New macro for this case.
79189         [!__GNUC__] (__bswap_64): New inline function for this case.
79190         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79191         * bits/byteswap.h: Likewise.
79192         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79193         ull, guard with __GLIBC_HAVE_LONG_LONG.
79195         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79196         __GLIBC_HAVE_LONG_LONG.
79198         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79199         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79201 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79203         [BZ #13691]
79204         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79205         inptr and inend, rather than using last_ch.
79207 2012-04-02  David S. Miller  <davem@davemloft.net>
79209         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79210         * stdio-common/printf-parse.h (read_int): Change return type to
79211         'int', return -1 on INT_MAX overflow.
79212         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79213         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79214         overflows INT_MAX.  Check for overflow of in-format-string precision
79215         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79216         SIZE_MAX not INT_MAX for integer overflow test.
79217         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79218         skip the construct in the format string but do not record anything.
79219         * stdio-common/bug22.c: Adjust to test both width/prevision
79220         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79221         explicitly for proper errno values.
79223 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79225         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79226         CHAR_MAX.
79227         * string/test-strcmp.c [! WIDE]: Likewise.
79228         * time/tst-mktime2.c: Likewise for INT_MAX.
79229         * string/test-string.h: #include <sys/param.h> for MIN.
79231         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79232         * sysdeps/i386/init-first.c (init): Likewise.
79233         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79234         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79235         * sysdeps/sh/init-first.c (init): Likewise.
79237 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79239         * po/ru.po: Update from translation team.
79240         * po/vi.po: Likewise.
79242 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79244         * resolv/nss_dns/dns-host.c: Merge copyright years.
79246 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79248         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79249         Optimize memcpy with prefetch if
79250         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79251         src, dst pointers have unequal 16 byte alignments.
79253 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79255         [BZ #13928]
79256         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79257         from a CNAME entry and return the minimum ttl for the query.
79258         (gaih_getanswer_slice): Likewise.
79260 2012-03-30  Jeff Law  <law@redhat.com>
79262         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79263         due to long keys.
79264         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79265         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79267         * resolv/nss_dns/dns-host.c: Update copyright year.
79269 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79271         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79272         requests to save a system call.  Fix check that all bytes are sent.
79274         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79275         comments for sendmmsg.
79277 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79279         [BZ #13691]
79280         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79281         with only 1 character between 0x0041 and 0x01b0.
79282         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79283         * wcsmbs/tst-mbsnrtowcs.c: New file.
79285 2012-03-29  David S. Miller  <davem@davemloft.net>
79287         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79288         small copies by hand.
79290 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79292         [BZ #13761]
79293         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79294         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79295         group memberships.
79297 2012-03-28  David S. Miller  <davem@davemloft.net>
79299         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79300         that branches into memcpy.
79301         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79302         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79303         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79304         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79306         bits.
79307         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79308         implementation too.
79309         * sysdeps/sparc/mempcpy.S: New file.
79311         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79312         the IFUNC routine in the libc case.
79313         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79315         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79316         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79317         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79318         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79319         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79320         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79321         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79322         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79324         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79325         loop to 256 bytes instead of 64 bytes and fix test signedness.
79327         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79328         * sysdeps/sparc/sparc32/Makefile: rather than here...
79329         * sysdeps/sparc/sparc64/Makefile: and here.
79331 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79333         * malloc/mallocbug.c: Avoid warnings about unused variables.
79335 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79337         [BZ #13760]
79338         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79339         in the right place. Discard and retry query if response is
79340         larger than input buffer size.
79342 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79344         [BZ #369]
79345         [BZ #2678]
79346         [BZ #3866]
79347         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79348         x for large integer exponent.
79349         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79350         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79351         sign of result as needed afterwards.
79352         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79353         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79354         result for underflowing pow the same as for overflow.
79355         (__kernel_standard_l): Handle powl overflow and underflow here
79356         rather than calling __kernel_standard.
79357         * math/libm-test.inc (pow_test): Add more tests.
79359         [BZ #3868]
79360         [BZ #13879]
79361         [BZ #13910]
79362         [BZ #13911]
79363         [BZ #13912]
79364         [BZ #13913]
79365         [BZ #13915]
79366         [BZ #13916]
79367         [BZ #13917]
79368         [BZ #13918]
79369         [BZ #13919]
79370         [BZ #13920]
79371         [BZ #13921]
79372         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79373         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79374         (__kernel_standard_l): New function.
79375         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79376         __kernel_standard.
79377         * math/w_acosl.c (__acosl): Likewise.
79378         * math/w_asinl.c (__asinl): Likewise.
79379         * math/w_atan2l.c (__atan2l): Likewise.
79380         * math/w_atanhl.c (__atanhl): Likewise.
79381         * math/w_coshl.c (__coshl): Likewise.
79382         * math/w_exp10l.c (__exp10l): Likewise.
79383         * math/w_exp2l.c (__exp2l): Likewise.
79384         * math/w_fmodl.c (__fmodl): Likewise.
79385         * math/w_hypotl.c (__hypotl): Likewise.
79386         * math/w_j0l.c (__j0l, __y0l): Likewise.
79387         * math/w_j1l.c (__j1l, __y1l): Likewise.
79388         * math/w_jnl.c (__jnl, __ynl): Likewise.
79389         * math/w_lgammal.c (__lgammal): Likewise.
79390         * math/w_log10l.c (__log10l): Likewise.
79391         * math/w_log2l.c (__log2l): Likewise.
79392         * math/w_logl.c (__logl): Likewise.
79393         * math/w_powl.c (__powl): Likewise.
79394         * math/w_remainderl.c (__remainderl): Likewise.
79395         * math/w_scalbl.c (sysv_scalbl): Likewise.
79396         * math/w_sinhl.c (__sinhl): Likewise.
79397         * math/w_sqrtl.c (__sqrtl): Likewise.
79398         * math/w_tgammal.c (__tgammal): Likewise.
79399         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79400         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79401         * math/libm-test.inc (acos_test): Add more tests.
79402         (acosh_test): Likewise.
79403         (asin_test): Likewise.
79404         (atanh_test): Likewise.
79405         (exp_test): Likewise.
79406         (exp10_test): Likewise.
79407         (exp2_test): Likewise.
79408         (expm1_test): Likewise.
79409         (lgamma_test): Likewise.
79410         (log_test): Likewise.
79411         (log10_test): Likewise.
79412         (log1p_test): Likewise.
79413         (log2_test): Likewise.
79414         (pow_test): Do not allow some spurious overflow exceptions.
79415         (sqrt_test): Add more tests.
79416         (tgamma_test): Likewise.
79417         (y0_test): Likewise.
79418         (y1_test): Likewise.
79419         (yn_test): Likewise.
79421 2012-03-27  Anton Blanchard  <anton@samba.org>
79423         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79424         MAP_HUGETLB.
79425         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79426         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79427         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79429 2012-03-27  David S. Miller  <davem@davemloft.net>
79431         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79433         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79434         have-as-vis3 check.
79436 2012-03-27  Andreas Jaeger  <aj@suse.de>
79438         * sysdeps/x86_64/elf/configure.in: Moved to ...
79439         * sysdeps/x86_64/configure.in: ... here.
79440         * sysdeps/x86_64/elf/start.S: Moved to ...
79441         * sysdeps/x86_64/start.S: ... here.
79442         * sysdeps/x86_64/elf/configure: Delete.
79444         * sysdeps/x86_64/configure.in: Merge contents from
79445         sysdeps/i386/configure.in (without i686 check).
79447         * sysdeps/i386/elf/Versions: Merge into ...
79448         * sysdeps/i386/Versions: ... this.
79449         * sysdeps/i386/elf/Versions: Delete file.
79450         * sysdeps/i386/elf/start.S: Moved to ...
79451         * sysdeps/i386/start.S: ...here.
79452         * sysdeps/i386/elf/configure.in: Merge into...
79453         * sysdeps/i386/configure.in: ...here.
79454         * sysdeps/i386/elf/configure.in: Delete file.
79455         * sysdeps/i386/elf/configure: Delete file.
79457         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79458         * debug/backtracesyms.c: ... here.
79459         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79460         * debug/backtracesymsfd.c: ... here.
79461         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79462         * sysdeps/generic/ifunc-sel.h: ... here.
79464         * sysdeps/unix/i386/start.c: Delete file.
79465         * sysdeps/unix/sparc/start.c: Delete file.
79466         * sysdeps/unix/start.c: Delete file.
79468         * sysdeps/sh/elf/configure.in: Moved to ...
79469         * sysdeps/sh/configure.in: ... here.
79470         * sysdeps/sh/elf/start.S: Moved to ...
79471         * sysdeps/sh/start.S: ... here.
79472         * sysdeps/sh/elf/configure: Delete file.
79474         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79475         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79476         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79477         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79478         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79479         * sysdeps/powerpc/powerpc64/start.S: here.
79480         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79481         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79482         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79483         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79484         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79486         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79487         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79488         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79489         * sysdeps/powerpc/powerpc32/start.S: ... here.
79490         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79491         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79492         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79494         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79495         * sysdeps/powerpc/ifunc-sel.h: ... here.
79496         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79497         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79499         * sysdeps/sparc/elf/configure.in: Moved to ...
79500         * sysdeps/sparc/configure.in: ... here.
79501         * sysdeps/sparc/elf/configure: Delete file.
79502         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79503         * sysdeps/sparc/sparc32/start.S: ... here.
79504         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79505         * sysdeps/sparc/sparc64/start.S: ... here.
79506         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79507         * sysdeps/sparc/sparc32/Makefile: ... this.
79508         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79509         * sysdeps/sparc/sparc64/Makefile: ... this.
79511         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79512         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79513         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79514         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79515         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79516         * sysdeps/s390/s390-32/setjmp.S: ... here.
79517         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79518         * sysdeps/s390/s390-32/configure.in: ... here.
79519         * sysdeps/s390/s390-32/elf/configure: Delete file.
79520         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79521         * sysdeps/s390/s390-32/start.S: ... here.
79523         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79524         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79525         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79526         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79527         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79528         * sysdeps/s390/s390-64/setjmp.S: ... here.
79529         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79530         * sysdeps/s390/s390-64/configure.in: ... here
79531         * sysdeps/s390/s390-64/elf/configure: Delete file.
79532         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79533         * sysdeps/s390/s390-64/start.S: ... here.
79534         * sysdeps/s390/s390-64/elf/configure: Delete.
79536         * configure.in: Remove support for elf directories in sysdeps.
79538         * configure: Regenerated.
79539         * sysdeps/i386/configure: Regenerated.
79540         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79541         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79542         * sysdeps/s390/s390-32/configure: Regenerated.
79543         * sysdeps/s390/s390-64/configure: Regenerated.
79544         * sysdeps/sh/configure: Regenerated.
79545         * sysdeps/sparc/configure: Regenerated.
79546         * sysdeps/x86_64/configure: Regenerated.
79548 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79553         denormal result into account.
79555 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79557         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79558         Reported by Allan McRae <allan@archlinux.org>.
79560 2012-03-23  Jeff Law  <law@redhat.com>
79562         * nss/getnssent.c (__nss_getent): Fix typo.
79564 2012-03-23  David S. Miller  <davem@davemloft.net>
79566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79568 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79570         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79571         to pad to uint64_t for each field.
79572         (dl_tls_index): Replace unsigned long with uint64_t.
79574 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79575         Paul Pluzhnikov  <ppluzhnikov@google.com>
79577         [BZ #6528]
79578         * grp/Makefile (otherlibs): Don't set it.
79579         * inet/Makefile (otherlibs): Likewise.
79580         * login/Makefile (otherlibs): Likewise.
79581         * nscd/Makefile (otherlibs): Likewise.
79582         * posix/Makefile (otherlibs): Likewise.
79583         * pwd/Makefile (otherlibs): Likewise.
79584         * rt/Makefile (otherlibs): Likewise.
79585         * sunrpc/Makefile (otherlibs): Likewise.
79586         * nss/Makefile (otherlibs): Likewise.
79587         Add libnss_files to routines and static-only-routines.
79588         ($(objpfx)getent): Remove rule.
79589         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79590         static-only-routines.
79592 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79594         [BZ #13892]
79595         * math/s_cexp.c: Include <float.h>.
79596         (__cexp): Handle exp result overflowing not necessarily
79597         overflowing both real and imaginary parts of result.
79598         * math/s_cexpf.c: Likewise.
79599         * math/s_cexpl.c: Likewise.
79600         * math/libm-test.inc (cexp_test): Add more tests.
79601         * sysdeps/i386/fpu/libm-test-ulps: Update.
79602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79604 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79606         * include/link.h (ELFW): New macro.
79607         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79608         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79610 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79612         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79613         with uint64_t.
79615 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79617         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79618         declaration.
79619         (struct La_x32_retval): Likewise.
79621 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79623         * sysdeps/x86_64/preconfigure.in: New file.
79624         * sysdeps/x86_64/preconfigure: New generated file.
79626 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79628         [BZ #13824]
79629         * math/e_exp2l.c: Include <float.h>.
79630         (__ieee754_exp2l): Handle overflow and underflow cases
79631         separately.  Only pass fractional part of argument to
79632         __ieee754_expl.
79633         * math/libm-test.inc (exp2_test): Add more tests.
79635         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79636         negating x to take absolute value.
79637         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79638         Likewise.
79639         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79640         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79641         Likewise.
79642         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79643         computing low part if x was negated.
79644         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79646 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79648         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79649         la_x32_gnu_pltexit.
79650         (pltexit): Cast int_retval to ptrdiff_t.
79651         * elf/tst-auditmod3b.c: Likewise.
79652         * elf/tst-auditmod4b.c: Likewise.
79653         * elf/tst-auditmod5b.c: Likewise.
79654         * elf/tst-auditmod6b.c: Likewise.
79655         * elf/tst-auditmod6c.c: Likewise.
79656         * elf/tst-auditmod7b.c: Likewise.
79658         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79659         and x32_gnu_pltexit.
79661         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79662         __ELF_NATIVE_CLASS.
79663         (La_x32_regs): New macro.
79664         (La_x32_retval): Likewise.
79665         (la_x32_gnu_pltenter): New function prototype.
79666         (la_x32_gnu_pltexit): Likewise.
79668 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79671         exponent.
79673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79675         * configure.in (libc_cv_cc_nofma): Check for option to disable
79676         generation of FMA instructions.
79677         * configure: Regenerate.
79678         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79679         * sysdeps/ieee754/dbl-64/Makefile: New file.
79680         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79681         Remove brandred-fma4.
79682         (CFLAGS-brandred-fma4.c): Remove.
79683         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79684         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79685         define.
79686         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79687         define.
79689 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79691         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79692         LLONG_MAX != LONG_MAX.
79693         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79694         (_fitoa_word): Likewise.
79695         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79696         LLONG_MAX != LONG_MAX.
79697         * stdio-common/_itowa.h: Include <_itoa.h>.
79698         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79699         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79700         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79701         only if not defined.
79702         (_ITOA_WORD_TYPE): Likewise.
79703         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79704         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79706 2012-03-21  David S. Miller  <davem@davemloft.net>
79708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79710 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79712         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79713         of x86_64 when setting libc_cv_slibdir, libdir and
79714         libc_cv_localedir.
79715         * sysdeps/unix/sysv/linux/configure: Regenerated.
79717 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79719         * manual/lang.texi (Old Varargs): Remove section.
79720         (How Variadic): Update menu.
79721         (va_start): Do not mention varargs.h.
79723 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79724             Joseph Myers  <joseph@codesourcery.com>
79726         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79727         link test.
79728         * configure: Regenerated.
79730 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79732         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79733         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79734         conformtest.pl
79736 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79738         * NOTES: Remove.
79739         * Makefile (files-for-dist): Remove NOTES.
79740         (NOTES): Remove rule.
79741         * README: Don't refer to NOTES.
79742         * manual/creature.texi: Don't include macros.texi.
79743         * manual/intro.texi (creature.texi): Remove comment referring to
79744         NOTES.
79746         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79747         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79748         * configure: Regenerated.
79749         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79750         LIBC_TRY_CC_OPTION.
79751         (libc_cv_as_i686): Likewise.
79752         (libc_cv_cc_avx): Likewise.
79753         (libc_cv_cc_sse2avx): Likewise.
79754         (libc_cv_cc_fma4): Likewise.
79755         (libc_cv_cc_novzeroupper): Likewise.
79756         * sysdeps/i386/configure: Regenerated.
79758         [BZ #13883]
79759         * sysdeps/i386/fpu/s_cexp.S: Remove.
79760         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79761         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79762         * math/libm-test.inc (cexp_test): Add more tests.
79763         * sysdeps/i386/fpu/libm-test-ulps: Update.
79764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79766 2012-03-21  Allan McRae  <allan@archlinux.org>
79768         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79770 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79772         [BZ #13871]
79773         * math/w_exp2.c: Do not include <float.h>.
79774         (o_threshold, u_threshold): Remove.
79775         (__exp2): Calculate result before checking finiteness and calling
79776         __kernel_standard.
79777         * math/w_exp2f.c: Likewise.
79778         * math/w_exp2l.c: Likewise.
79779         * math/libm-test.inc (exp2_test): Require overflow exception for
79780         1e6 input.
79782         [BZ #3866]
79783         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79784         range of signed 64-bit integers before using fistpll.  Remove
79785         checks for whether integers fit in mantissa bits.
79786         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79787         the range of signed 32-bit integers before using fistpl.  Remove
79788         checks for whether integers fit in mantissa bits.
79789         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79790         (__ieee754_powl): Test for y outside the range of signed 64-bit
79791         integers before using fistpll.  Reduce 64-bit values to 63-bit
79792         ones as needed.
79793         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79794         divide-by-zero is raised for zero to large negative powers.
79795         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79796         (__ieee754_powl): Test for y outside the range of signed 64-bit
79797         integers before using fistpll.  Reduce 64-bit values to 63-bit
79798         ones as needed.
79799         * math/libm-test.inc (pow_test): Add more tests.
79801 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79803         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79804         <stdio-common/_itoa.h>.
79805         * debug/segfault.c: Likewise.
79806         * elf/dl-cache.c: Likewise.
79807         * elf/dl-minimal.c: Likewise.
79808         * elf/dl-misc.c: Likewise.
79809         * elf/dl-sysdep.c: Likewise.
79810         * elf/dl-version.c: Likewise.
79811         * elf/rtld.c: Likewise.
79812         * hurd/hurdsock.c: Likewise.
79813         * hurd/lookup-retry.c: Likewise.
79814         * malloc/malloc.c: Likewise.
79815         * malloc/mtrace.c: Likewise.
79816         * nscd/nscd_getgr_r.c: Likewise.
79817         * nscd/nscd_getpw_r.c: Likewise.
79818         * nscd/nscd_getserv_r.c: Likewise.
79819         * posix/getopt_init.c: Likewise.
79820         * posix/wordexp.c: Likewise.
79821         * stdio-common/_itoa.c: Likewise.
79822         * stdio-common/printf_fphex.c: Likewise.
79823         * stdio-common/vfprintf.c: Likewise.
79824         * string/_strerror.c: Likewise.
79825         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79826         * sysdeps/i386/i686/hp-timing.h: Likewise.
79827         * sysdeps/mach/_strerror.c: Likewise.
79828         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79829         * sysdeps/mach/hurd/sethostid.c: Likewise.
79830         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79831         * sysdeps/mach/xpg-strerror.c: Likewise.
79832         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79833         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79834         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79835         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79836         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79837         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79838         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79839         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79840         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79841         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79842         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79843         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79844         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79845         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79846         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79847         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79848         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79849         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79850         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79851         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79852         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79854         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79856         * stdio-common/_itoa.h: Moved to ...
79857         * sysdeps/generic/_itoa.h: Here.
79859         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79861         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79862         instead of "_itoa.h" and "_itowa.h".
79863         * stdio-common/vfprintf.: Likewise.
79865 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79867         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79868         <bits/wordsize.h>.
79869         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79870         (__signbit): Likewise.
79871         (llrintf): Likewise.
79872         (llrint): Likewise.
79874 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79876         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79877         __WORDSIZE != 64.
79879 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79881         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79882         OVERFLOW_EXCEPTION_OK.
79883         * math/libm-test.inc ("Philosophy"): Update comment about
79884         exception testing.
79885         (OVERFLOW_EXCEPTION): Define.
79886         (OVERFLOW_EXCEPTION_OK): Likewise.
79887         (INVALID_EXCEPTION_OK): Renumber.
79888         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79889         (IGNORE_ZERO_INF_SIGN): Likewise.
79890         (test_exceptions): Handle FE_OVERFLOW.
79891         (exp10_test): Expect overflow exceptions.
79892         (exp2_test): Likewise.
79893         (expm1_test): Likewise.
79894         (nextafter_test): Likewise.
79895         (pow_test): Likewise.
79896         (scalbn_test): Likewise.
79897         (scalbln_test): Likewise.
79899 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79901         * sysdeps/x86_64/bits/atomic.h
79902         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79903         64bit integer.
79904         (atomic_exchange_acq): Likewise.
79905         (__arch_exchange_and_add_body): Likewise.
79906         (__arch_add_body): Likewise.
79907         (atomic_add_negative): Likewise.
79908         (atomic_add_zero): Likewise.
79910 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79912         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79913         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79917         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79918         Check __x86_64__ instead of __WORDSIZE.
79920 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79922         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79924 2012-03-19  David S. Miller  <davem@davemloft.net>
79926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79928         * sysdeps/sparc/fpu/fenv_private.h: New file.
79929         * sysdeps/sparc/fpu/math_private.h: Use it.
79930         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79931         Remove.
79932         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79933         (libc_feholdexcept_setroundl): Remove.
79934         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79935         Remove.
79936         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79937         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79939 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79941         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79942         int64_t instead of long int.
79943         (INSERT_WORDS64): Likewise.
79945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79947         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79948         _Unwind_GetCFA return to _Unwind_Ptr first.
79950 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79952         [BZ #13629]
79953         * math/s_clog.c: Include <float.h>.
79954         (__clog): Scale large or subnormal inputs.
79955         * math/s_clogf.c: Likewise.
79956         * math/s_clogl.c: Likewise.
79957         * math/s_clog10.c: Include <float.h>.
79958         (M_LOG10_2): Define.
79959         (__clog10): Scale large or subnormal inputs.
79960         * math/s_clog10f.c: Likewise.
79961         * math/s_clog10l.c: Likewise.
79962         * math/libm-test.inc (clog_test): Add more tests.
79963         (clog10_test): Likewise.
79964         * sysdeps/i386/fpu/libm-test-ulps: Update.
79965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79967         [BZ #11451]
79968         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79969         x and y.
79970         * math/libm-test.inc (atan2_test): Add another test.
79972         * Makerules (common-objdir-compile): Remove.
79973         * sysdeps/unix/Makefile (config-generated): Do not add
79974         $(unix-generated) to variable.
79975         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79976         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79977         Remove rule.
79978         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79979         Likewise.
79980         [generic bits/local_lim.h] (before-compile): Do not append to
79981         variable.
79982         [generic bits/local_lim.h] (common-generated): Likewise.
79983         [generic sys/param.h] (before-compile): Do not append to variable.
79984         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79985         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79986         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79987         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79988         include.
79989         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79990         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79991         [generic sys/param.h] ($(addprefix
79992         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79993         [generic sys/param.h] (common-generated): Do not append to
79994         variable.
79995         [generic sys/param.h] (sysdep_headers): Likewise.
79996         [generic bits/errno.h] (before-compile): Do not append to
79997         variable.
79998         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79999         rule.
80000         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80001         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80002         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80003         [generic bits/errno.h] (common-generated): Do not append to
80004         variable.
80005         [generic bits/ioctls.h] (before-compile): Do not append to
80006         variable.
80007         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80008         rule.
80009         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80010         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80011         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80012         rule.
80013         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80014         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80015         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80016         [generic bits/ioctls.h] (common-generated): Do not append to
80017         variable.
80018         [generic sys/syscall.h] (syscall.h): Remove variable.
80019         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80020         rule.
80021         [generic sys/syscall.h] (before-compile): Do not append to
80022         variable.
80023         [generic sys/syscall.h] (common-generated): Likewise.
80024         * sysdeps/unix/errnos-tmpl.c: Remove file.
80025         * sysdeps/unix/errnos.awk: Likewise.
80026         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80027         * sysdeps/unix/ioctls.awk: Likewise.
80028         * sysdeps/unix/mk-local_lim.c: Likewise.
80029         * sysdeps/unix/snarf-ioctls: Likewise.
80031 2012-03-19  Richard Henderson  <rth@twiddle.net>
80033         * sysdeps/i386/fpu/fenv_private.h: New file.
80034         * sysdeps/i386/fpu/math_private.h: Use it.
80035         (math_opt_barrier, math_force_eval): Remove.
80036         (libc_feholdexcept_setround_53bit): Remove.
80037         (libc_feupdateenv_53bit): Remove.
80038         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80039         (math_opt_barrier, math_force_eval): Remove.
80040         (libc_feholdexcept): Remove.
80041         (libc_feholdexcept_setround): Remove.
80042         (libc_fetestexcept, libc_fesetenv): Remove.
80043         (libc_feupdateenv_test): Remove.
80044         (libc_feupdateenv, libc_feholdsetround): Remove.
80045         (libc_feresetround): Remove.
80047         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80048         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80050         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80051         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80052         (libc_feupdateenv_testl): New.
80053         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80054         (libc_feupdateenv_testf): New.
80055         (libc_feupdateenv): Use libc_feupdateenv_test.
80056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80057         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80059         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80060         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80061         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80062         (libc_feresetround_noex): New.
80063         (libc_feresetround_noexf): New.
80064         (libc_feresetround_noexl): New.
80065         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80066         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80067         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80068         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80069         SET_RESTORE_ROUND.
80070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80072         (__cos): Likewise.
80073         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80074         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80075         SET_RESTORE_ROUND_NOEX.
80076         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80077         SET_RESTORE_ROUND_NOEXF.
80078         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80079         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80080         (libc_feholdsetroundf): New.
80081         (libc_feresetround, libc_feresetroundf): New.
80083         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80084         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80085         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80087         * sysdeps/generic/math_private.h: Include <fenv.h>.
80088         (default_libc_feholdexcept): New.
80089         (default_libc_feholdexcept_setround): New.
80090         (default_libc_fesetenv, default_libc_feupdateenv): New.
80091         (libc_feholdexcept): Only define if undefined.
80092         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80093         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80094         (libc_feholdexcept_setroundl): Likewise.
80095         (libc_feholdexcept_setround_53bit): Likewise.
80096         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80097         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80098         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80099         (libc_feupdateenv_53bit): Likewise.
80100         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80101         (libc_feholdexcept): Convert from macro to inline function.
80102         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80103         (libc_fesetenv, libc_feupdateenv): Likewise.
80105         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80106         not previously defined.
80107         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80108         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80109         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80110         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80111         * sysdeps/ieee754/flt-32/math_private.h: New file.
80112         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80113         math_private.h below SET_FLOAT_WORD.
80114         (__isnan, __isinf_ns, __finite): Remove.
80115         (__isnanf, __isinf_nsf, __finitef): Remove.
80117 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80121 2012-03-17  David S. Miller  <davem@davemloft.net>
80123         [BZ #6471]
80124         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80125         for 2.16.
80127 2012-03-16  David S. Miller  <davem@davemloft.net>
80129         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80130         warnings.
80132         [BZ #6471]
80133         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80134         properly.
80135         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80136         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80137         sysdep_routines when subdir is sysvipc.
80138         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80139         __getshmlba helper.
80141         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80143 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80145         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80146         [__LP64__].
80148 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80150         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80151         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80152         (__lround): Renamed to ...
80153         (__llround): This.  Replace long int with long long int.
80154         Define lround functions as aliases of llround functions.
80155         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80157 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80159         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80160         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80161         adresses to uintptr_t.  Replace "long int" and "unsigned long
80162         int" with "greg_t" on va_arg.
80164 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80166         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80167         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80169         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80170         Move e_machine check before EI_CLASS check.  Handle x32
80171         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80172         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80173         SKIP_EM_IA_64 and include
80174         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80176         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80177         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80178         (add_system_dir): New macro.
80180         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80181         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80183 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80185         [BZ #2551]
80186         [BZ #2552]
80187         [BZ #2553]
80188         [BZ #2554]
80189         [BZ #2562]
80190         [BZ #2563]
80191         [BZ #2565]
80192         [BZ #2566]
80193         [BZ #2576]
80194         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80195         (y0): Likewise.
80196         * math/w_j0f.c (j0f): Likewise.
80197         (y0f): Likewise.
80198         * math/w_j0l.c (__j0l): Likewise.
80199         (__y0l): Likewise.
80200         * math/w_j1.c (j1): Likewise.
80201         (y1): Likewise.
80202         * math/w_j1f.c (j1f): Likewise.
80203         (y1f): Likewise.
80204         * math/w_j1l.c (__j1l): Likewise.
80205         (__y1l): Likewise.
80206         * math/w_jn.c (jn): Likewise.
80207         (yn): Likewise.
80208         * math/w_jnf.c (jnf): Likewise.
80209         (ynf): Likewise.
80210         * math/w_jnl.c (__jnl): Likewise.
80211         (__ynl): Likewise.
80212         * math/libm-test.inc (j0_test): Add more tests.
80213         (j1_test): Likewise.
80214         (jn_test): Likewise.  Add trailing semicolon to existing test.
80215         (y0_test): Likewise.
80216         (y1_test): Likewise.
80217         * sysdeps/i386/fpu/libm-test-ulps: Update.
80218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80220         [BZ #13851]
80221         [BZ #13854]
80222         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80223         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80224         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80225         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80226         (__tanl): Set errno for infinite argument.
80227         * sysdeps/i386/fpu/mptan.c: Remove.
80228         * sysdeps/i386/fpu/s_tan.S: Likewise.
80229         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80230         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80231         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80232         * math/libm-test.inc (tan_test): Add more tests and enable more
80233         tests for double and long double.
80234         * sysdeps/i386/fpu/libm-test-ulps: Update.
80235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80237 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80239         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80240         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80242 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80244         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80245         * configure.in: Use it for both main tree and add-ons.
80246         * configure: Regenerated.
80248 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80250         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80252 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80254         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80255         in comment.
80257         [BZ #13851]
80258         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80259         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80260         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80261         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80262         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80263         infinite argument.
80264         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80266         != 0 for prec == 2.
80267         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80268         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80269         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80270         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80271         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80272         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80273         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80274         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80275         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80276         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80277         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80278         * math/libm-test.inc (cos_test): Add more tests and enable more
80279         tests for long double.
80280         (sin_test): Likewise.
80281         (sincos_test): Likewise.
80282         * sysdeps/i386/fpu/libm-test-ulps: Update.
80283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80285 2012-03-16  David S. Miller  <davem@davemloft.net>
80287         * sysdeps/sparc/fpu/math_private.h: New file.
80289 2012-03-15  David S. Miller  <davem@davemloft.net>
80291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80292         file.
80293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80295         file.
80296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80302         sysdep routines.
80303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80305         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80306         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80308         * sysdeps/sparc/sparc-ifunc.h: New file.
80309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80310         sparc-ifunc.h
80311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80313         Likewise.
80314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80315         Likewise.
80316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80320         Likewise.
80321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80326         Likewise.
80327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80328         Likewise.
80329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80334         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80335         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80336         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80337         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80338         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80343         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80344         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80345         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80346         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80347         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80348         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80349         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80350         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80354 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80356         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80357         scaling.
80358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80360 2012-03-15  Andreas Jaeger  <aj@suse.de>
80362         [BZ #13852]
80363         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80364         ieee754/flt-32 implementation for sin, cos and sincos.
80365         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80366         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80367         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80368         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80369         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80370         ieee754/flt-32 implementation for tan.
80372         * math/libm-test.inc (cos_test): Enable some large input tests for
80373         float as well
80374         (sin_test): Likewise.
80375         (sincos_test): Likewise.
80376         (tan_test): Add tests for large input.
80378         * sysdeps/i386/fpu/libm-test-ulps: Update.
80380 2012-03-15  Andreas Jaeger  <aj@suse.de>
80382         [BZ #13658]
80383         * math/libm-test.inc (cos_test): Add more test cases.
80384         (sin_test): Likewise.
80385         (sincos_test): Likewise.
80387 2012-03-15  Andreas Jaeger  <aj@suse.de>
80389         [BZ #13837]
80390         * math/libm-test.inc (cos_test): Add a test case for large input
80391         value.
80392         (sin_test): Likewise.
80393         (sincos_test): Likewise.
80395 2012-03-15  Andreas Jaeger  <aj@suse.de>
80396             Joseph Myers  <joseph@codesourcery.com>
80398         [BZ #13658]
80399         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80400         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80401         * sysdeps/i386/fpu/branred.c: Likewise.
80402         * sysdeps/i386/fpu/dosincos.c: Likewise.
80403         * sysdeps/i386/fpu/mpa.c: Likewise.
80404         * sysdeps/i386/fpu/s_cos.S: Likewise.
80405         * sysdeps/i386/fpu/s_sin.S: Likewise.
80406         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80407         * sysdeps/i386/fpu/sincos32.c: Likewise.
80409         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80410         Define.
80411         (libc_feupdateenv_53bit): Define.
80412         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80413         Define.
80414         (libc_feupdateenv_53bit): Define.
80416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80417         53 bit (without extend i386 double precision).
80419         * math/libm-test.inc (sincos_test): Add tests for large input.
80420         (sin): Likewise.
80421         (cos): Likewise.
80423         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80425 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80429 2012-03-15  David S. Miller  <davem@davemloft.net>
80431         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80432         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80433         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80434         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80445         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80447         file.
80448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80450         file.
80451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80453         file.
80454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80456         file.
80457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80458         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80459         fmin/fmax sysdep routines.
80460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80462 2012-03-14  David S. Miller  <davem@davemloft.net>
80464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80468         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80469         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80470         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80471         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80478         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80483         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80485         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80486         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80487         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80488         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80489         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80490         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80491         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80492         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80493         routines.
80494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80495         file.
80496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80498         file.
80499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80501         file.
80502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80504         file.
80505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80507         file.
80508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80510         file.
80511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80512         file.
80513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80514         file.
80515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80516         file.
80517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80518         New file.
80519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80520         file.
80521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80522         file.
80523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80525         file.
80526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80528         file.
80529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80531         file.
80532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80534         VIS3 routines.
80536         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80537         New file.
80539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80541         * sysdeps/sparc/configure.in: New file.
80542         * sysdeps/sparc/configure: Generate.
80543         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80544         * configure: Regenerate.
80545         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80546         * config.make.in (have-as-vis3): New.
80547         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80548         available use -Av9d instead of -Av9a.
80549         * sysdeps/sparc/sparc64/Makefile: Likewise.
80550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80552         New file.
80553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80554         file.
80555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80556         New file.
80557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80558         file.
80559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80560         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80561         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80562         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80563         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80565         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80566         fzeros/fnegs to load 0x80000000 into a float register instead of
80567         using the stack.
80568         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80570 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80573         bits/syscall.h.
80574         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80575         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80576         ($(inst_includedir)/bits/syscall.h): Remove rule.
80577         ($(objpfx)bits/syscall.d): Include instead of
80578         $(objpfx)syscall-list.d.
80579         (generated): Change syscall-list.h and syscall-list.d to
80580         bits/syscall.h and bits/syscall.d.
80582 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80584         [BZ #13846]
80585         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80587 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80589         [BZ #13841]
80590         * math/s_csqrt.c: Include <float.h>.
80591         (__csqrt): Scale large or subnormal inputs.
80592         * math/s_csqrtf.c: Likewise.
80593         * math/s_csqrtl.c: Likewise.
80594         * math/libm-test.inc (csqrt_test): Add more tests.
80595         * sysdeps/i386/fpu/libm-test-ulps: Update.
80596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80598         [BZ #13840]
80599         * math/libm-test.inc (hypot_test): Add more tests.
80601 2012-03-13  David S. Miller  <davem@davemloft.net>
80603         [BZ #13840]
80604         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80605         double-precision for the calculation instead of scaling.
80607 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80609         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80610         manipulate bits before adding and subtracting TWO52[sx].
80611         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80612         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80613         Likewise.
80614         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80616 2012-03-13  David S. Miller  <davem@davemloft.net>
80618         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80619         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80620         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80621         rtld-global-offsets.h
80622         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80624         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80625         large parameters.
80627         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80629         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80630         'err' in the ifdef scope in which it is actually used.
80632         * nss/nss_db/db-init.c: Include string.h
80634 2012-03-12  David S. Miller  <davem@davemloft.net>
80636         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80637         masking out of the most significant byte of random value used.
80638         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80639         Fix coding style in previous change.
80641         * sysdeps/unix/sysv/linux/kernel-features.h
80642         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80643         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80644         expression.
80645         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80646         later.
80648 2012-03-11  David S. Miller  <davem@davemloft.net>
80650         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80651         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80652         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80653         for 'resultvar' otherwise things get truncated on 64-bit.
80655         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80656         Fix masking out of the most significant byte of random value used.
80658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80660 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80664 2012-03-09  David S. Miller  <davem@davemloft.net>
80666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80667         variables with appropriate CPP guards.
80668         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80669         from the frame pointer, not the stack pointer.  Correct layout
80670         comments.  Fix test on resulting framesize and the management of
80671         the outregs buffer for pltexit.  Preserve floating point return
80672         values across _dl_call_pltexit call.
80673         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80674         framesize and the management of the outregs buffer for pltexit.
80675         Preserve floating point return values across _dl_call_pltexit
80676         call.
80677         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80678         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80679         (la_sparc64_gnu_pltexit): New functions.
80680         (print_exit): Fix format string for return register value.
80682 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80684         * sunrpc/Makefile (others): Add rpcgen.
80685         ($(objpfx)rpcgen): Remove special build rule and dependency on
80686         libc.
80687         * sunrpc/rpcgen.c: New file.
80689 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80691         [BZ #13673]
80692         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80693         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80694         * sysdeps/i386/crti.S: Likewise.
80695         * sysdeps/i386/crtn.S: Likewise.
80696         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80697         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80698         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80699         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80700         * sysdeps/sh/crti.S: Likewise.
80701         * sysdeps/sh/crtn.S: Likewise.
80702         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80704         [BZ #13673]
80705         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80706         with URL.
80707         * locale/programs/locfile-kw.gperf: Likewise.
80708         * locale/programs/charmap-kw.h: Regenerated.
80709         * locale/programs/locfile-kw.h: Likewise.
80711         [BZ #13673]
80712         * intl/plural.y: Replace FSF snail mail address with URL.
80713         * intl/plural.c: Regenerated.
80715 2012-03-09  Richard Henderson  <rth@twiddle.net>
80717         * include/math_private.h: Remove file.
80718         * math/math_private.h: Move file ...
80719         * sysdeps/generic/math_private.h: ... here.
80721         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80722         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80723         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80725         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80726         and <math_private.h>.
80727         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80728         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80729         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80730         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80731         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80732         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80733         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80734         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80735         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80736         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80737         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80738         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80739         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80740         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80741         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80742         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80743         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80744         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80745         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80746         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80747         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80748         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80749         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80750         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80751         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80752         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80753         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80754         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80755         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80756         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80757         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80758         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80759         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80760         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80761         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80762         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80763         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80764         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80765         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80766         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80767         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80768         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80769         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80770         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80771         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80772         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80773         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80774         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80775         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80776         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80777         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80778         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80779         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80780         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80781         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80782         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80783         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80784         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80785         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80786         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80787         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80788         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80789         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80790         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80791         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80792         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80793         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80794         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80795         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80796         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80797         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80798         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80799         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80800         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80801         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80802         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80804         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80805         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80806         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80807         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80808         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80809         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80810         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80811         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80812         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80813         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80814         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80815         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80816         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80817         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80818         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80819         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80820         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80821         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80822         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80823         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80824         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80825         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80826         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80827         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80828         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80829         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80830         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80831         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80832         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80833         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80834         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80835         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80836         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80837         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80838         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80839         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80840         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80841         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80842         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80843         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80844         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80845         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80846         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80847         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80848         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80849         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80850         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80851         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80852         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80853         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80854         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80855         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80856         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80857         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80858         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80859         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80860         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80861         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80862         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80863         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80864         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80865         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80866         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80867         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80868         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80869         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80870         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80871         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80872         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80873         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80874         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80875         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80876         * sysdeps/ieee754/k_standard.c: Likewise.
80877         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80878         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80879         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80880         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80881         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80882         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80883         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80884         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80885         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80886         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80887         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80889         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80890         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80891         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80892         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80893         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80894         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80895         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80896         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80897         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80898         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80899         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80900         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80901         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80902         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80903         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80904         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80905         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80906         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80907         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80908         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80909         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80910         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80911         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80912         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80913         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80914         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80915         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80916         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80917         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80918         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80919         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80920         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80921         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80922         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80923         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80926         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80928         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80929         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80930         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80931         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80932         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80933         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80934         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80935         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80936         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80937         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80938         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80939         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80940         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80941         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80942         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80943         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80946         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80949         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80950         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80951         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80952         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80953         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80954         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80957         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80958         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80959         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80960         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80961         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80962         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80963         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80964         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80965         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80966         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80967         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80968         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80969         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80970         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80971         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80972         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80973         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80974         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80975         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80976         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80977         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80978         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80979         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80980         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80981         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80982         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80983         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80984         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80985         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80986         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80987         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80988         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80989         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80990         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80991         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80992         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80993         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80994         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80995         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80996         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80997         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80998         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80999         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81001         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81002         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81003         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81004         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81005         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81006         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81007         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81008         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81009         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81010         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81011         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81012         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81013         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81014         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81015         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81016         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81017         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81018         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81019         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81020         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81021         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81022         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81023         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81024         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81025         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81026         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81027         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81028         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81029         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81030         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81031         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81032         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81033         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81034         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81035         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81036         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81037         * sysdeps/ieee754/s_lib_version.c: Likewise.
81038         * sysdeps/ieee754/s_matherr.c: Likewise.
81039         * sysdeps/ieee754/s_signgam.c: Likewise.
81040         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81041         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81042         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81043         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81044         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81045         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81046         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81047         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81048         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81049         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81050         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81051         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81052         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81053         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81054         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81055         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81056         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81057         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81058         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81059         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81060         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81062 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81064         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81065         * sunrpc/rpc_main.c: Likewise.
81066         * sunrpc/rpc_svcout.c: Likewise.
81068 2012-03-09  David S. Miller  <davem@davemloft.net>
81070         * include/math_private.h: New file.
81072 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81074         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81075         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81076         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81077         from <bits/socket_type.h>.
81078         (enum __socket_type): Don't define here.
81079         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81080         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81081         bits/socket_type.h.
81083         [BZ #13566]
81084         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81085         checking __USE_GNU.
81087         * Makerules ($(inst_includedir)/%.h): New rule.
81088         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81089         (install-others): Remove variable setting.
81090         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81092 2012-03-08  Richard Henderson  <rth@twiddle.net>
81094         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81095         from macro to inline function; merge with the
81096         !__LIBC_INTERNAL_MATH_INLINES version.
81097         (__ieee754_sqrtf): Likewise.
81099         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81100         to inline function.
81101         (__rintf, __floor, __floorf): Likewise.
81103         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81104         macro to inline function.
81105         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81107         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81108         not <math/math_private.h>.
81110 2012-03-08  David S. Miller  <davem@davemloft.net>
81112         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81113         copyright year.
81114         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81116 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81118         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81119         normalization.
81120         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81121         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81123 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81125         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81126         be defined individually, they must be defined as a block.  Define
81127         S for printing a string instead of hidint the different by using a
81128         macro for adding the 'l'.
81129         * stdio-common/tst-fphex-wide.c: Adjust.
81131 2012-03-07  Marek Polacek  <polacek@redhat.com>
81133         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81135 2012-03-08  Marek Polacek  <polacek@redhat.com>
81137         [BZ #13806]
81138         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81139         * stdio-common/tst-fphex.c: Define a few macros to make the
81140         test reusable.  Use them.
81141         * stdio-common/tst-fphex-wide.c: New file.
81143 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81145         [BZ #6911]
81146         * manual/macros.texi (gnusystems): New macro.
81147         (nongnusystems): Likewise.
81148         (gnulinuxhurdsystems): Likewise.
81149         (gnuhurdsystems): Likewise..
81150         (gnulinuxsystems): Likewise.
81151         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81152         variants of the GNU system, not "GNU system".
81153         * manual/conf.texi: Likewise.
81154         * manual/errno.texi: Likewise.  Update example of errno macro
81155         expansion.
81156         * manual/filesys.texi: Likewise.
81157         (getumask): Document as specific to GNU/Hurd.
81158         * manual/install.texi: Likewise.  Reword some references to
81159         GNU/Linux.
81160         * manual/intro.texi: Likewise.
81161         * manual/io.texi: Likewise.
81162         (File Name Portability): Detail which constraints are inapplicable
81163         to all GNU systems and which are only inapplicable to GNU/Hurd.
81164         * manual/job.texi: Likewise.
81165         * manual/llio.texi: Likewise.
81166         (O_NOCTTY): Document as present on GNU/Linux.
81167         * manual/maint.texi: Likewise.
81168         * manual/memory.texi: Likewise.
81169         * manual/pattern.texi: Likewise.
81170         * manual/pipe.texi: Likewise.
81171         * manual/process.texi: Likewise.
81172         * manual/resource.texi: Likewise.
81173         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81174         child on GNU/Hurd.
81175         * manual/setjmp.texi: Likewise.
81176         * manual/signal.texi: Likewise.
81177         * manual/startup.texi: Likewise.
81178         * manual/stdio.texi: Likewise.
81179         * manual/terminal.texi: Likewise.
81180         (ONLCR): Document as POSIX.
81181         (OXTABS): Document availability on GNU/Linux as XTABS.
81182         (ONOEOT): Document availability separately from other bits.
81183         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81184         * manual/time.texi: Likewise.
81185         * manual/users.texi: Likewise.
81186         * INSTALL: Regenerated.
81187         * sysdeps/gnu/errlist.c: Regenerated.
81189         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81190         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81191         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81192         puts.
81193         * configure: Regenerated.
81195 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81197         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81198         default includes instead of AC_HEADER_CHECK.
81199         * sysdeps/i386/configure: Regenerated.
81201         [BZ #10716]
81202         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81203         * math/s_cacoshf.c (__cacoshf): Likewise.
81204         * math/s_cacoshl.c (__cacoshl): Likewise.
81205         * math/s_casinh.c (__casinh): Set signs of result from argument.
81206         * math/s_casinhf.c (__casinhf): Likewise.
81207         * math/s_casinhl.c (__casinhl): Likewise.
81208         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81209         (casinh_test): Add more tests.
81210         * sysdeps/i386/fpu/libm-test-ulps: Update.
81211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81213 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81215         * po/zh_TW.po: Update from translation team.
81217         * login/Makefile (distribute): Remove variable.
81218         * catgets/Makefile: Likewise.
81219         * mach/Makefile: Likewise.
81220         * malloc/Makefile: Likewise.
81221         * misc/Makefile: Likewise.
81222         * iconv/Makefile: Likewise.
81223         * nscd/Makefile: Likewise.
81224         * hurd/Makefile: Likewise.
81225         * manual/Makefile: Likewise.
81226         * locale/Makefile: Likewise.
81227         * intl/Makefile: Likewise.
81228         * conform/Makefile: Likewise.
81229         * nss/Makefile: Likewise.
81230         * time/Makefile: Likewise.
81231         * soft-fp/Makefile: Likewise.
81232         * dirent/Makefile: Likewise.
81233         * gmon/Makefile: Likewise.
81234         * po/Makefile: Likewise.
81235         * rt/Makefile: Likewise.
81236         * socket/Makefile: Likewise.
81237         * math/Makefile: Likewise.
81238         * signal/Makefile: Likewise.
81239         * debug/Makefile: Likewise.
81240         * elf/Makefile: Likewise.
81241         * timezone/Makefile: Likewise.
81242         * stdlib/Makefile: Likewise.
81243         * iconvdata/Makefile: Likewise.
81244         * sunrpc/Makefile: Likewise.
81245         * io/Makefile: Likewise.
81246         * argp/Makefile: Likewise.
81247         * inet/Makefile: Likewise.
81248         * hesiod/Makefile: Likewise.
81249         * grp/Makefile: Likewise.
81250         * csu/Makefile: Likewise.
81251         * wctype/Makefile: Likewise.
81252         * crypt/Makefile: Likewise.
81253         * libio/Makefile: Likewise.
81254         * string/Makefile: Likewise.
81255         * nis/Makefile: Likewise.
81256         * resolv/Makefile: Likewise.
81257         * stdio-common/Makefile: Likewise.
81258         * wcsmbs/Makefile: Likewise.
81259         * dlfcn/Makefile: Likewise.
81260         * posix/Makefile: Likewise.
81262         [BZ #6959]
81263         * timezone/Makefile: Don't install timezone files, just the programs
81264         and scripts.
81266 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81268         * nss/databases.def: Add missing gshadow entry.
81270         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81272 2012-03-06  Marek Polacek  <polacek@redhat.com>
81274         [BZ #13726]
81275         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81276         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81277         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81278         * stdio-common/tst-long-dbl-fphex.c: New file.
81280 2012-03-06  David S. Miller  <davem@davemloft.net>
81282         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81283         (set_obp_int): New function.
81284         (get_obp_int): New function.
81285         (__get_clockfreq_via_dev_openprom): Likewise.
81286         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81287         Avoid unused variable warnings on 'val' and use builtin_expect.
81288         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81289         __builtin_expect.
81290         (INLINE_CLONE_SYSCALL): Likewise.
81292 2012-03-05  David S. Miller  <davem@davemloft.net>
81294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81296 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81300         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81301         only for |x| >= 40.
81302         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81304 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81306         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81307         Replace gettimeofday with __vdso_gettimeofday.
81309         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81310         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81311         __vdso_clock_gettime and __vdso_getcpu.
81313         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81314         time with __vdso_time.
81316 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81318         * manual/lang.texi (size_t): Note types to which size_t may be
81319         equivalent with the GNU C Library, but do not describe when
81320         differences between them are significant.
81322 2012-03-05  Andreas Jaeger  <aj@suse.de>
81324         * sysdeps/i386/fpu/libm-test-ulps: Update.
81326 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81328         [BZ #3976]
81329         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81330         (__ieee754_pow): Save and restore rounding mode and use
81331         round-to-nearest for main computations.
81332         * math/libm-test.inc (pow_test_tonearest): New function.
81333         (pow_test_towardzero): Likewise.
81334         (pow_test_downward): Likewise.
81335         (pow_test_upward): Likewise.
81336         (main): Call the new functions.
81337         * sysdeps/i386/fpu/libm-test-ulps: Update.
81338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81340         [BZ #3976]
81341         * math/libm-test.inc (cosh_test_tonearest): New function.
81342         (cosh_test_towardzero): Likewise.
81343         (cosh_test_downward): Likewise.
81344         (cosh_test_upward): Likewise.
81345         (sinh_test_tonearest): Likewise.
81346         (sinh_test_towardzero): Likewise.
81347         (sinh_test_downward): Likewise.
81348         (sinh_test_upward): Likewise.
81349         (main): Call the new functions.
81350         * sysdeps/i386/fpu/libm-test-ulps: Update.
81351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81353 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81355         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81356         default stack guard is set in last bytes.
81357         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81359 2012-03-05  Kees Cook  <keescook@chromium.org>
81361         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81363         [BZ #13656]
81364         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81365         possibly allocate from heap instead of stack.
81366         * stdio-common/bug-vfprintf-nargs.c: New file.
81367         * stdio-common/Makefile (tests): Add nargs overflow test.
81369 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81373 2012-03-03  Marek Polacek  <polacek@redhat.com>
81375         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81376         * math/math_private.h: Likewise.
81377         * stdlib/tst-strtod.c: Likewise.
81378         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81379         * sysdeps/x86_64/bits/atomic.h: Likewise.
81381 2012-03-02  David S. Miller  <davem@davemloft.net>
81383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81387         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81388         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81389         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81390         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81392 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81394         [BZ #13792]
81395         * manual/examples/README: New file, says the example source files
81396         can be used under GPL>=2.
81397         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81398         line containing just "*/".
81399         * manual/examples/add.c: Add copyright header (GPL>=2).
81400         * manual/examples/argp-ex1.c: Likewise.
81401         * manual/examples/argp-ex2.c: Likewise.
81402         * manual/examples/argp-ex3.c: Likewise.
81403         * manual/examples/argp-ex4.c: Likewise.
81404         * manual/examples/atexit.c: Likewise.
81405         * manual/examples/db.c: Likewise.
81406         * manual/examples/dir.c: Likewise.
81407         * manual/examples/dir2.c: Likewise.
81408         * manual/examples/execinfo.c: Likewise.
81409         * manual/examples/filecli.c: Likewise.
81410         * manual/examples/filesrv.c: Likewise.
81411         * manual/examples/fmtmsgexpl.c: Likewise.
81412         * manual/examples/genpass.c: Likewise.
81413         * manual/examples/inetcli.c: Likewise.
81414         * manual/examples/inetsrv.c: Likewise.
81415         * manual/examples/isockad.c: Likewise.
81416         * manual/examples/longopt.c: Likewise.
81417         * manual/examples/memopen.c: Likewise.
81418         * manual/examples/memstrm.c: Likewise.
81419         * manual/examples/mkfsock.c: Likewise.
81420         * manual/examples/mkisock.c: Likewise.
81421         * manual/examples/mygetpass.c: Likewise.
81422         * manual/examples/pipe.c: Likewise.
81423         * manual/examples/popen.c: Likewise.
81424         * manual/examples/rprintf.c: Likewise.
81425         * manual/examples/search.c: Likewise.
81426         * manual/examples/select.c: Likewise.
81427         * manual/examples/setjmp.c: Likewise.
81428         * manual/examples/sigh1.c: Likewise.
81429         * manual/examples/sigusr.c: Likewise.
81430         * manual/examples/stpcpy.c: Likewise.
81431         * manual/examples/strdupa.c: Likewise.
81432         * manual/examples/strftim.c: Likewise.
81433         * manual/examples/strncat.c: Likewise.
81434         * manual/examples/subopt.c: Likewise.
81435         * manual/examples/swapcontext.c: Likewise.
81436         * manual/examples/termios.c: Likewise.
81437         * manual/examples/testopt.c: Likewise.
81438         * manual/examples/testpass.c: Likewise.
81439         * manual/examples/timeval_subtract.c: Likewise.
81441         [BZ #13792]
81442         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81443         function to ...
81444         * manual/timeval_subtract.c.texi: ... here, new file.
81446 2012-03-02  David S. Miller  <davem@davemloft.net>
81448         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81450 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81452         [BZ #3976]
81453         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81454         (__sin): Save and restore rounding mode and use round-to-nearest
81455         for all computations.
81456         (__cos): Save and restore rounding mode and use round-to-nearest
81457         for all computations.
81458         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81459         <fenv.h>.
81460         (tan): Save and restore rounding mode and use round-to-nearest for
81461         all computations.
81462         * math/libm-test.inc (cos_test_tonearest): New function.
81463         (cos_test_towardzero): Likewise.
81464         (cos_test_downward): Likewise.
81465         (cos_test_upward): Likewise.
81466         (sin_test_tonearest): Likewise.
81467         (sin_test_towardzero): Likewise.
81468         (sin_test_downward): Likewise.
81469         (sin_test_upward): Likewise.
81470         (tan_test_tonearest): Likewise.
81471         (tan_test_towardzero): Likewise.
81472         (tan_test_downward): Likewise.
81473         (tan_test_upward): Likewise.
81474         (main): Call the new functions.
81475         * sysdeps/i386/fpu/libm-test-ulps: Update.
81476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81478         [BZ #10135]
81479         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81480         small n, then large n, before computing and testing k+n.
81481         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81482         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81483         Likewise.
81484         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81485         Likewise.
81486         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81487         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81488         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81489         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81490         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81491         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81492         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81493         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81494         * math/libm-test.inc (scalbn_test): Add more tests.
81495         (scalbln_test): Likewise.
81497         * manual/filesys.texi (mode_t): Describe constraints on size and
81498         signedness, not exact equivalence to a particular type.
81499         (ino_t): Likewise.
81500         (ino64_t): Likewise.
81501         (dev_t): Likewise.
81502         (nlink_t): Likewise.
81503         (blkcnt_t): Likewise.
81504         (blkcnt64_t): Likewise.
81505         * manual/llio.texi (off_t): Likewise.
81507         [BZ #3976]
81508         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81509         (__ieee754_exp): Save and restore rounding mode and use
81510         round-to-nearest for all computations.
81511         * math/libm-test.inc (exp_test_tonearest): New function.
81512         (exp_test_towardzero): Likewise.
81513         (exp_test_downward): Likewise.
81514         (exp_test_upward): Likewise.
81515         (main): Call the new functions.
81516         * sysdeps/i386/fpu/libm-test-ulps: Update.
81517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81519 2012-03-01  Chris Demetriou  <cgd@google.com>
81521         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81522         have predictable order.
81524 2012-03-01  David S. Miller  <davem@davemloft.net>
81526         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81528         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81529         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81530         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81531         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81533         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81534         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81535         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81537         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81538         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81539         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81540         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81541         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81545         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81546         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81547         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81549         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81550         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81551         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81552         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81553         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81554         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81555         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81556         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81557         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81558         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81559         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81560         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81565         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81566         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81567         * sysdeps/sparc/elf/configure: Regenerated.
81569 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81571         * configure.in (AS, LD): Require binutils 2.20 or later.
81572         * configure: Regenerated.
81573         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81574         as required minimum version.
81575         * INSTALL: Regenerated.
81577         [BZ #2541]
81578         [BZ #4108]
81579         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81580         before squaring exponent.
81581         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81582         bottom long double and 27 bits of top long double before squaring
81583         exponent.
81584         * math/libm-test.inc (erfc_test): Add more tests.
81585         * sysdeps/i386/fpu/libm-test-ulps: Update.
81586         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81589 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81591         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81592         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81593         containing bit-fields.
81594         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81595         * soft-fp/single.h (_FP_UNION_S): Likewise.
81596         * soft-fp/double.h (_FP_UNION_D): Likewise.
81598 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81600         [BZ #13786]
81601         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81602         not include ../strcmp.S.
81603         [USE_AS_STRNCASECMP_L]: Likewise.
81604         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81605         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81606         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81607         (__strncasecmp_l_ia32): Define as alias to
81608         __strncasecmp_l_nonascii.
81610         [BZ #5794]
81611         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81612         * sysdeps/i386/fpu/libm-test-ulps: Update.
81613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81615         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81618 2012-02-29  Jeff Law  <law@redhat.com>
81620         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81621         out of bounds read.
81623 2012-02-29  Marek Polacek  <polacek@redhat.com>
81625         [BZ #13706]
81626         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81627         * elf/Makefile: Add rules to run tst-unused-dep.out.
81629 2012-02-28  David S. Miller  <davem@davemloft.net>
81631         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81632         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81633         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81634         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81635         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81636         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81638 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81640         * math/libm-test.inc (llround_test): Move one test from
81641         lround_test.  Use TEST_f_L in moved test.
81642         (lround_test): Move misplaced test to llround_test.  Add testcase
81643         from bug 2561.
81645 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81647         * sysdeps/x86_64/fpu/e_expf.S: New file.
81648         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81650 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81652         [BZ #13637]
81653         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81654         of remain_len that may cause incomplete multi-byte character and
81655         false match.
81656         * posix/bug-regex33.c: New file.
81657         * posix/Makefile (tests): Add bug-regex33.
81659 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81661         * manual/macros.texi: New file.
81662         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81663         * manual/libc.texinfo: Include macros.texi.
81664         * manual/creatute.texi: Likewise.
81665         * manual/install.texi: Likewise.
81666         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81667         @glibcadj{} in references to the GNU C Library.
81668         * manual/charset.texi: Likewise.
81669         * manual/conf.texi: Likewise.
81670         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81671         when not using those macros.
81672         * manual/creature.texi: Likewise.
81673         * manual/crypt.texi: Likewise.
81674         * manual/errno.texi: Likewise.
81675         * manual/filesys.texi: Likewise.
81676         * manual/header.texi: Likewise.
81677         * manual/install.texi: Likewise.
81678         * manual/intro.texi: Likewise.
81679         * manual/io.texi: Likewise.
81680         * manual/job.texi: Likewise.
81681         * manual/lang.texi: Likewise.
81682         * manual/libc.texiinfo: Likewise.
81683         * manual/llio.texi: Likewise.
81684         * manual/locale.texi: Likewise.
81685         * manual/maint.texi: Likewise.
81686         * manual/math.texi: Likewise.
81687         * manual/memory.texi: Likewise.
81688         * manual/message.texi: Likewise.
81689         * manual/nss.texi: Likewise.
81690         * manual/pattern.texi: Likewise.
81691         * manual/process.texi: Likewise.
81692         * manual/resource.texi: Likewise.
81693         * manual/search.texi: Likewise.
81694         * manual/setjmp.texi: Likewise.
81695         * manual/signal.texi: Likewise.
81696         * manual/socket.texi: Likewise.
81697         * manual/startup.texi: Likewise.
81698         * manual/stdio.texi: Likewise.
81699         * manual/string.texi: Likewise.
81700         * manual/sysinfo.texi: Likewise.
81701         * manual/syslog.texi: Likewise.
81702         * manual/terminal.texi: Likewise.
81703         * manual/time.texi: Likewise.
81704         * manual/users.texi: Likewise.
81705         * INSTALL: Regenerated.
81706         * NOTES: Regenerated.
81707         * sysdeps/gnu/errlist.c: Regenerated.
81709 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81711         * include/dirent.h: Include <dirstream.h> before
81712         <dirent/dirent.h>.
81714 2012-02-28  David S. Miller  <davem@davemloft.net>
81716         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81717         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81718         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81719         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81721 2012-02-27  David S. Miller  <davem@davemloft.net>
81723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81725         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81726         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81729         frame pointer instead of stack pointer relative arg slot.
81730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81731         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81732         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81734 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81736         [BZ #3992]
81737         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81739 2012-02-27  David S. Miller  <davem@davemloft.net>
81741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81745         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81746         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81747         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81748         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81750 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81752         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81753         later.  Allow versions 5-9.
81754         * configure: Regenerated.
81755         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81756         required minimum version and 4.6 as recommended version.  Do not
81757         mention bugs in GCC 2.7 and 2.8.
81758         * INSTALL: Regenerated.
81760 2012-02-27  David S. Miller  <davem@davemloft.net>
81762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81766         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81767         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81768         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81769         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81771         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81772         manipulate bits before adding and subtracting TWO112[sx].
81773         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81775 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81777         [BZ #13775]
81778         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81779         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81780         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81781         being in POSIX, because they are in 1003.1-2008.
81783         * rt/tst-aio.c: Include <fcntl.h>.
81784         * rt/tst-aio7.c: Likewise.
81785         * rt/tst-aio64.c: Likewise.
81787         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81789 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81791         * manual/install.texi (--with-headers): Describe headers as
81792         interface headers, not private headers.
81793         (Specific advice for GNU/Linux systems): Describe use of headers
81794         from "make headers_install", not private headers from older
81795         kernels.
81796         * INSTALL: Regenerated.
81797         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81798         Change to 2.6.19.
81799         * sysdeps/unix/sysv/linux/configure: Regenerated.
81801         * manual/llio.texi (fclean): Remove documentation.
81803         * manual/Makefile (libc-texi-generated): New variable.  Include
81804         version.texi.
81805         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81806         $(libc-texi-generated), not duplicated list of files.
81807         (version.texi, stamp-version): New rules.
81808         (realclean): Remove $(libc-texi-generated), not individual files
81809         from that list.  Do not remove dir-add.texinfo.
81810         * manual/libc.texinfo: Comment out uses of edition numbers and
81811         references to printed manual.  Remove last-updated dates.
81812         (EDITION): Comment out.
81813         (ISBN): Likewise.
81814         (VERSION, UPDATED): Remove.
81815         (version.texi): Include.
81817 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81819         * sysdeps/posix/spawni.c: Include <signal.h>.
81820         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81821         * sysdeps/pthread/aio_fsync.c: Likewise.
81823 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81825         * conform/Makefile (tests): Run only when not cross-compiling and
81826         when fast-check is not defined.
81828         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81829         * conform/data/limits.h-data: Fixes for POSIX2008.
81830         * conform/run-conformtest.sh: Run all tests.
81831         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81832         headers.
81833         * include/bits/dlfcn.h: Likewise.
81834         * include/langinfo.h: Likewise.
81835         * include/monetary.h: Likewise.
81836         * include/sys/poll.h: Likewise.
81838         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81839         for __USE_GNU.
81840         * posix/spawn.h: Define __need_sigset_t.
81841         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81842         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81843         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81844         to get sigevent_t only.
81845         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81846         only for __USE_GNU.
81847         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81848         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81849         process_vm_writev only for __USE_GNU.
81850         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81852         * conform/Makefile: For now ignore errors from run-conformtest.
81853         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81854         POSIX to avoid namespace pollution.  Don't prepend headers.
81855         * conform/data/aio.h-data: Fixes for POSIX testing.
81856         * conform/data/fcntl.h-data: Likewise.
81857         * conform/data/glob.h-data: Likewise.
81858         * conform/data/grp.h-data: Likewise.
81859         * conform/data/pthread.h-data: Likewise.
81860         * conform/data/pwd.h-data: Likewise.
81861         * conform/data/signal.h-data: Likewise.
81862         * conform/data/spawn.h-data: Likewise.
81863         * conform/data/stdio.h-data: Likewise.
81864         * conform/data/stdlib.h-data: Likewise.
81865         * conform/data/stropts.h-data: Likewise.
81866         * conform/data/sys/mman.h-data: Likewise.
81867         * conform/data/sys/stat.h-data: Likewise.
81868         * conform/data/sys/types.h-data: Likewise.
81869         * conform/data/sys/wait.h-data: Likewise.
81870         * conform/data/time.h-data: Likewise.
81871         * conform/data/unistd.h-data: Likewise.
81872         * conform/data/utime.h-data: Likewise.
81874         * io/sys/stat.h: fchmod was always in POSIX.
81875         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81876         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81877         * rt/aio.h: Define __need_timespec before including <time.h>.
81878         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81879         struct.  Add forward declaration of pthread_attr_t and use it in
81880         sigevent.
81881         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81882         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81883         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81884         always remove CLK_TCK definition.
81886 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81888         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81890 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81892         * conform/run-conformtest.sh: New file.
81893         * conform/Makefile: Run run-conformtest for tests.
81894         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81895         support.
81897         * conform/data/uchar.h-data: New file.
81898         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81899         * conform/data/arpa/inet.h-data: Likewise.
81900         * conform/data/assert.h-data: Likewise.
81901         * conform/data/complex.h-data: Likewise.
81902         * conform/data/cpio.h-data: Likewise.
81903         * conform/data/ctype.h-data: Likewise.
81904         * conform/data/dirent.h-data: Likewise.
81905         * conform/data/dlfcn.h-data: Likewise.
81906         * conform/data/errno.h-data: Likewise.
81907         * conform/data/fcntl.h-data: Likewise.
81908         * conform/data/float.h-data: Likewise.
81909         * conform/data/fmtmsg.h-data: Likewise.
81910         * conform/data/fnmatch.h-data: Likewise.
81911         * conform/data/ftw.h-data: Likewise.
81912         * conform/data/glob.h-data: Likewise.
81913         * conform/data/grp.h-data: Likewise.
81914         * conform/data/iconv.h-data: Likewise.
81915         * conform/data/inttypes.h-data: Likewise.
81916         * conform/data/langinfo.h-data: Likewise.
81917         * conform/data/libgen.h-data: Likewise.
81918         * conform/data/limits.h-data: Likewise.
81919         * conform/data/locale.h-data: Likewise.
81920         * conform/data/math.h-data: Likewise.
81921         * conform/data/monetary.h-data: Likewise.
81922         * conform/data/mqueue.h-data: Likewise.
81923         * conform/data/ndbm.h-data: Likewise.
81924         * conform/data/net/if.h-data: Likewise.
81925         * conform/data/netdb.h-data: Likewise.
81926         * conform/data/netinet/in.h-data: Likewise.
81927         * conform/data/nl_types.h-data: Likewise.
81928         * conform/data/poll.h-data: Likewise.
81929         * conform/data/pthread.h-data: Likewise.
81930         * conform/data/pwd.h-data: Likewise.
81931         * conform/data/regex.h-data: Likewise.
81932         * conform/data/sched.h-data: Likewise.
81933         * conform/data/search.h-data: Likewise.
81934         * conform/data/semaphore.h-data: Likewise.
81935         * conform/data/setjmp.h-data: Likewise.
81936         * conform/data/signal.h-data: Likewise.
81937         * conform/data/spawn.h-data: Likewise.
81938         * conform/data/stdarg.h-data: Likewise.
81939         * conform/data/stdio.h-data: Likewise.
81940         * conform/data/stdlib.h-data: Likewise.
81941         * conform/data/string.h-data: Likewise.
81942         * conform/data/strings.h-data: Likewise.
81943         * conform/data/stropts.h-data: Likewise.
81944         * conform/data/sys/ipc.h-data: Likewise.
81945         * conform/data/sys/mman.h-data: Likewise.
81946         * conform/data/sys/msg.h-data: Likewise.
81947         * conform/data/sys/resource.h-data: Likewise.
81948         * conform/data/sys/select.h-data: Likewise.
81949         * conform/data/sys/sem.h-data: Likewise.
81950         * conform/data/sys/shm.h-data: Likewise.
81951         * conform/data/sys/socket.h-data: Likewise.
81952         * conform/data/sys/stat.h-data: Likewise.
81953         * conform/data/sys/statvfs.h-data: Likewise.
81954         * conform/data/sys/time.h-data: Likewise.
81955         * conform/data/sys/timeb.h-data: Likewise.
81956         * conform/data/sys/times.h-data: Likewise.
81957         * conform/data/sys/types.h-data: Likewise.
81958         * conform/data/sys/uio.h-data: Likewise.
81959         * conform/data/sys/un.h-data: Likewise.
81960         * conform/data/sys/utsname.h-data: Likewise.
81961         * conform/data/sys/wait.h-data: Likewise.
81962         * conform/data/syslog.h-data: Likewise.
81963         * conform/data/tar.h-data: Likewise.
81964         * conform/data/termios.h-data: Likewise.
81965         * conform/data/utime.h-data: Likewise.
81966         * conform/data/utmpx.h-data: Likewise.
81967         * conform/data/varargs.h-data: Likewise.
81968         * conform/data/wchar.h-data: Likewise.
81969         * conform/data/wctype.h-data: Likewise.
81970         * conform/data/wordexp.h-data: Likewise.
81972         * include/stropts.h: New file.
81973         * include/uchar.h: New file.
81974         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81975         * include/assert.h: Likewise.
81976         * include/ctype.h: Likewise.
81977         * include/dirent.h: Likewise.
81978         * include/dlfcn.h: Likewise.
81979         * include/fcntl.h: Likewise.
81980         * include/fnmatch.h: Likewise.
81981         * include/glob.h: Likewise.
81982         * include/grp.h: Likewise.
81983         * include/libio.h: Likewise.
81984         * include/locale.h: Likewise.
81985         * include/math.h: Likewise.
81986         * include/net/if.h: Likewise.
81987         * include/netdb.h: Likewise.
81988         * include/netinet/in.h: Likewise.
81989         * include/pthread.h: Likewise.
81990         * include/pwd.h: Likewise.
81991         * include/regex.h: Likewise.
81992         * include/sched.h: Likewise.
81993         * include/search.h: Likewise.
81994         * include/setjmp.h: Likewise.
81995         * include/signal.h: Likewise.
81996         * include/stdio.h: Likewise.
81997         * include/stdlib.h: Likewise.
81998         * include/string.h: Likewise.
81999         * include/sys/cdefs.h: Likewise.
82000         * include/sys/mman.h: Likewise.
82001         * include/sys/msg.h: Likewise.
82002         * include/sys/resource.h: Likewise.
82003         * include/sys/select.h: Likewise.
82004         * include/sys/socket.h: Likewise.
82005         * include/sys/stat.h: Likewise.
82006         * include/sys/statvfs.h: Likewise.
82007         * include/sys/time.h: Likewise.
82008         * include/sys/times.h: Likewise.
82009         * include/sys/uio.h: Likewise.
82010         * include/sys/utsname.h: Likewise.
82011         * include/sys/wait.h: Likewise.
82012         * include/termios.h: Likewise.
82013         * include/time.h: Likewise.
82014         * include/ulimit.h: Likewise.
82015         * include/unistd.h: Likewise.
82016         * include/utime.h: Likewise.
82017         * include/wchar.h: Likewise.
82018         * include/wctype.h: Likewise.
82019         * include/wordexp.h: Likewise.
82021         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82023         * time/time.h: TIME_UTC must be a macro.
82024         Make timespec_get available for ISO C11 only as well.
82026 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82028         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82029         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82031 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82033         * configure.in: Use -o not -a in test for unsupported multi-arch.
82035 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82037         * manual/texinfo.tex: Update to version 2012-01-19.16.
82039 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82041         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82043 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82045         [BZ #13738]
82046         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82047         * manual/fdl-1.3.texi: New file.
82048         * manual/fdl-1.1.texi: File removed.
82050         [BZ #13738]
82051         * manual/libc.texinfo (FDL_VERSION): New @set.
82052         Use it for mention of FDL in cover text.
82053         (Documentation License): Use it in @include file name.
82055 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82056             Roland McGrath  <roland@hack.frob.com>
82058         [BZ #5461]
82059         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82060         (not LONG_LONG_MAX and LONG_LONG_MIN.
82061         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82062         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82063         name.
82064         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82066 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82068         [BZ #2547]
82069         [BZ #11365]
82070         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82071         manipulate bits before adding and subtracting TWO23[sx].
82072         * math/libm-test.inc (nearbyint_test): Add more tests.
82074 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82076         [BZ #2548]
82077         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82078         bits before adding and subtracting TWO23[sx].
82079         * math/libm-test.inc (rint_test): Add more tests.
82080         (rint_test_tonearest): Likewise.
82081         (rint_test_towardzero): Likewise.
82082         (rint_test_downward): Likewise.
82083         (rint_test_upward: Likewise.
82085 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82087         [BZ #10110]
82088         * include/stdc-predef.h: New file.  Extracted from features.h.
82089         * include/features.h: Include stdc-predef.h.
82090         * Makefile (headers): Add stdc-predef.h.
82091         * CONFORMANCE (Compiler limitations): Update.
82093 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82095         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82097 2012-02-21  David S. Miller  <davem@davemloft.net>
82099         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82100         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82102 2012-02-20  David S. Miller  <davem@davemloft.net>
82104         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82105         using a normal save/restore sequence, rather than allocating a
82106         dummy stack frame just to store a frame pointer and restore.
82107         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82109 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82111         * manual/install.texi: Fix stray word in line-wrapped comment.
82113 2012-02-20  David S. Miller  <davem@davemloft.net>
82115         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82116         both binutils and gcc support GOTDATA.
82118         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82119         "rd %pc" in the PIC register setup sequences.
82121         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82122         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82123         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82124         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82125         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82127         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82128         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82130         (SYSCALL_ERROR_HANDLER): Likewise.
82131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82134         (SYSCALL_ERROR_HANDLER): Likewise.
82136         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82137         (HAVE_GCC_GOTDATA): New.
82138         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82139         relocation support in both binutils and gcc.
82140         * sysdeps/sparc/elf/configure: Regenerate.
82142         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82143         * sysdeps/sparc/sparc32/elf/configure: Delete.
82144         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82145         * sysdeps/sparc/sparc64/elf/configure: Delete.
82146         * sysdeps/sparc/elf/configure.in: New file.
82147         * sysdeps/sparc/elf/configure: Generate.
82149         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82150         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82151         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82152         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82153         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82155 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82157         * manual/install.texi: Do not mention specific glibc version
82158         numbers.
82159         * manual/libc.texinfo (VERSION, UPDATED): Update.
82160         (@copying): Use @copyright{} and range of years.
82162 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82164         [BZ #13695]
82165         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82166         [crti.S not in sysdirs] (generated): Do not append.
82167         [crti.S not in sysdirs] (omit-deps): Likewise.
82168         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82169         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82170         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82171         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82172         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82173         Likewise.
82174         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82175         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82176         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82177         * csu/defs.awk: Remove file.
82178         * sysdeps/generic/initfini.c: Likewise.
82179         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82180         variable.
82181         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82182         Likewise.
82184 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82186         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82187         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82188         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82189         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82190         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82191         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82192         <bits/epoll.h>.
82193         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82194         (__EPOLL_PACKED): Define to empty if not defined by
82195         <bits/epoll.h>.
82196         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82197         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82198         bits/epoll.h.
82200 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82202         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82203         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82204         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82205         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82206         <bits/timerfd.h>.
82207         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82209         bits/timerfd.h.
82211 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82213         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82214         in C locale.
82215         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82216         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82217         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82220 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82222         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82223         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82225 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82227         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82228         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82229         defined.
82230         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82231         Likewise.
82232         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82233         entry for 2.16.
82235 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82237         * math/w_acos.c: Use non-signaling floating-point comparisons.
82238         * math/w_acosf.c: Likewise.
82239         * math/w_acosh.c: Likewise.
82240         * math/w_acoshf.c: Likewise.
82241         * math/w_acoshl.c: Likewise.
82242         * math/w_acosl.c: Likewise.
82243         * math/w_asin.c: Likewise.
82244         * math/w_asinf.c: Likewise.
82245         * math/w_asinl.c: Likewise.
82246         * math/w_atanh.c: Likewise.
82247         * math/w_atanhf.c: Likewise.
82248         * math/w_atanhl.c: Likewise.
82249         * math/w_exp2.c: Likewise.
82250         * math/w_exp2f.c: Likewise.
82251         * math/w_exp2l.c: Likewise.
82252         * math/w_j0.c: Likewise.
82253         * math/w_j0f.c: Likewise.
82254         * math/w_j0l.c: Likewise.
82255         * math/w_j1.c: Likewise.
82256         * math/w_j1f.c: Likewise.
82257         * math/w_j1l.c: Likewise.
82258         * math/w_jn.c: Likewise.
82259         * math/w_jnf.c: Likewise.
82260         * math/w_log.c: Likewise.
82261         * math/w_log10.c: Likewise.
82262         * math/w_log10f.c: Likewise.
82263         * math/w_log10l.c: Likewise.
82264         * math/w_log2.c: Likewise.
82265         * math/w_log2f.c: Likewise.
82266         * math/w_log2l.c: Likewise.
82267         * math/w_logf.c: Likewise.
82268         * math/w_logl.c: Likewise.
82269         * math/w_sqrt.c: Likewise.
82270         * math/w_sqrtf.c: Likewise.
82271         * math/w_sqrtl.c: Likewise.
82272         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82273         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82274         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82275         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82276         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82278 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82280         [BZ #9739]
82281         * manual/string.texi (strnlen): Use correct parameter name in
82282         equivalent expression.
82284 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82286         [BZ #11174]
82287         * manual/users.texi (seteuid): Consistently use neweuid for
82288         argument name.
82290 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82292         [BZ #13704]
82293         * manual/nss.texi (Services in the NSS configuration): Correct
82294         list of services in example configuration file.
82296 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82298         [BZ #11322]
82299         * manual/arith.texi: Remove statements about negative zero
82300         behaving identically to zero.
82302 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82304         [BZ #5993]
82305         * manual/install.texi: Do not document upgrading from libc5.
82307 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82309         [BZ #4596]
82310         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82312 2012-02-18  David S. Miller  <davem@davemloft.net>
82314         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82315         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82316         %o7 across the call.
82317         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82318         instead.
82319         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82320         SETUP_PIC_REG_LEAF.
82321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82322         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82323         * sysdeps/sparc/crtn.S: Likewise.
82325 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82327         * aout/Makefile: Remove.
82329 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82331         [BZ #13058]
82332         * manual/examples/argp-ex1.c (main): Format definition in GNU
82333         style.
82334         * manual/examples/argp-ex2.c (main): Likewise.
82335         * manual/examples/argp-ex3.c (main): Likewise.
82336         * manual/examples/argp-ex4.c (main): Likewise.
82337         * manual/examples/longopt.c (main): Use new-style prototype
82338         definition.
82339         * manual/examples/strncat.c (main): Specify return type and use
82340         (void) for arguments.
82341         * manual/examples/subopt.c (main): Use char **argv argument.
82343 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82345         [BZ #5077]
82346         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82347         rounding modes.
82349 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82351         [BZ #6907]
82352         * manual/string.texi (strchr): Change when strchrnul is
82353         recommended.
82355 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82357         [BZ #174]
82358         * manual/locale.texi (setlocale): Document LOCPATH.
82360 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82362         [BZ #10210]
82363         * manual/process.texi (execle): Move @dots{} before last argument.
82365 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82367         [BZ #12047]
82368         * manual/charset.texi (Generic Charset Conversion): Fix typo
82369         (LC_TYPE -> LC_CTYPE).
82371 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82373         [BZ #5805]
82374         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82375         (scalbnf): Likewise.
82376         (scalbnl): Likewise.
82377         (scalbln): Likewise.
82378         (scalblnf): Likewise.
82379         (scalblnl): Likewise.
82380         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82381         (vwarnx): Likewise.
82382         (verr): Likewise.
82383         (verrx): Likewise.
82384         * manual/filesys.texi (telldir): Use braces around return type.
82385         * manual/llio.texi (mmap): Add space after comma.
82386         (mmap64): Likewise.
82387         * manual/math.texi (jn): Use @var{} on parameter names.
82388         (jnf): Likewise.
82389         (jnl): Likewise.
82390         (yn): Likewise.
82391         (ynf): Likewise.
82392         (ynl): Likewise.
82393         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82394         line.
82395         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82396         "...".
82397         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82398         (sched_get_priority_max): Likewise.
82399         * manual/signal.texi (sigvec): Add space after comma.
82400         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82401         names.
82402         (if_indextoname): Likewise.
82403         (if_freenameindex): Likewise.
82404         (sendto): Use ',' instead of '.' in prototype.
82405         * manual/startup.texi (syscall): Use @dots{} instead of literal
82406         "...".
82407         * manual/stdio.texi (__fpending): Separate initial words of
82408         paragraph from @deftypefun line.
82409         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82410         "...".
82411         (vsyslog): Use @var{} on parameter names.
82412         * manual/terminal.texi (stty): Use @var{} on parameter names.
82413         * manual/users.texi (getutmp): Use @var{} on parameter names.
82414         (getutmpx): Likewise.
82416 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82418         [BZ #6884]
82419         * manual/stdio.texi (fopen): Fix typos in description of
82420         ",ccs=STRING".
82422 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82424         [BZ #4026]
82425         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82426         get clock_id definition.
82428 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82430         [BZ #4822]
82431         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82432         (madvise): Cast every argument to void on its own.
82434 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82436         [BZ #9902]
82437         * manual/startup.texi (Exit Status): Fix typo.
82439 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82441         [BZ #10140]
82442         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82443         * manual/examples/argp-ex2.c: Likewise.
82444         * manual/examples/argp-ex3.c: Likewise.
82446 2012-02-16  Richard Henderson  <rth@redhat.com>
82448         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82449         * sysdeps/s390/s390-32/initfini.c: Remove.
82450         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82451         * sysdeps/s390/s390-64/initfini.c: Remove.
82453 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82455         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82456         compiler output for sysdeps/generic/initfini.c.
82457         * sysdeps/sh/elf/initfini.c: Remove file.
82459 2012-02-16  David S. Miller  <davem@davemloft.net>
82461         [BZ #11494]
82462         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82464         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82465         * sysdeps/sparc/crti.S: New file.
82466         * sysdeps/sparc/crtn.S: New file.
82467         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82468         * sysdeps/sparc/sparc64/Makefile: Likewise.
82470 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82472         [BZ #3335]
82473         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82475 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82477         [BZ #4822]
82478         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82480         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82481         (write, read, close): Likewise.
82482         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82484 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82486         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82487         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82488         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82489         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82490         <bits/signalfd.h>.
82491         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82492         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82493         bits/signalfd.h.
82495 2012-02-14  Marek Polacek  <polacek@redhat.com>
82497         * sysdeps/x86_64/crti.S: New file.
82498         * sysdeps/x86_64/crtn.S: New file.
82499         * sysdeps/x86_64/elf/initfini.c: Remove file.
82501 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82503         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82504         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82505         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82506         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82507         <bits/inotify.h>.
82508         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82510         bits/inotify.h.
82512 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82514         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82515         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82516         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82517         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82518         <bits/eventfd.h>.
82519         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82520         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82521         bits/eventfd.h.
82523 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82525         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82526         __feraiseexcept instead of feraiseexcept.
82528         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82529         nanosleep invocations.
82530         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82531         strings, and add error checking for a nanosleep invocations.
82533 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82535         Replace FSF snail mail address with URLs, as per GNU coding standards.
82536         Most of the snail mail addresses were wrong anyway, and omitting
82537         them makes the source code easier to maintain.  Almost all of the
82538         changes are to license notices and to locale LC_IDENTIFICATION
82539         addresses, except for this one:
82540         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82541         not its snail mail address.
82543 2012-02-09  Richard Henderson  <rth@twiddle.net>
82545         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82546         of kernel-features.h.
82548         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82550 2012-02-08  Marek Polacek  <polacek@redhat.com>
82552         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82553         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82554         * sysdeps/gnu/_G_config.h: Likewise.
82555         * sysdeps/generic/_G_config.h: Likewise.
82557 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82559         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82560         tests.
82561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82563         * sysdeps/powerpc/powerpc32/crti.S: New file.
82564         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82565         * sysdeps/powerpc/powerpc64/crti.S: New file.
82566         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82568         * Makeconfig (have-initfini): Don't set.
82569         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82570         * configure.in (nopic_initfini): Don't substitute.
82571         * config.h.in (HAVE_INITFINI): Don't #undef.
82572         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82573         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82575 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82577         Support crti.S and crtn.S provided directly by architectures.
82578         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82579         [crti.S in sysdirs] (omit-deps): Likewise.
82580         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82581         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82582         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82583         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82584         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82585         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82586         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82587         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82588         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82589         compiler output for sysdeps/generic/initfini.c.
82590         * sysdeps/i386/elf/Makefile: Remove file.
82591         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82593 2012-02-07  Marek Polacek  <polacek@redhat.com>
82595         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82596         * sysdeps/gnu/_G_config.h: Likewise.
82597         * sysdeps/mach/hurd/_G_config.h: Likewise.
82599 2012-02-07  Marek Polacek  <polacek@redhat.com>
82601         * math/Makefile (tests): Add tst-CMPLX2.
82602         * math/tst-CMPLX2.c: New file.
82604 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82606         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82608         * math/libm-test.inc (jn_test): Add missing L suffix.
82610 2012-02-06  Marek Polacek  <polacek@redhat.com>
82612         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82613         * sysdeps/i386/fpu/e_powf.S: Likewise.
82614         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82615         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82616         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82617         * sysdeps/i386/fpu/e_pow.S: Likewise.
82618         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82619         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82620         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82621         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82622         * sysdeps/i386/fpu/e_log2.S: Likewise.
82623         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82624         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82625         * sysdeps/i386/fpu/e_powl.S: Likewise.
82626         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82627         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82628         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82629         * sysdeps/i386/fpu/e_logl.S: Likewise.
82630         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82631         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82632         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82633         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82634         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82635         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82636         * sysdeps/i386/fpu/e_log.S: Likewise.
82637         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82638         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82639         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82640         * sysdeps/i386/fpu/e_logf.S: Likewise.
82641         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82642         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82643         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82644         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82645         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82646         * sysdeps/i386/fpu/e_log10.S: Likewise.
82647         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82648         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82649         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82650         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82651         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82652         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82653         * sysdeps/i386/asm-syntax.h: Likewise.
82654         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82655         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82656         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82657         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82658         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82659         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82660         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82661         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82662         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82663         * sysdeps/powerpc/sysdep.h: Likewise.
82664         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82665         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82667 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82669         [BZ #411]
82670         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82672 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82674         * sysdeps/i386/sysdep.h: Include <features.h>.
82675         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82676         version.
82678 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82680         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82681         Define.
82682         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82683         LOAD_PIC_REG_STR.
82685 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82687         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82688         (SETUP_PIC_REG): Use GET_PC_THUNK.
82689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82690         macro.
82692 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82694         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82695         for non-PIC compilation.
82696         (SETUP_PIC_REG): Add .p2align directive.
82697         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82698         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82699         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82700         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82701         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82702         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82703         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82704         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82705         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82706         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82707         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82708         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82709         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82710         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82711         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82712         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82713         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82714         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82715         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82716         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82717         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82718         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82719         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82720         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82721         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82723         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82724         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82725         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82726         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82727         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82728         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82729         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82730         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82731         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82732         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82733         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82734         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82735         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82736         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82737         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82739 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82741         * math/tst-CMPLX.c: Include <stdio.h>.
82743 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82745         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82746         float.
82747         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82748         * sysdeps/sparc/bits/mathdef.h: Likewise.
82750 2012-01-31  Marek Polacek  <polacek@redhat.com>
82752         * libio/libio.h: Don't define _PARAMS.
82753         * locale/programs/config.h: Don't define PARAMS.
82754         * stdlib/strtol_l.c: Likewise.
82755         (__strtol_l): Remove PARAMS from the prototype.
82757 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82759         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82760         names.  Just use the correct names.  Remove unnecessary wrapper
82761         functions.
82762         * malloc/arena.c: Likewise.
82763         * malloc/hooks.c: Likewise.
82765         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82766         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82767         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82769 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82771         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82772         into tail calls.
82773         (update_get_addr): New function.
82774         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82775         GET_ADDR_MODULE parameter.
82777 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82779         * crypt/cert.c: Remove __STDC__ conditionals.
82780         * crypt/crypt-entry.c: Likewise.
82781         * crypt/crypt_util.c: Likewise.
82782         * libio/filedoalloc.c: Likewise.
82783         * libio/fileops.c: Likewise.
82784         * libio/genops.c: Likewise.
82785         * libio/iofclose.c: Likewise.
82786         * libio/iofdopen.c: Likewise.
82787         * libio/iofopen.c: Likewise.
82788         * libio/iofopen64.c: Likewise.
82789         * libio/iogetdelim.c: Likewise.
82790         * libio/iopopen.c: Likewise.
82791         * libio/obprintf.c: Likewise.
82792         * libio/oldfileops.c: Likewise.
82793         * libio/oldiofclose.c: Likewise.
82794         * libio/oldiofdopen.c: Likewise.
82795         * libio/oldiofopen.c: Likewise.
82796         * libio/oldiopopen.c: Likewise.
82797         * libio/wfiledoalloc.c: Likewise.
82798         * libio/wgenops.c: Likewise.
82799         * locale/programs/xmalloc.c: Likewise.
82800         * misc/syslog.c: Likewise.
82801         * stdio-common/xbug.c: Likewise.
82802         * string/memchr.c: Likewise.
82803         * string/memcmp.c: Likewise.
82804         * string/memrchr.c: Likewise.
82805         * string/rawmemchr.c: Likewise.
82806         * sysdeps/posix/getcwd.c: Likewise.
82807         * time/strftime_l.c: Likewise.
82809 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82811         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82812         * config.make.in (config-cflags-sse2avx): Define.
82813         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82814         Fix typo.
82816 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82818         * scripts/config.guess: Update from upstream config git repository.
82819         * scripts/config.sub: Likewise.
82821 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82823         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82824         (EM_NUM): Update.
82825         (R_TILEPRO_*, R_TILEGX_*): New macros.
82827         * scripts/firstversions.awk: Fix bug in version range handling.
82829         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82831         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82833         * include/sys/epoll.h: New file.
82834         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82835         libc_hidden_def.
82837 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82839         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82840         Avoid unnecessary __WORDSIZE == 64 test.
82841         (fmaxf): Use VEX format if possible.
82842         (fmax): Likewise.
82843         (fminf): Likewise.
82844         (fmin): Likewise.
82846         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82847         * math/math_private.h: Remove libc_fegetround* and
82848         libc_fesetround*.
82849         * sysdeps/i386/configure.in: Check for -msse2avx.
82850         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82851         also if SSE2AVX is defined.
82852         Remove libc_fegetround* and libc_fesetround*.
82853         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82854         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82855         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82856         of HAS_YMM_USABLE.
82857         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82858         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82859         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82860         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82861         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82863         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82865 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82867         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82868         size is not set.
82869         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82871 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82873         [BZ #13618]
82874         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82875         relocation.
82876         * Makeconfig (libm): Define.
82877         * elf/Makefile: Add rules to build and run tst-relsort1.
82878         * elf/tst-relsort1.c: New file.
82879         * elf/tst-relsort1mod1.c: New file.
82880         * elf/tst-relsort1mod2.c: New file.
82882 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82884         * math/s_ldexp.c: Remove __STDC__ conditionals.
82885         * math/s_ldexpf.c: Likewise.
82886         * math/s_ldexpl.c: Likewise.
82887         * math/s_nextafter.c: Likewise.
82888         * math/s_nexttowardf.c: Likewise.
82889         * math/s_significand.c: Likewise.
82890         * math/s_significandf.c: Likewise.
82891         * math/s_significandl.c: Likewise.
82892         * math/w_jnl.c: Likewise.
82893         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82894         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82895         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82896         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82897         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82898         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82899         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82900         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82901         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82902         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82903         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82904         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82905         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82906         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82907         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82908         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82909         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82910         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82911         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82912         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82913         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82914         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82915         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82916         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82917         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82918         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82919         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82920         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82921         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82922         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82923         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82924         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82925         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82926         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82927         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82928         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82929         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82930         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82931         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82932         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82933         * sysdeps/ieee754/k_standard.c: Likewise.
82934         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82935         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82936         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82937         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82938         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82939         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82940         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82941         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82942         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82943         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82944         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82945         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82946         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82947         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82948         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82949         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82950         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82951         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82952         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82953         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82954         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82955         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82956         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82957         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82958         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82959         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82960         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82961         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82963         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82965         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82966         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82967         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82968         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82969         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82970         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82971         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82972         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82973         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82974         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82975         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82976         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82977         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82978         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82979         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82980         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82981         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82982         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82983         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82984         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82985         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82986         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82987         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82988         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82989         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82990         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82991         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82992         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82993         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82994         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82995         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82996         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82997         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82998         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82999         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83000         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83001         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83002         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83003         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83004         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83005         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83006         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83007         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83008         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83009         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83010         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83011         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83012         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83013         * sysdeps/ieee754/s_matherr.c: Likewise.
83014         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83015         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83016         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83017         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83019 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83021         * crypt/md5.h: Remove __STDC__ conditionals.
83022         * libio/libioP.h: Likewise.
83023         * locale/programs/config.h: Likewise.
83024         * sysdeps/generic/sysdep.h: Likewise.
83025         * sysdeps/i386/asm-syntax.h: Likewise.
83026         * sysdeps/s390/asm-syntax.h: Likewise.
83027         * sysdeps/unix/sysdep.h: Likewise.
83028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83031 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83033         * libio/libio.h: Remove __STDC__ conditionals.
83034         * malloc/obstack.h: Likewise.
83035         * math/complex.h: Likewise.
83036         * math/math.h: Likewise.
83037         * sysdeps/generic/_G_config.h: Likewise.
83038         * sysdeps/gnu/_G_config.h: Likewise.
83039         * sysdeps/mach/hurd/_G_config.h: Likewise.
83040         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83041         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83042         * sysdeps/sparc/bits/mathdef.h: Likewise.
83044 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83046         [BZ #13583]
83047         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83048         Clean up HAS_* macros.
83049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83050         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83051         possible.
83052         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83053         HAS_AVX.
83054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83060 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83062         * elf/tst-unique3.cc (gets): Remove declaration.
83063         * elf/tst-unique3lib.cc (gets): Likewise.
83064         * elf/tst-unique3lib2.cc (gets): Likewise.
83065         * elf/tst-unique4.cc (gets): Likewise.
83067 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83069         * include/stdio.h: Add C++ protection.  Add gets declarations and
83070         definitions.
83071         * debug/tst-chk1.c: Don't declare gets here.
83072         * stdio-common/tst-gets.c: Likewise.
83074 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83076         * posix/glob: Remove directory.
83078 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83080         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83082 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83084         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83085         of the non-standard EPFNOSUPPORT.
83087 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83089         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83090         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83091         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83093 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83095         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83097 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83099         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83100         transient errors.
83101         * nscd/grpcache.c (cache_addgr): Likewise.
83102         * nscd/hstcache.c (cache_addhst): Likewise.
83103         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83104         * nscd/pwdcache.c (cache_addpw): Likewise.
83105         * nscd/servicescache.c (cache_addserv): Likewise.
83107 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83109         * malloc/malloc.c: Various cleanups.
83110         * malloc/hooks.c: Likewise.
83112         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83113         * stdlib/bug-fmtmsg1.c: New file.
83115         * stdlib/fmtmsg.c (init): Add missing unlock.
83116         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83118 2012-01-12  Marek Polacek  <polacek@redhat.com>
83120         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83121         and _GNU_SOURCE.
83123 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83125         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83126         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83127         macro to ensure uniqueness of label name.
83128         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83129         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83131 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83133         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83135         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83136         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83137         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83140 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83142         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83144         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83145         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83146         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83148         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83150         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83151         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83152         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83155         * math/bits/math-finite.h: Add ldexp support.
83157 2012-01-10  Marek Polacek  <polacek@redhat.com>
83159         * locale/programs/localedef.h (show_archive_content): Add noreturn
83160         attribute.
83162 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83164         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83166 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83168         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83170         * io/Makefile (headers): Add bits/poll2.h.
83172 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83175         typo #include statement.
83177 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83179         * include/sys/cdefs.h: Define __attribute_alloc_size.
83180         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83181         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83182         * elf/pldd.c: Likewise.
83183         * iconv/iconv_charmap.c: Likewise.
83184         * iconv/iconvconfig.c: Likewise.
83185         * iconv/strtab.c: Likewise.
83186         * locale/programs/locale.c: Likewise.
83187         * locale/programs/localedef.h: Likewise.
83188         * locale/programs/simple-hash.c: Likewise.
83189         * nscd/nscd.h: Likewise.
83190         * nss/makedb.c: Likewise.
83191         * sysdeps/generic/ldconfig.h: Likewise.
83192         * locale/programs/localedef.c: Remove xmalloc prototype.
83193         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83195 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83197         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83198         appropriate.
83200 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83202         * math/Makefile (tests): Add tst-CMPLX.
83203         * math/tst-CMPLX.c: New file.
83205         * math/complex.h (CMPLXL): Fix typo.
83207         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83208         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83209         GLIBC_2.16.
83210         * debug/tst-chk1.c: Add poll and ppoll tests.
83211         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83212         * include/sys/poll.h: Add hidden proto for ppoll.
83213         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83214         * sysdeps/mach/hurd/ppoll.c: Likewise.
83215         * io/ppoll.c: Likewise.
83216         * debug/poll_chk.c: New file.
83217         * debug/ppoll_chk.c: New file.
83218         * include/bits/poll2.h: New file.
83219         * io/bits/poll2.h: New file.
83221         [BZ #1350]
83222         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83224         * configure.in: static is always set to yes.  Remove.
83225         * config.make.in: Don't set build-static.
83226         * Makeconfig: Remove use of build-static.
83227         * dlfcn/Makefile: Likewise.
83228         * elf/Makefile: Likewise.
83229         * math/Makefile: Likewise.
83230         * misc/Makefile: Likewise.
83231         * nptl/Makefile: Likewise.
83232         * sysdeps/mach/hurd/Makefile: Likewise.
83234         * configure.in: PWD_P is not used anymore.
83235         * config.make.in: Remove PWD_P entry.
83237         * configure.in: Remove last remnants of RANLIB.
83238         No need to check for signed size_t anymore.
83239         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83240         and IA-64.
83241         Remove __builtin_expect test because we require at least gcc 3.4.
83242         * aclocal.m4: Likewise.
83244         * wcsmbs/mbrtoc16.c: Implement using towc function.
83245         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83246         * wcsmbs/wcsmbsload.c: Likewise.
83247         * iconv/gconv_simple.c: Likewise.
83248         * iconv/gconv_int.h: Likewise.
83249         * iconv/gconv_builtin.h: Likewise.
83250         * iconv/iconv_prog.c: Remove CHAR16 handling.
83252         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83254         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83256         * configure.in: Remove --with-elf and --enable-bounded options.
83257         Dont set base_machine for ia64.  More non-ELF conditions removed.
83258         Remove testing and setting of leading underscore information.
83259         * config.make.in (build-bounded): Set to no.
83260         * config.h.in: Remove NO_UNDERSCORES entry.
83261         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83262         them.
83263         * csu/start.c: Remove !NO_UNDERSCORE code.
83264         * locale/localeinfo.h: Likewise.
83265         * sysdeps/generic/machine-gmon.h: Likewise.
83266         * sysdeps/generic/sysdep.h: Likewise.
83267         * sysdeps/i386/sysdep.h: Likewise.
83268         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83269         * sysdeps/mach/sysdep.h: Likewise.
83270         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83271         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83272         * sysdeps/sh/sysdep.h: Likewise.
83273         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83274         * sysdeps/unix/i386/sysdep.S: Likewise.
83275         * sysdeps/unix/sparc/start.c: Likewise.
83276         * sysdeps/unix/sparc/sysdep.S: Likewise.
83277         * sysdeps/unix/sparc/sysdep.h: Likewise.
83278         * sysdeps/unix/start.c: Likewise.
83279         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83280         * sysdeps/x86_64/sysdep.h: Likewise.
83282 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83284         [BZ #13553]
83285         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83286         for non-gcc.
83287         * argp/argp-fmtstream.h: Use const instead __const.
83288         * argp/argp.h: Likewise.
83289         * assert/assert.h: Likewise.
83290         * bits/fenv.h: Likewise.
83291         * bits/sched.h: Likewise.
83292         * bits/sigset.h: Likewise.
83293         * bits/sigthread.h: Likewise.
83294         * catgets/nl_types.h: Likewise.
83295         * conform/data/pthread.h-data: Likewise.
83296         * crypt/crypt-private.h: Likewise.
83297         * crypt/crypt.h: Likewise.
83298         * crypt/crypt_util.c: Likewise.
83299         * ctype/ctype.h: Likewise.
83300         * debug/execinfo.h: Likewise.
83301         * debug/mbsnrtowcs_chk.c: Likewise.
83302         * debug/mbsrtowcs_chk.c: Likewise.
83303         * debug/wcsnrtombs_chk.c: Likewise.
83304         * debug/wcsrtombs_chk.c: Likewise.
83305         * debug/wcstombs_chk.c: Likewise.
83306         * dirent/dirent.h: Likewise.
83307         * dlfcn/dlfcn.h: Likewise.
83308         * elf/neededtest4.c: Likewise.
83309         * grp/grp.h: Likewise.
83310         * gshadow/gshadow.h: Likewise.
83311         * iconv/gconv.h: Likewise.
83312         * iconv/gconv_int.h: Likewise.
83313         * iconv/gconv_simple.c: Likewise.
83314         * iconv/iconv.h: Likewise.
83315         * iconv/loop.c: Likewise.
83316         * iconv/skeleton.c: Likewise.
83317         * include/aio.h: Likewise.
83318         * include/aliases.h: Likewise.
83319         * include/argz.h: Likewise.
83320         * include/arpa/inet.h: Likewise.
83321         * include/assert.h: Likewise.
83322         * include/dirent.h: Likewise.
83323         * include/dlfcn.h: Likewise.
83324         * include/execinfo.h: Likewise.
83325         * include/fcntl.h: Likewise.
83326         * include/fenv.h: Likewise.
83327         * include/glob.h: Likewise.
83328         * include/grp.h: Likewise.
83329         * include/libintl.h: Likewise.
83330         * include/mntent.h: Likewise.
83331         * include/netdb.h: Likewise.
83332         * include/pwd.h: Likewise.
83333         * include/rpc/netdb.h: Likewise.
83334         * include/sched.h: Likewise.
83335         * include/search.h: Likewise.
83336         * include/shadow.h: Likewise.
83337         * include/signal.h: Likewise.
83338         * include/stdio.h: Likewise.
83339         * include/stdlib.h: Likewise.
83340         * include/string.h: Likewise.
83341         * include/sys/socket.h: Likewise.
83342         * include/sys/stat.h: Likewise.
83343         * include/sys/statfs.h: Likewise.
83344         * include/sys/statvfs.h: Likewise.
83345         * include/sys/syslog.h: Likewise.
83346         * include/sys/time.h: Likewise.
83347         * include/sys/uio.h: Likewise.
83348         * include/time.h: Likewise.
83349         * include/unistd.h: Likewise.
83350         * include/utmp.h: Likewise.
83351         * include/wchar.h: Likewise.
83352         * include/wctype.h: Likewise.
83353         * inet/aliases.h: Likewise.
83354         * inet/arpa/inet.h: Likewise.
83355         * inet/netinet/ether.h: Likewise.
83356         * inet/netinet/in.h: Likewise.
83357         * intl/libintl.h: Likewise.
83358         * io/bits/fcntl2.h: Likewise.
83359         * io/fcntl.h: Likewise.
83360         * io/ftw.h: Likewise.
83361         * io/sys/poll.h: Likewise.
83362         * io/sys/stat.h: Likewise.
83363         * io/sys/statfs.h: Likewise.
83364         * io/sys/statvfs.h: Likewise.
83365         * io/utime.h: Likewise.
83366         * libio/bits/stdio.h: Likewise.
83367         * libio/bits/stdio2.h: Likewise.
83368         * libio/libio.h: Likewise.
83369         * libio/libioP.h: Likewise.
83370         * libio/stdio.h: Likewise.
83371         * locale/lc-ctype.c: Likewise.
83372         * locale/locale.h: Likewise.
83373         * login/utmp.h: Likewise.
83374         * malloc/arena.c: Likewise.
83375         * malloc/malloc.c: Likewise.
83376         * malloc/malloc.h: Likewise.
83377         * malloc/mcheck.c: Likewise.
83378         * malloc/mtrace.c: Likewise.
83379         * math/bits/mathcalls.h: Likewise.
83380         * math/fenv.h: Likewise.
83381         * math/math_private.h: Likewise.
83382         * misc/bits/error.h: Likewise.
83383         * misc/bits/syslog.h: Likewise.
83384         * misc/err.h: Likewise.
83385         * misc/error.h: Likewise.
83386         * misc/fstab.h: Likewise.
83387         * misc/mntent.h: Likewise.
83388         * misc/regexp.h: Likewise.
83389         * misc/search.h: Likewise.
83390         * misc/sgtty.h: Likewise.
83391         * misc/sys/mman.h: Likewise.
83392         * misc/sys/syslog.h: Likewise.
83393         * misc/sys/uio.h: Likewise.
83394         * misc/sys/xattr.h: Likewise.
83395         * misc/ttyent.h: Likewise.
83396         * nis/rpcsvc/ypclnt.h: Likewise.
83397         * nss/nss.h: Likewise.
83398         * posix/bits/unistd.h: Likewise.
83399         * posix/fnmatch.h: Likewise.
83400         * posix/glob.h: Likewise.
83401         * posix/sched.h: Likewise.
83402         * posix/spawn.h: Likewise.
83403         * posix/sys/wait.h: Likewise.
83404         * posix/unistd.h: Likewise.
83405         * posix/wordexp.h: Likewise.
83406         * pwd/pwd.h: Likewise.
83407         * resolv/netdb.h: Likewise.
83408         * resource/sys/resource.h: Likewise.
83409         * rt/aio.h: Likewise.
83410         * rt/bits/mqueue2.h: Likewise.
83411         * rt/mqueue.h: Likewise.
83412         * shadow/shadow.h: Likewise.
83413         * signal/signal.h: Likewise.
83414         * socket/send.c: Likewise.
83415         * socket/sendto.c: Likewise.
83416         * socket/sys/socket.h: Likewise.
83417         * stdio-common/printf.h: Likewise.
83418         * stdlib/bits/stdlib.h: Likewise.
83419         * stdlib/fmtmsg.h: Likewise.
83420         * stdlib/monetary.h: Likewise.
83421         * stdlib/stdlib.h: Likewise.
83422         * stdlib/ucontext.h: Likewise.
83423         * streams/stropts.h: Likewise.
83424         * string/argz.h: Likewise.
83425         * string/bits/string2.h: Likewise.
83426         * string/string.h: Likewise.
83427         * string/strings.h: Likewise.
83428         * sunrpc/rpc/auth.h: Likewise.
83429         * sunrpc/rpc/auth_des.h: Likewise.
83430         * sunrpc/rpc/clnt.h: Likewise.
83431         * sunrpc/rpc/netdb.h: Likewise.
83432         * sunrpc/rpc/pmap_clnt.h: Likewise.
83433         * sunrpc/rpc/xdr.h: Likewise.
83434         * sysdeps/generic/inttypes.h: Likewise.
83435         * sysdeps/generic/net/if.h: Likewise.
83436         * sysdeps/generic/sys/swap.h: Likewise.
83437         * sysdeps/gnu/net/if.h: Likewise.
83438         * sysdeps/gnu/utmpx.h: Likewise.
83439         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83440         * sysdeps/i386/i486/bits/string.h: Likewise.
83441         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83442         * sysdeps/s390/bits/string.h: Likewise.
83443         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83444         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83445         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83446         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83447         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83448         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83449         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83450         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83451         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83452         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83453         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83454         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83455         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83456         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83457         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83458         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83459         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83460         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83461         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83462         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83463         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83464         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83465         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83466         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83467         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83468         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83469         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83470         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83471         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83472         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83473         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83474         * sysvipc/sys/ipc.h: Likewise.
83475         * sysvipc/sys/msg.h: Likewise.
83476         * sysvipc/sys/sem.h: Likewise.
83477         * sysvipc/sys/shm.h: Likewise.
83478         * termios/termios.h: Likewise.
83479         * time/sys/time.h: Likewise.
83480         * time/time.h: Likewise.
83481         * wcsmbs/bits/wchar2.h: Likewise.
83482         * wcsmbs/uchar.h: Likewise.
83483         * wcsmbs/wchar.h: Likewise.
83484         * wctype/wctype.h: Likewise.
83486         [BZ #13551]
83487         * Makeconfig: Remove all but ELF support including AIX support.
83488         * Makerules: Likewise.
83489         * config.h.in: Likewise.
83490         * config.make.in: Likewise.
83491         * configure: Likewise.
83492         * configure.in: Likewise.
83493         * csu/Makefile: Likewise.
83494         * csu/version.c: Likewise.
83495         * debug/Makefile: Likewise.
83496         * dlfcn/Makefile: Likewise.
83497         * elf/Makefile: Likewise.
83498         * extra-lib.mk: Likewise.
83499         * iconv/Makefile: Likewise.
83500         * include/libc-symbols.h: Likewise.
83501         * include/shlib-compat.h: Likewise.
83502         * resolv/Makefile: Likewise.
83503         * resolv/res_libc.c: Likewise.
83504         * rt/Makefile: Likewise.
83505         * sysdeps/i386/asm-syntax.h: Likewise.
83506         * sysdeps/i386/sysdep.h: Likewise.
83507         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83508         * sysdeps/mach/sysdep.h: Likewise.
83509         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83510         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83511         * sysdeps/s390/asm-syntax.h: Likewise.
83512         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83513         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83514         * sysdeps/sh/sysdep.h: Likewise.
83515         * sysdeps/unix/sparc/sysdep.h: Likewise.
83516         * sysdeps/wordsize-32/divdi3.c: Likewise.
83517         * sysdeps/x86_64/sysdep.h: Likewise.
83519         * argp/Versions: Remove _argp_unlock_xxx.
83521         [BZ #13559]
83522         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83523         * abilist/libBrokenLocale.abilist: Likewise.
83524         * abilist/libanl.abilist: Likewise.
83525         * abilist/libc.abilist: Likewise.
83526         * abilist/libcrypt.abilist: Likewise.
83527         * abilist/libdl.abilist: Likewise.
83528         * abilist/libm.abilist: Likewise.
83529         * abilist/libnsl.abilist: Likewise.
83530         * abilist/libpthread.abilist: Likewise.
83531         * abilist/libresolv.abilist: Likewise.
83532         * abilist/librt.abilist: Likewise.
83533         * abilist/libthread_db.abilist: Likewise.
83534         * abilist/libutil.abilist: Likewise.
83535         * abilist/libnss_db.abilist: New file.
83537         * scripts/abilist.awk: Add support for indirect functions.
83539         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83541         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83543         * shlib-versions: Remove entries for ports architectures.
83545         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83546         files in ports.
83547         * elf/stackguard-macros.h: Remove support for IA-64.
83548         * elf/tst-auditmod1.c: Likewise.
83549         * sysdeps/generic/ldsodefs.h: Likewise.
83551         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83552         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83553         configure files.
83555         [BZ #13552]
83556         * configure.in: Remove --enable-omitfp support.
83557         * FAQ.in: Adjust.
83558         * config.make.in: Likewise.
83559         * Makeconfig: Likewise.
83560         * manual/install.texi: Likewise.
83562         In case anyone cares, the IA-64 architecture could move to ports.
83563         * sysdeps/ia64/*: Removed.
83564         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83565         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83567         [BZ #13555]
83568         * configure.in: Remove entries for unsupported architectures.
83570         [BZ #13533]
83571         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83572         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83573         routines.
83574         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83575         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83576         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83577         fall back to using wcrtomb.
83578         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83579         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83580         renaming.
83581         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83582         * wcsmbs/tst-c16c32-1.c: New file.
83584         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83585         local variable.
83587         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83589         * elf/tst-unique3.cc: Add explicit declaration of gets.
83590         * elf/tst-unique3lib.cc: Likewise.
83591         * elf/tst-unique3lib2.cc: Likewise.
83592         * elf/tst-unique4.cc: Likewise.
83594         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83596 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83598         [BZ #13566]
83599         * assert/assert.h (static_assert): Don't define for C++.
83600         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83601         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83603 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83605         * iconv/loop.c (single loop): Fix assertion in storing of
83606         remaining bytes.
83608         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83610 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83612         * posix/getconf.c: Update copyright year.
83613         * nss/getent.c: Likewise.
83614         * nss/makedb.c: Likewise.
83615         * iconv/iconvconfig.c: Likewise.
83616         * iconv/iconv_prog.c: Likewise.
83617         * elf/ldconfig.c: Likewise.
83618         * elf/pldd.c: Likewise.
83619         * elf/sotruss.ksh: Likewise.
83620         * catgets/gencat.c: Likewise.
83621         * csu/version.c: Likewise.
83622         * elf/ldd.bash.in: Likewise.
83623         * elf/sprof.c (print_version): Likewise.
83624         * locale/programs/locale.c: Likewise.
83625         * locale/programs/localedef.c: Likewise.
83626         * login/programs/pt_chown.c: Likewise.
83627         * nscd/nscd.c (print_version): Likewise.
83628         * debug/xtrace.sh: Likewise.
83629         * malloc/memusage.sh: Likewise.
83630         * malloc/mtrace.pl: Likewise.
83631         * debug/catchsegv.sh: Likewise.
83633 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83635         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83636         pure attribute.
83638 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83640         [BZ #13533]
83641         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83642         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83643         transformations.
83644         * iconv/gconv_int.h: Likewise.
83645         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83646         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83647         from libc for GLIBC_2.16.
83648         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83649         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83650         * wcsmbs/uchar.h: Really define mbstate_t.
83651         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83652         * wcsmbs/c16rtomb.c: New file.
83653         * wcsmbs/mbrtoc16.c: New file.
83654         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83655         for C/POSIX locale.
83656         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83657         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83659         * wcsmbs/wchar.h: Add missing __restrict.
83661 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83663         [BZ #13532]
83664         * time/Makefile (routines): Add timespec_get.
83665         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83666         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83667         timespec for ISO C11.
83668         * time/timespec_get.c: New file.
83669         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83670         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83672         [BZ #13531]
83673         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83674         * stdlib/stdlib.h: Declare aligned_alloc.
83675         * Versions.def: Add GLIBC_2.16 for libc.
83676         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83678         [BZ 13527]
83679         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83680         ISO C11.
83682         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83683         code.
83685         [BZ #13528]
83686         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83688         [BZ #13529]
83689         * assert/assert.h (static_assert): Define.
83691         * version.h: Update for 2.16 development version.
83693         [BZ #13526]
83694         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83695         _ISOC11_SOURCE.
83697         * version.h (RELEASE): Bump for 2.15 release.
83698         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83700         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83701         Patch by Marek Polacek <mpolacek@redhat.com>.
83703         * bits/byteswap.h: Protect long long constants with __extension__.
83704         * sysdeps/i386/bits/byteswap.h: Likewise.
83705         * sysdeps/ia64/bits/byteswap.h: Likewise.
83706         * sysdeps/s390/bits/byteswap.h: Likewise.
83707         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83709 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83711         [BZ #13540]
83712         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83713         destination buffer.
83714         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83716 2011-12-23  Marek Polacek  <polacek@redhat.com>
83718         * elf/dl-addr.c (determine_info): Add inline keyword.
83719         * elf/tst-auditmod4b.c (check_avx): Likewise.
83720         * elf/tst-auditmod6b.c (check_avx): Likewise.
83721         * elf/tst-auditmod6c.c (check_avx): Likewise.
83722         * elf/tst-auditmod7b.c (check_avx): Likewise.
83724 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83726         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83727         !__SSE_MATH__.
83729 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83731         [BZ #13540]
83732         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83733         processing for last bytes.
83735 2011-08-06  Bruno Haible  <bruno@clisp.org>
83737         [BZ #13061]
83738         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83739         U+0385, not to U+1FEE.
83741         [BZ #13062]
83742         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83743         entry for U+00A5 U+0301.
83745 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83747         [BZ #13166]
83748         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83749         buffer for the output is too small.
83751         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83752         optimization.
83754         [BZ #13185]
83755         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83756         SSE flags if possible.
83758 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83760         [BZ #13540]
83761         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83762         processing for last bytes.
83764 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83766         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83767         (syscall-list-default-options, syscall-list-default-condition)
83768         (syscall-list-includes): Define.
83769         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83770         list of ABIs and options and #if conditions for each ABI.  Do not
83771         handle common syscalls between ABIs specially.
83772         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83773         Remove.
83774         (syscall-list-variants, syscall-list-32bit-options)
83775         (syscall-list-32bit-condition, syscall-list-64bit-options)
83776         (syscall-list-64bit-condition): Define.
83777         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83778         (syscall-list-variants, syscall-list-32bit-options)
83779         (syscall-list-32bit-condition, syscall-list-64bit-options)
83780         (syscall-list-64bit-condition): Define.
83781         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83782         Remove.
83783         (syscall-list-variants, syscall-list-32bit-options)
83784         (syscall-list-32bit-condition, syscall-list-64bit-options)
83785         (syscall-list-64bit-condition): Define.
83786         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83787         Remove.
83788         (syscall-list-variants, syscall-list-32bit-options)
83789         (syscall-list-32bit-condition, syscall-list-64bit-options)
83790         (syscall-list-64bit-condition): Define.
83792 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83794         * locale/iso-639.def: Add brx entry.
83796         [BZ #13328]
83797         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83798         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83800         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83801         __feraiseexcept_renamed.
83803 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83805         [BZ #13538]
83806         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83807         EPOLLET with unsigned values.
83808         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83809         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83811         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83812         to large cancellation.
83813         * math/s_cacoshf.c: Likewise.
83814         * math/s_cacoshl.c: Likewise.
83816 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83818         [BZ #13305]
83819         [BZ #12786]
83820         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83821         * math/s_cacoshf.c: Likewise.
83822         * math/s_cacoshl.c: Likewise.
83824 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83826         [BZ #13439]
83827         * iconv/gconv.h: Define __GCONV_SWAP.
83828         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83829         * iconvdata/utf-16.c: Likewise.
83830         * iconvdata/utf-32.c: Likewise.
83832 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83834         [BZ #13524]
83835         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83836         numerator after shifting it by one limb.
83838 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83840         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83841         under [__USE_EXTERN_INLINES].
83843 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83845         [BZ #13446]
83846         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83848 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83850         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83851         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83852         optimized code.
83853         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83854         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83855         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83856         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83857         for strncasecmp/strncasecmp_l compilation.
83858         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83859         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83861 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83863         [BZ #13484]
83864         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83865         of __asm__.
83867 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83869         [BZ #13506]
83870         * time/tzfile.c (__tzfile_read): Check values from file header.
83872 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83874         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83875         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83876         * powerpc/powerpc32/dl-start.S: Likewise.
83877         * powerpc/powerpc32/elf/start.S: Likewise.
83878         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83879         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83880         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83881         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83882         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83883         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83884         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83885         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83886         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83887         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83888         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83889         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83890         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83891         * powerpc/powerpc32/memset.S: Likewise.
83892         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83893         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83894         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83895         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83896         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83897         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83898         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83899         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83900         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83901         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83902         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83903         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83904         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83906 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83908         * math/libm-test.inc: Added more nearbyint tests.
83909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83910         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83912         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83914 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83916         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83917         FD_CLOEXEC.
83919 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83921         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83922         Add wcscpy-ssse3 wcscpy-c.
83923         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83924         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83925         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83926         * sysdeps/x86_64/wcschr.S: New file.
83927         * sysdeps/x86_64/wcsrchr.S: New file.
83928         * string/test-strcmp.c: Remove checking of wcscmp function for
83929         wrong alignments.
83930         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83931         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83932         wcsrchr-sse2 wcsrchr-c.
83933         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83934         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83935         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83936         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83937         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83938         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83939         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83940         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83941         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83942         * wcsmbc/wcschr.c (WCSCHR): New macro.
83944 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83946         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83947         * wcsmbs/test-wcsrchr.c: New file.
83948         * string/test-strrchr.c: Add wcsrchr support.
83949         (WIDE): New macro.
83950         * wcsmbs/test-wcscpy.c: New file.
83951         * string/test-strcpy.c: Add wcscpy support.
83952         (WIDE): New macro.
83954 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83956         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83957         the inner loop.
83959 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83961         [BZ #13472]
83962         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83964 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83966         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83967         Minor optimizations.
83969         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83970         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83971         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83973 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83975         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83976         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83977         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83978         for gcc to avoid warnings.
83979         * inet/Makefile (tests): Add tst-checks.
83980         * inet/tst-checks.c: New file.
83982         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83983         warning.
83985         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83986         __wmemcmp_sse2.
83988         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83989         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83991         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83993 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83995         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83996         problem.
83998         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84000 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84002         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84003         conditional on GCC version.
84004         (__arch_compare_and_exchange_val_8_acq)
84005         (__arch_compare_and_exchange_val_16_acq)
84006         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84007         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84008         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84010 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84012         * sysdeps/sh/backtrace.c: New file.
84014 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84016         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84017         parenthesis.
84019 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84021         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84022         falling back to utime.
84024 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84026         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84027         expectations for float.
84029 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84031         * locale/weight.h (findidx): Add parameter len.
84032         * locale/weightwc.h (findidx): Likewise.
84033         * posix/fnmatch_loop.c (FCT): Adjust caller.
84034         * posix/regcomp.c (build_equiv_class): Likewise.
84035         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84036         * posix/regexec.c (check_node_accept_bytes): Likewise.
84037         * string/strcoll_l.c (STRCOLL): Likewise.
84038         * string/strxfrm_l.c (STRXFRM): Likewise.
84040 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84042         * Makefile.in: Remove CVSOPT handling.
84043         * configure.in: Remove use of AC_REVISION.
84044         * iconvdata/Makefile (distribute): No need to filter out CVS.
84045         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84046         handling.
84048 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84050         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84051         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84052         [USE_AS_STRNCASECMP_L]: Likewise.
84053         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84054         NO_TLS_DIRECT_SEG_REFS.
84055         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84056         Fix argument offsets for non-PIC.
84057         [USE_AS_STRNCASECMP_L]: Likewise.
84058         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84059         NO_TLS_DIRECT_SEG_REFS.
84061 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84063         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84064         O_CLOEXEC.
84065         * locale/loadlocale.c (_nl_load_locale): Likewise.
84067 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84069         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84070         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84071         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84072         (SYSCALL_GETTIME): Set errno on error.
84074         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84075         count references to noai6ai_cached.
84077 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84079         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84081         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84082         FD_CLOEXEC for /proc/self/maps.
84084         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84085         FD_CLOEXEC for /proc/meminfo.
84087         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84088         gai.conf.
84090         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84091         FD_CLOEXEC for given file.
84093         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84095         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84096         FD_CLOEXEC for /etc/hosts.
84097         (_gethtent): Likewise.
84099         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84101         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84102         cancellation and set FD_CLOEXEC for /etc/netgroup.
84104         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84105         reading /etc/publickey.
84107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84108         allow cancellation when reading /etc/group.
84110         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84111         cancellation.
84112         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84114         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84115         when using data file.
84117         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84119         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84120         (write_nis_obj): Use "c" and "e" in fopen.
84122         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84124         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84126         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84128         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84130         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84131         locale.alias.
84133         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84135         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84137         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84139         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84140         file parsing and set FD_CLOEXEC.
84142 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84144         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84146 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84148         * malloc/arena.c (arena_get2): Don't call reused_arena when
84149         _int_new_arena failed.
84151 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84153         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84154         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84155         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84156         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84157         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84158         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84159         to compile strcasecmp and strncasecmp.
84160         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84161         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84163         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84165 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84167         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84168         locale-defines.sym to gen-as-const-headers.
84169         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84170         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84171         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84172         to compile strcasecmp and strncasecmp.
84173         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84174         strcasecmp_l and strncasecmp_l.
84175         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84176         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84177         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84178         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84179         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84180         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84181         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84182         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84183         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84184         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84185         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84187 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84189         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84190         result of SYSDEP_GETTIME_CPU to retval.
84191         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84192         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84194         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84195         variable.
84197         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84198         mantissa words.
84199         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84201         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84202         from unused variable.
84204         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84205         DWARF definitions.
84206         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84207         for assembling.
84209         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84210         over namespaces.
84212         * sunrpc/rpc_prot.c (rejected): Fix case value.
84214         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84215         unsigned long long int to avoid warnings in shift.
84217         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84218         of use of trans.
84219         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84220         variable tmp.
84222         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84223         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84224         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84226         * nis/nis_table.c (nis_list): Use variable of correct type for
84227         result of __follow_path call.
84229 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84231         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84232         of math functions ceil, trunc, floor, round, and sqrt, when
84233         avaliable on the platform.
84234         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84235         name clash.
84236         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84237         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84238         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84240 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84242         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84243         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84245 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84247         * include/unistd.h: Fix __readlink return type.
84248         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84250 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84252         * stdlib/ucontext.h: Undo last change for makecontext.
84254 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84256         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84258         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84259         * setjmp/setjmp.h: Mark functions as non-leaf.
84260         * setjmp/bits/setjmp2.h: Likewise.
84261         * stdlib/ucontext.h: Likewise.
84263 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84265         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84266         (reused_arena): Don't check arena limit.
84267         (arena_get2): Atomically check arena limit.
84269 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84271         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84272         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84274         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84275         instructions.
84277 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84279         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84280         handler when locking.
84282         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84283         Fix size of allocated buffer.
84285 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84287         [BZ #10103]
84288         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84289         declarations for long double functions.
84290         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84292         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84294 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84296         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84297         installed.
84299         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84300         is disabled.
84302 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84304         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84306 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84308         * include/alloca.h (stackinfo_alloca_round): Define.
84309         (extend_alloca): Use it.
84310         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84311         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84312         here.
84314         * scripts/check-local-headers.sh: Ignore libaudit.h.
84316         * nscd/Makefile (extra-objs): Make recursively expanded.
84318 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84320         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84321         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84323         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84324         * posix/tst-rfc3484-2.c: Likewise.
84325         * posix/tst-rfc3484-3.c: Likewise.
84327         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84328         process_vm_writev.
84329         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84330         process_vm_writev.
84331         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84332         process_vm_writev from libc using GLIBC_2.15 version.
84334         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84336 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84338         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84339         stack usage.
84341 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84343         [BZ #13367]
84344         * nss/getent.c (initgroups_keys): Show error message in case no group
84345         names are given.
84347         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84348         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84349         __bump_nl_timestamp.
84350         * nscd/connections (nscd_init): When host database is served open
84351         netlink socket and request notification about configuration changes.
84352         (main_loop_poll): Track netlink file descriptor and bump timestamp
84353         in case data becomes available.
84354         (main_loop_epoll): Likewise.
84355         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84356         (database_pers_head): Add extra_data fileds.
84357         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84358         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84359         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84360         Adjust caller.
84361         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84362         in6ai data, call __free_in6ai.
84363         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84364         Add -DHAVE_NETLINK.
84365         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84366         interface information.  Reuse previous data if netlink timestamp
84367         is not changed.
84368         (__bump_nl_timestamp): New function.
84369         (__free_in6ai): New function.
84371 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84373         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84374         close_not_cancel_no_status here.
84375         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84377 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84379         [BZ #13276]
84380         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84381         return value.
84383         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84384         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84385         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84387 2011-07-03  Andreas Jaeger  <aj@suse.de>
84389         [BZ #10709]
84390         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84391         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84392         * math/libm-test.inc (sin_test): Add test case.
84394 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84396         [BZ #13337]
84397         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84398         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84400         * elf/chroot_canon.c (chroot_canon): Cleanups.
84402         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84404         [BZ #13335]
84405         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84406         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84408         * string/test-strchr.c: Make usable for strchrnul testing.
84409         * string/test-strchrnul.c: New file.
84410         * string/Makefile (strop-tests): Add strchrnul.
84412         * po/it.po: Update from translation team.
84413         * po/es.po: Likewise.
84415 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84417         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84418         the three constants needed as parameters.  Drop the others.
84419         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84420         __m128i_strloadu_tolower.
84421         Create and initialize variable zero and use it in all the places
84422         where _mm_setzero_si128 was used.
84424         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84425         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84426         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84427         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84428         anymore.
84429         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84430         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84431         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84432         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84433         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84434         __mpranred, __mptan.
84435         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84436         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84437         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84438         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84439         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84440         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84441         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84442         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84443         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84445 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84447         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84448         redefine if SHARED.
84449         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84452         wide char related routines to wcsmbs subdir.
84454 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84456         [BZ #13344]
84457         * misc/sys/cdefs.h (__THROWNL): Define.
84458         * posix/unistd.h: Use __THREADNL instead of __THREAD
84459         for memory synchronization functions.
84461 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84463         [BZ #13349]
84464         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84465         doesn't exist.
84466         * manual/stdio.texi (Obstack Streams): Node removed.
84468 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84470         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84471         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84472         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84474         * math/math_private.h (math_force_eval): Allow non-addressable
84475         arguments.
84476         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84478 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84480         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84481         file is not needed.
84483         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84484         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84485         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84486         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84487         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84488         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84489         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84490         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84491         Add AVX variants.
84492         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84493         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84494         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84495         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84496         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84497         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84498         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84499         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84500         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84501         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84502         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84503         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84504         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84505         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84506         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84507         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84508         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84509         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84510         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84512         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84513         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84515         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84516         place.  Use VEX encoding when compiling for AVX.
84518 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84520         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84521         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84523         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84525 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84527         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84528         useless if() expression.
84529         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84530         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84531         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84532         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84533         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84534         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84535         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84536         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84537         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84538         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84539         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84540         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84541         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84542         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84543         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84544         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84545         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84546         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84547         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84549         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84551 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84553         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84554         condition.
84555         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84557 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84559         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84560         .text section.  Avoid duplicate constants.
84561         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84562         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84563         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84564         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84565         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84566         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84567         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84569         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84570         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84571         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84572         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84573         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84574         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84575         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84576         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84577         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84578         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84579         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84580         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84581         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84582         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84583         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84584         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84585         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84586         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84587         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84588         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84589         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84590         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84591         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84592         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84593         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84594         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84595         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84596         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84597         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84598         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84599         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84600         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84601         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84602         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84603         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84604         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84605         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84607 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84609         * sysdeps/x86_64/dla.h: Move to ...
84610         * sysdeps/x86_64/fpu/dla.h: ...here.
84611         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84612         situations.  Use __builtin_fma only for gcc 4.6 and up.
84614         * config.make.in: Add have-mfma4 entry.
84615         * configure.in: Substitute libc_cv_cc_fma4.
84616         * math/Makefile (dbl-only-routines): Add sincostab.
84617         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84618         Use __sincostab not sincos.
84619         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84620         name is a macro.
84621         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84623         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84624         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84625         using __copysign.
84626         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84627         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84628         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84629         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84630         and __inv.
84631         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84632         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84633         __copysign.
84634         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84635         define aliases when function name is a macro.
84636         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84637         sysdeps/ieee754/dbl-64/sincos.tbl.
84638         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84639         fma4-enabled routines.
84640         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84641         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84642         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84643         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84644         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84645         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84647         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84648         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84649         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84650         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84651         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84652         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84653         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84654         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84655         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84656         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84657         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84658         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84659         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84660         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84661         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84662         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84663         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84664         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84665         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84666         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84667         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84668         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84669         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84671         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84672         rename.
84673         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84674         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84675         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84676         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84677         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84678         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84679         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84680         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84682 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84684         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84686 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84688         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84690         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84691         prediction.
84692         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84694         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84695         Remove unused variable magic_bits.
84696         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84698         * string/strnlen.c: Define and use STRNLEN macro.
84699         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84700         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84701         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84702         * wcsmbs/wcslen.c: Define and use WCSLEN.
84703         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84704         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84705         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84706         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84707         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84708         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84709         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84711 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84714         strnlen-sse2-no-bsf.
84715         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84716         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84717         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84718         Add strnlen support.
84719         (USE_AS_STRNLEN): New macro.
84720         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84721         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84722         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84723         * sysdeps/x86_64/wcslen.S: New file.
84725 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84727         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84728         XMM-moves are used for copying on small sizes.
84730 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84732         * wcsmbs/Makefile (strop-tests): Add wcschr.
84733         * wcsmbs/test-wcschr.c: New file.
84734         * string/test-strchr.c: Update.
84735         Add wcschr support.
84736         (WIDE): New macro.
84738 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84740         * wcsmbs/Makefile (strop-tests): Add wcslen.
84741         * wcsmbs/test-wcslen.c: New file.
84742         * string/test-strlen.c: Update.
84743         Add wcslen support.
84744         (WIDE): New macro.
84746 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84748         * po/it.po: Update from translation team.
84750 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84752         * sysdeps/x86_64/wcscmp.S: Update.
84753         Fix wrong comparison semantics.
84754         wcscmp shall use signed comparison not unsigned.
84755         Don't use substraction to avoid overflow bug.
84756         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84757         * wcsmbc/wcscmp.c: Likewise.
84758         * string/test-strcmp.c: Likewise.
84759         Add new tests to check cases with negative values.
84761 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84763         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84764         * sysdeps/x86_64/dla.h: ...here.  New file.
84765         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84768         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84770         * sysdeps/ieee754/dbl-64/e_sqrt.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-23  Andreas Schwab  <schwab@linux-m68k.org>
84777         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84778         __ynl_finite aliases.
84780 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84784         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84785         define DLA_FMA.
84786         [DLA_FMA] (EMULV): Use DLA_FMA.
84787         [DLA_FMA] (MUL12): Use EMULV.
84788         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84789         that are not needed.
84790         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84791         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84792         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84793         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84794         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84795         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84796         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84798 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84800         * math/s_nan.c: Undef __nan.
84801         * math/s_nanf.c: Undef __nanf.
84802         * math/s_nanl.c: Undef __nanl.
84803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84804         "math_private.h".
84806 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84808         * math/s_catan.c: Add branch predictions.
84809         * math/s_catanf.c: Likewise.
84810         * math/s_catanh.c: Likewise.
84811         * math/s_catanhf.c: Likewise.
84812         * math/s_catanhl.c: Likewise.
84813         * math/s_catanl.c: Likewise.
84814         * math/s_cexp.c: Likewise.
84815         * math/s_cexpf.c: Likewise.
84816         * math/s_cexpl.c: Likewise.
84817         * math/s_clog.c: Likewise.
84818         * math/s_clog10.c: Likewise.
84819         * math/s_clog10f.c: Likewise.
84820         * math/s_clog10l.c: Likewise.
84821         * math/s_clogf.c: Likewise.
84822         * math/s_clogl.c: Likewise.
84823         * math/s_csqrt.c: Likewise.
84824         * math/s_csqrtf.c: Likewise.
84825         * math/s_csqrtl.c: Likewise.
84826         * math/s_ctanf.c: Likewise.
84827         * math/s_ctanh.c: Likewise.
84828         * math/s_ctanhf.c: Likewise.
84829         * math/s_ctanhl.c: Likewise.
84830         * math/s_ctanl.c: Likewise.
84832         * math/math_private.h: Define __nan, __nanf, __nanl.
84833         * math/s_cacosh.c: Include <math_private.h>.
84834         * math/s_cacoshl.c: Likewise.
84835         * math/s_casinh.c: Likewise.
84836         * math/s_casinhf.c: Likewise.
84837         * math/s_casinhl.c: Likewise.
84838         * math/s_ccos.c: Rely entire on ccosh.
84839         * math/s_ccosf.c: Rely entire on ccoshf.
84840         * math/s_ccosl.c: Rely entirely on ccoshl.
84841         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84842         Remove tests for FE_INVALID.
84843         * math/s_ccoshf.c: Likewise.
84844         * math/s_ccoshl.c: Likewise.
84845         * math/s_csin.c: Likewise.
84846         * math/s_csinf.c: Likewise.
84847         * math/s_csinh.c Likewise.
84848         * math/s_csinhf.c: Likewise.
84849         * math/s_csinhl.c: Likewise.
84850         * math/s_csinl.c: Likewise.
84851         * math/s_ctan.c: Likewise.
84852         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84853         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84854         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84856 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84859         compilation problems.
84861         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84862         __builtin_expect.
84864 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84866         * sysdeps/i386/configure.in: Test for -mfma4 option.
84867         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84868         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84869         COMMON_CPUID_INDEX_80000001.
84870         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84871         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84872         use it if FMA3 is not supported.
84873         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84875         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84876         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84878 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84880         [BZ #12892]
84881         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84882         it would create a cycle with a link time dependency.
84884 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84886         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84887         instruction.
84888         * string/Makefile (strop-tests): Add rawmemchr.
84889         * string/test-rawmemchr.c: New file.
84891         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84892         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84893         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84894         when compiling str{,n}casecmp and when AVX is available.  Hook up
84895         new optimized code in initializers.
84897 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84899         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84900         __feraiseexcept instead of feraiseexcept.
84902 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84904         * math/math_private.h: Define defaults for libc_fetestexcept and
84905         libc_feupdateenv.
84906         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84907         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84908         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84909         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84910         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84911         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84912         libc_fetestexcept and libc_feupdateenv.
84914         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84915         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84916         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84917         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84918         libc_feholdexcept_setround.
84920         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84921         Add s_nearbyint-c and s_nearbyintf-c.
84922         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84923         nearbyintf inlines.
84924         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84925         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84926         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84927         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84929         * math/math_private.h: Define defaults for libc_fegetround,
84930         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84931         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84932         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84933         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84934         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84935         standard functions.
84936         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84937         Remove comments and hacks for old compiler versions.
84938         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84939         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84940         libc_feholdexceptl.
84942 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84944         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84945         (__feraiseexcept_renamed): Add __NTH.
84946         (feraiseexcept): Add __NTH.  Rename local variables to fix
84947         namespace violations.
84949 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84951         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84953         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84955         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84956         recently added interfaces.
84957         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84959         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84960         about macro parameter expansion.
84962         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84963         __NO_MATH_INLINES is defined.  Cleanups.
84965         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84966         and __floorf is target has SSE4.1.
84967         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84968         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84969         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84970         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84972         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84973         name.
84974         (floorf): Likewise.
84976         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84978 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84980         * misc/sys/cdefs.h: Fix last change.
84982         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84983         database lookup.
84985 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84987         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84989         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84990         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84991         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84992         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84994         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84995         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84996         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84997         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84998         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84999         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85000         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85001         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85002         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85003         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85004         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85005         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85006         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85007         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85008         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85009         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85010         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85012         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85013         ceil, ceilf, floor, floorf.
85015         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85016         Perform IRELATIVE relocations last.
85018         * elf/do-rel.h: Add another parameter nrelative, replacing the
85019         local variable with the same name.  Change name of the function
85020         to end in Rel or Rela (uppercase).
85021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85022         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85023         elf_dynamic_do_##reloc function.
85025 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85027         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85028         is sufficient, at least on modern CPUs.
85030         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85032         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85033         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85035         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85036         __expl_finite.
85037         * math/bits/math-finite.h: Add entries for exp.
85038         * math/e_expl.c: Add __*_finite alias.
85039         * sysdeps/i386/fpu/e_exp.S: Likewise.
85040         * sysdeps/i386/fpu/e_expf.S: Likewise.
85041         * sysdeps/i386/fpu/e_expl.c: Likewise.
85042         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85043         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85044         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85045         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85046         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85047         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85048         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85050         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85051         is sufficient, at least on modern CPUs.
85053         * ctype/ctype-info.c (__ctype_init): Define.
85054         * include/ctype.h (__ctype_init): Declare.
85055         (__ctype_b_loc): The variable is always initialized.
85056         (__ctype_toupper_loc): Likewise.
85057         (__ctype_tolower_loc): Likewise.
85058         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85059         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85061 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85063         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85065         * configure.in: Also look in $cxxmachine/include for C++ system
85066         headers.
85068 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85070         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85071         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85072         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85073         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85074         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85075         (USE_AS_WMEMCMP): New macro.
85076         Fixing indents.
85077         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85078         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85079         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85080         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85082         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85083         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85084         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85085         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85086         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85087         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85088         (USE_AS_WMEMCMP): New macro.
85089         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85090         * sysdeps/string/test-memcmp.c: Update.
85091         Fix simple_wmemcmp.
85092         Add new tests.
85093         * wcsmbs/wmemcmp.c: Update.
85094         (WMEMCMP): New macro.
85095         Fix overflow bug.
85097 2011-10-12  Andreas Jaeger  <aj@suse.de>
85099         [BZ #13268]
85100         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85102 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85104         * libio/iofwide.c (do_length): Avoid warning.
85106         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85108 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85110         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85112         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85113         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85114         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85115         * sysdeps/i386/i686/fpu/e_log.S: New file.
85116         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85117         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85119         * ctype/ctype.h: Add support for inlined isXXX functions when
85120         compiling C++ code.
85122 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85124         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85126         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85128 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85130         [BZ #13291]
85131         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85133 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85135         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85136         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85137         feraiseexcept.
85139         * sysdeps/x86_64/memrchr.S: Check for zero size.
85141         * string/stratcliff.c: Add memrchr tests.
85143 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85145         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85146         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85147         rawmemchr-sse2 rawmemchr-sse2-bsf.
85148         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85149         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85150         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85151         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85152         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85153         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85154         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85155         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85156         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85157         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85158         * string/memrchr.c (MEMRCHR): New macro.
85160 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85162         Add integration with gcc's -ffinite-math-only and optimize wrapper
85163         functions in libm.
85164         * Versions.def: Define GLIBC_2.15 version for libm.
85165         * math/Makefile (headers): Add bits/math-finite.h.
85166         * math/bits/math-finite.h: New file.
85167         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85168         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85169         * math/e_acoshl.c: Add __*_finite alias.
85170         * math/e_acosl.c: Likewise.
85171         * math/e_asinl.c: Likewise.
85172         * math/e_atan2l.c: Likewise.
85173         * math/e_atanhl.c: Likewise.
85174         * math/e_coshl.c: Likewise.
85175         * math/e_exp10.c: Likewise.
85176         * math/e_exp10f.c: Likewise.
85177         * math/e_exp10l.c: Likewise.
85178         * math/e_exp2l.c: Likewise.
85179         * math/e_fmodl.c: Likewise.
85180         * math/e_gammal_r.c: Likewise.
85181         * math/e_hypotl.c: Likewise.
85182         * math/e_j0l.c: Likewise.
85183         * math/e_j1l.c: Likewise.
85184         * math/e_jnl.c: Likewise.
85185         * math/e_lgammal_r.c: Likewise.
85186         * math/e_log10l.c: Likewise.
85187         * math/e_log2l.c: Likewise.
85188         * math/e_logl.c: Likewise.
85189         * math/e_powl.c: Likewise.
85190         * math/e_sinhl.c: Likewise.
85191         * math/e_sqrtl.c: Likewise.
85192         * math/e_scalb.c: Completely rewritten and optimized.
85193         * math/e_scalbf.c: Likewise.
85194         * math/e_scalbl.c: Likewise.
85195         * math/w_acos.c: Likewise.
85196         * math/w_acosf.c: Likewise.
85197         * math/w_acosl.c: Likewise.
85198         * math/w_acosh.c: Likewise.
85199         * math/w_acoshf.c: Likewise.
85200         * math/w_acoshl.c: Likewise.
85201         * math/w_asin.c: Likewise.
85202         * math/w_asinf.c: Likewise.
85203         * math/w_asinl.c: Likewise.
85204         * math/w_atan2.c: Likewise.
85205         * math/w_atan2f.c: Likewise.
85206         * math/w_atan2l.c: Likewise.
85207         * math/w_atanh.c: Likewise.
85208         * math/w_atanhf.c: Likewise.
85209         * math/w_atanhl.c: Likewise.
85210         * math/w_exp10.c: Likewise.
85211         * math/w_exp10f.c: Likewise.
85212         * math/w_exp10l.c: Likewise.
85213         * math/w_fmod.c: Likewise.
85214         * math/w_fmodf.c: Likewise.
85215         * math/w_fmodl.c: Likewise.
85216         * math/w_j0.c: Likewise.
85217         * math/w_j0f.c: Likewise.
85218         * math/w_j0l.c: Likewise.
85219         * math/w_j1.c: Likewise.
85220         * math/w_j1f.c: Likewise.
85221         * math/w_j1l.c: Likewise.
85222         * math/w_jn.c: Likewise.
85223         * math/w_jnf.c: Likewise.
85224         * math/w_log.c: Likewise.
85225         * math/w_logf.c: Likewise.
85226         * math/w_logl.c: Likewise.
85227         * math/w_log10.c: Likewise.
85228         * math/w_log10f.c: Likewise.
85229         * math/w_log10l.c: Likewise.
85230         * math/w_log2.c: Likewise.
85231         * math/w_log2f.c: Likewise.
85232         * math/w_log2l.c: Likewise.
85233         * math/w_pow.c: Likewise.
85234         * math/w_powf.c: Likewise.
85235         * math/w_powl.c: Likewise.
85236         * math/w_remainder.c: Likewise.
85237         * math/w_remainderf.c: Likewise.
85238         * math/w_remainderl.c: Likewise.
85239         * math/w_scalb.c: Likewise.
85240         * math/w_scalbf.c: Likewise.
85241         * math/w_scalbl.c: Likewise.
85242         * math/w_sqrt.c: Likewise.
85243         * math/w_sqrtf.c: Likewise.
85244         * math/w_sqrtl.c: Likewise.
85245         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85246         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85247         used.
85248         * math/math_private.h: Declare __kernel_standard_f.
85249         * math/w_cosh.c: Remove cruft and optimize a bit.
85250         * math/w_coshf.c: Likewise.
85251         * math/w_coshl.c: Likewise.
85252         * math/w_exp2.c: Likewise.
85253         * math/w_exp2f.c: Likewise.
85254         * math/w_exp2l.c: Likewise.
85255         * math/w_hypot.c: Likewise.
85256         * math/w_hypotf.c: Likewise.
85257         * math/w_hypotl.c: Likewise.
85258         * math/w_lgamma.c: Likewise.
85259         * math/w_lgamma_r.c: Likewise.
85260         * math/w_lgammaf.c: Likewise.
85261         * math/w_lgammaf_r.c: Likewise.
85262         * math/w_lgammal.c: Likewise.
85263         * math/w_lgammal_r.c: Likewise.
85264         * math/w_sinh.c: Likewise.
85265         * math/w_sinhf.c: Likewise.
85266         * math/w_sinhl.c: Likewise.
85267         * math/w_tgamma.c: Likewise.
85268         * math/w_tgammaf.c: Likewise.
85269         * math/w_tgammal.c: Likewise.
85270         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85271         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85272         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85273         Minor optimizations.  Pretty printing.  Remove cruft.
85274         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85275         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85276         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85277         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85278         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85279         * sysdeps/i386/fpu/e_asin.S: Likewise.
85280         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85281         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85282         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85283         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85284         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85285         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85286         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85287         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85288         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85289         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85290         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85291         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85292         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85293         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85294         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85295         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85296         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85297         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85298         * sysdeps/i386/fpu/e_log.S: Likewise.
85299         * sysdeps/i386/fpu/e_log10.S: Likewise.
85300         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85301         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85302         * sysdeps/i386/fpu/e_log2.S: Likewise.
85303         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85304         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85305         * sysdeps/i386/fpu/e_logf.S: Likewise.
85306         * sysdeps/i386/fpu/e_logl.S: Likewise.
85307         * sysdeps/i386/fpu/e_pow.S: Likewise.
85308         * sysdeps/i386/fpu/e_powf.S: Likewise.
85309         * sysdeps/i386/fpu/e_powl.S: Likewise.
85310         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85311         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85312         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85313         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85314         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85315         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85316         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85317         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85318         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85319         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85320         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85321         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85322         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85323         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85324         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85325         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85326         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85327         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85328         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85329         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85330         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85332         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85333         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85335         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85336         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85337         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85339         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85340         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85341         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85342         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85343         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85344         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85345         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85346         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85347         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85348         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85349         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85350         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85351         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85352         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85353         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85354         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85355         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85356         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85357         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85358         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85359         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85360         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85361         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85362         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85363         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85364         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85365         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85366         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85367         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85368         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85369         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85370         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85371         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85372         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85373         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85374         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85375         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85376         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85377         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85378         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85379         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85380         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85381         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85382         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85383         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85384         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85385         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85387         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85388         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85390         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85391         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85392         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85393         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85396         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85398         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85399         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85401         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85402         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85403         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85404         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85405         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85406         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85407         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85408         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85410         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85411         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85412         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85413         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85414         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85415         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85416         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85417         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85418         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85419         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85420         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85421         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85422         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85423         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85424         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85425         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85426         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85427         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85428         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85429         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85430         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85431         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85432         (__isnanf): Likewise.
85433         (__isinf_ns): Likewise.
85434         (__isinf_nsf): Likewise.
85435         (__finite): Likewise.
85436         (__finitef): Likewise.
85437         (__ieee754_sqrt): Define as macro.
85438         (__ieee754_sqrtf): Define as macro.
85439         (__ieee754_sqrtl): Define as macro.
85440         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85441         inlined copy.
85442         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85443         __FINITE_MATH_ONLY__ consistent.
85444         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85446 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85448         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85449         of rawmemchr.
85451         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85453 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85455         * po/ja.po: Update from translation team.
85457 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85459         * locale/programs/locarchive.c (prepare_address_space): New function.
85460         (create_archive, enlarge_archive, open_archive): Use it.
85462         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85463         inside [SHARED], where it is used.
85465         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85467         * nss/getent.c (netgroup_keys): Remove unused variable.
85468         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85470 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85472         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85473         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85474         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85475         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85476         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85477         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85478         * math/Makefile (libm-calls): Add s_isinf_ns.
85479         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85480         * math/multc3.c: Likewise.
85481         * math/s_casin.c: Likewise.
85482         * math/s_casinf.c: Likewise.
85483         * math/s_casinl.c: Likewise.
85484         * math/s_ccos.c: Likewise.
85485         * math/s_ccosf.c: Likewise.
85486         * math/s_ccosl.c: Likewise.
85487         * math/s_ctan.c: Likewise.
85488         * math/s_ctanf.c: Likewise.
85489         * math/s_ctanh.c: Likewise.
85490         * math/s_ctanhf.c: Likewise.
85491         * math/s_ctanhl.c: Likewise.
85492         * math/s_ctanl.c: Likewise.
85493         * math/w_fmod.c: Likewise.
85494         * math/w_fmodf.c: Likewise.
85495         * math/w_fmodl.c: Likewise.
85496         * math/w_remainder.c: Likewise.
85497         * math/w_remainderf.c: Likewise.
85498         * math/w_remainderl.c: Likewise.
85499         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85500         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85501         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85502         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85503         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85504         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85505         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85506         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85508         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85509         of the number.
85510         * stdio-common/printf_fphex.c: Likewise.
85511         * stdio-common/printf_size.c: Likewise.
85513         * math/e_exp10.c: Include math_private.h using <...> not "...".
85514         * math/e_exp10f.c: Likewise.
85515         * math/e_exp10l.c: Likewise.
85516         * math/e_exp2l.c: Likewise.
85517         * math/e_j0l.c: Likewise.
85518         * math/e_j1l.c: Likewise.
85519         * math/e_jnl.c: Likewise.
85520         * math/e_lgammal_r.c: Likewise.
85521         * math/e_rem_pio2l.c: Likewise.
85522         * math/e_scalb.c: Likewise.
85523         * math/e_scalbf.c: Likewise.
85524         * math/e_scalbl.c: Likewise.
85525         * math/k_cosl.c: Likewise.
85526         * math/k_sinl.c: Likewise.
85527         * math/k_tanl.c: Likewise.
85528         * math/s_cacoshf.c: Likewise.
85529         * math/s_catan.c: Likewise.
85530         * math/s_catanf.c: Likewise.
85531         * math/s_catanh.c: Likewise.
85532         * math/s_catanhf.c: Likewise.
85533         * math/s_catanhl.c: Likewise.
85534         * math/s_catanl.c: Likewise.
85535         * math/s_ccosh.c: Likewise.
85536         * math/s_ccoshf.c: Likewise.
85537         * math/s_ccoshl.c: Likewise.
85538         * math/s_cexp.c: Likewise.
85539         * math/s_cexpf.c: Likewise.
85540         * math/s_cexpl.c: Likewise.
85541         * math/s_clog.c: Likewise.
85542         * math/s_clog10.c: Likewise.
85543         * math/s_clog10f.c: Likewise.
85544         * math/s_clog10l.c: Likewise.
85545         * math/s_clogf.c: Likewise.
85546         * math/s_clogl.c: Likewise.
85547         * math/s_csin.c: Likewise.
85548         * math/s_csinf.c: Likewise.
85549         * math/s_csinh.c: Likewise.
85550         * math/s_csinhf.c: Likewise.
85551         * math/s_csinhl.c: Likewise.
85552         * math/s_csinl.c: Likewise.
85553         * math/s_csqrt.c: Likewise.
85554         * math/s_csqrtf.c: Likewise.
85555         * math/s_csqrtl.c: Likewise.
85556         * math/s_ctan.c: Likewise.
85557         * math/s_ctanf.c: Likewise.
85558         * math/s_ctanh.c: Likewise.
85559         * math/s_ctanhf.c: Likewise.
85560         * math/s_ctanhl.c: Likewise.
85561         * math/s_ctanl.c: Likewise.
85562         * math/s_ldexp.c: Likewise.
85563         * math/s_ldexpf.c: Likewise.
85564         * math/s_ldexpl.c: Likewise.
85565         * math/s_significand.c: Likewise.
85566         * math/s_significandf.c: Likewise.
85567         * math/s_significandl.c: Likewise.
85568         * math/w_acos.c: Likewise.
85569         * math/w_acosf.c: Likewise.
85570         * math/w_acosh.c: Likewise.
85571         * math/w_acoshf.c: Likewise.
85572         * math/w_acoshl.c: Likewise.
85573         * math/w_acosl.c: Likewise.
85574         * math/w_asin.c: Likewise.
85575         * math/w_asinf.c: Likewise.
85576         * math/w_asinl.c: Likewise.
85577         * math/w_atan2.c: Likewise.
85578         * math/w_atan2f.c: Likewise.
85579         * math/w_atan2l.c: Likewise.
85580         * math/w_atanh.c: Likewise.
85581         * math/w_atanhf.c: Likewise.
85582         * math/w_atanhl.c: Likewise.
85583         * math/w_cosh.c: Likewise.
85584         * math/w_coshf.c: Likewise.
85585         * math/w_coshl.c: Likewise.
85586         * math/w_dremf.c: Likewise.
85587         * math/w_exp10.c: Likewise.
85588         * math/w_exp10f.c: Likewise.
85589         * math/w_exp10l.c: Likewise.
85590         * math/w_exp2.c: Likewise.
85591         * math/w_exp2f.c: Likewise.
85592         * math/w_fmod.c: Likewise.
85593         * math/w_fmodf.c: Likewise.
85594         * math/w_fmodl.c: Likewise.
85595         * math/w_hypot.c: Likewise.
85596         * math/w_hypotf.c: Likewise.
85597         * math/w_hypotl.c: Likewise.
85598         * math/w_j0.c: Likewise.
85599         * math/w_j0f.c: Likewise.
85600         * math/w_j0l.c: Likewise.
85601         * math/w_j1.c: Likewise.
85602         * math/w_j1f.c: Likewise.
85603         * math/w_j1l.c: Likewise.
85604         * math/w_jn.c: Likewise.
85605         * math/w_jnf.c: Likewise.
85606         * math/w_jnl.c: Likewise.
85607         * math/w_lgamma.c: Likewise.
85608         * math/w_lgamma_r.c: Likewise.
85609         * math/w_lgammaf.c: Likewise.
85610         * math/w_lgammaf_r.c: Likewise.
85611         * math/w_lgammal.c: Likewise.
85612         * math/w_lgammal_r.c: Likewise.
85613         * math/w_log.c: Likewise.
85614         * math/w_log10.c: Likewise.
85615         * math/w_log10f.c: Likewise.
85616         * math/w_log10l.c: Likewise.
85617         * math/w_log2.c: Likewise.
85618         * math/w_log2f.c: Likewise.
85619         * math/w_log2l.c: Likewise.
85620         * math/w_logf.c: Likewise.
85621         * math/w_logl.c: Likewise.
85622         * math/w_pow.c: Likewise.
85623         * math/w_powf.c: Likewise.
85624         * math/w_powl.c: Likewise.
85625         * math/w_remainder.c: Likewise.
85626         * math/w_remainderf.c: Likewise.
85627         * math/w_remainderl.c: Likewise.
85628         * math/w_scalb.c: Likewise.
85629         * math/w_scalbf.c: Likewise.
85630         * math/w_scalbl.c: Likewise.
85631         * math/w_sinh.c: Likewise.
85632         * math/w_sinhf.c: Likewise.
85633         * math/w_sinhl.c: Likewise.
85634         * math/w_sqrt.c: Likewise.
85635         * math/w_sqrtf.c: Likewise.
85636         * math/w_sqrtl.c: Likewise.
85637         * math/w_tgamma.c: Likewise.
85638         * math/w_tgammaf.c: Likewise.
85639         * math/w_tgammal.c: Likewise.
85641         * po/ja.po: Update from translation team.
85643 2011-09-29  Andreas Jaeger  <aj@suse.de>
85645         [BZ #13179]
85646         * sunrpc/netname.c (netname2host): Fix logic.
85648         [BZ #6779]
85649         [BZ #6783]
85650         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85651         correctly.
85652         * math/w_remainder.c (__remainder): Likewise.
85653         * math/w_remainderf.c (__remainderf): Likewise.
85654         * math/libm-test.inc (remainder_test): Add test cases.
85656 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85658         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85659         sdiv_qrnnd.
85661 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85663         * string/test-memcmp.c: Avoid unncessary #defines.
85664         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85666 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85668         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85669         Use new sse2 version for core i3 - i7 as it's faster
85670         than sse42 version.
85671         (bit_Prefer_PMINUB_for_stringop): New.
85672         * sysdeps/x86_64/rawmemchr.S: Update.
85673         Replace with faster SSE2 version.
85674         * sysdeps/x86_64/memrchr.S: New file.
85675         * sysdeps/x86_64/memchr.S: Update.
85676         Replace with faster SSE2 version.
85678 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85680         * elf/dl-load.c (lose): Add cast to avoid warning.
85682 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85684         * po/ca.po: Update from translation team.
85686         * inet/getnetgrent_r.c: Hook up nscd.
85687         * nscd/Makefile (routines): Add nscd_netgroup.
85688         (nscd-modules): Add netgroupcache.
85689         (CFLAGS-netgroupcache.c): Define.
85690         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85691         (cache_search): Add const to second parameter.
85692         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85693         INNETGR.
85694         (dbs): Add netgrdb entry.
85695         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85696         (verify_persistent_db): Handle netgrdb.
85697         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85698         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85699         GETFDNETGR.
85700         (netgroup_response_header): Define.
85701         (innetgroup_response_header): Define.
85702         (datahead): Add netgroup_response_header and innetgroup_response_header
85703         elements.
85704         * nscd/nscd.conf: Add entries for netgroup cache.
85705         * nscd/nscd.h (dbtype): Add netgrdb.
85706         (_PATH_NSCD_NETGROUP_DB): Define.
85707         (netgroup_iov_disabled): Declare.
85708         (xmalloc, xcalloc, xrealloc): Move declarations here.
85709         (cache_search): Adjust prototype.
85710         Add netgroup-related prototypes.
85711         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85712         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85713         (__nscd_innetgr): Declare.
85714         * nscd/selinux.c (perms): Use access_vector_t as element type and
85715         add netgroup-related initializers.
85716         * nscd/netgroupcache.c: New file.
85717         * nscd/nscd_netgroup.c: New file.
85718         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85719         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85720         For four parameters use innetgr.
85721         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85722         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85723         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85724         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85726         * nscd/connections.c (register_traced_file): Don't register file
85727         for disabled databases.
85729 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85731         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85733         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85734         from tree and freeing node.
85736 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85738         * nss/nsswitch.c (__nss_database_lookup): Handle
85739         nss_parse_service_list out of memory case.
85741 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85743         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85744         out of memory case.
85746 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85748         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85749         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85750         pass it down.
85751         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85752         elf_machine_rela, elf_machine_lazy_rel.
85753         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85754         (ELF_DYNAMIC_DO_REL): Likewise.
85755         (ELF_DYNAMIC_DO_RELA): Likewise.
85756         (ELF_DYNAMIC_RELOCATE): Likewise.
85757         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85758         to ELF_DYNAMIC_DO_REL.
85759         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85760         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85761         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85762         elf_machine_rela.
85763         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85764         skip_ifunc, don't call ifunc function if non-zero.
85765         (elf_machine_rela): Likewise.
85766         (elf_machine_lazy_rel): Likewise.
85767         (elf_machine_lazy_rela): Likewise.
85768         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85769         (elf_machine_lazy_rel): Likewise.
85770         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85771         Likewise.
85772         (elf_machine_lazy_rel): Likewise.
85773         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85774         Likewise.
85775         (elf_machine_lazy_rel): Likewise.
85776         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85777         (elf_machine_lazy_rel): Likewise.
85778         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85779         (elf_machine_lazy_rel): Likewise.
85780         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85781         (elf_machine_lazy_rel): Likewise.
85782         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85783         (elf_machine_lazy_rel): Likewise.
85784         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85785         (elf_machine_lazy_rel): Likewise.
85786         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85787         (elf_machine_lazy_rel): Likewise.
85789 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85791         * nss/nss_files/files-init.c (_nss_files_init): Use static
85792         initialization for all the *_traced_file variables.
85794 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85796         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85798 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85800         [BZ #13226]
85801         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85803 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85805         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85806         Reread the line before reparsing it.
85808 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85810         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85812 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85813             Maxim Kuvyrkov  <maxim@codesourcery.com>
85814             Joseph Myers  <joseph@codesourcery.com>
85816         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85817         if needed for __stack_chk_guard.
85819 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85821         * sysdeps/posix/spawni.c (script_execute): Always define it.
85822         It will be optimized away if unused.
85823         (maybe_script_execute): New function.
85824         (__spawni): Call it.
85826         * Makerules: Don't include tls.make.
85827         (config-tls): Always set to thread.
85828         * tls.make.c: File removed.
85830 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85832         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85833         * config.make.in (CPPFLAGS-config): New substituted variable.
85835 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85837         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85839         [BZ #13192]
85840         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85841         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85843 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85845         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85846         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85847         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85848         (CALL_FAIL): Likewise.
85849         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85850         (CALL_FAIL): Macro removed.
85851         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85853 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85855         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85856         for __FINITE_MATH_ONLY__ == 1.
85858 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85860         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85861         __ieee754_sqrt instead of sqrt.
85862         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85863         __ieee754_sqrtf instead of sqrtf.
85864         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85865         __floorf instead of floorf.
85866         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85867         __floorf, __truncf instead of floorf, truncf.
85869 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85871         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85873         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85874         __extern_always_inline.
85875         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85876         32-bit.
85878 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85880         * elf/rtld.c (dl_main): Also relocate in dependency order when
85881         doing symbol dependency testing.
85883 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85885         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85886         Always define `refsym'.
85888 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85890         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85891         (__FD_ELT): Renamed from __FDELT.
85892         * misc/bits/select2.h (__FD_ELT): Likewise.
85893         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85894         __FD_MASK instead of __FDELT, __FDMASK.
85895         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85896         Likewise.
85897         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85898         Likewise.
85900         * elf/Makefile (gen-ldd): Fix pattern.
85902         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85903         (init_tls): Likewise.
85905 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85907         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85909 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85911         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85912         `struct cmsghdr *' instead of `void *'.
85913         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85914         Likewise.
85916 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85918         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85919         if non-absolute.
85920         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85921         ldd_rewrite_script.
85923 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85925         * configure.in: Remove --with-tls option.
85926         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85927         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85928         out in case it is missing.
85929         * sysdeps/ia64/elf/configure.in: Likewise.
85930         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85931         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85932         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85933         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85934         * sysdeps/sh/elf/configure.in: Likewise.
85935         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85936         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85937         * sysdeps/x86_64/elf/configure.in: Likewise.
85938         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85939         * sysdeps/mach/hurd/tls.h: Likewise.
85941         [BZ #13067]
85942         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85944         [BZ #13090]
85945         * configure.in: Fix use of AC_INIT.
85947         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85949 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85951         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85952         __set_errno.
85953         * malloc/hooks.c: Likewise.
85955         [BZ #11929]
85956         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85957         variables statically.
85958         (narenas): Initialize.
85959         (list_lock): Initialize.
85960         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85961         initializtion of main_arena and list_lock.  Small cleanups.
85962         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85963         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85964         Add initializers to main_arena and mp_.
85965         (malloc_state): Remove pagesize member.  Change all users to use
85966         GLRO(dl_pagesize).
85968         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85969         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85970         is always initialized.
85972         * malloc/malloc.c: Removed unused configurations and dead code.
85973         * malloc/arena.c: Likewise.
85974         * malloc/hooks.c: Likewise.
85975         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85977         * include/tls.h: Removed.  USE___THREAD must always be defined.
85978         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85979         * elf/dl-libc.c: Likewise.
85980         * elf/dl-tsd.c: Likewise.
85981         * include/errno.h: Likewise.
85982         * include/netdb.h: Likewise.
85983         * include/resolv.h: Likewise.
85984         * inet/herrno-loc.c: Likewise.
85985         * inet/herrno.c: Likewise.
85986         * malloc/arena.c: Likewise.
85987         * malloc/hooks.c: Likewise.
85988         * malloc/malloc.c: Likewise.
85989         * resolv/res-state.c: Likewise.
85990         * resolv/res_libc.c: Likewise.
85991         * sysdeps/i386/dl-machine.h: Likewise.
85992         * sysdeps/ia64/dl-machine.h: Likewise.
85993         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85994         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85995         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85996         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85997         * sysdeps/sh/dl-machine.h: Likewise.
85998         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85999         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86000         * sysdeps/unix/i386/sysdep.S: Likewise.
86001         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86002         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86004         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86006         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86007         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86009         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86011         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86012         * sysdeps/x86_64/dl-machine.h: Likewise.
86013         * tls.make.c: Likewise.
86015         * configure.in: Remove --with-__thread option.  Make tests for
86016         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86017         tls_model attribute fail if no support is available.  Remove
86018         USE_IN_LIBIO.
86019         * Makeconfig: Adjust for dropped configure option.  All features are
86020         now mandatory.
86021         * Makerules: Likewise.
86022         * Versions.def: Likewise.
86023         * argp/argp-fmtstream.c: Likewise.
86024         * argp/argp-fmtstream.h: Likewise.
86025         * argp/argp-help.c: Likewise.
86026         * assert/assert.c: Likewise.
86027         * config.h.in: Likewise.
86028         * config.make.in: Likewise.
86029         * configure: Likewise.
86030         * configure.in: Likewise.
86031         * csu/Versions: Likewise.
86032         * csu/init.c: Likewise.
86033         * elf/tst-audit2.c: Likewise.
86034         * elf/tst-tls10.c: Likewise.
86035         * elf/tst-tls10.h: Likewise.
86036         * elf/tst-tls11.c: Likewise.
86037         * elf/tst-tls12.c: Likewise.
86038         * elf/tst-tls14.c: Likewise.
86039         * elf/tst-tlsmod11.c: Likewise.
86040         * elf/tst-tlsmod12.c: Likewise.
86041         * elf/tst-tlsmod13.c: Likewise.
86042         * elf/tst-tlsmod13a.c: Likewise.
86043         * elf/tst-tlsmod14a.c: Likewise.
86044         * elf/tst-tlsmod15b.c: Likewise.
86045         * elf/tst-tlsmod16a.c: Likewise.
86046         * elf/tst-tlsmod16b.c: Likewise.
86047         * elf/tst-tlsmod7.c: Likewise.
86048         * elf/tst-tlsmod8.c: Likewise.
86049         * elf/tst-tlsmod9.c: Likewise.
86050         * gmon/gmon.c: Likewise.
86051         * grp/fgetgrent_r.c: Likewise.
86052         * grp/putgrent.c: Likewise.
86053         * hurd/fopenport.c: Likewise.
86054         * include/libc-symbols.h: Likewise.
86055         * include/tls.h: Likewise.
86056         * intl/gettextP.h: Likewise.
86057         * intl/loadinfo.h: Likewise.
86058         * locale/global-locale.c: Likewise.
86059         * locale/localeinfo.h: Likewise.
86060         * mach/devstream.c: Likewise.
86061         * malloc/arena.c: Likewise.
86062         * malloc/set-freeres.c: Likewise.
86063         * misc/err.c: Likewise.
86064         * misc/getttyent.c: Likewise.
86065         * misc/mntent_r.c: Likewise.
86066         * posix/getopt.c: Likewise.
86067         * posix/wordexp.c: Likewise.
86068         * pwd/fgetpwent_r.c: Likewise.
86069         * resolv/Versions: Likewise.
86070         * resolv/res_hconf.c: Likewise.
86071         * shadow/fgetspent_r.c: Likewise.
86072         * shadow/putspent.c: Likewise.
86073         * stdio-common/printf_fphex.c: Likewise.
86074         * stdio-common/tmpfile.c: Likewise.
86075         * stdlib/abort.c: Likewise.
86076         * stdlib/fmtmsg.c: Likewise.
86077         * sunrpc/auth_unix.c: Likewise.
86078         * sunrpc/clnt_perr.c: Likewise.
86079         * sunrpc/clnt_tcp.c: Likewise.
86080         * sunrpc/clnt_udp.c: Likewise.
86081         * sunrpc/clnt_unix.c: Likewise.
86082         * sunrpc/openchild.c: Likewise.
86083         * sunrpc/svc_simple.c: Likewise.
86084         * sunrpc/svc_tcp.c: Likewise.
86085         * sunrpc/svc_udp.c: Likewise.
86086         * sunrpc/svc_unix.c: Likewise.
86087         * sunrpc/xdr.c: Likewise.
86088         * sunrpc/xdr_array.c: Likewise.
86089         * sunrpc/xdr_rec.c: Likewise.
86090         * sunrpc/xdr_ref.c: Likewise.
86091         * sunrpc/xdr_stdio.c: Likewise.
86093 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86095         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86097 2011-07-03  Andreas Jaeger  <aj@suse.de>
86099         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86100         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86101         regenerate with gen-libm-tests.pl.
86103 2010-05-12  Petr Baudis  <pasky@suse.cz>
86105         [BZ #11589]
86106         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86107         around j0() zero points by switching to j1().
86108         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86109         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86110         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86111         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86113 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86115         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86116         instead of 0.
86117         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86118         instead of 0.
86119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86120         Patch in part by Pavel Roskin <proski@gnu.org>.
86122         [BZ #13138]
86123         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86124         realloc.
86125         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86126         Free memory block if necessary.
86128         [BZ #12847]
86129         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86130         be NULL.  Don't lock in this case.
86132 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86134         * elf/elf.h (ELFOSABI_GNU): New macro.
86135         (ELFOSABI_LINUX): Define to that.
86137 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86139         * string/strncat.c (strncat): Undef the symbol in case it has been
86140         defined in bits/string.h.
86142 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86144         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86146         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86147         link map.
86149 2011-08-17  Andreas Jaeger  <aj@suse.de>
86151         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86153 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86154             Ian Lance Taylor  <iant@google.com>
86156         * math/libm-test.inc (lround_test): New testcase.
86157         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86159 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86161         * Makefile: Remove support for automatic cvs check-ins.
86162         * Makerules: Likewise.
86163         * config.make.in: Likewise.
86164         * configure.in: Likewise.
86165         * intl/Makefile: Likewise.
86166         * locale/Makefile: Likewise.
86167         * po/Makefile: Likewise.
86168         * posix/Makefile: Likewise.
86169         * sysdeps/gnu/Makefile: Likewise.
86170         * sysdeps/mach/hurd/Makefile: Likewise.
86171         * sysdeps/sparc/sparc32/Makefile: Likewise.
86173         [BZ #13118]
86174         * posix/Makefile (bug-regex32-ENV): Define.
86175         Patch by John Stanley <jpsinthemix@verizon.net>.
86177         * misc/Makefile (headers): Add bits/select2.h.
86178         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86179         * misc/bits/select2.h: New file.
86180         * include/bits/select2.h: New file.
86181         * debug/Makefile (routines): Add fdelt_chk.
86182         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86183         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86184         FD_ISSET.
86185         * debug/fdelt_chk.c: New file.
86187         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86188         * wcsmbs/test-wmemcmp.c: Likewise.
86189         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86190         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86192 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86194         * string/Makefile (strop-tests): Add memcmp.
86195         * string/test-wmemcmp.c: New file.
86196         * string/test-memcmp.c: Add wmemcmp support.
86198 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86200         [BZ #13153]
86201         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86202         2011-07-19 change.
86204         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86205         garbage value in a __mach_port_mod_refs call in the cases of the
86206         task-self and thread-self ports.
86208 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86210         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86212 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86214         * elf/dl-load.c (lose): Check for non-null L.
86216 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86218         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86220         * elf/dl-libc.c (dlerror_run): Pass back error code from
86221         dl_catch_error.
86223         [BZ #13123]
86224         * elf/dl-load.c (lose): Free l_origin if it is valid.
86226         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86227         names.
86228         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86229         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86230         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86231         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86232         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86233         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86235 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86237         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86238         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86239         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86240         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86241         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86242         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86243         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86244         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86245         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86246         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86248 2011-08-15  Alan Modra  <amodra@gmail.com>
86250         [BZ #13092]
86251         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86252         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86253         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86254         ppc_mcount to static-only-routines.
86255         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86256         __mcount_internal.
86257         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86258         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86260 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86262         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86263         for finite and infinity parameters.
86265 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86267         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86268         and add nop instructions for throughput optimization.
86269         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86271 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86273         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86274         aligned copy for power7 with vector-scalar instructions.
86275         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86277 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86279         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86280         AVX check.
86282 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86284         [BZ #13144]
86285         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86286         last change.
86288 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86290         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86291         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86292         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86293         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86294         clock_gettime.
86296 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86298         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86299         Forgot to demangle the pointer.
86301         * sysdeps/i386/sysdep.h: Define atom_text_section.
86302         * sysdeps/x86_64/sysdep.h: Likewise.
86303         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86304         section with atom_text_section.
86305         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86306         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86307         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86308         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86309         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86311         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86312         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86313         already be defined.  Change to take two parameters and don't assign
86314         result to variable.  Adjust all users.
86315         Define INTERNAL_GETTIME if not already defined.
86316         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86317         call.
86318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86319         HAVE_CLOCK_GETTIME_VSYSCALL.
86320         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86322         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86323         gettimeofday vsyscall, just use time.
86325 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86327         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86328         <errno.h>.
86330 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86332         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86333         syscall on x86-64.
86334         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86335         syscall.
86336         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86337         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86338         syscall if possible.
86340 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86342         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86343         e_ident.  Don't pass to find_mapsXX.
86344         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86346 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86349         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86350         * sysdeps/x86_64/multiarch/strchr.S: Update.
86351         Check bit_slow_BSF bit.
86352         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86353         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86354         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86356 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86358         [BZ #13134]
86359         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86360         before glibc 2.15.
86361         (tryshell): Define.
86362         (__spawni): Change last parameter to be flag.  Test
86363         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86364         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86365         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86366         * posix/spawni.c: Likewise.
86367         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86368         * posix/spawnp.c: Likewise.  Change normal version to use
86369         SPAWN_XFLAGS_USE_PATH.
86370         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86371         SPAWN_XFLAGS_TRY_SHELL.
86373         [BZ #13150]
86374         * posix/glob.h: Remove gcc 1.x support.
86376         [BZ #13068]
86377         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86379 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86382         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86383         strrchr-sse2-bsf
86384         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86385         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86386         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86387         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86388         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86389         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86391 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86393         * sysdeps/x86_64/wcscmp.S: New file.
86395         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86396         wcscmp-c wcscmp-sse2
86397         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86398         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86399         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86400         * wcsmbs/wcscmp.c: Allow renaming.
86402 2011-09-05  David S. Miller  <davem@davemloft.net>
86404         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86405         stack slot, rather than the struct return pointer slot.
86406         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86407         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86409         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86411 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86413         * po/ja.po: Update from translation team.
86415         [BZ #13144]
86416         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86417         kernel in 64-bit binaries.
86419 2011-09-01  David S. Miller  <davem@davemloft.net>
86421         * elf/elf.h (HWCAP_SPARC_*): Move to..
86422         * sysdeps/sparc/sysdep.h: this new file and add new values.
86423         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86424         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86425         _DL_HWCAP_COUNT to 24.
86426         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86427         entries.
86428         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86429         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86430         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86432         instead of magic constants.
86433         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86435 2011-08-31  David S. Miller  <davem@davemloft.net>
86437         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86438         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86439         Reimplement to do errno handling inline.
86440         (SYSCALL_ERROR_HANDLER): New macro.
86441         (__SYSCALL_STRING): Do not do errno handling in asm.
86442         (__CLONE_SYSCALL_STRING): Delete.
86443         (__INTERNAL_SYSCALL_STRING): Delete.
86444         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86445         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86446         (PSEUDO): Reimplement to do errno handling inline.
86447         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86448         (SYSCALL_ERROR_HANDLER): New macro.
86449         (__SYSCALL_STRING): Do not do errno handling in asm.
86450         (__CLONE_SYSCALL_STRING): Delete.
86451         (__INTERNAL_SYSCALL_STRING): Delete.
86452         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86453         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86454         i386.
86455         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86456         (inline_syscall*): Add 'err' argument.
86457         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86458         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86459         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86460         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86462         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86463         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86465 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86467         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86469 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86471         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86472         directive.
86474 2011-08-24  David S. Miller  <davem@davemloft.net>
86476         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86478 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86480         * elf/Makefile: Add rules to build and run unload8 test.
86481         * elf/unload8.c: New file.
86482         * elf/unload8mod1.c: New file.
86483         * elf/unload8mod1x.c: New file.
86484         * elf/unload8mod2.c: New file.
86485         * elf/unload8mod3.c: New file.
86487         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86488         it wasn't used.
86490 2011-08-23  David S. Miller  <davem@davemloft.net>
86492         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86493         subtract stack bias.
86494         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86495         %sp not %fp in calculations.
86496         (_JMPBUF_UNWINDS_ADJ): Likewise.
86498         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86499         (aio_suspend): Call it to force an exception region around the
86500         AIO_MISC_WAIT() invocation.
86502 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86504         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86505         backslash.
86507 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86509         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86510         protection macro.
86511         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86512         and <dl-machine.h>.
86513         (Elf64_FuncDesc): Remove.
86515 2011-08-22  David S. Miller  <davem@davemloft.net>
86517         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86518         sigaltstack check, add missing cfi directives.
86519         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86520         missing cfi directives, and sigaltstack handling.
86522 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86524         [BZ #11724]
86525         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86526         object is seen twice.
86527         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86529         * elf/Makefile (distribute): Add tst-initorder2.c.
86530         (tests): Add tst-initorder2.
86531         (modules-names): Add tst-initorder2a tst-initorder2b
86532         tst-initorder2c tst-initorder2d.  Add rules to build them.
86533         ($(objpfx)tst-initorder2.out): New rule.
86534         * elf/tst-initorder2.c: New file.
86535         * elf/tst-initorder2.exp: New file.
86537 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86539         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86541         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86542         dependencies back to end of function.
86544         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86545         $(elfobjdir)/ld.so.
86547 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86549         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86550         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86552         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86553         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86554         of __vdso_gettimeofday.
86555         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86556         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86557         attribute_hidden.
86558         (_libc_vdso_platform_setup): Remove initialization of
86559         __vdso_gettimeofday and __vdso_time.
86561 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86563         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86564         and fgetc_unlocked.
86565         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86566         getc_unlocked.
86568         * elf/dl-open.c (add_to_global): Report additions to the global scope
86569         for LD_DEBUG=scopes.
86570         (dl_open_worker): Also print scope of newly loaded dependencies.
86571         (_dl_show_scope): Indicate if there is no scope.
86573         [BZ #13114]
86574         * stdio-common/Makefile (tests): Add bug24.
86575         * stdio-common/bug24.c: New file.
86577 2011-08-19  Andreas Jaeger  <aj@suse.de>
86579         [BZ #13114]
86580         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86581         non-existant file when using close-on-exec mode.
86583 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86586         the very first instruction.
86588         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86589         the CFI state in the end.
86590         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86591         inclusion of dl-trampoline.h.
86592         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86594 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86596         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86597         expectations for long double.
86599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86600         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86602 2011-08-14  David S. Miller  <davem@davemloft.net>
86604         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86605         artificual limit depends upon the system page size.
86607 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86609         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86610         * resolv/Makefile: Define CFLAGS-libresolv.
86612 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86614         * nss/makedb.c (compute_tables): Make variables used in nested
86615         function static.
86617 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86619         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86620         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86621         if buffer was too small.
86623         * elf/pldd.c (main): Attach to all threads in the process.
86624         Rewrite /proc handling to use *at functions.
86626 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86628         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86629         specifies first scope to show.
86630         (dl_open_worker): Update callers.  Move printing scope of new
86631         object to before the relocation.
86632         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86633         * sysdeps/generic/ldsodefs.h: Update declaration.
86635         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86636         string for the scope number.
86638 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86640         * nscd/servicescache.c (cache_addserv): Make sure written is always
86641         initialized.
86643 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86645         * sysdeps/i386/i486/bits/atomic.h
86646         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86647         statement expression, so as to suppress "set but not used" warning.
86648         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86650         * string/strncat.c (STRNCAT): Use prototype definition.
86652         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86653         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86654         -Iprograms here.
86655         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86656         (localedef-modules): Add localedef.
86657         (locale-modules): Add locale.
86659         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86660         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86661         to avoid a warning.
86663 2011-08-14  David S. Miller  <davem@davemloft.net>
86665         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86666         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86668 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86670         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86671         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86672         * elf/rtld.c (dl_main): Set l_name of vDSO.
86673         Call _dl_show_scope when DL_DEBUG_SCOPES.
86674         (process_dl_debug): Recognize scopes flag and also set it for all.
86675         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86676         Declare _dl_show_scope.
86678         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86679         (do_dlopen): Pass caller_dlopen to dl_open.
86680         (__libc_dlopen_mode): Initialize caller_dlopen.
86682         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86683         of libc.  Make tolower call locale-independent.  Optimize a bit by
86684         using isdigit instead of isalnum.
86685         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86687 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86689         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86690         was a dependency or dynamically loaded.
86692 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86694         * intl/l10nflist.c: Allow architecture-specific pop function.
86695         * sysdeps/x86_64/l10nflist.c: New file.
86697         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86698         classification.
86700 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86702         * include/dirent.h: Add libc_hidden_proto for scandirat and
86703         scandirat64.  Don't declare __scandirat64.
86704         * dirent/scandirat.c: Add libc_hidden_def.
86705         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86706         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86708 2011-08-10  David S. Miller  <davem@davemloft.net>
86710         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86711         enum.
86712         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86713         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86714         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86716 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86718         * Versions.def [libc]: Add GLIBC_2.15.
86719         * dirent/Makefile (routines): Add scandirat and scandirat64.
86720         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86721         GLIBC_2.15.
86722         * dirent/dirent.h: Declare scandirat and scandirat64.
86723         * dirent/scandirat.c: New file.
86724         * dirent/scandirat64.c: New file.
86725         * sysdeps/wordsize-64/scandirat.c: New file.
86726         * sysdeps/wordsize-64/scandirat64.c: New file.
86727         * dirent/opendir.c: Define opendirat.
86728         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86729         using scandirat.
86730         * dirent/scandir64.c: Adjust for scandir.c change.
86731         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86732         __scandirat64, and __scandir_cancel_handler.
86733         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86734         additional parameter and use openat instead of open (outside of ld.so).
86735         Add new __opendir as wrapper around __opendirat.
86736         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86737         here without requiring old scandirat implementation.
86739 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86741         * dirent/scandir.c (cancel_handler): Renamed to
86742         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86743         defined.  Adjust users.
86744         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86745         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86747 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86749         * string/test-string.h (IMPL): Use __STRING to expand name and then
86750         stringify it.
86752         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86753         of cleanups.
86755 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86757         * string/Makefile: Update.
86758         (strop-tests): Append strncat.
86759         * string/test-wcscmp.c: New file.
86760         New comprehensive test for wcscmp.
86761         * string/test-strcmp.c: Update.
86762         (WIDE): New define.
86764 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86766         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86767         line.
86769 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86772         encoding to ACE if AI_IDN.
86774 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86776         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86777         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86779 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86781         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86782         Fix overflow bug in strncat.
86783         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86785         * string/test-strncat.c: Update.
86786         Add new tests for checking overflow bugs.
86788 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86791         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86792         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86793         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86794         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86795         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86796         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86797         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86798         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86800         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86801         (USE_AS_STRCAT): Define.
86802         Add strcat and strncat support.
86803         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86805 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86807         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86808         __n bigger than INT_MAX+1.
86809         (__strncmp_g): Likewise.
86811 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86813         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86814         * libio/stido.h: Likewise.
86816         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86817         (AF_NFC): Define.
86818         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86819         (AF_NFC): Define.
86821         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86823         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86824         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86827         [BZ #13021]
86828         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86829         installed.
86831         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86832         typo.
86833         (_dl_x86_64_save_sse): Likewise.
86835 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86837         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86838         OSXSAVE.
86839         (_dl_x86_64_save_sse): Likewise.
86841         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86843         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86845 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86847         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86848         change.
86849         (_dl_x86_64_save_sse): Use correct AVX check.
86851 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86853         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86854         bug in strncpy/strncat.
86855         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86857 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86859         * string/tester.c (test_strcat): Add tests for different alignments
86860         of source and destination.
86861         (test_strncat): Likewise.
86863 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86865         [BZ #12852]
86866         * posix/glob.c (glob): Check passed in values before using them in
86867         expressions to avoid some overflows.
86868         (glob_in_dir): Likewise.
86870         [BZ #13007]
86871         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86872         check for AVX enablement so that we don't crash with old kernels and
86873         new hardware.
86874         * elf/tst-audit4.c: Add same checks here.
86875         * elf/tst-audit6.c: Likewise.
86877         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86879 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86881         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86883 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86885         * po/cs.po: Update from translation team.
86886         * po/bg.po: Likewise.
86888 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86890         * misc/sys/cdefs.h: Add support for const attribute.
86891         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86892         to gnu_dev_{major,minor,makedev} functions.
86894 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86896         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86898 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86900         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86901         strlen results.
86903 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86906         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86907         register in order to avoid conflicts with the soft frame pointer
86908         being held in r11 when necessary.
86909         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86910         (INTERNAL_VSYSCALL_NCS): Likewise.
86912 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86914         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86915         * elf/dl-fini.c (_dl_fini): Adjust caller.
86916         * elf/dl-close.c (_dl_close_worker): Likewise.
86917         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86919 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86921         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86922         "aux_cache->nlibs < 0".
86924         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86925         in the reload-count case.
86927 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86930         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86931         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86932         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86933         * sysdeps/x86_64/multiarch/strcat.S: New file.
86934         * sysdeps/x86_64/multiarch/strncat.S: New file.
86935         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86936         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86937         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86938         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86939         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86940         (USE_AS_STRCAT): Define.
86941         Add strcat and strncat support.
86942         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86943         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86944         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86945         * string/strncat.c: Update.
86946         (USE_AS_STRNCAT): Define.
86947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86948         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86949         and i7.
86950         * sysdeps/x86_64/multiarch/init-arch.h
86951         (bit_Prefer_PMINUB_for_stringop): New.
86952         (index_Prefer_PMINUB_for_stringop): Likewise.
86953         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86954         bit_Prefer_PMINUB_for_stringop.
86956 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86958         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86959         buffer64.
86960         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86961         of casting of buffer.
86962         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86963         buffer32 and buffer64.
86964         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86965         writes instead of casting of buffer.
86966         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86967         buffer32.
86968         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86969         casting of buffer.
86971 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86973         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86975 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86977         * nscd/nscd.c (termination_handler): Don't do anything for a database
86978         if it has not yet been initialized.
86980 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86982         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86984 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86986         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86988 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86990         * po/nl.po: Update from translation team.
86991         * po/sv.po: Likewise.
86993 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86995         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86996         now disallowed by GCC.
86998         * configure.in (use-default-link): Default to yes if a test -shared
86999         link meets our qualifications.
87000         * configure: Regenerated.
87002         * config.make.in (output-format): New variable.
87003         * configure.in: Check for ld --print-output-format support.
87004         * configure: Regenerated.
87005         * Makerules ($(common-objpfx)format.lds)
87006         [$(output-format) != unknown]: Just use $(output-format),
87007         instead of the linker-script munging.
87009 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87011         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87012         of $(common-objpfx)shlib.lds.
87013         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87015         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87016         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87018         * configure.in (-z relro check): Adjust test code to add a large
87019         writable data section after it.
87020         * configure: Regenerated.
87022 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87024         * configure.in (-z relro check): Fix test code to make the variable
87025         truly const.
87026         * configure: Regenerated.
87028 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87030         * nscd/nscd.h (struct traced_file): Define.
87031         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87032         elements.  Add traced_files.
87033         (inotify_fd): Declare.
87034         (register_traced_file): Declare.
87035         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87036         (inotify_fd): Export.
87037         (resolv_conf_descr): Remove.
87038         (nscd_init): Move inotify descriptor creation to main.
87039         Don't register files for notification here.
87040         (register_traced_file): New function.
87041         (invalidate_cache): Don't use reset_res to determine whether to call
87042         res_init, go through the list of registered files.
87043         (main_loop_poll): The inotify descriptors are now stored in the
87044         structures for the traced files.
87045         (main_loop_epoll): Likewise.
87046         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87047         to __nss_disable_nscd.
87048         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87049         for a database anymore.  Check the records for all the registered
87050         files instead.
87051         * nss/Makefile (libnss_files-routines): Add files-init.
87052         (libnss_db-routines): Add db-init.
87053         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87054         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87055         * nss/nss_db/db-init.c: New file.
87056         * nss/nss_files/files-init.c: New file.
87057         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87058         __nss_lookup_function.
87059         (__nss_lookup_function): Call nss_load_library.
87060         (nss_load_all_libraries): New function.
87061         (__nss_disable_nscd): Take parameter with callback function for files
87062         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87063         used for the cached services.
87064         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87065         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87066         options for features to all the files in nscd.
87068         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87070 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87072         * csu/elf-init.c (__libc_csu_init): Comment typo.
87074 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87076         * po/pl.po: Update from translation team.
87077         * po/ja.po: Likewise.
87078         * po/ru.po: Likewise.
87079         * po/ko.po: Likewise.
87080         * po/fr.po: Likewise.
87082 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87084         * configure.in (.ctors/.dtors header and trailer check):
87085         Use an empirical test on a built program.
87086         * configure: Regenerated.
87088         * configure.in (-z relro check): Use an empirical test on a built DSO.
87089         Detect, but do not require, on ia64.
87090         * configure: Regenerated.
87092         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87093         Update tests that use readelf to use $READELF instead.
87094         * configure: Regenerated.
87096 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87098         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87099         if the result is not used.
87101 2011-07-05  Andreas Jaeger  <aj@suse.de>
87103         [BZ #9696]
87104         * stdlib/tst-strtod.c: Add testcase.
87106 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87108         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87109         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87110         The latter has a higher limit.  Take additional parameter to pass to
87111         the new function.
87112         (__pathconf): Pass file to __statfs_link_max.
87113         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87114         __statfs_link_max.
87115         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87116         __statfs_link_max.
87118         [BZ #12868]
87119         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87120         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87121         Handle Lustre.
87122         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87123         (__statfs_filesize_max): Likewise.
87124         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87126 2011-07-05  Andreas Jaeger  <aj@suse.de>
87128         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87130 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87132         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87133         `status' variable.
87134         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87135         Likewise.
87137 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87139         * Makefile (strop-tests): Add strncat.
87140         * string/test-strncat.c: New file.
87142 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87144         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87146 2011-06-21  Andreas Jaeger  <aj@suse.de>
87148         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87149         Copy rule from iconvdata/Makefile.
87151 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87153         [BZ #12922]
87154         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87155         but no long options are defined, just return 'W'.
87157 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87159         [BZ #9696]
87160         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87162 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87164         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87165         netgroups to read.
87166         (innetgr): Likewise.
87168 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87170         * config.make.in (install_root): Default to $(DESTDIR).
87172 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87174         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87176 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87178         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87180         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87181         containing directory rather than embedding absolute directory names.
87183         * scripts/check-local-headers.sh: Rewritten using awk.
87184         Match by word, not by line.  Print error messages for matches.
87185         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87187         * Makerules [shlib-lds-flags empty]:
87188         ($(common-objpfx)libc_pic.opts): New target.
87189         ($(common-objpfx)libc_pic.os.clean): New target.
87190         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87192         * config.make.in (OBJCOPY): New variable.
87193         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87194         * configure: Regenerated.
87196         * config.make.in (use-default-link): New variable.
87197         * configure.in (use_default_link): Grok --with-default-link to set it.
87198         * configure: Regenerated.
87199         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87200         (shlib-lds, shlib-lds-flags): Define to empty.
87202         * Makerules (shlib-lds): New variable.
87203         (shlib-lds-flags): New variable.
87204         (build-shlib, build-moduile, build-module-asneeded): Use it.
87205         ($(common-objpfx)libc.so): Use $(shlib-lds).
87206         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87207         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87209         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87210         DT_FLAGS/DT_FLAGS_1 with zero flags.
87212         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87213         linker script munging.
87215 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87217         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87218         as 128-bit value.
87219         * crypt/sha512.c (sha512_process_block): Perform total addition using
87220         128-bit if possible.
87221         (__sha512_finish_ctx): Likewise.
87222         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87223         as 64-bit value.
87224         * crypt/sha256.c (SWAP64): Define.
87225         (sha256_process_block): Perform total addition using 64-bit if
87226         possible.
87227         (__sha256_finish_ctx): Likewise.
87229 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87231         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87233         * nscd/hstcache.c (cache_addhst): Likewise.
87234         * nscd/grpcache.c (cache_addgr): Likewise.
87235         * nscd/aicache.c (addhstaiX): Likewise.
87236         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87238 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87240         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87241         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87242         * nscd/hstcache.c (cache_addhst): Likewise.
87243         * nscd/grpcache.c (cache_addgr): Likewise.
87244         * nscd/aicache.c (addhstaiX): Likewise.
87246 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87248         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87249         domain only when needed.
87251 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87254         is always restored.
87256 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87258         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87259         are re-adding the entry.
87260         * nscd/servicescache.c (cache_addserv): Likewise.
87262 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87264         * sysdeps/generic/dl-irel.h: fix protection against multiple
87265         inclusions.
87266         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87268 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87270         [BZ #12935]
87271         * malloc/memusage.sh: Fix quoting in message.
87272         * debug/xtrace.sh: Likewise.
87274         * configure.in: Remove support for --experimental-malloc option, make
87275         it the default.
87276         * config.make.in: Likewise.
87277         * malloc/Makefile: Likewise.
87279 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87281         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87282         two-byte characters.
87284 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87286         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87287         AC_CACHE_CHECK invocation.
87288         * configure: Regenerated.
87290         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87292 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87294         [BZ #12350]
87295         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87296         bit from old_res_options.
87298         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87300         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87301         value type for setfct.
87303 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87305         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87306         __gettimeofday instead of gettimeofday.
87308 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87310         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87312 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87314         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87316         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87317         info.
87319 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87322         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87323         strcpy-sse2-unaligned strncpy-sse2-unaligned
87324         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87325         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87326         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87327         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87328         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87329         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87330         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87331         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87332         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87333         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87334         (STRCPY): Support SSE2 and SSSE3 versions.
87336 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87338         [BZ #12874]
87339         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87340         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87341         kernels which artificially limit size of requests.
87343 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87345         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87346         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87347         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87348         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87349         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87350         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87351         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87352         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87353         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87355         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87356         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87357         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87358         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87359         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87361         Enable unaligned load optimization for Intel Core i3, i5 and i7
87362         processors.
87363         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87364         Define.
87365         (index_Fast_Unaligned_Load): Define.
87366         (HAS_FAST_UNALIGNED_LOAD): Define.
87368 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87370         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87372 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87374         [BZ #12907]
87375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87376         until it is clear that the information is realy needed.
87377         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87379 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87383 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87385         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87386         /sys/devices/system/cpu/online if it is usable.
87388         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87389         reading the information from the /proc filesystem to once a second.
87391 2011-06-21  Andreas Jaeger  <aj@suse.de>
87393         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87394         NULL after inclusion of kernel headers.
87396 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87398         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87399         calls to internal_setent.
87401         [BZ #12885]
87402         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87403         addresses using gethostbyname4_r ignore IPv4 addresses.
87405         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87406         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87408         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87410 2011-06-20  David S. Miller  <davem@davemloft.net>
87412         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87413         inclusions.
87414         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87416         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87417         (elf_irel): Use it.
87418         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87419         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87420         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87421         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87422         * sysdeps/x86_64/dl-irel.h: Likewise.
87424         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87425         * elf/dl-sym.c: Likewise.
87427 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87429         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87430         need to dereference resplen2.
87432 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87434         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87436 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87438         * Makeconfig: Define vardbdir and inst_vardbdir.
87439         * nss/Makefile: Add rules to install db-Makefile.
87441         * nss/nss_db/db-XXX.c: Cleanup.
87443         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87444         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87445         GLIBC_PRIVATE.
87446         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87447         * nss/makedb.c: Implement -g option to specify that value strings
87448         are generated and should not be added to table iterated over for
87449         get*ent calls.
87450         * nss/nss_db/db-initgroups.c: New file.
87452         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87453         interface.
87455         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87456         (internal_getgrouplist): Adjust to name change.
87457         Update use_initgroups_entry if this is not the first call.
87458         * nss/databases.def: Add initgroups entry.
87460         * nss/makedb.c (compute_tables): Check result of multiple hash table
87461         sizes to minimize maximum chain length.
87463 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87465         * Versions.def: Add entry for libnss_db.
87466         * shlib-versions: Likewise.
87467         * nss/Makefile: Add rules to build libnss_db.
87468         * nss/Versions: Add libnss_db information.  Organize libnss_files
87469         entries better.
87470         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87471         makedb progra.  Some minor improvements to generate smaller files.
87472         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87473         here from...
87474         * nss/makedb.c: ...here.
87475         Improve database format to be smaller and require less memory at
87476         runtime.
87477         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87478         db anymore.
87479         * nss/nss_db/db-netgrp.c: Likewise.
87480         * nss/nss_db/db-open.c: Likewise.
87481         * nss/nss_files/flies-XXX.x: Adjust comments.
87482         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87483         * nss/nss_files/files-grp.c: Likewise.
87484         * nss/nss_files/files-hosts.c: Likewise.
87485         * nss/nss_files/files-network.c: Likewise.
87486         * nss/nss_files/files-proto.c: Likewise.
87487         * nss/nss_files/files-pwd.c: Likewise.
87488         * nss/nss_files/files-rpc.c: Likewise.
87489         * nss/nss_files/files-service.c: Likewise.
87490         * nss/nss_files/files-sgrp.c: Likewise.
87491         * nss/nss_files/files-spwd.c: Likewise.
87492         * nss/nss_db/db-alias.c: Removed.
87493         * nss/nss_db/dummy-db.h: Removed.
87495 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87497         * nss/makedb.c: Rewritten to not use database library.
87498         * nss/Makefile: Update to build new makedb program.
87500 2011-06-14  Andreas Jaeger  <aj@suse.de>
87502         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87503         memset declaration.
87505 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87508         tmpbuf.
87510 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87512         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87513         * elf/Makefile ($(objpfx)ld.so): Likewise.
87515         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87516         Don't list ld.so twice in dependencies.
87518         * posix/bug-regex31.c: Include <stdlib.h>.
87520         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87522         * nis/nss_compat/compat-spwd.c
87523         (getspent_next_nss_netgr): Remove unused variable.
87524         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87526         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87527         nonmembers" output to use the right array.
87529         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87531         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87533         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87534         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87535         * catgets/gencat.c (read_input_file): Likewise.
87536         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87538         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87539         variable definition inside #if's controlling its use.
87541         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87543         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87545         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87547         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87548         unreachable code.
87550         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87552         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87553         * configure: Regenerated.
87555         * Makerules: Revert last change.
87556         * elf/Makefile: Likewise.
87558 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87560         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87561         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87562         (reloc-link): Likewise.
87564 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87566         * elf/Makefile: Add rules to build pldd.
87567         * elf/pldd.c: New file.
87568         * elf/pldd-xx.c: New file.
87570 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87572         * version.h: Update for 2.15 development version.
87574 2011-06-07  David S. Miller  <davem@davemloft.net>
87576         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87577         ifuncs.
87578         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87579         elf_machine_lazy_rel): Likewise.
87580         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87581         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87582         elf_machine_lazy_rel): Likewise.
87583         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87584         dl_hwcap via passed in argument.
87585         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87586         Likewise.
87588 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87590         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87592 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87594         [BZ #12849]
87595         * manual/fdl-1.1.texi: New file, verbatim from:
87596         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87597         * manual/lgpl-2.1.texi: New file, verbatim from:
87598         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87599         * manual/Makefile (licenses): New variable, list those new file names.
87600         (texis): Use it.
87601         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87603         * manual/fdl.texi: File removed.
87604         * manual/lesser.texi: File removed.
87605         * manual/libc.texinfo (Copying, Documentation License):
87606         Use new @include file names, put @appendix directive before @include.
87608 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87610         [BZ #12841]
87611         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87612         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87613         (mq_open): Add __NTH.
87615 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87618         Assume Intel Core i3/i5/i7 processor if AVX is available.
87620 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87622         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87623         typo.
87625 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87627         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87628         memory.  Use alloca_account.  Fix memory leak when retrying.
87630 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87632         * version.h (RELEASE): Bump for 2.14 release.
87633         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87635         * config.make.in (RANLIB): Remove entry.
87637 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87639         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87640         (libc.pot): Work around missing support for .ksh extension in xgettext.
87642         [BZ #12684]
87643         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87644         if both request failed.
87645         (send_dg): In case of server errors clear resplen or *resplen2.
87647         [BZ #12454]
87648         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87649         when there are multiple maps.
87650         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87651         (_dl_fini): Remove test here.
87653         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87655 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87657         [BZ #12350]
87658         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87659         bit from old_res_options.
87660         (gaih_inet): Likewise.
87662         [BZ #11099]
87663         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87664         as signed.
87666         * resolv/res_init.c (res_setoptions): Make the code more compact.
87668         [BZ #11558]
87669         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87670         set RES_USEVC.
87672         [BZ #11634]
87673         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87675         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87677         [BZ #11781]
87678         * malloc/malloc.h: Declare malloc hook variables as volatile.
87680         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87681         in last patch.
87683         [BZ #11799]
87684         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87685         raise in the comment.
87686         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87687         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87688         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87690 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87692         [BZ #12811]
87693         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87694         grow the buffers more if it already has to be sufficient.
87695         (build_wcs_upper_buffer): Likewise.
87696         * posix/regexec.c (check_matching): Likewise.
87697         (clean_state_log_if_needed): Likewise.
87698         (extend_buffers): Don't enlarge buffers beyond size of the input
87699         buffer.
87700         Patches mostly by Emil Wojak <emil@wojak.eu>.
87701         * posix/bug-regex32.c: New file.
87702         * posix/Makefile (tests): Add bug-regex32.
87704         * locale/findlocale.c (_nl_find_locale): Return right away if
87705         _nl_explode_name failed.
87706         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87708         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87710         * debug/xtrace.sh: Unify messages.
87711         * malloc/memusage.sh: Likewise.
87713         [BZ #12813]
87714         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87715         time symbol from vDSO.  Substitute with vsyscall if not available.
87716         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87717         __vdso_time.
87719         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87720         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87721         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87722         Add sendmmsg and internal_sendmmsg.
87723         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87724         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87725         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87727         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87728         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87729         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87731 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87733         [BZ #12813]
87734         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87735         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87736         available.
87737         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87738         __vdso_getcpu.
87740         [BZ #12814]
87741         * iconvdata/Makefile (tests): Add bug-iconv9.
87742         * iconvdata/bug-iconv9.c: New file.
87744 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87746         [BZ #12814]
87747         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87749 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87751         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87752         (struct user_regs_struct): Change intcs field back to cs.
87754 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87756         * po/ja.po: Update from translation team.
87758 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87760         [BZ #12795]
87761         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87762         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87764 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87766         * stdlib/longlong.h: Update from GCC.
87768 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87770         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87771         parameter name.
87772         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87773         Add parameter name.
87774         (__sysconf): Pass it down.
87776 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87778         [BZ #12671]
87779         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87780         some situations.
87781         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87782         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87783         add in in __libc_use_alloca calls.  Adjust callers.
87784         (glob): Use malloc in some situations.
87786         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87787         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87788         pltexit.
87790 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87792         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87793         and CLOCK_BOOTTIME_ALARM.
87795         [BZ #12782]
87796         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87797         is returned.
87799         * string/_strerror.c (__strerror_r): Print negative errors as signed
87800         numbers.
87802         [BZ #12777]
87803         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87804         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87805         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87807         * configure.in: Fix typo in redirection and correct removal of test
87808         files in two cases.
87810         [BZ #12788]
87811         * locale/setlocale.c (new_composite_name): Fix test to check for
87812         identical name of all categories.
87814         [BZ #12792]
87815         * libio/filedoalloc.c (local_isatty): New function.
87816         (_IO_file_doallocate): Use local_isatty.
87817         * stdio-common/perror.c (perror): In case a new stream is used
87818         forward the stream error.
87819         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87820         error flag.
87822 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87824         [BZ #11884]
87825         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87826         alloca.
87827         * include/alloca.h (extend_alloca_account): Define.
87829         [BZ #11857]
87830         * posix/regex.h: Fix comments with documentation of user-accessible
87831         fields after compilation and describe correct free'ing of pattern
87832         after re_compile_pattern.
87833         Patch by Reuben Thomas <rrt@sc3d.org>.
87835 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87837         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87838         and -mno-altivec to prevent the compiler from using Altivec and/or
87839         VSX instructions when the corresponding registers are not available.
87841 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87843         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87845 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87847         * libio/freopen.c (freopen): Use __dup2, not dup2.
87848         * libio/freopen64.c (freopen64): Likewise.
87850 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87852         [BZ #12775]
87853         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87854         * math/Makefile (tests): Add test-powl.
87855         (CFLAGS-test-powl.c): Define.
87856         * math/test-powl.c: New file.
87858 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87860         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87862 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87864         [BZ #11837]
87865         * iconvdata/gb18030.c: Update to GB18020-2005.
87867 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87869         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87870         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87871         Patch by Aharon Robbins <arnold@skeeve.com>.
87873         [BZ #11892]
87874         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87875         on the stack.
87877         [BZ #11895]
87878         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87879         through underflows.
87881         [BZ #12766]
87882         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87883         point to strings before performing equality test for error_one_per_line
87884         mode.
87886         [BZ #11697]
87887         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87889         [BZ #11820]
87890         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87891         (struct user_fpregs_struct): Avoid __uint*_t types.
87893         [BZ #6420]
87894         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87895         symbol info.  Use it instead of calling _dl_addr locally.
87896         (lock_and_info): New function.
87897         (tr_freehook): Call lock_and_info and pass symbol info as additional
87898         parameter to tr_where.
87899         (tr_mallochook): Likewise.
87900         (tr_reallochook): Likewise.
87901         (tr_memalignhook): Likewise.
87903         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87904         used and couldn't be at all thread-safe.
87906 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87908         * libio/freopen.c (freopen): Don't close old file descriptor
87909         before the new one is opened.  Instead dup the new file descriptor
87910         to the old one after the new stream is created.
87911         * libio/freopen64.c (freopen64): Likewise.
87912         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87913         * libio/fileops.c (_IO_new_file_close_it): Handle new
87914         _IO_FLAGS2_NOCLOSE flag.
87915         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87916         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87917         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87918         _IO_FLAGS2_NOCLOSE flag.
87919         * include/unistd.h: Add hidden_proto for dup3.
87920         Define __have_dup3.
87921         * io/dup3.c: Define hidden symbol.
87922         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87924         [BZ #7101]
87925         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87926         when an incomplete long option is used.
87927         * posix/tst-getopt_long1.c: New file.
87928         * posix/Makefile (tests): Add tst-getopt_long1.
87930         [BZ #10138]
87931         * scripts/config.guess: Update from autoconf-2.68.
87932         * scripts/config.sub: Likewise.
87934         [BZ #10157]
87935         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87936         tests into ...
87937         (has_cpuclock): ...this.  New function.
87938         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87939         macro here based on has_cpuclock code.
87941         [BZ #10149]
87942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87943         First byte (not low byte) is now always NUL.
87944         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87947         Use non-cancelable interfaces.
87949         [BZ #9809]
87950         * locale/iso-639.def: Add entry for Sorani.
87952         [BZ #11901]
87953         * include/stdlib.h: Move include protection to the right place.
87954         Define abort_msg_s.  Declare __abort_msg with it.
87955         * stdlib/abort.c (__abort_msg): Adjust type.
87956         * assert/assert.c (__assert_fail_base): New function.  Majority
87957         of code from __assert_fail.  Allocate memory for __abort_msg with
87958         mmap.
87959         (__assert_fail): Now call __assert_fail_base.
87960         * assert/assert-perr.c: Remove bulk of implementation.  Use
87961         __assert_fail_base.
87962         * include/assert.hL Declare __assert_fail_base.
87963         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87964         mmap.
87965         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87967 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87969         [BZ #11952]
87970         [BZ #12453]
87971         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87972         until all modules are registered in the DTV.
87973         * elf/Makefile: Add rules to build and run tst-tls19.
87974         * elf/tst-tls19.c: New file.
87975         * elf/tst-tls19mod1.c: New file.
87976         * elf/tst-tls19mod2.c: New file.
87977         * elf/tst-tls19mod3.c: New file.
87978         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87980         [BZ #12083]
87981         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87982         correctly.
87984         [BZ #12601]
87985         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87986         two-byte sequence errors.
87987         * iconvdata/Makefile (tests): Add bug-iconv8.
87988         * iconvdata/bug-iconv8.c: New file.
87990         [BZ #12626]
87991         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87992         buf2 definition.
87994         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87996         [BZ #12432]
87997         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87998         (dummy_getcfa): New function.
87999         (init): Get _Unwind_GetCFA address, use dummy if not found.
88000         (backtrace_helper): In recursion check, also check whether CFA changes.
88001         (__backtrace): Completely initialize arg.
88003         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88004         storing incomplete byte sequence in state object.  Avoid testing for
88005         guaranteed too small input if we know there is enough data available.
88007 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88009         * Makeconfig (+link-pie): Indent.
88010         * Rules (binaries-pie): Define if $(have-fpie) and
88011         $(build-shared).
88012         (binaries-shared): Also filter out $(binaries-pie).
88013         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88014         * nscd/Makefile (others-pie): Add nscd.
88015         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88016         ($(objpfx)nscd): Remove command override.
88017         * login/Makefile (others-pie): Add pt_chown.
88018         ($(objpfx)pt_chown): Remove command override.
88019         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88020         remove command overrides.
88022 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88024         * libio/tst_putwc.c: Fix error messages.
88026         [BZ #12724]
88027         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88028         currently writing and seek to current position when not.
88029         * libio/Makefile (tests): Add bug-fclose1.
88030         * libio/bug-fclose1.c: New file.
88032 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88034         [BZ #12511]
88035         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88036         don't set DF_1_NODELETE here.
88037         (do_lookup_x): When entering new entry test for copy relocation
88038         and if necessary set DF_1_NODELETE flag.
88039         * elf/tst-unique4.cc: New file.
88040         * elf/tst-unique4.h: New file.
88041         * elf/tst-unique4lib.cc: New file.
88042         * elf/Makefile: Add rules to build and run tst-unique4.
88043         Patch by Piotr Bury <pbury@goahead.com>.
88045 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88047         [BZ #12052]
88048         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88050         [BZ #12625]
88051         * misc/mntent_r.c (addmntent): Flush the stream after the output
88053         [BZ #12393]
88054         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88055         (is_trusted_path_normalize): Skip initial colon.  Append slash
88056         to empty buffer.  Duplicate is_trusted_path code but allow
88057         constructed patch to be prefix.
88058         (is_dst): Allow $ORIGIN followed by /.
88059         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88060         Correct testing of result of is_trusted_path_normalize
88061         (decompose_rpath): Fix warning.
88063 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88065         [BZ #11257]
88066         * grp/initgroups.c (internal_getgrouplist): When we found the service
88067         list through the initgroups entry in nsswitch.conf do not always
88068         continue on a successful lookup.  Don't always use the
88069         __nss_group_database value if it is set.
88070         * nss/nsswitch.conf (initgroups): Change action for successful db
88071         lookup to continue for compatibility.
88073 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88075         [BZ #11532]
88076         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88077         and CP774 modules.
88078         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88079         and CP774 modules.
88080         * iconvdata/tst-tables.sh: Likewise.
88081         * iconvdata/cp770.c: New file.
88082         * iconvdata/cp771.c: New file.
88083         * iconvdata/cp772.c: New file.
88084         * iconvdata/cp773.c: New file.
88085         * iconvdata/cp774.c: New file.
88086         * iconvdata/testdata/CP770: New file.
88087         * iconvdata/testdata/CP770..UTF8: New file.
88088         * iconvdata/testdata/CP771: New file.
88089         * iconvdata/testdata/CP771..UTF8: New file.
88090         * iconvdata/testdata/CP772: New file.
88091         * iconvdata/testdata/CP772..UTF8: New file.
88092         * iconvdata/testdata/CP773: New file.
88093         * iconvdata/testdata/CP773..UTF8: New file.
88094         * iconvdata/testdata/CP774: New file.
88095         * iconvdata/testdata/CP774..UTF8: New file.
88097         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88098         END CHARMAP line.
88099         * iconvdata/gen-8bit-gap.sh: Likewise.
88100         * iconvdata/gen-8bit.sh: Likewise.
88102         * locale/iso-639.def: Add ary entry.
88104         [BZ #11258]
88105         * locale/C-translit.h.in: Add U20A1 transliteration.
88107         [BZ #12178]
88108         * locale/iso-639.def: Add wae entry.
88109         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88111         [BZ #12545]
88112         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88113         for n.
88115         [BZ #12711]
88116         * locale/C-translit.h.in: Add entry for U20B9.
88117         Patch by pravin.d.s@gmail.com.
88119 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88121         [BZ #12713]
88122         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88123         ENAMETOOLONG use generic getcwd.
88124         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88125         in rtld.  Use *stat64.
88126         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88127         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88128         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88129         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88130         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88131         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88132         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88133         __fstatat64 macros.
88134         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88135         * dirent/rewinddir.c: Add libc_hidden_def.
88136         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88137         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88139         * include/dirent.h (__alloc_dir): Add flags parameter.
88140         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88141         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88142         __alloc_dir.
88143         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88144         from fdopendir if O_CLOEXEC is already set.
88146 2011-03-15  Alan Modra  <amodra@gmail.com>
88148         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88149         l_tls_firstbyte_offset non-zero.  Save padding offset in
88150         l_tls_firstbyte_offset for later use.
88151         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88152         freeing static tls block.
88154 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88156         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88157         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88158         being defined by the kernel headers.
88160 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88162         [BZ #12734]
88163         * resolv/resolv.h: Define RES_NOTLDQUERY.
88164         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88165         no-tld-query and set RES_NOTLDQUERY.
88166         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88167         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88168         modern BIND to search name as TLD unless forbidden.
88170 2011-05-07  Petr Baudis  <pasky@suse.cz>
88171             Ulrich Drepper  <drepper@gmail.com>
88173         [BZ #12393]
88174         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88175         (is_trusted_path): ...to here.
88176         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88177         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88178         using is_trusted_path_normalize() in setuid scripts.
88180 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88182         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88183         __BEGIN/__END_DECLS.
88185 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88188         NSS_STATUS_NOTFOUND if no record was found.
88190 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88192         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88193         (headers-not-in-tirpc): Remove rpc/netdb.h
88194         * resolv/netdb.h: Revert last change.
88196 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88198         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88199         circular dependency between libgcc.a and libc.a.
88201 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88203         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88204         * nis/Makefile: Don't install rpcsvc/*.
88205         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88206         instead of <rpc/types.h>.
88207         (MAXHOSTNAMELEN): Define.
88209 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88211         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88213 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88215         [BZ #12714]
88216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88217         gethostbyname4_r when IPv6 results are possible.
88219 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88221         [BZ #12723]
88222         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88223         _PC_PIPE_BUF handling.
88225 2011-04-30  Bruno Haible  <bruno@clisp.org>
88227         [BZ #12717]
88228         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88229         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88230         to 'int'.
88231         * inet/getnameinfo.c (getnameinfo): Likewise.
88233 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88235         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88236         to groups setting in database lookup.
88237         * nss/nsswitch.conf: Add initgroups entry.
88239 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88241         [BZ #12685]
88242         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88243         mode string.
88244         Patch by Eric Blake <eblake@redhat.com>.
88246 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88248         * sunrpc/Makefile (need-export-routines): Add svc_run.
88249         (routines): Remove svc_run.
88250         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88251         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88252         * sunrpc/svc_run.c (svc_run): Likewise.
88253         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88255 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88257         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88258         problem in reallocation in last patch.
88260 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88262         * sunrpc/Makefile: Move inclusion of Rules.
88264 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88266         * nss/nss_files/files-initgroups.c: New file.
88267         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88268         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88269         _nss_files_initgroups_dyn.
88271 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88273         * elf/elf.h (R_ARM_IRELATIVE): Define.
88275 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88277         * po/ru.po: Update from translation team.
88279 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88281         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88282         dependencies.
88284 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88286         [BZ #12653]
88287         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88288         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88291         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88293 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88295         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88296         differing bytes.
88297         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88299         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88301 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88303         [BZ #12420]
88304         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88305         storing it.
88306         * stdlib/bug-getcontext.c: New file.
88307         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88309 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88311         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88312         instructions into .machine "z9-109".
88313         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88314         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88316 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88318         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88319         between environment variables and auxiliary vector.
88321 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88323         * Makefile: Add rules to build linkobj/libc.so.
88324         * include/libc-symbols.h: Define libc_hidden_nolink.
88325         * include/rpc/auth.h: Mark functions which are to be hidden.
88326         * include/rpc/auth_des.h: Likewise.
88327         * include/rpc/auth_unix.h: Likewise.
88328         * include/rpc/clnt.h: Likewise.
88329         * include/rpc/des_crypt.h: Likewise.
88330         * include/rpc/key_prot.h: Likewise.
88331         * include/rpc/pmap_clnt.h: Likewise.
88332         * include/rpc/pmap_prot.h: Likewise.
88333         * include/rpc/pmap_rmt.h: Likewise.
88334         * include/rpc/rpc_msg.h: Likewise.
88335         * include/rpc/svc.h: Likewise.
88336         * include/rpc/svc_auth.h: Likewise.
88337         * include/rpc/xdr.h: Likewise.
88338         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88339         * nss/Makefile: Likewise.
88340         * sunrpc/Makefile: Don't install headers.  Build library with normal
88341         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88342         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88343         for the compat linking library.  Remove use of INTDEF/INTUSE.
88344         * sunrpc/auth_none.c: Likewise.
88345         * sunrpc/auth_unix.c: Likewise.
88346         * sunrpc/authdes_prot.c: Likewise.
88347         * sunrpc/authuxprot.c: Likewise.
88348         * sunrpc/clnt_gen.c: Likewise.
88349         * sunrpc/clnt_perr.c: Likewise.
88350         * sunrpc/clnt_raw.c: Likewise.
88351         * sunrpc/clnt_simp.c: Likewise.
88352         * sunrpc/clnt_tcp.c: Likewise.
88353         * sunrpc/clnt_udp.c: Likewise.
88354         * sunrpc/clnt_unix.c: Likewise.
88355         * sunrpc/des_crypt.c: Likewise.
88356         * sunrpc/des_soft.c: Likewise.
88357         * sunrpc/get_myaddr.c: Likewise.
88358         * sunrpc/key_call.c: Likewise.
88359         * sunrpc/key_prot.c: Likewise.
88360         * sunrpc/netname.c: Likewise.
88361         * sunrpc/pm_getmaps.c: Likewise.
88362         * sunrpc/pm_getport.c: Likewise.
88363         * sunrpc/pmap_clnt.c: Likewise.
88364         * sunrpc/pmap_prot.c: Likewise.
88365         * sunrpc/pmap_prot2.c: Likewise.
88366         * sunrpc/pmap_rmt.c: Likewise.
88367         * sunrpc/publickey.c: Likewise.
88368         * sunrpc/rpc_cmsg.c: Likewise.
88369         * sunrpc/rpc_common.c: Likewise.
88370         * sunrpc/rpc_dtable.c: Likewise.
88371         * sunrpc/rpc_prot.c: Likewise.
88372         * sunrpc/rpc_thread.c: Likewise.
88373         * sunrpc/rtime.c: Likewise.
88374         * sunrpc/svc.c: Likewise.
88375         * sunrpc/svc_auth.c: Likewise.
88376         * sunrpc/svc_authux.c: Likewise.
88377         * sunrpc/svc_raw.c: Likewise.
88378         * sunrpc/svc_run.c: Likewise.
88379         * sunrpc/svc_simple.c: Likewise.
88380         * sunrpc/svc_tcp.c: Likewise.
88381         * sunrpc/svc_udp.c: Likewise.
88382         * sunrpc/svc_unix.c: Likewise.
88383         * sunrpc/svcauth_des.c: Likewise.
88384         * sunrpc/xcrypt.c: Likewise.
88385         * sunrpc/xdr.c: Likewise.
88386         * sunrpc/xdr_array.c: Likewise.
88387         * sunrpc/xdr_float.c: Likewise.
88388         * sunrpc/xdr_intXX_t.c: Likewise.
88389         * sunrpc/xdr_mem.c: Likewise.
88390         * sunrpc/xdr_rec.c: Likewise.
88391         * sunrpc/xdr_ref.c: Likewise.
88392         * sunrpc/xdr_sizeof.c: Likewise.
88393         * sunrpc/xdr_stdio.c: Likewise.
88395 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88397         [BZ #12650]
88398         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88399         * sysdeps/ia64/dl-tls.h: Likewise.
88400         * sysdeps/powerpc/dl-tls.h: Likewise.
88401         * sysdeps/s390/dl-tls.h: Likewise.
88402         * sysdeps/sh/dl-tls.h: Likewise.
88403         * sysdeps/sparc/dl-tls.h: Likewise.
88404         * sysdeps/x86_64/dl-tls.h: Likewise.
88405         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88407 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88409         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88410         rpath element also skip the following colon.
88411         (expand_dynamic_string_token): Add is_path parameter and pass
88412         down to DL_DST_REQUIRED and _dl_dst_substitute.
88413         (decompose_rpath): Call expand_dynamic_string_token with
88414         non-zero is_path.  Ignore empty rpaths.
88415         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88416         with zero is_path.
88418 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88421         Make cancelable.
88423 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88425         [BZ #12655]
88426         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88427         Patch by Filipe David Manana <fdmanana@apache.org>.
88429 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88431         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88432         Maintain aligned stack.
88433         (CHECK_RSP): Remove unused macro.
88435 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88437         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88438         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88440 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88442         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88444         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88446 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88448         [BZ #12518]
88449         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88450         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88451         * sysdeps/x86_64/memmove.c: New file.
88452         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88453         (memcpy): Renamed to ...
88454         (__new_memcpy): This.
88455         (memcpy): Provide GLIBC_2_14 memcpy.
88456         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88457         (memcpy): Provide GLIBC_2_2_5 memcpy.
88459 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88461         [BZ #12631]
88462         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88464 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88466         * misc/syncfs.c: New file.
88467         * misc/Makefile (routines): Add syncfs.
88468         * posix/unistd.h: Declare syncfs.
88469         * sysdeps/unix/syscalls.list: Add syncfs.
88471 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88473         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88474         open_by_handle_at.
88475         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88476         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88477         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88478         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88479         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88480         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88481         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88483 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88485         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88486         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88487         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88488         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88489         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88490         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88491         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88493         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88494         sync_file_range.c with -fexceptions.
88495         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88496         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88497         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88498         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88499         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88500         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88501         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88502         sync_file_range as cancellation point
88503         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88504         now a wrapper around __call_sync_file_range with cancellation handling.
88505         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88506         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88507         function name to __call_sync_file_range.
88508         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88509         Add call_sync_file_range.
88511 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88514         bits/timex.h.
88516 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88518         * iconv/iconv.h: Fix typo in comment.
88519         * io/fcntl.h: Likewise.
88520         * libio/stdio.h: Likewise.
88521         * posix/spawn.h: Likewise.
88522         * posix/unistd.h: Likewise.
88523         * stdlib/stdlib.h: Likewise.
88524         * time/time.h: Likewise.
88525         * wcsmbs/wchar.h: Likewise.
88527         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88528         open_by_handle): Add.
88529         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88530         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88531         Augment a few comments.
88532         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88534         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88537         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88538         open_by_handle.
88540         * io/fcntl.h (AT_EMPTY_PATH): Define.
88542 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88544         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88545         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88546         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88547         to...
88548         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88549         * Versions.def: Add GLIBC_2.14.
88550         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88551         Export.
88553 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88555         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88556         round counter.
88557         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88559 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88561         [BZ #12597]
88562         * string/test-strncmp.c (do_page_test): New function.
88563         (check2): Likewise.
88564         (test_main): Call check2.
88565         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88567 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88569         [BZ #12587]
88570         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88571         Handle cache information in CPU leaf 4.
88572         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88574 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88576         [BZ #12583]
88577         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88578         character representation.
88579         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88581 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88583         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88584         END(__isnan) to END(__isnanf) to match function entry point/label
88585         EALIGN(__isnanf,...).
88587 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88589         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88591 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88593         [BZ #12510]
88594         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88595         copy from the symbol referenced in the relocation to initialize the
88596         used variable.
88597         Patch by Piotr Bury <pbury@goahead.com>.
88598         * elf/Makefile: Add rules to build and tst-unique3.
88599         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88600         * elf/tst-unique3.cc: New file.
88601         * elf/tst-unique3.h: New file.
88602         * elf/tst-unique3lib.cc: New file.
88603         * elf/tst-unique3lib2.cc: New file.
88605         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88607 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88609         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88610         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88611         to _start.
88613 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88615         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88616         to-be-loaded object along a path to loader is ld.so.
88618 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88619             Ulrich Drepper  <drepper@gmail.com>
88621         * sysdeps/x86_64/memset.S: After aligning destination, code
88622         branches to different locations depending on the value of
88623         misalignment, when multiarch is enabled. Fix this.
88625 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88627         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88628         Set _x86_64_preferred_memory_instruction for AMD processsors.
88629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88630         Set bit_Prefer_SSE_for_memop for AMD processors.
88632 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88634         * libio/fmemopen.c (fmemopen): Optimize a bit.
88636 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88638         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88640 2011-03-03  Roland McGrath  <roland@redhat.com>
88642         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88644 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88646         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88647         __bzero_ultra1 instead of __memset_ultra1.
88649 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88650             Ulrich Drepper  <drepper@gmail.com>
88652         [BZ #12509]
88653         * include/link.h (struct link_map): Add l_orig_initfini.
88654         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88655         returning unsuccessfully.
88656         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88657         close of a file loaded at startup, restore the original l_initfini
88658         list.
88659         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88660         list, store the pointer.
88661         * elf/Makefile ($(objpfx)noload-mem): New rule.
88662         (noload-ENV): Define.
88663         (tests): Add $(objpfx)noload-mem.
88664         * elf/noload.c: Include <memcheck.h>.
88665         (main): Call mtrace.  Close all opened handles.
88667 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88669         [BZ #12454]
88670         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88671         dependencies are missing.
88673 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88675         Fix __if_freereq crash: Unlike the generic version which uses free,
88676         Hurd needs munmap.
88677         * sysdeps/mach/hurd/ifreq.h: New file.
88679 2011-01-27  Petr Baudis  <pasky@suse.cz>
88680             Ulrich Drepper  <drepper@gmail.com>
88682         [BZ 12445]#
88683         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88684         to extend_alloca().
88685         * stdio-common/bug23.c: New file.
88686         * stdio-common/Makefile (tests): Add bug23.
88688 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88689             Ulrich Drepper  <drepper@gmail.com>
88691         [BZ #12489]
88692         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88693         before performing relro protection.  At old place add assertion
88694         to make sure nothing changed.
88696 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88697             Glauber de Oliveira Costa  <glommer@gmail.com>
88699         * elf/elf.h: Add new ARM TLS relocs.
88701 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88704         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88705         cast from r3.
88706         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88707         'tests' variable.
88708         * sysdeps/wordsize-64/tst-writev.c: New file.
88710 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88712         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88713         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88714         insns in _dl_start to prevent a TOC reference before relocs are
88715         resolved.
88717 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88719         [BZ #12469]
88720         * Makeconfig: Remove RANLIB definition.
88721         * Makerules: Don't use RANLIB.
88722         * aclocal.m4: Remove ranlib test.
88723         * configure.in: No need to check for ranlib.
88724         * elf/rtld-Rules: Don't use RANLIB.
88726 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88728         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88729         protection macro.
88730         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88731         inclusion protection macro.
88733         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88734         SIGRTMIN and SIGRTMAX and print information in that case only when
88735         SIGRTMIN is defined.
88737 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88739         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88740         arginfo fn returning -1.
88742         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88743         and thousands string is zero terminated.
88745 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88747         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88748         sysdeps/unix/sysv/linux/bits/socket.h.
88750 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88752         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88753         (__CPU_COUNT): Remove old macros.
88754         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88755         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88756         (__CPU_ALLOC, __CPU_FREE): Add macros.
88757         (__sched_cpualloc, __sched_cpufree): Add declarations.
88759 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88761         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88762         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88763         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88764         (readdhstai): Return value of addhstaiX call.
88765         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88766         (addgrbyX): Return value returned by cache_addgr.
88767         (readdgrbyname): Return value returned by addgrbyX.
88768         (readdgrbygid): Likewise.
88769         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88770         (addpwbyX): Return value returned by cache_addpw.
88771         (readdpwbyname): Return value returned by addhstbyX.
88772         (readdpwbyuid): Likewise.
88773         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88774         (addservbyX): Return value returned by cache_addserv.
88775         (readdservbyname): Return value returned by addservbyX:
88776         (readdservbyport): Likewise.
88777         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88778         (addhstbyX): Return value returned by cache_addhst.
88779         (readdhstbyname): Return value returned by addhstbyX.
88780         (readdhstbyaddr): Likewise.
88781         (readdhstbynamev6): Likewise.
88782         (readdhstbyaddrv6): Likewise.
88783         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88784         (readdinitgroups): Return value returned by addinitgroupsX.
88785         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88786         (prune_cache): Keep track of timeout value of re-added entries.
88787         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88788         * nscd/nscd.h: Adjust prototypes of readd* functions.
88790 2011-02-04  Roland McGrath  <roland@redhat.com>
88792         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88793         (nis_stats): Likewise.
88794         * nis/nis_modify.c (nis_modify): Likewise.
88795         * nis/nis_remove.c (nis_remove): Likewise.
88796         * nis/nis_add.c (nis_add): Likewise.
88798         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88800         * posix/fnmatch_loop.c: Add some consts.
88802         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88804 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88806         [BZ #12460]
88807         * config.make.in (config-cflags-novzeroupper): Define.
88808         * configure.in: Substitute libc_cv_cc_novzeroupper.
88809         * elf/Makefile (AVX-CFLAGS): Define.
88810         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88811         (CFLAGS-tst-auditmod4a.c): Likewise.
88812         (CFLAGS-tst-auditmod4b.c): Likewise.
88813         (CFLAGS-tst-auditmod6b.c): Likewise.
88814         (CFLAGS-tst-auditmod6c.c): Likewise.
88815         (CFLAGS-tst-auditmod7b.c): Likewise.
88816         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88818 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88820         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88821         function to the callback.
88822         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88824 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88826         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88827         of errno.
88829 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88831         [BZ #11724]
88832         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88833         of constructors.
88834         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88835         of destructors.
88836         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88838         [BZ #11724]
88839         * elf/Makefile: Add rules to build and run new test.
88840         * elf/tst-initorder.c: New file.
88841         * elf/tst-initorder.exp: New file.
88842         * elf/tst-initordera1.c: New file.
88843         * elf/tst-initordera2.c: New file.
88844         * elf/tst-initordera3.c: New file.
88845         * elf/tst-initordera4.c: New file.
88846         * elf/tst-initorderb1.c: New file.
88847         * elf/tst-initorderb2.c: New file.
88848         * elf/tst-order-a1.c: New file.
88849         * elf/tst-order-a2.c: New file.
88850         * elf/tst-order-a3.c: New file.
88851         * elf/tst-order-a4.c: New file.
88852         * elf/tst-order-b1.c: New file.
88853         * elf/tst-order-b2.c: New file.
88854         * elf/tst-order-main.c: New file.
88855         New test case by George Gensure <werkt0@gmail.com>.
88857 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88860         decoding ACE if AI_CANONIDN.
88862 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88864         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88866 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88868         * version.h (RELEASE): Bump for 2.13 release.
88869         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88871         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88873         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88874         MADV_NOHUGEPAGE.
88875         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88876         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88877         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88878         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88879         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88880         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88882         * posix/getconf.c: Update copyright year.
88883         * catgets/gencat.c: Likewise.
88884         * csu/version.c: Likewise.
88885         * debug/catchsegv.sh: Likewise.
88886         * debug/xtrace.sh: Likewise.
88887         * elf/ldconfig.c: Likewise.
88888         * elf/ldd.bash.in: Likewise.
88889         * elf/sprof.c (print_version): Likewise.
88890         * iconv/iconv_prog.c: Likewise.
88891         * iconv/iconvconfig.c: Likewise.
88892         * locale/programs/locale.c: Likewise.
88893         * locale/programs/localedef.c: Likewise.
88894         * malloc/memusage.sh: Likewise.
88895         * malloc/mtrace.pl: Likewise.
88896         * nscd/nscd.c (print_version): Likewise.
88897         * nss/getent.c: Likewise.
88899         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88900         PF_CAIF, and PF_ALG.
88901         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88903 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88905         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88906         (modules-names): Use them.
88907         (ifunc-test-modules, ifunc-pie-tests): Define.
88908         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88909         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88910         (test-extras): Likewise.
88911         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88912         $(compile-command.c).
88913         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88914         (all-built-dso): Define.
88915         (check-textrel.out, check-execstack.out): Depend on it.
88917         * configure.in: Don't override --enable-multi-arch.
88919 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88921         [BZ #6812]
88922         * nscd/hstcache.c (tryagain): Define.
88923         (cache_addhst): Return tryagain not notfound for temporary errors.
88924         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88925         failed.
88927 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88929         [BZ #10563]
88930         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88931         to make the syscall.
88932         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88934         [BZ #12378]
88935         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88936         and fall back to matching as normal character if the string ends before
88937         the matching ']' is found.  This is what POSIX requires.
88938         * posix/testfnm.c: Adjust test result.
88939         * posix/globtest.sh: Adjust test result.  Add new test.
88940         * posix/tst-fnmatch.input: Likewise.
88941         * posix/tst-fnmatch2.c: Add new test.
88943 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88945         * elf/Makefile (check-execstack): Revert last change.  Depend on
88946         check-execstack.h.
88947         (check-execstack.h): New target.
88948         (generated): Add check-execstack.h.
88949         * elf/check-execstack.c: Include "check-execstack.h".
88950         (main): Revert last change.
88951         (handle_file): Return zero if GNU_STACK is absent and
88952         DEFAULT_STACK_PERMS doesn't include PF_X.
88954 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88956         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88957         in child fails because the descriptor is already closed.
88958         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88959         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88960         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88962         [BZ #12397]
88963         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88964         syscall.
88966         [BZ #10484]
88967         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88968         temporary buffer used to handle multi lookups locally.
88969         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88971 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88973         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88974         loader is ld.so.
88976 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88978         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88979         alignment for SSE2.
88981 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88983         [BZ #12394]
88984         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88985         characters.  When rounding increased number of integer digits recompute
88986         number of groups.
88987         * stdio-common/tst-grouping.c: New file.
88988         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88990 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88992         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88993         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88995         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88996         void.
88997         * bits/select.h: Likewise.
88999 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89001         * po/ja.po: Update from translation team.
89003 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89005         [BZ #11155]
89006         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89007         implementation just like for lxstat, fxstatat, et al.
89009 2010-12-27  Jim Meyering  <meyering@redhat.com>
89011         [BZ #12348]
89012         * posix/regexec.c (build_trtable): Return failure indication upon
89013         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89015 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89017         [BZ #12201]
89018         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89019         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89020         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89021         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89023         [BZ #12207]
89024         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89026         [BZ #12204]
89027         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89028         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89030 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89032         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89033         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89034         script has SORT_BY_INIT_PRIORITY.
89035         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89036         NO_CTORS_DTORS_SECTIONS is defined.
89037         * elf/soinit.c: Likewise.
89038         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89039         NO_CTORS_DTORS_SECTIONS is defined.
89040         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89041         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89042         * sysdeps/sh/init-first.c: Likewise.
89043         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89045 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89047         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89048         always use the slow path.
89050 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89052         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89053         similar rule which adds the sysdep directories to the header search in
89054         order to pick up the correct platform stackinfo.h.
89055         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89056         perform test if it is, otherwise return successfully without testing.
89057         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89058         DEFAULT_STACK_PERMS define in stackinfo.h.
89059         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89060         defined in stackinfo.h.
89061         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89062         DEFAULT_STACK_PERMS defined in stackinfo.h.
89063         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89064         * sysdeps/ia64/stackinfo.h: Likewise.
89065         * sysdeps/s390/stackinfo.h: Likewise.
89066         * sysdeps/sh/stackinfo.h: Likewise.
89067         * sysdeps/sparc/stackinfo.h: Likewise.
89068         * sysdeps/x86_64/stackinfo.h: Likewise.
89069         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89070         PF_X for powerpc64.  Retain PF_X for powerpc32.
89072 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89074         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89075         accurately.
89076         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89077         GETDENTS_64BIT_ALIGNED.
89079 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89081         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89083 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89085         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89086         _GNU_SOURCE.
89088         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89089         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89090         Remove __restrict.
89091         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89092         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89094 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89096         [BZ #11655]
89097         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89098         are initialized.
89100 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89102         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89104 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89106         * po/it.po: Update from translation team.
89108 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89111         unused codes.
89113 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89115         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89117 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89119         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89120         specially.
89121         (gaih_getanswer_slice): Likewise.
89123 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89125         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89127 2010-05-31  Petr Baudis  <pasky@suse.cz>
89129         [BZ #11149]
89130         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89131         silently even in the chroot mode.
89133 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89135         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89136         last patch a bit.  Pretty printing
89138 2010-05-31  Petr Baudis <pasky@suse.cz>
89140         [BZ #10085]
89141         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89142         initialization of skip_initgroups_dyn.
89144 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89146         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89147         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89149 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89151         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89153 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89155         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89156         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89157         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89158         ($(objpfx)tst-fnmatch-mem): New rule.
89159         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89160         * posix/tst-fnmatch.c (main): Call mtrace.
89162 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89165         Support Intel processor model 6 and model 0x2c.
89167 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89169         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89170           signed comparison.
89172 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89174         [BZ #12205]
89175         * string/test-strncasecmp.c (check_result): New function.
89176         (do_one_test): Use it.
89177         (check1): New function.
89178         (test_main): Use it.
89179         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89180         Support strcasecmp and strncasecmp.
89182 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89184         [BZ #12194]
89185         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89186         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89188 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89190         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89191         IFUNC support.
89192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89193         memset-x86-64.
89194         * sysdeps/x86_64/multiarch/bzero.S: New file.
89195         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89196         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89197         * sysdeps/x86_64/multiarch/memset.S: New file.
89198         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89200         Set bit_Prefer_SSE_for_memop for Intel processors.
89201         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89202         Define.
89203         (index_Prefer_SSE_for_memop): Define.
89204         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89206 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89208         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89209         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89211 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89213         [BZ #12191]
89214         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89215         (__x86_64_raw_data_cache_size_half): Likewise.
89216         (__x86_64_raw_shared_cache_size): Likewise.
89217         (__x86_64_raw_shared_cache_size_half): Likewise.
89219         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89220         (__x86_64_raw_data_cache_size_half): Likewise.
89221         (__x86_64_raw_shared_cache_size): Likewise.
89222         (__x86_64_raw_shared_cache_size_half): Likewise.
89223         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89224         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89225         and __x86_64_raw_shared_cache_size_half.  Round
89226         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89227         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89228         to multiple of 256 bytes.
89230 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89232         [BZ #12167]
89233         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89234         of inacessible symlinks.  Verify result of symlink before returning it.
89235         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89236         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89238 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89240         * math/math.h (isinf): Fix typo in comment.
89242 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89244         * po/da.po: Update from translation team.
89246 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89248         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89249         is added to the list.
89251 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89252             Ulrich Drepper  <drepper@gmail.com>
89254         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89255         the global list here.  Move code to...
89256         (_dl_add_to_namespace_list): ...here.  New function.
89257         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89258         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89259         * elf/dl-load.c (lose): Don't remove the element from the list.
89260         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89261         (_dl_map_object): Likewise.
89263 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89265         [BZ #12159]
89266         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89267         into all bytes of SSE register.
89268         Patch by Richard Li <richardpku@gmail.com>.
89270 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89272         [BZ #12140]
89273         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89274         perturbing.
89276 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89278         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89279         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89280         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89281         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89283         submachine.
89284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89286 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89288         * include/dlfcn.h (__RTLD_SECURE): Define.
89289         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89290         mode & __RTLD_SECURE instead.
89291         (open_path): Rename preloaded parameter to secure.
89292         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89293         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89294         * elf/dl-deps.c (openaux): Likewise.
89295         * elf/rtld.c (struct map_args): Remove is_preloaded.
89296         (map_doit): Don't use it.
89297         (dl_main): Likewise.
89298         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89299         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89301 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89303         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89304         (sysd-rules-targets): Remove duplicates.
89305         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89306         rtld-%.$o dependency.
89308 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89310         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89311         _dl_map_object do it.
89313 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89315         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89316         fast fma builtins, define the macros in the C99 standard.
89317         (FP_FAST_FMAF): Likewise.
89318         (FP_FAST_FMAL): Likewise.
89319         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89321         * bits/mathdef.h: Update copyright year.
89322         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89324 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89326         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89327         builtins, define the macros in the C99 standard.
89328         (FP_FAST_FMAF): Likewise.
89329         (FP_FAST_FMAL): Likewise.
89330         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89331         multiply/add.
89332         (FP_FAST_FMAF): Likewise.
89334 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89336         [BZ #3268]
89337         * math/libm-test.inc (fma_test): Some new testcases.
89338         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89339         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89340         y and infinite z.  Do multiplication by C already in long double.
89341         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89343         y and infinite z.  Do bitwise or of inexact bit into u.d.
89344         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89345         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89346         * sysdeps/i386/fpu/s_fma.S: Removed.
89347         * sysdeps/i386/fpu/s_fmal.S: Removed.
89349 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89351         [BZ #3268]
89352         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89353         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89354         computation is not scheduled after fetestexcept.  Fix value
89355         of minimum denormal long double.
89357 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89359         [BZ #3268]
89360         * math/libm-test.inc (fma_test): Add some more tests.
89361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89362         correctly.
89364 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89366         * scripts/data/localplt-s390-linux-gnu.data: New file.
89367         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89369 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89371         [BZ #3268]
89372         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89373         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89374         instead of dbl-64.
89375         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89376         inlines.
89377         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89379         if one of x and y is very large and the other is subnormal.
89380         * sysdeps/s390/fpu/s_fmaf.c: New file.
89381         * sysdeps/s390/fpu/s_fma.c: New file.
89382         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89383         * sysdeps/powerpc/fpu/s_fma.S: New file.
89384         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89385         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89386         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89388 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89390         [BZ #3268]
89391         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89392         fma tests.
89393         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89394         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89395         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89396         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89397         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89398         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89399         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89401 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89403         [BZ #12078]
89404         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89405         * posix/bug-regex31.input: Add test case.
89407 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89409         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89410         * posix/bug-regex31.input: New file.
89412         [BZ #12078]
89413         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89414         (parse_sub_exp): Fix last change, use postorder.
89416         * posix/bug-regex31.c: New file.
89417         * posix/Makefile: Add rules to build and run bug-regex31.
89419         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89421         [BZ #12078]
89422         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89424         [BZ #12108]
89425         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89426         to have entries in sys_siglist.
89428         [BZ #12093]
89429         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89430         be NULL.
89432 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89434         [BZ #3268]
89435         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89436         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89437         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89438         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89439         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89440         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89441         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89442         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89443         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89444         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89445         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89446         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89447         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89448         * math/ftestexcept.c (fetestexcept): Likewise.
89449         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89450         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89451         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89452         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89453         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89454         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89455         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89457 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89459         [BZ #12107]
89460         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89461         newline.
89463 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89465         * string/bug-strstr1.c: New file.
89466         * string/Makefile: Add rules to build and run bug-strstr1.
89468 2010-10-05  Eric Blake  <eblake@redhat.com>
89470         [BZ #12092]
89471         * string/str-two-way.h (two_way_long_needle): Always clear memory
89472         when skipping input due to the shift table.
89474 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89476         [BZ #12005]
89477         * malloc/mcheck.c: Handle large requests.
89479         [BZ #12077]
89480         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89481         for strncmp and strncasecmp.
89482         * string/stratcliff.c: Add tests for strcmp and strncmp.
89483         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89485 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89487         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89488         __set_fpscr.
89490 2010-09-30  Andreas Jaeger  <aj@suse.de>
89492         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89493         (CGROUP_SUPER_MAGIC): Define.
89494         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89495         Handle btrfs and cgroup file systems.
89496         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89497         Likewise.
89499 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89501         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89502         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89504 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89506         [BZ #12067]
89507         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89508         trying to locate the ELF header.
89510 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89512         [BZ #11611]
89513         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89514         Mask out sign-bit copies when constructing f_fsid.
89516 2010-09-24  Petr Baudis <pasky@suse.cz>
89518         * debug/stack_chk_fail_local.c: Add missing licence exception.
89519         * debug/warning-nop.c: Likewise.
89521 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89523         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89524         implementing getdents64 using getdents syscall, set d_type if
89525         __ASSUME_GETDENTS32_D_TYPE.
89527 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89529         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89530         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89532 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89534         [BZ #12037]
89535         * posix/unistd.h: Undo change of feature selection for ftruncate from
89536         2010-01-11.
89538 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89540         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89541         detection.
89543 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89545         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89546         fanotify_mark.
89547         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89549 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89551         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89552         variables after CHECK_SP call.
89553         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89555 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89556             Ulrich Drepper  <drepper@redhat.com>
89558         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89559         re-relocationg ld.so.
89560         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89561         _dl_init_paths call.
89562         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89563         here anymore.
89565 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89567         * resolv/res_init.c (__res_vinit): Count the default server we added.
89569 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89570             Ulrich Drepper  <drepper@redhat.com>
89572         [BZ #11968]
89573         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89574         (____longjmp_chk): Use %ebx for saving value across system call.
89575         Add unwind info.
89577 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89579         * manual/Makefile: Don't mix pattern rules with normal rules.
89581 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89583         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89584         operation.
89585         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89586         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89587         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89588         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89590         Likewise.
89592 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89594         [BZ #11979]
89595         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89596         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89598 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89600         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89601         * sysdeps/x86_64/addmul_1.S: Likewise.
89602         * sysdeps/x86_64/lshift.S: Likewise.
89603         * sysdeps/x86_64/mul_1.S: Likewise.
89604         * sysdeps/x86_64/rshift.S: Likewise.
89605         * sysdeps/x86_64/sub_n.S: Likewise.
89606         * sysdeps/x86_64/submul_1.S: Likewise.
89608 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89610         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89611         Define __sched_param instead of SCHED_* and sched_param when
89612         <bits/sched.h> is included with __need_schedparam defined.
89613         * bits/sched.h [__need_schedparam]
89614         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89615         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89616         (__defined_schedparam): Define to 1.
89617         (__sched_param): New structure, identical to sched_param.
89618         (__need_schedparam): Undefine.
89620 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89622         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89623         (epoll_create1): Declare.
89625         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89627 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89629         [BZ #7066]
89630         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89631         shifting retval into place.
89633 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89635         * nis/rpcsvc/nis.h: Update copyright notice.
89636         * nis/rpcsvc/nis.x: Likewise.
89637         * nis/rpcsvc/nis_callback.h: Likewise.
89638         * nis/rpcsvc/nis_callback.x: Likewise.
89639         * nis/rpcsvc/nis_object.x: Likewise.
89640         * nis/rpcsvc/nis_tags.h: Likewise.
89641         * nis/rpcsvc/yp.h: Likewise.
89642         * nis/rpcsvc/yp.x: Likewise.
89643         * nis/rpcsvc/ypupd.h: Likewise.
89644         * nis/yp_xdr.c: Likewise.
89645         * nis/ypupdate_xdr.c: Likewise.
89647         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89648         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89649         (pmap_getport): Use __libc_rpc_getport.
89650         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89651         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89652         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89654 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89657         fanotify_mark.
89659 2010-08-27  Roland McGrath  <roland@redhat.com>
89661         * sysdeps/i386/i686/multiarch/Makefile
89662         (CFLAGS-varshift.c): New variable.
89664 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89666         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89667         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89669         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89671         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89673 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89675         * sysdeps/x86_64/strlen.S: Unroll the loop.
89676         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89677         strlen-sse2 strlen-sse2-bsf.
89678         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89679         __strlen_no_bsf if bit_Slow_BSF is set.
89680         (__strlen_sse42): Removed.
89681         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89682         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89684 2010-08-25  Roland McGrath  <roland@redhat.com>
89686         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89687         * sysdeps/x86_64/multiarch/varshift.c: New file.
89688         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89689         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89690         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89691         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89693 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89696         strlen-sse2 strlen-sse2-bsf.
89697         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89698         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89699         (__strlen_sse2): Removed.
89700         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89701         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89703         bit_Slow_BSF for Atom.
89704         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89705         (index_Slow_BSF): Define.
89706         (HAS_SLOW_BSF): Define.
89708 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89710         [BZ #10851]
89711         * resolv/res_init.c (__res_vinit): When no server address at all
89712         is given default to loopback.
89714 2010-08-24  Roland McGrath  <roland@redhat.com>
89716         * configure.in: Remove config-name.h generation.
89717         * configure: Regenerated.
89718         * config-name.in: File removed.
89719         * scripts/config-uname.sh: New file.
89720         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89721         ($(objdir)config-name.h): New target.
89723         * sunrpc/rpc_parse.h: Avoid nested comment.
89725 2010-08-24  Richard Henderson  <rth@redhat.com>
89726             Ulrich Drepper  <drepper@redhat.com>
89727             H.J. Lu  <hongjiu.lu@intel.com>
89729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89731         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89732         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89733         _mm_alignr_epi8 with _mm_loadu_si128.
89734         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89735         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89736         (__m128i_shift_right): Removed.
89737         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89738         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89739         * sysdeps/x86_64/multiarch/varshift.h: New file.
89740         * sysdeps/x86_64/multiarch/varshift.S: New file.
89742 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89744         * configure.in: Move assembler checks to before sysdep dir checking.
89746 2010-08-20  Petr Baudis  <pasky@suse.cz>
89748         * LICENSES: Sync the sunrpc license.
89750 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89752         * sunrpc/auth_des.c: Update copyright notice once again.
89753         * sunrpc/auth_none.c: Likewise.
89754         * sunrpc/auth_unix.c: Likewise.
89755         * sunrpc/authdes_prot.c: Likewise.
89756         * sunrpc/authuxprot.c: Likewise.
89757         * sunrpc/bindrsvprt.c: Likewise.
89758         * sunrpc/clnt_gen.c: Likewise.
89759         * sunrpc/clnt_perr.c: Likewise.
89760         * sunrpc/clnt_raw.c: Likewise.
89761         * sunrpc/clnt_simp.c: Likewise.
89762         * sunrpc/clnt_tcp.c: Likewise.
89763         * sunrpc/clnt_udp.c: Likewise.
89764         * sunrpc/clnt_unix.c: Likewise.
89765         * sunrpc/des_crypt.c: Likewise.
89766         * sunrpc/des_soft.c: Likewise.
89767         * sunrpc/get_myaddr.c: Likewise.
89768         * sunrpc/getrpcport.c: Likewise.
89769         * sunrpc/key_call.c: Likewise.
89770         * sunrpc/key_prot.c: Likewise.
89771         * sunrpc/openchild.c: Likewise.
89772         * sunrpc/pm_getmaps.c: Likewise.
89773         * sunrpc/pm_getport.c: Likewise.
89774         * sunrpc/pmap_clnt.c: Likewise.
89775         * sunrpc/pmap_prot.c: Likewise.
89776         * sunrpc/pmap_prot2.c: Likewise.
89777         * sunrpc/pmap_rmt.c: Likewise.
89778         * sunrpc/rpc/auth.h: Likewise.
89779         * sunrpc/rpc/auth_unix.h: Likewise.
89780         * sunrpc/rpc/clnt.h: Likewise.
89781         * sunrpc/rpc/des_crypt.h: Likewise.
89782         * sunrpc/rpc/key_prot.h: Likewise.
89783         * sunrpc/rpc/netdb.h: Likewise.
89784         * sunrpc/rpc/pmap_clnt.h: Likewise.
89785         * sunrpc/rpc/pmap_prot.h: Likewise.
89786         * sunrpc/rpc/pmap_rmt.h: Likewise.
89787         * sunrpc/rpc/rpc.h: Likewise.
89788         * sunrpc/rpc/rpc_des.h: Likewise.
89789         * sunrpc/rpc/rpc_msg.h: Likewise.
89790         * sunrpc/rpc/svc.h: Likewise.
89791         * sunrpc/rpc/svc_auth.h: Likewise.
89792         * sunrpc/rpc/types.h: Likewise.
89793         * sunrpc/rpc/xdr.h: Likewise.
89794         * sunrpc/rpc_clntout.c: Likewise.
89795         * sunrpc/rpc_cmsg.c: Likewise.
89796         * sunrpc/rpc_common.c: Likewise.
89797         * sunrpc/rpc_cout.c: Likewise.
89798         * sunrpc/rpc_dtable.c: Likewise.
89799         * sunrpc/rpc_hout.c: Likewise.
89800         * sunrpc/rpc_main.c: Likewise.
89801         * sunrpc/rpc_parse.c: Likewise.
89802         * sunrpc/rpc_parse.h: Likewise.
89803         * sunrpc/rpc_prot.c: Likewise.
89804         * sunrpc/rpc_sample.c: Likewise.
89805         * sunrpc/rpc_scan.c: Likewise.
89806         * sunrpc/rpc_scan.h: Likewise.
89807         * sunrpc/rpc_svcout.c: Likewise.
89808         * sunrpc/rpc_tblout.c: Likewise.
89809         * sunrpc/rpc_util.c: Likewise.
89810         * sunrpc/rpc_util.h: Likewise.
89811         * sunrpc/rpcinfo.c: Likewise.
89812         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89813         * sunrpc/rpcsvc/key_prot.x: Likewise.
89814         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89815         * sunrpc/rpcsvc/mount.x: Likewise.
89816         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89817         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89818         * sunrpc/rpcsvc/rex.x: Likewise.
89819         * sunrpc/rpcsvc/rstat.x: Likewise.
89820         * sunrpc/rpcsvc/rusers.x: Likewise.
89821         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89822         * sunrpc/rpcsvc/spray.x: Likewise.
89823         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89824         * sunrpc/rtime.c: Likewise.
89825         * sunrpc/svc.c: Likewise.
89826         * sunrpc/svc_auth.c: Likewise.
89827         * sunrpc/svc_authux.c: Likewise.
89828         * sunrpc/svc_raw.c: Likewise.
89829         * sunrpc/svc_run.c: Likewise.
89830         * sunrpc/svc_simple.c: Likewise.
89831         * sunrpc/svc_tcp.c: Likewise.
89832         * sunrpc/svc_udp.c: Likewise.
89833         * sunrpc/svc_unix.c: Likewise.
89834         * sunrpc/svcauth_des.c: Likewise.
89835         * sunrpc/xcrypt.c: Likewise.
89836         * sunrpc/xdr.c: Likewise.
89837         * sunrpc/xdr_array.c: Likewise.
89838         * sunrpc/xdr_float.c: Likewise.
89839         * sunrpc/xdr_mem.c: Likewise.
89840         * sunrpc/xdr_rec.c: Likewise.
89841         * sunrpc/xdr_ref.c: Likewise.
89842         * sunrpc/xdr_sizeof.c: Likewise.
89843         * sunrpc/xdr_stdio.c: Likewise.
89845         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89846         handling.
89848 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89850         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89852 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89854         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89855         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89856         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89857         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89858         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89859         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89860         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89861         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89862         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89863         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89864         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89865         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89866         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89867         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89869 2010-07-26  Anton Blanchard  <anton@samba.org>
89871         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89872         * malloc/arena.c (heap_trim): Likewise.
89874 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89876         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89877         here.  Not...
89878         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89879         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89881 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89883         * sysdeps/i386/elf/Makefile: New file.
89885 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89887         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89888         from fanotify_init.
89889         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89890         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89892 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89894         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89895         of strncasecmp_l.
89896         * sysdeps/multiarch/strcmp.S: Likewise.
89898 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89900         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89901         strncase_l-nonascii.
89902         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89903         Add strncase_l-ssse3.
89904         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89905         * sysdeps/x86_64/strcmp.S: Likewise.
89906         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89907         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89908         * sysdeps/x86_64/strncase.S: New file.
89909         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89910         * sysdeps/x86_64/strncase_l.S: New file.
89911         * string/Makefile (strop-tests): Add strncasecmp.
89912         * string/test-strncasecmp.c: New file.
89914         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89915         warning.
89917         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89918         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89920 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89922         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89924 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89926         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89927         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89928         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89930 2010-05-01  Alan Modra  <amodra@gmail.com>
89932         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89933         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89934         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89935         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89936         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89937         tidying.  Don't tail-call __sigjmp_save for static lib.
89938         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89939         save location.
89940         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89941         (CALL_MCOUNT): Add eh info, and nop after bl.
89942         (TAIL_CALL_SYSCALL_ERROR): New macro.
89943         (PSEUDO_RET): Use it.
89944         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89945         Correct save location of integer regs and cr.
89946         (_dl_profile_resolve): Correct cr save location.  Delete nops
89947         after bl when SHARED.  Reduce cfi size a little by better
89948         placement of cfi directives.
89949         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89950         make a stack frame.  Instead use parm save area as a temp.
89951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89952         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89954         Don't make a stack frame for parent, use parm save area.
89955         Increase child stack frame to 112 bytes.  Don't save unused reg,
89956         and adjust reg usage.  Set up cfi on error recovery and
89957         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89959         (__makecontext): Add dummy nop after jump to exit.
89960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89961         Use correct parm save area and cr save, reduce stack frame.
89962         Correct cfi for possible PSEUDO_RET frame setup.
89963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89964         Branch to local label emitted by PSEUDO_RET rather than
89965         __syscall_error.
89967 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89969         [BZ #11904]
89970         * locale/programs/locale.c (print_assignment): New function.
89971         (show_locale_vars): Use it.
89973 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89975         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89976         field.
89977         (struct statfs64): Likewise.
89978         (_STATFS_F_FLAGS): Define.
89979         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89980         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89981         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89982         (ST_VALID): Define locally.
89983         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89984         __statvfs_getflags, use the provided value.
89985         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89986         __ASSUME_STATFS_F_FLAGS.
89988         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89990         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89991         Add sys/fanotify.h.
89992         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89993         fanotify_mask for GLIBC_2.13.
89994         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89995         fanotify_init and fanotify_mark.
89996         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89997         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89999         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90000         Add prlimit.
90001         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90002         prlimit64 for GLIBC_2.13.
90003         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90004         prlimit64.
90005         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90006         syscall.
90007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90008         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90009         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90010         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90011         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90012         add prlimit alias.
90013         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90015         [BZ #11903]
90016         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90017         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90019         * nss/Makefile: Add rules to build and run tst-nss-test1.
90020         * shlib-versions: Add entry for libnss_test1.
90021         * nss/nss_test1.c: New file.
90022         * nss/tst-nss-test1.c: New file.
90024         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90025         (__nss_configure_lookup): Set appropriate entry in
90026         __nss_configure_lookup to true.
90027         * nss/nsswitch.h: Define enum with indeces of databases in
90028         databases and __nss_database_custom arrays.  Declare
90029         __nss_database_custom.
90030         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90031         to avoid using nscd when custom rules are installed.
90032         * nss/getXXbyYY_r.c: Likewise.
90033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90035         * nss/nss_files/files-parse.c: Whitespace fixes.
90037 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90039         [BZ #11883]
90040         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90041         * posix/fnmatch_loop.c: Likewise.
90043 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90045         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90046         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90047         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90048         * Versions.def [GLIBC_2.13]: Add.
90050 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90052         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90053         Also fail if tpwd after pwuid call is NULL.
90055 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90057         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90058         when converting to ms.
90060 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90062         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90063         EOPNOTSUPP errors with ENOTTY.
90064         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90065         EOPNOTSUPP errors with ENOTTY.
90067 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90069         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90070         Add strcasecmp_l-ssse3.
90071         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90072         strcasecmp.
90073         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90074         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90075         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90077 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90079         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90081         * string/Makefile (strop-tests): Add strcasecmp.
90082         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90083         strcasecmp_l-nonascii.
90084         (gen-as-const-headers): Add locale-defines.sym.
90085         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90086         * sysdeps/x86_64/strcasecmp.S: New file.
90087         * sysdeps/x86_64/strcasecmp_l.S: New file.
90088         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90089         * sysdeps/x86_64/locale-defines.sym: New file.
90090         * string/test-strcasecmp.c: New file.
90092         * string/test-strcasestr.c: Test both ends of the range of characters.
90093         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90095 2010-07-29  Roland McGrath  <roland@redhat.com>
90097         [BZ #11856]
90098         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90100 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90102         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90103         for ld.so.
90105 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90107         * manual/memory.texi (Malloc Tunable Parameters): Document
90108         M_PERTURB.
90110 2010-07-26  Roland McGrath  <roland@redhat.com>
90112         [BZ #11840]
90113         * configure.in (-fgnu89-inline check): Set and substitute
90114         gnu89_inline, not libc_cv_gnu89_inline.
90115         * configure: Regenerated.
90116         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90118 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90120         * string/test-strnlen.c: New file.
90121         * string/Makefile (strop-tests): Add strnlen.
90122         * string/tester.c (test_strnlen): Add a few more test cases.
90123         * string/tst-strlen.c: Better error reporting.
90125         * sysdeps/x86_64/strnlen.S: New file.
90127 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90129         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90130         lower-latency instructions.
90132 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90134         * string/test-strcasestr.c: New file.
90135         * string/test-strstr.c: New file.
90136         * string/Makefile (strop-tests): Add strstr and strcasestr.
90137         * string/str-two-way.h: Don't undefine MAX.
90138         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90140 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90143         strcasestr-nonascii.
90144         (CFLAGS-strcasestr-nonascii.c): Define.
90145         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90146         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90147         Remove unused attribute.
90149 2010-07-20  Roland McGrath  <roland@redhat.com>
90151         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90152         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90153         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90154         like LD_HWCAP_MASK can disable hwcaps.
90156 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90158         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90160 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90162         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90163         call in strcasestr.
90164         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90165         __strcasestr_sse42_nonascii.
90166         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90167         strcasestr-nonascii.c.
90168         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90170 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90172         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90173         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90174         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90175         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90177 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90179         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90180         fcntl.
90182 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90184         [BZ #11577]
90185         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90186         dl_signal_cerror.
90188 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90190         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90191         _PC_PIPE_BUF using F_GETPIPE_SZ.
90193 2010-07-05  Roland McGrath  <roland@redhat.com>
90195         * manual/arith.texi (Rounding Functions): Fix rint description
90196         implicit in round description.
90198 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90200         * elf/Makefile: Fix linking for a few tests to make recent linker
90201         happy.
90203 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90205         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90206         $(common-objpfx)libc_nonshared.a.
90208 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90210         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90211         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90212         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90213         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90214         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90215         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90216         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90217         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90232         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90233         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90234         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90235         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90236         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90237         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90238         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90239         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90240         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90241         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90242         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90243         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90259 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90261         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90262         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90263         * string/memmove.c (memmove): Renamed to ...
90264         (MEMMOVE): ...this.  Default to memmove.
90265         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90266         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90267         (END_CHK): Define.
90268         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90269         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90270         mempcpy-ssse3-back memmove-ssse3-back.
90271         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90272         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90273         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90274         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90275         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90276         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90277         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90278         * sysdeps/x86_64/multiarch/memmove.c: New file.
90279         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90280         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90281         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90282         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90283         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90284         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90285         Define.
90286         (index_Fast_Copy_Backward): Define.
90287         (HAS_ARCH_FEATURE): Define.
90288         (HAS_FAST_REP_STRING): Define.
90289         (HAS_FAST_COPY_BACKWARD): Define.
90291 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90293         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90294         Restore proper fallback handling.
90296 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90298         [BZ #11701]
90299         * posix/group_member.c (__group_member): Correct checking loop.
90301         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90302         OOM in getpwuid_r correctly.  Return error number when the caller
90303         should return, otherwise -1.
90304         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90305         call returning > 0 value.
90306         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90308 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90310         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90311         libc_nonshared.a from targets in modules-names.
90313 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90315         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90316         requires it.
90318 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90320         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90321         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90322         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90323         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90325 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90327         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90329 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90331         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90332         and F_GETPIPE_SZ.
90333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90334         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90335         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90337         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90338         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90340 2010-06-14  Roland McGrath  <roland@redhat.com>
90342         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90344 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90346         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90347         __REDIRECT followed by __THROW.
90348         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90349         * posix/getopt.h (getopt): Likewise.
90351 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90353         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90354         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90355         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90356         in AT_FLAGS.
90357         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90358         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90360 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90364 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90366         [BZ #11640]
90367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90368         Properly check family and model.
90370 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90372         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90374 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90376         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90378 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90380         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90381         symbol reference.
90383 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90385         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90386         symbol reference.
90388 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90390         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90391         and internal_recvmmsg.
90392         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90393         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90394         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90395         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90397         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90398         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90399         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90401 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90403         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90405 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90407         POWER7 optimizations.
90408         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90409         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90411 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90413         * version.h: Update for 2.13 development version.
90415 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90417         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90418         exceptions.  Return 0.
90420 2010-05-07  Roland McGrath  <roland@redhat.com>
90422         * elf/ldconfig.c (main): Add a const.
90424 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90426         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90427         (args_options): Add no-idn option.
90428         (ahosts_keys_int): Add idn_flags to ai_flags.
90429         (parse_option): Handle 'i' option to clear idn_flags.
90431         * malloc/malloc.c (_int_free): Possible race in the most recently
90432         added check.  Only act on the data if no current modification
90433         happened.
90435 See ChangeLog.17 for earlier changes.