Macroize function declarations in math_private.h
[glibc.git] / ChangeLog
blob2f72e4bfe4c0f5d4664454ea97910effc68568ce
1 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3         * sysdeps/generic/math_private.h: Move the declaration of many
4         functions to sysdeps/generic/math_private_calls.h.
5         * sysdeps/generic/math_private_calls.h: New file with the
6         declarations of the functions removed from math_private.h
7         macroized by floating-point type.
9 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
11         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
12         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
13         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
14         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
15         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
16         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
18 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
20         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
21         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
22         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
23         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
24         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
25         New Define.
27 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
29         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
30         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
31         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
32         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
33         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
34         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
36 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
38         * sysdeps/s390/multiarch/ifunc-resolve.h
39         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
40         * sysdeps/s390/multiarch/8bit-generic.c
41         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
42         define ifunc resolvers.
44 2017-04-21  Florian Weimer  <fweimer@redhat.com>
46         [BZ #20424]
47         * manual/memory.texi (Replacing malloc): New section.
48         (Allocating Storage For Program Data): Reference it.
49         (The GNU Allocator): Likewise.
51 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
53         * stdlib/Versions (__strtod_internal): List explicitly, not as
54         wildcard.
55         (__strtof_internal): Likewise.
56         (__strtold_internal): Likewise.
57         (__strtol_internal): Likewise.
58         (__strtoll_internal): Likewise.
59         (__strtoul_internal): Likewise.
60         (__strtoull_internal): Likewise.
61         (__strtoq_internal): Likewise.
62         (__strtouq_internal): Likewise.
63         * wcsmbs/Versions (__wcstod_internal): Likewise.
64         (__wcstof_internal): Likewise.
65         (__wcstold_internal): Likewise.
66         (__wcstol_internal): Likewise.
67         (__wcstoll_internal): Likewise.
68         (__wcstoul_internal): Likewise.
69         (__wcstoull_internal): Likewise.
71 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
73         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
74         struct timespec definition.
76 2017-04-19  Florian Weimer  <fweimer@redhat.com>
78         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
80 2017-04-19  Florian Weimer  <fweimer@redhat.com>
82         * inet/rcmd.c (rresvport_af): Fix typo in comment.
83         * inet/rexec.c (rexec_af): Likewise.
85 2017-04-19  Zack Weinberg  <zackw@panix.com>
87         * posix/tst-mmap-offset.c: Include stdint.h.
88         * resolv/tst-ns_name_compress.c: Include string.h.
89         * resolv/tst-resolv-edns.c: Include resolv.h.
91 2017-04-19  Florian Weimer  <fweimer@redhat.com>
93         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
94         with __glibc_likely.
95         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
96         Replace __builtin_expect with __glibc_unlikely.
97         * resolv/res_init.c (__res_vinit): Likewise.
98         * resolv/res_query.c (__libc_res_nquery): Likewise.
99         * resolv/res_send.c (__libc_res_nsend): Likewise.
101 2017-04-19  Florian Weimer  <fweimer@redhat.com>
103         [BZ #15722]
104         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
105         with SOCK_CLOEXEC.
106         * resolv/res_send.c (send_vc, reopen): Likewise.
107         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
108         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
109         Likewise.
110         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
111         * inet/rexec.c (rexec_af): Add comment.
112         * inet/rcmd.c (rresvport_af): Likewise.
114 2017-04-19  Florian Weimer  <fweimer@redhat.com>
116         * nscd/connections.c (have_accept4): Removed definition.
117         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
118         accept4 works.
119         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
120         ia64 because that was the first version with accept4 support.
121         * support/Makefile (libsupport-routines): Add xaccept4.
122         * support/xsocket.h (xaccept4): Declare.
123         * support/xaccept4.c: New file.
124         * socket/tst-accept4.c: New file.
125         * socket/Makefile (tests): Add tst-accept4.
126         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
127         definition.
128         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
129         comment.
130         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
131         implementation is available.
132         (accept4): Use the system call if available, otherwise use the
133         socket call.
134         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
135         Set to 3.2.18.
136         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
137         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
138         accept4 is unconditionally available in later 3.2 stable kernels.
139         (__ASSUME_ACCEPT4_SYSCALL): Define.
140         * sysdeps/unix/sysv/linux/kernel-features.h
141         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
142         definitions.
143         * sysdeps/unix/sysv/linux/i386/kernel-features.h
144         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
146 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
148         * conform/Makefile (tests-special): Do not make addition of
149         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
150         (generated): Do not make addition of $(conformtest-header-base)
151         conditional on [$(cross-compiling) = no].
153         [BZ #21267]
154         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
155         if defined by <asm/socket.h> and not previously defined.
156         (IOCSIZE_SHIFT): Likewise.
157         (IOC_IN): Likewise.
158         (IOC_INOUT): Likewise.
159         (IOC_OUT): Likewise.
161 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
163         [BZ #21396]
164         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
165         Prefer_No_AVX512 if AVX512ER isn't available.
166         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
167         (index_arch_Prefer_No_AVX512): Likewise.
168         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
169         AVX512 version if Prefer_No_AVX512 is set.
170         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
171         Likewise.
172         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
173         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
174         Likewise.
175         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
176         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
177         Likewise.
178         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
179         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
180         Likewise.
182 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
184         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
185         Prefer_No_VZEROUPPER if AVX512ER is available.
186         * sysdeps/x86/cpu-features.h
187         (bit_cpu_AVX512PF): New.
188         (bit_cpu_AVX512ER): Likewise.
189         (bit_cpu_AVX512CD): Likewise.
190         (bit_cpu_AVX512BW): Likewise.
191         (bit_cpu_AVX512VL): Likewise.
192         (index_cpu_AVX512PF): Likewise.
193         (index_cpu_AVX512ER): Likewise.
194         (index_cpu_AVX512CD): Likewise.
195         (index_cpu_AVX512BW): Likewise.
196         (index_cpu_AVX512VL): Likewise.
197         (reg_AVX512PF): Likewise.
198         (reg_AVX512ER): Likewise.
199         (reg_AVX512CD): Likewise.
200         (reg_AVX512BW): Likewise.
201         (reg_AVX512VL): Likewise.
203 2017-04-18  Florian Weimer  <fweimer@redhat.com>
205         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
206         O_CLOEXEC is defined.
207         * include/fcntl.h (__have_o_cloexec): Remove declaration.
208         * io/Makefile (aux): Remove.
209         * io/have_o_cloexec.c: Remove file.
210         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
211         defined and works.
212         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
213         defined.
214         * login/utmp_file.c (O_flags): Remove definition.
215         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
216         O_CLOEXEC works.
217         (pututline_file): Likewise.
218         * malloc/mtrace.c: Assume that O_CLOEXEC works.
219         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
220         definition.
221         (internal_setgrent): Assume that O_CLOEXEC works.
222         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
223         Remove definition.
224         (internal_setgrent): Assume that O_CLOEXEC works.
225         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
226         definition.
227         (internal_setpwent): Assume that O_CLOEXEC works.
228         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
229         definition.
230         (internal_setspent): Assume that O_CLOEXEC works.
231         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
232         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
233         O_CLOEXEC is defined and works.
234         * nss/Makefile (libnss_files-routines): Remove
235         files-have_o_cloexec.
236         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
237         defined.
238         * nss/nss_files/files-XXX.c (internal_setent): Assume that
239         O_CLOEXEC is defined and works.
240         * nss/nss_files/files-alias.c (internal_setent): Likewise.
241         * nss/nss_files/files-have_o_cloexec.c: Remove.
242         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
243         defined.
244         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
245         and works.
246         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
247         definition.
248         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
249         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
250         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
251         (__opendirat, __opendir): Adjust opendir_oflags call.
252         (check_have_o_cloexec): Remove.
253         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
254         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
255         defined.
256         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
257         Remove definition.
259 2017-04-18  Florian Weimer  <fweimer@redhat.com>
261         * include/unistd.h (__have_dup3): Remove declaration.
262         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
263         dup3 is available.
264         * libio/freopen64.c (freopen64): Likewise.
265         * socket/Makefile (aux): Remove have_sock_cloexec.
266         * socket/have_sock_cloexec.c: Remove file.
267         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
268         definition.
269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
270         Likewise.
271         * sysdeps/nacl/kernel-features.h: Update comment.
273 2017-04-18  Florian Weimer  <fweimer@redhat.com>
275         * include/unistd.h (__have_pipe2): Remove declaration.
276         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
277         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
278         available.
279         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
280         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
281         Remove definition.
283 2017-04-18  Florian Weimer  <fweimer@redhat.com>
285         * malloc/malloc.c (cfree): Turn into compat symbol.
286         (__cfree): Remove alias.
287         * stdlib/stdlib.h (cfree): Remove declaration.
288         * malloc/malloc.h (cfree): Likewise.
289         * manual/memory.texi (Freeing after Malloc): Remove cfree.
290         * malloc/Versions (GLIBC_2.26): Add.
292 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
294         * sysdeps/powerpc/powerpc64/multiarch/Makefile
295         (sysdep_routines): Add strrchr-power8.
296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
297         (strrchr): Add __strrchr_power8 to list of strrchr functions.
298         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
299         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
300         (strrchr): Add __strrchr_power8 to ifunc list.
301         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
303 2017-04-17  Rabin Vincent  <rabinv@axis.com>
305         [BZ #21357]
306         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
307         Call free() outside of mutex.
309 2017-04-13  Florian Weimer  <fweimer@redhat.com>
311         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
312         is defined.
313         * elf/rtld.c (process_envvars): Likewise.
314         * sysdeps/posix/shm_open.c (shm_open): Likewise.
315         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
316         O_NOFOLLOW directly.
317         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
319 2017-04-13  Florian Weimer  <fweimer@redhat.com>
321         [BZ #21369]
322         Remove EDNS fallback.
323         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
324         handling.
325         * resolv/res_send.c (send_dg): Likewise.
326         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
327         "tcp." prefixes.
328         (do_test): Send a "formerr."-prefixed query in an attempt to
329         trigger EDNS fallback.
331 2017-04-13  Florian Weimer  <fweimer@redhat.com>
333         [BZ #21361]
334         Limit EDNS buffer size to 1200 bytes.
335         * include/resolv.h (__res_nopt): Remove declaration.
336         * resolv/Makefile (tests): tst-resolv-edns.
337         (tst-resolv-edns): Link with -lresolv, -lpthread.
338         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
339         interval [512, 1200].
340         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
341         we can resize the buffer.
342         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
343         (__res_nopt): Declare.
344         * resolv/tst-resolv-edns.c: New file.
345         * resolv/resolv_test.h (struct resolv_edns_info): Define.
346         (struct resolv_response_context): Add edns member.
347         * resolv/resolv_test.c (struct query_info): Add edns member.
348         (parse_query): Extract EDNS information from the query.
349         (server_thread_udp_process_one): Propagate EDNS data.
350         (server_thread_tcp_client): Likewise.
352 2017-04-13  Florian Weimer  <fweimer@redhat.com>
354         [BZ #21359]
355         * resolv/ns_name.c (ns_name_pack): Do not require an additional
356         byte in the destination buffer.  Avoid out-of-bounds pointer
357         arithmetic.
358         * resolv/Makefile (tests): Add tst-ns_name_compress.
359         (tst-ns_name_compress): Link with -lresolv.
360         * resolv/tst-ns_name_compress.c: New file.
361         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
362         (response): Recognize LONG_NAME.
363         (do_test): Add LONG_NAME tests.
364         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
365         for ns_name_unpack.  Add tests for ns_name_pton and
366         ns_name_compress.
368 2017-04-13  Florian Weimer  <fweimer@redhat.com>
370         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
371         (res_nisourserver): Remove definition.
372         (p_section, res_npquery, res_nisourserver): Remove declaration.
373         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
374         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
375         ... here.
376         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
377         <resolv.h>.
378         * resolv/res_query.c: Likewise.
379         * resolv/res_debug.c (p_section): Define as static.
381 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
383         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
384         strncat-power8.
385         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
386         __strncat_power8 to ifunc list.
387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
388         (strncat): Add __strncat_power8 to list of strncat functions.
389         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
391 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
393         [BZ #21270]
394         * posix/tst-mmap-offset.c (do_prepare): New function.
395         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
396         (do_test_bz21270): New function.
397         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
398         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
399         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
400         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
401         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
402         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
403         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
404         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
405         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
406         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
407         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
408         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
409         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
410         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
411         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
412         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
413         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
414         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
415         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
416         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
417         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
418         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
419         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
420         from auto-generation list.
421         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
423         * sysdeps/unix/sysv/linux/mmap.c: New file.
424         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
425         offsets and support for mmap2 syscall.
427         * posix/globtest.sh: Add cleanup routine on trap 0.
429 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
431         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
432         implementation-specific function name and remove unneeded
433         macros definition.
434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
435         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
436         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
437         name if not defined and pass as parameter to macros accordingly.
438         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
439         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
441         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
442         implementation-specific function name and remove unneeded
443         macros definition.
444         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
449         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
450         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
451         name if not defined and pass as parameter to macros accordingly.
452         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
453         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
454         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
455         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
456         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
457         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
459         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
460         implementation-specific function name and remove unneeded macros
461         definition.
462         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
463         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
464         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
465         function name if not defined and pass as parameter to macros
466         accordingly.
467         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
468         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
470         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
471         implementation-specific function name and remove unneeded macros
472         definition.
473         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
474         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
475         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
476         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
477         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
478         not defined and pass as parameter to macros accordingly.
479         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
480         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
481         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
482         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
484         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
485         strcasestr implementation name and remove unneeded macros definition.
486         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
487         strstr implementation name and remove unneeded macros definition.
488         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
489         name if not defined and pass as parameter to macros accordingly.
490         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
492         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
493         implementation-specific function name and remove unneeded macros
494         definition.
495         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
496         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
497         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
498         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
499         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
500         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
501         function name if not defined and pass as parameter to macros
502         accordingly.
503         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
504         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
505         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
506         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
508         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
509         the strlen implementation name and remove unneeded macros definition.
510         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
511         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
512         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
513         the strnlen implementation name and remove unneeded macros definition.
514         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
515         name if not defined and pass as parameter to macros accordingly.
516         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
517         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
518         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
520         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
521         the implementation-specific function name and remove unneeded
522         macros definition.
523         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
524         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
525         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
526         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
527         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
528         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
529         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
530         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
531         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
532         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
533         name if not defined and pass as parameter to macros accordingly.
534         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
536         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
537         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
538         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
539         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
540         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
541         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
544         implementation-specific function name and remove unneeded macros
545         definition.
546         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
547         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
548         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
549         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
550         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
551         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
552         function name if not defined.
553         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
554         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
556 2017-04-11  Paul Clarke  <pc@us.ibm.com>
558         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
559         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
560         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
561         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
563 2017-04-11  Florian Weimer  <fweimer@redhat.com>
564             Zack Weinberg  <zackw@panix.com>
566         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
567         readdir64 as thread-safe.  Update warning about readdir_r.
569 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
571         * sysdeps/unix/sysv/linux/x86/Implies: New file.
572         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
573         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
574         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
575         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
576         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
577         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
579 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
581         * sysdeps/i386/dl-procinfo.c: Include
582         <sysdeps/x86/dl-procinfo.c>.
583         * sysdeps/x86_64/dl-procinfo.c: Likewise.
584         * sysdeps/x86/dl-procinfo.c: New file.
586 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
588         * sysdeps/generic/math_private.h: Remove declarations of
589         many functions that are already declared in math.h.
590         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
591         declaration for __frexpl.
592         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
593         the declarations for __scalbnl and fabsl.
595 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
597         [BZ #20831]
598         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
599         of __mprotect to change protection on the excess portion
600         to disallow all access.
602 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
604         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
605         HAS_CPU_FEATURE to check for SSE.
606         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
607         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
608         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
609         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
610         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
611         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
612         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
613         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
614         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
615         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
616         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
617         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
618         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
619         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
620         (index_cpu_SSE): Likewise.
621         (reg_SSE): Likewise.
623 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
625         * posix/getopt1.c: Include <config.h>, not "config.h".
627 2017-04-07  Zack Weinberg  <zackw@panix.com>
629         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
630         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
631         Mention in top-of-file boilerplate that these files are shared
632         with gnulib.
633         * posix/getopt.h, posix/bits/getopt_posix.h:
634         Mention in top-of-file boilerplate that these files are NOT shared
635         with gnulib, unlike the rest of the getopt implementation.
637         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
638         New files, intended to be shared with gnulib.
639         * posix/bits/getopt_posix.h:
640         New file, not intended to be shared with gnulib.
641         * posix/getopt.h: Now just includes features.h,
642         bits/getopt_core.h, and bits/getopt_ext.h.  Will
643         no longer be shared with gnulib.
644         * include/bits/getopt_core.h, include/bits/getopt_ext.h
645         * include/bits/getopt_posix.h: New wrappers.
646         * posix/Makefile: Install new headers.
647         * posix/unistd.h, libio/stdio.h:
648         Include bits/getopt_posix.h instead of getopt.h.
650         * include/libc-symbols.h: For gnulib compatibility, define
651         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
652         _GL_ATTRIBUTE_CONST.
653         * posix/getopt.c (_getopt_initialize): Mark argc and argv
654         parameters with _GL_UNUSED.
656         * posix/getopt.c: When used standalone, define __libc_use_alloca
657         as always false and alloca to abort if called.
658         (process_long_option): Rewrite handling of ambiguous long options
659         to use a single boolean vector, not a linked list; use
660         __libc_use_alloca to decide whether to allocate this using alloca.
661         * posix/tst-getopt_long1.c: Adjust text of expected error message.
663         * posix/getopt.c (process_long_option): New function split out
664         from _getopt_internal_r.
665         (_getopt_internal_r): Replace both copies of the long-option
666         processing code with calls to process_long_option.
667         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
668         (do_test): Differentiate argv[0] in the two subtests.
670         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
671         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
672         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
674         * posix/getopt.h: Add backup definition of __nonnull for
675         consistency with gnulib.  Define __getopt_argv_const to const
676         if not already defined.
677         (getopt): Update doc comment from gnulib.  Prototype
678         unconditionally.  Add __nonnull annotation.
679         (__posix_getopt): Add __nonnull annotation.
680         (getopt_long, getopt_long_only): Use __getopt_argv_const in
681         prototypes for consistency with gnulib.  Add __nonnull
682         annotations.
683         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
684         (getopt_internal): Change 'argv' argument to type 'char **'.
685         Remove now-unnecessary casts.
686         (getopt, __posix_getopt): Eliminate repetition with a macro.
687         Cast 'argv' to 'char **' when calling _getopt_internal.
688         * posix/getopt1.c (getopt_long, getopt_long_only):
689         Use __getopt_argv_const for consistency with gnulib.
690         Cast 'argv' to 'char **' when calling _getopt_internal.
691         (_getopt_long_r, _getopt_long_only_r):
692         Change 'argv' argument to type 'char **'.
693         (main): Constify 'long_options'.
694         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
695         (_getopt_long_r, _getopt_long_only_r):
696         Change 'argv' argument to type 'char **'.
698         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
699         (locked_vfxprintf): New helper function. Handle arbitrary
700         multibyte strings, not just ASCII.
701         * include/stdio.h: Declare __fxprintf_nocancel.
702         * posix/getopt.c: When _LIBC is defined, define fprintf to
703         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
704         to _IO_funlockfile.  When neither _LIBC nor
705         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
706         funlockfile as no-ops.
707         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
708         the standalone error-printing code can now be used for libc as
709         well.  Add an flockfile/funlockfile pair around one case where
710         the error message is printed in several chunks.  Don't use fputc.
711         * posix/tst-getopt-cancel.c: New test.
712         * posix/Makefile: Run it.
714         * posix/getopt.c (_getopt_internal_r): Don't increment
715         d->optind a second time when reporting ambiguous -W options.
717         * posix/getopt_int.h: Include getopt.h.
718         Use impl-namespace names for all arguments to _getopt_internal and
719         _getopt_internal_r.
720         Declare __ordering enum outside the struct.
721         Harmonize comments with gnulib.
722         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
723         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
724         #ifdef TEST block and make unconditional.  Do not define NULL.
725         * posix/getopt.c: Partial merge from gnulib, covering the
726         initial includes and global declarations, commentary, and
727         a couple of semantically-neutral code changes.
729         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
730         Use '...' instead of `...' for quotation marks inside
731         comments and strings.
733         * config.h.in (USE_NONOPTION_FLAGS): Remove.
734         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
735         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
736         * posix/getopt_int.h: Likewise.
737         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
738         __libc_argc and __libc_argv externs, which were only used by
739         #ifdef USE_NONOPTION_FLAGS blocks.
740         * posix/getopt_init.c: Remove file.
741         * posix/Makefile (routines): Remove getopt_init.
742         * include/getopt.h: Don't declare __getopt_initialize_environment.
743         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
744         a comment.
746 2017-04-07  Florian Weimer  <fweimer@redhat.com>
748         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
750 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
752         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
753         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
754         to __wrap_.udiv.
755         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
756         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
758         * sysdeps/i386/symbol-hacks.h: New file.
759         * sysdeps/m68k/symbol-hacks.h: New file.
760         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
761         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
762         * sysdeps/unix/sysv/linux/i386/Makefile
763         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
764         [$(subdir) = csu] (sysdep-only-routines): Likewise.
765         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
766         * sysdeps/unix/sysv/linux/m68k/Makefile
767         [$(subdir) = csu] (sysdep_routines): Likewise.
768         [$(subdir) = csu] (sysdep-only-routines): Likewise.
769         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
771         [$(subdir) = csu] (sysdep_routines): Likewise.
772         [$(subdir) = csu] (sysdep-only-routines): Likewise.
773         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
774         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
775         [$(subdir) = csu] (sysdep_routines): Likewise.
776         [$(subdir) = csu] (sysdep-only-routines): Likewise.
777         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
778         * sysdeps/wordsize-32/Makefile: Remove file.
779         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
780         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
782 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
784         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
785         (TEST_FUNCTION_ARGV): New.
787 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
789         * elf/next.c: Import support/test-driver.c instead of
790         test-skeleton.c and delete TEST_FUNCTION macro definition.
791         * elf/nodelete.c: Likewise.
792         * elf/order2.c: Likewise.
793         * elf/tst-_dl_addr_inside_object.c: Likewise.
794         * elf/tst-addr1.c: Likewise.
795         * elf/tst-align.c: Likewise.
796         * elf/tst-align2.c: Likewise.
797         * elf/tst-audit11.c: Likewise.
798         * elf/tst-audit12.c: Likewise.
799         * elf/tst-audit2.c: Likewise.
800         * elf/tst-audit9.c: Likewise.
801         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
802         * elf/tst-deep1.c: Likewise.
803         * elf/tst-dl-iter-static.c: Likewise.
804         * elf/tst-dlmodcount.c: Likewise.
805         * elf/tst-dlmopen1.c: Likewise.
806         * elf/tst-dlmopen2.c: Likewise.
807         * elf/tst-dlmopen3.c: Likewise.
808         * elf/tst-dlopen-aout.c: Likewise.
809         * elf/tst-dlopenrpath.c: Likewise.
810         * elf/tst-dlsym-error.c: Likewise.
811         * elf/tst-execstack-needed.c: Likewise.
812         * elf/tst-execstack-prog.c: Likewise.
813         * elf/tst-execstack.c: Likewise.
814         * elf/tst-global1.c: Likewise.
815         * elf/tst-gnu2-tls1.c: Likewise.
816         * elf/tst-latepthread.c: Likewise.
817         * elf/tst-leaks1.c: Likewise.
818         * elf/tst-linkall-static.c: Likewise.
819         (do_test): New function.
820         * elf/tst-nodelete-opened.c: Likewise.
821         * elf/tst-nodelete.cc: Likewise.
822         * elf/tst-nodelete2.c: Likewise.
823         * elf/tst-noload.c: Likewise.
824         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
825         * elf/tst-order-main.c: Likewise.
826         * elf/tst-pathopt.c: Likewise.
827         * elf/tst-pie2.c: Likewise.
828         * elf/tst-piemod1.c: Likewise.
829         * elf/tst-prelink.c: Likewise.
830         * elf/tst-protected1a.c: Likewise.
831         * elf/tst-protected1b.c: Likewise.
832         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
833         and define _GNU_SOURCE macro.
834         (cmdline_process_function): New function.
835         * elf/tst-relsort1.c: Likewise.
836         * elf/tst-stackguard1.c: Likewise, import getopt.h,
837         and define _GNU_SOURCE macro.
838         (cmdline_process_function): New function.
839         * elf/tst-thrlock.c: Likewise.
840         * elf/tst-tls-dlinfo.c: Likewise.
841         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
842         * elf/tst-tls1.c: Likewise.
843         * elf/tst-tls10.c: Likewise.
844         * elf/tst-tls11.c: Likewise.
845         * elf/tst-tls12.c: Likewise.
846         * elf/tst-tls13.c: Likewise.
847         * elf/tst-tls14.c: Likewise.
848         * elf/tst-tls15.c: Likewise.
849         * elf/tst-tls16.c: Likewise.
850         * elf/tst-tls17.c: Likewise.
851         * elf/tst-tls18.c: Likewise.
852         * elf/tst-tls19.c: Likewise.
853         * elf/tst-tls2.c: Likewise.
854         * elf/tst-tls3.c: Likewise.
855         * elf/tst-tls4.c: Likewise.
856         * elf/tst-tls5.c: Likewise.
857         * elf/tst-tls6.c: Likewise.
858         * elf/tst-tls7.c: Likewise.
859         * elf/tst-tls8.c: Likewise.
860         * elf/tst-tls9.c: Likewise.
861         * elf/tst-tlsalign-extern.c: Likewise.
862         * elf/tst-tlsalign.c: Likewise.
863         * elf/tst-unique1.c: Likewise.
864         * elf/tst-unique2.c: Likewise.
865         * elf/vismain.c: Likewise.
867 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
869         * string/test-strnlen.c (do_page_tests): New function
870         to check length of strings ending at the page boundary.
871         (test_main): Added call to the do_page_tests function.
873 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
874             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
876         * sysdeps/powerpc/powerpc64/multiarch/Makefile
877         (sysdep_routines): Add strnlen-power8.
878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
879         (strnlen): Add __strnlen_power8 to list of strnlen functions.
880         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
881         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
882         (__strnlen): Add __strnlen_power8 to ifunc list.
883         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
885 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
887         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
888         the TEST_FUNCTION macro definition.
889         * wcsmbs/tst-mbrtowc2.c: Likewise.
890         * wcsmbs/tst-mbsrtowcs.c: Likewise.
891         * wcsmbs/tst-wchar-h.c: Likewise.
892         * wcsmbs/tst-wcpncpy.c: Likewise.
893         * wcsmbs/tst-wcrtomb.c: Likewise.
894         * wcsmbs/tst-wcsnlen.c: Likewise.
895         * wcsmbs/tst-wcstof.c: Likewise.
897 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
899         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
900         CALL_THREAD_FCT macro usage.
901         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
902         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
903         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
905         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
906         * sysdeps/unix/sysv/linux/arm/kernel-features.h
907         (__ASSUME_REQUEUE_PI): Likewise.
908         * sysdeps/unix/sysv/linux/kernel-features.h
909         (__ASSUME_REQUEUE_PI): Likewise.
910         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
911         (__ASSUME_REQUEUE_PI): Likewise.
912         * sysdeps/unix/sysv/linux/mips/kernel-features.h
913         (__ASSUME_REQUEUE_PI): Likewise.
914         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
915         (__ASSUME_REQUEUE_PI): Likewise.
917 2017-04-04  Florian Weimer  <fweimer@redhat.com>
919         * resolv/tst-resolv-canonname.c: New file.
920         * resolv/Makefile (tests): Add tst-resolv-canonname.
921         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
923 2017-04-04  Florian Weimer  <fweimer@redhat.com>
925         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
926         Declare.
927         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
928         (NS_MAXCDNAME): Remove definition.
929         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
930         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
931         (NS_MAXCDNAME): Remove definition.
932         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
934 2017-04-04  Florian Weimer  <fweimer@redhat.com>
936         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
937         call whose result is not used.
939 2017-04-04  Florian Weimer  <fweimer@redhat.com>
941         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
942         * resolv/Makefile (tests): Add tst-ns_name.
943         (tst-ns_name): Link with -lresolv.
944         (tst-ns_name.out): Depend on the input data file.
946 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
948         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
949         Clobber also r14.
951 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
953         [BZ #21253]
954         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
955         slack space by 32KiB.
957 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
959         [BZ #21338]
960         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
961         instead of incorrect do_set_arena_test
963 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
965         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
966         * math/bits/math-finite.h: Likewise.
968 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
970         [BZ #21289]
971         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
973 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
975         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
976         non expected inotify_add_watch and quotactl return.
978 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
980         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
981         to int32_t.
982         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
983         as returning int32_t.
985 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
987         * math/math.h: Include bits/math-finite.h once per
988         floating-point type.
989         * math/bits/math-finite.h: Macroize all declarations by
990         floating-point type.
992 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
994         [BZ #21182]
995         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
996         near end of a page.
997         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
998         overflow calculation.
1000 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1002         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1003         (IMPL) Call with 1 instead of 0 as argument.
1005 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1007         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1008         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1009         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1010         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1011         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1012         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1013         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1014         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1015         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1016         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1017         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1018         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1019         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1020         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1021         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1022         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1023         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1024         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1025         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1026         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1027         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1028         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1029         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1030         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1031         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1032         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1033         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1034         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1035         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1036         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1037         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1038         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1039         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1040         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1041         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1042         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1043         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1044         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1045         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1046         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1047         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1048         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1049         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1050         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1051         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1052         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1053         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1054         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1055         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1056         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1057         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1058         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1059         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1060         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1061         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1062         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1063         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1064         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1065         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1066         defined.
1067         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1068         __NR_setgroups32 if defined.
1069         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1070         if defined.
1071         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1072         __NR_setresgid32 is defined.
1073         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1074         __NR_setresuid32 if defined.
1075         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1076         __NR_setreuid32 if defined.
1077         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1078         defined.
1079         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1080         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1081         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1082         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1083         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1084         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1085         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1086         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1087         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1088         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1089         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1090         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1091         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1092         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1093         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1094         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1095         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1096         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1097         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1098         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1099         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1100         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1101         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1102         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1103         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1104         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1105         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1106         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1107         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1108         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1109         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1110         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1111         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1112         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1113         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1114         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1115         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1116         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1117         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1118         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1119         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1120         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1121         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1122         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1123         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1124         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1125         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1126         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1127         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1128         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1129         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1130         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1131         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1132         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1133         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1134         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1135         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1136         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1137         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1138         defined.
1139         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1140         __NR_setgroups32 if defined.
1141         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1142         if defined.
1143         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1144         __NR_setresgid32 is defined.
1145         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1146         __NR_setresuid32 if defined.
1147         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1148         __NR_setreuid32 if defined.
1149         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1150         defined.
1152 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1154         [BZ #21277]
1155         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1156         unconditionally.
1157         (IMAXBEL): Likewise.
1158         (IUTF8): Likewise.
1160 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1162         * sysdeps/aarch64/libm-test-ulps: Update.
1164 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1166         * README.tunables: Updated descriptions.
1167         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1168         * scripts/gen-tunables.awk: Updated the code related to the
1169         commit.
1171 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1173         * benchtests/Makefile (string-benchset): Add memcpy-random.
1174         * benchtests/bench-memcpy-random.c: New file.
1176 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1178         * stdio-common/printf.h (register_printf_modifier): Change the
1179         order of __wur and __THROW.
1180         (register_printf_type): Likewise.
1182 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1184         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1185         test_main ().
1186         (CMDLINE_PROCESS): Use function instead of defined macro.
1187         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1188         <suppport/support.h> to use set_fortify_handler().
1189         * string/bug-envz1.c: Import support/test-driver.c instead of
1190         test-skeleton.c.
1191         * string/bug-strcoll2.c: Likewise.
1192         * string/bug-strtok1.c: Likewise.
1193         * string/stratcliff.c: Likewise.
1194         * string/test-ffs.c: Likewise.
1195         * string/test-memccpy.c: Likewise.
1196         * string/test-memchr.c: Likewise.
1197         * string/test-memcmp.c: Likewise.
1198         * string/test-memcpy.c: Likewise.
1199         * string/test-memmem.c: Likewise.
1200         * string/test-memmove.c: Likewise.
1201         * string/test-memrchr.c: Likewise.
1202         * string/test-memset.c: Likewise.
1203         * string/test-rawmemchr.c: Likewise.
1204         * string/test-strcasecmp.c: Likewise.
1205         * string/test-strcasestr.c: Likewise.
1206         * string/test-strcat.c: Likewise.
1207         * string/test-strchr.c: Likewise.
1208         * string/test-strcmp.c: Likewise.
1209         * string/test-strcpy.c: Likewise.
1210         * string/test-string.h: Likewise.
1211         * string/test-strlen.c: Likewise.
1212         * string/test-strncasecmp.c: Likewise.
1213         * string/test-strncat.c: Likewise.
1214         * string/test-strncmp.c: Likewise.
1215         * string/test-strncpy.c: Likewise.
1216         * string/test-strnlen.c: Likewise.
1217         * string/test-strpbrk.c: Likewise.
1218         * string/test-strrchr.c: Likewise.
1219         * string/test-strspn.c: Likewise.
1220         * string/test-strstr.c: Likewise.
1221         * string/tst-bswap.c: Likewise.
1222         * string/tst-cmp.c: Likewise.
1223         * string/tst-endian.c: Likewise.
1224         * string/tst-inlcall.c: Likewise.
1225         * string/tst-strcoll-overflow.c: Likewise.
1226         * string/tst-strfry.c: Likewise.
1227         * string/tst-strlen.c: Likewise.
1228         * string/tst-strtok.c: Likewise.
1229         * string/tst-strtok_r.c: Likewise.
1230         * string/tst-strxfrm.c: Likewise.
1231         * string/tst-strxfrm2.c: Likewise.
1232         * string/tst-svc.c: Likewise.
1233         * string/tst-svc2.c: Likewise.
1235 2017-03-22  Zack Weinberg  <zackw@panix.com>
1237         * stdio-common/bug25.c: Include stdlib.h.
1238         * support/tst-support_format_dns_packet.c: Include stdio.h,
1239         stdlib.h, and string.h.
1240         * support/tst-support_record_failure.c: Include string.h.
1241         * support/tst-support_record_failure-2.sh: Adjust line number
1242         expectations and correct a typo in an error message.
1244 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1246         [BZ #21258]
1247         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1248         Define only if _dl_runtime_resolve is defined to
1249         _dl_runtime_resolve_sse_vex.
1250         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1251         Fallthrough to _dl_runtime_resolve_sse_vex.
1253 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1255         * INSTALL: Regenerated.
1257 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1259         * config.h.in: Add LINK_OBSOLETE_NSL.
1260         * config.make.in: Add build-obsolete-nsl.
1261         * configure.ac: Add obsolete-nsl option.
1262         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1263         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1264         * include/rpcsvc/nislib.h: Likewise.
1265         * include/rpcsvc/ypclnt.h: Likewise.
1266         * manual/install.texi: Document --enable-obsolete-nsl.
1267         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1268         * nis/nis_add.c: Replace libnsl_hidden_def with
1269         libnsl_hidden_nolink_def.
1270         * nis/nis_addmember.c: Likewise.
1271         * nis/nis_call.c: Likewise.
1272         * nis/nis_clone_obj.c: Likewise.
1273         * nis/nis_defaults.c: Likeise.
1274         * nis/nis_domain_of_r.c: Likewise.
1275         * nis/nis_error.c: Likewise.
1276         * nis/nis_file.c: Likewise.
1277         * nis/nis_free.c: Likewise.
1278         * nis_local_names.c: Likewise.
1279         * nis/nis_lookup.c: Likewise.
1280         * nis/nis_modify.c: Likewise.
1281         * nis/nis_print.c: Likewise.
1282         * nis/nis_remove.c: Likewise.
1283         * nis/nis_table.c: Likewise.
1284         * nis/nis_util.c: Likewise.
1285         * nis/nis_xdr.c: Likewise.
1286         * nis/yp_xdr.c: Likewise.
1287         * nis/ypclnt.c: Likewise.
1288         * nis/ypupdate_xdr.c: Likewise.
1289         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1290         * nis/nis_clone_dir.c: Likewise.
1291         * nis/nis_clone_res.c: Likewise.
1292         * nis/nis_creategroup.c: Likewise.
1293         * nis/nis_destroygroup.c: Likewise.
1294         * nis/nis_domain_of.c: Likewise.
1295         * nis/nis_getservlist.c: Likewise.
1296         * nis/nis_ismember.c: Likewise.
1297         * nis/nis_mkdir.c: Likewise.
1298         * nis/nis_ping.c: Likewise.
1299         * nis/nis_print_group_entry.c: Likewise.
1300         * nis/nis_removemember.c: Likewise.
1301         * nis/nis_rmdir.c: Likewise.
1302         * nis/nis_server.c: Likewise.
1303         * nis/nis_subr.c: Likewise.
1304         * nis/nis_verifygroup.c: Likewise.
1306 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1308         * malloc/tst-interpose-aux.c (check_for_allocations):
1309         Move compiler barrier before free.
1311 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1313         [BZ #21279]
1314         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1315         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1316         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1317         x86_64-x32-linux.
1318         (mq_attr.mq_maxmsg): Likewise.
1319         (mq_attr.mq_msgsize): Likewise.
1320         (mq_attr.mq_curmsgs): Likewise.
1322         [BZ #21278]
1323         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1324         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1325         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1326         mips-o32-linux.
1328         [BZ #21268]
1329         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1330         if [__USE_MISC]
1331         (NL3): Likewise.
1333 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1335         [BZ #21275]
1336         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1337         __stack to __stackbase.
1338         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1339         checks so we can include defined(__ia64__) first.
1341 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1343         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1344         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1345         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1346         Call is_pty when the link does not exist or does not match, fail
1347         with ENODEV when it returns true.
1348         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1349         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1350         Call is_pty when the link does not exist or does not match, fail
1351         with ENODEV when it returns true.
1353 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1355         [BZ #16437]
1356         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1357         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1358         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1359         x86_64-x32-linux.
1360         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1361         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1362         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1364         [BZ #21261]
1365         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1366         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1367         names for all fields.
1368         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1369         for jmp_buf field renaming.
1370         (_JMPBUF_UNWINDS_ADJ): Likewise.
1372         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1373         with allow-header.
1375 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1377         * malloc/malloc.c (unlink): Add consistency check between size and
1378         next->prev->size, to further harden against 1-byte overflows.
1380 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1382         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1383         CPU_FEATURES_CPU_P.
1385 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1387         [BZ #21259]
1388         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1389         unconditionally, not just for [__USE_MISC].
1391         [BZ #17786]
1392         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1393         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1394         mips-o32-linux.
1396         [BZ #21260]
1397         * sysdeps/unix/sysv/linux/alpha/Makefile
1398         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1399         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1401         * conform/conformtest.pl ($cross): New variable.
1402         (--cross): New command-line option.
1403         (runtest): Skip test execution when cross-compiling.
1404         * conform/Makefile (conformtest-cross): New variable.
1405         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1406         conformtest.pl.
1408         * conform/conformtest.pl ($xfail_str): New variable.
1409         (--xfail=): New command-line option.
1410         (top level): Handle expectations starting xfail[cond]-.
1411         * conform/Makefile (conformtest-xfail): New variable.
1412         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1413         conformtest.pl.
1415 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1417         * conform/conformtest.pl: Use compilation instead of execution
1418         tests for testing values of constants and usability in #if.
1420 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1422         * math/auto-libm-test-in: Mark some catan and catanh as
1423         xfail-rounding:ibm128-libgcc.
1424         * math/auto-libm-test-out-catan: Regenerate.
1425         * math/auto-libm-test-out-catanh: Likewise.
1427 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1429         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1430         (__END_NAMESPACE_STD): Likewise.
1431         (__USING_NAMESPACE_STD): Likewise.
1432         (__BEGIN_NAMESPACE_C99): Likewise.
1433         (__END_NAMESPACE_C99): Likewise.
1434         (__USING_NAMESPACE_C99): Likewise.
1435         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1436         undefine macro.
1437         (_Mdouble_END_NAMESPACE): Likewise.
1438         * ctype/ctype.h: Do not handle C++ namespaces.
1439         * libio/bits/stdio-ldbl.h: Likewise.
1440         * libio/stdio.h: Likewise.
1441         * locale/locale.h: Likewise.
1442         * math/bits/mathcalls.h: Likewise.
1443         * setjmp/setjmp.h: Likewise.
1444         * signal/signal.h: Likewise.
1445         * stdlib/bits/stdlib-float.h: Likewise.
1446         * stdlib/bits/stdlib-ldbl.h: Likewise.
1447         * stdlib/stdlib.h: Likewise.
1448         * string/string.h: Likewise.
1449         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1450         * time/bits/types/clock_t.h: Likewise.
1451         * time/bits/types/struct_tm.h: Likewise.
1452         * time/bits/types/time_t.h: Likewise.
1453         * time/time.h: Likewise.
1454         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1455         * wcsmbs/uchar.h: Likewise.
1456         * wcsmbs/wchar.h: Likewise.
1457         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1458         * wctype/wctype.h: Do not handle C++ namespaces.
1459         * scripts/begin-end-check.pl: Remove.
1460         * Makefile (installed-headers): Likewise.
1461         (tests-special): Do not add $(objpfx)begin-end-check.out.
1462         ($(objpfx)begin-end-check.out): Remove.
1464 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1465             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1467         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1468         (DL_PLATFORM_INIT): New define.
1469         (dl_platform_init): New function.
1470         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1471         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1472         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1473         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1474         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1476 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1478         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1479         instead of PIC.
1481 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1483         [BZ #21094]
1484         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1485         24+24+24-bit pi for wider range of values around pi/2.
1486         * math/auto-libm-test-in: Add more tests of cos and tan.
1487         * math/auto-libm-test-out-cos: Regenerated.
1488         * math/auto-libm-test-out-tan: Likewise.
1490 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1492         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1493         (RTLD_START): Don't record stack end address in _dl_start_user.
1495 2017-03-15  Alexey Neyman  <stilor@att.net>
1497         [BZ #21088]
1498         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1499         around definitions match those around use.
1501 2017-03-15  Alexey Neyman  <stilor@att.net>
1503         * configure.ac: Avoid empty subexpression in grep.
1504         * configure: Regenerate.
1506 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1508         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1509         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1510         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1511         (test_wrp_rv): Fix format.
1512         (test_wrp_rv2): New macro.
1513         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1514         binaries.
1516 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1518         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1519         Use a union when storing pointers.
1520         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1521         cast result when passing to INIT_VEC_PTRS_LOOP.
1522         (VECTOR_WRAPPER_fFF_3): Likewise.
1523         (VECTOR_WRAPPER_fFF_4): Likewise.
1525 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1527         * include/bits/mathcalls-helper-functions.h: New file.
1528         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1529         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1530         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1531         math/bits/mathcalls-helper-functions.h.
1532         * math/bits/mathcalls-helper-functions.h: New file.
1533         * math/math.h: Include bits/mathcalls-helper-functions.h for
1534         float, double, and long double.
1536 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1538         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1539         instead of feraiseexcept.
1541 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1543         [BZ #21243]
1544         * support/temp_file.c (support_delete_temp_files): Add comment
1545         about ignored errors.
1547 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1549         [BZ #21244]
1550         * support/xclose.c: New file.
1551         * support/Makefile (libsupport-routines): Add xclose.
1552         * support/xunistd.h (xclose): Declare.
1553         * support/resolv_test.c (server_thread_tcp_client)
1554         (server_thread_tcp, make_server_sockets, resolv_test_start)
1555         (resolv_test_end): Call xclose instead of close.
1556         * support/support_enter_network_namespace.c
1557         (support_enter_network_namespace): Likewise.
1558         * support/support_run_diff.c (write_to_temp_file): Likewise.
1560 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1562         * support/support_format_dns_packet.c (support_format_dns_packet):
1563         Handle CNAME records in the response.  Extract RDATA names from
1564         rdata, not the whole packet.  Check AAAA record length.
1565         * support/tst-support_format_dns_packet.c: New file.
1566         * support/Makefile (tests): Add tst-support_format_dns_packet.
1567         (tst-support_format_dns_packet): Link against libresolv.
1569 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1571         [BZ #21232]
1572         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1573         posix_fadvise64 weak_alias for static build.
1575 2017-03-14  Andreas Schwab  <schwab@suse.de>
1577         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1578         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1579         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1580         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1581         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1582         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1583         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1584         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1586 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1588         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1589         posix error code.
1590         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1592 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1594         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1595         no_isolate usage for SH.
1597 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1599         [BZ #15105]
1600         [BZ #19463]
1601         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1602         * inet/rcmd.c (rcmd_af): Likewise.
1603         * inet/rexec.c   (rexec_af): Likewise.
1604         * intl/dcigettext.c (_LIBC): Likewise.
1605         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1606         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1607         * locale/setlocale.c (setlocale): Likewise.
1608         * posix/spawn_faction_addopen.c
1609         (posix_spawn_file_actions_addopen): Likewise.
1610         * stdlib/putenv.c (putenv): Use __strndup.
1611         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1613         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1614         (__Need_M_And_C) Remove define/undef.
1615         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1616         (__malloc_and_calloc_defined): Remove define.
1617         * string/bits/string2.h (__strdup): Remove define.
1618         (strdup): Likewise.
1619         (__strndup): Likewise.
1620         (strndup): Likewise.
1622 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1624         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1625         macro.
1626         (IPV6_ADDR_PREFERENCES): Likewise.
1627         (IPV6_MINHOPCOUNT): Likewise.
1628         (IPV6_ORIGDSTADDR): Likewise.
1629         (IPV6_RECVORIGDSTADDR): Likewise.
1630         (IPV6_TRANSPARENT): Likewise.
1631         (IPV6_UNICAST_IF): Likewise.
1632         (IPV6_RECVFRAGSIZE): Likewise.
1634 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1636         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1638 2017-03-12  Alexey Neyman <stilor@att.net>
1640         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1641         in R_SH_DIR32 case is always false when inlined from
1642         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1644 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1647         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1648         __ASSUME_SEND_SYSCALL.
1650 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1652         * sunrpc/Makefile: don't build and install rpcsvc header
1653         files, rpcgen and librpcsvc.a by default.
1655 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1657         * math/auto-libm-test-out-catan: Regenerated.
1658         * math/auto-libm-test-out-catanh: Likewise.
1659         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1661 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1663         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1664         for long double with corrected test expectations.
1666 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1668         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1669         Define.
1670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1671         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1672         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1673         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1674         * sysdeps/unix/sysv/linux/tile/sysdep.h
1675         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1676         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1677         (__ASSUME_RECV_SYSCALL): Define.
1678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1679         (__ASSUME_RECV_SYSCALL): Likewise.
1680         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1681         (__ASSUME_RECV_SYSCALL): Likewise.
1682         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1683         (__ASSUME_RECV_SYSCALL): Likewise.
1684         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1685         (__ASSUME_RECV_SYSCALL): Likewise.
1686         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1687         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1688         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1689         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1690         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1691         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1692         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1693         auto-generation list.
1694         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1695         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1696         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1697         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1698         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1699         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1700         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1701         __ASSUME_SENDTO_SYSCALL.
1702         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1703         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1704         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1706         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1707         auto-generation list.
1708         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1709         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1710         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1711         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1712         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1713         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1714         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1715         * sysdeps/unix/sysv/linux/kernel-features.h
1716         (__ASSUME_SENDTO_SYSCALL): Define by default.
1717         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1718         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1719         __NR_sendto.
1720         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1721         (__ASSUME_SENDTO_SYSCALL): Likewise.
1722         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1723         (__ASSUME_SENDTO_SYSCALL): Likewise.
1724         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1725         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1726         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1727         (__ASSUME_SENDTO_SYSCALL): Likewise.
1728         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1729         (__ASSUME_SENDTO_SYSCALL): Likewise.
1730         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1732         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1733         auto-generation list.
1734         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1735         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1736         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1737         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1738         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1739         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1740         (__ASSUME_RECV_SYSCALL): New define.
1741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1742         (__ASSUME_RECV_SYSCALL): Likewise.
1743         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1744         (__ASSUME_RECV_SYSCALL): Likewise.
1745         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1746         (__ASSUME_RECV_SYSCALL): Likewise.
1747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1748         (__ASSUME_RECV_SYSCALL): Likewise.
1749         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1750         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1751         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1752         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1753         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1754         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1755         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1756         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1757         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1758         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1759         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1760         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1762         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1763         auto-generation list.
1764         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1765         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1766         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1767         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1768         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1769         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1770         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1771         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1772         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1773         * sysdeps/unix/sysv/linux/kernel-features.h
1774         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1775         __NR_recvfrom.
1776         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1777         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1778         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1779         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1781         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1782         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1783         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1784         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1785         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1786         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1787         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1788         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1790         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1791         auto-generation list.
1792         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1793         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1794         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1795         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1796         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1797         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1798         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1799         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1800         * sysdeps/unix/sysv/linux/kernel-features.h
1801         (__ASSUME_CONNECT_SYSCALL): Define.
1802         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1803         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1805         (__ASSUME_CONNECT_SYSCALL): Likewise.
1806         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1807         (__ASSUME_CONNECT_SYSCALL): Likewise.
1808         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1809         (__ASSUME_CONNECT_SYSCALL): Likewise.
1811         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1812         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1813         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1814         auto-generation list.
1815         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1816         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1817         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1818         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1819         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1820         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1821         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1822         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1823         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1824         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1825         * sysdeps/unix/sysv/linux/kernel-features.h
1826         (__ASSUME_ACCEPT_SYSCALL): New define.
1827         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1828         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1829         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1831         (__ASSUME_ACCEPT_SYSCALL): Define.
1832         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1833         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1834         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1835         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1836         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1837         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1838         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1839         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1840         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1842 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1843             Zack Weinberg  <zackw@panix.com>
1845         * posix/test-errno.c: New file.
1846         * posix/Makefile (tests): Add test-errno.
1847         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1848         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1850 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1852         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1854 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1856         * time/tzset.c (compute_offset): Open-code min macro.
1857         (min, max, sign): Remove.
1859 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1861         [BZ #15576]
1862         Remove TZNAME_MAX limit from sysconf.
1863         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1864         declaration.
1865         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1866         compute_tzname_max.
1867         (compute_tzname_max): Remove.
1868         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1869         (update_vars): Do not update __tzname_cur_max.
1870         (tzset_internal): Remove argument.
1871         (__tzset): Adjust call to tzset_internal.
1872         (__tz_convert): Likewise.
1874         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1875         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1876         * manual/conf.texi (Sysconf Definition): Update comment.
1878 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1880         [BZ #21209]
1881         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1882         AT_SECURE processes.
1883         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1884         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1885         (test_child): Likewise.
1886         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1888 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1890         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1892 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1894         * sysdeps/s390/atomic-machine.h
1895         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1896         (__arch_compare_and_exchange_val_8_acq,
1897         __arch_compare_and_exchange_val_16_acq,
1898         __arch_compare_and_exchange_val_32_acq,
1899         __arch_compare_and_exchange_val_64_acq):
1900         Delete macro.
1901         (atomic_compare_and_exchange_val_acq,
1902         atomic_compare_and_exchange_val_rel,
1903         atomic_compare_and_exchange_bool_acq,
1904         catomic_compare_and_exchange_bool_acq,
1905         atomic_exchange_acq, atomic_exchange_rel,
1906         atomic_exchange_and_add_acq,
1907         atomic_exchange_and_add_rel,
1908         catomic_exchange_and_add, atomic_or_val,
1909         atomic_or, catomic_or, atomic_bit_test_set,
1910         atomic_and_val, atomic_and, catomic_and):
1911         Define macros with help of C11 atomic builtins.
1913 2017-03-03  Justus Winter <justus@gnupg.org>
1915         * sysdeps/mach/hurd/ftruncate64.c: New file.
1916         * sysdeps/mach/hurd/truncate64.c: Likewise.
1918 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1920         * time/tzfile.c (NOID): Do not define.
1921         * time/tzset.c (NOID): Likewise.
1923 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1925         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1927 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1929         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1931 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1933         [BZ #21015]
1934         * manual/install.texi (Configuring and compiling): Document
1935         --enable-bind-now.
1936         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1937         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1938         (format.lds): Likewise.
1939         [bind-now] (LDFLAGS-c.so): Remove.
1940         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1941         be R_X86_64_GLOB_DAT.
1942         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1943         relocation can be R_386_GLOB_DAT.
1944         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1945         relocaiton can be R_ALPHA_GLOB_DAT.
1946         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1948 2017-03-01  Zack Weinberg  <zackw@panix.com>
1950         * include/libc-pointer-arith.h: New file.  Define
1951         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1952         PTR_ALIGN_DOWN here.
1953         * include/libc-internal.h: Definitions of above macros
1954         moved from here.  Don't include libc-diag.h anymore either.
1955         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1956         Don't include libc-internal.h.
1958         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1959         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1960         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1961         * string/strcoll_l.c, sysdeps/nacl/brk.c
1962         * sysdeps/unix/clock_settime.c
1963         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1964         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1965         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1966         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1967         Don't include libc-internal.h.
1969         * elf/get-dynamic-info.h, iconv/loop.c
1970         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1971         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1972         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1973         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1974         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1975         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1976         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1977         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1978         * sysdeps/ieee754/ldbl-128/k_tanl.c
1979         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1980         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1981         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1982         Include libc-diag.h instead of libc-internal.h.
1984         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1985         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1986         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1987         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1988         * sysdeps/unix/sysv/linux/spawni.c
1989         * sysdeps/x86_64/nptl/tls.h:
1990         Include libc-pointer-arith.h instead of libc-internal.h.
1992         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1993         * sysdeps/x86_64/atomic-machine.h:
1994         Add multiple include guard.
1996         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1997         * string/strcasestr.c: No need to include config.h.
1998         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1999         sys/auxv.h. Don't include sysdep.h.
2000         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2002         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2003         DL_LOOKUP_ADDRESS.
2004         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2005         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2006         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2007         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2008         of ARTIFICIAL_LIMIT.
2009         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2010         declaration of __clone2.
2012 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2014         * scripts/backport-support.sh (latest_commit): New file.
2016 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2018         [BZ #20257]
2019         * inet/Makefile (routines): Add deadline.
2020         (tests-static): Add tst-deadline.
2021         * inet/net-internal.h (struct deadline_current_time)
2022         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2023         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2024         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2025         * inet/deadline.c: New file.
2026         * inet/tst-deadline.c: Likewise.
2027         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2028         tst-udp-timeout, tst-udp-garbage.
2029         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2030         explicitly.
2031         (tst-udp-garbage): Likewise.  Also link against thread library.
2032         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2033         struct layout is part of the ABI.
2034         (clntudp_call): Rework timeout handling.
2035         * sunrpc/tst-udp-garbage.c: New file.
2036         * sunrpc/tst-udp-nonblocking.c: Likewise.
2037         * sunrpc/tst-udp-timeout.c: Likewise.
2039 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2041         [BZ #5010]
2042         * sunrpc/svc.c (svc_is_mapped): Remove.
2043         (svc_unregister): Obtain mapped status while the service is still
2044         registered.
2045         * sunrpc/Makefile [have-thread-library] (tests): Add
2046         tst-svc_register.
2047         (tst-svc_register): Link against libc.so explicitly and the thread
2048         library.
2049         * sunrpc/tst-svc_register.c: New file.
2051 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2053         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2054         * sysdeps/pthread/bits/sigthread.h: Likewise.
2056 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2058         [BZ #21115]
2059         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2060         * sunrpc/Makefile (tests): Add tst-udp-error.
2061         (tst-udp-error): Link against libc.so explicitly.
2062         * sunrpc/tst-udp-error: New file.
2064 2017-02-25  Zack Weinberg  <zackw@panix.com>
2066         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2067         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2069         * sysdeps/generic/math_ldbl.h
2070         * sysdeps/ia64/fpu/math_ldbl.h
2071         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2073         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2074         * sysdeps/powerpc/fpu/math_ldbl.h
2075         * sysdeps/x86_64/fpu/math_ldbl.h:
2076         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2077         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2078         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2079         Add copyright notices.
2081         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2082         Don't use EXTRACT_WORDS64.
2084         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2085         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2086         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2087         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2088         Include math_ldbl.h, not math_private.h.
2090 2017-02-25  Zack Weinberg  <zackw@panix.com>
2092         * include/libc-diag.h: New file.  Define ignore_value,
2093         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2094         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2096         * include/libc-internal.h: Definitions of above macros moved from
2097         here.  Include libc-diag.h.  Add copyright notice.
2099         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2100         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2101         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2102         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2103         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2104         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2105         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2106         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2107         Include libc-diag.h instead of libc-internal.h.
2109         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2110         call to unsetenv (NULL).
2111         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2112         call to pthread_mutexattr_destroy (NULL).
2114 2017-02-25  Zack Weinberg  <zackw@panix.com>
2116         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2117         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2118         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2119         gets was removed from C++ in C++14.
2120         * include/stdio.h: Remove redundant declaration of gets.
2121         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2122         be declared, since we are testing it.
2123         * stdio-common/Makefile (tst-gets.c): Compile with
2124         -Wno-deprecated-declarations.
2125         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2126         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2127         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2128         Compile with -Wno-deprecated-declarations.
2130 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2132         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2133         numbers.
2135 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2137         * resolv/tst-resolv-qtypes.c (domain):
2138         Change type to const pointer to const char.
2140 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2142         * math/Makefile (libm-tests-generated): Remove variable.
2143         (libm-tests-base-normal): New variable.
2144         (libm-tests-base-finite): Likewise.
2145         (libm-tests-base-inline): Likewise.
2146         (libm-tests-base): Likewise.
2147         (libm-tests-normal): Likewise.
2148         (libm-tests-finite): Likewise.
2149         (libm-tests-inline): Likewise.
2150         (libm-tests-vector): Likewise.
2151         (libm-tests): Define in terms of these new variables.
2152         (libm-tests-for-type): New variable.
2153         (libm-tests.o): Move definition.
2154         (tests): Move addition of $(libm-tests).
2155         (generated): Update for new and removed libm test files.
2156         ($(objpfx)libm-test.c): Remove target.
2157         ($(objpfx)libm-have-vector-test.h): Likewise.
2158         (CFLAGS-test-double-vlen2.c): Remove variable.
2159         (CFLAGS-test-double-vlen4.c): Likewise.
2160         (CFLAGS-test-double-vlen8.c): Likewise.
2161         (CFLAGS-test-float-vlen4.c): Likewise.
2162         (CFLAGS-test-float-vlen8.c): Likewise.
2163         (CFLAGS-test-float-vlen16.c): Likewise.
2164         (CFLAGS-test-float.c): Likewise.
2165         (CFLAGS-test-float-finite.c): Likewise.
2166         (CFLAGS-libm-test-support-float.c): Likewise.
2167         (CFLAGS-test-double.c): Likewise.
2168         (CFLAGS-test-double-finite.c): Likewise.
2169         (CFLAGS-libm-test-support-double.c): Likewise.
2170         (CFLAGS-test-ldouble.c): Likewise.
2171         (CFLAGS-test-ldouble-finite.c): Likewise.
2172         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2173         (libm-test-inline-cflags): New variable.
2174         (CFLAGS-test-ifloat.c): Remove variable.
2175         (CFLAGS-test-idouble.c): Likewise.
2176         (CFLAGS-test-ildouble.c): Likewise.
2177         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2178         dependencies.
2179         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2180         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2181         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2182         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2183         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2184         Likewise.
2185         (dependencies on libm-test-support-*.o): Remove.
2186         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2187         rules using iterators.
2188         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2189         Likewise.
2190         ($(objpfx)libm-test-support-$(o).o): Likewise.
2191         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2192         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2193         instead.
2194         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2195         define rule instead.
2196         * math/README.libm-test: Update.
2197         * math/libm-test-acos.inc: Include libm-test-driver.c.
2198         (do_test): New function.
2199         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2200         (do_test): New function.
2201         * math/libm-test-asin.inc: Include libm-test-driver.c.
2202         (do_test): New function.
2203         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2204         (do_test): New function.
2205         * math/libm-test-atan.inc: Include libm-test-driver.c.
2206         (do_test): New function.
2207         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2208         (do_test): New function.
2209         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2210         (do_test): New function.
2211         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2212         (do_test): New function.
2213         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2214         (do_test): New function.
2215         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2216         (do_test): New function.
2217         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2218         (do_test): New function.
2219         * math/libm-test-carg.inc: Include libm-test-driver.c.
2220         (do_test): New function.
2221         * math/libm-test-casin.inc: Include libm-test-driver.c.
2222         (do_test): New function.
2223         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2224         (do_test): New function.
2225         * math/libm-test-catan.inc: Include libm-test-driver.c.
2226         (do_test): New function.
2227         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2228         (do_test): New function.
2229         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2230         (do_test): New function.
2231         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2232         (do_test): New function.
2233         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2234         (do_test): New function.
2235         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2236         (do_test): New function.
2237         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2238         (do_test): New function.
2239         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2240         (do_test): New function.
2241         * math/libm-test-clog.inc: Include libm-test-driver.c.
2242         (do_test): New function.
2243         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2244         (do_test): New function.
2245         * math/libm-test-conj.inc: Include libm-test-driver.c.
2246         (do_test): New function.
2247         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2248         (do_test): New function.
2249         * math/libm-test-cos.inc: Include libm-test-driver.c.
2250         (do_test): New function.
2251         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2252         (do_test): New function.
2253         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2254         (do_test): New function.
2255         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2256         (do_test): New function.
2257         * math/libm-test-creal.inc: Include libm-test-driver.c.
2258         (do_test): New function.
2259         * math/libm-test-csin.inc: Include libm-test-driver.c.
2260         (do_test): New function.
2261         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2262         (do_test): New function.
2263         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2264         (do_test): New function.
2265         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2266         (do_test): New function.
2267         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2268         (do_test): New function.
2269         * math/libm-test-erf.inc: Include libm-test-driver.c.
2270         (do_test): New function.
2271         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2272         (do_test): New function.
2273         * math/libm-test-exp.inc: Include libm-test-driver.c.
2274         (do_test): New function.
2275         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2276         (do_test): New function.
2277         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2278         (do_test): New function.
2279         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2280         (do_test): New function.
2281         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2282         (do_test): New function.
2283         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2284         (do_test): New function.
2285         * math/libm-test-floor.inc: Include libm-test-driver.c.
2286         (do_test): New function.
2287         * math/libm-test-fma.inc: Include libm-test-driver.c.
2288         (do_test): New function.
2289         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2290         (do_test): New function.
2291         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2292         (do_test): New function.
2293         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2294         (do_test): New function.
2295         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2296         (do_test): New function.
2297         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2298         (do_test): New function.
2299         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2300         (do_test): New function.
2301         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2302         (do_test): New function.
2303         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2304         (do_test): New function.
2305         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2306         (do_test): New function.
2307         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2308         (do_test): New function.
2309         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2310         (do_test): New function.
2311         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2312         (do_test): New function.
2313         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2314         (do_test): New function.
2315         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2316         (do_test): New function.
2317         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2318         (do_test): New function.
2319         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2320         (do_test): New function.
2321         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2322         (do_test): New function.
2323         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2324         (do_test): New function.
2325         * math/libm-test-isless.inc: Include libm-test-driver.c.
2326         (do_test): New function.
2327         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2328         (do_test): New function.
2329         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2330         (do_test): New function.
2331         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2332         (do_test): New function.
2333         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2334         (do_test): New function.
2335         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2336         (do_test): New function.
2337         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2338         (do_test): New function.
2339         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2340         (do_test): New function.
2341         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2342         (do_test): New function.
2343         * math/libm-test-j0.inc: Include libm-test-driver.c.
2344         (do_test): New function.
2345         * math/libm-test-j1.inc: Include libm-test-driver.c.
2346         (do_test): New function.
2347         * math/libm-test-jn.inc: Include libm-test-driver.c.
2348         (do_test): New function.
2349         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2350         (do_test): New function.
2351         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2352         (do_test): New function.
2353         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2354         (do_test): New function.
2355         * math/libm-test-llround.inc: Include libm-test-driver.c.
2356         (do_test): New function.
2357         * math/libm-test-log.inc: Include libm-test-driver.c.
2358         (do_test): New function.
2359         * math/libm-test-log10.inc: Include libm-test-driver.c.
2360         (do_test): New function.
2361         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2362         (do_test): New function.
2363         * math/libm-test-log2.inc: Include libm-test-driver.c.
2364         (do_test): New function.
2365         * math/libm-test-logb.inc: Include libm-test-driver.c.
2366         (do_test): New function.
2367         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2368         (do_test): New function.
2369         * math/libm-test-lround.inc: Include libm-test-driver.c.
2370         (do_test): New function.
2371         * math/libm-test-modf.inc: Include libm-test-driver.c.
2372         (do_test): New function.
2373         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2374         (do_test): New function.
2375         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2376         (do_test): New function.
2377         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2378         (do_test): New function.
2379         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2380         (do_test): New function.
2381         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2382         (do_test): New function.
2383         * math/libm-test-pow.inc: Include libm-test-driver.c.
2384         (do_test): New function.
2385         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2386         (do_test): New function.
2387         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2388         (do_test): New function.
2389         * math/libm-test-rint.inc: Include libm-test-driver.c.
2390         (do_test): New function.
2391         * math/libm-test-round.inc: Include libm-test-driver.c.
2392         (do_test): New function.
2393         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2394         (do_test): New function.
2395         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2396         (do_test): New function.
2397         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2398         (do_test): New function.
2399         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2400         (do_test): New function.
2401         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2402         (do_test): New function.
2403         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2404         (do_test): New function.
2405         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2406         (do_test): New function.
2407         * math/libm-test-significand.inc: Include libm-test-driver.c.
2408         (do_test): New function.
2409         * math/libm-test-sin.inc: Include libm-test-driver.c.
2410         (do_test): New function.
2411         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2412         (do_test): New function.
2413         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2414         (do_test): New function.
2415         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2416         (do_test): New function.
2417         * math/libm-test-tan.inc: Include libm-test-driver.c.
2418         (do_test): New function.
2419         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2420         (do_test): New function.
2421         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2422         (do_test): New function.
2423         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2424         (do_test): New function.
2425         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2426         (do_test): New function.
2427         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2428         (do_test): New function.
2429         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2430         (do_test): New function.
2431         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2432         (do_test): New function.
2433         * math/libm-test-y0.inc: Include libm-test-driver.c.
2434         (do_test): New function.
2435         * math/libm-test-y1.inc: Include libm-test-driver.c.
2436         (do_test): New function.
2437         * math/libm-test-yn.inc: Include libm-test-driver.c.
2438         (do_test): New function.
2439         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2440         (HAVE_VECTOR): Remove macro.
2441         (START): Do not call HAVE_VECTOR.
2442         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2443         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2444         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2445         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2446         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2447         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2448         * math/test-math-vector.h (FUNC_TEST): New macro.
2449         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2450         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2451         (double-vlen4-funcs): Likewise.
2452         (double-vlen4-avx2-funcs): Likewise.
2453         (double-vlen8-funcs): Likewise.
2454         (float-vlen4-funcs): Likewise.
2455         (float-vlen8-funcs): Likewise.
2456         (float-vlen8-avx2-funcs): Likewise.
2457         (float-vlen16-funcs): Likewise.
2458         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2459         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2460         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2461         macro.
2462         (TEST_VECTOR_sin): Likewise.
2463         (TEST_VECTOR_sincos): Likewise.
2464         (TEST_VECTOR_log): Likewise.
2465         (TEST_VECTOR_exp): Likewise.
2466         (TEST_VECTOR_pow): Likewise.
2467         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2468         Likewise.
2469         (TEST_VECTOR_sin): Likewise.
2470         (TEST_VECTOR_sincos): Likewise.
2471         (TEST_VECTOR_log): Likewise.
2472         (TEST_VECTOR_exp): Likewise.
2473         (TEST_VECTOR_pow): Likewise.
2474         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2475         Likewise.
2476         (TEST_VECTOR_sinf): Likewise.
2477         (TEST_VECTOR_sincosf): Likewise.
2478         (TEST_VECTOR_logf): Likewise.
2479         (TEST_VECTOR_expf): Likewise.
2480         (TEST_VECTOR_powf): Likewise.
2481         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2482         Likewise.
2483         (TEST_VECTOR_sinf): Likewise.
2484         (TEST_VECTOR_sincosf): Likewise.
2485         (TEST_VECTOR_logf): Likewise.
2486         (TEST_VECTOR_expf): Likewise.
2487         (TEST_VECTOR_powf): Likewise.
2488         * math/gen-libm-have-vector-test.sh: Remove file.
2489         * math/libm-test.inc: Likewise.
2490         * math/libm-test-support-double.c: Likewise.
2491         * math/libm-test-support-float.c: Likewise.
2492         * math/libm-test-support-ldouble.c: Likewise.
2493         * math/test-double-finite.c: Likewise.: Likewise.
2494         * math/test-double.c: Likewise.
2495         * math/test-float-finite.c: Likewise.
2496         * math/test-float.c: Likewise.
2497         * math/test-idouble.c: Likewise.
2498         * math/test-ifloat.c: Likewise.
2499         * math/test-ildouble.c: Likewise.
2500         * math/test-ldouble-finite.c: Likewise.
2501         * math/test-ldouble.c: Likewise.
2502         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2503         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2505         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2506         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2507         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2508         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2509         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2510         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2511         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2513 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2514            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2516         * math/Makefile: Add wrappers to gen-libm-calls.
2517         * math/w_acos_template.c: New file.
2518         * math/w_acosh_template.c: Likewise.
2519         * math/w_asin_template.c: Likewise.
2520         * math/w_atan2_template.c: Likewise.
2521         * math/w_atanh_template.c: Likewise.
2522         * math/w_cosh_template.c: Likewise.
2523         * math/w_exp10_template.c: Likewise.
2524         * math/w_exp2_template.c: Likewise.
2525         * math/w_exp_template.c: Likewise.
2526         * math/w_fmod_template.c: Likewise.
2527         * math/w_hypot_template.c: Likewise.
2528         * math/w_j0_template.c: Likewise.
2529         * math/w_j1_template.c: Likewise.
2530         * math/w_jn_template.c: Likewise.
2531         * math/w_lgamma_r_template.c: Likewise.
2532         * math/w_lgamma_template.c: Likewise.
2533         * math/w_log10_template.c: Likewise.
2534         * math/w_log2_template.c: Likewise.
2535         * math/w_log_template.c: Likewise.
2536         * math/w_pow_template.c: Likewise.
2537         * math/w_remainder_template.c: Likewise.
2538         * math/w_sinh_template.c: Likewise.
2539         * math/w_sqrt_template.c: Likewise.
2540         * math/w_tgamma_template.c: Likewise.: Likewise.
2541         * sysdeps/generic/math-type-macros-double.h
2542         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2543         the new wrappers.
2544         * sysdeps/generic/math-type-macros-float.h: Likewise.
2545         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2547 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2549         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2550         New enum constant and macro.
2552         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2553         kernel version to 4.10.
2555 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2557         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2559 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2563 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2565         * sysdeps/powerpc/tst-set_ppr.c: New file.
2566         Implement test cases for __ppc_set_ppr_* functions.
2567         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2568         in the list of tests.
2570 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2572         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2573         instead of test-skeleton.c.
2574         (do_test): Replaced pthread_create and pthread_join with
2575         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2576         Removed unneeded status variable.
2577         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2578         instead of test-skeleton.c.
2579         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2581 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2583         [BZ #20313]
2584         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2585         201605L, for Unicode 9.
2587 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2589         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2590         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2591         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2592         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2593         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2594         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2596 2017-02-19  Zack Weinberg  <zackw@panix.com>
2598         * rt/tst-mqueue4.c: Include stdint.h.
2600 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2602         * sysdeps/arm/libm-test-ulps: Update.
2603         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2605         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2607 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2609         [BZ #21029]
2610         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2611         * sysdeps/unix/sysv/linux/i386/Makefile
2612         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2613         (uses-6-syscall-arguments): Remove.
2614         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2615         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2616         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2617         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2618         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2619         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2620         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2621         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2622         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2623         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2624         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2625         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2626         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2627         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2628         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2629         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2630         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2631         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2632         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2633         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2634         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2635         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2636         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2637         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2638         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2639         Likewise.
2640         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2641         Likewise.
2642         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2643         Likewise.
2644         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2645         Likewise.
2646         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2647         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2648         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2649         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2650         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2651         ebp on inline assembly.
2652         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2653         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2654         Set if CAN_USE_REGISTER_ASM_EBP is set.
2656 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2658         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2659         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2661 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2663         * math/auto-libm-test-in: Add tests of catan and catanh.
2664         * math/auto-libm-test-out-catan: New generated file.
2665         * math/auto-libm-test-out-catanh: Likewise.
2666         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2667         Move tests with finite inputs, except divide-by-zero cases, to
2668         auto-libm-test-in.
2669         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2670         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2671         (libm-test-funcs-noauto): Remove catan and catanh.
2672         * sysdeps/i386/fpu/libm-test-ulps: Update.
2673         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2676         * math/auto-libm-test-in: Add tests of casin and casinh.
2677         * math/auto-libm-test-out-casin: New generated file.
2678         * math/auto-libm-test-out-casinh: Likewise.
2679         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2680         Move tests with finite inputs to auto-libm-test-in.
2681         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2682         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2683         (libm-test-funcs-noauto): Remove casin and casinh.
2684         * sysdeps/i386/fpu/libm-test-ulps: Update.
2685         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2688         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2689         * math/auto-libm-test-out-cacos: New generated file.
2690         * math/auto-libm-test-out-cacosh: Likewise.
2691         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2692         Move tests with finite inputs to auto-libm-test-in.
2693         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2694         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2695         (libm-test-funcs-noauto): Remove cacos and cacosh.
2696         * sysdeps/i386/fpu/libm-test-ulps: Update.
2697         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2700         Revert:
2701         2017-02-16  Zack Weinberg  <zackw@panix.com>
2703         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2704         Don't include init-arch.h.
2705         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2706         Don't include init-arch.h.
2708 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2710         [BZ #21171]
2711         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2712         +Inf and raise divide-by-zero when x is negative.
2713         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2714         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2715         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2716         -Inf and raise divide-by-zero when x = +-0.
2717         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2718         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2719         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2720         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2721         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2722         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2723         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2725 2017-02-16  Zack Weinberg  <zackw@panix.com>
2727         * scripts/build-many-glibcs.py (bot_build_mail): If the
2728         bot_config does not contain all of the necessary email-
2729         related settings, just print a warning and continue.
2731 2017-02-16  Zack Weinberg  <zackw@panix.com>
2733         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2734         * dirent/opendir-tst1.c: Include sys/stat.h.
2735         * dirent/tst-fdopendir.c: Include sys/stat.h.
2736         * dirent/tst-fdopendir2.c: Include stdlib.h.
2737         * dirent/tst-scandir.c: Include stdbool.h.
2738         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2739         * elf/tst-tls15.c: Include stdlib.h.
2740         * elf/tst-tls16.c: Include stdlib.h.
2741         * elf/tst-tls17.c: Include stdlib.h.
2742         * elf/tst-tls18.c: Include stdlib.h.
2743         * iconv/tst-iconv6.c: Include endian.h.
2744         * iconvdata/bug-iconv11.c: Include limits.h.
2745         * io/test-utime.c: Include stdint.h.
2746         * io/tst-faccessat.c: Include sys/stat.h.
2747         * io/tst-fchmodat.c: Include sys/stat.h.
2748         * io/tst-fchownat.c: Include sys/stat.h.
2749         * io/tst-fstatat.c: Include sys/stat.h.
2750         * io/tst-futimesat.c: Include sys/stat.h.
2751         * io/tst-linkat.c: Include sys/stat.h.
2752         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2753         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2754         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2755         * io/tst-openat.c: Include stdbool.h.
2756         * io/tst-readlinkat.c: Include sys/stat.h.
2757         * io/tst-renameat.c: Include sys/stat.h.
2758         * io/tst-symlinkat.c: Include sys/stat.h.
2759         * io/tst-unlinkat.c: Include stdbool.h.
2760         * libio/bug-memstream1.c: Include stdlib.h.
2761         * libio/bug-wmemstream1.c: Include stdlib.h.
2762         * libio/tst-fwrite-error.c: Include stdlib.h.
2763         * libio/tst-memstream1.c: Include stdlib.h.
2764         * libio/tst-memstream2.c: Include stdlib.h.
2765         * libio/tst-memstream3.c: Include stdlib.h.
2766         * malloc/tst-interpose-aux.c: Include stdint.h.
2767         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2768         * nptl/tst-basic7.c: Include limits.h.
2769         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2770         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2771         * nptl/tst-cancel4_1.c: Include stddef.h.
2772         * nptl/tst-cancel4_2.c: Include stddef.h.
2773         * nptl/tst-cond16.c: Include limits.h.
2774         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2775         * nptl/tst-cond18.c: Include limits.h.
2776         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2777         * nptl/tst-cond4.c: Include stdint.h.
2778         * nptl/tst-cond6.c: Include stdint.h.
2779         * nptl/tst-stack2.c: Include limits.h.
2780         * nptl/tst-stackguard1.c: Include stddef.h.
2781         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2782         * nptl/tst-tls4moda.c: Include stddef.h.
2783         Don't include stdio.h, unistd.h, or tls.h.
2784         * nptl/tst-tls4modb.c: Include stddef.h.
2785         Don't include stdio.h, unistd.h, or tls.h.
2786         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2787         * posix/tst-getaddrinfo2.c: Include stdio.h.
2788         * posix/tst-getaddrinfo5.c: Include stdio.h.
2789         * posix/tst-pathconf.c: Include sys/stat.h.
2790         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2791         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2792         * posix/tst-regex.c: Include stdint.h.
2793         Don't include spawn.h or spawn_int.h.
2794         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2795         * posix/tst-vfork3.c: Include sys/stat.h.
2796         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2797         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2798         * resolv/tst-resolv-search.c: Include stdlib.h.
2799         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2800         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2801         * stdlib/test-canon.c: Include sys/stat.h.
2802         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2803         * string/test-memchr.c: Include stdint.h.
2804         * string/tst-cmp.c: Include stdint.h.
2805         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2806         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2807         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2808         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2809         Don't include init-arch.h.
2810         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2811         Don't include init-arch.h.
2812         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2813         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2814         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2815         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2816         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2817         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2818         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2819         * time/clocktest.c: Include stdint.h.
2820         * time/tst-posixtz.c: Include stdint.h.
2821         * timezone/tst-timezone.c: Include stdint.h.
2823 2017-02-16  Zack Weinberg  <zackw@panix.com>
2825         * string/string.h [__USE_MISC]: Include strings.h.
2826         (__bzero, bcmp, bcopy, bzero, index, rindex)
2827         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2828         (ffs, ffsl, ffsll): Don't declare.
2829         * string/strings.h: Do not suppress the file if string.h has
2830         already been included.
2831         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2832         annotations.
2833         (index, rindex): Define inline forwarders even if
2834         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2835         (ffs): Use __attribute_const__.
2836         (ffsl, ffsll): Declare here.
2837         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2838         have now been standardized.
2839         * include/string.h (__bzero): Declare here.
2841         * bits/types.h: Move to posix/bits.
2842         * include/bits/types.h: New wrapper.
2844 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2846         * string/bits/string2.h (strcmp): Remove define.
2847         (__strcmp_cg): Likewise.
2848         (strncmp): Likewise.
2850 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2852         * include/string.h: Add __cplusplus check.
2854 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2856         [BZ #21134]
2857         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2858         "divide by zero" exception when the input is zero.
2859         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2860         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2861         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2863         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2865 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2868         and include ...
2869         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2870         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2871         to, and include ...
2872         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2873         file.
2874         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2875         and include ...
2876         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2877         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2878         and include ...
2879         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2880         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2881         and include ...
2882         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2883         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2884         and include ...
2885         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2886         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2887         to, and include ...
2888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2889         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2890         and include ...
2891         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2893 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2895         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2896         here.
2897         * math/libm-test-support.c (libm_test_init): Do not call
2898         INIT_ARCH_EXT here.
2899         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2900         (main): Call INIT_ARCH_EXT.
2902 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2904         [BZ #21130]
2905         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2906         with the "invalid" exception raised when x is -Inf.
2907         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2909 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2911         * string/bits/string2.h (strchr): Remove define.
2913 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2915         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2916         tst-avx512.
2917         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2918         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2919         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2920         ($(objpfx)tst-sse): New rule.
2921         ($(objpfx)tst-avx): Likewise.
2922         ($(objpfx)tst-avx512): Likewise.
2923         (CFLAGS-tst-avx-aux.c): New.
2924         (CFLAGS-tst-avxmod.c): Likewise.
2925         (CFLAGS-tst-avx512-aux.c): Likewise.
2926         (CFLAGS-tst-avx512mod.c): Likewise.
2927         * sysdeps/x86_64/tst-avx-aux.c: New file.
2928         * sysdeps/x86_64/tst-avx.c: Likewise.
2929         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2930         * sysdeps/x86_64/tst-avx512.c: Likewise.
2931         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2932         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2933         * sysdeps/x86_64/tst-sse.c: Likewise.
2934         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2936 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2938         * math/auto-libm-test-in: Add more tests of csin and csinh.
2939         * math/auto-libm-test-out-csin: Regenerated.
2940         * math/auto-libm-test-out-csinh: Likewise.
2941         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2942         auto-libm-test-in.
2943         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2945 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2947         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2948         libm-compat-calls-auto.
2949         (libm-compat-calls): Likewise.
2950         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2951         w_lgamma_compatF and k_standardF (merged from the items above).
2952         (libm-routines): Use libm-compat-calls, instead of
2953         libm-compat-calls-auto, with type-foreach.
2955 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2957         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2958         macro.
2959         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2960         (CFLAGS-test-ifloat.c): ... this.  Remove
2961         -U__LIBC_INTERNAL_MATH_INLINES.
2962         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2963         (CFLAGS-test-idouble.c): ... this.  Remove
2964         -U__LIBC_INTERNAL_MATH_INLINES.
2965         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2966         (CFLAGS-test-ildouble.c): ... this.  Remove
2967         -U__LIBC_INTERNAL_MATH_INLINES.
2969 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2971         * math/libm-test-support.c: New file.  Content from
2972         math/libm-test-driver.c.
2973         * math/libm-test-support.h: Likewise.
2974         * math/libm-test-support-double.c: New file.
2975         * math/libm-test-support-float.c: Likewise.
2976         * math/libm-test-support-ldouble.c: Likewise.
2977         * math/libm-test-driver.c: Remove main comment and header
2978         includes.  Include libm-test-support.h.
2979         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2980         (flag_test_errno): Remove static.
2981         (flag_test_exceptions): Likewise.
2982         (flag_test_finite): Likewise.
2983         (flag_test_inline): Likewise.
2984         (flag_test_mathvec): Likewise.
2985         (test_msg): Likewise.
2986         (NO_EXCEPTION): Remove.
2987         (INVALID_EXCEPTION): Likewise.
2988         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2989         (OVERFLOW_EXCEPTION): Likewise.
2990         (UNDERFLOW_EXCEPTION): Likewise.
2991         (INEXACT_EXCEPTION): Likewise.
2992         (INVALID_EXCEPTION_OK): Likewise.
2993         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2994         (OVERFLOW_EXCEPTION_OK): Likewise.
2995         (UNDERFLOW_EXCEPTION_OK): Likewise.
2996         (NO_INEXACT_EXCEPTION): Likewise.
2997         (EXCEPTIONS_OK): Likewise.
2998         (IGNORE_ZERO_INF_SIGN): Likewise.
2999         (TEST_NAN_SIGN): Likewise.
3000         (TEST_NAN_PAYLOAD): Likewise.
3001         (NO_TEST_INLINE): Likewise.
3002         (XFAIL_TEST): Likewise.
3003         (ERRNO_UNCHANGED): Likewise.
3004         (ERRNO_EDOM): Likewise.
3005         (ERRNO_ERANGE): Likewise.
3006         (IGNORE_RESULT): Likewise.
3007         (NON_FINITE): Likewise.
3008         (TEST_SNAN): Likewise.
3009         (NO_TEST_MATHVEC): Likewise.
3010         (__CONCATX): Likewise.
3011         (TYPE_MIN): Likewise.
3012         (TYPE_TRUE_MIN): Likewise.
3013         (TYPE_MAX): Likewise.
3014         (MIN_EXP): Likewise.
3015         (MAX_EXP): Likewise.
3016         (MANT_DIG): Likewise.
3017         (FSTR_MAX): Likewise.
3018         (ulp_idx): Likewise.
3019         (qtype_str): Remove static.
3020         (TEST_COND_binary32): Remove.
3021         (TEST_COND_binary64): Likewise.
3022         (TEST_COND_binary128): Likewise.
3023         (TEST_COND_ibm128): Likewise.
3024         (TEST_COND_intel96): Likewise.
3025         (TEST_COND_m68k96): Likewise.
3026         (TEST_COND_ibm128_libgcc): Likewise.
3027         (XFAIL_IBM128_LIBGCC): Likewise.
3028         (PAYLOAD_DIG): Likewise.
3029         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3030         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3031         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3032         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3033         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3034         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3035         (TEST_COND_long32): Likewise.
3036         (TEST_COND_long64): Likewise.
3037         (TEST_COND_before_rounding): Likewise.
3038         (TEST_COND_after_rounding): Likewise.
3039         (ulps_file_name): Likewise.
3040         (ulps_file): Likewise.
3041         (output_ulps): Likewise.
3042         (output_dir): Likewise.
3043         (noErrors): Likewise.
3044         (noTests): Likewise.
3045         (noExcTests): Likewise.
3046         (noErrnoTests): Likewise.
3047         (verbose): Likewise.
3048         (output_max_error): Likewise.
3049         (output_points): Likewise.
3050         (ignore_max_ulp): Likewise.
3051         (max_error): Likewise.
3052         (real_max_error): Likewise.
3053         (imag_max_error): Likewise.
3054         (prev_max_error): Likewise.
3055         (prev_real_max_error): Likewise.
3056         (prev_imag_max_error): Likewise.
3057         (max_valid_error): Likewise.
3058         (TYPE_DECIMAL_DIG): Likewise.
3059         (TYPE_HEX_DIG): Likewise.
3060         (fmt_ftostr): Likewise.
3061         (compare_ulp_data): Likewise.
3062         (find_ulps): Likewise.
3063         (init_max_error): Likewise.
3064         (set_max_error): Likewise.
3065         (print_float): Likewise.
3066         (print_screen): Likewise.
3067         (print_screen_max_error): Likewise.
3068         (update_stats): Likewise.
3069         (print_function_ulps): Likewise.
3070         (print_complex_function_ulps): Likewise.
3071         (fpstack_test): Likewise.
3072         (print_max_error): Likewise.
3073         (print_complex_max_error): Likewise.
3074         (test_single_exception): Likewise.
3075         (test_exceptions): Likewise.
3076         (test_single_errno): Likewise.
3077         (test_errno): Likewise.
3078         (ULPDIFF): Likewise.
3079         (ulp): Likewise.
3080         (check_float_internal): Likewise.
3081         (check_float): Likewise.
3082         (check_complex): Likewise.
3083         (check_int): Likewise.
3084         (check_long): Likewise.
3085         (check_bool): Likewise.
3086         (check_longlong): Likewise.
3087         (check_intmax_t): Likewise.
3088         (check_uintmax_t): Likewise.
3089         (enable_test): Likewise.
3090         (matherr): Likewise.
3091         (initialize): Likewise.
3092         (options): Likewise.
3093         (doc): Remove static.
3094         (argp): Likewise.
3095         (parse_opt): Remove.
3096         (check_ulp): Likewise.
3097         (libm_test_init): Likewise.
3098         (libm_test_finish): Likewise.
3099         * math/Makefile (libm-test-support): New variable.
3100         (test-extras): Add libm-test-support files.
3101         (extra-test-objs): Likewise.
3102         (CFLAGS-libm-test-support-float.c): New variable.
3103         (CFLAGS-libm-test-support-double.c): Likewise.
3104         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3105         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3106         libm-test-support objects.
3108 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3110         * math/Makefile (libm-calls): Move w_exp...
3111         (libm-compat-calls-auto): Here.
3113         * math/w_expl.c: Add suffix "_compat" to filename.
3114         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3115         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3116         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3117         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3118         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3119         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3120         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3121         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3123         * math/w_expl_compat.c: New file, copied from above.
3124         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3125         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3126         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3127         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3128         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3129         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3130         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3131         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3133         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3134         to filename.
3135         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3137         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3138         copied from above and adjusted for the new filenames.
3139         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3141 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3143         * math/Makefile (libm-calls): Move w_lgammaF...
3144         (libm-compat-calls-auto): Here.
3146         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3147         * math/w_lgammaf.c: Likewise.
3148         * math/w_lgammal.c: Likewise.
3150         * math/w_lgamma_compat2.c: New file, copied from above.
3151         * math/w_lgammaf_compat2.c: Likewise.
3152         * math/w_lgammal_compat2.c: Likewise.
3154 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3156         * math/Makefile (libm-calls): Move w_lgammaF_r...
3157         (libm-compat-calls-auto): Here.
3159         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3160         * math/w_lgammaf_r.c: Likewise.
3161         * math/w_lgammal_r.c: Likewise.
3162         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3163         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3164         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3166         * math/w_lgamma_r_compat.c: New file, copied from above.
3167         * math/w_lgammaf_r_compat.c: Likewise.
3168         * math/w_lgammal_r_compat.c: Likewise.
3169         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3170         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3171         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3173         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3174         to filename.
3175         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3177         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3178         copied from above and adjusted for the new filenames.
3179         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3181 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3184         calculation in SYSCALL_ERROR_HANDLER().
3186 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3188         * manual/contrib.texi: Fix typo.
3190 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3192         [BZ #21109]
3193         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3194         tunable_val_t as argument.
3195         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3196         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3197         argument.
3198         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3200 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3202         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3203         Add PTRACE_EVENT_STOP.
3204         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3206         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3207         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3208         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3209         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3211 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3213         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3214         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3215         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3216         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3217         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3218         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3219         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3220         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3221         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3222         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3224         [BZ #21112]
3225         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3226         12 bits zero.
3227         (cp_l): Update for new value of cp_h.
3228         * math/auto-libm-test-in: Add another test of pow.
3229         * math/auto-libm-test-out-pow: Regenerated.
3231 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3233         * manual/contrib.texi: Fix typo.
3235 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3237         [BZ #15998]
3238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3239         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3242 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3244         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3245         STRCHR as __strchr_power8.
3246         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3247         strlen as __strlen_power8.
3249 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3251         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3252         unaligned load for shorter strings.
3253         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3255 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3257         * math/libm-test-driver.c (flag_test_errno): New variable.
3258         (flag_test_exceptions): Likewise.
3259         (flag_test_finite): Likewise.
3260         (flag_test_inline): Likewise.
3261         (flag_test_mathvec): Likewise.
3262         (test_msg): Likewise.
3263         (ulp_idx): Likewise.
3264         (qtype_str): Likewise.
3265         (ULP_IDX): Remove macro.
3266         (QTYPE_STR): Likewise.
3267         (find_ulps): Use ulp_idx not ULP_IDX.
3268         (print_function_ulps): Use qtype_str, printed with %s, not
3269         QTYPE_STR, printed with concatentation to format string.
3270         (print_complex_function_ulps): Likewise.
3271         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3272         (test_errno): Use flag_test_errno not TEST_ERRNO.
3273         (enable_test): Use flag_test_inline, flag_test_finite and
3274         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3275         TEST_MATHVEC.
3276         (libm_test_init): New function.  Factored out of main.
3277         (libm_test_finish): Likewise.
3278         (main): Call libm_test_init and libm_test_finish and move most
3279         code to those functions.
3281         * math/libm-test-driver.c (STRX): New macro.
3282         (STR): Likewise.
3283         (STR_FLOAT): Likewise.
3284         (STR_VEC_LEN): Likewise.
3285         (TEST_MSG): Likewise.  Define here instead of expecting to be
3286         defined by including file.
3287         * math/test-double-finite.c (TEST_MSG): Remove macro.
3288         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3289         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3290         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3291         * math/test-double.c (TEST_MSG): Likewise.
3292         * math/test-float-finite.c (TEST_MSG): Likewise.
3293         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3294         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3295         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3296         * math/test-float.c (TEST_MSG): Likewise.
3297         * math/test-idouble.c (TEST_MSG): Likewise.
3298         * math/test-ifloat.c (TEST_MSG): Likewise.
3299         * math/test-ildouble.c (TEST_MSG): Likewise.
3300         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3301         * math/test-ldouble.c (TEST_MSG): Likewise.
3303         * math/libm-test.inc: Move all tests of individual functions to
3304         libm-test-*.inc and #include libm-test-*.c files.
3305         (acos_test_data): Remove.
3306         (acos_test): Likewise.
3307         (acosh_test_data): Likewise.
3308         (acosh_test): Likewise.
3309         (asin_test_data): Likewise.
3310         (asin_test): Likewise.
3311         (asinh_test_data): Likewise.
3312         (asinh_test): Likewise.
3313         (atan_test_data): Likewise.
3314         (atan_test): Likewise.
3315         (atanh_test_data): Likewise.
3316         (atanh_test): Likewise.
3317         (atan2_test_data): Likewise.
3318         (atan2_test): Likewise.
3319         (cabs_test_data): Likewise.
3320         (cabs_test): Likewise.
3321         (cacos_test_data): Likewise.
3322         (cacos_test): Likewise.
3323         (cacosh_test_data): Likewise.
3324         (cacosh_test): Likewise.
3325         (canonicalize_test_data): Likewise.
3326         (canonicalize_test): Likewise.
3327         (carg_test_data): Likewise.
3328         (carg_test): Likewise.
3329         (casin_test_data): Likewise.
3330         (casin_test): Likewise.
3331         (casinh_test_data): Likewise.
3332         (casinh_test): Likewise.
3333         (catan_test_data): Likewise.
3334         (catan_test): Likewise.
3335         (catanh_test_data): Likewise.
3336         (catanh_test): Likewise.
3337         (cbrt_test_data): Likewise.
3338         (cbrt_test): Likewise.
3339         (ccos_test_data): Likewise.
3340         (ccos_test): Likewise.
3341         (ccosh_test_data): Likewise.
3342         (ccosh_test): Likewise.
3343         (ceil_test_data): Likewise.
3344         (ceil_test): Likewise.
3345         (cexp_test_data): Likewise.
3346         (cexp_test): Likewise.
3347         (cimag_test_data): Likewise.
3348         (cimag_test): Likewise.
3349         (clog_test_data): Likewise.
3350         (clog_test): Likewise.
3351         (clog10_test_data): Likewise.
3352         (clog10_test): Likewise.
3353         (conj_test_data): Likewise.
3354         (conj_test): Likewise.
3355         (copysign_test_data): Likewise.
3356         (copysign_test): Likewise.
3357         (cos_test_data): Likewise.
3358         (cos_test): Likewise.
3359         (cosh_test_data): Likewise.
3360         (cosh_test): Likewise.
3361         (cpow_test_data): Likewise.
3362         (cpow_test): Likewise.
3363         (cproj_test_data): Likewise.
3364         (cproj_test): Likewise.
3365         (creal_test_data): Likewise.
3366         (creal_test): Likewise.
3367         (csin_test_data): Likewise.
3368         (csin_test): Likewise.
3369         (csinh_test_data): Likewise.
3370         (csinh_test): Likewise.
3371         (csqrt_test_data): Likewise.
3372         (csqrt_test): Likewise.
3373         (ctan_test_data): Likewise.
3374         (ctan_test): Likewise.
3375         (ctanh_test_data): Likewise.
3376         (ctanh_test): Likewise.
3377         (erf_test_data): Likewise.
3378         (erf_test): Likewise.
3379         (erfc_test_data): Likewise.
3380         (erfc_test): Likewise.
3381         (exp_test_data): Likewise.
3382         (exp_test): Likewise.
3383         (exp10_test_data): Likewise.
3384         (exp10_test): Likewise.
3385         (pow10_test): Likewise.
3386         (exp2_test_data): Likewise.
3387         (exp2_test): Likewise.
3388         (expm1_test_data): Likewise.
3389         (expm1_test): Likewise.
3390         (fabs_test_data): Likewise.
3391         (fabs_test): Likewise.
3392         (fdim_test_data): Likewise.
3393         (fdim_test): Likewise.
3394         (floor_test_data): Likewise.
3395         (floor_test): Likewise.
3396         (fma_test_data): Likewise.
3397         (fma_test): Likewise.
3398         (fmax_test_data): Likewise.
3399         (fmax_test): Likewise.
3400         (fmaxmag_test_data): Likewise.
3401         (fmaxmag_test): Likewise.
3402         (fmin_test_data): Likewise.
3403         (fmin_test): Likewise.
3404         (fminmag_test_data): Likewise.
3405         (fminmag_test): Likewise.
3406         (fmod_test_data): Likewise.
3407         (fmod_test): Likewise.
3408         (fpclassify_test_data): Likewise.
3409         (fpclassify_test): Likewise.
3410         (frexp_test_data): Likewise.
3411         (frexp_test): Likewise.
3412         (fromfp_test_data): Likewise.
3413         (fromfp_test): Likewise.
3414         (fromfpx_test_data): Likewise.
3415         (fromfpx_test): Likewise.
3416         (getpayload_test_data): Likewise.
3417         (getpayload_test): Likewise.
3418         (hypot_test_data): Likewise.
3419         (hypot_test): Likewise.
3420         (ilogb_test_data): Likewise.
3421         (ilogb_test): Likewise.
3422         (iscanonical_test_data): Likewise.
3423         (iscanonical_test): Likewise.
3424         (iseqsig_test_data): Likewise.
3425         (iseqsig_test): Likewise.
3426         (isfinite_test_data): Likewise.
3427         (isfinite_test): Likewise.
3428         (finite_test): Likewise.
3429         (isgreater_test_data): Likewise.
3430         (isgreater_test): Likewise.
3431         (isgreaterequal_test_data): Likewise.
3432         (isgreaterequal_test): Likewise.
3433         (isinf_test_data): Likewise.
3434         (isinf_test): Likewise.
3435         (isless_test_data): Likewise.
3436         (isless_test): Likewise.
3437         (islessequal_test_data): Likewise.
3438         (islessequal_test): Likewise.
3439         (islessgreater_test_data): Likewise.
3440         (islessgreater_test): Likewise.
3441         (isnan_test_data): Likewise.
3442         (isnan_test): Likewise.
3443         (isnormal_test_data): Likewise.
3444         (isnormal_test): Likewise.
3445         (issignaling_test_data): Likewise.
3446         (issignaling_test): Likewise.
3447         (issubnormal_test_data): Likewise.
3448         (issubnormal_test): Likewise.
3449         (isunordered_test_data): Likewise.
3450         (isunordered_test): Likewise.
3451         (iszero_test_data): Likewise.
3452         (iszero_test): Likewise.
3453         (j0_test_data): Likewise.
3454         (j0_test): Likewise.
3455         (j1_test_data): Likewise.
3456         (j1_test): Likewise.
3457         (jn_test_data): Likewise.
3458         (jn_test): Likewise.
3459         (lgamma_test_data): Likewise.
3460         (lgamma_test): Likewise.
3461         (gamma_test): Likewise.
3462         (llogb_test_data): Likewise.
3463         (llogb_test): Likewise.
3464         (lrint_test_data): Likewise.
3465         (lrint_test): Likewise.
3466         (llrint_test_data): Likewise.
3467         (llrint_test): Likewise.
3468         (log_test_data): Likewise.
3469         (log_test): Likewise.
3470         (log10_test_data): Likewise.
3471         (log10_test): Likewise.
3472         (log1p_test_data): Likewise.
3473         (log1p_test): Likewise.
3474         (log2_test_data): Likewise.
3475         (log2_test): Likewise.
3476         (logb_test_data): Likewise.
3477         (logb_test): Likewise.
3478         (lround_test_data): Likewise.
3479         (lround_test): Likewise.
3480         (llround_test_data): Likewise.
3481         (llround_test): Likewise.
3482         (modf_test_data): Likewise.
3483         (modf_test): Likewise.
3484         (nearbyint_test_data): Likewise.
3485         (nearbyint_test): Likewise.
3486         (nextafter_test_data): Likewise.
3487         (nextafter_test): Likewise.
3488         (nextup_test_data): Likewise.
3489         (nextup_test): Likewise.
3490         (nextdown_test_data): Likewise.
3491         (nextdown_test): Likewise.
3492         (nexttoward_test_data): Likewise.
3493         (nexttoward_test): Likewise.
3494         (pow_test_data): Likewise.
3495         (pow_test): Likewise.
3496         (remainder_test_data): Likewise.
3497         (remainder_test): Likewise.
3498         (drem_test): Likewise.
3499         (remquo_test_data): Likewise.
3500         (remquo_test): Likewise.
3501         (rint_test_data): Likewise.
3502         (rint_test): Likewise.
3503         (round_test_data): Likewise.
3504         (round_test): Likewise.
3505         (roundeven_test_data): Likewise.
3506         (roundeven_test): Likewise.
3507         (scalb_test_data): Likewise.
3508         (scalb_test): Likewise.
3509         (scalbn_test_data): Likewise.
3510         (scalbn_test): Likewise.
3511         (ldexp_test): Likewise.
3512         (scalbln_test_data): Likewise.
3513         (scalbln_test): Likewise.
3514         (setpayload_test_data): Likewise.
3515         (setpayload_test): Likewise.
3516         (setpayloadsig_test_data): Likewise.
3517         (setpayloadsig_test): Likewise.
3518         (signbit_test_data): Likewise.
3519         (signbit_test): Likewise.
3520         (sin_test_data): Likewise.
3521         (sin_test): Likewise.
3522         (sincos_test_data): Likewise.
3523         (sincos_test): Likewise.
3524         (sinh_test_data): Likewise.
3525         (sinh_test): Likewise.
3526         (sqrt_test_data): Likewise.
3527         (sqrt_test): Likewise.
3528         (tan_test_data): Likewise.
3529         (tan_test): Likewise.
3530         (tanh_test_data): Likewise.
3531         (tanh_test): Likewise.
3532         (tgamma_test_data): Likewise.
3533         (tgamma_test): Likewise.
3534         (totalorder_test_data): Likewise.
3535         (totalorder_test): Likewise.
3536         (totalordermag_test_data): Likewise.
3537         (totalordermag_test): Likewise.
3538         (trunc_test_data): Likewise.
3539         (trunc_test): Likewise.
3540         (ufromfp_test_data): Likewise.
3541         (ufromfp_test): Likewise.
3542         (ufromfpx_test_data): Likewise.
3543         (ufromfpx_test): Likewise.
3544         (y0_test_data): Likewise.
3545         (y0_test): Likewise.
3546         (y1_test_data): Likewise.
3547         (y1_test): Likewise.
3548         (yn_test_data): Likewise.
3549         (yn_test): Likewise.
3550         (significand_test_data): Likewise.
3551         (significand_test): Likewise.
3552         * math/Makefile (auto-libm-test-out-files): Remove variable.
3553         (libm-test-funcs-noauto): New variable.
3554         (libm-test-funcs-all): Likewise.
3555         (libm-test-c-auto): Likewise.
3556         (libm-test-c-noauto): Likewise.
3557         (libm-tests-generated): Add $(libm-test-c-auto) and
3558         $(libm-test-c-noauto).
3559         (generated): Do not add auto-libm-test-out.
3560         (libm-test-c-auto-obj): New variable.
3561         (libm-test-c-noauto-obj): Likewise.
3562         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3563         ($(libm-test-c-noauto-obj)): New static pattern rule.
3564         ($(libm-test-c-auto-obj)): Likewise.
3565         (libm-test-incs): New variable.
3566         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3567         and pass it to gen-libm-have-vector-test.sh.
3568         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3569         be passed on command line.
3570         * math/libm-test-acos.inc: New file.  Content from
3571         math/libm-test.inc.
3572         * math/libm-test-acosh.inc: Likewise.
3573         * math/libm-test-asin.inc: Likewise.
3574         * math/libm-test-asinh.inc: Likewise.
3575         * math/libm-test-atan.inc: Likewise.
3576         * math/libm-test-atan2.inc: Likewise.
3577         * math/libm-test-atanh.inc: Likewise.
3578         * math/libm-test-cabs.inc: Likewise.
3579         * math/libm-test-cacos.inc: Likewise.
3580         * math/libm-test-cacosh.inc: Likewise.
3581         * math/libm-test-canonicalize.inc: Likewise.
3582         * math/libm-test-carg.inc: Likewise.
3583         * math/libm-test-casin.inc: Likewise.
3584         * math/libm-test-casinh.inc: Likewise.
3585         * math/libm-test-catan.inc: Likewise.
3586         * math/libm-test-catanh.inc: Likewise.
3587         * math/libm-test-cbrt.inc: Likewise.
3588         * math/libm-test-ccos.inc: Likewise.
3589         * math/libm-test-ccosh.inc: Likewise.
3590         * math/libm-test-ceil.inc: Likewise.
3591         * math/libm-test-cexp.inc: Likewise.
3592         * math/libm-test-cimag.inc: Likewise.
3593         * math/libm-test-clog.inc: Likewise.
3594         * math/libm-test-clog10.inc: Likewise.
3595         * math/libm-test-conj.inc: Likewise.
3596         * math/libm-test-copysign.inc: Likewise.
3597         * math/libm-test-cos.inc: Likewise.
3598         * math/libm-test-cosh.inc: Likewise.
3599         * math/libm-test-cpow.inc: Likewise.
3600         * math/libm-test-cproj.inc: Likewise.
3601         * math/libm-test-creal.inc: Likewise.
3602         * math/libm-test-csin.inc: Likewise.
3603         * math/libm-test-csinh.inc: Likewise.
3604         * math/libm-test-csqrt.inc: Likewise.
3605         * math/libm-test-ctan.inc: Likewise.
3606         * math/libm-test-ctanh.inc: Likewise.
3607         * math/libm-test-erf.inc: Likewise.
3608         * math/libm-test-erfc.inc: Likewise.
3609         * math/libm-test-exp.inc: Likewise.
3610         * math/libm-test-exp10.inc: Likewise.
3611         * math/libm-test-exp2.inc: Likewise.
3612         * math/libm-test-expm1.inc: Likewise.
3613         * math/libm-test-fabs.inc: Likewise.
3614         * math/libm-test-fdim.inc: Likewise.
3615         * math/libm-test-floor.inc: Likewise.
3616         * math/libm-test-fma.inc: Likewise.
3617         * math/libm-test-fmax.inc: Likewise.
3618         * math/libm-test-fmaxmag.inc: Likewise.
3619         * math/libm-test-fmin.inc: Likewise.
3620         * math/libm-test-fminmag.inc: Likewise.
3621         * math/libm-test-fmod.inc: Likewise.
3622         * math/libm-test-fpclassify.inc: Likewise.
3623         * math/libm-test-frexp.inc: Likewise.
3624         * math/libm-test-fromfp.inc: Likewise.
3625         * math/libm-test-fromfpx.inc: Likewise.
3626         * math/libm-test-getpayload.inc: Likewise.
3627         * math/libm-test-hypot.inc: Likewise.
3628         * math/libm-test-ilogb.inc: Likewise.
3629         * math/libm-test-iscanonical.inc: Likewise.
3630         * math/libm-test-iseqsig.inc: Likewise.
3631         * math/libm-test-isfinite.inc: Likewise.
3632         * math/libm-test-isgreater.inc: Likewise.
3633         * math/libm-test-isgreaterequal.inc: Likewise.
3634         * math/libm-test-isinf.inc: Likewise.
3635         * math/libm-test-isless.inc: Likewise.
3636         * math/libm-test-islessequal.inc: Likewise.
3637         * math/libm-test-islessgreater.inc: Likewise.
3638         * math/libm-test-isnan.inc: Likewise.
3639         * math/libm-test-isnormal.inc: Likewise.
3640         * math/libm-test-issignaling.inc: Likewise.
3641         * math/libm-test-issubnormal.inc: Likewise.
3642         * math/libm-test-isunordered.inc: Likewise.
3643         * math/libm-test-iszero.inc: Likewise.
3644         * math/libm-test-j0.inc: Likewise.
3645         * math/libm-test-j1.inc: Likewise.
3646         * math/libm-test-jn.inc: Likewise.
3647         * math/libm-test-lgamma.inc: Likewise.
3648         * math/libm-test-llogb.inc: Likewise.
3649         * math/libm-test-llrint.inc: Likewise.
3650         * math/libm-test-llround.inc: Likewise.
3651         * math/libm-test-log.inc: Likewise.
3652         * math/libm-test-log10.inc: Likewise.
3653         * math/libm-test-log1p.inc: Likewise.
3654         * math/libm-test-log2.inc: Likewise.
3655         * math/libm-test-logb.inc: Likewise.
3656         * math/libm-test-lrint.inc: Likewise.
3657         * math/libm-test-lround.inc: Likewise.
3658         * math/libm-test-modf.inc: Likewise.
3659         * math/libm-test-nearbyint.inc: Likewise.
3660         * math/libm-test-nextafter.inc: Likewise.
3661         * math/libm-test-nextdown.inc: Likewise.
3662         * math/libm-test-nexttoward.inc: Likewise.
3663         * math/libm-test-nextup.inc: Likewise.
3664         * math/libm-test-pow.inc: Likewise.
3665         * math/libm-test-remainder.inc: Likewise.
3666         * math/libm-test-remquo.inc: Likewise.
3667         * math/libm-test-rint.inc: Likewise.
3668         * math/libm-test-round.inc: Likewise.
3669         * math/libm-test-roundeven.inc: Likewise.
3670         * math/libm-test-scalb.inc: Likewise.
3671         * math/libm-test-scalbln.inc: Likewise.
3672         * math/libm-test-scalbn.inc: Likewise.
3673         * math/libm-test-setpayload.inc: Likewise.
3674         * math/libm-test-setpayloadsig.inc: Likewise.
3675         * math/libm-test-signbit.inc: Likewise.
3676         * math/libm-test-significand.inc: Likewise.
3677         * math/libm-test-sin.inc: Likewise.
3678         * math/libm-test-sincos.inc: Likewise.
3679         * math/libm-test-sinh.inc: Likewise.
3680         * math/libm-test-sqrt.inc: Likewise.
3681         * math/libm-test-tan.inc: Likewise.
3682         * math/libm-test-tanh.inc: Likewise.
3683         * math/libm-test-tgamma.inc: Likewise.
3684         * math/libm-test-totalorder.inc: Likewise.
3685         * math/libm-test-totalordermag.inc: Likewise.
3686         * math/libm-test-trunc.inc: Likewise.
3687         * math/libm-test-ufromfp.inc: Likewise.
3688         * math/libm-test-ufromfpx.inc: Likewise.
3689         * math/libm-test-y0.inc: Likewise.
3690         * math/libm-test-y1.inc: Likewise.
3691         * math/libm-test-yn.inc: Likewise.
3692         * math/README.libm-test: Update.
3694         * math/gen-auto-libm-tests.c: Update comment about use of program.
3695         (generate_output): Add argument FUNCTION.
3696         (main): Require extra argument.  Pass function name to
3697         generate_output.
3698         * math/Makefile (generated): Add auto-libm-test-out.
3699         (libm-test-funcs-auto): New variable.
3700         (auto-libm-test-out-files): New variable.
3701         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3702         Concatenate those files to form $(objpfx)auto-libm-test-out and
3703         use it as input to gen-libm-test.pl.
3704         * math/README.libm-test: Update.
3705         * math/auto-libm-test-out: Remove.
3706         * math/auto-libm-test-out-acos: New generated file.
3707         * math/auto-libm-test-out-acosh: Likewise.
3708         * math/auto-libm-test-out-asin: Likewise.
3709         * math/auto-libm-test-out-asinh: Likewise.
3710         * math/auto-libm-test-out-atan: Likewise.
3711         * math/auto-libm-test-out-atan2: Likewise.
3712         * math/auto-libm-test-out-atanh: Likewise.
3713         * math/auto-libm-test-out-cabs: Likewise.
3714         * math/auto-libm-test-out-carg: Likewise.
3715         * math/auto-libm-test-out-cbrt: Likewise.
3716         * math/auto-libm-test-out-ccos: Likewise.
3717         * math/auto-libm-test-out-ccosh: Likewise.
3718         * math/auto-libm-test-out-cexp: Likewise.
3719         * math/auto-libm-test-out-clog: Likewise.
3720         * math/auto-libm-test-out-clog10: Likewise.
3721         * math/auto-libm-test-out-cos: Likewise.
3722         * math/auto-libm-test-out-cosh: Likewise.
3723         * math/auto-libm-test-out-cpow: Likewise.
3724         * math/auto-libm-test-out-csin: Likewise.
3725         * math/auto-libm-test-out-csinh: Likewise.
3726         * math/auto-libm-test-out-csqrt: Likewise.
3727         * math/auto-libm-test-out-ctan: Likewise.
3728         * math/auto-libm-test-out-ctanh: Likewise.
3729         * math/auto-libm-test-out-erf: Likewise.
3730         * math/auto-libm-test-out-erfc: Likewise.
3731         * math/auto-libm-test-out-exp: Likewise.
3732         * math/auto-libm-test-out-exp10: Likewise.
3733         * math/auto-libm-test-out-exp2: Likewise.
3734         * math/auto-libm-test-out-expm1: Likewise.
3735         * math/auto-libm-test-out-fma: Likewise.
3736         * math/auto-libm-test-out-hypot: Likewise.
3737         * math/auto-libm-test-out-j0: Likewise.
3738         * math/auto-libm-test-out-j1: Likewise.
3739         * math/auto-libm-test-out-jn: Likewise.
3740         * math/auto-libm-test-out-lgamma: Likewise.
3741         * math/auto-libm-test-out-log: Likewise.
3742         * math/auto-libm-test-out-log10: Likewise.
3743         * math/auto-libm-test-out-log1p: Likewise.
3744         * math/auto-libm-test-out-log2: Likewise.
3745         * math/auto-libm-test-out-pow: Likewise.
3746         * math/auto-libm-test-out-sin: Likewise.
3747         * math/auto-libm-test-out-sincos: Likewise.
3748         * math/auto-libm-test-out-sinh: Likewise.
3749         * math/auto-libm-test-out-sqrt: Likewise.
3750         * math/auto-libm-test-out-tan: Likewise.
3751         * math/auto-libm-test-out-tanh: Likewise.
3752         * math/auto-libm-test-out-tgamma: Likewise.
3753         * math/auto-libm-test-out-y0: Likewise.
3754         * math/auto-libm-test-out-y1: Likewise.
3755         * math/auto-libm-test-out-yn: Likewise.
3757         * math/Makefile (generated): Do not include libm-test.stmp.
3758         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3759         on $(objpfx)libm-test.stmp.
3760         ($(objpfx)libm-test.stmp): Remove rule.
3761         ($(objpfx)libm-test-ulps.h): New rule.
3762         ($(objpfx)libm-test.c): Likewise.
3763         ($(objpfx)libm-have-vector-test.h): Likewise.
3764         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3765         individual generated files, not libm-test.stmp.
3767         * math/gen-libm-test.pl ($output_dir): Remove variable.
3768         ($srcdir): Likewise.
3769         ($opt_a): New variable.
3770         ($opt_c): Likewise.
3771         ($opt_C): Likewise.
3772         ($opt_H): Likewise.
3773         (-n): Make option take argument and use it as NewUlps output.
3774         (-a): New option.  Use its argument for auto-libm-test-out input.
3775         (-c): New option.  Use its argument for libm-test.inc input.
3776         (-C): New option.  Use its argument for libm-test.c output.
3777         (-H): New option.  Use its argument for libm-test-ulps.h output.
3778         (top level): Only process inputs needed to generate outputs
3779         specified by command-line options.  Only generate outputs
3780         specified by command-line options.
3781         * math/README.libm-test: Update example gen-libm-test.pl command.
3782         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3783         commands.
3784         (regen-ulps): Likewise.
3786 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3788         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3789         * include/string.h (index): Remove define.
3790         (rindex): Likewise.
3791         * misc/getttyent.c (__getttyent): Rename index to strchr.
3792         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3793         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3795 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3797         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3798         * math/libm-test.inc: Move all contents, other than tests of
3799         individual functions, to libm-test-driver.c.
3800         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3801         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3802         [!FE_UPWARD] (FE_UPWARD): Likewise.
3803         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3804         (NO_EXCEPTION): Likewise.
3805         (INVALID_EXCEPTION): Likewise.
3806         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3807         (OVERFLOW_EXCEPTION): Likewise.
3808         (UNDERFLOW_EXCEPTION): Likewise.
3809         (INEXACT_EXCEPTION): Likewise.
3810         (INVALID_EXCEPTION_OK): Likewise.
3811         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3812         (OVERFLOW_EXCEPTION_OK): Likewise.
3813         (UNDERFLOW_EXCEPTION_OK): Likewise.
3814         (NO_INEXACT_EXCEPTION): Likewise.
3815         (EXCEPTIONS_OK): Likewise.
3816         (IGNORE_ZERO_INF_SIGN): Likewise.
3817         (TEST_NAN_SIGN): Likewise.
3818         (TEST_NAN_PAYLOAD): Likewise.
3819         (NO_TEST_INLINE): Likewise.
3820         (XFAIL_TEST): Likewise.
3821         (ERRNO_UNCHANGED): Likewise.
3822         (ERRNO_EDOM): Likewise.
3823         (ERRNO_ERANGE): Likewise.
3824         (IGNORE_RESULT): Likewise.
3825         (NON_FINITE): Likewise.
3826         (TEST_SNAN): Likewise.
3827         (NO_TEST_MATHVEC): Likewise.
3828         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3829         (__CONCATX): Likewise.
3830         (TYPE_MIN): Likewise.
3831         (TYPE_TRUE_MIN): Likewise.
3832         (TYPE_MAX): Likewise.
3833         (MIN_EXP): Likewise.
3834         (MAX_EXP): Likewise.
3835         (MANT_DIG): Likewise.
3836         (FSTR_MAX): Likewise.
3837         (ULP_IDX): Likewise.
3838         (QTYPE_STR): Likewise.
3839         (TEST_COND_binary32): Likewise.
3840         (TEST_COND_binary64): Likewise.
3841         (TEST_COND_binary128): Likewise.
3842         (TEST_COND_ibm128): Likewise.
3843         (TEST_COND_intel96): Likewise.
3844         (TEST_COND_m68k96): Likewise.
3845         (TEST_COND_ibm128_libgcc): Likewise.
3846         (XFAIL_IBM128_LIBGCC): Likewise.
3847         (PAYLOAD_DIG): Likewise.
3848         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3849         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3850         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3851         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3852         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3853         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3854         (TEST_COND_long32): Likewise.
3855         (TEST_COND_long64): Likewise.
3856         (TEST_COND_before_rounding): Likewise.
3857         (TEST_COND_after_rounding): Likewise.
3858         (lit_pi_3_m_4_d): Likewise.
3859         (lit_pi_3_m_4_ln10_m_d): Likewise.
3860         (lit_pi_2_ln10_m_d): Likewise.
3861         (lit_pi_4_ln10_m_d): Likewise.
3862         (lit_pi_ln10_d): Likewise.
3863         (lit_pi_2_d): Likewise.
3864         (lit_pi_4_d): Likewise.
3865         (lit_pi): Likewise.
3866         (lit_e): Likewise.
3867         (ulps_file_name): Likewise.
3868         (ulps_file): Likewise.
3869         (output_ulps): Likewise.
3870         (output_dir): Likewise.
3871         (noErrors): Likewise.
3872         (noTests): Likewise.
3873         (noExcTests): Likewise.
3874         (noErrnoTests): Likewise.
3875         (verbose): Likewise.
3876         (output_max_error): Likewise.
3877         (output_points): Likewise.
3878         (ignore_max_ulp): Likewise.
3879         (plus_zero): Likewise.
3880         (minus_zero): Likewise.
3881         (plus_infty): Likewise.
3882         (minus_infty): Likewise.
3883         (qnan_value_pl): Likewise.
3884         (qnan_value): Likewise.
3885         (snan_value_pl): Likewise.
3886         (snan_value): Likewise.
3887         (max_value): Likewise.
3888         (min_value): Likewise.
3889         (min_subnorm_value): Likewise.
3890         (snan_value_ld): Likewise.
3891         (max_error): Likewise.
3892         (real_max_error): Likewise.
3893         (imag_max_error): Likewise.
3894         (prev_max_error): Likewise.
3895         (prev_real_max_error): Likewise.
3896         (prev_imag_max_error): Likewise.
3897         (max_valid_error): Likewise.
3898         (TYPE_DECIMAL_DIG): Likewise.
3899         (TYPE_HEX_DIG): Likewise.
3900         (fmt_ftostr): Likewise.
3901         (compare_ulp_data): Likewise.
3902         (find_ulps): Likewise.
3903         (init_max_error): Likewise.
3904         (set_max_error): Likewise.
3905         (print_float): Likewise.
3906         (print_screen): Likewise.
3907         (print_screen_max_error): Likewise.
3908         (update_stats): Likewise.
3909         (print_function_ulps): Likewise.
3910         (print_complex_function_ulps): Likewise.
3911         (fpstack_test): Likewise.
3912         (print_max_error): Likewise.
3913         (print_complex_max_error): Likewise.
3914         (test_single_exception): Likewise.
3915         (test_exceptions): Likewise.
3916         (test_single_errno): Likewise.
3917         (test_errno): Likewise.
3918         (ULPDIFF): Likewise.
3919         (ulp): Likewise.
3920         (check_float_internal): Likewise.
3921         (check_float): Likewise.
3922         (check_complex): Likewise.
3923         (check_int): Likewise.
3924         (check_long): Likewise.
3925         (check_bool): Likewise.
3926         (check_longlong): Likewise.
3927         (check_intmax_t): Likewise.
3928         (check_uintmax_t): Likewise.
3929         (enable_test): Likewise.
3930         (struct test_f_f_data): Likewise.
3931         (struct test_ff_f_data): Likewise.
3932         (struct test_fj_f_data): Likewise.
3933         (struct test_fi_f_data): Likewise.
3934         (struct test_fl_f_data): Likewise.
3935         (struct test_if_f_data): Likewise.
3936         (struct test_fff_f_data): Likewise.
3937         (struct test_fiu_M_data): Likewise.
3938         (struct test_fiu_U_data): Likewise.
3939         (struct test_c_f_data): Likewise.
3940         (struct test_f_f1_data): Likewise.
3941         (struct test_fF_f1_data): Likewise.
3942         (struct test_ffI_f1_data): Likewise.
3943         (struct test_c_c_data): Likewise.
3944         (struct test_cc_c_data): Likewise.
3945         (struct test_f_i_data): Likewise.
3946         (struct test_ff_i_data): Likewise.
3947         (struct test_f_l_data): Likewise.
3948         (struct test_f_L_data): Likewise.
3949         (struct test_fFF_11_data): Likewise.
3950         (struct test_Ff_b1_data): Likewise.
3951         (IF_ROUND_INIT_): Likewise.
3952         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3953         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3954         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3955         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3956         (ROUND_RESTORE_): Likewise.
3957         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3958         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3959         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3960         (ROUND_RESTORE_FE_UPWARD): Likewise.
3961         (RM_): Likewise.
3962         (RM_FE_DOWNWARD): Likewise.
3963         (RM_FE_TONEAREST): Likewise.
3964         (RM_FE_TOWARDZERO): Likewise.
3965         (RM_FE_UPWARD): Likewise.
3966         (COMMON_TEST_SETUP): Likewise.
3967         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3968         (COMMON_TEST_CLEANUP): Likewise.
3969         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3970         (RUN_TEST_f_f): Likewise.
3971         (RUN_TEST_LOOP_f_f): Likewise.
3972         (RUN_TEST_fp_f): Likewise.
3973         (RUN_TEST_LOOP_fp_f): Likewise.
3974         (RUN_TEST_2_f): Likewise.
3975         (RUN_TEST_LOOP_2_f): Likewise.
3976         (RUN_TEST_ff_f): Likewise.
3977         (RUN_TEST_LOOP_ff_f): Likewise.
3978         (RUN_TEST_LOOP_fj_f): Likewise.
3979         (RUN_TEST_fi_f): Likewise.
3980         (RUN_TEST_LOOP_fi_f): Likewise.
3981         (RUN_TEST_fl_f): Likewise.
3982         (RUN_TEST_LOOP_fl_f): Likewise.
3983         (RUN_TEST_if_f): Likewise.
3984         (RUN_TEST_LOOP_if_f): Likewise.
3985         (RUN_TEST_fff_f): Likewise.
3986         (RUN_TEST_LOOP_fff_f): Likewise.
3987         (RUN_TEST_fiu_M): Likewise.
3988         (RUN_TEST_LOOP_fiu_M): Likewise.
3989         (RUN_TEST_fiu_U): Likewise.
3990         (RUN_TEST_LOOP_fiu_U): Likewise.
3991         (RUN_TEST_c_f): Likewise.
3992         (RUN_TEST_LOOP_c_f): Likewise.
3993         (RUN_TEST_f_f1): Likewise.
3994         (RUN_TEST_LOOP_f_f1): Likewise.
3995         (RUN_TEST_fF_f1): Likewise.
3996         (RUN_TEST_LOOP_fF_f1): Likewise.
3997         (RUN_TEST_fI_f1): Likewise.
3998         (RUN_TEST_LOOP_fI_f1): Likewise.
3999         (RUN_TEST_ffI_f1_mod8): Likewise.
4000         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4001         (RUN_TEST_Ff_b1): Likewise.
4002         (RUN_TEST_LOOP_Ff_b1): Likewise.
4003         (RUN_TEST_Ffp_b1): Likewise.
4004         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4005         (RUN_TEST_c_c): Likewise.
4006         (RUN_TEST_LOOP_c_c): Likewise.
4007         (RUN_TEST_cc_c): Likewise.
4008         (RUN_TEST_LOOP_cc_c): Likewise.
4009         (RUN_TEST_f_i): Likewise.
4010         (RUN_TEST_LOOP_f_i): Likewise.
4011         (RUN_TEST_f_i_tg): Likewise.
4012         (RUN_TEST_LOOP_f_i_tg): Likewise.
4013         (RUN_TEST_ff_b): Likewise.
4014         (RUN_TEST_LOOP_ff_b): Likewise.
4015         (RUN_TEST_ff_i_tg): Likewise.
4016         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4017         (RUN_TEST_f_b): Likewise.
4018         (RUN_TEST_LOOP_f_b): Likewise.
4019         (RUN_TEST_f_b_tg): Likewise.
4020         (RUN_TEST_LOOP_f_b_tg): Likewise.
4021         (RUN_TEST_f_l): Likewise.
4022         (RUN_TEST_LOOP_f_l): Likewise.
4023         (RUN_TEST_f_L): Likewise.
4024         (RUN_TEST_LOOP_f_L): Likewise.
4025         (RUN_TEST_fFF_11): Likewise.
4026         (RUN_TEST_LOOP_fFF_11): Likewise.
4027         (VEC_SUFF): Likewise.
4028         (STR_CONCAT): Likewise.
4029         (STR_CON3): Likewise.
4030         (HAVE_VECTOR): Likewise.
4031         (START): Likewise.
4032         (END): Likewise.
4033         (END_COMPLEX): Likewise.
4034         (ALL_RM_TEST): Likewise.
4035         (matherr): Likewise.
4036         (initialize): Likewise.
4037         (options): Likewise.
4038         (doc): Likewise.
4039         (parse_opt): Likewise.
4040         (argp): Likewise.
4041         (check_ulp): Likewise.
4042         (main): Likewise.
4043         (do_test): New function.  Call tests of individual functions
4044         previously called from main.
4046         * math/libm-test.inc: Remove comment listing functions tested and
4047         not tested.
4049 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4051         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4052         (allocate_stack): Remove COLORING_INCREMENT usage.
4053         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4054         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4056 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4058         * manual/libm-err-tab.pl (@all_functions): Change to
4059         %all_functions.  Initialize as empty.
4060         (parse_ulps): Add to %all_functions based on functions found in
4061         ulps files.  Ignore results for non-default rounding modes and
4062         vector functions.
4063         (print_platforms): Use %all_platforms.
4064         * manual/math.texi (Errors in Math Functions): Document omissions
4065         from the table.
4067         * math/Makefile (before-compile): Remove.
4069 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4071         [BZ #21075]
4072         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4073         unused assignment.
4074         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4076 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4078         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4079         Add __glibc_unlikely hint.
4081 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4083         [BZ #16640]
4084         * sysdeps/i386/i686/strtok.S: Remove file.
4085         * sysdeps/i386/i686/strtok_r.S: Likewise.
4086         * sysdeps/i386/strtok.S: Likewise.
4087         * sysdeps/i386/strtok_r.S: Likewise.
4088         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4089         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4090         * sysdeps/x86_64/strtok.S: Likewise.
4091         * sysdeps/x86_64/strtok_r.S: Likewise.
4093         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4094         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4095         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4096         (__ASSUME_FADVISE64_AS_64_64): Define.
4097         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4098         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4099         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4100         __ALIGNMENT_ARG usage.
4101         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4102         __NR_fadvise64_64 if it is not defined.
4104 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4106         * version.h (RELEASE): Set to "development"
4107         (VERSION): Set to 2.25.90.
4108         * NEWS: Add 2.26 section.
4110         * version.h (RELEASE): Set to "stable"
4111         (VERSION): Set to 2.25.
4112         * include/features.h (__GLIBC_MINOR__): Set to 25.
4114         * manual/contrib.texi: Add more contributors from this release
4115         and past releases.
4117         * NEWS (2.25): Add list of bugs fixed.
4119         * NEWS: Add missing news items.
4121 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4123         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4124         parent if child exited in that manner.  Print WEXITSTATUS
4125         instead of the raw status.
4126         (do_test_prep): Rename to do_test.
4127         (do_test): Return the result of run_executable_sgid.
4128         (TEST_FUNCTION_ARGV): Adjust.
4130 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4131             Florian Weimer  <fweimer@redhat.com>
4132             Carlos O'Donell  <carlos@redhat.com>
4134         [BZ #20915]
4135         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4136         Do not initialize DTV.
4137         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4139 2017-02-03  David S. Miller  <davem@davemloft.net>
4141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4150         (libm-sysdep_routines): Update.
4151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4156         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4157         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4158         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4159         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4161         Likewise.
4162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4164         Likewise.
4165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4167         Likewise.
4168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4170         Likewise.
4171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4173         (libm-sysdep_routines): Update.
4175 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4177         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4178         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4179         against unrelocated shared library.
4180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4182 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4184         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4185         * elf/tst-env-setuid-tunables.c
4186         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4187         GLIBC_TUNABLES is removed in a setgid process.
4189         [BZ #21073]
4190         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4191         * elf/dl-tunables.c (tunables_strdup): Remove.
4192         (get_next_env): Also return the previous envp.
4193         (parse_tunables): Erase tunables of category
4194         TUNABLES_SECLEVEL_SXID_ERASE.
4195         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4196         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4197         (__tunables_init)[TUNABLES_FRONTEND ==
4198         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4199         after parsing.
4200         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4201         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4202         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4203         to security_level.
4204         * elf/dl-tunables.list: Add security_level annotations for all
4205         tunables.
4206         * scripts/gen-tunables.awk: Recognize and generate enum values
4207         for security_level.
4208         * elf/tst-env-setuid.c: New test case.
4209         * elf/tst-env-setuid-tunables: new test case.
4210         * elf/Makefile (tests-static): Add them.
4212 2017-02-01  Richard Henderson  <rth@twiddle.net>
4214         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4215         adjusting the byte count.
4217 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4219         * conform/Makefile (linknamespace-libs): Define.
4221         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4222         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4223         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4224         operands.
4226 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4228         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4230 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4232         [BZ #21081]
4233         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4234         (L(stosb)): Add VZEROUPPER before ret.
4236 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4237             Alexey Makhalov <amakhalov@vmware.com>
4238             Florian Weimer <fweimer@redhat.com>
4240         [BZ #20116]
4241         * nptl/pthread_create.c: Document concurrency notes.
4242         Enhance thread creation notes.
4243         (create_thread): Use bool *stopped_start.
4244         (START_THREAD_DEFN): Comment ownership of PD.
4245         (__pthread_create_2_1): Add local bool stopped_start and use
4246         that instead of pd->stopped_start where appropriate.
4247         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4248         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4249         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4250         * nptl/tst-create-detached.c: New file.
4251         * nptl/Makefile (tests): Add tst-create-detached.
4252         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4253         Reference the enhanced thread creation notes.
4254         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4255         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4256         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4257         (__pthread_current_priority): Likewise.
4258         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4259         xpthread_attr_init, xpthread_attr_setdetachstate, and
4260         xpthread_attr_setstacksize.
4261         * support/xpthread_attr_destroy.c: New file.
4262         * support/xpthread_attr_init.c: New file.
4263         * support/xpthread_attr_setdetachstate.c: New file.
4264         * support/xpthread_attr_setstacksize.c: New file.
4265         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4266         xpthread_attr_init, xpthread_attr_setdetachstate, and
4267         xpthread_attr_setstacksize.
4269 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4271         * nptl/Makefile (tests): Add tst-robust-fork.
4272         * nptl/tst-robust-fork.c: New file.
4273         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4274         xpthread_mutex_consistent, xpthread_mutex_destroy,
4275         xpthread_mutex_init, xpthread_mutexattr_destroy,
4276         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4277         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4278         xpthread_mutexattr_settype.
4279         * support/xmmap.c: New file.
4280         * support/xmunmap.c: Likewise.
4281         * support/xpthread_mutex_consistent.c: Likewise.
4282         * support/xpthread_mutex_destroy.c: Likewise.
4283         * support/xpthread_mutex_init.c: Likewise.
4284         * support/xpthread_mutexattr_destroy.c: Likewise.
4285         * support/xpthread_mutexattr_init.c: Likewise.
4286         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4287         * support/xpthread_mutexattr_setpshared.c: Likewise.
4288         * support/xpthread_mutexattr_setrobust.c: Likewise.
4289         * support/xpthread_mutexattr_settype.c: Likewise.
4290         * support/xthread.h (xpthread_mutexattr_destroy)
4291         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4292         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4293         (xpthread_mutexattr_settype, xpthread_mutex_init)
4294         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4295         * support/xunistd.h (xmmap, xmunmap): Likewise.
4297 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4299         * string/Makefile (xtests): Add comment.
4300         (LOCALES): Add en_GB.UTF-8.
4301         (tst-strcoll-overflow.out): Depend on generated locales.
4302         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4303         (SIZE, TIMEOUT): Update comments.
4304         (do_test): Define as static.  Fail test if setlocale fails.
4305         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4306         messages.
4307         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4308         TIMEOUT at 300 seconds should be enough to run this test
4309         successfully.
4311 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4313         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4314         /* FALLTHRU */ comments.
4316 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4318         [BZ #21053]
4319         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4320         constants instead of the old R* ones.
4321         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4322         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4323         (NGREG): ... to this, to fit in with other architectures.
4324         (gpregset_t): Use new NGREG macro.
4325         [__USE_GNU]: Remove condition; all architectures other than tile
4326         are unconditional.
4327         (R*): Rename to REG_R*.
4329 2017-01-20  DJ Delorie  <dj@redhat.com>
4331         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4332         (tunable_set_val_if_valid_range_signed) ... this, and ...
4333         (tunable_set_val_if_valid_range_unsigned) ... this.
4334         (tunable_initialize): Call the correct one of the above based on type.
4336 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4338         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4339         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4340         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4341         * sysdeps/microblaze/libm-test-ulps: Likewise.
4342         * sysdeps/sh/libm-test-ulps: Likewise.
4344         * math/README.libm-test: Update list of characters for input and
4345         output types.
4347 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4349         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4350         (__lll_unlock_elision): Fix adapt_count decrement.
4352 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4354         * README.pretty-printers (Known issues): Warn about printers not
4355         always covering everything.
4356         * nptl/nptl-printers.py (MutexPrinter): Change output.
4357         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4359 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4361         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4362         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4363         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4364         (__lll_lock_elision): Do not test futex before starting a
4365         transaction.  Use __glibc_likely instead of __builtin_expect.
4366         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4367         (__lll_trylock_elision): Do not test futex before starting a
4368         transaction.  Use __glibc_likely instead of __builtin_expect.
4370 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4372         * po/Makefile (update-translations): New target.
4374 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4376         [BZ #21061]
4377         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4379 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4381         * elf/dl-tunables (get_next_env): Always advance envp.
4382         * stdlib/tst-empty-env.c: New test case.
4383         * stdlib/Makefile (tests): Use it.
4385 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4387         [BZ #21047]
4388         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4389         name for instruction.
4390         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4392 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4394         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4395         for make install.
4397 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4399         * po/bg.po: Merge from Translation Project.
4400         * po/fr.po: Likewise.
4401         * po/ko.po: Likewise.
4402         * po/nl.po: Likewise.
4403         * po/sv.po: Likewise.
4405 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4407         * manual/install.texi (Tools for Compilation): Update GCC version
4408         known to work to build glibc.
4409         * INSTALL: Regenerated.
4411 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4413         [BZ #21006]
4414         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4416 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4418         [BZ #21045]
4419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4420         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4421         to __sigprocmask.
4423 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4425         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4426         wrap-around.
4427         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4429         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4431 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4433         * NEWS: Fix typo.
4435 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4437         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4438         barriers and comments.
4439         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4440         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4441         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4443 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4445         [BZ #19402]
4446         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4447         mutexes.
4449 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4451         [BZ #20985]
4452         * nptl/Makefile: Adapt.
4453         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4454         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4455         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4456         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4457         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4458         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4459         lll_robust* functions and adapt.
4460         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4461         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4462         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4463         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4465         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4467         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4468         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4469         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4470         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4471         * nptl/lowlevelrobustlock.c: Remove file.
4472         * nptl/lowlevelrobustlock.sym: Likewise.
4473         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4474         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4476 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4478         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4480 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4482         * po/cs.po: Merge translations from the Translation Project.
4483         * po/de.po: Likewise.
4484         * po/pl.po: Likewise.
4485         * po/ru.po: Likewise.
4486         * po/tr.po: Likewise.
4487         * po/uk.po: Likewise.
4488         * po/vi.po: Likewise.
4489         * po/zh_CN.po: Likewise.
4491 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4493         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4495         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4496         object.
4498 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4500         [BZ #16458]
4501         * bits/uintn-identity.h: New file.
4502         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4503         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4504         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4505         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4506         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4507         * string/endian.h: Include <bits/uintn-identity.h>.
4508         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4509         __uint16_identity.
4510         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4511         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4512         __uint32_identity.
4513         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4514         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4515         __uint64_identity.
4516         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4517         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4518         __uint16_identity.
4519         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4520         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4521         __uint32_identity.
4522         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4523         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4524         __uint64_identity.
4525         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4526         * string/Makefile (headers): Add bits/uintn-identity.h.
4527         (tests): Add test-endian-types.
4528         * string/test-endian-types.c: New file.
4529         * inet/Makefile (tests): Add test-hnto-types.
4530         * inet/test-hnto-types.c: New file.
4532 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4534         * po/be.po: Update from Translation Project.
4535         * po/bg.po: Likewise.
4536         * po/ca.po: Likewise.
4537         * po/cs.po: Likewise.
4538         * po/da.po: Likewise.
4539         * po/de.po: Likewise.
4540         * po/el.po: Likewise.
4541         * po/eo.po: Likewise.
4542         * po/es.po: Likewise.
4543         * po/fi.po: Likewise.
4544         * po/fr.po: Likewise.
4545         * po/gl.po: Likewise.
4546         * po/hr.po: Likewise.
4547         * po/hu.po: Likewise.
4548         * po/ia.po: Likewise.
4549         * po/id.po: Likewise.
4550         * po/it.po: Likewise.
4551         * po/ja.po: Likewise.
4552         * po/ko.po: Likewise.
4553         * po/lt.po: Likewise.
4554         * po/nb.po: Likewise.
4555         * po/nl.po: Likewise.
4556         * po/pl.po: Likewise.
4557         * po/pt_BR.po: Likewise.
4558         * po/ru.po: Likewise.
4559         * po/rw.po: Likewise.
4560         * po/sk.po: Likewise.
4561         * po/sl.po: Likewise.
4562         * po/sv.po: Likewise.
4563         * po/tr.po: Likewise.
4564         * po/uk.po: Likewise.
4565         * po/vi.po: Likewise.
4566         * po/zh_CN.po: Likewise.
4567         * po/zh_TW.po: Likewise.
4569 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4571         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4572         -Wformat-truncation instead of -Wformat-length.
4573         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4574         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4575         GCC 7.
4576         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4577         (do_test): Ignore -Wformat-truncation for GCC 7.
4579         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4580         buffer used to print long int value.
4582         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4583         one byte.  Print it with %ld, cast to long int.
4585 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4587         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4588         (re.fullmatch, subprocess.run): Likewise.
4590 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4592         * po/libc.pot: Regenerate.
4594 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4596         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4597         (min_strlen): Likewise.
4598         (disable_tunable): Likewise.
4599         (maybe_disable_malloc_check): Rename to
4600         maybe_enable_malloc_check.
4601         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4602         if /etc/suid-debug file exists.
4603         (__tunables_init): Update caller.
4604         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4605         secure.
4607 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4609         * nptl/DESIGN-rwlock.txt: Remove.
4610         * nptl/lowlevelrwlock.sym: Remove.
4611         * nptl/Makefile: Add new tests.
4612         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4613         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4614         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4615         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4616         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4617         PTHREAD_RWLOCK_FUTEX_USED): New.
4618         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4619         implementation.
4620         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4621         (__pthread_rwlock_rdlock): Adapt.
4622         * nptl/pthread_rwlock_timedrdlock.c
4623         (pthread_rwlock_timedrdlock): Adapt.
4624         * nptl/pthread_rwlock_timedwrlock.c
4625         (pthread_rwlock_timedwrlock): Adapt.
4626         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4627         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4628         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4629         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4630         (__pthread_rwlock_wrlock): Adapt.
4631         * nptl/tst-rwlock10.c: Adapt.
4632         * nptl/tst-rwlock11.c: Adapt.
4633         * nptl/tst-rwlock17.c: New file.
4634         * nptl/tst-rwlock18.c: New file.
4635         * nptl/tst-rwlock19.c: New file.
4636         * nptl/tst-rwlock2b.c: New file.
4637         * nptl/tst-rwlock8.c: Adapt.
4638         * nptl/tst-rwlock9.c: Adapt.
4639         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4640         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4641         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4642         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4643         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4644         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4645         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4646         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4647         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4648         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4649         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4650         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4651         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4652         (pthread_rwlock_t): Adapt.
4653         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4654         (pthread_rwlock_t): Adapt.
4655         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4656         * nptl/nptl-printers.py (): Adapt.
4657         * nptl/nptl_lock_constants.pysym: Adapt.
4658         * nptl/test-rwlock-printers.py: Adapt.
4659         * nptl/test-rwlockattr-printers.c: Adapt.
4660         * nptl/test-rwlockattr-printers.py: Adapt.
4662 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4664         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4665         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4666         (fma_test_data): Likewise.
4667         (hypot_test_data): Likewise.
4668         (log1p_test_data): Likewise.
4669         (modf_test_data): Likewise.
4670         (pow_test_data): Likewise.
4671         (remainder_test_data): Likewise.
4672         (remquo_test_data): Likewise.
4673         (scalb_test_data): Likewise.
4674         (scalbn_test_data): Likewise.
4675         (scalbln_test_data): Likewise.
4676         * math/gen-libm-test.pl (parse_args): Transform
4677         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4678         on the rounding mode.
4680 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4682         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4683         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4684         and those that can underflow to zero.
4685         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4686         add others.
4687         * math/auto-libm-test-out: Regenerated.
4689         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4690         supported.
4691         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4692         modes support if not supported.
4694         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4695         Add libc.so PLT entry.
4696         (__tls_get_addr): Make ld.so PLT entry optional.
4698 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4700         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4701         * string/bits/string3.h: ... here.
4703 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4705         [BZ #21028]
4706         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4707         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4708         if EXCEPTION_TESTS returns false.
4710 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4712         [BZ #20558]
4713         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4714         strings_fortified.h.
4715         [__USE_MISC] (bzero): Likewise.
4716         [__USE_MISC] (explicit_bzero): Likewise.
4717         * string/strings.h: Include strings_fortified.h.
4718         * string/Makefile (headers): Add strings_fortified.h.
4719         * string/bits/strings_fortified.h: New file.
4720         * include/bits/strings_fortified.h: Likewise.
4722 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4724         * elf/tst-tls13.c (TIMEOUT): Remove.
4725         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4726         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4727         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4728         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4729         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4731         [BZ #21026]
4732         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4733         (readahead): New syscall entry.
4735 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4737         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4738         around tests of strncat with large sizes.
4740         * malloc/tst-malloc.c: Include <libc-internal.h>.
4741         (do_test): Disable -Walloc-size-larger-than= around tests of
4742         malloc with negative sizes.
4743         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4744         (do_test): Disable -Walloc-size-larger-than= around tests of
4745         malloc and realloc with negative sizes.
4746         * malloc/tst-realloc.c: Include <libc-internal.h>.
4747         (do_test): Disable -Walloc-size-larger-than= around tests of
4748         realloc with negative sizes.
4750         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4751         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4752         allowed to 16 ulps.
4753         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4754         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4755         * math/auto-libm-test-out: Regenerated.
4757 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4759         * math/Makefile (libm-calls): Move wrappers...
4760         (libm-compat-call-auto): Here.
4761         (libm-routines): Add items in libm-compat-calls-auto.
4762         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4763         the filenames of the wrappers that have been renamed.
4764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4767         * math/w_acos.c: Add _compat suffix to filename.
4768         * math/w_acosf.c: Likewise.
4769         * math/w_acosh.c: Likewise.
4770         * math/w_acoshf.c: Likewise.
4771         * math/w_acoshl.c: Likewise.
4772         * math/w_acosl.c: Likewise.
4773         * math/w_asin.c: Likewise.
4774         * math/w_asinf.c: Likewise.
4775         * math/w_asinl.c: Likewise.
4776         * math/w_atan2.c: Likewise.
4777         * math/w_atan2f.c: Likewise.
4778         * math/w_atan2l.c: Likewise.
4779         * math/w_atanh.c: Likewise.
4780         * math/w_atanhf.c: Likewise.
4781         * math/w_atanhl.c: Likewise.
4782         * math/w_cosh.c: Likewise.
4783         * math/w_coshf.c: Likewise.
4784         * math/w_coshl.c: Likewise.
4785         * math/w_exp10.c: Likewise.
4786         * math/w_exp10f.c: Likewise.
4787         * math/w_exp10l.c: Likewise.
4788         * math/w_exp2.c: Likewise.
4789         * math/w_exp2f.c: Likewise.
4790         * math/w_exp2l.c: Likewise.
4791         * math/w_fmod.c: Likewise.
4792         * math/w_fmodf.c: Likewise.
4793         * math/w_fmodl.c: Likewise.
4794         * math/w_hypot.c: Likewise.
4795         * math/w_hypotf.c: Likewise.
4796         * math/w_hypotl.c: Likewise.
4797         * math/w_j0.c: Likewise.
4798         * math/w_j0f.c: Likewise.
4799         * math/w_j0l.c: Likewise.
4800         * math/w_j1.c: Likewise.
4801         * math/w_j1f.c: Likewise.
4802         * math/w_j1l.c: Likewise.
4803         * math/w_jn.c: Likewise.
4804         * math/w_jnf.c: Likewise.
4805         * math/w_jnl.c: Likewise.
4806         * math/w_log10.c: Likewise.
4807         * math/w_log10f.c: Likewise.
4808         * math/w_log10l.c: Likewise.
4809         * math/w_log2.c: Likewise.
4810         * math/w_log2f.c: Likewise.
4811         * math/w_log2l.c: Likewise.
4812         * math/w_log.c: Likewise.
4813         * math/w_logf.c: Likewise.
4814         * math/w_logl.c: Likewise.
4815         * math/w_pow.c: Likewise.
4816         * math/w_powf.c: Likewise.
4817         * math/w_powl.c: Likewise.
4818         * math/w_remainder.c: Likewise.
4819         * math/w_remainderf.c: Likewise.
4820         * math/w_remainderl.c: Likewise.
4821         * math/w_scalb.c: Likewise.
4822         * math/w_scalbf.c: Likewise.
4823         * math/w_scalbl.c: Likewise.
4824         * math/w_sinh.c: Likewise.
4825         * math/w_sinhf.c: Likewise.
4826         * math/w_sinhl.c: Likewise.
4827         * math/w_sqrt.c: Likewise.
4828         * math/w_sqrtf.c: Likewise.
4829         * math/w_sqrtl.c: Likewise.
4830         * math/w_tgamma.c: Likewise.
4831         * math/w_tgammaf.c: Likewise.
4832         * math/w_tgammal.c: Likewise.
4834         * math/w_acos_compat.c: New file copied from above and
4835         adjusted for new #includes path
4836         * math/w_acosf_compat.c: Likewise.
4837         * math/w_acosh_compat.c: Likewise.
4838         * math/w_acoshf_compat.c: Likewise.
4839         * math/w_acoshl_compat.c: Likewise.
4840         * math/w_acosl_compat.c: Likewise.
4841         * math/w_asin_compat.c: Likewise.
4842         * math/w_asinf_compat.c: Likewise.
4843         * math/w_asinl_compat.c: Likewise.
4844         * math/w_atan2_compat.c: Likewise.
4845         * math/w_atan2f_compat.c: Likewise.
4846         * math/w_atan2l_compat.c: Likewise.
4847         * math/w_atanh_compat.c: Likewise.
4848         * math/w_atanhf_compat.c: Likewise.
4849         * math/w_atanhl_compat.c: Likewise.
4850         * math/w_cosh_compat.c: Likewise.
4851         * math/w_coshf_compat.c: Likewise.
4852         * math/w_coshl_compat.c: Likewise.
4853         * math/w_exp10_compat.c: Likewise.
4854         * math/w_exp10f_compat.c: Likewise.
4855         * math/w_exp10l_compat.c: Likewise.
4856         * math/w_exp2_compat.c: Likewise.
4857         * math/w_exp2f_compat.c: Likewise.
4858         * math/w_exp2l_compat.c: Likewise.
4859         * math/w_fmod_compat.c: Likewise.
4860         * math/w_fmodf_compat.c: Likewise.
4861         * math/w_fmodl_compat.c: Likewise.
4862         * math/w_hypot_compat.c: Likewise.
4863         * math/w_hypotf_compat.c: Likewise.
4864         * math/w_hypotl_compat.c: Likewise.
4865         * math/w_j0_compat.c: Likewise.
4866         * math/w_j0f_compat.c: Likewise.
4867         * math/w_j0l_compat.c: Likewise.
4868         * math/w_j1_compat.c: Likewise.
4869         * math/w_j1f_compat.c: Likewise.
4870         * math/w_j1l_compat.c: Likewise.
4871         * math/w_jn_compat.c: Likewise.
4872         * math/w_jnf_compat.c: Likewise.
4873         * math/w_jnl_compat.c: Likewise.
4874         * math/w_log10_compat.c: Likewise.
4875         * math/w_log10f_compat.c: Likewise.
4876         * math/w_log10l_compat.c: Likewise.
4877         * math/w_log2_compat.c: Likewise.
4878         * math/w_log2f_compat.c: Likewise.
4879         * math/w_log2l_compat.c: Likewise.
4880         * math/w_log_compat.c: Likewise.
4881         * math/w_logf_compat.c: Likewise.
4882         * math/w_logl_compat.c: Likewise.
4883         * math/w_pow_compat.c: Likewise.
4884         * math/w_powf_compat.c: Likewise.
4885         * math/w_powl_compat.c: Likewise.
4886         * math/w_remainder_compat.c: Likewise.
4887         * math/w_remainderf_compat.c: Likewise.
4888         * math/w_remainderl_compat.c: Likewise.
4889         * math/w_scalb_compat.c: Likewise.
4890         * math/w_scalbf_compat.c: Likewise.
4891         * math/w_scalbl_compat.c: Likewise.
4892         * math/w_sinh_compat.c: Likewise.
4893         * math/w_sinhf_compat.c: Likewise.
4894         * math/w_sinhl_compat.c: Likewise.
4895         * math/w_sqrt_compat.c: Likewise.
4896         * math/w_sqrtf_compat.c: Likewise.
4897         * math/w_sqrtl_compat.c: Likewise.
4898         * math/w_tgamma_compat.c: Likewise.
4899         * math/w_tgammaf_compat.c: Likewise.
4900         * math/w_tgammal_compat.c: Likewise.
4902         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4903         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4904         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4905         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4906         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4907         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4908         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4909         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4910         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4911         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4912         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4913         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4914         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4915         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4916         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4917         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4918         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4919         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4920         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4921         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4922         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4923         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4924         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4925         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4926         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4927         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4928         * sysdeps/ia64/fpu/w_log.c: Likewise.
4929         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4930         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4931         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4932         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4933         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4934         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4935         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4936         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4937         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4938         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4939         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4940         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4941         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4942         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4943         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4944         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4945         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4946         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4947         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4948         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4949         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4950         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4951         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4952         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4953         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4954         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4955         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4956         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4957         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4958         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4959         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4960         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4961         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4962         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4963         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4964         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4965         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4966         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4967         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4968         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4969         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4970         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4971         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4972         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4973         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4974         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4975         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4976         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4977         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4978         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4979         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4980         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4981         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4982         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4983         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4984         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4985         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4986         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4987         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4988         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4989         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4990         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4991         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4992         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4993         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4994         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4995         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4996         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4997         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4998         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4999         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5000         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5001         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5003         Likewise.
5004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5005         Likewise.
5006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5008         Likewise.
5009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5010         Likewise.
5011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5012         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5013         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5014         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5015         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5016         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5017         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5022         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5023         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5024         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5025         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5027         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5028         and adjusted for new #includes path
5029         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5030         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5031         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5032         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5033         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5034         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5035         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5036         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5037         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5038         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5039         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5040         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5041         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5042         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5043         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5044         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5045         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5046         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5047         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5048         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5049         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5050         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5051         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5052         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5053         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5054         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5055         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5056         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5057         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5058         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5059         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5060         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5061         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5062         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5063         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5064         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5065         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5066         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5067         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5068         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5069         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5070         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5071         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5072         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5073         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5074         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5075         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5076         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5077         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5078         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5079         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5080         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5081         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5082         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5083         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5084         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5085         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5086         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5087         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5088         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5089         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5090         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5091         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5092         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5093         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5094         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5095         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5096         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5097         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5098         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5099         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5100         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5101         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5102         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5103         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5104         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5105         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5106         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5107         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5108         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5109         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5110         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5111         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5112         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5113         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5115         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5116         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5117         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5118         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5119         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5120         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5121         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5122         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5123         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5124         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5125         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5126         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5127         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5129         Likewise.
5130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5131         Likewise.
5132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5133         Likewise.
5134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5135         Likewise.
5136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5137         Likewise.
5138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5139         Likewise.
5140         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5141         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5142         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5143         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5144         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5145         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5147         Likewise.
5148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5149         Likewise.
5150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5151         Likewise.
5152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5153         Likewise.
5154         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5155         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5156         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5157         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5159 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5161         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5162         __jmp_buf_internal_tag.
5164         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5165         preserve NaN payload if [__mips_nan2008].
5166         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5168         [BZ #21022]
5169         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5171 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5173         * sysdeps/i386/fpu/libm-test-ulps: Update.
5175 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5177         * sysdeps/ia64/strcat.c: Remove file.
5178         * sysdeps/powerpc/strcat.c: Likewise.
5179         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5180         C implementation.
5181         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5182         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5184 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5185             Steven Munroe  <sjmunroe@us.ibm.com>
5186             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5188         [BZ #20822]
5189         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5190         (__lll_lock_elision): Access adapt_count via C11 atomics.
5191         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5192         (__lll_trylock_elision): Likewise.
5193         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5194         (__lll_unlock_elision):  Update adapt_count variable inside the
5195         critical section using C11 atomics.
5197 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5199         * math/test-fenvinline.c (do_test): Disable tests of raised
5200         exceptions if !EXCEPTION_TESTS (FLOAT).
5202 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5204         [BZ #19390]
5205         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5206         maximum string size.
5207         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5208         in pointer addition.
5209         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5210         Likewise.
5212 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5214         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5215         passed to tst-ldconfig-X.sh.
5217 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5219         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5221 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5223         [BZ #21019]
5224         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5225         New syscall entry.
5226         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5227         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5228         lseek.
5230         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5231         power4 glibc for powerpc-linux-gnu.
5233 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5235         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5236         semctl.
5238 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5240         * math/test-nearbyint-except.c: Include <stdbool.h>.
5241         (any_supported): New variable.
5242         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5243         set any_supported.
5244         (do_test): Return 77 if no floating-point type supported
5245         exceptions.
5247         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5248         condition on [__mips_hard_float].
5250 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5252         [BZ #21014]
5253         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5254         in pointer addition.
5255         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5257 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5259         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5260         new condvar.
5262 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5264         * scripts/build-many-glibcs.py (Context.checkout): Default
5265         binutils version to 2.28 branch.
5267 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5269         * support/support_format_netent.c (support_format_netent): Work
5270         around alpha struct netent definition difference.
5272 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5274         * support/xwrite.c (xwrite): Use %td for pointer difference.
5276 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5278         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5279         have-tunables only.
5280         (tests-static): Add tst-malloc-usable-static-tunables for
5281         have-tunables only.
5283 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5285         * scripts/config.guess: Update to version 2017-01-01.
5286         * scripts/config.sub: Update to version 2017-01-01.
5288         * NEWS: Update copyright dates.
5289         * catgets/gencat.c (print_version): Likewise.
5290         * csu/version.c (banner): Likewise.
5291         * debug/catchsegv.sh: Likewise.
5292         * debug/pcprofiledump.c (print_version): Likewise.
5293         * debug/xtrace.sh (do_version): Likewise.
5294         * elf/ldconfig.c (print_version): Likewise.
5295         * elf/ldd.bash.in: Likewise.
5296         * elf/pldd.c (print_version): Likewise.
5297         * elf/sotruss.sh: Likewise.
5298         * elf/sprof.c (print_version): Likewise.
5299         * iconv/iconv_prog.c (print_version): Likewise.
5300         * iconv/iconvconfig.c (print_version): Likewise.
5301         * locale/programs/locale.c (print_version): Likewise.
5302         * locale/programs/localedef.c (print_version): Likewise.
5303         * login/programs/pt_chown.c (print_version): Likewise.
5304         * malloc/memusage.sh (do_version): Likewise.
5305         * malloc/memusagestat.c (print_version): Likewise.
5306         * malloc/mtrace.pl: Likewise.
5307         * manual/libc.texinfo: Likewise.
5308         * nptl/version.c (banner): Likewise.
5309         * nscd/nscd.c (print_version): Likewise.
5310         * nss/getent.c (print_version): Likewise.
5311         * nss/makedb.c (print_version): Likewise.
5312         * posix/getconf.c (main): Likewise.
5313         * scripts/test-installation.pl: Likewise.
5314         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5316         * All files with FSF copyright notices: Update copyright dates
5317         using scripts/update-copyrights.
5318         * intl/plural.c: Regenerated.
5319         * locale/programs/charmap-kw.h: Likewise.
5320         * locale/programs/locfile-kw.h: Likewise.
5322 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5324         [BZ #20593]
5325         Update DNS RR type definitions.
5326         * scripts/gen-rrtypes.py: New file.
5327         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5328         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5329         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5330         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5331         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5332         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5333         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5334         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5335         ns_t_ta, ns_t_dlv.
5336         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5337         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5338         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5339         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5340         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5341         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5342         Define.
5343         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5344         entry for ns_t_zxfr.
5346 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5348         [BZ #18784]
5349         CVE-2015-5180
5350         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5351         T_UNSPEC.  Adjust value.
5352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5353         * resolv/res_query.c (__libc_res_nquery): Likewise.
5354         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5355         QTYPEs.
5356         * resolv/tst-resolv-qtypes.c: New file.
5357         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5358         (tst-resolv-qtypes): Link against libresolv and libpthread.
5360 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5362         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5364 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5366         * manual/tunables.texi: New chapter.
5367         * manual/Makefile (chapters): Add it.
5368         * manual/probes.texi (@node): Point to the Tunables chapter.
5370         * Makeconfig (have-tunables): Check for non-negative instead
5371         of positive.
5372         * configure.ac: Add 'valstring' as a valid value for
5373         --enable-tunables.
5374         * configure: Regenerate.
5375         * elf/Makefile (have-tunables): Check for non-negative instead
5376         of positive.
5377         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5378         dl-tunables.c.
5379         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5380         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5381         (tunables_strdup): Likewise.
5382         (disable_tunables): Likewise.
5383         (parse_tunables): Likewise.
5384         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5385         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5386         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5387         (TUNABLES_FRONTEND_yes): New macro, define as
5388         TUNABLES_FRONTEND_valstring by default.
5389         * manual/install.texi: Document new acceptable values for
5390         --enable-tunables.
5391         * INSTALL: Regenerate.
5393         * config.make.in (have-loop-to-function): Define.
5394         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5395         -fno-tree-loop-distribute-patterns.
5396         * elf/dl-tunables.c: Include libc-internals.h.
5397         (GLIBC_TUNABLES): New macro.
5398         (tunables_strdup): New function.
5399         (parse_tunables): New function.
5400         (min_strlen): New function.
5401         (__tunables_init): Use the new functions and macro.
5402         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5403         * malloc/tst-malloc-usable-tunables.c: New test case.
5404         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5405         * malloc/Makefile (tests, tests-static): Add tests.
5407         * manual/install.texi: Add --enable-tunables option.
5408         * INSTALL: Regenerate.
5409         * README.tunables: New file.
5410         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5411         (before-compile): Generate dl-tunable-list.h early.
5412         * config.h.in: Add HAVE_TUNABLES.
5413         * config.make.in: Add have-tunables.
5414         * configure.ac: Add --enable-tunables option.
5415         * configure: Regenerate.
5416         * csu/init-first.c (__libc_init_first): Move
5417         __libc_init_secure earlier...
5418         * csu/init-first.c (LIBC_START_MAIN):... to here.
5419         Include dl-tunables.h, libc-internal.h.
5420         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5421         binaries.
5422         * elf/Makefile (dl-routines): Add dl-tunables.
5423         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5424         namespace.
5425         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5426         only when !HAVE_TUNABLES.
5427         * elf/rtld.c (process_envvars): Likewise.
5428         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5429         (_dl_sysdep_start): Call __tunables_init.
5430         * elf/dl-tunable-types.h: New file.
5431         * elf/dl-tunables.c: New file.
5432         * elf/dl-tunables.h: New file.
5433         * elf/dl-tunables.list: New file.
5434         * malloc/tst-malloc-usable-static.c: New test case.
5435         * malloc/Makefile (tests-static): Add it.
5436         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5437         Define TUNABLE_NAMESPACE.
5438         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5439         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5440         callback functions.
5441         (ptmalloc_init): Set tunable values.
5442         * scripts/gen-tunables.awk: New file.
5443         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5444         (_dl_sysdep_start): Call __tunables_init.
5446 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5448         * resolv/resolv.h (RES_BLAST): Deprecate.
5449         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5450         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5451         to RES_BLAST.
5453 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5455         [BZ #19582]
5456         Deprecate RES_USE_INET6.
5457         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5458         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5459         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5460         RES_USE_INET6.
5461         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5462         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5463         (_nss_nisplus_gethostbyaddr_r): Likewise.
5464         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5465         of res_use_inet6.
5466         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5467         instead of RES_USE_INET6.
5468         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5469         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5470         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5471         Likewise.
5472         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5473         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5474         Likewise.
5475         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5476         (_nss_dns_gethostbyname_r): Likewise.
5477         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5478         alternate RES_USE_INET6 handling.
5479         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5480         instead of RES_USE_INET6.
5481         * resolv/res_init.c (res_setoptions): Likewise.
5482         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5483         * resolv/resolv-internal.h: New file.
5484         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5485         make the deprecation warning non-fatal.
5486         * resolv/README (Using the resolver in multi-threaded code): Drop
5487         reference to RES_USE_INET6.
5488         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5489         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5491 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5493         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5494         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5495         tst-resolv-search.
5496         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5497         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5498         with libresolv and libpthread.
5499         * resolv/tst-bug18665.c: New file.
5500         * resolv/tst-bug18665-tcp: Likewise.
5501         * resolv/tst-res_use_inet6: Likewise.
5502         * resolv/tst-resolv-basic: Likewise.
5503         * resolv/tst-resolv-network: Likewise.
5504         * resolv/tst-resolv-search: Likewise.
5505         * support/Makefile (libsupport-routines): Add check_addrinfo,
5506         check_dns_packet, check_hostent, check_netent, resolv_test,
5507         support_format_address_family, support_format_addrinfo,
5508         support_format_dns_packet, support_format_herrno,
5509         support_format_hostent, support_format_netent, support_run_diff,
5510         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5511         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5512         xstrdup, xwrite.
5513         * support/check_addrinfo.c: New file.
5514         * support/check_dns_packet.c: Likewise.
5515         * support/check_hostent.c: Likewise.
5516         * support/check_netent.c: Likewise.
5517         * support/check_nss.h: Likewise.
5518         * support/format_nss.h: Likewise.
5519         * support/resolv_test.c: Likewise.
5520         * support/resolv_test.h: Likewise.
5521         * support/run_diff.h: Likewise.
5522         * support/support_format_address_family.c: Likewise.
5523         * support/support_format_addrinfo.c: Likewise.
5524         * support/support_format_dns_packet.c: Likewise.
5525         * support/support_format_herrno.c: Likewise.
5526         * support/support_format_hostent.c: Likewise.
5527         * support/support_format_netent.c: Likewise.
5528         * support/support_run_diff.c: Likewise.
5529         * support/xaccept.c: Likewise.
5530         * support/xbind.c: Likewise.
5531         * support/xconnect.c: Likewise.
5532         * support/xfclose.c: Likewise.
5533         * support/xfopen.c: Likewise.
5534         * support/xgetsockname.c: Likewise.
5535         * support/xlisten.c: Likewise.
5536         * support/xmemstream.c: Likewise.
5537         * support/xmemstream.h: Likewise.
5538         * support/xpoll.c: Likewise.
5539         * support/xpthread_once.c: Likewise.
5540         * support/xrecvfrom.c: Likewise.
5541         * support/xsendto.c: Likewise.
5542         * support/xsetsockopt.c: Likewise.
5543         * support/xstdio.h: Likewise.
5544         * support/xstrdup.c: Likewise.
5545         * support/support.h (xstrdup): Declare.
5546         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5547         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5548         * support/xthread.h (xpthread_once): Likwise.
5549         * support/xunistd.h (xwrite): Declare.
5551 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5553         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5554         (test_verbose): Declare.
5555         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5556         * support/support_test_main.c (default_options): Likewise.
5557         (usage, support_test_main): Handle 'v'.
5558         (test_verbose): Define.
5559         * support/tst-support_record_failure.c (do_test): Use
5560         test_verbose.
5561         * support/tst-support_record_failure-2.sh (different_status): Add
5562         --verbose test.
5564 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5566         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5567         test failures are recorded.
5568         * support/check.c (support_print_failure_impl): Call
5569         support_record_failure.
5570         (support_exit_failure_impl): Call support_record_failure if status
5571         indicates failure.
5572         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5573         * support/xasprintf.c (xasprintf): Likewise.
5574         * support/xfork.c (xfork): Likewise.
5575         * support/xpthread_check_return.c (xpthread_check_return):
5576         Likewise.
5577         * support/xsocket.c (xsocket): Likeweise.
5578         * support/xwaitpid.c (xwaitpid): Likewise.
5579         * support/support_record_failure.c (struct test_failures): Adjust
5580         to coding style.
5581         * support/support_test_verify_impl.c (support_test_verify_impl):
5582         Adjust error messages.
5583         * support/tst-support_record_failure-2.sh (different_status):
5584         Adjust error messages.
5586 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5588         * support/namespace.h: New file.
5589         * support/support_become_root.c: Likewise.
5590         * support/support_enter_network_namespace.c: Likewise.
5591         * support/tst-support-namespace.c: Likewise.
5592         * support/xsocket.c: Likewise.
5593         * support/xsocket.h: Likewise.
5594         * support/Makefile (libsupport-routines): Add support_become_root,
5595         support_enter_network_namespace, xsocket.
5596         (tests): Add tst-support-namespace.
5598 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5600         [BZ #17252]
5601         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5602         __USE_GNU.
5604 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5606         [BZ #13165]
5607         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5608         use new algorithm.
5609         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5610         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5611         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5612         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5613         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5614         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5615         __condvar_cleanup_waiting, __condvar_dec_grefs,
5616         __pthread_cond_wait_common): New.
5617         (__condvar_cleanup): Remove.
5618         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5619         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5620         Likewise.
5621         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5622         Likewise.
5623         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5624         * nptl/tst-cond1.c: Add comment.
5625         * nptl/tst-cond20.c (do_test): Adapt.
5626         * nptl/tst-cond22.c (do_test): Likewise.
5627         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5628         structure.
5629         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5630         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5631         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5632         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5633         Likewise.
5634         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5635         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5636         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5637         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5638         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5639         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5640         Likewise.
5641         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5642         Likewise.
5643         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5644         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5645         (COND_CLOCK_BITS): Adapt.
5646         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5647         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5648         __PTHREAD_COND_SHARED_MASK): New.
5649         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5650         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5651         * nptl/nptl_lock_constants.pysym: Adapt.
5652         * nptl/test-cond-printers.py: Adapt.
5653         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5654         cond_compat_check_and_clear): Adapt.
5655         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5656         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5657         (__pthread_cond_timedwait): ... and move here.
5658         * nptl/DESIGN-condvar.txt: Remove file.
5659         * nptl/lowlevelcond.sym: Likewise.
5660         * nptl/pthread_cond_timedwait.c: Likewise.
5661         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5662         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5664         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5665         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5666         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5668         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5669         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5670         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5671         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5673         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5674         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5675         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5676         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5678 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5680         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5681         (fromfp): New declaration.
5682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5685         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5690         * math/math.h: Include <bits/types.h>.
5691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5692         constant and macro.
5693         (FP_INT_DOWNWARD): Likewise.
5694         (FP_INT_TOWARDZERO): Likewise.
5695         (FP_INT_TONEARESTFROMZERO): Likewise.
5696         (FP_INT_TONEAREST): Likewise.
5697         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5698         (fromfpf): Likewise.
5699         (fromfpl): Likewise.
5700         (ufromfp): Likewise.
5701         (ufromfpf): Likewise.
5702         (ufromfpl): Likewise.
5703         (fromfpx): Likewise.
5704         (fromfpxf): Likewise.
5705         (fromfpxl): Likewise.
5706         (ufromfpx): Likewise.
5707         (ufromfpxf): Likewise.
5708         (ufromfpxl): Likewise.
5709         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5710         s_fromfpxF and s_ufromfpxF.
5711         * math/gen-fromfp-tests.py: New file.
5712         * math/gen-fromfp-tests-inputs: Likewise.
5713         * math/libm-test.inc: Include <stdint.h>
5714         (check_intmax_t): New function.
5715         (check_uintmax_t): Likewise.
5716         (struct test_fiu_M_data): New type.
5717         (struct test_fiu_U_data): Likewise.
5718         (RUN_TEST_fiu_M): New macro.
5719         (RUN_TEST_LOOP_fiu_M): Likewise.
5720         (RUN_TEST_fiu_U): Likewise.
5721         (RUN_TEST_LOOP_fiu_U): Likewise.
5722         (fromfp_test_data): New array.
5723         (fromfp_test): New function.
5724         (fromfpx_test_data): New array.
5725         (fromfpx_test): New function.
5726         (ufromfp_test_data): New array.
5727         (ufromfp_test): New function.
5728         (ufromfpx_test_data): New array.
5729         (ufromfpx_test): New function.
5730         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5731         ufromfpx_test.
5732         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5733         characters.
5734         * math/test-tgmath-ret.c: Include <stdint.h>.
5735         (rm): New variable.
5736         (width): Likewise.
5737         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5738         called function.
5739         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5740         CHECK_RET_CONST_TYPE.
5741         (CHECK_RET_CONST_DOUBLE): Likewise.
5742         (CHECK_RET_CONST_LDOUBLE): Likewise.
5743         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5744         macros.
5745         (fromfp): New CHECK_RET_CONST call.
5746         (ufromfp): Likewise.
5747         (fromfpx): Likewise.
5748         (ufromfpx): Likewise.
5749         (do_test): Call check_return_fromfp, check_return_ufromfp,
5750         check_return_fromfpx and check_return_ufromfpx.
5751         * math/test-tgmath.c: Include <stdint.h>
5752         (NCALLS): Increase to 138.
5753         (F(compile_test)): Initialize i.  Call fromfp functions.
5754         (F(fromfp)): New function.
5755         (F(fromfpx)): Likewise.
5756         (F(ufromfp)): Likewise.
5757         (F(ufromfpx)): Likewise.
5758         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5759         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5760         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5761         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5762         ufromfpxl.
5763         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5764         ufromfp and ufromfpx.
5765         * math/fromfp.h: New file.
5766         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5767         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5768         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5769         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5770         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5771         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5772         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5773         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5774         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5775         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5776         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5777         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5778         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5779         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5780         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5781         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5782         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5783         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5784         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5785         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5786         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5787         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5788         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5789         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5790         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5791         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5792         ufromfp, fromfpx and ufromfpx.
5793         (CFLAGS-nldbl-fromfp.c): New variable.
5794         (CFLAGS-nldbl-fromfpx.c): Likewise.
5795         (CFLAGS-nldbl-ufromfp.c): Likewise.
5796         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5797         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5798         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5799         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5800         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5801         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5802         * sysdeps/nacl/libm.abilist: Update.
5803         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5804         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5805         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5806         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5807         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5808         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5809         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5812         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5813         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5814         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5816         Likewise.
5817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5818         Likewise.
5819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5820         Likewise.
5821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5822         Likewise.
5823         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5824         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5825         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5826         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5827         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5829         Likewise.
5830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5833         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5834         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5836 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5838         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5839         compat-gethnamaddr.
5840         (CPPFLAGS): Remove.
5841         * resolv/gethnamaddr.c: Rename ...
5842         * resolv/compat-gethnamaddr.c: ... to this file.
5843         (_endhtent): Make static.
5844         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5845         symbol.
5846         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5847         compat symbol.
5848         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5849         symbol.
5850         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5851         Turn into compat symbol.
5852         * include/resolv.h (_endhtent): Remove declaration.
5854 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5856         * bits/types.h (__intmax_t): New typedef.
5857         (__uintmax_t): Likewise.
5858         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5859         (intmax_t): Define using __intmax_t.
5860         (uintmax_t): Define using __uintmax_t.
5862         * support/Makefile (tests-special): Make definition conditional on
5863         [$(run-built-tests) = yes].
5864         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5865         on [$(run-built-tests) = yes].
5867 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5869         * Rules (tests): Add tests-printers-programs to tests to be
5870         built.
5872 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5874         * sysvipc/Makefile (tests): Add test-sysvshm.
5875         * sysvipc/test-sysvshm.c: New file.
5877         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5878         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5879         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5880         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5881         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5882         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5883         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5884         Likewise.
5885         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5886         Likewise.
5887         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5888         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5889         is defined.
5891         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5892         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5893         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5894         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5895         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5896         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5897         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5898         Likewise.
5899         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5900         Likewise.
5901         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5902         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5903         defined.
5905         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5906         oldshmctl.
5907         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5908         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5909         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5910         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5911         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5912         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5913         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5914         Likewise.
5915         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5916         Likewise.
5917         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5918         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5919         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5920         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5921         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5922         implementation.
5923         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5924         if it is defined.
5926         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5927         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5928         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5929         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5930         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5931         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5932         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5933         Likewise.
5934         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5935         Likewise.
5936         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5937         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5938         Define to __NR_osf_shmat.
5939         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5940         defined.
5942         * sysvipc/Makefile (tests): Add test-sysvsem.
5943         * sysvipc/test-sysvsem.c: New file.
5945         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5946         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5947         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5948         Likewise.
5949         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5950         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5951         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5952         Likewise.
5953         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5956         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5957         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5958         add a comment about s390 syscall difference from default one.
5959         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5960         syscall if it is defined.
5962         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5963         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5964         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5965         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5966         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5967         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5968         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5969         Likewise.
5970         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5971         Likewise.
5972         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5973         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5974         defined.
5976         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5977         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5978         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5979         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5980         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5981         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5982         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5983         Likewise.
5984         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5985         Likewise.
5986         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5987         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5988         if it is defined.
5990         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5991         oldsemctl.
5992         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5993         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5994         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5995         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5996         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5997         implementation.
5998         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5999         syscall if it is defined.
6000         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6001         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6002         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6003         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6004         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6005         Likewise.
6006         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6008         * sysvipc/Makefile (tests): Add test-sysvmsg.
6009         * sysvipc/test-sysvmsg.c: New file.
6010         * support/check.h (FAIL_UNSUPPORTED): New define.
6012         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6013         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6014         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6015         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6016         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6017         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6018         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6019         Likewise.
6020         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6021         Likewise.
6022         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6023         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6024         define.
6026         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6027         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6028         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6029         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6030         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6031         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6032         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6037         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6038         if defined.
6040         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6041         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6042         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6043         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6044         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6045         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6046         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6047         Likewise.
6048         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6049         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6050         Likewise.
6051         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6052         if defined.
6053         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6055         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6056         oldmsgctl.
6057         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6058         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6059         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6060         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6061         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6062         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6063         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6064         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6065         Likewise.
6066         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6068         implementation.
6069         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6070         if defined.
6072         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6073         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6074         definition and define its own.
6075         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6076         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6077         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6078         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6079         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6080         definitions to common header.
6081         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6082         operation from ipc_ops.h.
6084         * sysdeps/unix/sysv/linux/kernel-features.h
6085         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6086         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6087         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6088         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6089         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6090         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6091         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6092         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6093         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6094         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6095         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6096         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6097         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6098         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6099         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6101 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6103         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6104         overflow in pointer addition.
6106 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6108         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6109         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6111         (strchr): Add __strchr_power8 to list of strchr functions.
6112         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6113         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6114         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6115         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6116         (strchr): Add __strchr_power8 to ifunc list.
6117         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6118         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6119         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6120         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6122 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6124         * support/Makefile (libsupport-routines): Add
6125         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6126         (tests): Add tst-support_record_failure.
6127         (tests-special): tst-support_record_failure-2.
6128         (tst-support_record_failure-2.out): Depend on
6129         tst-support_record_failure-2.sh and tst-support_record_failure.
6130         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6131         (support_test_verify_impl, support_record_failure)
6132         (support_report_failure, support_report_failure_reset): Declare.
6133         * support/support_test_main.c (adjust_exit_status): New function.
6134         (support_test_main): Call it to incorporate record test failures.
6135         * support/support_test_verify_impl.c: New file.
6136         * support/support_record_failure.c: Likewise.
6137         * support/tst-support_record_failure.c: Likewise.
6138         * support/tst-support_record_failure-2.sh: Likewise.
6139         * support/xunistd.h: Likewise.
6140         * support/xfork.c: Likewise.
6141         * support/xwaitpid.c: Likewise.
6143 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6145         * scripts/check-c++-types.sh: Add comments.
6147 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6149         [BZ #19514]
6150         * resolv/res_send.c: Fix typo in comment.
6151         * sysdeps/i386/i386-mcount.S: Likewise.
6152         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6153         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6154         * sysdeps/sparc/sparc-mcount.S: Likewise.
6156 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6158         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6159         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6160         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6161         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6162         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6163         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6164         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6165         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6167 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6169         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6171 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6173         [BZ #17252]
6174         * posix/unistd.h (getentropy): Declare.
6176 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6178         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6179         Remove.
6180         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6181         (cmd): Remove spoof, nospoof, spoofalert.
6182         (parse_line): Ignore spoof-related lines.
6183         (do_init): Do not process RESOLV_SPOOF_CHECK.
6185 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6187         [BZ #20964]
6188         sunrpc: Always obtain AF_INET addresses from NSS.
6189         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6190         * sunrpc/rpc_gethostbyname.c: New file.
6191         * sunrpc/Makefile (routines): Add it.
6192         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6193         * sunrpc/clnt_simp.c (callrpc): Likewise.
6194         * sunrpc/getrpcport.c (getrpcport): Likewise.
6196 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6198         * sunrpc/rpcinfo.c: Remove.
6199         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6201 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6203         [BZ #19387]
6204         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6205         addition.
6206         * string/test-memchr.c (do_test): Remove alignment limitation.
6207         (test_main): Add test that trigger BZ #19387.
6209 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6211         [BZ #7065]
6212         Enable stack protectore if requested by ./configure.
6213         * Makeconfig (+stack-protector): New variable.
6214         (+cflags): Use it.
6216 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6218         [BZ #7065]
6219         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6220         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6221         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6222         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6223         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6225 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6227         [BZ #7065]
6228         * login/Makefile (pt_chown-cflags): Remove.
6229         * nscd/Makefile (CFLAGS-nscd): Likewise.
6230         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6232 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6234         [BZ #7065]
6235         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6236         non-libc-linking testcase.
6238 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6239             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6240             Florian Weimer  <fweimer@redhat.com>
6242         [BZ #7065]
6243         PLT avoidance for __stack_chk_fail*.
6244         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6245         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6246         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6247         __stack_chk_fail_local alias.
6248         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6249         (__stack_chk_fail): Turn into hidden reference to
6250         __stack_chk_fail_local.
6252 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6254         [BZ #7065]
6255         * configure.ac: Add check for unsupported stack-protection level.
6256         (libc_cv_predef_stack_protector): Remove.
6257         (no_ssp): New variable.
6258         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6259         (stack_protector): Set to -fno-stack-protector similarly.
6260         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6261         (libc_cv_asm_set_directive): Likewise.
6262         (libc_cv_protected_data): Likewise.
6263         (libc_cv_z_combreloc): Likewise.
6264         (libc_cv_hashstyle): Likewise.
6265         (libc_cv_has_glob_dat): Likewise.
6266         (libc_cv_output_format): Likewise.
6267         (libc_cv_output_format): Likewise.
6268         (libc_cv_ehdr_start): Likewise.
6269         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6270         (LIBC_LINKER_FEATURE): Likewise.
6271         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6273 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6275         [BZ #7065]
6276         * elf/Makefile (dummy-stack-chk-fail): New.
6277         (librtld.map): Use it.
6279 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6281         [BZ #7065]
6282         Compile the dynamic linker without stack protection.
6283         * elf/Makefile (elide-stack-protector): New.
6284         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6285         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6286         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6287         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6289 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6291         [BZ #7065]
6292         * config.make.in (have-ssp, no-stack-protector): New.
6293         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6294         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6295         (CFLAGS-sbrk.op): Likewise.
6296         (CFLAGS-brk.o): Likewise.
6297         (CFLAGS-brk.op): Likewise.
6298         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6299         (CFLAGS-wordcopy.c): Likewise.
6301 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6303         [BZ #7065]
6304         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6305         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6306         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6307         (__ifunc_resolver): Use it.
6308         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6309         inhibit_stack_protector.
6310         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6311         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6312         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6313         (foo_protected_ifunc): Likewise.
6314         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6315         (foo_protected_ifunc): Likewise.
6316         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6317         * sysdeps/nacl/nacl_interface_query.c
6318         (nacl_interface_query_ifunc): Likewise.
6319         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6320         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6321         Likewise.
6322         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6323         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6324         the generated vDSO syscall resolver.
6326 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6327             Florian Weimer  <fweimer@redhat.com>
6329         [BZ #7065]
6330         Initialize the stack guard earlier when linking statically.
6331         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6332         (__pthread_initialize_minimal): Declare.
6333         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6334         declaration.
6335         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6336         stack canary and apply_irel initialization up.  Call
6337         __pthread_initialize_minimal only if linked in.
6338         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6339         constant values.
6340         (__pthread_initialize_minimal): Remove.
6341         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6342         (__pthread_initialize_minimal_internal): Do not call
6343         __libc_setup_tls.
6345 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6347         [BZ #7065]
6348         * configure.ac (libc_cv_ssp): Move up.
6349         (libc_cv_ssp_strong): Likewise.
6350         (libc_cv_ssp_all): New.
6351         (stack_protector): Augment, adding -fstack-protector-all.
6352         (no_stack_protector): New.
6353         (STACK_PROTECTOR_LEVEL): New.
6354         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6355         * manual/install.texi (--enable-stack-protector): Document it.
6356         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6358 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6360         * README.pretty-printers: Must specify CPPFLAGS-* also.
6361         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6362         (CPPFLAGS-test-mutex-printers.c): Define.
6363         (CPPFLAGS-test-condattr-printers.c): Define.
6364         (CPPFLAGS-test-cond-printers.c): Define.
6365         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6366         (CPPFLAGS-test-rwlock-printers.c): Define.
6368         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6369         (tests): Add tst-cancel-getpwuid_r.
6370         * nss/tst-cancel-getpwuid_r.c: New file.
6372         [BZ #11941]
6373         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6374         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6375         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6376         tst-nodelete-dlclose.
6377         (modules-names): Add tst-nodelete-dlclose-dso and
6378         tst-nodelete-dlclose-plugin.
6379         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6380         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6381         ($(objpfx)tst-nodelete-dlclose): Define.
6382         ($(objpfx)tst-nodelete-dlclose.out): Define.
6384 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6386         * scripts/test_printers_common.py: Log GDB output in case of
6387         Python detection failure.
6389 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6391         * configure.ac: Check for python3 or python.
6392         * configure: Regenerated.
6393         * config.make.in (PYTHON): New variable.
6394         * benchtests/Makefile: Don't define PYTHON.
6395         (bench): Define target only if PYTHON was defined.
6396         * Rules: Don't define PYTHON.
6397         Define pretty printer targets only if PYTHON was defined.
6398         (tests-printers): Add to tests-unsupported if PYTHON is not
6399         found.
6400         (python-flags, python-invoke): Remove.
6401         (tests-printers-out): Use PYTHON instead of python-invoke.
6403 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6405         [BZ #20978]
6406         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6407         Compare name == NULL, not name != NULL.
6409         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6410         trailing whitespace removed.
6411         * scripts/config.guess: Update to version 2016-10-02.
6412         * scripts/config.sub: Update to version 2016-11-19.
6413         * scripts/install-sh: Update to version 2016-01-11.22.
6414         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6415         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6417 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6419         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6420         (do_one_test) Restore original string so iteration works.
6421         * string/string-inlines.c (do_test): Create better input strings.
6422         (test_main) Reduce number of testruns.
6423         * string/string-inlines.c (__old_strsep_1c): New function.
6424         (__old_strsep_2c): Likewise.
6425         (__old_strsep_3c): Likewise.
6426         * string/strsep.c (__strsep): Remove case of small delim string.
6427         Call strcspn directly rather than strpbrk.
6428         * string/bits/string2.h (__strsep): Remove define.
6429         (__strsep_1c): Remove.
6430         (__strsep_2c): Remove.
6431         (__strsep_3c): Remove.
6432         (strsep): Remove.
6433         * sysdeps/unix/sysv/linux/internal_statvfs.c
6434         (__statvfs_getflags): Rename to __strsep.
6436 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6438         * csu/libc-tls.c (_dl_tls_setup): Remove.
6439         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6440         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6441         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6443 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6445         [BZ #7065]
6446         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6447         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6449 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6450             Florian Weimer  <fweimer@redhat.com>
6452         [BZ #7065]
6453         * csu/Makefile (tests): Empty assignment and document it.
6454         (tests-static): Remove.
6455         * csu/tst-empty.c: Move to...
6456         * misc/tst-empty.c: ... here.  Switch to new test driver.
6457         * csu/tst-atomic.c: Move to...
6458         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6459         * csu/tst-atomic-long.c: Move to...
6460         * misc/tst-atomic-long.c: ... here.
6461         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6462         tst-atomic-long.
6463         (tests-static): Add tst-empty.
6465 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6467         * manual/nss.texi: Change incorrect @vtable to @table.
6468         * manual/arith.texi: Convert @tables of variables to @vtables
6469         and remove unnecessary indexing.
6470         * manual/filesys.texi: Likewise.
6471         * manual/llio.texi: Likewise.
6472         * manual/memory.texi: Likewise.
6473         * manual/process.texi: Likewise.
6474         * manual/resource.texi: Likewise.
6475         * manual/search.texi: Likewise.
6476         * manual/signal.texi: Likewise.
6477         * manual/socket.texi: Likewise.
6478         * manual/stdio.texi: Likewise.
6479         * manual/sysinfo.texi: Likewise.
6480         * manual/syslog.texi: Likewise.
6481         * manual/terminal.texi: Likewise.
6482         * manual/time.texi: Likewise.
6483         * manual/users.texi: Likewise.
6485 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6487         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6488         (roundeven): New declaration.
6489         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6490         macro.
6491         * math/Versions (roundeven): New libm symbol at version
6492         GLIBC_2.25.
6493         (roundevenf): Likewise.
6494         (roundevenl): Likewise.
6495         * math/Makefile (libm-calls): Add s_roundevenF.
6496         * math/libm-test.inc (roundeven_test_data): New array.
6497         (roundeven_test): New function.
6498         (main): Call roundeven_test.
6499         * math/test-tgmath.c (NCALLS): Increase to 134.
6500         (F(compile_test)): Call roundeven.
6501         (F(roundeven)): New function.
6502         * manual/arith.texi (Rounding Functions): Document roundeven,
6503         roundevenf and roundevenl.
6504         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6505         * include/math.h (roundeven): Use libm_hidden_proto.
6506         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6507         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6508         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6509         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6510         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6511         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6512         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6513         roundeven.
6514         (CFLAGS-nldbl-roundeven.c): New variable.
6515         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6516         * sysdeps/nacl/libm.abilist: Update.
6517         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6530         Likewise.
6531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6532         Likewise.
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6534         Likewise.
6535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6536         Likewise.
6537         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6543         Likewise.
6544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6545         Likewise.
6546         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6550 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6552         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6553         preprocessor indentation inside #if.
6555 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6557         * math/libm-test.inc (fmt_ftostr): New function.
6558         (print_float, check_float_internal): Replace some uses of
6559         FTOSTR with uses of fmt_ftostr.
6560         (print_max_error, print_complex_max_error, print_function_ulps)
6561         (print_complex_function_ulps): Remove uses of the macros
6562         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6563         * math/test-double.h (FTOSTR): Define to strfromd.
6564         (PRINTF_EXPR): Delete.
6565         (PRINTF_XEXPR): Likewise.
6566         (PRINTF_NEXPR): Likewise.
6567         * math/test-float.h (FTOSTR): Define to strfromf.
6568         (PRINTF_EXPR): Delete.
6569         (PRINTF_XEXPR): Likewise.
6570         (PRINTF_NEXPR): Likewise.
6571         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6572         (PRINTF_EXPR): Delete.
6573         (PRINTF_XEXPR): Likewise.
6574         (PRINTF_NEXPR): Likewise.
6576 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6578         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6579         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6580         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6581         (__lll_lock_elision): Decrement adapt_count while unlocking
6582         instead of before locking.
6583         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6584         (__lll_trylock_elision): Likewise.
6585         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6586         (__lll_unlock_elision): Likewise.
6588 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6590         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6591         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6592         Use __libc_tbegin_retry macro.
6594 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6596         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6597         Add -msoft-float.
6598         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6599         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6600         Use __libc_t* transaction macros instead of __builtin_t*.
6601         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6602         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6604 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6606         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6607         (__lll_lock_elision): Use atomics to load / store adapt_count.
6608         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6609         (__lll_trylock_elision): Likewise.
6611 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6613         Do not require memset elimination in explicit_bzero test.
6614         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6615         (enum test_expectation): Add NO_EXPECTATIONS.
6616         (subtests): NO_EXPECTATIONS for ordinary clear.
6617         (check_test_buffer): Handle NO_EXPECTATIONS.
6618         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6620 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6622         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6623         (fmaxmag): New declaration.
6624         (fminmag): Likewise.
6625         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6626         macro.
6627         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6628         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6629         (fmaxmagf): Likewise.
6630         (fmaxmagl): Likewise.
6631         (fminmag): Likewise.
6632         (fminmagf): Likewise.
6633         (fminmagl): Likewise.
6634         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6635         * math/s_fmaxmag_template.c: New file.
6636         * math/s_fminmag_template.c: Likewise.
6637         * math/libm-test.inc (fmaxmag_test_data): New array.
6638         (fmaxmag_test): New function.
6639         (fminmag_test_data): New array.
6640         (fminmag_test): New function.
6641         (main): Call fmaxmag_test and fminmag_test.
6642         * math/test-tgmath.c (NCALLS): Increase to 132.
6643         (F(compile_test)): Call fmaxmag and fminmag.
6644         (F(fminmag)): New function.
6645         (F(fmaxmag)): Likewise.
6646         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6647         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6648         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6649         fminmag.
6650         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6651         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6652         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6653         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6654         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6655         and fminmag.
6656         (CFLAGS-nldbl-fmaxmag.c): New variable.
6657         (CFLAGS-nldbl-fminmag.c): Likewise.
6658         * sysdeps/nacl/libm.abilist: Update.
6659         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6660         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6661         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6662         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6663         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6664         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6665         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6666         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6667         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6668         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6669         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6670         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6672         Likewise.
6673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6674         Likewise.
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6676         Likewise.
6677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6678         Likewise.
6679         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6680         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6681         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6683         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6685         Likewise.
6686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6687         Likewise.
6688         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6692 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6694         [BZ #20973]
6695         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6696         wake-up in robust mutexes.
6697         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6699 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6701         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6702         (CFLAGS-bench-fmaxf.c): New rule.
6703         (CFLAGS-bench-fminf.c): Likewise.
6704         * benchtests/fmaxf-inputs: New file.
6705         * benchtests/fminf-inputs: Likewise.
6707         * benchtests/Makefile (bench-math): Add fmin and fmax.
6708         (CFLAGS-bench-fmax.c): New rule.
6709         (CFLAGS-bench-fmin.c): Likewise.
6710         * benchtests/fmax-inputs: New file.
6711         * benchtests/fmin-inputs: Likewise.
6713         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6714         parenthesis.
6715         (CMDLINE_PROCESS): Define using function instead of macro.
6716         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6717         of test-skeleton.
6718         * benchtests/bench-memchr.c: Likewise.
6719         * benchtests/bench-memcmp.c: Likewise.
6720         * benchtests/bench-memcpy-large.c: Likewise.
6721         * benchtests/bench-memcpy.c: Likewise.
6722         * benchtests/bench-memmem.c: Likewise.
6723         * benchtests/bench-memmove-large.c: Likewise.
6724         * benchtests/bench-memmove.c: Likewise.
6725         * benchtests/bench-memset-large.c: Likewise.
6726         * benchtests/bench-memset.c: Likewise.
6727         * benchtests/bench-rawmemchr.c: Likewise.
6728         * benchtests/bench-strcasecmp.c: Likewise.
6729         * benchtests/bench-strcasestr.c: Likewise.
6730         * benchtests/bench-strcat.c: Likewise.
6731         * benchtests/bench-strchr.c: Likewise.
6732         * benchtests/bench-strcmp.c: Likewise.
6733         * benchtests/bench-strcpy.c: Likewise.
6734         * benchtests/bench-strcpy_chk.c: Likewise.
6735         * benchtests/bench-strlen.c: Likewise.
6736         * benchtests/bench-strncasecmp.c: Likewise.
6737         * benchtests/bench-strncmp.c: Likewise.
6738         * benchtests/bench-strncpy.c: Likewise.
6739         * benchtests/bench-strnlen.c: Likewise.
6740         * benchtests/bench-strpbrk.c: Likewise.
6741         * benchtests/bench-strrchr.c: Likewise.
6742         * benchtests/bench-strsep.c: Likewise.
6743         * benchtests/bench-strspn.c: Likewise.
6744         * benchtests/bench-strstr.c: Likewise.
6745         * benchtests/bench-strtok.c: Likewise.
6747 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6749         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6750         stepping identification.
6751         (init_cpu_features): Add handle of Haswell.
6753 2016-11-25  Jim Meyering  <meyering@fb.com>
6755         [BZ #20386]
6756         Let gcc detect assert(a = 1) errors.
6757         * assert/assert.h (assert): Rewrite, retaining the old definintion
6758         when required, but otherwise putting the expression as-is in an "if"
6759         expression (hence, with no added parentheses) within a statement
6760         expression.
6762 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6764         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6765         DSO.
6767 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6769         * Rules (python-flags, python-invoke): New.
6770         ($(test-printers-out)): Use $(python-flags).
6772 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6774         * manual/arith.texi (Math Error Reporting): Document that sNaN
6775         arguments are not considered domain errors.
6777 2016-12-16  Zack Weinberg <zackw@panix.com>
6778             Florian Weimer <fweimer@redhat.com>
6779             Nick Mathewson <nickm@torproject.org>
6781         * string/explicit_bzero.c: New routine.
6782         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6783         * string/Makefile (routines, strop-tests, tests): Add them.
6784         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6785         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6787         * debug/explicit_bzero_chk.c: New routine.
6788         * debug/Makefile (routines): Add it.
6789         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6790         * string/bits/string3.h: Fortify explicit_bzero.
6792         * manual/string.texi: Document explicit_bzero.
6793         * NEWS: Mention addition of explicit_bzero.
6795         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6796         data before returning, using explicit_bzero.
6797         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6798         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6799         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6801         * include/string.h: Redirect internal uses of explicit_bzero
6802         to __explicit_bzero_chk[_internal].
6803         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6804         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6805         * sysdeps/arm/nacl/libc.abilist
6806         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6807         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6808         * sysdeps/unix/sysv/linux/arm/libc.abilist
6809         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6810         * sysdeps/unix/sysv/linux/i386/libc.abilist
6811         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6812         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6813         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6814         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6815         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6816         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6817         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6818         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6819         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6824         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6825         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6826         * sysdeps/unix/sysv/linux/sh/libc.abilist
6827         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6828         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6831         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6832         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6833         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6834         Add entries for explicit_bzero and __explicit_bzero_chk.
6836 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6838         * math/fenv.h
6839         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6840         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6841         * math/test-fe-snans-always-signal.c: New file.
6842         * math/Makefile (tests): Add test-fe-snans-always-signal.
6843         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6844         * manual/arith.texi (Infinity and NaN): Document
6845         FE_SNANS_ALWAYS_SIGNAL.
6847 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6849         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6850         bracket.
6852 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6854         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6855         before calling execv.
6857 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6859         [BZ #20971]
6860         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6861         overflow in pointer addition.
6862         * string/test-memchr.c (do_test): Add an argument to pass as
6863         the size on memchr.
6864         (test_main): Add check for SIZE_MAX.
6866 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6868         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6869         (libm-calls): Add w_scalblnF.
6870         * math/w_scalbln.c: Remove.
6871         * math/w_scalblnf.c: Likewise.
6872         * math/w_scalblnl.c: Likewise.
6873         * math/w_scalbln_template.c: New file with type-generic
6874         implementation based on math/w_scalbln.c.
6875         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6876         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6878 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6880         [BZ #20947]
6881         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6882         either is a signaling NaN.
6883         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6884         follow fmaxl more closely.
6885         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6886         when either is a signaling NaN.
6887         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6888         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6889         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6890         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6891         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6892         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6893         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6894         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6895         (fmin_test_data): Likewise.
6897 2016-12-15  Andreas Schwab  <schwab@suse.de>
6899         * support/support_test_main.c (support_test_main): Don't shadow
6900         file-local variable test_pid.
6902 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6904         [BZ #20947]
6905         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6906         either is a signaling NaN.
6907         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6909 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6911         [BZ #20947]
6912         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6913         when either is a signaling NaN.
6914         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6916         * bits/long-double.h: New file.
6917         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6918         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6919         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6920         * sysdeps/mips/bits/long-double.h: Likewise.
6921         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6922         * math/Makefile (headers): Add bits/long-double.h.
6923         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6924         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6925         <bits/wordsize.h>.
6926         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6927         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6928         * math/math.h: Do not include <bits/mathdef.h>.
6929         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6930         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6931         inclusion.
6932         * sysdeps/ia64/bits/mathdef.h: Remove file.
6933         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6934         * sysdeps/mips/bits/mathdef.h: Likewise.
6935         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6936         * sysdeps/s390/bits/mathdef.h: Likewise.
6937         * sysdeps/sparc/bits/mathdef.h: Likewise.
6938         * sysdeps/x86/bits/mathdef.h: Likewise.
6939         * sysdeps/s390/s390-32/bits/wordsize.h
6940         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6941         conditional code.
6942         * sysdeps/s390/s390-64/bits/wordsize.h
6943         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6944         Likewise.
6945         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6946         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6949         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6950         Likewise.
6951         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6952         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6953         Likewise.
6955         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6956         <linux/falloc.h>.
6957         (FALLOC_FL_KEEP_SIZE): Remove.
6958         (FALLOC_FL_PUNCH_HOLE): Likewise.
6959         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6960         (FALLOC_FL_ZERO_RANGE): Likewise.
6962 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6964         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6966 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6968         * sysdeps/unix/sysv/linux/renameat.c: New file.
6969         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6971         * sysdeps/unix/sysv/linux/rename.c: New file.
6972         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6974 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6976         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6977         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6978         * string/strtok_r.c (__strtok_r): Optimize for performance.
6979         * string/string-inlines.c (__old_strtok_r_1c): New function.
6980         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6982 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6984         * math/Makefile (gen-libm-calls): Add w_log1pF.
6985         (libm-calls): Remove w_log1pF.
6986         * math/w_log1p.c: Remove.
6987         * math/w_log1pf.c: Likewise.
6988         * math/w_log1pl.c: Likewise.
6989         * math/w_log1p_template.c: New file with type-generic
6990         implementation based on math/w_log1p.c.
6991         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6992         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6994 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6996         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6998 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7000         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7001         kernel version to 4.9.
7003 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7005         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7006         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7008 2016-12-13  Andreas Schwab  <schwab@suse.de>
7010         * sysdeps/powerpc/dl-procinfo.c: Don't define
7011         _dl_powerpc_platforms.
7012         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7013         constants instead of referencing _dl_powerpc_platforms.
7014         (_dl_platform_string): Remove.
7016 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7018         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7020 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7022         * Rules (binaries-shared-tests, binaries-pie-tests)
7023         (binaries-static-tests): Link with $(link-extra-libs-tests).
7024         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7025         Remove $(link-extra-libs-tests).
7027 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7029         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7030         (sysdep_routines): Add strncmp_power9.
7031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7032         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7033         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7034         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7035         (strncmp): Add __strncmp_power9 to ifunc list.
7036         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7038 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7040         [BZ #17252]
7041         Add getentropy, getrandom.
7042         * stdlib/sys/random.h: New file.
7043         (headers): Add it.
7044         * stdlib/Makefile (routines): Add getentropy, getrandom.
7045         (tests): Add tst-getrandom.
7046         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7047         * stdlib/getentropy.c: New file.
7048         * stdlib/getrandom.c: Likewise.
7049         * stdlib/tst-getrandom.c: Likewise.
7050         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7051         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7052         * manual/crypt.texi (Unpredictable Bytes): New section.
7053         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7054         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7055         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7056         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7070         Likewise.
7071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7072         Likewise.
7073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7075         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7076         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7079         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7082         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7083         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7084         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7086 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7088         [BZ #20956]
7089         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7090         as additional compiler barriers.
7091         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7092         (fn2, do_test): Declare with external linkage.
7093         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7094         (do_test): Declare with external linkage.
7095         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7096         (do_test): Declare with external linkage.
7097         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7098         (do_test): Declare with external linkage.
7100 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7102         * support/support_test_main.c (support_test_main): Use correct
7103         timeout.
7105 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7106             Florian Weimer  <fweimer@redhat.com>
7108         [BZ #16421]
7109         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7110         and __u6_addr32 members.
7111         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7112         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7113         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7114         Use __u6_addr32.
7115         * inet/tst-checks.c: Use <support/test-driver.c>
7116         * inet/tst-checks-posix.c: New file.
7117         * inet/Makefile (tests): Add it.
7118         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7120 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7122         New subdirectory support for build and test infrastructure.
7123         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7124         setting install-lib.
7125         * Makeconfig (link-extra-libs-tests): Define.
7126         (+link-pie-tests, +link-static-tests, +link-tests): Use
7127         link-extra-libs-tests.
7128         (rpath-dirs, all-subdirs): Add support.
7129         (built-modules): Add libsupport.
7130         (libsupport): Define.
7131         * support: New directory.
7132         * support/Makefile: New file.
7133         * support/check.c: Likewise.
7134         * support/check.h: Likewise.
7135         * support/delayed_exit.c: Likewise.
7136         * support/ignore_stderr.c: Likewise.
7137         * support/oom_error.c: Likewise.
7138         * support/set_fortify_handler.c: Likewise.
7139         * support/support.h: Likewise.
7140         * support/temp_file-internal.h: Likewise.
7141         * support/temp_file.c: Likewise.
7142         * support/test-driver.c: Likewise.
7143         * support/test-driver.h: Likewise.
7144         * support/test_main.c: Likewise.
7145         * support/write_message.c: Likewise.
7146         * support/xasprintf.c: Likewise.
7147         * support/xcalloc.c: Likewise.
7148         * support/xmalloc.c: Likewise.
7149         * support/xpthread_barrier_destroy.c: Likewise.
7150         * support/xpthread_barrier_init.c: Likewise.
7151         * support/xpthread_barrier_wait.c: Likewise.
7152         * support/xpthread_cancel.c: Likewise.
7153         * support/xpthread_check_return.c: Likewise.
7154         * support/xpthread_cond_wait.c: Likewise.
7155         * support/xpthread_create.c: Likewise.
7156         * support/xpthread_detach.c: Likewise.
7157         * support/xpthread_join.c: Likewise.
7158         * support/xpthread_mutex_lock.c: Likewise.
7159         * support/xpthread_mutex_unlock.c: Likewise.
7160         * support/xpthread_sigmask.c: Likewise.
7161         * support/xpthread_spin_lock.c: Likewise.
7162         * support/xpthread_spin_unlock.c: Likewise.
7163         * support/xrealloc.c: Likewise.
7164         * support/xsignal.h: Likewise.
7165         * support/xthread.h: Likewise.
7166         * support_tempfile.h: Likewise.
7167         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7168         (TEST_DATA_LIMIT): Remove unused macro.
7169         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7170         <support/check.h>.
7171         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7172         (ignore_stderr, set_fortify_handler): Remove.  Now in
7173         <support/support.h>.
7174         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7175         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7176         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7177         (xpthread_join): Remove.  Now in <support/xthread.h>.
7178         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7179         Introduce legacy wrappers.
7180         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7181         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7182         (write_message): Remove.
7183         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7184         test-skeleton.c.
7185         * io/test-open-tmpfile: Likewise.
7186         * io/tst-posix_fallocate-common.c: Likewise.
7187         * libio/tst-fseek.c: Likewise.
7188         * malloc/tst-malloc-backtrace.c: Likewise.
7189         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7190         * malloc/tst-malloc-thread-exit.c: Likewise.
7191         * nptl/tst-cancel7.c: Likewise.
7192         * nptl/tst-cleanup0.c: Likewise.
7193         * posix/tst-posix_fadvise-common.c: Likewise.
7194         * rt/tst-shm.c: Likewise.
7195         * time/bug-getdate1.c: Likewise.
7196         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7197         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7198         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7200 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7202         * Rules [$(run-built-tests) != no] (tests-expected): Add
7203         $(tests-printers).
7204         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7206 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7208         [BZ #20539]
7209         * math/Makefile (install-lib-ldscripts): Add libm.a.
7210         (install_subdir): Remove.
7211         (install-others): Add.
7212         ($(inst_libdir)/libm.a): Add rule for installation as
7213         linker script.
7214         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7216 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7218         * INSTALL: Regenerated.
7219         * Makeconfig: Add comments and whitespace to make the control flow
7220         clearer.
7221         (+link-printers-tests, +link-pie-printers-tests,
7222         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7223         built-rtld-LDFLAGS, link-libc-rpath,
7224         link-libc-tests-after-rpath-link,
7225         link-libc-printers-tests): New.
7226         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7227         link-libc-tests): Use the new variables as required.
7228         * Makerules ($(py-const)): New rule.
7229         generated: Add $(py-const).
7230         * README.pretty-printers: New file.
7231         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7232         (others): Depend on $(py-const).
7233         (tests): Depend on $(tests-printers-programs) or
7234         $(tests-printers-out),
7235         as required.  Pass $(tests-printers) to merge-test-results.sh.
7236         * manual/install.texi: Add requirements for testing the pretty
7237         printers.
7238         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7239         tests-printers, CFLAGS-test-mutexattr-printers.c
7240         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7241         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7242         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7243         * nptl/nptl-printers.py: New file.
7244         * nptl/nptl_lock_constants.pysym: Likewise.
7245         * nptl/test-cond-printers.c: Likewise.
7246         * nptl/test-cond-printers.py: Likewise.
7247         * nptl/test-condattr-printers.c: Likewise.
7248         * nptl/test-condattr-printers.py: Likewise.
7249         * nptl/test-mutex-printers.c: Likewise.
7250         * nptl/test-mutex-printers.py: Likewise.
7251         * nptl/test-mutexattr-printers.c: Likewise.
7252         * nptl/test-mutexattr-printers.py: Likewise.
7253         * nptl/test-rwlock-printers.c: Likewise.
7254         * nptl/test-rwlock-printers.py: Likewise.
7255         * nptl/test-rwlockattr-printers.c: Likewise.
7256         * nptl/test-rwlockattr-printers.py: Likewise.
7257         * scripts/gen-py-const.awk: Likewise.
7258         * scripts/test_printers_common.py: Likewise.
7259         * scripts/test_printers_exceptions.py: Likewise.
7261 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7263         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7264         argument.
7265         (Glibc.build_glibc): Strip installed shared libraries if
7266         requested.
7267         (get_parser): Add --strip option.
7268         (main): Update Context call.
7270 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7271             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7273         [BZ #20847]
7274         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7275         array bounds for else branch.
7276         (__execvpe): Style fixes.
7277         * posix/tst-vfork3.c (run_script): New function.
7278         (create_script): Likewise.
7279         (do_test): Use run_script internal function.
7280         (do_prepare): Use create_script internal function.
7282 2016-12-07  Andreas Schwab  <schwab@suse.de>
7284         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7285         (__elision_available): Don't declare.
7286         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7287         (__elision_available): Don't define.
7288         (elision_init): Don't set __elision_available.
7290 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7292         [BZ #20940]
7293         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7294         return Inf for arguments Inf and sNaN.
7295         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7296         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7297         Likewise.
7298         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7299         Likewise.
7300         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7301         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7302         for arguments Inf and sNaN.  When returning a NaN, compute it by
7303         arithmetic on the arguments.
7304         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7305         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7306         arguments.
7308 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7310         [BZ #20916]
7311         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7312         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7313         to compute result.
7314         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7315         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7317 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7319         * include/atomic.h (__atomic_check_size_ls): New.
7320         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7321         atomic_store_release): Use it.
7322         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7323         (elision_adapt, ELIDE_LOCK): Use atomics.
7324         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7325         atomics and improve code comments.
7326         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7327         (__lll_trylock_elision): Likewise.
7329 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7331         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7332         programs.
7334 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7336         [BZ #20916]
7337         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7338         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7339         arguments to compute result.
7340         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7341         1 for arguments (sNaN, 0) or (1, sNaN).
7342         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7343         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7345         [BZ #20919]
7346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7347         NaN first argument when raised to power 0.
7348         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7349         raising to power zero.
7350         * math/w_powf.c (__powf): Likewise.
7351         * math/w_powl.c (__powl): Likewise.
7352         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7353         pow (0, 0) or pow (NaN, 0).
7355 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7357         [BZ #20918]
7358         * configure.ac: Test for static NSS cryptographic libraries and set
7359         libc_cv_static_nss_crypt.
7360         * configure: Regenerate.
7361         * config.make.in (static-nss-crypt): Define.
7362         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7363         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7364         (CFLAGS-tst-linkall-static.c): Define.
7365         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7366         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7367         ($(objpfx)tst-linkall-static): Define.
7368         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7369         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7371 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7373         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7374         (one-hundred, tst-tls-many-dynamic-modules): Define.
7375         (modules-names): Add $(tst-tls-many-dynamic-modules).
7376         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7377         macros.
7378         (tst-tls-manydynamic): Link against libdl, libpthread.
7379         (tst-tls-manydynamic.out): The test needs the test modules at run
7380         time.
7381         * elf/tst-tls-manydynamic.c: New file.
7382         * elf/tst-tls-manydynamic.h: Likewise.
7383         * elf/tst-tls-manydynamicmod.c: Likewise.
7385 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7387         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7388         (TLS_DTV_UNALLOCATED): Add.
7389         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7390         offsets.
7392 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7394         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7396 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7398         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7399         Add -fno-optimize-sibling-calls.
7401 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7403         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7404         New declaration.
7405         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7406         macro.
7407         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7408         New macro.
7409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7411         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7412         (llogbf): Likewise.
7413         (llogbl): Likewise.
7414         * math/Makefile (gen-libm-calls): Add w_llogbF.
7415         (tests): Add test-fp-llogb-constants.
7416         * math/w_llogb_template.c: New file.  Based on
7417         math/w_ilogb_template.c.
7418         * math/libm-test.inc (llogb_test_data): New array.
7419         (llogb_test): New function.
7420         (main): Call llogb_test.
7421         * math/test-fp-llogb-constants.c: New file.  Based on
7422         math/test-fp-ilogb-constants.c.
7423         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7424         (do_test): Call check_return_llogb.
7425         * math/test-tgmath.c (NCALLS): Increase to 126.
7426         (F(compile_test)): Call llogb.
7427         (F(llogb)): New function.
7428         * manual/math.texi (Exponents and Logarithms): Document llogb,
7429         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7430         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7431         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7432         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7433         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7434         (CFLAGS-nldbl-llogb.c): New variable.
7435         * sysdeps/nacl/libm.abilist: Update.
7436         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7437         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7438         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7439         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7440         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7441         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7442         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7443         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7444         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7445         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7446         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7447         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7449         Likewise.
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7451         Likewise.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7453         Likewise.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7455         Likewise.
7456         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7462         Likewise.
7463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7464         Likewise.
7465         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7466         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7467         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7469 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7471         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7472         _Float128 instead of long double.
7473         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7475         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7476         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7477         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7478         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7479         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7480         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7481         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7482         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7483         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7484         Likewise.
7486 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7488         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7489         Remove redirection to __strrchr_ppc.
7491 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7493         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7494         (sysdep_routines): Add strcmp_power9.
7495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7496         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7497         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7498         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7499         (strcmp): Add __strcmp_power9 to ifunc list.
7500         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7502 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7504         * bits/fp-logb.h: New file.
7505         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7506         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7507         * sysdeps/x86/bits/fp-logb.h: Likewise.
7508         * math/Makefile (headers): Add bits/fp-logb.h.
7509         * math/math.h: Include <bits/fp-logb.h>.
7510         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7511         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7512         * bits/mathdef.h (FP_ILOGB0): Remove.
7513         (FP_ILOGBNAN): Likewise.
7514         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7515         (FP_ILOGBNAN): Likewise.
7516         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7517         (FP_ILOGBNAN): Likewise.
7518         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7519         (FP_ILOGBNAN): Likewise.
7520         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7521         (FP_ILOGBNAN): Likewise.
7522         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7523         (FP_ILOGBNAN): Likewise.
7524         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7525         (FP_ILOGBNAN): Likewise.
7526         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7527         (FP_ILOGBNAN): Likewise.
7528         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7529         (FP_ILOGBNAN): Likewise.
7530         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7531         (FP_ILOGBNAN): Likewise.
7533         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7534         time module.
7535         (Context.__init__): Initialize self.logsdir_old.
7536         (Context.run_builds): Handle bot action.
7537         (Context.bot_cycle): Copy logs directory before running builds.
7538         (Context.bot_run_self): Take argument for whether to check
7539         subprocess result.  Flush stdout before running subprocess.
7540         (Context.bot): New function.
7541         (get_parser): Allow bot action.
7543 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7545         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7546         Import email.mime.text, email.utils and smtplib modules.
7547         (Context.__init__): Initialize self.bot_config_json.
7548         (Context.run_builds): Handle bot-cycle action.
7549         (Context.load_bot_config_json): New function.
7550         (Context.part_build_old): Likewise.
7551         (Context.bot_cycle): Likewise.
7552         (Context.bot_build_mail): Likewise.
7553         (Context.bot_run_self): Likewise.
7554         (get_parser): Allow bot-cycle action.
7556 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7559         Remove redirection to __stpcpy_ppc.
7561 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7563         Remove __libc_memalign from ld.so because it is unused.
7564         * elf/dl-minimal.c: Update comment on the malloc implementation.
7565         (malloc): Renamed from __libc_memalign, replacing the original
7566         malloc implementation.  Replace the align parameter with
7567         MALLOC_ALIGNMENT.
7568         * elf/Versions (ld): Update comment and remove __libc_memalign.
7569         * sysdeps/nacl/ld.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7572         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7573         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7574         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7575         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7579         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7580         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7581         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7582         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7593         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7594         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7595         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7596         * sysdeps/generic/localplt.data (ld.so): Likewise.
7597         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7598         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7599         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7600         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7601         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7602         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7603         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7604         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7605         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7607         (ld.so): Likewise.
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7609         (ld.so): Likewise.
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7611         Likewise.
7612         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7613         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7614         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7615         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7616         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7618 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7620         [BZ #16628]
7621         Implement _dl_catch_error, _dl_signal_error in libc.so.
7622         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7623         (catch_hook): Define as thread-local or regular variable,
7624         depending on DL_ERROR_BOOTSTRAP.
7625         (CATCH_HOOK): Remove.
7626         (dl_signal_error, _dl_catch_error): Use
7627         catch_hook.  Add hidden definition for libc.
7628         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7629         for DL_ERROR_BOOTSTRAP only.
7630         * elf/dl-error.c: New file.
7631         * elf/dl-error-minimal.c: Likewise.
7632         * elf/tst-latepthread.c: Likewise.
7633         * elf/tst-latepthreadmod.c: Likewise.
7634         * elf/Makefile (routines): Add dl-error.
7635         (dl-routines): Remove dl-error.
7636         (rtld-routines): Add dl-error-minimal.
7637         [build-shared] (tests): Add tst-latepthread.
7638         (module-names): Add tst-latepthreadmod.
7639         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7640         symbol.
7641         (tst-latepthreadmod.so): Link against libpthread.
7642         (tst-latepthread): Link against libdbl.
7643         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7644         _dl_catch_error.
7645         [ld] (GLIBC_PRIVATE): Likewise.
7646         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7647         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7648         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7649         directly.
7650         * elf/dl-tsd.c: Remove file.
7651         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7652         _dl_catch_error, _dl_signal_error.
7653         (_dl_initial_error_catch_tsd): Remove definition.
7654         (do_preload): Remove initialization of dl_error_catch_tsd.
7655         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7656         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7657         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7658         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7659         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7660         set dl_error_catch_tsd.
7661         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7662         _dl_error_catch_tsd member.
7663         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7664         members.
7665         (_dl_initial_error_catch_tsd): Remove declaration.
7666         (_dl_dprintf): Provide definition for use outside of ld.so.
7667         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7668         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7669         prototype for libc.
7670         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7671         _dl_catch_error.
7672         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7673         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7674         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7675         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7676         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7677         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7678         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7679         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7680         Likewise.
7681         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7683         (ld.so): Likewise.
7684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7685         (ld.so): Likewise.
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7687         Likewise.
7688         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7689         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7690         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7691         Likewise.
7692         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7693         Likewise.
7694         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7696 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7698         [BZ #4099]
7699         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7700         _IO_BUFSIZ (8192).
7702 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7704         * PROJECTS: Remove file.
7706 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7708         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7710 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7711             Steve Ellcey  <sellcey@caviumnetworks.com>
7713         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7714         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7715         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7716         fxstatat.
7717         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7718         lxstat.
7719         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7720         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7721         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7722         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7723         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7724         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7725         __xstat.
7727 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7729         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7730         Define.
7731         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7732         definition.
7734 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7736         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7737         version and turn into strong alias.  Remove compat symbol.
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7740         (__longjmp): Remove.
7742 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7744         * bits/fp-fast.h: New file.
7745         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7746         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7747         * math/Makefile (headers): Add bits/fp-fast.h.
7748         * math/math.h: Include <bits/fp-fast.h>.
7749         * bits/mathdef.h (FP_FAST_FMA): Remove.
7750         (FP_FAST_FMAF): Likewise.
7751         (FP_FAST_FMAL): Likewise.
7752         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7753         (FP_FAST_FMAF): Likewise.
7754         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7755         (FP_FAST_FMAF): Likewise.
7756         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7757         (FP_FAST_FMAF): Likewise.
7758         (FP_FAST_FMAL): Likewise.
7759         * sysdeps/arm/bits/mathdef.h: Remove file.
7760         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7761         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7762         * sysdeps/tile/bits/mathdef.h: Likewise.
7764 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7766         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7767         * math/w_ilogb.c: Remove.
7768         * math/w_ilogbf.c: Likewise.
7769         * math/w_ilogbl.c: Likewise.
7770         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7771         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7772         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7773         (libm-calls): Remove w_ilogbF.
7774         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7775         (LDOUBLE_ilogbl_libm_version): New macro.
7777         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7779         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7780         [!__STRICT_ANSI__ && !__cplusplus].
7782 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7784         [BZ #20750]
7785         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7786         of PIC.
7788 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7789             Yury Norov  <ynorov@caviumnetworks.com>
7790             Steve Ellcey  <sellcey@caviumnetworks.com>
7792         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7793         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7794         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7795         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7796         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7797         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7798         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7799         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7800         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7801         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7802         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7803         to get correct reg name for ILP32.
7804         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7805         (RELA_SIZE): New Macro.
7806         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7807         to support ILP32.
7808         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7809         cast for ILP32 mode.
7810         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7811         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7812         * sysdeps/aarch64/memset.S (__memset): Ditto.
7813         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7814         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7815         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7816         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7817         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7818         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7819         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7820         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7821         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7822         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7823         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7824         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7825         change PTR_MANGLE call to use register numbers instead of names.
7826         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7827         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7828         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7829         * sysdeps/aarch64/start.S (_start): Ditto.
7830         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7831         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7832         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7833         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7834         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7835         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7836         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7837         Make defined values dependent on __ILP32__.
7838         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7839         (sem_t): Change __align type.
7840         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7841         PTR_SIZE): New Macros.
7842         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7843         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7844         Set when in ILP32 mode.
7845         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7846         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7847         Set elf flags for ILP32.
7848         (add_system_dir): Set ILP32 library directories.
7849         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7850         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7851         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7852         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7853         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7854         New Macros.
7855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7857 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7859         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7860         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7861         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7863 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7865         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7866         <asm/cachectl.h>.
7868 2016-11-27  Zack Weinberg  <zackw@panix.com>
7870         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7871         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7873 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7875         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7876         error_t to fix usage in C++ programs.
7878 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7880         * scripts/build-many-glibcs.py: Import datetime module.
7881         (Context.__init__): Load JSON build state.  Initialize list of
7882         status logs.
7883         (Context.run_builds): Update saved build state.
7884         (Context.add_makefile_cmdlist): Update list of status logs.
7885         (Context.load_build_state_json): New function.
7886         (Context.store_build_state_json): Likewise.
7887         (Context.clear_last_build_state): Likewise.
7888         (Context.update_build_state): Likewise.
7889         (CommandList.status_logs): Likewise.
7891 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7893         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7894         script being executed.
7895         (Context.get_script_text): New function.
7896         (Context.exec_self): Likewise.
7897         (Context.checkout): Re-exec script if changed by checkout process.
7899 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7901         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7902         (setpayloadsig): New declaration.
7903         * math/Versions (setpayloadsig): New libm symbol at version
7904         GLIBC_2.25.
7905         (setpayloadsigf): Likewise.
7906         (setpayloadsigl): Likewise.
7907         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7908         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7909         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7910         (setpayloadsig_test_data): New array.
7911         (setpayloadsig_test): New function.
7912         (main): Call setpayloadsig_test.
7913         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7914         setpayloadsigf and setpayloadsigl.
7915         * manual/libm-err-tab.pl: Update comment on interfaces without
7916         ulps tabulated.
7917         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7918         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7919         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7920         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7921         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7922         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7923         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7924         setpayloadsig.
7925         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7926         * sysdeps/nacl/libm.abilist: Update.
7927         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7928         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7929         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7930         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7931         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7932         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7933         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7934         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7935         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7936         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7937         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7938         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7942         Likewise.
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7948         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7949         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7950         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7951         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7953         Likewise.
7954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7955         Likewise.
7956         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7957         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7958         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7960         * scripts/build-many-glibcs.py: Import json module.
7961         (Context.__init__): Take replace_sources argument.  Load
7962         versions.json.
7963         (Context.load_versions_json): New function.
7964         (Context.store_json): Likewise.
7965         (Context.store_versions_json): Likewise.
7966         (Context.set_component_version): Likewise.
7967         (Context.checkout): Update versions.json.  Check for and handle
7968         changes of version.  Prefer previously explicitly specified
7969         version to default version.
7970         (Context.checkout_vcs): Return a revision identifier.
7971         (Context.git_checkout): Likewise.
7972         (Context.gcc_checkout): Likewise.
7973         (get_parser): Add --replace-sources option.
7974         (main): Pass replace_sources argument to Context call.
7976 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7978         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7979         * nptl/allocatestack.c (allocate_stack): Likewise.
7980         (__reclaim_stacks): Likewise.
7981         (setxid_signal_thread): Obtain pid through syscall.
7982         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7983         (sighandle_setxid): Likewise.
7984         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7985         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7986         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7987         Likewise.
7988         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7989         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7990         comment.
7991         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7992         * nptl/descr.h (struct pthread): Change comment about pid value.
7993         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7994         pid assert.
7995         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7996         Do not set pid value.
7997         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7998         pid cache check.
7999         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8000         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8001         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8002         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8003         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8004         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8005         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8006         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8007         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8008         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8009         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8010         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8011         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8012         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8013         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8014         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8015         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8016         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8017         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8018         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8019         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8020         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8021         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8022         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8023         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8026         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8027         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8028         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8029         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8030         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8031         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8032         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8033         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8034         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8035         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8036         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8037         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8038         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8039         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8040         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8041         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8044         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8045         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8046         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8047         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8048         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8049         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8050         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8051         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8052         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8053         struct access.
8054         (clone_test): Remove function.
8055         (do_test): Rewrite to take in consideration pid is not cached anymore.
8057 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8059         * bits/flt-eval-method.h: New file.
8060         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8061         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8062         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8063         * math/Makefile (headers): Add bits/flt-eval-method.h.
8064         * math/math.h: Include <bits/flt-eval-method.h>.
8065         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8066         [__USE_ISOC99] (double_t): Likewise.
8067         * bits/mathdef.h (float_t): Remove.
8068         (double_t): Likewise.
8069         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8070         (double_t): Likewise.
8071         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8072         (double_t): Likewise.
8073         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8074         (double_t): Likewise.
8075         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8076         (double_t): Likewise.
8077         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8078         (double_t): Likewise.
8079         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8080         (double_t): Likewise.
8081         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8082         (double_t): Likewise.
8083         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8084         (double_t): Likewise.
8085         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8086         (double_t): Likewise.
8087         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8088         (double_t): Likewise.
8089         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8090         (double_t): Likewise.
8091         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8092         (double_t): Likewise.
8093         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8094         (double_t): Likewise.
8096 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8098         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8099         instead of PIC.
8101 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8103         [BZ #20859]
8104         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8105         (-0x7fffffff) instead of 0x80000001.
8106         * math/test-fp-ilogb-constants.c: New file.
8107         * math/Makefile (tests): Add test-fp-ilogb-constants.
8109 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8111         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8112         (_init): Use it in place of hardcoded R_MIPS_JALR.
8113         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8114         (_init): Use it in place of hardcoded R_MIPS_JALR.
8115         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8116         (_init): Use it in place of hardcoded R_MIPS_JALR.
8118 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8120         [BZ #20787]
8121         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8122         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8123         (double_t): Do not define to double if [__x86_64__] when
8124         __FLT_EVAL_METHOD__ is nonzero.
8125         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8126         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8127         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8128         test-flt-eval-method-387 and test-flt-eval-method-sse.
8129         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8130         variable.
8131         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8133 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8135         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8136         use of -fno-isolate-erroneous-paths options for tilepro.
8138 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8140         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8141         structure initialization is no longer needed.
8143 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8145         [BZ #20855]
8146         * bits/mathdef.h (float_t): Define to float.
8147         * math/test-flt-eval-method.c: New file.
8148         * math/Makefile (tests): Add test-flt-eval-method.
8149         (CFLAGS-test-flt-eval-method.c): New variable.
8151 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8153         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8154         and __fstatfs.  Make them aliases of __fstatfs64 if
8155         STATFS_IS_STATFS64 is set to non-zero.
8156         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8157         and __statfs64.
8158         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8159         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8160         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8161         for __statfs and statfs.
8162         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8163         to 0.
8164         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8165         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8166         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8167         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8168         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8169         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8172         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8173         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8174         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8175         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8177 2016-11-22  Andreas Schwab  <schwab@suse.de>
8179         * misc/mkstemp.c: Include <fcntl.h>.
8180         * misc/mkstemps.c: Likewise.
8181         * misc/mkostemp.c: Likewise.
8182         * misc/mkostemps.c: Likewise.
8184 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8186         [BZ #20847]
8187         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8188         array bounds.
8189         (__execvpe): Likewise.
8191 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8193         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8194         -fno-isolate-erroneous-paths options for tilepro.
8196 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8198         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8199         to 0 when in 32 bit mode.
8200         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8201         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8202         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8203         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8205         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8206         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8207         XSTAT_IS_XSTAT64 test.
8208         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8209         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8210         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8211         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8212         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8213         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8214         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8215         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8216         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8217         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8218         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8220 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8222         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8223         (setpayload): New declaration.
8224         * math/Versions (setpayload): New libm symbol at version
8225         GLIBC_2.25.
8226         (setpayloadf): Likewise.
8227         (setpayloadl): Likewise.
8228         * math/Makefile (libm-calls): Add s_setpayloadF.
8229         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8230         test_Ff_b1_data.
8231         (RUN_TEST_Ff_b1): New macro.
8232         (RUN_TEST_LOOP_Ff_b1): Likewise.
8233         (canonicalize_test_data): Update type.
8234         (setpayload_test_data): New array.
8235         (setpayload_test): New function.
8236         (main): Call setpayload_test.
8237         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8238         setpayloadf and setpayloadl.
8239         * manual/libm-err-tab.pl: Update comment on interfaces without
8240         ulps tabulated.
8241         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8242         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8243         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8244         Likewise.
8245         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8246         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8247         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8248         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8249         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8250         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8251         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8252         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8253         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8254         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8255         setpayload.
8256         (CFLAGS-nldbl-setpayload.c): New variable.
8257         * sysdeps/nacl/libm.abilist: Update.
8258         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8260         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8261         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8263         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8264         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8265         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8266         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8267         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8268         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8269         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8271         Likewise.
8272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8273         Likewise.
8274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8275         Likewise.
8276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8277         Likewise.
8278         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8279         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8280         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8281         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8282         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8284         Likewise.
8285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8288         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8289         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8291 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8293         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8294         * include/unistd.h: Extend comment about __access_noerrno return
8295         semantics.
8296         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8297         (access_common): Correct typo for EACCES.
8299 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8301         * sysdeps/tile/math-tests.h: New file.
8303         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8304         (__old_set_dataplane): Rename from set_dataplane and make a
8305         compatibility symbol.
8306         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8307         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8308         sys/dataplane.h.
8310 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8312         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8313         script quote words in command output to log suitably for input to
8314         the shell.
8316 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8317             Maciej W. Rozycki  <macro@imgtec.com>
8319         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8320         `.Lno_weak_fn' label.
8321         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8322         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8324 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8325             Yury Norov  <ynorov@caviumnetworks.com>
8327         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8328         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8329         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8330         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8331         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8332         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8333         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8334         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8335         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8336         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8337         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8338         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8339         (sysdep_routines): Remove oldgetrlimit64.
8340         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8341         (sysdep_routines): Likewise.
8342         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8343         (sysdep_routines): Likewise.
8344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8345         [$(subdir) = resource] (sysdep_routines): Likewise.
8346         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8347         [$(subdir) = resource] (sysdep_routines): Likewise.
8348         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8349         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8350         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8351         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8352         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8353         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8354         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8355         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8356         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8357         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8358         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8359         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8360         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8361         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8362         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8363         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8364         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8365         setrlimit and getrlimit.
8366         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8367         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8368         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8371         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8372         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8373         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8374         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8375         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8376         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8377         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8378         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8379         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8380         (__old_getrlimit64): Add compatibility symbol.
8381         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8383 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8385         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8386         newly built gmp, mpfr and mpc.
8388         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8390 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8392         * conform/Makefile (linknamespace-libs): Rename to
8393         linknamespace-libs-thr.
8394         (linknamespace-libs-posix): New variable.
8395         (linknamespace-libs-xsi): Likewise.
8396         (linknamespace-libs-XPG3): Include libcrypt.a.
8397         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8398         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8399         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8400         (linknamespace-libs-XOPEN2K): Likewise.
8401         (linknamespace-libs-XOPEN2K8): Likewise.
8402         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8404         [BZ #20829]
8405         * stdio-common/Versions (__snprintf): Add to version
8406         GLIBC_PRIVATE.
8407         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8408         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8409         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8410         of snprintf.
8411         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8413 2016-11-16  Zack Weinberg  <zackw@panix.com>
8415         * string/string.h: Remove obsolete comment stating that
8416         strcoll_l and strxfrm_l have not yet been standardized.
8418 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8420         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8421         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8422         __access_noerrno.
8423         * io/access.c (__access_noerrno): New function.
8424         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8425         (hurd_fail_seterrno): Likewise.
8426         (access_common): Likewise.
8427         (__access_noerrno): Likewise.
8428         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8429         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8430         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8431         macro.
8433 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8435         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8436         Only declare fpregs if [__SH_FPU_ANY__].
8438 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8440         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8441         Make code unconditional.
8442         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8444 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8446         * manual/sysinfo.texi (S_APPEND): Delete.
8447         (S_IMMUTABLE): Likewise.
8449 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8450             Magnus Granberg  <zorry@gentoo.org>
8451             Mike Frysinger  <vapier@gentoo.org>
8453         [BZ #20662]
8454         * configure.ac (libc_cv_predef_stack_protector): Also check for
8455         __stack_chk_fail_local symbols.
8456         * configure: Regenerated.
8458 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8460         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8461         (libc_hidden_def): Remove redefinition.
8462         (__sigsetjmp): Add hidden definition.
8463         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8464         (libc_hidden_def): Remove redefinition.
8465         (__sigsetjmp): Add hidden definition.
8467 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8469         * scripts/build-many-glibcs.py (os.path): Do not import.
8470         (Context): Inherit explicitly from object.  Remove blank line
8471         between class and docstring.
8472         (Config): Likewise.
8473         (Glibc): Likewise.
8474         (Command): Likewise.
8475         (CommandList): Likewise.
8476         (Context.write_files): Store chmod mode in a variable.
8478         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8479         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8480         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8482 2016-11-14  Zack Weinberg  <zackw@panix.com>
8484         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8485         creating or re-creating it.
8487         * string/bits/string2.h: Fix typo in comment.
8489 2016-11-14  Zack Weinberg  <zackw@panix.com>
8491         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8492         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8493         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8494         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8495         of redirected function names.
8497         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8498         as well.  Document that MESSAGE must be a single string literal.
8500 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8502         * scripts/build-many-glibcs.py: New file.
8504         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8505         (do_test): Disable -Wmaybe-uninitialized around uses of
8506         except_mask.
8508         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8510 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8512         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8513         (atomic_store_release): Provide tilepro-specific implementations.
8515 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8517         * math/math.h (__MATH_TG): New macro.
8518         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8519         [__USE_ISOC99] (signbit): Likewise.
8520         [__USE_ISOC99] (isfinite): Likewise.
8521         [__USE_ISOC99] (isnan): Likewise.
8522         [__USE_ISOC99] (isinf): Likewise.
8523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8526         __MATH_TG and __MATH_EVAL_FMT2.
8527         * sysdeps/generic/math_private.h (fabs_tg): Define using
8528         __MATH_TG.
8529         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8530         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8531         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8532         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8533         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8534         macro.
8535         (__iscanonical): Likewise.
8536         (iscanonical): Define using __MATH_TG.
8538 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8540         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8541         guards.
8543         * sysdeps/unix/sysv/linux/access.c: New file.
8544         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8546 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8548         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8549         and __WORDSIZE32_PTRDIFF_LONG.
8551 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8553         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8555 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8557         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8558         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8559         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8560         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8561         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8563         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8564         * sysdeps/unix/sysv/linux/truncate.c: New file.
8565         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8566         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8567         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8568         Remove.
8569         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8570         Likewise.
8572         * posix/tst-truncate-common.c: New file.
8573         * posix/tst-truncate.c: Use tst-truncate-common.c.
8574         * posix/tst-truncate64.c: Likewise and add LFS tests.
8575         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8576         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8577         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8578         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8579         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8581         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8582         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8583         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8584         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8585         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8586         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8587         Remove.
8588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8589         Likewise.
8591 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8593         [BZ #20790]
8594         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8595         to MAXLINESIZE.
8596         * sunrpc/bug20790.x: New file.
8597         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8598         variable.
8599         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8600         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8602         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8604         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8606         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8607         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8608         calloc, realloc, free, memalign and __libc_memalign rather than
8609         making them optional.
8611         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8612         for libc.so.
8614 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8616         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8617         ptw-lseek64.
8618         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8619         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8620         Likewise.
8621         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8622         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8623         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8624         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8625         * sysdeps/unix/sysv/linux/lseek.c: New file.
8626         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8627         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8628         __libc_lseek64 from auto-generation.
8629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8630         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8632 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8634         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8635         * nptl/tst-cleanup1.c (do_test): Likewise.
8636         * nptl/tst-cleanup3.c (do_test): Likewise.
8637         * nptl/tst-key1.c (do_test): Likewise.
8638         * nptl/tst-key2.c (tf, do_test): Likewise.
8639         * nptl/tst-key3.c (tf, do_test): Likewise.
8640         * nptl/tst-stdio1.c (do_test): Likewise.
8641         * nptl/tst-stdio2.c (do_test): Likewise.
8643         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8644         * nptl/tst-kill6.c (handler): Likewise.
8645         * nptl/tst-tls2.c (CB): Likewise.
8646         * nptl/tst-tls3.c (CB): Likewise.
8648 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8650         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8652 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8653             Steve Ellcey  <sellcey@caviumnetworks.com>
8655         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8656           __ASSUME_ST_INO_64_BIT as 0
8657         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8658         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8659           over the code where __ASSUME_ST_INO_64_BIT is used.
8660         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8661         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8662         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8664 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8666         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8667         Document ABI exposure of the __kind offset.
8668         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8669         Mention reason for the __kind offset exposure in the ABI.
8670         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8671         Likewise.
8672         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8673         Likewise.
8674         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8675         Likewise.
8676         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8677         (struct __pthread_mutex_s): Likewise.
8678         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8679         Likewise.
8680         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8681         Likewise.
8682         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8683         Likewise.
8684         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8685         Likewise.
8686         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8687         Likewise.
8688         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8689         Likewise.
8690         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8691         (struct __pthread_mutex_s): Likewise.
8692         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8693         (struct __pthread_mutex_s): Likewise.
8694         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8695         Likewise.
8697 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8699         * test-skeleton.c: Document do_test usage.
8701 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8703         * iconv/gconv.h (__gconv_info): Define __data element using a
8704         zero-length array.
8706 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8708         * math/test-tgmath2.c: Split up test function.
8710 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8712         * Rules (tests-expected): New variable, depending on
8713         $(run-built-tests).
8714         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8715         $(tests).
8717         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8718         $(tests-unsupported).
8720 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8722         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8723         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8725 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8727         [BZ #20768]
8728         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8729         __fegetenv instead of fegetenv.
8731         [BZ #14139]
8732         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8733         (find_files): Obtain platform name from libm-test-ulps-name and
8734         store in %pplatforms.
8735         (canonicalize_platform): Remove.
8736         (print_platforms): Use $pplatforms directly.
8737         (by_platforms): Do not allow for platforms missing from
8738         %pplatforms.
8739         * sysdeps/aarch64/libm-test-ulps-name: New file.
8740         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8741         * sysdeps/arm/libm-test-ulps-name: Likewise.
8742         * sysdeps/generic/libm-test-ulps-name: Likewise.
8743         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8744         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8745         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8746         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8747         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8748         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8749         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8750         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8751         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8752         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8753         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8754         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8755         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8756         * sysdeps/sh/libm-test-ulps-name: Likewise.
8757         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8758         * sysdeps/tile/libm-test-ulps-name: Likewise.
8759         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8761         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8763         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8764         (test-xfail-check-execstack): New variable.
8766         * sysdeps/mips/localplt.data: New file.
8768 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8769             Steve Ellcey  <sellcey@caviumnetworks.com>
8771         * bits/wordsize.h: Add documentation.
8772         * sysdeps/aarch64/bits/wordsize.h : New file
8773         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8774         definitions.
8775         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8776         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8777         with #if instead of #ifdef.
8778         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8779         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8780         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8781         Add or change defines.
8782         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8783         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8784         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8785         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8786         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8787         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8788         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8789         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8790         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8791         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8792         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8793         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8794         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8795         * sysdeps/x86/bits/wordsize.h: Likewise.
8797 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8798             Kevin Petit  <kevin.petit@arm.com>
8800         * sysdeps/aarch64/memchr.S (__memchr): New file.
8802 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8804         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8806 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8808         [BZ #19398]
8809         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8810         $(linknamespace-symlists-tests).
8812 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8814         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8816 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8817             Carlos O'Donell  <carlos@redhat.com>
8819         [Bug #20729]
8820         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8821         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8822         for -Os related change.
8824 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8826         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8828 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8830         [BZ #19673]
8831         * manual/math.texi (Exponents and Logarithms): Correct description
8832         of clog10.
8834 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8836         [Bz #20729]
8837         * locale/weight.h: Include libc-internal.h.
8838         * locale/weightwc.h: Likewise.
8839         * nptl/nptl_dbP.h: Likewise.
8841 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8843         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8844         when it is MACH_PORT_NULL.
8846 2016-10-31  Andreas Schwab  <schwab@suse.de>
8848         [BZ #20707]
8849         * posix/glob.c (glob): Initialize pglob before checking for
8850         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8851         valid brace expression despite GLOB_BRACE.
8852         * posix/globtest.sh: Test it.
8854 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8856         [BZ #20729]
8857         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8858         Define.
8859         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8860         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8861         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8862         for seq2.back_us and seq1.back_us only for -Os compiles.
8863         * locale/weightwc.h (findix): Likewise.
8864         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8865         DB_GET_FIELD_ADDRESS only for -Os compiles.
8866         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8867         for slen only for -Os compiles.
8868         * string/strcoll_l.c (get_next_seq): Ignore
8869         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8870         for -Os compiles.
8872         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8873         * include/crypt.h: New file.
8875 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8877         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8878         from test-skeleton.c.
8879         (statclass): Replace calls to write with calls to write_message.
8881 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8883         * math/math.h
8884         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8885         New macro.
8886         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8887         Likewise.
8888         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8889         Likewise.
8890         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8891         SNANL.
8892         * math/test-double.h (snan_value_MACRO): New macro.
8893         * math/test-float.h (snan_value_MACRO): Likewise.
8894         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8895         * math/libm-test.inc (issignaling_test_data): Add tests of
8896         snan_value_MACRO.
8898 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8900         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8901         behavior when eliding a lock not held by the current thread.
8902         * sysdeps/powerpc/nptl/elide.h: Likewise.
8904 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8906         [BZ #20728]
8907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8908         branch to _exit() by a function call.
8910 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8912         * malloc/malloc.c: Update chunk layout comments.
8913         (chunk_main_arena): Update comment.
8915 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8917         * crypt/sha256.c, crypt/sha256-block.c,
8918         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8919         sha256_process_block to __sha256_process_block.
8920         * crypt/sha512.c, crypt/sha512-block.c,
8921         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8922         sha512_process_block to __sha512_process_block.
8924 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8926         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8928         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8930 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8932         [BZ #20019]
8933         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8934         definition in unrelocated shared library.
8935         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8937 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8939         [BZ #20729]
8940         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8941         * sysdeps/unix/sysv/linux/i386/Makefile
8942         (uses-6-syscall-arguments): Define.
8943         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8944         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8945         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8946         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8947         Likewise.
8948         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8949         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8950         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8951         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8952         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8953         (CFLAGS-fallocate64.os): Likewise.
8954         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8955         (CFLAGS-pthread_rwlock_timedrdlock.os)
8956         (CFLAGS-pthread_rwlock_timedwrlock.o)
8957         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8958         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8959         (CFLAGS-sem_timedwait.os): Likewise.
8961 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8963         * elf/tst-linkall-static.c: New file.
8964         * elf/Makefile (tests-static): Add tst-linkall-static.
8965         (tst-linkall-static): Link against static libraries.
8967 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8969         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8970         mmaped chunks.
8972 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8974         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8975         members to mchunk_prev_size, mchunk_size.
8976         (chunk_main_arena): Reverse sense and rename from
8977         chunk_non_main_arena.
8978         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8979         mchunk_size instead of size.
8980         (set_non_main_arena): Define.
8981         (chunksize): Use chunksize_nomask instead of direct member access.
8982         (chunksize_nomask): Define.
8983         (next_chunk): Use chunksize instead of direct member access.
8984         (prev_size, set_prev_size): Define.
8985         (prev_chunk): Use prev_size instead of direct member access.
8986         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8987         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8988         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8989         (mchunk_prev_size, mchunk_size): Poison tokens.
8990         (unlink): Use chunksize_nomask, prev_size accessors.
8991         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8992         (do_check_free_chunk): Use prev_size accessor.
8993         (sysmalloc): Use set_prev_size, set_head accessors.
8994         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8995         (__libc_free): Use chunksize_nomask accessor.
8996         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8997         chunk_main_arena accessors.
8998         (_int_free): Use chunksize_nomask, prev_size accessors.
8999         (malloc_consolidate): Use chunksize, prev_size accessors.
9000         (_int_realloc): Use chunksize_nomask accessor.
9001         (_int_memalign): Use set_prev_size accessor.
9002         (__malloc_info): Use chunksize_nomask accessor.
9003         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9004         accessors.
9005         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9006         (heap_trim): Use chunksize_nomask, prev_size accessors.
9008 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9010         [BZ #19380]
9011         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9012         for inexact results.
9013         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9014         of inexact result where mpfr_subnormalize is the only inexact
9015         step.
9016         * stdlib/tst-strtod-round-data.h: Regenerated.
9017         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9018         Define to 0.
9019         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9021 2016-10-27  David S. Miller  <davem@davemloft.net>
9023         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9025 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9027         * malloc/malloc.c (do_set_mallopt_check): New function.
9028         (do_set_mmap_threshold): Likewise.
9029         (do_set_mmaps_max): Likewise.
9030         (do_set_top_pad): Likewise.
9031         (do_set_perturb_byte): Likewise.
9032         (do_set_trim_threshold): Likewise.
9033         (do_set_arena_max): Likewise.
9034         (do_set_arena_test): Likewise.
9035         (__libc_mallopt): Use them.
9037 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9039         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9040         (canonicalize): New declaration.
9041         * math/Versions (canonicalize): New libm symbol at version
9042         GLIBC_2.25.
9043         (canonicalizef): Likewise.
9044         (canonicalizel): Likewise.
9045         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9046         * math/s_canonicalize_template.c: New file.
9047         * math/libm-test.inc: Update comment on functions tested and
9048         testing of NaN payloads.
9049         (TEST_NAN_PAYLOAD): New macro.
9050         (NO_TEST_INLINE): Update value.
9051         (XFAIL_TEST): Likewise.
9052         (ERRNO_UNCHANGED): Likewise.
9053         (ERRNO_EDOM): Likewise.
9054         (ERRNO_ERANGE): Likewise.
9055         (IGNORE_RESULT): Likewise.
9056         (NON_FINITE): Likewise.
9057         (TEST_SNAN): Likewise.
9058         (NO_TEST_MATHVEC): Likewise.
9059         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9060         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9061         (struct test_Ffp_b1_data): New type.
9062         (RUN_TEST_Ffp_b1): New macro.
9063         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9064         (canonicalize_test_data): New array.
9065         (canonicalize_test): New function.
9066         (main): Call canonicalize_test.
9067         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9068         canonicalizef and canonicalizel.
9069         * manual/libm-err-tab.pl: Update comment on interfaces without
9070         ulps tabulated.
9071         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9072         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9073         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9074         canonicalize.
9075         (CFLAGS-nldbl-canonicalize.c): New variable.
9076         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9077         to ...
9078         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9079         ... here.
9080         (do_test): Also test canonicalizel.
9081         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9082         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9083         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9084         file.
9085         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9086         Use libm_hidden_def.
9087         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9088         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9089         (do_test): Also test canonicalizel.
9090         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9091         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9092         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9093         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9094         libm_hidden_def.
9095         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9096         macro.
9097         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9098         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9099         * sysdeps/nacl/libm.abilist: Update.
9100         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9101         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9102         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9103         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9104         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9105         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9106         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9107         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9108         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9109         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9110         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9111         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9113         Likewise.
9114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9115         Likewise.
9116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9117         Likewise.
9118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9119         Likewise.
9120         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9121         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9122         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9123         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9124         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9126         Likewise.
9127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9128         Likewise.
9129         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9130         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9131         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9133         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9134         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9135         getpayload.
9136         (CFLAGS-nldbl-getpayload.c): New variable.
9138 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9140         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9141         integer from the format string.
9143 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9145         [BZ #19473]
9146         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9147         declarations.
9148         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9149         weak aliases.
9150         * malloc/hooks.c (__malloc_get_state): Remove definition.
9151         (malloc_get_state): New stub implementation as
9152         compatibility symbol.
9153         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9154         compat symbol.
9155         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9156         malloc_set_state.
9157         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9159 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9161         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9162         (names): Turn into concatenation of strings.
9163         (gconv_init): Adapt iteration over names.
9165 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9167         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9168         make const.
9169         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9170         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9171         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9172         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9173         character in sbconv.
9174         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9175         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9176         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9178 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9180         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9182         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9183         (M_TRIM_THRESHOLD): Likewise.
9185         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9186         (M_ARENA_MAX): Likewise.
9187         * malloc/malloc.c: Remove obsolete comment.
9189         * manual/memory.texi: Add environment variable alternatives to
9190         setting mallopt parameters.
9192 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9194         * include/atomic.h
9195         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9196         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9198 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9200         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9201         * stdlib/tst-strfrom.h: New file.
9202         * stdlib/tst-strfrom.c: New file.
9203         * stdlib/tst-strfrom-locale.c: New file.
9205         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9206         * stdlib/bug-strtod2.c: Likewise.
9207         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9208         * stdlib/tst-strtod6.c: Likewise.
9209         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9211 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9213         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9214         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9215         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9216         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9217         * stdlib/stdlib.h (strfromd): New declaration.
9218         (strfromf): Likewise.
9219         (strfroml): Likewise.
9220         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9221         strfrom.
9222         * stdlib/strfromd.c: New file.
9223         * stdlib/strfromf.c: Likewise.
9224         * stdlib/strfroml.c: Likewise.
9225         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9226         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9227         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9228         * sysdeps/arm/nacl/libc.abilist: Update.
9229         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9240         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9241         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9242         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9247         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9248         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9249         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9254         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9255         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9256         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9258 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9260         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9261         instead of cmpli.
9262         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9263         instead of cmpli.
9265 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9267         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9268         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9269         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9270         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9271         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9272         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9274 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9276         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9277         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9278         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9279         SYSCALL_LL64_PRW.
9280         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9281         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9282         __ASSUME_PRW_DUMMY_ARG.
9283         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9284         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9285         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9286         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9287         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9288         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9290 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9292         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9294 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9296         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9297         "C++", to override a potential extern "C" directive around the
9298         header file inclusion.
9300 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9302         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9304 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9306         * sysdeps/powerpc/fpu/fenv_private.h:
9307         (_FPU_MASK_ALL): Rename to...
9308         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9309         XE FPSCR bits.
9311         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9313         (_FPU_MASK_ROUNDING): Rename to...
9314         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9315         NI bits.
9317         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9318         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9319         bits and rounding bits.
9321         (__libc_feholdbits_ppc): New inline function to mask, set,
9322         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9323         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9324         (libc_feholdexcept_setround_ppc): Likewise.
9326         (__libc_femergeenv_ppc): New function to dynamically mask both
9327         old and new FP environments and merge.
9328         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9329         (libc_feresetround_ppc): Likewise.
9330         (libc_feupdateenv_test_ppc): Likewise.
9331         (libc_feupdateenv_ppc): Likewise.
9333         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9334         of ISA RN bits, and update macro names.
9335         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9336         effectively the same as the previously mentioned function.
9338         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9339         usage with fe_resetround_ppc.
9341         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9342         to be used.
9343         (libc_feholdexcept_setround_ctxf): Likewise.
9344         (libc_feholdexcept_setround_ctxl): Likewise.
9346 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9348         [BZ #20715]
9349         * math/math.h [__cplusplus] (iszero): Define as function template.
9350         * math/Makefile [CXX] (tests): Add test-math-iszero.
9351         (CFLAGS-test-math-iszero.cc): Set.
9352         * math/test-math-iszero.cc: New file.
9354 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9356         [BZ #20660]
9357         * sysdeps/arm/e_sqrt.c: New file.
9358         * sysdeps/arm/e_sqrtf.c: Likewise.
9360 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9362         [BZ #20718]
9363         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9364         not use floating-point comparisons to test sign.
9365         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9366         Likewise.
9368         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9369         (getpayload): New declaration.
9370         * math/Versions (getpayload): New libm symbol at version
9371         GLIBC_2.25.
9372         (getpayloadf): Likewise.
9373         (getpayloadl): Likewise.
9374         * math/Makefile (libm-calls): Add s_getpayloadF.
9375         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9376         (struct test_f_f_data): Add comment.
9377         (RUN_TEST_fp_f): New macro.
9378         (RUN_TEST_LOOP_fp_f): Likewise.
9379         (getpayload_test_data): New array.
9380         (getpayload_test): New function.
9381         (main): Call getpayload_test.
9382         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9383         descriptor.
9384         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9385         getpayloadf and getpayloadl.
9386         * manual/libm-err-tab.pl: Update comment on interfaces without
9387         ulps tabulated.
9388         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9389         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9390         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9391         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9392         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9393         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9394         * sysdeps/nacl/libm.abilist: Update.
9395         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9404         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9405         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9406         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9408         Likewise.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9410         Likewise.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9412         Likewise.
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9414         Likewise.
9415         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9421         Likewise.
9422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9423         Likewise.
9424         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9425         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9426         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9428 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9430         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9431         tst-fallocate{64}.
9432         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9433         on syscall return.
9435 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9437         [BZ #20689]
9438         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9439         usable.
9441 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9443         * sysdeps/generic/nan-high-order-bit.h: New file.
9444         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9445         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9446         * sysdeps/hppa/math_private.h: Remove file.
9447         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9448         not define here.
9449         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9450         <nan-high-order-bit.h>.
9451         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9452         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9453         <nan-high-order-bit.h>.
9454         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9455         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9456         <nan-high-order-bit.h>.
9457         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9458         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9459         <nan-high-order-bit.h>.
9460         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9461         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9462         <nan-high-order-bit.h>.
9463         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9464         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9465         <nan-high-order-bit.h>.
9466         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9467         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9468         <nan-high-order-bit.h>.
9469         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9470         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9471         <nan-high-order-bit.h>.
9472         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9473         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9474         <nan-high-order-bit.h>.
9475         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9476         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9477         <nan-high-order-bit.h>.
9478         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9479         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9480         <nan-high-order-bit.h>.
9481         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9482         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9483         <nan-high-order-bit.h>.
9484         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9485         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9486         <nan-high-order-bit.h>.
9487         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9488         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.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-128ibm/s_totalordermagl.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-96/s_issignalingl.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-96/s_totalorderl.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-96/s_totalordermagl.c: Include
9501         <nan-high-order-bit.h>.
9502         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9504 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9506         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9508 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9510         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9511         abort-instr.h.
9512         (EFAULT): Remove conditional define.
9513         (ENOSYS): Likewise.
9514         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9515         instead of conditional branch instructions.
9517 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9519         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9520         (totalordermag): New declaration.
9521         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9522         New macro.
9523         * math/Versions (totalordermag): New libm symbol at version
9524         GLIBC_2.25.
9525         (totalordermagf): Likewise.
9526         (totalordermagl): Likewise.
9527         * math/Makefile (libm-calls): Add s_totalordermagF.
9528         * math/libm-test.inc (totalordermag_test_data): New array.
9529         (totalordermag_test): New function.
9530         (main): Call totalordermag_test.
9531         * math/test-tgmath.c (NCALLS): Increase to 125.
9532         (F(compile_test)): Call totalordermag.
9533         (F(totalordermag)): New function.
9534         * manual/arith.texi (FP Comparison Functions): Document
9535         totalordermag, totalordermagf and totalordermagl.
9536         * manual/libm-err-tab.pl: Update comment on interfaces without
9537         ulps tabulated.
9538         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9539         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9540         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9541         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9542         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9543         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9544         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9545         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9546         totalordermag.
9547         (CFLAGS-nldbl-totalordermag.c): New variable.
9548         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9549         (do_test): Also test totalordermagl.
9550         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9551         Likewise.
9552         * sysdeps/nacl/libm.abilist: Update.
9553         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9555         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9556         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9558         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9561         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9562         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9563         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9564         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9566         Likewise.
9567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9568         Likewise.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9570         Likewise.
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9572         Likewise.
9573         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9574         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9577         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9579         Likewise.
9580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9581         Likewise.
9582         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9583         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9584         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9586 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9588         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9589         boolean.
9591 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9593         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9594         raising FE_INVALID with feraisexcept in case where part of
9595         argument is infinite, subtract that part of argument from itself.
9596         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9597         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9598         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9600 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9602         * math/libm-test.inc (totalorder_test_data): Add more tests.
9604 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9606         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9607         Undefine weak_alias and add a comment why mips64 require
9608         versioning.
9610 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9612         [BZ #20647]
9613         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9614         maximum CPUID level is less than 2.
9616 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9618         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9619         (totalorder): New declaration.
9620         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9621         New macro.
9622         * math/Versions (totalorder): New libm symbol at version
9623         GLIBC_2.25.
9624         (totalorderf): Likewise.
9625         (totalorderl): Likewise.
9626         * math/Makefile (libm-calls): Add s_totalorderF.
9627         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9628         string.
9629         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9630         (qnan_value_pl): Likewise.
9631         (snan_value_pl): Likewise.
9632         (qnan_value): Define using qnan_value_pl.
9633         (snan_value): Define using snan_value_pl.
9634         (struct test_ff_i_data): Add comment about which tests use this
9635         structure.
9636         (RUN_TEST_ff_b): New macro.
9637         (RUN_TEST_LOOP_ff_b): Likewise.
9638         (totalorder_test_data): New array.
9639         (totalorder_test): New function.
9640         (main): Call totalorder_test.
9641         * math/test-tgmath.c (NCALLS): Increase to 122.
9642         (F(compile_test)): Call totalorder.
9643         (F(totalorder)): New function.
9644         * manual/arith.texi (FP Comparison Functions): Document
9645         totalorder, totalorderf and totalorderl.
9646         * manual/libm-err-tab.pl: Update comment on interfaces without
9647         ulps tabulated.
9648         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9649         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9650         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9654         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9655         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9656         totalorder.
9657         (CFLAGS-nldbl-totalorder.c): New variable.
9658         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9659         file.
9660         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9661         Add test-totalorderl-ldbl-128ibm.
9662         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9663         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9664         test-totalorderl-ldbl-96.
9665         * sysdeps/nacl/libm.abilist: Update.
9666         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9667         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9668         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9669         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9671         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9672         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9674         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9675         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9676         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9677         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9679         Likewise.
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9681         Likewise.
9682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9683         Likewise.
9684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9685         Likewise.
9686         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9692         Likewise.
9693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9694         Likewise.
9695         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9696         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9697         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9699 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9701         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9702         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9703         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9704         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9705         remove ENOSYS implementation.
9706         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9707         Consolidate all Linux implementations.
9709 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9711         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9712         * resolv/herror.c (herror): Cast away const-ness.
9713         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9714         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9716 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9718         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9719         instead of M_NAN + M_NAN.
9720         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9722 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9724         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9725         unused variable 'p'.
9727 2016-10-09  Alan Modra  <amodra@gmail.com>
9728             Andreas Schwab  <schwab@linux-m68k.org>
9730         [BZ #20554]
9731         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9732         [PIC && !SHARED]: Set up PIC register for PLT call.
9734 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9736         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9737         conditional on value of [__FLT_EVAL_METHOD__].
9738         * math/test-iseqsig-excess-precision.c: New file.
9739         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9741 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9743         * math/s_iseqsig_template.c: Include math-private.h.
9745         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9746         * posix/tst-posix_fadvise.c: New file.
9747         * posix/tst-posix_fadvise64.c: Likewise.
9748         * posix/tst-posix_fadvise-common.c: Likewise.
9749         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9750         (__ASSUME_FADVISE64_64_6ARG): Define.
9751         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9752         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9754         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9755         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9756         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9757         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9758         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9759         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9760         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9761         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9762         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9765         Likewise.
9766         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9767         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9768         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9769         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9770         Alias to __posix_fadvise64_l32.
9771         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9772         Add compat definition to posix_fadvise64.
9773         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9774         Add versioned definition to posix_fadvise64.
9775         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9776         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9777         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9778         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9779         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9781         * io/Makefile (tests): Add tst-posix_fallocate and
9782         tst-posix_fallocate64.
9783         * io/tst-posix_fallocate-common.c: New file.
9784         * io/tst-posix_fallocate.c: Likewise.
9785         * io/tst-posix_fallocate64.c: Likewise.
9786         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9787         file.
9788         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9789         Likewise.
9790         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9791         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9792         Likewise.
9793         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9794         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9795         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9796         SYSCALL_LL to pass both offset and len arguments.
9797         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9798         Likewise.
9799         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9800         __libc_pwrite64 alias used by posix_fallocate64.
9802         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9803         tst-fallocate64.
9804         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9805         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9806         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9807         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9808         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9810         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9811         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9812         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9813         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9814         macro on offset argument.
9815         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9816         SYSCALL_LL64 on offset argument.
9818         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9819         tst-fallocate64.
9820         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9821         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9822         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9823         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9824         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9825         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9826         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9827         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9828         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9829         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9830         macro on offset argument.
9831         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9832         SYSCALL_LL64 on offset argument.
9833         * test-skeleton.c (FAIL_RET): Add macro.
9834         (FAIL_EXIT): Likewise.
9835         (FAIL_EXIT1): Likewise.
9836         (_FAIL): Likewise.
9838 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9840         [BZ #20629]
9841         resolv: Remove RES_USEBSTRING and its implementation.
9842         * resolv/resolv.h (RES_USEBSTRING): Remove.
9843         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9844         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9845         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9846         (labellen): Remove extended label types support.
9847         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9848         * resolv/res_init.c (res_setoptions): Likewise.
9849         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9851 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9853         resolv: Remove RES_NOIP6DOTINT and its implementation.
9854         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9855         (RES_NOIP6DOTINT): Remove.
9856         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9857         handling.
9858         * resolv/res_debug.c (p_option): Likewise.
9859         * resolv/res_init.c (res_setoptions): Likewise.
9860         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9862 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9864         resolv: Deprecate unimplemented flags.
9865         * misc/sys/cdefs.h (__glibc_macro_warning1)
9866         (__glibc_macro_warning): Define.
9867         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9868         (RES_KEEPTSIG): Mark as deprecated.
9869         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9870         RES_NOCHECKNAME, RES_KEEPTSIG.
9871         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9873 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9875         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9876         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9877         Use strong_alias to create symbols for glibc verison 2.19.
9879 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9881         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9883 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9885         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9887 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9889         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9891 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9893         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9894         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9895         in header for using it as type for ifunc function because __GI_* symbols
9896         for ppc32 do not target the ifunc symbols.
9897         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9899 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9901         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9902         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9903         libc_ifunc_hidden_def.
9904         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9905         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9906         Redirect ifunced function in header for using it as type of ifunc'ed
9907         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9908         function for __GI_* symbol.
9909         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9910         * include/libc-symbols.h
9911         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9913 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9915         [BZ #20478]
9916         * sysdeps/s390/multiarch/ifunc-resolve.h
9917         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9918         to create ifunc symbols.
9919         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9920         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9921         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9922         for using it as type for ifunc function.
9923         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9924         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9925         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9926         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9927         * sysdeps/s390/multiarch/strcat.c: Likewise.
9928         * sysdeps/s390/multiarch/strchr.c: Likewise.
9929         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9930         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9931         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9932         * sysdeps/s390/multiarch/strlen.c: Likewise.
9933         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9934         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9935         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9936         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9937         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9938         * sysdeps/s390/multiarch/strspn.c: Likewise.
9939         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9940         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9941         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9942         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9943         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9944         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9945         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9946         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9947         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9948         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9949         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9950         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9952 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9954         * include/libc-symbols.h (__ifunc_resolver):
9955         New macro is used by __ifunc* macros.
9956         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9957         depending on HAVE_GCC_IFUNC.
9958         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9959         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9961         Redirect ifunced function in header for using as type for ifunc function.
9962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9969         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9970         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9971         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9972         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9974         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9981         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9982         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9983         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9984         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9985         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9986         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9987         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9988         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9989         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9990         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9991         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9992         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9993         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9994         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9996         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9997         instead of libc_ifunc() macro.
9998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9999         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10001 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10003         * config.h.in (HAVE_GCC_IFUNC): New undef.
10004         * configure.ac: Add check if gcc supports attribute ifunc feature.
10005         * configure: Regenerated.
10006         * manual/install.texi: Add recommendation for gcc with
10007         indirect-function support.
10008         * INSTALL: Regenerated.
10010 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10012         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10013         macro.
10014         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10015         (__iseqsig): New declaration.
10016         * math/s_iseqsig_template.c: New file.
10017         * math/Versions (__iseqsigf): New libm symbol at version
10018         GLIBC_2.25.
10019         (__iseqsig): Likewise.
10020         (__iseqsigl): Likewise.
10021         * math/libm-test.inc (iseqsig_test_data): New array.
10022         (iseqsig_test): New function.
10023         (main): Call iseqsig_test.
10024         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10025         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10026         * manual/libm-err-tab.pl: Update comment on interfaces without
10027         ulps tabulated.
10028         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10029         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10030         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10031         * sysdeps/nacl/libm.abilist: Update.
10032         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10033         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10034         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10035         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10038         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10039         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10040         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10041         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10042         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10043         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10045         Likewise.
10046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10047         Likewise.
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10049         Likewise.
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10051         Likewise.
10052         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10053         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10056         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10058         Likewise.
10059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10060         Likewise.
10061         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10062         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10063         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10065 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10067         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10068         do_sincos_2, sloww, sloww1): Update comments.
10070         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10071         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10073         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10074         K boolean and rename it.
10075         (__sin): Adjust.
10076         (__cos): Adjust.
10078 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10079             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10081         * manual/nss.texi: Fix typos in the manual.
10083 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10085         * manual/contrib.texi: Fix typos in the manual.
10087         * manual/maint.texi: Fix typos in the manual.
10089         * manual/install.texi: Fix typos in the manual.
10090         * INSTALL: Regenerated.
10092         * manual/lang.texi: Fix typos in the manual.
10094         * manual/probes.texi: Fix typos in the manual.
10096         * manual/threads.texi: Fix typos in the manual.
10098         * manual/debug.texi: Fix typos in the manual.
10100         * manual/crypt.texi: Fix typos in the manual.
10102         * manual/conf.texi: Fix typos in the manual.
10104         * manual/sysinfo.texi: Fix typos in the manual.
10106         * manual/users.texi: Fix typos in the manual.
10108         * manual/job.texi: Fix typos in the manual.
10110         * manual/process.texi: Fix typos in the manual.
10112         * manual/argp.texi: Fix typos in the manual.
10113         * manual/getopt.texi: Likewise.
10114         * manual/startup.texi: Likewise.
10116         * manual/signal.texi: Fix typos in the manual.
10118         * manual/setjmp.texi: Fix typos in the manual.
10120         * manual/resource.texi: Fix typos in the manual.
10122         * manual/time.texi: Fix typos in the manual.
10124         * manual/arith.texi: Fix typos in the manual.
10126         * manual/math.texi: Fix typos in the manual.
10128         * manual/syslog.texi: Fix typos in the manual.
10130         * manual/terminal.texi: Fix typos in the manual.
10132         * manual/socket.texi: Fix typos in the manual.
10134         * manual/filesys.texi: Fix typos in the manual.
10136         * manual/llio.texi: Fix typos in the manual.
10138         * manual/stdio.text: Fix typos in the manual.
10140 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10142         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10143         instead of K1.
10145         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10146         SHIFT_QUADRANT and make it bool.
10147         (do_sincos_2): Likewise.
10148         (sloww): Likewise.
10149         (sloww1): Likewise.
10150         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10151         (__cos): Likewise.
10153 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10155         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10157 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10159         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10160         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10161         0x7fffffffL].
10162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10164 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10166         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10167         inline by __inline__.
10168         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10169         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10170         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10171         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10172         sigset_t from signal.h.
10173         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10174         which is already required.
10176 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10178         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10180 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10182         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10183         (struct tcp_repair_window): New type.
10185 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10187         * libio/tst-memstream3.c: Include string.h.
10189 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10191         [BZ #18241]
10192         [BZ #20181]
10193         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10194         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10195         write position is at the end the buffer.
10196         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10197         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10198         (_IO_str_seekoff): Set correct offset from negative displacement and
10199         set EINVAL for invalid ones.
10200         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10201         buffer length.
10202         (_IO_wstr_switch_to_get_mode): New function.
10203         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10204         set EINVAL for invalid ones.
10205         * libio/tst-memstream3.c: New file.
10206         * libio/tst-wmemstream3.c: Likewise.
10207         * manual/examples/memstrm.c: Remove warning when priting size_t.
10209 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10211         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10212         macro to use __builtin_fma.
10213         * sysdeps/x86_64/fpu/dla.h: Remove file.
10215         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10216         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10217         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10219 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10221         [BZ #20292]
10222         * elf/Makefile (routines): Add dl-addr-obj.
10223         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10224         tst-_dl_addr_inside_object.
10225         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10226         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10227         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10228         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10229         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10230         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10231         * elf/dl-open.c: Likewise.
10232         * elf/dl-addr-obj.c: New file.
10233         * elf/tst-_dl_addr_inside_object.c: New file.
10235 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10237         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10238         <bits/iscanonical.h>.
10239         * bits/iscanonical.h: New file.
10240         * math/s_iscanonicall.c: Likewise.
10241         * math/Versions (__iscanonicall): New libm symbol at version
10242         GLIBC_2.25.
10243         * math/libm-test.inc (iscanonical_test_data): New array.
10244         (iscanonical_test): New function.
10245         (main): Call iscanonical_test.
10246         * math/Makefile (headers): Add bits/iscanonical.h.
10247         (type-ldouble-routines): Add s_iscanonicall.
10248         * manual/arith.texi (Floating Point Classes): Document
10249         iscanonical.
10250         * manual/libm-err-tab.pl: Update comment on interfaces without
10251         ulps tabulated.
10252         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10253         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10254         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10255         Likewise.
10256         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10257         test-iscanonical-ldbl-128ibm.
10258         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10259         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10260         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10261         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10262         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10263         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10264         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10266         Likewise.
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10268         Likewise.
10269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10270         Likewise.
10271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10272         Likewise.
10273         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10274         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10276 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10278         * string/bits/string3.h: Remove C++ style comments.
10280 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10282         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10283         instead of ternary condition.
10284         (do_sincos_2): Likewise.
10285         (__sin): Likewise.
10286         (__cos): Likewise.
10287         (slow): Likewise.
10288         (sloww): Likewise.
10289         (sloww1): Likewise.
10290         (bsloww): Likewise.
10291         (bsloww1): Likewise.
10293         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10294         instead of ternary condition.
10295         (do_sin_slow): Likewise.
10296         (do_sincos_1): Likewise.
10297         (do_sincos_2): Likewise.
10298         (__cos): Likewise.
10299         (sloww): Likewise.
10300         (sloww1): Likewise.
10301         (sloww2): Likewise.
10302         (bsloww): Likewise.
10303         (bsloww1): Likewise.
10304         (bsloww2): Likewise.
10306         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10307         check from here...
10308         (slow2): ... and here...
10309         (__sin): ... to here.
10311 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10313         * math/math.h
10314         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10315         Cast argument to its own type.
10316         * math/test-iszero-excess-precision.c: New file.
10317         * math/Makefile (tests): Add test-iszero-excess-precision.
10318         (CFLAGS-test-iszero-excess-precision.c): New variable.
10320 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10322         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10323         field, add err field.
10324         (__spawni_child): Report error through err member instead of pipe.
10325         (__spawnix): Likewise.
10327 2016-09-28  Zack Weinberg  <zackw@panix.com>
10329         * scripts/check-installed-headers.sh: Generalize treatment of
10330         sys/elf.h to all target architectures.
10332         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10333         deleted typedef ucontext_t.
10335 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10337         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10338         (__INTERNAL_SYSCALL1): Likewise.
10339         (__INTERNAL_SYSCALL2): Likewise.
10340         (__INTERNAL_SYSCALL3): Likewise.
10341         (__INTERNAL_SYSCALL4): Likewise.
10342         (__INTERNAL_SYSCALL5): Likewise.
10343         (__INTERNAL_SYSCALL6): Likewise.
10344         (__INTERNAL_SYSCALL7): Likewise.
10345         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10346         (__INTERNAL_SYSCALL_NARGS): Likewise.
10347         (__INTERNAL_SYSCALL_DISP): Likewise.
10348         (INTERNAL_SYSCALL_CALL): Likewise.
10349         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10350         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10351         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10352         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10353         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10354         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10355         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10356         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10357         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10358         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10359         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10360         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10361         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10363 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10365         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10366         macro.
10367         * math/libm-test.inc (iszero_test_data): New array.
10368         (iszero_test): New function.
10369         (main): Call iszero_test.
10370         * manual/arith.texi (Floating Point Classes): Document iszero.
10371         * manual/libm-err-tab.pl: Update comment on interfaces without
10372         ulps tabulated.
10374 2016-09-23  Zack Weinberg  <zackw@panix.com>
10376         * scripts/check-installed-headers.sh: New script.
10377         * Rules: In each directory that defines header files to be installed,
10378         run check-installed-headers.sh on them as a special test.
10379         * Makefile: Likewise for the headers installed at top level.
10381         * include/aliases.h, include/alloca.h, include/argz.h
10382         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10383         * include/elf.h, include/envz.h, include/err.h
10384         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10385         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10386         * include/link.h, include/malloc.h, include/mcheck.h
10387         * include/mntent.h, include/netinet/ether.h
10388         * include/nss.h, include/obstack.h, include/printf.h
10389         * include/pty.h, include/resolv.h, include/rpc/auth.h
10390         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10391         * include/rpc/clnt.h, include/rpc/des_crypt.h
10392         * include/rpc/key_prot.h, include/rpc/netdb.h
10393         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10394         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10395         * include/rpc/rpc_msg.h, include/rpc/svc.h
10396         * include/rpc/svc_auth.h, include/rpc/xdr.h
10397         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10398         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10399         * include/rpcsvc/ypupd.h, include/shadow.h
10400         * include/stdio_ext.h, include/sys/epoll.h
10401         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10402         * include/sys/prctl.h, include/sys/profil.h
10403         * include/sys/statfs.h, include/sys/sysctl.h
10404         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10405         * sysdeps/arm/nacl/include/bits/setjmp.h
10406         * sysdeps/mips/include/sys/asm.h
10407         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10408         * sysdeps/unix/sysv/linux/include/sys/timex.h
10409         * sysdeps/x86/fpu/include/bits/fenv.h:
10410         Add #ifndef _ISOMAC guard around internal declarations.
10411         Add multiple-inclusion guard if not already present.
10413 2016-09-23  Zack Weinberg  <zackw@panix.com>
10415         * sysdeps/generic/sys/ucontext.h
10416         * sysdeps/arm/sys/ucontext.h
10417         * sysdeps/i386/sys/ucontext.h
10418         * sysdeps/m68k/sys/ucontext.h
10419         * sysdeps/mips/sys/ucontext.h
10420         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10421         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10422         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10423         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10424         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10425         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10426         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10427         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10428         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10429         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10430         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10431         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10432         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10433         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10434         Include both bits/sigcontext.h and bits/sigstack.h.
10435         Fix grammar error in comment, if present.
10437         * bits/sigstack.h
10438         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10439         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10440         * sysdeps/unix/sysv/linux/bits/sigstack.h
10441         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10442         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10443         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10444         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10445         * bits/sigcontext.h
10446         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10447         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10448         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10449         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10450         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10451         as well as signal.h, if this was not already allowed.  Request
10452         definition of size_t if necessary.  Minimize semantically-null
10453         differences across files.
10455 2016-09-23  Zack Weinberg  <zackw@panix.com>
10457         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10458         Remove all logic conditional on __need macros.  Move all the
10459         conditionally defined types to their own headers...
10460         * time/bits/types/clock_t.h: Define clock_t here.
10461         * time/bits/types/clockid_t.h: Define clockid_t here.
10462         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10463         * time/bits/types/struct_timespec.h: Define struct timespec here.
10464         * time/bits/types/struct_timeval.h: Define struct timeval here.
10465         * time/bits/types/struct_tm.h: Define struct tm here.
10466         * time/bits/types/time_t.h: Define time_t here.
10467         * time/bits/types/timer_t.h: Define timer_t here.
10468         * time/Makefile: Install the new headers.
10470         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10471         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10472         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10473         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10474         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10475         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10476         * sysdeps/unix/sysv/linux/bits/resource.h
10477         * sysdeps/unix/sysv/linux/bits/timex.h
10478         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10479         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10480         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10481         * sysdeps/unix/sysv/linux/sys/acct.h
10482         * sysdeps/unix/sysv/linux/sys/timerfd.h
10483         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10484         * time/sys/time.h, time/sys/timeb.h
10485         Use the new bits/types headers.
10487         * include/time.h: Remove __need logic.
10488         * include/bits/time.h
10489         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10490         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10491         * include/bits/types/struct_itimerspec.h
10492         * include/bits/types/struct_timespec.h
10493         * include/bits/types/struct_timeval.h
10494         * include/bits/types/struct_tm.h:
10495         New wrapper headers.
10497 2016-09-23  Zack Weinberg  <zackw@panix.com>
10499         * sysdeps/mach/hurd/net/if_ppp.h
10500         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10501         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10502         if __USE_MISC is defined, to ensure struct ifreq is declared.
10504         * inet/netinet/ether.h: Condition all function prototypes
10505         on __USE_MISC, to ensure struct ether_addr is declared.
10507         * socket/bits/types/struct_osockaddr.h: New header.
10508         * include/bits/types/struct_osockaddr.h: New wrapper.
10509         * socket/Makefile: Install the new header.
10510         * socket/sys/socket.h, inet/protocols/talkd.h:
10511         Refer to bits/types/struct_osockaddr.h for the definition of
10512         struct osockaddr.
10514 2016-09-23  Zack Weinberg  <zackw@panix.com>
10516         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10517         * inet/protocols/routed.h, inet/protocols/talkd.h
10518         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10519         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10520         * sysdeps/generic/netinet/if_ether.h
10521         * sysdeps/generic/netinet/in_systm.h
10522         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10523         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10524         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10525         * sysdeps/mach/hurd/net/if_arp.h
10526         * sysdeps/mach/hurd/net/if_ppp.h
10527         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10528         * sysdeps/unix/sysv/linux/bits/in.h
10529         * sysdeps/unix/sysv/linux/net/ethernet.h
10530         * sysdeps/unix/sysv/linux/net/if_arp.h
10531         * sysdeps/unix/sysv/linux/net/if_ppp.h
10532         * sysdeps/unix/sysv/linux/net/if_shaper.h
10533         * sysdeps/unix/sysv/linux/net/route.h
10534         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10535         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10536         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10537         * sysdeps/unix/sysv/linux/netipx/ipx.h
10538         * sysdeps/unix/sysv/linux/sys/acct.h
10539         * include/arpa/nameser.h, include/resolv.h:
10540         Change all uses of u_char to unsigned char,
10541         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10542         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10543         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10544         and u_int64_t and u_quad_t to uint64_t.
10546         * mach/sys/reboot.h: Remove two casts of integer literals
10547         to the types they already have.
10549         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10550         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10551         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10552         from referring to 'unsigned char' to 'uint8_t' for consistency with
10553         the macro definition below.
10555         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10556         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10557         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10558         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10559         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10560         * sysdeps/unix/sysv/linux/sys/acct.h
10561         * include/arpa/nameser.h, include/resolv.h:
10562         Fix indentation disrupted by mechanical edits.
10564         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10565         * sysdeps/generic/netinet/in_systm.h
10566         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10567         * sysdeps/gnu/netinet/udp.h
10568         * sysdeps/unix/sysv/linux/net/ethernet.h
10569         * sysdeps/unix/sysv/linux/net/if_arp.h
10570         * sysdeps/unix/sysv/linux/net/if_ppp.h
10571         * sysdeps/unix/sysv/linux/net/if_shaper.h
10572         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10573         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10574         * sysdeps/unix/sysv/linux/netipx/ipx.h
10575         * sysdeps/unix/sysv/linux/sys/acct.h
10576         Include stdint.h for uintNN_t definitions.
10577         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10579 2016-09-23  Zack Weinberg  <zackw@panix.com>
10581         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10582         * sysdeps/unix/sysv/linux/netrose/rose.h:
10583         Include sys/socket.h and netax25/ax25.h.
10585         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10586         * resolv/arpa/nameser_compat.h:
10587         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10589         * sysdeps/unix/sysv/linux/sys/quota.h:
10590         Use __caddr_t instead of caddr_t.
10591         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10592         Use __clockid_t instead of clockid_t.
10594         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10596         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10597         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10598         expanding it.
10600         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10601         Define __glibc_c99_flexarr_available to 1 when the compiler
10602         supports C99-compatible flexible array members, 0 otherwise.
10603         * sysdeps/unix/sysv/linux/bits/socket.h
10604         * sysdeps/mach/hurd/bits/socket.h
10605         * bits/socket.h: Use __glibc_c99_flexarr_available in
10606         definitions of struct cmsghdr and CMSG_DATA.
10608 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10610         * manual/nss.texi (NSS Modules Interface): Adjust function return
10611         type to enum nss_status.  Document errnop argument.  Clarify
10612         h_errnop semantics.  Fix cross-reference formatting.
10613         (NSS Module Function Internals): Mention that *errnop needs to be
10614         set on failure, but not to zero.
10616 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10618         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10619         (get_random_name): New functions.
10620         (check_wrapper_flags_mode): Use linkat to give the new file a name
10621         determined by get_random_name.
10622         (do_test): Add calls to test open64 and openat64.
10624 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10626         * test-skeleton.c: Remove #include <stdarg.h>.
10628 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10630         [BZ #19826]
10631         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10632         initialization of static TLS entries.
10633         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10634         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10636 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10638         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10639         _hurd_malloc_fork_prepare.
10640         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10641         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10642         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10643         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10644         (_hurd_fork_child_hook): Drop malloc_fork_child.
10645         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10646         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10647         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10648         after locking locks (notably hurd_dtable_lock). Call
10649         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10650         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10651         __malloc_fork_unlock_child.
10652         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10654 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10656         * soft-fp/extendhftf2.c: New.
10657         * soft-fp/fixhfti.c: Likewise.
10658         * soft-fp/fixunshfti.c: Likewise.
10659         * soft-fp/floattihf.c: Likewise.
10660         * soft-fp/floatuntihf.c: Likewise.
10661         * soft-fp/half.h: Likewise.
10662         * soft-fp/trunctfhf2.c: Likewise.
10664 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10666         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10667         macro.
10668         * math/libm-test.inc (issubnormal_test_data): New array.
10669         (issubnormal_test): New function.
10670         * manual/arith.texi (Floating Point Classes): Document
10671         issubnormal.
10672         * manual/libm-err-tab.pl: Update comment on interfaces without
10673         ulps tabulated.
10675         * sysdeps/generic/stdint.h: Define
10676         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10677         <bits/libc-header-start.h> instead of including <features.h>.
10678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10711         * manual/arith.texi (Integers): Document these macros for types
10712         specified by width properties.
10713         * manual/lang.texi (Width of Type): Document these macros for
10714         other standard typedefs.
10715         * stdlib/tst-width-stdint.c: New file.
10716         * stdlib/Makefile (tests): Add tst-width-stdint.
10718 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10720         [BZ #20016]
10721         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10722         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10723         Move ...
10724         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10725         ... here, as compatibility symbols in a new file.
10726         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10727         * resolv/res_init.c (__res_vinit): Adjust member names.
10728         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10729         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10730         (res_send_rhook): Remove.
10731         (struct __res_state): Rename qhook, rhook members.
10733 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10735         malloc: Use __libc_lock wrappers.
10736         * malloc/arena.c (list_lock, free_list_lock): Define using
10737         __libc_lock_define_initialized.
10738         (arena_lock): Adjust formatting.
10739         * malloc/malloc.c (struct malloc_state): Define mutex using
10740         __libc_lock_define.
10741         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10742         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10743         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10744         (mutex_unlock, mutex_trylock): Remove.
10745         (__pthread_initialize): Remove unused macro.
10746         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10747         (mutex_unlock, mutex_trylock): Remove.
10749 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10751         [BZ #20592]
10752         Remove RR type classification macros.
10753         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10754         (ns_t_udp_p, ns_t_xfr_p): Remove.
10756 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10758         Remove misleading version information.
10759         * resolv/arpa/nameser.h (__NAMESER): Remove.
10760         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10762 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10764         Remove the always-defined BIND_4_COMPAT macro.
10765         * resolv/arpa/nameser.h: Unconditionally include
10766         <arpa/nameser_compat.h>.
10767         (BIND_4_COMPAT): Remove.
10768         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10770 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10772         [BZ #20591]
10773         Remove obsolete DNSSEC support.
10774         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10775         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10776         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10777         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10778         (ns_cert_types): Add comment.
10779         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10780         separately.
10781         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10782         (dst_s_dns_key_id): Remove.
10783         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10784         variables.
10786 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10788         [BZ #20524]
10789         * manual/string.texi (String/Array Comparison): Clarify the
10790         strverscmp behavior.
10792 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10794         * test-skeleton.c (xasprintf): Add function.
10795         * io/tst-open-tmpfile.c: New test.
10796         * io/Makefile (tests): Add it.
10798 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10800         Avoid running $(CXX) during build to obtain header file paths.
10801         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10802         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10803         * Makerules (cstdlib, cmath): Remove variables.  Use
10804         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10805         * configure: Regenerate.
10807 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10809         * Makeconfig (all-object-suffixes): Include .op only if
10810         $(build-profile).
10812 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10814         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10815         conditionals.  Do not define PATH_MAX.
10817 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10819         * posix/Makefile (tests): Add tst-spawn3.
10820         * posix/tst-spawn3.c: New file.
10821         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10822         if it is already opened for open action.
10824         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10825         all signals when executing the clone vfork child.
10826         (SIGALL_SET): Remove macro.
10828         * nptl/Makefile (tests): Add tst-exec5.
10829         * nptl/tst-exec5.c: New file.
10830         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10831         asynchronous cancellation.
10833 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10835         * hurd/exc2signal.c: #include <hurd/signal.h>
10836         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10837         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10838         accordingly.
10839         * mach/mach_error.c (mach_error): Fix old-style function definition.
10840         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10842 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10844         * math/Makefile (libm-calls): Remove s_nanF.
10845         (gen-libm-calls): Add s_nanF.
10847         * math/s_nan.c: Refactor into ...
10848         * math/s_nan_template.c: New file.
10850         * math/s_nanf.c: Removed.
10851         * math/s_nanl.c: Removed.
10852         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10853         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10855         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10856         (LDOUBLE_nanl_libm_version): New macro.
10858         * sysdeps/generic/math-type-macros-double.h:
10859         (M_STRTO_NAN): New macro.
10860         * sysdeps/generic/math-type-macros-float.h: Likewise.
10861         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10863         * sysdeps/generic/math-type-macros.h: Document
10864         M_STRTO_NAN.
10866 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10868         * math/s_nanf.c: Remove __nanf undef.
10869         * math/s_nan.c: Remove __nan undef.
10870         * math/s_nanl.c: Remove __nanl undef.
10872         * sysdeps/generic/math_private.h (__nan): Remove macro
10873         override.
10874         (__nanf): Likewise.
10875         (__nanl): Likewise.
10877 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10879         * math/Makefile (gen-all-calls): New variable.
10880         (generated): Replace gen-libm-calls with gen-all-calls.
10881         (gen-libm-templates.stmp): Likewise.  Also, ensure
10882         the output directory exists or is created and add
10883         dependency on the Makefile.
10884         (calls): Move s_ldexpF into gen-calls.
10885         (gen-calls): New variable.
10887         * math/s_ldexpf.c: Removed.
10888         * math/s_ldexpl.c: Removed.
10889         * math/s_ldexp.c: Refactored into ...
10890         * math/s_ldexp_template.c: New file.
10892         * sysdeps/generic/math-type-macros-double.h: Remove
10893         redundant fall-through definition of declare_mgen_alias.
10894         (declare_mgen_alias_2): New macro.
10896         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10897         New macro for function aliased to two exported symbols.
10899         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10900         new template file.
10901         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10903 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10905         * Makeconfig (all-object-suffixes): Remove .og.
10906         * Makerules (elide-routines.og): Remove.
10907         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10908         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10909         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10911 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10913         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10914         .os objects.
10916 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10918         [BZ #20615]
10919         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10920         fpu directory by non-fpu.
10921         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10922         on non-fpu directory from a fpu directory.
10924 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10926         * include/limits.h: Define
10927         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10928         <bits/libc-header-start.h> instead of including <features.h>.
10929         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10931         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10932         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10934         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10940         * manual/lang.texi (Width of Type): Document these macros.
10941         * stdlib/tst-width.c: New file.
10942         * stdlib/Makefile (tests): Add tst-width.
10944 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10946         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10947         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10949 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10951         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10952         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10953         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10955 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10957         [BZ #18243]
10958         * rt/Makefile (test): Add tst-shm-cancel.
10959         * rt/tst-shm-cancel.c: New file.
10960         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10962         [BZ #18243]
10963         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10964         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10965         definition.
10966         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10967         uncontended case.
10968         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10969         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10970         (tf): Fix check for uncontended case.
10971         (do_test): Likewise.
10972         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10973         (tf): Fix check for uncontended case.
10974         (do_test): Likewise.
10975         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10976         (tf): Fix check for uncontended case.
10977         (do_test): Likewise.
10978         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10979         (tf): Fix check for uncontended case.
10980         (do_test): Likewise.
10982         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10983         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10985         [BZ #15765]
10986         * nptl/Makefile (tests): Add tst-sem16.
10987         * nptl/tst-sem16.c: New file.
10988         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10990         * nptl/sem_open.c (sem_open): Init pad value to 0.
10991         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10992         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10994 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10996         [BZ #20611]
10997         * inet/Makefile (routines): Add inet6_scopeid_pton.
10998         (tests): Add tst-inet6_scopeid_pton.
10999         * inet/inet6_scopeid_pton.c: New file.
11000         * inet/net-internal.h: Likewise.
11001         * inet/tst-inet6_scopeid_pton.c: New test.
11002         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11003         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11006 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11008         Remove support for compiling wrappers with PTW.
11009         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11010         * nptl/Makefile (pthread-compat-wrappers): Define.
11011         (libpthread-routines): Use pthread-compat-wrappers.
11012         * sysdeps/unix/sysv/linux/alpha/Makefile
11013         (libpthread-routines, libpthread-shared-only-routines): Remove
11014         ptw- prefix.
11015         * sysdeps/s390/nptl/Makefile
11016         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11017         * sysdeps/ia64/nptl/Makefile
11018         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11019         * sysdeps/nacl/Makefile (libpthread-routines): Use
11020         pthread-compat-wrappers to filter the routines list instead of the
11021         ptw- prefix.
11023 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11025         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11026         with L() and remove explicit suffix, convert real literals
11027         which can be equivalentally substituted with integers, and
11028         transform -L(x) to L(-x).
11030         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11035         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11036         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11038         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11039         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11040         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11041         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11043         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11044         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11045         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11048         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11049         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11050         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11051         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11052         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11055         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11061         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11063         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11064         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11065         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11066         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11068         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11069         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11070         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11071         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11072         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11073         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11074         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11075         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11076         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11077         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11078         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11079         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11081 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11083         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11085 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11087         * malloc/Makefile (tests): Remove individual static test names
11088         and just add all of tests-static.
11090         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11092 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11094         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11095         file.
11097         * sysdeps/sparc/fpu/fegetmode.c: New file.
11098         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11100         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11101         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11103         * sysdeps/s390/fpu/fegetmode.c: New file.
11104         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11106         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11107         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11108         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11109         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11111         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11113         * sysdeps/mips/fpu/fegetmode.c: New file.
11114         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11116         * sysdeps/m68k/fpu/fegetmode.c: New file.
11117         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11119         * sysdeps/ia64/fpu/fegetmode.c: New file.
11120         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11122         * sysdeps/hppa/fpu/fegetmode.c: New file.
11123         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11125         * sysdeps/arm/fegetmode.c: New file.
11126         * sysdeps/arm/fesetmode.c: Likewise.
11128         * sysdeps/alpha/fpu/fegetmode.c: New file.
11129         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11131         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11132         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11134         * math/fegetmode.c: New file.
11135         * math/fesetmode.c: Likewise.
11136         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11137         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11138         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11139         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11140         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11142         declaration.
11143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11144         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11145         typedef.
11146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11147         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11148         (femode_t): New typedef.
11149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11150         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11151         (femode_t): New typedef.
11152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11153         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11154         (femode_t): New typedef.
11155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11156         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11157         (femode_t): New typedef.
11158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11159         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11160         (femode_t): New typedef.
11161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11162         * sysdeps/m68k/fpu/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/microblaze/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/mips/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/nios2/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/powerpc/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 variable
11177         declaration.
11178         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11179         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11180         (femode_t): New typedef.
11181         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11182         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11183         (femode_t): New typedef.
11184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11185         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11186         (femode_t): New typedef.
11187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11188         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11189         (femode_t): New typedef.
11190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11191         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11192         (femode_t): New typedef.
11193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11194         * manual/arith.texi (FE_DFL_MODE): Document macro.
11195         (fegetmode): Document function.
11196         (fesetmode): Likewise.
11197         * math/Versions (fegetmode): New libm symbol at version
11198         GLIBC_2.25.
11199         (fesetmode): Likewise.
11200         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11201         (tests): Add test-femode and test-femode-traps.
11202         * math/test-femode-traps.c: New file.
11203         * math/test-femode.c: Likewise.
11204         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11205         alias for __fe_dfl_env.
11206         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11207         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11208         (__fe_dfl_mode): Likewise.
11209         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11210         version GLIBC_2.25.
11211         * sysdeps/nacl/libm.abilist: Update.
11212         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11213         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11214         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11215         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11218         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11219         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11220         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11221         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11222         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11223         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11225         Likewise.
11226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11227         Likewise.
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11229         Likewise.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11231         Likewise.
11232         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11233         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11234         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11235         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11236         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11238         Likewise.
11239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11240         Likewise.
11241         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11242         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11243         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11245 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11247         [BZ #20495]
11248         [BZ #20508]
11249         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11250         processors, set Use_dl_runtime_resolve_slow and set
11251         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11252         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11253         New.
11254         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11255         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11256         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11257         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11258         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11259         if Use_dl_runtime_resolve_opt is set.  Use
11260         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11261         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11262         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11263         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11264         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11265         New.
11266         (_dl_runtime_resolve_opt): Likewise.
11267         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11268         defined.
11270 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11272         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11273         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11275 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11277         Convert malloc to __libc_lock.  Automated part, using this Perl
11278         s/// command:
11279           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11280             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11281         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11282         conversion.
11284 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11286         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11287         (linknamespace-symlists-tests): Likewise.
11288         (linknamespace-header-tests): Likewise.
11290 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11292         [BZ #19810]
11293         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11294         * elf/tst-noload.c: New test case.
11295         * elf/Makefile (tests): Add tst-noload.
11297 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11299         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11301         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11302         not any more.
11304         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11306 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11308         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11309         (do_cos_slow): Likewise.
11310         (do_sin): Likewise.
11311         (do_sin_slow): Likewise.
11312         (slow): Likewise.
11313         (slow1): Likewise.
11314         (slow2): Likewise.
11315         (sloww): Likewise.
11316         (sloww1): Likewise.
11317         (sloww2): Likewise.
11318         (bsloww): Likewise.
11319         (bsloww1): Likewise.
11320         (bsloww2): Likewise.
11321         (cslow2): Likewise.
11323         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11325         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11326         arguments.  Consolidate input partitioning from callers here.
11327         (do_cos_slow): Likewise.
11328         (do_sin): Likewise.
11329         (do_sin_slow): Likewise.
11330         (do_sincos_1): Remove the no longer necessary input partitioning.
11331         (do_sincos_2): Likewise.
11332         (__sin): Likewise.
11333         (__cos): Likewise.
11334         (slow1): Likewise.
11335         (slow2): Likewise.
11336         (sloww1): Likewise.
11337         (sloww2): Likewise.
11338         (bsloww1): Likewise.
11339         (bsloww2): Likewise.
11340         (cslow2): Likewise.
11342 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11344         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11345         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11346         outside of allocated array.
11348 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11350         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11351         instead of MB_CUR_MAX to avoid variable-length array.
11353 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11355         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11356         (type-double-routines): Add k_rem_pio2.
11357         (type-float-routines): Add k_rem_pio2f.
11359         * sysdeps/generic/math_private.h:
11360         (__kernel_rem_pio2l): Removed.
11362         * math/k_rem_pio2l.c: Removed.
11363         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11364         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11365         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11366         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11368 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11370         * math/Makefile (gen-libm-calls): Add s_fmin
11371         (libm-calls): Remove above.
11373         * math/s_fmin.c: Refactor into ...
11374         * math/s_fmin_template.c: New file.
11376         * math/s_fminf.c: Removed.
11377         * math/s_fminl.c: Removed.
11378         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11379         (LDOUBLE_fmin_libm_version): New macro.
11381         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11382         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11384 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11386         * math/Makefile: (gen-libm-calls): Add s_fmax.
11387         (libm-calls): Remove above.
11389         * math/s_fmax.c: Refactor into ...
11390         * math/s_fmax_template.c: New file.
11391         * math/s_fmaxf.c: Removed.
11392         * math/s_fmaxl.c: Removed.
11394         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11395         (LDOUBLE_fmaxl_libm_version): New macro.
11397         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11398         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11400         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11401         s_fmin.c to pick the aarch64 version of the file.
11402         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11403         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11405 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11407         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11408         (libm-calls): Remove above.
11410         * math/s_nextdown.c: Refactor into ...
11411         * math/s_nextdown_template.c: New file.
11412         * math/s_nextdownf.c: Removed.
11413         * math/s_nextdownl.c: Removed.
11415         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11417 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11419         * math/Makefile (gen-libm-calls): Add s_fdim.
11420         (libm-calls): Move to above.
11422         * math/s_fdim.c: Renamed and refactored into to ...
11423         * math/s_fdim_template.c: New file.
11424         * math/s_fdiml.c: Removed.
11425         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11426         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11428         * sysdeps/generic/math-type-macros-double.h:
11429         (declare_mgen_alias): Don't declare if already declared.
11430         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11431         Likewise.
11433         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11434         (declare_mgen_alias): Don't declare if already declared.
11435         (M_LIBM_NEED_COMPAT): Likewise.
11436         (declare_mgen_libm_compat): Likewise.
11437         (LDOUBLE_fdiml_libm_version): New macro.
11439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11440         Include math/s_fdim.c now that ldbl-opt version is not needed.
11441         (declare_mgen_alias): New macro to disable aliasing.
11443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11444         (declare_mgen_alias): Likewise.
11445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11446         (declare_mgen_alias): Likewise.
11447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11448         (declare_mgen_alias): Likewise.
11449         (M_LIBM_NEED_COMPAT): Likewise.
11451 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11453         [BZ #20525]
11454         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11455         Include <linux/quota.h>.
11456         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11457         and btodb.
11458         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11459         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11460         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11461         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11462         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11463         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11464         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11465         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11466         types.
11467         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11468         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11470 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11472         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11473         (gammal_positive): Fix spacing.
11474         (__ieee754_gammal_r): Likewise.
11476 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11478         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11479         (_Float128): Define as long double, always.
11480         (L): Apply long double type suffix, always.
11482         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11483         _Float128, excepting comments.
11485         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11491         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11492         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11493         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11494         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11495         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11497         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11499         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11500         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11501         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11503         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11504         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11505         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11506         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11507         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11508         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11509         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11512         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11534         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11536         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11538         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11539         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11540         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11542         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11543         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11544         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11548         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11549         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11550         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11551         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11552         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11554         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11555         _Float128, and include math_private.h.
11556         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11559         long double semantics.
11560         (_Float128): Likewise.
11561         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11562         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11563         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11564         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11566 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11568         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11569         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11570         * sysdeps/s390/configure: Regenerated.
11571         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11572         instruction for raising over-/underflow if z196 zarch is supported
11573         by default.
11574         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11576 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11578         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11579         it point to a dumb buffer for RPC to fill it.
11581 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11583         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11584         instead of if/else.
11585         (do_sin_slow): Likewise.
11586         (do_sincos_1): Use fabs instead of if/else.
11587         (do_sincos_2): Likewise.
11588         (__sin): Likewise.
11589         (__cos): Likewise.
11590         (slow2): Likewise.
11591         (sloww): Likewise.
11592         (sloww1): Likewise.  Drop argument M.
11593         (sloww2): Use fabs instead of if/else.
11594         (bsloww): Likewise.
11595         (bsloww1): Likewise.
11596         (bsloww2): Likewise.
11598         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11599         fall through comment.
11600         (do_sincos_1): Likewise.
11602         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11603         Consolidate switch cases 0 and 2.
11605 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11607         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11608         (libm-calls): Remove the above.
11610         * math/s_cexp_template.c: Update using type-generic macros.
11611         * math/s_clog10_template.c: Likewise.
11612         * math/s_cpow_template.c: Likewise.
11613         * math/s_clog_template.c: Likewise.
11614         * math/s_cproj_template.c: Likewise.
11615         * math/s_csqrt_template.c: Likewise.
11617         * math/s_cexp.c: Removed.
11618         * math/s_cexpf.c: Removed.
11619         * math/s_cexpl.c: Removed.
11620         * math/s_clog10.c: Removed.
11621         * math/s_clog10f.c: Removed.
11622         * math/s_clog10l.c: Removed.
11623         * math/s_cpow.c: Removed.
11624         * math/s_cpowf.c: Removed.
11625         * math/s_cpowl.c: Removed.
11626         * math/s_clog.c: Removed.
11627         * math/s_clogf.c: Removed.
11628         * math/s_clogl.c: Removed.
11629         * math/s_cproj.c: Removed.
11630         * math/s_cprojf.c: Removed.
11631         * math/s_cprojl.c: Removed.
11632         * math/s_csqrt.c: Removed.
11633         * math/s_csqrtf.c: Removed.
11634         * math/s_csqrtl.c: Removed.
11636         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11637         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11638         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11639         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11640         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11641         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11643         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11644         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11645         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11646         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11647         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11648         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11649         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11650         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11651         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11652         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11653         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11655         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11656         version.
11658         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11659         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11660         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11661         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11663 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11665         * s_cexp_template.c: Copy of s_cexp.c.
11666         * s_clog_template.c: Copy of s_clog.c.
11667         * s_clog10_template.c: Copy of s_clog10.c.
11668         * s_cpow_template.c: Copy of s_cpow.c.
11669         * s_cproj_template.c: Copy of s_cproj.c.
11670         * s_csqrt_template.c: Copy of s_csqrt.c.
11672 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11674         [BZ #20517]
11675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11676         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11677         exported.
11679 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11681         * math/fetestexceptflag.c: New file.
11682         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11683         Stefan Liebler.
11684         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11685         (fetestexceptflag): New function declaration.
11686         * manual/arith.texi (fetestexceptflag): Document function.
11687         * math/Versions (fetestexceptflag): New libm symbol at version
11688         GLIBC_2.25.
11689         * math/Makefile (libm-support): Add fetestexceptflag.
11690         (tests): Add test-fetestexceptflag.
11691         * math/test-fetestexceptflag.c: New file.
11692         * sysdeps/nacl/libm.abilist: Update.
11693         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11694         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11695         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11696         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11698         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11699         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11700         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11701         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11702         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11703         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11704         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11706         Likewise.
11707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11708         Likewise.
11709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11710         Likewise.
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11712         Likewise.
11713         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11714         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11715         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11716         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11717         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11719         Likewise.
11720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11721         Likewise.
11722         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11723         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11724         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11726 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11728         [BZ #20432]
11729         Avoid strong references to malloc-internal symbols when linking
11730         statically, to support statically interposed mallocs.
11731         * include/libc-symbols.h (call_function_static_weak): New macro.
11732         * malloc/Makefile (tests): Add tst-interpose-nothread,
11733         tst-interpose-thread, tst-interpose-static-nothread,
11734         tst-interpose-static-thread.
11735         (tests-static): Add tst-interpose-static-nothread,
11736         tst-interpose-static-thread.
11737         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11738         tst-interpose-aux-thread.o.
11739         (test-extras): Add tst-interpose-aux-nothread,
11740         tst-interpose-aux-thread.
11741         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11742         tst-interpose-aux-nothread.o.
11743         (tst-interpose-thread, tst-interpose-static-thread): Link with
11744         tst-interpose-aux-thread.o and libthread.
11745         * malloc/tst-interpose-aux-nothread.c: New file.
11746         * malloc/tst-interpose-aux-thread.c: Likewise.
11747         * malloc/tst-interpose-aux.c: Likewise.
11748         * malloc/tst-interpose-aux.h: Likewise.
11749         * malloc/tst-interpose-nothread.c: Likewise.
11750         * malloc/tst-interpose-skeleton.c: Likewise.
11751         * malloc/tst-interpose-static-nothread.c: Likewise.
11752         * malloc/tst-interpose-static-thread.c: Likewise.
11753         * malloc/tst-interpose-thread.c: Likewise.
11754         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11755         * sysdeps/mach/hurd/fork.c (__fork): Only call
11756         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11757         __malloc_fork_unlock_child if defined.
11758         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11760 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11762         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11763         timespec C99 designated initialization.
11765 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11767         [BZ #19946]
11768         Avoid expected SIGALRM signals.
11769         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11770         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11771         (xpthread_create, xpthread_detach, xpthread_join)
11772         (delayed_exit_thread, delayed_exit): New functions.
11773         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11774         (tf): Use xpthread_cond_wait.
11775         (do_test): Likewise.  Replace alarm with delayed_exit.
11776         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11777         (do_test): Call delayed_exit.  Report failure.
11778         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11779         (do_test): Call delayed_exit.
11780         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11781         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11782         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11783         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11784         error.
11785         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11786         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11787         error.
11788         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11789         (do_test): Call delayed_exit.
11790         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11791         (do_test): Call delayed_exit.
11792         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11793         (do_test): Call delayed_exit instead of alarm.  Use
11794         xpthread_mutex_lock.
11795         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11796         (do_test): Call delayed_exit instead of alarm.  Use
11797         xpthread_mutex_lock.
11798         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11799         (do_test): Call delayed_exit instead of alarm.
11800         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11801         (do_test): Call delayed_exit instead of alarm.  Use
11802         xpthread_spin_lock.
11803         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11804         (do_test): Call delayed_exit instead of alarm.  Use
11805         xpthread_join.
11807 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11809         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11810         adjust CFA when allocating register save area on re-aligned
11811         stack.
11813 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11815         * string/tst-cmp.c: New test.
11816         * string/Makefile (tests): Add it.
11818 2016-08-25  Mark Wielaard  <mark@klomp.org>
11820         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11821         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11822         (check_tree_recurse): Use newly defined accessors.
11823         (check_tree): Likewise.
11824         (maybe_split_for_insert): Likewise.
11825         (__tfind): Likewise.
11826         (__tdelete): Likewise.
11827         (trecurse): Likewise.
11828         (tdestroy_recurse): Likewise.
11829         (__tsearch): Likewise. And add asserts for malloc alignment.
11830         (__twalk): Cast root to node in case CHECK_TREE is defined.
11832 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11834         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11836 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11838         * math/Makefile (libm-gen-calls): Add
11839         catan, catanh, ctan, ctanh.
11840         (libm-calls): Remove the above.
11842         * math/s_catan_template.c: Update using type-generic macros.
11843         * math/s_catanh_template.c: Likewise.
11844         * math/s_ctan_template.c: Likewise.
11845         * math/s_ctanh_template.c: Likewise.
11847         * math/s_catanf.c: Removed.
11848         * math/s_catan.c: Removed.
11849         * math/s_catanl.c: Removed.
11850         * math/s_catanhf.c: Removed.
11851         * math/s_catanh.c: Removed.
11852         * math/s_catanhl.c: Removed.
11853         * math/s_ctanf.c: Removed.
11854         * math/s_ctan.c: Removed.
11855         * math/s_ctanl.c: Removed.
11856         * math/s_ctanhf.c: Removed.
11857         * math/s_ctanh.c: Removed.
11858         * math/s_ctanhl.c: Removed.
11860         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11861         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11862         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11863         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11864         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11865         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11867         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11868         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11869         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11870         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11872 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11874         * s_catan_template.c: Copy of s_catan.c.
11875         * s_catanh_template.c: Copy of s_catanh.c.
11876         * s_ctan_template.c: Copy of s_ctan.c.
11877         * s_ctanh_template.c: Copy of s_ctanh.c.
11879 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11881         * math/Makefile (gen-libm-calls): Move
11882         casin, casinh, csin, csinh here.
11883         (libm-calls): Remove the above.
11885         * math/s_casin_template.c: Update using type-generic macros.
11886         * math/s_casinh_template.c: Likewise.
11887         * math/s_csin_template.c: Likewise.
11888         * math/s_csinh_template.c: Likewise.
11889         * math/k_casinh_template.c: Likewise.
11891         * math/s_casinf.c: Removed.
11892         * math/s_casin.c: Removed.
11893         * math/s_casinl.c: Removed.
11894         * math/s_casinh.c: Removed.
11895         * math/s_casinhf.c: Removed.
11896         * math/s_casinhl.c: Removed.
11897         * math/s_csin.c: Removed.
11898         * math/s_csinf.c: Removed.
11899         * math/s_csinl.c: Removed.
11900         * math/s_csinh.c: Removed.
11901         * math/s_csinhf.c: Removed.
11902         * math/s_csinhl.c: Removed.
11903         * math/k_casinh.c: Removed.
11904         * math/k_casinhf.c: Removed.
11905         * math/k_casinhl.c: Removed.
11907         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11908         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11909         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11910         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11912         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11913         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11914         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11915         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11916         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11917         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11918         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11919         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11921         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11922         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11923         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11924         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11926         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11927         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11928         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11929         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11931 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11933         * s_casin_template.c: Copy of s_casin.c.
11934         * s_casinh_template.c: Copy of s_casinh.c.
11935         * s_csin_template.c: Copy of s_csin.c.
11936         * s_csinh_template.c: Copy of s_csinh.c.
11937         * k_casinh_template.c: Copy of k_casinh.c.
11939 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11941         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11943 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11945         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11946         (mul_split) Remove, rename as mul_splitl, remove
11947         redundant float.h include, and include via mul_splitl.h
11949         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11950         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11951         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11952         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11953         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11955         * math/mul_splitl.h: New file.
11957         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11958         Move into mul_split.h, and remove redundant float.h include.
11960         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11961         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11962         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11963         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11965         * math/mul_split.h: New file.
11967 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11969         * math/Makefile (libm-gen-calls): Move
11970         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11971         (libm-calls): Remove above.
11973         * math/s_cacos_template.c: Update using type-generic macros.
11974         * math/s_cacosh_template.c: Likewise.
11975         * math/s_ccos_template.c: Likewise.
11976         * math/s_ccosh_template.c: Likewise.
11978         * math/s_cacosf.c: Removed.
11979         * math/s_cacos.c: Removed.
11980         * math/s_cacosl.c: Removed.
11981         * math/s_cacoshf.c: Removed.
11982         * math/s_cacosh.c: Removed.
11983         * math/s_cacoshl.c: Removed.
11984         * math/s_ccosf.c: Removed.
11985         * math/s_ccos.c: Removed.
11986         * math/s_ccosl.c: Removed.
11987         * math/s_ccoshf.c: Removed.
11988         * math/s_ccosh.c: Removed.
11989         * math/s_ccoshl.c: Removed.
11991         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11992         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11993         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11994         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11995         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11996         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11998         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11999         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12000         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12001         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12003         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12004         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12005         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12006         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12008 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12010         * s_cacos_template.c: Copy of s_cacos.c.
12011         * s_cacosh_template.c: Copy of s_cacosh.c.
12012         * s_ccos_template.c: Copy of s_ccos.c.
12013         * s_ccosh_template.c: Copy of s_ccosh.c.
12015 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12017         * stdlib/tst-strtod-round-skeleton.c:
12018         Refactored from tst-strtod-round.c.
12020         (L_): New macro to apply literal modifier.
12021         (FNPFX): New macro to select str or wcs prefix.
12022         (CHAR): New macro to choose wchar_t or char.
12023         (STRM): New macro to choose printf for tested character type.
12025         (STRTO): New macro to choose appropriate string -> real function.
12026         (FNPFXS): Stringitized version of FNPFX.
12027         (STR): Support for above macro.
12028         (STRX): Likewise.
12030         (TEST): Update with above macros.
12031         (test): Likewise.
12032         (GEN_ONE_TEST): Likewise.
12033         (test_in_one_mode): Likewise.
12035         * stdlib/tst-strtod-round.c: New file.
12036         * wcsmbs/tst-wcstod-round.c: New file.
12038         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12039         (tst-wcstod-round): Add libm depencency for fesetround.
12041 2016-08-19  Zack Weinberg  <zackw@panix.com>
12043         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12045 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12047         [BZ #20477]
12048         * resolv/res_hconf.c (do_init): Use atomic access.
12049         * resolv/res_hconf.h: Add comments.
12050         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12051         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12052         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12054 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12056         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12057         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12058         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12059         Likewise.
12061 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12063         [BZ #16907]
12064         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12065         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12066         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12067         (__attribute__): Remove definition.
12069 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12071         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12072         Remove unused sqrtl declaration.
12074 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12076         * math/Makefile: (gen-libm-templates.stmp): New rule.
12077         (libm-calls): Move carg conj cimag and cabs into ...
12078         (gen-libm-calls): New variable.
12079         (generated): Inform Make objects from gen-libm-calls
12080         may be generated.
12082         * sysdeps/generic/math-type-macros.h: New file.
12083         * sysdeps/generic/math-type-macros-float.h: Likewise.
12084         * sysdeps/generic/math-type-macros-double.h: Likewise.
12085         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12086         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12087         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12089         * math/cabs.c: Refactor into
12090         * math/cabs_template.c: new file.
12091         * math/cabsf.c: Removed.
12092         * math/cabsl.c: Removed.
12093         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12094         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12096         * math/carg.c: Refactor into
12097         * math/carg_template.c: new file.
12098         * math/cargf.c: Removed.
12099         * math/cargl.c: Removed.
12100         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12101         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12103         * math/conj.c: Refactor into
12104         * math/conj_template.c: new file.
12105         * math/conjf.c: Removed.
12106         * math/conjl.c: Removed.
12107         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12108         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12110         * math/cimag.c: Refactor into
12111         * math/cimag_template.c: new file.
12112         * math/cimagf.c: Removed.
12113         * math/cimagl.c: Removed.
12114         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12115         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12117         * math/cimag.c: Refactor into
12118         * math/cimag_template.c: new file.
12119         * math/cimagf.c: Removed.
12120         * math/cimagl.c: Removed.
12121         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12122         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12124 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12126         Reduce time to expected nptl/tst-once5 failure.
12127         * nptl/tst-once5.cc (TIMEOUT): Define.
12129 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12131         [BZ #20452]
12132         Avoid additional copies of objects in libc.a in static libraries.
12133         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12134         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12135         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12136         rt-sysdep.
12137         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12138         Add nptl-sysdep.
12139         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12140         Add ptw-sysdep.
12141         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12142         rt-sysdep.
12143         * sysdeps/unix/sysv/linux/alpha/Makefile
12144         (libpthread-shared-only-routines): Add ptw-sysdep,
12145         ptw-sigprocmask, ptw-rt_sigaction.
12146         * sysdeps/unix/sysv/linux/ia64/Makefile
12147         (librt-shared-only-routines): Add rt-sysdep.
12148         * sysdeps/unix/sysv/linux/i386/Makefile
12149         (libpthread-shared-only-routines): Add libc-do-syscall.
12150         * sysdeps/unix/sysv/linux/microblaze/Makefile
12151         (libpthread-shared-only-routines): Add sysdep.
12152         * sysdeps/unix/sysv/linux/powerpc/Makefile
12153         (librt-shared-only-routines): Add rt-sysdep.
12154         (libpthread-shared-only-routines): Add sysdep.
12155         * sysdeps/unix/sysv/linux/s390/Makefile
12156         (librt-shared-only-routines): Add rt-sysdep.
12157         * sysdeps/unix/sysv/linux/sparc/Makefile
12158         (librt-shared-only-routines): Add rt-sysdep.
12159         (libpthread-shared-only-routines): Add sysdep.
12160         * sysdeps/unix/sysv/linux/tile/Makefile
12161         (libpthread-shared-only-routines): Likewise.
12163 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12165         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12166         Mask implicit bit out of unpacked value.
12167         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12171         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12173         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12175         * sysdeps/s390/fpu/fesetexcept.c: New file.
12177         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12178         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12179         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12181         * sysdeps/mips/fpu/fesetexcept.c: New file.
12183         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12185         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12187         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12189         * sysdeps/arm/fesetexcept.c: New file.
12191         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12193         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12195         * math/fesetexcept.c: New file.
12196         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12197         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12198         * math/fenv.h: Define
12199         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12200         <bits/libc-header-start.h> instead of including <features.h>.
12201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12202         declaration.
12203         * manual/arith.texi (fesetexcept): Document function.
12204         * math/Versions (fesetexcept): New libm symbol at version
12205         GLIBC_2.25.
12206         * math/Makefile (libm-support): Add fesetexcept.
12207         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12208         * math/test-fesetexcept.c: New file.
12209         * math/test-fesetexcept-traps.c: Likewise.
12210         * sysdeps/nacl/libm.abilist: Update.
12211         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12212         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12213         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12214         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12215         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12216         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12217         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12218         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12219         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12220         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12221         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12222         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12224         Likewise.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12226         Likewise.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12228         Likewise.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12230         Likewise.
12231         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12232         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12233         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12234         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12235         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12237         Likewise.
12238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12239         Likewise.
12240         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12241         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12242         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12244 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12246         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12247         New.
12248         (do_test): Apply default_stack_size_in_mb if not set.
12249         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12251 2016-08-15  Andreas Schwab  <schwab@suse.de>
12253         [BZ #20435]
12254         CVE-2016-6323
12255         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12256         as .cantunwind.
12258 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12260         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12261         comment from fraiseexcpt.c.
12263         * math/test-fexcept.c (feraiseexcept_exact): New function.
12264         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12265         (test_except): Likewise.
12267 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12269         [BZ #20455]
12270         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12271         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12272         to be restored.
12274         * math/test-fexcept-traps.c: New file.
12275         * math/test-fexcept.c: Likewise.
12276         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12277         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12278         macro.
12279         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12280         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12282 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12284         * include/atomic.h (atomic_fetch_and_relaxed,
12285         atomic_fetch_and_release, atomic_fetch_or_release,
12286         atomic_fetch_xor_release): New.
12288 2016-08-06  Christian Seiler  <christian@iwakd.de>
12290         [BZ #20444]
12291         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12292         MACH_PORT_NULL.
12294 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12296         * math/s_fdim.c: Avoid alias renamed.
12297         * math/s_fdimf.c: Likewise.
12298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12299         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12300         Add s_fdimf-vis3, s_fdim-vis3.
12301         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12302         (CFLAGS-s_fdim-vis3.c): Likewise.
12303         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12304         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12306 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12309         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12310         Remove s_fdimf-vis3, s_fdim-vis3.
12311         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12312         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12319         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12320         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12322 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12324         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12325         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12326         -Wa,-Av9a -mvis.
12328 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12330         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12331         LIT() to individual constants in simple expressions
12332         after splitting on spaces.
12333         (_apply_lit): Rename replaced version, and use it to
12334         apply to what appears to be a token.
12336         * math/libm-test.inc: Fix many, many issues with
12337         spacing.
12339 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12341         * math/math.h: Move comment about <bits/mathdef.h> definitions
12342         above inclusion of <bits/mathdef.h>.  Do not mention
12343         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12345 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12347         * include/atomic.h (atomic_exchange_relaxed): New.
12349 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12351         * math/e_scalb.c: Do not include <fenv.h>.
12352         (invalid_fn): Do calculation resulting in NaN instead of raising
12353         FE_INVALID and returning a NaN explicitly.
12354         * math/e_scalbf.c: Do not include <fenv.h>.
12355         (invalid_fn): Do calculation resulting in NaN instead of raising
12356         FE_INVALID and returning a NaN explicitly.
12357         * math/e_scalbl.c: Do not include <fenv.h>.
12358         (invalid_fn): Do calculation resulting in NaN instead of raising
12359         FE_INVALID and returning a NaN explicitly.
12361 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12363         * po/de.po: Updated from Translation Project.
12364         * po/fi.po: Likewise.
12365         * po/sv.po: Likewise.
12367 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12369         [BZ #20452]
12370         Use sysdep.o from libc.a in static libraries.
12371         * sysdeps/unix/sysv/linux/i386/Makefile
12372         (libpthread-shared-only-routines): Add sysdep.
12373         (librt-shared-only-routines): Likewise.
12375 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12377         * math/tgmath.h (nextdown): Define if
12378         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12379         (nextup): Likewise.
12381         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12382         macro.
12383         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12384         Document.
12385         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12386         Document macro.
12387         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12388         (exp10f): Likewise.
12389         (exp10l): Likewise.
12390         * math/bits/mathcalls.h (exp10): Declare if
12391         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12393         * manual/arith.texi (nextup): Fix typo in last change.
12395 2016-08-03  Zack Weinberg  <zackw@panix.com>
12397         [BZ #19239]
12398         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12399         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12400         define major, minor, and makedev to issue deprecation warnings on use.
12401         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12402         previously-activated deprecation warnings for these macros and prevent
12403         subsequent inclusions of this header from having any effect.
12404         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12405         including <sys/sysmacros.h>, and undefine it again afterward.
12407 2016-08-03  Zack Weinberg  <zackw@panix.com>
12409         * sysdeps/generic/sys/sysmacros.h: Delete file.
12410         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12411         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12412         * bits/sysmacros.h: ... here; this encoding is now the generic
12413         encoding.  Now defines only the following macros:
12414         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12415         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12416         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12418         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12419         bits/sysmacros.h and the above new macros to generate the
12420         public implementations of major, minor, and makedev.
12421         * misc/tst-makedev.c: New test.
12422         * include/sys/sysmacros.h: New wrapper.
12424         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12425         (routines): Add makedev.
12426         (tests): Add tst-makedev.
12427         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12428         gnu_dev_makedev.
12429         * posix/Makefile (headers): Remove sys/sysmacros.h.
12430         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12432         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12433         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12434         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12435         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12436         * sysdeps/unix/sysv/linux/arm/libc.abilist
12437         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12438         * sysdeps/unix/sysv/linux/i386/libc.abilist
12439         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12440         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12441         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12442         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12443         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12444         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12445         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12446         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12447         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12452         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12453         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12454         * sysdeps/unix/sysv/linux/sh/libc.abilist
12455         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12456         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12459         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12460         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12461         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12462         Add GLIBC_2.25.
12464         * include/features.h (__glibc_clang_prereq): New macro.
12465         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12466         (__attribute_deprecated_msg__): New macros.
12468 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12470         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12471         macro.
12472         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12473         * manual/arith.texi (issignaling): Document as ISO from TS
12474         18661-1:2014.
12475         (nextup): Likewise.
12476         (nextupf): Likewise.
12477         (nextupl): Likewise.
12478         (nextdown): Likewise.
12479         (nextdownf): Likewise.
12480         (nextdownl): Likewise.
12481         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12482         macro.
12483         * math/math.h: Define
12484         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12485         <bits/libc-header-start.h> instead of including <features.h>.
12486         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12487         [__USE_GNU].
12488         * math/bits/mathcalls.h (nextdown): Declare if
12489         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12490         (nextup): Likewise.
12491         (__issignaling): Likewise.
12493 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12495         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12496         check, and remove __glibc_likely hint
12497         from FP_INFINITE check.
12498         * s_csinhf.c (__csinhf): Likewise.
12500         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12501         hint from FP_INFINITE check.
12502         * s_csinhl.c (__csinhl): Likewise.
12504 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12506         * math/Makefile (libm-calls): Insert F placeholder into
12507         object names.  Move w_lgamma_compat* routines into
12508         (libm-compat-calls): New variable.
12509         (libm-compat-calls-ldouble-yes): New variable.
12510         (calls): Insert F placeholder.
12511         (generated): Redefine using new type-foreach macro call.
12512         (routines): Likewise.
12514         (types): New variable to hold a list of symbolic names
12515         for each type supported by the target machine.
12516         (libm-routines): Redefine using new types variable.
12517         (type-foreach): macro to replace fooF with the
12518         appropriately suffixed foo for each types.
12520         (type-ldouble-suffix): New variable.
12521         (type-ldouble-routines): Likewise.
12522         (type-ldouble-yes): Likewise.
12523         (type-double-suffix): Likewise.
12524         (type-double-routines): Likewise.
12525         (type-float-suffix): Likewise.
12526         (type-float-routines): Likewise.
12528         (dbl-only-routines): Remove.
12529         (long-c-yes): Likewise.
12530         (long-m-routines): Likewise.
12531         (long-m-support): Likewise.
12532         (long-m-yes): Likewise.
12533         (test-longdouble-yes): Likewise.
12535         (test-float.o): Simplify by increasing the scope of the
12536         recipe which adds libm-test.stmp to the vector types.
12537         (test-ifloat.o): Likewise.
12538         (test-float-finite.o): Likewise.
12539         (test-double.o): Likewise
12540         (test-idouble.o): Likewise.
12541         (test-double-finite.o): Likewise.
12542         (test-ldouble.o): Likewise
12543         (test-ildoubl.o): Likewise.
12544         (test-ldouble-finite.o): Likewise.
12546         (libm-tests): Redefine type tests using foreach and the
12547         list of types in types.
12549         (CPPFLAGS-test-ildoubl.c): Rename to
12550         (CPPFLAGS-test-ildouble.c): New variable
12552         * math/test-ildoubl.c: Rename to
12553         * math/test-ildouble.c: New file.
12555 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12557         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12558         Use fabsl instead of fabs.
12559         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12560         Likewise.
12561         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12562         Add long double suffix to constant to ensure proper
12563         promotion to long double.
12565 2016-08-03  Tom Tromey  <tom@tromey.com>
12567         [BZ #20311]
12568         * nptl_db/Makefile (headers): Add proc_service.h.
12569         * nptl_db/proc_service.h: Add include guard.  Use
12570         __BEGIN/__END_DECLS.
12571         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12572         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12573         arguments.
12576 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12578         [BZ #17730]
12579         Avoid using memalign for TCB allocations.
12580         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12581         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12582         Avoid alignment gap in the TLS_DTV_AT_TP case.
12583         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12584         determine the pointer to free.
12585         * nptl/tst-tls3-malloc.c: New test.
12586         * nptl/Makefile (tests): Add it.
12587         (tst-tls3-malloc): Link with libdl, libpthread.
12588         (LDFLAGS-tst-tls3-malloc): Set.
12589         (tst-tls3-malloc.out): Depend on DSO used in test.
12591 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12593         [BZ #17730]
12594         Avoid using memalign for TLS allocations.
12595         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12596         is_static member with to_free member.
12597         (union dtv): Use struct dtv_pointer.
12598         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12599         dtv_pointer instead of is_static.
12600         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12601         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12602         instead of val.
12603         (allocate_dtv_entry): New function.
12604         (allocate_and_init): Return struct dtv_pointer.  Call
12605         allocate_dtv_entry instead of __libc_memalign.
12606         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12607         instead of val.
12608         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12609         instead of is_static.  Adjust call to allocate_and_init.
12610         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12611         struct dtv_pointer instead of val.
12613 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12615         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12616         (MALLOC_ALIGN_MASK): Move ...
12617         * malloc/malloc-internal.h: ... to here.
12618         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12620 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12622         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12623         (UDP_ENCAP_GTP1U): Likewise.
12625         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12626         (PF_MAX): Update value.
12627         (AF_QIPCRTR): New macro.
12629 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12631         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12632         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12633         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12634         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12635         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12636         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12637         s_truncf-vis3, s_trunc-vis3.
12638         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12639         (CFLAGS-s_ceil-vis3.c): Likewise.
12640         (CFLAGS-s_floorf-vis3.c): Likewise.
12641         (CFLAGS-s_floor-vis3.c): Likewise.
12642         (CFLAGS-s_truncf-vis3.c): Likewise.
12643         (CFLAGS-s_trunc-vis3.c): Likewise.
12644         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12645         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12650         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12651         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12652         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12653         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12654         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12655         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12657 2016-08-02  David S. Miller  <davem@davemloft.net>
12659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12660         (__nearbyint_vis3): Don't check for sNaN before float register is
12661         loaded with the incoming argument.
12662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12663         (__nearbyintf_vis3): Likewise.
12664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12665         Likewise.
12666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12667         Likewise.
12669         * string/test-strncmp.c (do_test_limit): Make sure the test data
12670         stream is aligned as required for the type "CHAR".
12671         (do_test): Likewise.
12673 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12675         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12676         by beq instructions jumping to the end of the function.
12677         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12678         clobber list. Use "i" constraint instead of "X".
12679         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12680         of "X".
12682 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12684         * bits/libc-header-start.h: New file.
12685         * Makefile (headers): Add bits/libc-header-start.h.
12686         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12687         (__GLIBC_USE): New macro.
12688         * libio/stdio.h: Define
12689         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12690         <bits/libc-header-start.h> instead of including <features.h>.
12691         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12692         (open_memstream): Likewise.
12693         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12694         (__asprintf): Likewise.
12695         (asprintf): Likewise.
12696         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12697         (getdelim): Likewise.
12698         (getline): Likewise.
12699         * string/string.h: Define
12700         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12701         <bits/libc-header-start.h> instead of including <features.h>.
12702         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12703         (strndup): Likewise.
12704         * wcsmbs/wchar.h: Define
12705         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12706         <bits/libc-header-start.h> instead of including <features.h>.
12707         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12708         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12710 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12712         Support linking against compatibility symbols, for use in tests.
12713         * include/libc-symbols.h (symbol_version_reference): New macro.
12714         (symbol_version): Use it.
12715         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12716         (compat_symbol): Use compat_symbol_reference.
12717         (compat_symbol_1, compat_symbol_2): Remove.
12718         (compat_symbol_reference, compat_symbol_reference_1)
12719         (compat_symbol_reference_2): New macro.  Use
12720         symbol_version_reference.
12722 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12724         [BZ #19469]
12725         * malloc/Makefile (CPPFLAGS): Compile tests with
12726         -DTEST_NO_MALLOPT.
12727         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12729 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12731         [BZ #20033]
12732         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12733         finite version.
12734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12735         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12736         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12737         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12738         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12739         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12742         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12743         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12744         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12745         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12746         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12747         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12748         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12749         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12751         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12752         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12753         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12754         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12755         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12756         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12757         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12758         in zero power.
12760 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12762         [BZ #20370]
12763         * malloc/arena.c (get_free_list): Update comment.  Assert that
12764         arenas on the free list have no attached threads.
12765         (remove_from_free_list): New function.
12766         (reused_arena): Call it.
12768 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12770         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12771         when it is a NaN.
12772         [_IEEE_FP_INEXACT] Remove.
12773         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12774         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12775         when it is a NaN.
12776         [_IEEE_FP_INEXACT] Remove.
12777         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12778         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12779         when it is a NaN.
12780         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12781         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12782         when its absolute value is greater than 0x1.0p52.
12783         [_IEEE_FP_INEXACT] Remove.
12784         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12785         when its absolute value is greater than 0x1.0p23.
12786         [_IEEE_FP_INEXACT] Remove.
12788 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12790         * version.h (RELEASE): Set to "development"
12791         (VERSION): Set to 2.24.90.
12792         * NEWS: Add 2.25 section.
12794         * version.h (RELEASE): Set to "stable"
12795         (VERSION): Set to 2.24.
12796         * include/features.h (__GLIBC_MINOR__): Set to 24.
12798         * NEWS: Add 2.24 fixed bugs.
12799         * po/libc.pot: Regenerate.
12801 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12804         [$(subdir) = math] (libm-sysdep_routines): Remove.
12805         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12806         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12807         s_truncf-vis3, s_trunc-vis3.
12808         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12810         file.
12811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12832         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12835         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12836         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12837         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12838         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12839         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12840         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12841         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12842         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12844         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12845         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12846         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12847         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12848         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12849         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12850         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12851         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12852         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12853         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12855 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12857         [BZ #20384]
12858         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12859         test-double-libmvec-sincos-avx-main.o,
12860         test-double-libmvec-sincos-avx2-main.o,
12861         test-double-libmvec-sincos-main.o,
12862         test-float-libmvec-sincosf-avx-main.o,
12863         test-float-libmvec-sincosf-avx2-main.o and
12864         test-float-libmvec-sincosf-main.o.
12865         test-float-libmvec-sincosf-avx512-main.o.
12866         ($(objpfx)test-double-libmvec-sincos): Also link with
12867         $(objpfx)test-double-libmvec-sincos-main.o.
12868         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12869         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12870         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12871         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12872         ($(objpfx)test-float-libmvec-sincosf): Also link with
12873         $(objpfx)test-float-libmvec-sincosf-main.o.
12874         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12875         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12876         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12877         test-double-libmvec-sincos-avx512-main.o and
12878         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12879         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12880         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12881         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12882         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12883         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12884         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12885         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12886         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12887         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12888         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12889         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12890         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12891         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12892         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12893         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12894         -DREQUIRE_AVX2.
12895         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12896         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12897         -DREQUIRE_AVX512F.
12898         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12899         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12900         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12901         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12902         file.
12903         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12904         Likewise.
12905         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12906         Likewise.
12907         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12908         Likewise.
12909         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12910         Likewise.
12911         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12912         Likewise.
12913         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12914         Likewise.
12915         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12916         Likewise.
12918 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12920         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12922 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12924         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12925         and typo in a comment about AT_HWCAP entry.
12927 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12929         * sysdeps/aarch64/libm-test-ulps: Updated.
12931 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12933         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12934         of r13 as it is not restored in mvcle case.
12936 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12938         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12939         Rename "ret" to "__ret".
12940         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12941         inline_syscall5, inline_syscall6): Likewise.
12943 2016-07-19   Will Newton  <will.newton@gmail.com>
12945         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12946         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12947         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12948         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12949         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12951 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12953         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12954         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12955         -mfpmath=387 with $(rtld-CFLAGS).
12956         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12957         $(rtld-CFLAGS).
12959 2016-07-18   Ross Burton  <ross.burton@intel.com>
12960              Khem Raj  <raj.khem@gmail.com>
12962         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12963         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12964         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12965         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12966         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12967         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12968         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12969         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12970         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12971         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12972         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12973         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12974         R_METAG_TLS_DTPOFF): New.
12976 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12977             Matt Clay  <mclay@lycos.com>
12979         [BZ #20357]
12980         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12981         to call __mpsin/__mpcos and to negate values.
12982         * math/auto-libm-test-in: Add test.
12983         * math/auto-libm-test-out: Regenerate.
12985 2016-07-18  Zack Weinberg  <zackw@panix.com>
12987         * grp/Makefile: Don't install the internal header grp-merge.h.
12989 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12991         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12993 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12995         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12997 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12999         [BZ #15368]
13000         * sysdeps/unix/sysv/linux/nptl-signals.h
13001         (__nptl_clear_internal_signals): New function.
13002         (__libc_signal_block_all): Likewise.
13003         (__libc_signal_block_app): Likewise.
13004         (__libc_signal_restore_set): Likewise.
13005         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13006         implementation.
13007         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13008         the cached pid/tid value in pthread structure.
13010 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13012         [BZ #20347]
13013         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13015 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13017         [BZ #20348]
13018         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13019         preadv64, pwrite64 and pwritev64.
13021 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13023         [BZ #20350]
13024         * posix/tst-preadwrite.c: Renamed to ...
13025         * posix/tst-preadwrite-common.c: This.
13026         (PREAD): Removed.
13027         (PWRITE): Likewise.
13028         (STRINGIFY): Likewise.
13029         (STRINGIFY2): Likewise.
13030         (do_prepare): Make it static and remove function arguments.
13031         (do_test): Likewise.
13032         (PREPARE): Updated.
13033         (TEST_FUNCTION): New.
13034         (name): Make it static.
13035         (fd): Likewise.
13036         (do_prepare): Use create_temp_file.
13037         (do_test): Renamed to ...
13038         (do_test_with_offset): This.  Make it static and accept offset.
13039         Properly check return value of PWRITE and PREAD.  Return bytes
13040         read.  Don't close fd nor unlink name.
13041         * posix/tst-preadwrite.c: Rewrite.
13042         * posix/tst-preadwrite64.c: Likewise.
13044 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13046         [BZ #20309]
13047         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13048         -mtls-dialect=gnu2 works.
13049         * configure: Regenerated.
13050         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13051         (tests): Add tst-gnu2-tls1.
13052         (modules-names): Add tst-gnu2-tls1mod.
13053         ($(objpfx)tst-gnu2-tls1): New.
13054         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13055         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13056         * elf/tst-gnu2-tls1.c: New file.
13057         * elf/tst-gnu2-tls1mod.c: Likewise.
13058         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13059         bytes for push in the PLT entry to align the stack.
13061 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13063         [BZ #20349]
13064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13066 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13068         [BZ #18707]
13069         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13070         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13072 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13074         * sysdeps/unix/sysv/linux/sysdep.h
13075         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13076         guards.
13077         * misc/tst-preadvwritev-common.c: New file.
13078         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13079         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13080         a check for files larger than 2GB.
13082         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13083         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13084         * sysdeps/unix/sysv/linux/pread.c
13085         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13086         __OFF_T_MATCHES_OFF64_T.
13087         * sysdeps/unix/sysv/linux/pread64.c
13088         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13089         * sysdeps/unix/sysv/linux/preadv.c
13090         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13091         * sysdeps/unix/sysv/linux/preadv64.c
13092         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13093         * sysdeps/unix/sysv/linux/pwrite.c
13094         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13095         * sysdeps/unix/sysv/linux/pwrite64.c
13096         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13097         * sysdeps/unix/sysv/linux/pwritev.c
13098         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13099         * sysdeps/unix/sysv/linux/pwritev64.c
13100         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13102 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13104         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13105         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13107 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13109         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13111 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13113         [BZ #20240]
13114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13115         (CFLAGS-s_modf-ppc32.c): New variable.
13116         (CFLAGS-s_modff-ppc32.c): Likewise.
13117         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13118         (CFLAGS-s_modf-ppc64.c): Likewise.
13119         (CFLAGS-s_modff-ppc64.c): Likewise.
13121 2016-07-07  Andreas Schwab  <schwab@suse.de>
13123         [BZ #20263]
13124         * nptl/tst-robust10.c: New test.
13125         * nptl/Makefile (tests): Add tst-robust10.
13127 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13129         [BZ #20263]
13130         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13132 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13134         * sysdeps/s390/linkmap.h (struct link_map_machine):
13135         Remove member gotplt and add member jmprel.
13136         * sysdeps/s390/s390-32/dl-machine.h
13137         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13138         instead of gotplt with &got[3].
13139         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13140         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13142 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13144         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13146 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13148         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13149         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13150         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13151         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13152         * libio/vtables.c (_IO_vtable_check)
13153         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13154         * libio/libioP.h (IO_set_accept_foreign_vtables)
13155         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13157 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13159         [BZ #20314]
13160         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13161         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13162         $(common-objpfx)cmath.
13163         ($(common-objpfx)cstdlib): New target.
13164         ($(common-objpfx)cmath): Likewise.
13166 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13168         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13170 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13172         [BZ #20327]
13173         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13174         are not part of the string.
13176 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13178         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13179         * nptl/tst-cancel4-common.h (fifoname): New variable.
13180         (fifofd): Likewise.
13181         (cl_fifo): New function.
13182         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13183         SIGINT.
13184         (tf_open): Add early cancel test.
13186 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13188         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13190 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13192         * sysdeps/generic/ldsodefs.h
13193         (dl_symbol_visibility_binds_local_p): New inline function.
13194         * elf/dl-addr.c (determine_info): Treat hidden and internal
13195         symbols as local.
13196         * elf/dl-lookup.c (do_lookup_x): Likewise.
13197         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13199 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13201         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13202         invalid exception for a sNaN input.
13203         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13204         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13205         (__nearbyint_vis3): Likewise
13206         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13207         (__nearbyintf_vis3): Likewise
13208         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13209         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13210         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13211         Likewise.
13212         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13213         Likewise.
13215 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13217         [BZ #20139]
13218         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13219         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13220         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13221         2.24 or above.
13222         (HAVE_AVX512_ASM_SUPPORT): Removed.
13223         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13224         * sysdeps/x86_64/configure: Regenerated.
13225         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13226         check unconditional.
13227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13228         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13229         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13230         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13231         Likewise.
13232         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13233         Likewise.
13234         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13235         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13236         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13237         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13238         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13239         Likewise.
13240         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13241         Likewise.
13242         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13243         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13245         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13246         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13247         Likewise.
13248         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13249         Likewise.
13250         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13251         Likewise.
13252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13253         Likewise.
13254         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13255         Likewise.
13256         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13257         Likewise.
13258         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13259         Likewise.
13260         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13261         Likewise.
13262         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13263         Likewise.
13264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13265         Likewise.
13266         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13267         Likewise.
13269 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13271         [BZ #20024]
13272         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13274         of this implementation of vector function.
13275         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13276         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13278         Likewise.
13279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13280         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13281         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13282         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13283         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13284         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13285         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13286         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13287         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13288         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13289         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13290         for testing vector sincos with fixed ABI.
13291         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13292         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13294         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13295         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13296         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13297         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13298         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13299         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13300         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13301         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13302         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13303         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13304         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13305         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13306         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13308 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13310         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13312 2016-06-30  Anton Blanchard  <anton@samba.org>
13314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13315         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13316         s_sinf-ppc64.
13317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13320         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13322 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13326         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13327         e_expf-ppc64.
13328         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13329         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13330         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13331         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13333 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13335         [BZ #20277]
13336         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13337         when SHARED is defined.
13339 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13341         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13342         (index_arch_Prefer_ERMS): Likewise.
13343         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13344         __memcpy_erms for Prefer_ERMS.
13345         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13346         (__memmove_erms): Enabled for libc.a.
13347         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13348         __memmove_erms or Prefer_ERMS.
13349         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13350         __mempcpy_erms for Prefer_ERMS.
13351         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13352         __memset_erms for Prefer_ERMS.
13354 2016-06-30  Andreas Schwab  <schwab@suse.de>
13356         [BZ #20262]
13357         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13358         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13359         of memory.
13361 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13363         [BZ #18645]
13364         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13365         (test-extras): Add tst-cleanupx4aux.
13366         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13367         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13368         tst-cleanupx4aux.o.
13369         * nptl/tst-cleanupx4aux.c: New file.
13371 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13373         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13375 2016-06-29  Andreas Schwab  <schwab@suse.de>
13377         [BZ #20260]
13378         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13379         address before the beginning of the string as an integer to avoid
13380         array-bounds warning.
13382 2016-06-28  Richard Henderson  <rth@redhat.com>
13384         * elf/elf.h (EM_BPF): New.
13385         (EM_NUM): Update.
13386         (R_BPF_NONE, R_BPF_MAP_FD): New.
13388         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13389         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13390         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13391         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13392         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13393         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13394         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13395         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13396         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13397         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13398         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13399         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13400         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13401         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13402         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13403         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13404         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13405         (EM_NUM): Update.
13407 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13409         [BZ #18960]
13410         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13411         Set _nl_current_LC_CATEGORY_used to two instead of one.
13413 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13415         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13416         (do_test): ... this.
13417         (TEST_FUNCTION): New macro.
13418          Include test-skeleton.c.
13419         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13420         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13422 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13424         [BZ #15479]
13425         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13426         floating-point environment rather than just control word.
13427         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13428         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13429         floating-point environment, with "invalid" exceptions merged in,
13430         rather than just control word.
13431         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13432         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13433         "inexact" exceptions.
13435         [BZ #15479]
13436         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13437         floating-point environment rather than just control word.
13438         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13439         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13440         floating-point environment, with "invalid" exceptions merged in,
13441         rather than just control word.
13442         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13443         * math/libm-test.inc (floor_test_data): Do not allow spurious
13444         "inexact" exceptions.
13446         [BZ #15479]
13447         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13448         floating-point environment rather than just control word.
13449         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13450         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13451         floating-point environment, with "invalid" exceptions merged in,
13452         rather than just control word.
13453         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13454         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13455         "inexact" exceptions.
13457 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13459         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13460         __libc_vfork.
13461         (__vfork) [IS_IN (libc)]: Remove alias.
13462         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13463         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13464         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13466 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13468         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13469         of atomic_compare_and_exchange_bool_rel.
13470         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13471         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13472         catomic_compare_and_exchange_bool_rel): Remove.
13473         * sysdeps/aarch64/atomic-machine.h
13474         (atomic_compare_and_exchange_bool_rel): Likewise.
13475         * sysdeps/alpha/atomic-machine.h
13476         (atomic_compare_and_exchange_bool_rel): Likewise.
13477         * sysdeps/arm/atomic-machine.h
13478         (atomic_compare_and_exchange_bool_rel): Likewise.
13479         * sysdeps/mips/atomic-machine.h
13480         (atomic_compare_and_exchange_bool_rel): Likewise.
13481         * sysdeps/microblaze/atomic-machine.h
13482         ( __arch_compare_and_exchange_bool_8_rel,
13483         __arch_compare_and_exchange_bool_16_rel): Likewise.
13484         * sysdeps/powerpc/atomic-machine.h
13485         ( __arch_compare_and_exchange_bool_8_rel,
13486         __arch_compare_and_exchange_bool_16_rel): Likewise.
13487         * sysdeps/powerpc/powerpc32/atomic-machine.h
13488         ( __arch_compare_and_exchange_bool_32_rel,
13489         __arch_compare_and_exchange_bool_64_rel): Likewise.
13490         * sysdeps/powerpc/powerpc64/atomic-machine.h
13491         ( __arch_compare_and_exchange_bool_32_rel,
13492         __arch_compare_and_exchange_bool_64_rel): Likewise.
13493         * sysdeps/tile/atomic-machine.h
13494         (atomic_compare_and_exchange_bool_rel): Likewise.
13496 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13498         [BZ #20296]
13499         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13500         when either argument is a NaN.
13501         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13502         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13504         * math/libm-test.inc (snan_value_ld): New macro.
13505         (isgreater_test_data): Add sNaN tests.
13506         (isgreaterequal_test_data): Likewise.
13507         (isless_test_data): Likewise.
13508         (islessequal_test_data): Likewise.
13509         (islessgreater_test_data): Likewise.
13510         (isunordered_test_data): Likewise.
13511         (nextafter_test_data): Likewise.
13512         (nexttoward_test_data): Likewise.
13513         (remainder_test_data): Likewise.
13514         (remquo_test_data): Likewise.
13515         (significand_test_data): Likewise.
13516         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13518 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13520         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13521         environment macros are defined.
13522         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13524 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13526         [BZ #20191]
13527         Implement vtable verification in libio.
13528         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13529         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13530         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13531         _IO_new_file_init_internal instead of _IO_file_init.
13532         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13533         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13534         * libio/Makefile (routines): Add vtables.
13535         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13536         (_IO_init): Remove, not for internal use.
13537         (_IO_init_internal): Declare, internal replacement for _IO_init.
13538         (_IO_file_init): Remove, not for internal use.
13539         (_IO_new_file_init): Remove, not for internal use.
13540         (_IO_new_file_init_internal): Declare, internal replacement for
13541         _IO_new_file_init.
13542         (_IO_old_file_init): Remove, not for internal use.
13543         (_IO_old_file_init_internal): Declare, internal replacement for
13544         _IO_old_file_init.
13545         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13546         internal use.
13547         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13548         Declare.
13549         (libio_vtable): New macro.
13550         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13551         functions.
13552         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13553         _IO_new_file_init.
13554         (_IO_new_file_init): New externally visible wrapper which disables
13555         vtable verification.
13556         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13557         Define as vtables.
13558         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13559         (_IO_init): New externally visible wrapper which disables
13560         vtable verification.
13561         * libio/iofdopen.c (_IO_new_fdopen): Call
13562         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13563         comment.
13564         * libio/iofopen.c (__fopen_internal): Call
13565         _IO_new_file_init_internal instead of _IO_file_init.
13566         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13567         Define as vtables.
13568         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13569         _IO_new_file_init_internal instead of _IO_file_init.
13570         * libio/iopopen.c (_IO_new_popen): Likewise.
13571         (_IO_proc_jumps): Define as vtable.
13572         * libio/iovdprintf.c (_IO_vdprintf): Call
13573         _IO_new_file_init_internal instead of _IO_file_init.
13574         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13575         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13576         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13577         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13578         _IO_old_file_init.
13579         (_IO_old_file_init): New externally visible wrapper which disables
13580         vtable verification.
13581         (_IO_old_file_jumps): Define as vtable.
13582         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13583         _IO_old_file_init_internal instead of _IO_old_file_init.
13584         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13585         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13586         (_IO_old_proc_jumps): Define as vtable.
13587         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13588         Define as vtables.
13589         * libio/vtables.c: New file.
13590         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13591         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13592         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13593         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13594         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13595         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13596         instead of _IO_init.
13598 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13600         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13602 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13604         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13605         potentially unused.
13607 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13609         * test-skeleton.c (write_message): New function.
13610         * malloc/tst-mallocfork2.c (write_message): Remove.
13611         * debug/tst-longjmp_chk2.c (write_indented): New function.
13612         (write_message): Remove.
13613         (stackoverflow_handler): Call write_indented.
13615 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13617         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13618         "inexact" exceptions after fnstenv.
13619         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13620         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13621         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13623 2015-06-22  Zack Weinberg  <zackw@panix.com>
13625         * sysdeps/generic/bits/hwcap.h: Moved to ...
13626         * bits/hwcap.h: Here.
13628 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13630         * sysdeps/aarch64/memcpy.S (memcpy):
13631         Further tuning for performance.
13633 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13635         [BZ #20284]
13636         * malloc/arena.c (reused_arena): Do not return NULL if we start
13637         out with a non-corrupted arena.
13639 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13641         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13642         * misc/tst-preadvwritev.c: New file.
13643         * misc/tst-preadvwritev64.c: Likewise.
13644         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13645         usage.
13646         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13647         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13648         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13649         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13651 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13653         [BZ #19654]
13654         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13655         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13656         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13657         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13658         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13659         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13660         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13661         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13662         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13663         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13664         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13665         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13666         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13667         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13668         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13669         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13670         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13671         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13672         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13673         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13674         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13675         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13676         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13677         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13678         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13679         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13681 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13683         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13684         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13686 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13688         * sysdeps/aarch64/memcpy.S (memcpy):
13689         Rewrite of optimized memcpy and memmove.
13690         * sysdeps/aarch64/memmove.S (memmove): Remove
13691         memmove code (merged into memcpy.S).
13693 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13695         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13696         * sysdeps/generic/dl-dtv.h: New file.
13697         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13698         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13699         (dtv_t): Remove.
13700         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13701         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13702         (dtv_t): Remove.
13703         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13704         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13705         (dtv_t): Remove.
13706         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13707         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13708         (dtv_t): Remove.
13709         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13710         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13711         (dtv_t): Remove.
13712         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13713         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13714         (dtv_t): Remove.
13715         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13716         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13717         (dtv_t): Remove.
13718         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13719         (dtv_t): Remove.
13720         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13721         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13722         (dtv_t): Remove.
13723         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13724         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13725         (dtv_t): Remove.
13726         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13727         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13728         (dtv_t): Remove.
13729         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13730         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13731         (dtv_t): Remove.
13732         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13733         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13734         (dtv_t): Remove.
13735         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13736         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13737         (dtv_t): Remove.
13738         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13739         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13740         (dtv_t): Remove.
13741         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13742         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13743         (dtv_t): Remove.
13745 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13747         Revert symbol poisoning of  __malloc_initialize_hook.
13748         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13749         poisoning.
13750         * malloc/Makefile: Remove un-poisoning.
13751         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13752         instead of old__malloc_initialize_hook.
13753         * malloc/malloc-hooks.h: Likewise.
13754         * malloc/malloc.c: Likewise.
13755         * malloc/mcheck-init.c: Likewise.
13757 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13759         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13761 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13763         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13764         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13765         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13766         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13768 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13770         * NEWS: Mention addition of nextup and nextdown.
13771         * manual/arith.texi: Document nextup and nextdown.
13772         * manual/libm-err-tab.pl: Add nextup and nextdown.
13773         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13774         * math/Versions (libm): Add GLIBC_2.24.
13775         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13776         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13777         Add new test.
13778         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13779         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13780         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13781         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13782         (nextup_test_data): Likewise.
13783         (nextdown_test_data): Likewise.
13784         * math/s_nextdown.c: New file.
13785         * math/s_nextdownf.c: Likewise.
13786         * math/s_nextdownl.c: Likewise.
13787         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13788         F(nextup): New function.
13789         F(nextdown): Likewise.
13790         * math/tgmath.h: Add nextup and nextdown.
13791         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13792         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13795         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13796         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13797         Add nextup and nextdown.
13798         (CFLAGS-nldbl-nextup.c): New variable.
13799         (CFLAGS-nldbl-nextdown.c): Likewise.
13800         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13801         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13802         * sysdeps/nacl/libm.abilist: Update.
13803         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13804         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13805         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13806         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13807         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13808         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13809         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13810         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13811         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13812         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13813         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13814         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13817         Likewise.
13818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13820         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13821         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13822         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13823         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13824         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13827         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13828         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13829         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13830         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13832 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13834         * manual/pattern.texi: Fix typos & grammar errors.
13836 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13838         * manual/search.texi: Fix typos & grammar errors.
13840 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13842         * manual/message.texi: Fix typos & grammar errors.
13844 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13846         * manual/contrib.texi: Fix spelling typos.
13847         * manual/crypt.texi: Likewise.
13848         * manual/filesys.texi: Likewise.
13849         * manual/locale.texi: Likewise.
13850         * manual/message.texi: Likewise.
13851         * manual/nss.texi: Likewise.
13852         * manual/string.texi: Likewise.
13854 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13856         * manual/locale.texi: Fix typos & grammar errors.
13858 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13860         * manual/charset.texi: Fix typos & grammar errors.
13862 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13864         * manual/string.texi: Fix typos.
13866 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13868         * manual/ctype.texi: Fix typos.
13870 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13872         * manual/memory.texi: Fix various typos & grammar errors.
13874 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13876         [BZ #20255]
13877         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13878         * math/libm-test.inc (fdim_test_data): Add another test.
13880         [BZ #6796]
13881         [BZ #20255]
13882         [BZ #20256]
13883         * math/s_fdim.c: Include <math_private.h>.
13884         (__fdim): Use math_narrow_eval on result.
13885         * math/s_fdimf.c: Include <math_private.h>.
13886         (__fdimf): Use math_narrow_eval on result.
13887         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13888         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13889         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13890         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13891         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13892         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13893         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13894         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13895         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13896         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13897         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13898         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13899         overflow.  Add sNaN tests.
13901         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13902         fpclassify.
13903         * math/s_fdimf.c (__fdimf): Likewise.
13904         * math/s_fdiml.c (__fdiml): Likewise.
13906 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13908         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13909         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13911         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13912         ifunc'ed strcasecmp/strncasecmp.
13913         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13914         [EALIGN]: Removed.
13915         [END]: Likewise.
13916         [__strcasecmp]: Define instead of the above to control symbol name.
13917         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13918         for __strcasecmp_power8.
13919         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13920         for __strncasecmp_power8.
13921         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13922         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13923         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13924         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13925         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13926         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13928 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13930         [BZ #20252]
13931         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13932         arguments when second argument is a NaN.
13933         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13934         qNaN tests.
13936         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13937         (conj_test_data): Likewise.
13938         (copysign_test_data): Likewise.
13939         (creal_test_data): Likewise.
13940         (fma_test_data): Likewise.
13941         (fmod_test_data): Likewise.
13943         [BZ #20250]
13944         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13945         itself.
13946         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13947         zero input to itself.
13948         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13949         Likewise.
13950         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13951         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13952         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13953         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13954         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13956 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13958         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13959         * nptl/tst-cancel4-common.c: New file.
13960         * nptl/tst-cancel4-common.h: Likewise.
13961         * nptl/tst-cancel4.c: Move common definitions to
13962         tst-cancel4-common.{c,h} file.
13963         * nptl/tst-cancel4_1.c: New test.
13964         * nptl/tst-cancel4_2.c: New test.
13966 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13968         [BZ #20248]
13969         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13970         (write_message): New function.
13971         (stackoverflow_handler): Call it instead of printf, to avoid
13972         excessive stack usage by printf.
13973         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13975 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13977         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13978         (prio_inherit_missing): Remove define.
13979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13980         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13981         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13982         Likewise.
13983         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13984         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13985         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13986         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13987         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13988         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13990 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13992         [BZ #19670]
13993         [BZ #19672]
13995         * io/test-lfs.c (do_prepare): Use xmalloc.
13996         * io/tst-fcntl.c (do_prepare): Likewise.
13997         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13998         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13999         * login/tst-utmp.c (do_prepare): Likewise.
14000         * posix/tst-exec.c (do_prepare): Likewise.
14001         * posix/tst-pathconf.c (prepare): Likewise.
14002         * posix/tst-spawn.c (do_prepare): Likewise.
14003         * posix/tst-truncate.c (do_prepare): Likewise.
14004         * rt/tst-aio.c (do_prepare): Likewise.
14005         * rt/tst-aio64.c (do_prepare): Likewise.
14007 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14009         [BZ #20237]
14010         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14011         (get*ent): Set entidx to NULL during initialization.  If entidx is
14012         NULL, start iteration from the beginning.
14014 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14016         * malloc/malloc.c (musable): Return correct size for dumped fake
14017         mmapped chunk.
14019 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14021         [BZ #20222]
14022         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14023         (_IO_cookie_write): Likewise.
14024         (_IO_cookie_seek): Likewise.
14025         (_IO_cookie_close): Likewise.
14026         (_IO_old_cookie_seek): Likewise.
14027         (set_callbacks): New function.
14028         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14030 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14032         * locale/programs/localedef.c (oldstyle_tables): Remove.
14033         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14035 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14037         [BZ #20240]
14038         * math/Makefile (CFLAGS-s_modf.c): New variable.
14039         (CFLAGS-s_modff.c): Likewise.
14040         (CFLAGS-s_modfl.c): Likewise.
14041         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14043 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14045         [BZ #20215]
14046         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14047         [!__GNUC_PREREQ (3,2)]: Likewise.
14049 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14051         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14052         (msghdr.msg_controllen): Likewise.
14053         (cmsghdr.cmsg_len): Likewise.
14054         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14055         ptw-oldsendmsg.
14056         (CFLAGS-oldrecvmsg.c): Remove rule.
14057         (CFLAGS-oldsendmsg.c): Likewise.
14058         (CFLAGS-recvmsg.c): Add rule.
14059         (CFLAGS-sendmsg.c): Likewise.
14060         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14061         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14062         (CFLAGS-recvmsg.c): Remove rule.
14063         (CFLAGS-sendmsg.c): Likewise.
14064         (CFLAGS-oldrecvmsg.c): Likewise.
14065         (CFLAGS-oldsendmsg.c): Likewise.
14066         (CFLAGS-recvmmsg.c): Likewise.
14067         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14068         to kernel defined interfaces.
14069         (msghdr.msg_controllen): Likewise.
14070         (cmsghdr.cmsg_len): Likewise.
14071         (msghdr.__glibc_reserved1): Remove member.
14072         (msghdr.__glibc_reserved2): Likewise.
14073         (cmsghdr.__glibc_reserved1): Likewise.
14074         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14075         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14076         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14077         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14078         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14079         version.
14080         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14081         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14082         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14083         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14084         Remove recvmsg and sendmsg.
14085         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14086         Likewise.
14087         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14088         Likewise.
14089         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14090         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14091         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14092         Likewise.
14093         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14094         Likewise.
14095         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14096         [libc] (GLIBC_2.24): Likewise.
14097         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14100         Likewise.
14101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14102         [libc] (GLIBC_2.24): Likewise.
14103         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14104         Likewise.
14105         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14106         Likewise.
14107         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14108         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14109         Likewise.
14110         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14111         Likewise.
14112         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14113         Likewise.
14114         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14115         Likewise.
14116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14117         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14118         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14119         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14120         version for {recv,send,recm,sendm}msg.
14121         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14122         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14123         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14124         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14125         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14127         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14128         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14129         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14130         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14131         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14132         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14134         Likewise.
14135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14136         Likewise.
14137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14139         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14140         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14141         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14142         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14143         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14144         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14147         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14148         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14149         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14151 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14153         [BZ #19564]
14154         Remove __malloc_initialize_hook from the API.
14155         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14156         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14157         #pragma GCC poison.
14158         * malloc/malloc-hooks.h: New file.
14159         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14160         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14161         (old__malloc_initialize_hook): Rename from
14162         __malloc_initialize_hook to evade poisoning.  Turn into compat
14163         symbol.
14164         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14165         __malloc_initialize_hook.
14166         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14167         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14168         * manual/memory.texi (Hooks for Malloc): Remove
14169         __malloc_initialize_hook.  Adjust hook example.
14171 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14173         [BZ #20235]
14174         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14175         itself.
14176         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14177         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14179         [BZ #20234]
14180         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14181         infinity or NaN input to itself.
14183         [BZ #20233]
14184         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14185         to itself.
14187         [BZ #20232]
14188         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14189         itself.
14191 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14193         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14194         __libc_start_main via GOT.
14196 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14198         * sysdeps/x86_64/memcopy.h: New file.
14199         * sysdeps/x86_64/wordcopy.c: Likewise.
14201 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14203         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14204         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14205         <cstdlib>.
14206         (optimization_barrier): New.
14207         (do_test): Use it.  Call quick_exit in the global namespace.
14208         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14209         instead of <cstdlib>, <thread>.
14210         (optimization_barrier): New.
14211         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14212         Call quick_exit in the global namespace.
14213         (do_test): Call optimization_barrier.  Use pthread_create,
14214         pthread_join instead of std::thread.
14216 2016-06-09  Andreas Schwab  <schwab@suse.de>
14218         [BZ #19755]
14219         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14220         new entries in auto-propagate mode.
14221         * nscd/grpcache.c (cache_addgr): Likewise.
14223 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14225         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14226         New functions.
14227         (add_temp_file): Use them.
14229 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14231         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14233 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14235         [BZ #20229]
14236         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14237         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14238         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14240         [BZ #20228]
14241         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14242         itself.
14243         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14244         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14246         [BZ #20227]
14247         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14248         itself.
14249         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14250         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14251         * math/libm-test.inc (log_test_data): Add sNaN tests.
14253         [BZ #20226]
14254         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14255         itself.
14256         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14257         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14258         (exp10_test_data): Likewise.
14259         (expm1_test_data): Likewise.
14261         [BZ #20225]
14262         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14263         itself.
14264         * math/s_ldexpf.c (__ldexpf): Likewise.
14265         * math/s_ldexpl.c (__ldexpl): Likewise.
14266         * math/w_scalbln.c (__w_scalbln): Likewise.
14267         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14268         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14269         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14270         (scalbln_test_data): Likewise.
14272         [BZ #20224]
14273         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14274         argument to itself.
14275         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14277 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14279         [BZ #19776]
14280         * sysdeps/x86_64/memcpy.S: Make it dummy.
14281         * sysdeps/x86_64/mempcpy.S: Likewise.
14282         * sysdeps/x86_64/memmove.S: New file.
14283         * sysdeps/x86_64/memmove_chk.S: Likewise.
14284         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14285         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14286         * sysdeps/x86_64/memmove.c: Removed.
14287         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14288         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14289         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14290         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14291         Likewise.
14292         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14293         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14295         memcpy-sse2-unaligned, memmove-avx-unaligned,
14296         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14298         (__libc_ifunc_impl_list): Replace
14299         __memmove_chk_avx512_unaligned_2 with
14300         __memmove_chk_avx512_unaligned.  Remove
14301         __memmove_chk_avx_unaligned_2.  Replace
14302         __memmove_chk_sse2_unaligned_2 with
14303         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14304         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14305         with __memmove_avx512_unaligned.  Replace
14306         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14307         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14308         with __memcpy_chk_avx512_unaligned.  Remove
14309         __memcpy_chk_avx_unaligned_2.  Replace
14310         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14311         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14312         Replace __memcpy_avx512_unaligned_2 with
14313         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14314         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14315         with __mempcpy_chk_avx512_unaligned.  Remove
14316         __mempcpy_chk_avx_unaligned_2.  Replace
14317         __mempcpy_chk_sse2_unaligned_2 with
14318         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14319         Replace __mempcpy_avx512_unaligned_2 with
14320         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14321         Replace __mempcpy_sse2_unaligned_2 with
14322         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14323         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14324         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14325         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14326         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14327         (ENTRY): Removed.
14328         (END): Likewise.
14329         (ENTRY_CHK): Likewise.
14330         (libc_hidden_builtin_def): Likewise.
14331         Don't include ../memcpy.S.
14332         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14333         __memcpy_chk_avx512_unaligned_erms and
14334         __memcpy_chk_avx512_unaligned.  Use
14335         __memcpy_chk_avx_unaligned_erms and
14336         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14337         Default to __memcpy_chk_sse2_unaligned.
14338         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14339         Change function suffix from unaligned_2 to unaligned.
14340         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14341         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14342         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14343         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14344         (ENTRY): Removed.
14345         (END): Likewise.
14346         (ENTRY_CHK): Likewise.
14347         (libc_hidden_builtin_def): Likewise.
14348         Don't include ../mempcpy.S.
14349         (mempcpy): New.  Add a weak alias.
14350         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14351         __mempcpy_chk_avx512_unaligned_erms and
14352         __mempcpy_chk_avx512_unaligned.  Use
14353         __mempcpy_chk_avx_unaligned_erms and
14354         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14355         Default to __mempcpy_chk_sse2_unaligned.
14357 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14359         [BZ #19881]
14360         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14361         into ...
14362         * sysdeps/x86_64/memset.S: This.
14363         (__bzero): Removed.
14364         (__memset_tail): Likewise.
14365         (__memset_chk): Likewise.
14366         (memset): Likewise.
14367         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14368         defined.
14369         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14370         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14371         (__memset_zero_constant_len_parameter): Check SHARED instead of
14372         PIC.
14373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14374         memset-avx2 and memset-sse2-unaligned-erms.
14375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14376         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14377         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14378         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14379         (__bzero): Enabled.
14380         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14381         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14382         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14383         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14384         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14385         (memset): Removed.
14386         (__memset_chk): Likewise.
14387         (MEMSET_SYMBOL): New.
14388         (libc_hidden_builtin_def): Replace __memset_sse2 with
14389         __memset_sse2_unaligned.
14390         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14391         __memset_chk_sse2 and __memset_chk_avx2 with
14392         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14393         Use __memset_chk_sse2_unaligned_erms or
14394         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14395         __memset_chk_avx512_unaligned_erms and
14396         __memset_chk_avx512_unaligned.
14398 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14400         * math/gen-auto-libm-test.c (fp_format_desc): remove
14401         suffix member.
14402         (output_generic_value): Remove usage of suffix member,
14403         and the resulting unuse of the fp_format argument.
14404         (output_for_one_input_case): Remove unused fp_format
14405         parameter.
14407         * math/auto-libm-test-out: Regenerate.
14409         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14410         usage with TEST_COND_ibm128.
14411         (TEST_COND_flt_32): Remove.
14412         (TEST_COND_dbl_64): Remove.
14413         (TEST_COND_ldbl_96_intel): Remove.
14414         (TEST_COND_ldbl_96_m68k): Remove.
14415         (TEST_COND_ldbl_128): Remove.
14417 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14419         * auto-libm-test-in:
14420         Replace flt-32 usage with binary32.
14421         Replace dbl-64 usage with binary64.
14422         Replace ldbl-intel-96 usage with intel96.
14423         Replace ldbl-m68k-96 usage with m68k96.
14424         Replace ldbl-128ibm usage with ibm128.
14425         Replace ldbl-128 usage with binary128.
14427         * auto-libm-test-out: Regenerate.
14429 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14431         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14432         (parse_ulps): Dynamically generate type name matching
14433         string from all_floats.
14434         (get_ulps): Generate the ulps as an array instead.
14435         (output_ulps): Dynamically compose the type based
14436         on the number of supported formats, and print
14437         the indices as type specific helper macros.
14439         * math/libm-test.inc: Remove comment about CHOOSE.
14440         (ulp_data): Generate the type in libm-test-ulps.h.
14441         (ULP_IDX): New macro.
14442         (find_ulps): Update usage of max_ulp.
14444         * math/test-double-vlen2.h (CHOOSE): Remove.
14445         * math/test-double-vlen4.h (CHOOSE): Likewise.
14446         * math/test-double-vlen8.h (CHOOSE): Likewise.
14447         * math/test-float.c (CHOOSE): Likewise.
14448         * math/test-float-finite.c (CHOOSE): Likewise.
14449         * math/test-double.c (CHOOSE): Likewise.
14450         * math/test-double-finite.c (CHOOSE): Likewise.
14451         * math/test-idouble.c (CHOOSE): Likewise.
14452         * math/test-ifloat.c (CHOOSE): Likewise.
14453         * math/test-ildoubl.c (CHOOSE): Likewise.
14454         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14455         * math/test-ldouble.c (CHOOSE): Likewise.
14457         * math/test-float.h (TEST_FLOAT): Remove.
14458         * math/test-double.h (TEST_DOUBLE): Likewise.
14459         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14461 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14463         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14464         (parse_args): Strip C suffix from floating point literals
14465         typed with 'f' and wrap them with LIT().
14467         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14468         (test_ff_f_data_nexttoward): Rename to
14469         (test_fj_f_data): New struct.
14470         (nexttoward_test_data): Relabel tests as
14471         TEST_fj_f instead of TEST_ff_f.
14473 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14475         Emacs bug 23726.
14476         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14477         (__libc_realloc): Correct size computation for dumped fake mmapped
14478         chunks.
14480 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14482         [BZ #20219]
14483         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14484         to itself.
14485         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14487         [BZ #20218]
14488         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14489         to itself.
14490         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14492 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14494         [BZ #20195]
14495         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14496         check to ...
14497         (init_cpu_features): Here.
14499 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14501         [BZ #20214]
14502         * sysdeps/unix/sysv/linux/bits/in.h
14503         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14504          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14505         Define to 1.
14506         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14507          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14508         Define to 0.
14509         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14510         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14512 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14514         [BZ #20198]
14515         * stdlib/Makefile (tests): Add tst-quick_exit, and
14516         tst-thread-quick_exit.
14517         [ifeq ($(have-cxx-thread_local),yes)]
14518         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14519         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14520         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14521         (LDLIBS-tst-thread-quick_exit): Likewise.
14522         [ifneq ($(have-cxx-thread_local),yes)]
14523         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14524         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14525         If run_dtors is true call __call_tls_dtors.
14526         (exit): Call __run_exit_handlers with run_dtors set to true.
14527         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14528         definition.
14529         * stdlib/quick_exit.c (quick_exit): Remove function.
14530         (__new_quick_exit): New function.
14531         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14532         function.
14533         * stdlib/tst-quick_exit.cc: New file.
14534         * stdlib/tst-thread-quick_exit.cc: New file.
14535         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14536         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14537         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14538         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14539         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14540         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14541         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14542         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14543         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14544         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14545         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14546         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14547         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14548         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14549         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14550         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14555         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14556         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14557         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14558         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14559         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14562         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14563         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14564         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14566 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14568         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14569         a typo in comments.
14571 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14573         [BZ #20213]
14574         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14575         argument to itself.
14576         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14578 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14580         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14581         required flags.
14582         (CFLAGS-pwritev64.c): Likewise.
14583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14585         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14586         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14587         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14588         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14589         syscall from auto-generation.
14590         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14591         [WORDSIZE == 64] (pwritev64): Remove macro.
14592         [!PWRITEV] (PWRITEV): Likewise.
14593         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14594         [!PWRITEV] (PWRITE): Likewise.
14595         [!PWRITEV] (OFF_T): Likewise.
14596         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14597         (LO_HI_LONG): Remove macro.
14598         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14599         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14600         (PWRITEV): Remove macro.
14601         (PWRITEV_REPLACEMENTE): Likewise.
14602         (PWRITE): Likewise.
14603         (OFF_T): Likewise.
14604         (pwritev64): New function.
14605         * nptl/tst-cancel4.c (tf_writev): Add test.
14607         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14608         required flags.
14609         (CFLAGS-preadv64.c): Likewise.
14610         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14611         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14612         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14613         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14614         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14615         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14616         syscall from auto-generation.
14617         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14618         [WORDSIZE == 64] (preadv64): Remove macro.
14619         [!PREADV] (PREADV): Likewise.
14620         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14621         [!PREADV] (PREAD): Likewise.
14622         [!PREADV] (OFF_T): Likewise.
14623         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14624         (LO_HI_LONG): Remove macro.
14625         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14626         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14627         (PREADV): Remove macro.
14628         (PREADV_REPLACEMENTE): Likewise.
14629         (PREAD): Likewise.
14630         (OFF_T): Likewise.
14631         (preadv64): New function.
14632         * nptl/tst-cancel4.c (tf_preadv): Add test.
14634 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14636         [BZ #20212]
14637         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14638         argument to itself.
14639         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14641 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14643         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14644         New symbol defined as libc_hidden_def.
14645         (strcasestr): Became a weak alias to __strcasestr.
14646         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14647         according to multi-arch support.  Move __stpncpy hidden
14648         definition from here to...
14649         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14650         symbol stpncpy.
14651         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14652         libc_hidden_builtin_def.
14653         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14654         memset symbol to use when multi-arch support is available.
14656 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14658         * dlfcn/tst-rec-dlopen.c: Include string.h.
14660 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14662         * manual/install.texi: Remove mention of --without-tls
14663         * INSTALL: Regenerate.
14665 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14667         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14668         Remove.
14669         (call_function, interposed_malloc_called): New variables.
14670         (malloc): New function.
14671         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14672         and clear call_function as needed.
14674 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14676         * include/wchar.h (__wmemset): Use __typeof.
14678 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14680         * include/wchar.h (__wmemset): Declare function without typeof.
14682 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14684         [BZ #20205]
14685         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14686         exponent when incrementing negative subnormal with low mantissa
14687         word zero.
14688         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14689         Add another test.
14691 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14693         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14694         __wmemset instead of wmemset.
14696 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14698         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14699         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14700         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14701         __USE_KERNEL_IPV6_DEFS to 0.
14702         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14703         Update comment.
14705 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14707         [BZ #19861]
14708         Do not use IFUNC resolver with potentially unrelocated symbol.
14709         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14710         (DEFINE_FORK): Remove macro and inline definition.
14711         (fork_alias): Renamed from fork_ifunc.
14712         (__fork_alias): Renamed from __fork_ifunc.
14714 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14716         [BZ 19653]
14717         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14718         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14720 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14722         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14723         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14724         i386-linux-gnu).
14725         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14726         Set to no.
14727         * sysdeps/mach/hurd/configure: Refresh.
14729 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14731         [BZ #20178]
14732         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14733         on failure instead of exit.
14735 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14737         [BZ #3629]
14738         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14739         of POSIX.1-2008.
14741 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14743         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14744           Use PLT entry for calling _hurd_self_sigstate.
14746 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14748         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14749         available logical processors with SMT level type sharing L2
14750         cache for Intel processors.
14752 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14754         [BZ #20160]
14755         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14756         argument to itself before returning the result.
14757         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14758         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14759         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14760         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14761         Likewise.
14762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14763         Likewise.
14764         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14765         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14766         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14767         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14768         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14769         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14771         [BZ #20160]
14772         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14773         argument to itself before returning the result.
14774         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14775         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14776         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14777         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14778         Likewise.
14779         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14780         Likewise.
14781         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14782         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14783         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14784         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14785         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14786         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14788 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14790         * libm-test.inc: Replace usage of M_El with
14791         (lit_e): New macro.
14793 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14795         * libm-test.inc: Replace usage of M_PI_4l with
14796         (lit_pi_4_d): New macro.
14798 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14800         * libm-test.inc: Replace usage of M_PIl with
14801         (lit_pi): New macro.
14803 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14805         * libm-test.inc: Replace usage of M_PI2l with
14806         (lit_pi_2_d): New macro.
14808         * math/test-double.h (LITM): New macro.
14809         * math/test-float.h (LITM): Likewise.
14810         * math/test-ldouble.h (LITM): Likewise.
14812 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14814         * libm-test.inc (M_PI_34l): Rename to
14815         (lit_pi_3_m_4_d): New Macro.
14816         (M_PI_34_LOG10El): Rename to
14817         (lit_pi_3_m_4_ln10_m_d): New Macro.
14818         (M_PI2_LOG10El): Rename to
14819         (lit_pi_2_ln10_m_d):  New Macro.
14820         (M_PI4_LOG10El): Rename to
14821         (lit_pi_4_ln10_m_d):  New Macro.
14822         (M_PI_LOG10El): Rename to
14823         (lit_pi_ln10_d):  New Macro.
14825 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14827         [BZ #20157]
14828         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14829         determine whether to negate low half if [_ARCH_PPCGR], and integer
14830         comparison otherwise.
14831         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14832         determine whether to negate low half.
14834         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14835         (NO_TEST_INLINE_DOUBLE): Likewise.
14836         (TEST_COND_x86_64): Likewise.
14837         (TEST_COND_x86): Likewise.
14838         (M_PI_6l): Likewise.
14840 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14842         * math/libm-test.inc:
14843         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14844         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14845         (TEST_LDOUBLE): Update usage to evaluate as true if
14846         the guarded tests match the property being tested.
14847         (LDBL_MAX_EXP): Change to MAX_EXP.
14848         (LDBL_MIN_EXP): Change to MIN_EXP.
14849         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14850         nexttoward tests.
14852 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14854         * math/libm-test.inc:
14855         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14856         (TYPE_MIN): Likewise.
14857         (TYPE_TRUE_MIN): Likewise.
14858         (TYPE_MAX): Likewise.
14859         (MIN_EXP): Likewise.
14860         (MAX_EXP): Likewise.
14861         (MANT_DIG): Likewise.
14863         (FSTR_MAX): New macro.
14864         (__CONCATX): Likewise.
14865         (QTYPE_STR): Likewise.
14866         (TEST_COND_binary32): Likewise.
14867         (TEST_COND_binary64): Likewise.
14868         (TEST_COND_binary128): Likewise.
14869         (TEST_COND_ibm128): Likewise.
14870         (TEST_COND_intel96): Likewise.
14871         (TEST_COND_m68k96): Likewise.
14873         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14874         (TEST_COND_dbl_64): Likewise.
14875         (TEST_COND_ldbl_96_intel): Likewise.
14876         (TEST_COND_ldbl_96_m68k): Likewise.
14877         (TEST_COND_ldbl_128): Likewise.
14878         (TEST_COND_ldbl_128ibm): Likewise.
14880         (plus_zero): Redefine using LIT macro.
14881         (minus_zero): Likewise.
14882         (plus_infty): Redefine as (INF).
14883         (minux_infty): Redefine as (-INF).
14884         (max_value): Redefine as TYPE_MAX.
14885         (min_value): Redefine as TYPE_MIN.
14886         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14888         (print_float): Refactor to use snprintf to convert FLOAT values
14889         to string. This brings it closer to dropin replacement of strtof
14890         for the TS 18661 defined types.
14891         (update_stats): Likewise.
14892         (print_complex_function_ulps): Likewise.
14893         (print_max_error): Likewise.
14894         (print_complex_max_error): Likewise.
14895         (check_float_internal): Likewise.
14897         * math/test-float.h (PREFIX): New macro.
14898         (LIT): Likewise.
14899         (TYPE_STR): Likewise.
14900         (FTOSTR): Likewise.
14902         * math/test-double.h (PREFIX): New macro.
14903         (LIT): Likewise.
14904         (TYPE_STR): Likewise.
14905         (FTOSTR): Likewise.
14907         * math/test-ldouble.h (PREFIX): New macro.
14908         (LIT): Likewise.
14909         (TYPE_STR): Likewise.
14910         (FTOSTR): Likewise.
14912 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14914         [BZ #20156]
14915         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14916         to itself when zero or not finite.
14917         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14918         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14919         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14922 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14924         [BZ #20153]
14925         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14926         x * x + x for infinities and NaNs.
14928         [BZ #20151]
14929         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14930         argument to itself before returning result.
14931         (__ieee754_y0l): Likewise.
14932         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14933         (__ieee754_y1l).
14935         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14936         (atan_test_data): Likewise.
14937         (ceil_test_data): Likewise.
14938         (cos_test_data): Likewise.
14939         (cosh_test_data): Likewise.
14940         (erf_test_data): Likewise.
14941         (exp2_test_data): Likewise.
14942         (fabs_test_data): Likewise.
14943         (floor_test_data): Likewise.
14944         (ilogb_test_data): Likewise.
14945         (j0_test_data): Likewise.
14946         (j1_test_data): Likewise.
14947         (jn_test_data): Likewise.
14948         (lgamma_test_data): Likewise.
14949         (lrint_test_data): Likewise.
14950         (llrint_test_data): Likewise.
14951         (logb_test_data): Likewise.
14952         (lround_test_data): Likewise.
14953         (llround_test_data): Likewise.
14954         (nearbyint_test_data): Likewise.
14955         (rint_test_data): Likewise.
14956         (round_test_data): Likewise.
14957         (sin_test_data): Likewise.
14958         (sincos_test_data): Likewise.
14959         (sinh_test_data): Likewise.
14960         (sqrt_test_data): Likewise.
14961         (tan_test_data): Likewise.
14962         (tanh_test_data): Likewise.
14963         (tgamma_test_data): Likewise.
14964         (trunc_test_data): Likewise.
14965         (y0_test_data): Likewise.
14966         (y1_test_data): Likewise.
14967         (yn_test_data): Likewise.
14969         * math/libm-test.inc: Update comment about NaN testing.
14970         (TEST_SNAN): New macro.
14971         (snan_value): Likewise.
14972         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14973         (fpclassify_test_data): Add sNaN tests.
14974         (isfinite_test_data): Likewise.
14975         (isinf_test_data): Likewise.
14976         (isnan_test_data): Likewise.
14977         (isnormal_test_data): Likewise.
14978         (issignaling_test_data): Likewise.
14979         (signbit_test_data): Likewise.
14980         * math/gen-libm-test.pl (%beautify): Add snan_value.
14981         (show_exceptions): Add argument $test_snan.
14982         (parse_args): Handle snan_value as non-finite.  Update call to
14983         show_exceptions.
14984         * math/Makefile (libm-test-no-inline-cflags): Add
14985         -fsignaling-nans.
14987 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14989         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14990         (CFLAGS-oldsendmsg.c): Add rule.
14991         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14992         Correct recvmsg symbol name.
14993         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14994         Likewise.
14996 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14998         * sysdeps/unix/sysv/linux/Makefile
14999         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15000         oldsendmmsg.
15001         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15002         sendmmsg.
15003         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15004         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15005         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15006         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15008         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15009         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15011         Likewise.
15012         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15013         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15014         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15015         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15016         iovlen and controllen fields to adjust to POSIX specification.
15017         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15019         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15020         and change to correct expected type.
15021         (msghdr.msg_controllen): Likewise.
15022         (cmsghdr.cmsg_len): Likewise.
15023         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15024         expected POSIX assumption about the size.
15025         (msghdr.msg_controllen): Likewise.
15026         (msghdr.__glibc_reserved1): Likewise.
15027         (msghdr.__glibc_reserved2): Likewise.
15028         (cmsghdr.cmsg_len): Likewise.
15029         (cmsghdr.__glibc_reserved1): Likewise.
15030         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15031         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15032         (CFLAGS-sendmsg.c): Remove rule.
15033         (CFLAGS-recvmsg.c): Likewise.
15034         (CFLAGS-oldsendmsg.c): Add rule.
15035         (CFLAGS-oldrecvmsg.c): Likewise.
15036         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15037         recvmsg and sendmsg.
15038         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15039         Likewise.
15040         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15041         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15042         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15043         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15044         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15045         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15046         Likewise.
15047         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15048         Likewise.
15049         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15050         Likewise.
15051         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15052         Likewise.
15053         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15054         Likewise.
15055         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15056         Likewise.
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15058         (GLIBC_2.24): Likewise.
15059         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15060         Likewise.
15061         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15062         Likewise.
15063         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15064         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15065         Likewise.
15066         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15067         Likewise.
15068         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15069         Likewise.
15070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15071         (GLIBC_2.24): Likewise.
15072         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15073         Likewise.
15074         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15075         Likewise.
15076         * sysdeps/unix/sysv/linux/Makefile
15077         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15078         (CFLAGS-sendmsg.c): Add rule.
15079         (CFLAGS-recvmsg.c): Likewise.
15080         (CFLAGS-oldsendmsg.c): Likewise.
15081         (CFLAGS-oldrecvmsg.c): Likewise.
15082         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15083         initialization.
15084         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15085         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15086         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15087         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15088         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15089         iovlen and controllen fields to adjust to POSIX specification.
15090         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15091         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15092         added recvmsg and sendmsg.
15093         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15094         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15095         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15096         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15097         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15098         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15099         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15100         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15101         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15102         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15103         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15104         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15106         Likewise.
15107         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15109         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15110         Likewise.
15111         Likewise.
15112         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15113         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15114         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15115         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15116         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15117         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15119         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15121         Likewise.
15122         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15123         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15125         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15126         from auto-generation.
15127         (sendmsg): Likewise.
15128         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15129         (sendmsg): Likewise.
15130         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15131         (sendmsg): Likewise.
15132         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15133         (sendmsg): Likewise.
15134         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15135         (sendmsg): Likewise.
15136         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15137         (sendmsg): Likewise.
15138         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15139         Likewise.
15140         (sendmsg): Likewise.
15141         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15142         (sendmsg): Likewise.
15143         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15145         Remove.
15146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15147         Likewise.
15148         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15149         Undefine.
15150         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15151         Likewise.
15152         * sysdeps/unix/sysv/linux/kernel-features.h
15153         (__ASSUME_SENDMSG_SYSCALL): Define.
15154         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15155         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15157         Remove.
15158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15159         Likewise.
15160         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15161         Undefine.
15162         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15163         Likewise.
15164         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15165         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15166         Remove.
15167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15168         Likewise.
15169         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15170         Undefine.
15171         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15172         Likewise.
15173         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15174         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15175         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15176         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15177         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15178         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15179         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15180         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15181         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15183 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15185         * stdlib/gen-tst-strtod-round.c: Add backslash to
15186         compile command in comment.
15187         (printfp): Remove the literal suffix, and define an infinite
15188         value as INF to avoid expansion clash with INFINITY.
15189         (round_str): Remove the literal suffix.
15190         (round_for_all): Likewise, remove the now duplicate ldbl-64
15191         entry, and remove some magic constants.
15193         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15194         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15195         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15196         (_CONCAT): New macro.
15197         (CONCAT): Likewise.
15198         (CHOOSE_ld): Likewise.
15199         (CHOOSE_f): Likewise.
15200         (CHOOSE_d): Likewise.
15201         (FTYPE_MEMBER): Likewise.
15202         (BOOL_MEMBER): Likewise.
15203         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15204         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15205         (_XNTRY): Likewise.
15206         (XNTRY): Likewise.
15207         (_ENTRY): Likewise.
15208         (ENTRY): Likewise.
15209         (test_exactness): Generate members via macro.
15210         (test_results): Likewise.
15211         (test): Update members.
15212         (TEST): Redefine using new macros.
15213         (INF): New macro.
15214         (fetestmodes): New structure.
15215         (do_test): Refactor to be type generic.
15216         (test_in_one_mode): Refactor duplicate code into
15217         (GEN_ONE_TEST): New macro.
15219         * stdlib/tst-strtod-round-data.h: Regenerate.
15221         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15222         Extend to pass additional arbitrary parameters to
15223         generators.
15225 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15227         [BZ #15479]
15228         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15229         floating-point state after first floating-point operation on
15230         input.  Restore full floating-point state instead of just rounding
15231         mode.
15232         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15233         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15234         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15235         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15236         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15238         [BZ #15479]
15239         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15240         floating-point state after first floating-point operation on
15241         input.  Restore full floating-point state instead of just rounding
15242         mode.
15243         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15244         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15245         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15246         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15247         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15249 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15251         [BZ #19727]
15252         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15253         valid high surrogate.
15254         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15255         of an utf16 surrogate.
15256         * iconv/gconv_simple.c (BODY): Likewise.
15257         * iconvdata/bug-iconv12.c: New file.
15258         * iconvdata/Makefile (tests): Add bug-iconv12.
15260 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15262         [BZ #19726]
15263         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15264         outptrp in case of an illegal input.
15265         * iconv/tst-iconv6.c: New file.
15266         * iconv/Makefile (tests): Add tst-iconv6.
15268 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15270         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15271         an error in case of a value in range of an utf16 low surrogate.
15273 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15275         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15276         an error in case of a value in range of an utf16 low surrogate.
15278 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15280         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15281         Move to ...
15282         * sysdeps/s390/Makefile: ... here.
15283         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15284         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15285         (BRANCH_ON_COUNT): New define.
15286         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15287         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15288         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15289         run on s390-32, too.
15290         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15291         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15292         run on s390-32, too.
15293         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15294         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15295         run on s390-32, too.
15297 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15299         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15300         etf3eh or new vector loop-variant.
15302 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15304         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15305         etf3eh or new vector loop-variant.
15307 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15309         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15310         or new vector loop-variant.
15312 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15314         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15315         Rename to TR_LOOP and usage of tr instead of troo instruction.
15317 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15319         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15322 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15324         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15325         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15326         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15327         New override define.
15328         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15330 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15332         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15333         * sysdeps/s390/configure.ac: Add test for S390 vector register
15334         support in gcc.
15335         * sysdeps/s390/configure: Regenerated.
15337 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15339         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15340         Install file from $(objpfx)gconv-modules.
15341         ($(objpfx)gconv-modules): Concatenate architecture specific file
15342         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15343         * sysdeps/s390/gconv-modules: New file.
15344         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15345         Deleted.
15346         ($(objpfx)gconv-modules-s390): Deleted.
15347         (sysdeps-gconv-modules): New variable.
15349 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15351         [BZ #15479]
15352         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15353         of immediate operand to rounding instruction.
15354         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15355         Likewise.
15356         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15357         Likewise.
15358         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15359         Likewise.
15361 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15363         * math/libm-test.inc (MIN_EXP): Directly define as
15364         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15366 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15368         * math/libm-test.inc (MANT_DIG): Directly define as
15369         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15371 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15373         * stdlib/gen-tst-strtod-round.c (main):
15374           Change usage to more closely match the generated
15375           output.  Add usage and compilation instructions.
15376           (string_to_fp): Add and use FILE* parameter as
15377           output target.
15378           (print_fp): Likewise.
15379           (round_str): Likewise.
15380           (round_for_all): Likewise.
15381         * stdlib/tst-strtod-round.c (tests): Move into
15382         * stdlib/tst-strtod-round-data.h: New file.
15384 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15386         [BZ #15479]
15387         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15388         (__round): Do not force "inexact" exception.
15389         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15390         variable.
15391         (__round): Do not force "inexact" exception.
15392         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15393         (__roundf): Do not force "inexact" exception.
15394         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15395         (__roundl): Do not force "inexact" exception.
15396         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15397         (__roundl): Do not force "inexact" exception.
15398         * math/libm-test.inc (round_test_data): Do not allow spurious
15399         "inexact" exceptions.
15401         [BZ #15479]
15402         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15403         exception in comment.
15404         (huge): Remove variable.
15405         (__floor): Do not force "inexact" exception.
15406         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15407         "inexact" exception in comment.
15408         (huge): Remove variable.
15409         (__floor): Do not force "inexact" exception.
15410         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15411         exception in comment.
15412         (huge): Remove variable.
15413         (__floorf): Do not force "inexact" exception.
15414         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15415         exception in comment.
15416         (huge): Remove variable.
15417         (__floorl): Do not force "inexact" exception.
15419         [BZ #15479]
15420         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15421         exception in comment.
15422         (huge): Remove variable.
15423         (__ceil): Do not force "inexact" exception.
15424         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15425         "inexact" exception in comment.
15426         (huge): Remove variable.
15427         (__ceil): Do not force "inexact" exception.
15428         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15429         (__ceilf): Do not force "inexact" exception.
15430         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15431         exception in comment.
15432         (huge): Remove variable.
15433         (__ceill): Do not force "inexact" exception.
15435 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15437         * config.h.in (BIND_NOW): New.
15438         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15439         * configure: Regenerated.
15440         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15441         indirect branch via the GOT slot.
15443 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15445         [BZ #19765]
15446         * sysdeps/s390/mempcpy.S: New File.
15447         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15449         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15450         Add mempcpy variants.
15451         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15452         (memcpy): Adjust to be usable from mempcpy entry point.
15453         (__memcpy_mvcle): Likewise.
15454         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15455         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15456         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15457         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15458         (__memcpy_z10): Likewise.
15459         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15461 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15463         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15464         Remove __GI_ symbol.
15465         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15466         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15467         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15468         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15469         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15470         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15472 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15474         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15475         Use cghi instead of chi to compare 64bit value.
15477 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15479         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15480         Jump to 1MB check before executing mvc-loop.
15482 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15484         [BZ #6527]
15485         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15486         unconditionally.
15487         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15489 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15491         * stdlib/tst-strtod6.c (do_test): Use new type generic
15492         invocation of the test function.
15493         (test): Refactor into ...
15494         (TEST_STRTOD): New macro base function.
15496 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15498         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15499         (TEST_STRTOD): New macro.
15500         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15502 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15504         * stdlib/tst-strtod6.c (do_test): Use new type generic
15505         invocation of the test function.
15506         (test): Refactor into ...
15507         (TEST_STRTOD): New macro base function.
15509 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15511         CVE-2016-4429
15512         [BZ #20112]
15513         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15514         payload.
15516 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15518         [BZ #20111]
15519         * bits/sockaddr.h (_SS_SIZE): Define.
15520         * bits/socket.h (_SS_SIZE): Remove.
15521         (_SS_PADSIZE): Adjust to account for all padding.
15522         (struct sockaddr_storage): Update comment.  Avoid implicit
15523         padding.
15524         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15525         (_SS_PADSIZE): Adjust to account for all padding.
15526         (struct sockaddr_storage): Update comment.  Avoid implicit
15527         padding.
15528         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15529         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15530         (_SS_PADSIZE): Adjust to account for all padding.
15531         (struct sockaddr_storage): Update comment.  Avoid implicit
15532         padding.
15533         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15534         __SS_SIZE is 126 in this version.
15535         * inet/tst-sockaddr.c: New file.
15536         * inet/Makefile (tests): Add tst-sockaddr.c
15537         (tst-sockaddr.c): Compile with non-strict aliasing.
15539 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15541         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15542         [XPG3 || XPG4].
15543         (NL_ARGMAX): Also expect for [XPG3].
15544         (NL_LANGMAX): Likewise.
15545         (NL_MSGMAX): Likewise.
15546         (NL_NMAX): Likewise.
15547         (NL_SETMAX): Likewise.
15548         (NL_TEXTMAX): Likewise.
15549         (NZERO): Likewise.
15550         (TMP_MAX): Likewise.
15551         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15552         variable.
15554         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15555         (PF_MAX): Update value.
15556         (AF_KCM): New macro.
15557         (SOL_NETBEUI): Likewise.
15558         (SOL_LLC): Likewise.
15559         (SOL_DCCP): Likewise.
15560         (SOL_NETLINK): Likewise.
15561         (SOL_TIPC): Likewise.
15562         (SOL_RXRPC): Likewise.
15563         (SOL_PPPOL2TP): Likewise.
15564         (SOL_BLUETOOTH): Likewise.
15565         (SOL_PNPIPE): Likewise.
15566         (SOL_RDS): Likewise.
15567         (SOL_IUCV): Likewise.
15568         (SOL_CAIF): Likewise.
15569         (SOL_ALG): Likewise.
15570         (SOL_NFC): Likewise.
15571         (SOL_KCM): Likewise.
15572         (MSG_BATCH): New enum value and macro.
15574 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15576         [BZ #18185]
15577         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15578         sharing L2 cache to 2 for Knights Landing.
15580 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15582         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15583         (FTW_DP): Do not expect for [XPG3 || XPG4].
15584         (FTW_SL): Do not expect for [XPG3].
15585         (FTW_SLN): Likewise.
15586         (FTW_PHYS): Likewise.
15587         (FTW_MOUNT): Likewise.
15588         (FTW_DEPTH): Likewise.
15589         (FTW_CHDIR): Likewise.
15590         (nftw): Likewise.
15591         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15592         variable.
15594 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15596         * manual/errno.texi: Fix various typos & grammar errors.
15598 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15600         * manual/intro.texi: Fix duplicated typo.
15602 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15604         [BZ #13304]
15605         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15606         <float.h>, <math_private.h> and <stdlib.h>.
15607         (add_split): New function.
15608         (mul_split): Likewise.
15609         (ext_val): New typedef.
15610         (store_ext_val): New function.
15611         (mul_ext_val): New function.
15612         (compare): New function.
15613         (add_split_ext): New function.
15614         (__fmal): After checking for Inf, NaN and zero, compute result as
15615         an exact sum of scaled double values in round-to-nearest before
15616         adding those up and adjusting for other rounding modes.
15617         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15618         tests of fma.
15619         * math/auto-libm-test-out: Regenerated.
15621 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15623         [BZ #20119]
15624         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15625         processor level type mask for CPUID with EAX == 11.
15627 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15629         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15630         logical threads if the HTT bit is 0.
15631         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15632         (index_cpu_HTT): Likewise.
15633         (reg_HTT): Likewise.
15635 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15637         [BZ #20115]
15638         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15639         Remove alignments on jump targets.
15641 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15643         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15644         (getpwent): Likewise.
15645         (setpwent): Likewise.
15646         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15647         variable.
15649         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15650         (remque): Likewise.
15651         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15652         variable.
15654 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15656         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15657         not being tested.
15659 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15661         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15662         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15663         call.
15664         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15665         (__condvar_cleanup1): Likewise.
15667 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15669         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15670         New
15671         (__pthread_unwind): Renamed to ...
15672         (PTHREAD_UNWIND): This.
15673         (__pthread_enable_asynccancel): Replace
15674         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15676 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15678         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15679         (CLONE_NEWCGROUP): New macro.
15681         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15682         (Q_GETNEXTQUOTA): New macro.
15684 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15686         [BZ #19907]
15687         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15688         buffer updated by the previous run.
15689         * string/test-memcpy.c (do_one_test): Likewise.
15690         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15691         * string/test-memmove.c (do_one_test): Likewise.
15693 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15695         [BZ #20094]
15696         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15697         not [__USE_XOPEN].
15698         (unlockpt): Likewise.
15699         (ptsname): Likewise.
15700         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15701         variable.
15703         [BZ #20076]
15704         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15705         instead of [__USE_UNIX98].
15706         (S_ISSOCK): Likewise.
15707         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15708         variable.
15710         [BZ #20074]
15711         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15712         [__USE_POSIX].
15713         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15714         variable.
15716         [BZ #20051]
15717         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15718         (ttyslot): Do not declare.
15719         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15720         (ttyslot): New prototype.
15721         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15722         variable.
15723         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15725 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15727         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15729 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15731         Fix race condition in tst-mallocfork2, use fewer resources.
15732         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15733         to current process group.
15734         (signal_sender): Yield in the non-sleeping case.
15736 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15738         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15739         (ecvt): Likewise.
15740         (fcvt): Likewise.
15741         (gcvt): Likewise.
15742         (getsubopt): Likewise.
15743         (grantpt): Likewise.
15744         (initstate): Likewise.
15745         (l64a): Likewise.
15746         (mktemp): Likewise.
15747         (mkstemp): Likewise.
15748         (ptsname): Likewise.
15749         (random): Likewise.
15750         (realpath): Likewise.
15751         (setstate): Likewise.
15752         (srandom): Likewise.
15753         (ttyslot): Likewise.
15754         (unlockpt): Likewise.
15755         (valloc): Likewise.
15757         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15758         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15759         variable.
15761 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15763         [BZ #20072]
15764         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15765         init_cpu_features only if SHARED is defined.
15766         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15768 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15770         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15771         non-inclusive caches on Intel processors.
15773 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15775         * malloc/malloc.c (dumped_main_arena_start)
15776         (dumped_main_arena_end): New variables.
15777         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15778         (do_check_chunk): Skip dumped fake mmapped chunks.
15779         (munmap_chunk): Likewise.
15780         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15781         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15782         mmapped chunks.
15783         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15784         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15785         and dumped_main_arena_end to cover the dumped heap.
15787 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15789         * conform/data/time.h-data (getdate_err): Do not expect for
15790         [XPG3].
15791         (getdate): Likewise.
15792         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15793         variable.
15795         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15796         (F_ULOCK): Likewise.
15797         (F_TEST): Likewise.
15798         (F_TLOCK): Likewise.
15799         (useconds_t): Likewise.
15800         (intptr_t): Do not expect for [XPG3] or [XPG4].
15801         (brk): Do not expect for [XPG3]
15802         (fchown): Likewise.
15803         (fchdir): Likewise.
15804         (ftruncate): Likewise.
15805         (getdtablesize): Likewise.
15806         (gethostid): Likewise.
15807         (getpagesize): Likewise.
15808         (getpgid): Likewise.
15809         (getsid): Likewise.
15810         (getwd): Likewise.
15811         (lchown): Likewise.
15812         (lockf): Likewise.
15813         (readlink): Likewise.
15814         (sbrk): Likewise.
15815         (setpgrp): Likewise.
15816         (setregid): Likewise.
15817         (setreuid): Likewise.
15818         (symlink): Likewise.
15819         (sync): Likewise.
15820         (truncate): Likewise.
15821         (ualarm): Likewise.
15822         (usleep): Likewise.
15823         (vfork): Likewise.
15824         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15825         variable.
15827         [BZ #20054]
15828         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15829         not [__USE_UNIX98].
15830         * conform/data/unistd.h-data (gethostname): Do not expect for
15831         [XPG3].
15833         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15834         [!POSIX] (S_IFBLK): Likewise.
15835         [!POSIX] (S_IFCHR): Likewise.
15836         [!POSIX] (S_IFIFO): Likewise.
15837         [!POSIX] (S_IFREG): Likewise.
15838         [!POSIX] (S_IFDIR): Likewise.
15839         [!POSIX] (S_IFLNK): Likewise.
15840         [!POSIX] (S_IFSOCK): Likewise.
15841         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15842         variable.
15843         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15845 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15847         * sysdeps/aarch64/memset.S (__memset):
15848         Rewrite of optimized memset.
15850 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15852         [BZ #19703]
15853         Partially async-signal-safe fork for single-threaded processes.
15854         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15855         variable.  Do not acquire and reset/release malloc and libio locks
15856         in single-threaded processes.
15857         * malloc/tst-mallocfork2.c: New file.
15858         * malloc/Makefile (tests): Add it.
15860 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15862         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15863         argument.  Use scratch buffer instead of extend_alloca.
15864         (gethosts): Use scratch buffer instead of extend_alloca.
15865         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15866         extend_alloca.
15867         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15869 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15871         [BZ #20055]
15872         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15873         instead of [__USE_UNIX98].
15874         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15875         [__USE_UNIX98].
15876         * conform/data/termios.h-data (tcgetsid): Do not expect for
15877         [XPG3].
15878         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15879         variable.
15880         (test-xfail-XPG4/termios.h/conform): Likewise.
15882 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15884         Do not use mcheck in localedef.
15885         * locale/programs/localedef.c (turn_on_mcheck)
15886         (__malloc_initialize_hook): Remove.
15888 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15890         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15891         * sysdeps/s390/s390-64/Makefile: Likewise.
15893 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15895         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15896         Remove ifunc-defines.sym.
15897         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15898         Likewise.
15899         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15900         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15901         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15902         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15903         rtld-global-offsets.sym.
15904         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15905         * sysdeps/x86/cpu-features-offsets.sym: This.
15906         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15907         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15909 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15911         [BZ #20073]
15912         * io/sys/stat.h (fchmod): Declare for
15913         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15914         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15915         variable.
15917         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15918         [XPG3] (S_IFSOCK): Likewise.
15919         [XPG3] (S_ISVTX): Likewise.
15920         [XPG3] (S_ISLNK): Likewise.
15921         [XPG3] (S_ISSOCK): Likewise.
15922         [XPG3] (fchmod): Likewise.
15923         [XPG3] (lstat): Likewise.
15924         [XPG3] (mknod): Likewise.
15926         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15927         [XPG3].  Expect type long and XFAIL for [XPG4].
15928         (st_blocks): Likewise.
15930         [BZ #20044]
15931         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15932         (pthread_atfork): New prototype.
15933         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15934         variable.
15936         [BZ #20043]
15937         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15938         prototype.
15940 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15942         [BZ #20017]
15943         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15944         gmtime.
15946 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15948         [BZ #19994]
15949         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15950         flag in _res.options.
15952 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15954         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15955         [XPG3 || XPG4].
15956         (blksize_t): Likewise.
15957         (clockid_t): Likewise.
15958         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15959         variable.
15960         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15962 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15964         * sysdeps/unix/sysv/linux/s390/init-first.c:
15965         Add VDSO_SYMBOL(getcpu).
15966         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15967         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15968         Add VDSO_SYMBOL(getcpu).
15969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15970         New define HAVE_GETCPU_VSYSCALL.
15971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15973 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15975         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15976         instead of <sysdeps/x86_64/cacheinfo.c>.
15977         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15978         * sysdeps/x86/cacheinfo.c: Here.
15980 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15982         * malloc/malloc-internal.h: Adjust header file guard.
15984 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15986         [BZ #19787]
15987         * inet/getnameinfo.c (check_sprintf_result): New function.
15988         (CHECKED_SNPRINTF): New macro.
15989         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15990         to the host buffer.
15991         (gni_host_local): Use checked_copy to copy the host name.
15992         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15993         (gni_serv_local): Use checked_copy to copy the service name.
15994         (getnameinfo): Remove unnecessary truncation of result buffers.
15996 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15998         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15999         in case of inet_ntop failure.
16001 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16003         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16004         avoid long lines.
16005         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16006         variables.
16007         (gni_host_inet, gni_host_local): Add comment.
16008         (gni_host): Add comment.  Use temporary to avoid long lines.
16010 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16012         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16013         registers specifiers where general purpose registers specifiers should
16014         have been used.
16016 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16018         [BZ #19779]
16019         CVE-2016-1234
16020         Avoid copying names of directory entries.
16021         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16022         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16023         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16024         (struct readdir_result): New type.
16025         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16026         (GL_READDIR): New macros.
16027         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16028         (convert_dirent, convert_dirent64): New functions.
16029         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16030         convert_dirent64.  Adjust references to the readdir result.
16031         * sysdeps/unix/sysv/linux/i386/glob64.c:
16032         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16033         * posix/bug-glob2.c (LONG_NAME): Define.
16034         (filesystem): Add LONG_NAME.
16035         (my_DIR): Increase the size of room_for_dirent.
16037 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16039         [BZ #20041]
16040         * misc/sys/select.h (__need_timespec): Only define if
16041         [__USE_XOPEN2K].
16042         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16043         variable.
16044         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16045         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16046         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16048 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16049             Segher Boessenkool  <segher@gcc.gnu.org>
16051         [BZ #20004]
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16053         (__novec_swapcontext): Add missing load.
16055 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16057         [BZ #20023]
16058         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16059         <time.h>.
16060         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16061         variable.
16062         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16064 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16067         flags CLONE_VM compare.
16069 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16071         [BZ #20031]
16072         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16073         completely empty.
16075 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16077         [BZ #19573]
16078         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16079         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16080         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16081         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16082         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16083         (hesiod_free_list): Mark as hidden.
16084         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16085         res_set, res_get.
16086         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16087         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16088         (hesiod_init): Remove obsolete res_ninit call.
16089         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16090         (hesiod_bind): Do not call init.
16091         (get_txt_records): Use res_mkquery, res_send instead of
16092         res_nmkquery, res_nsend.
16093         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16094         instead of _nss_hesiod_init.
16095         (_nss_hesiod_initgroups_dyn): Likewise.
16096         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16097         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16098         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16100 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16102         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16103         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16105 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16107         * hesiod/hesiod.h: Remove RCS keyword.
16108         * hesiod/hesiod_p.h: Likewise.
16110         * hesiod/hesiod.c: Likewise.
16112 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16114         [BZ #12450]
16115         * locale/iso-639.def: Add Samogitian/sgs.
16117 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16119         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16121         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16123 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16124             Carlos O'Donell  <carlos@redhat.com>
16126         [BZ #19072]
16127         * grp/Makefile (headers): Add grp-merge.h
16128         (routines): Add grp-merge.
16129         * grp/getgrgid_r.c: Include grp-merge.h.
16130         (DEEPCOPY_FN): Define.
16131         (MERGE_FN): Define.
16132         * grp/getgrname_r.c: Include grp-merge.h.
16133         (DEEPCOPY_FN): Define.
16134         (MERGE_FN): Define.
16135         * grp/grp-merge.c: New file.
16136         * grp/grp-merge.h: New file.
16137         * include/grp-merge.h: New file.
16138         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16139         __copy_grp@GLIBC_PRIVATE.
16140         * manual/nss.texi (Actions in the NSS configuration): Describe
16141         return, continue, and merge.
16142         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16143         (DEEPCOPY_FN): Define.
16144         (MERGE_FN): Define.
16145         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16146         (DEEPCOPY_FN): Define.
16147         (MERGE_FN): Define.
16148         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16149         [!MERGE_FN]: Define __merge_einval.
16150         (CHECK_MERGE): Define.
16151         (REENTRANT_NAME): Process merge if do_merge is true.
16152         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16153         (__nss_getent_r): Likewise.
16154         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16155         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16157 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16159         [BZ #20012]
16160         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16161         length to calculate the buffer to read.
16162         (fmemopen_write): Set the buffer position based on bytes written.
16163         (fmemopen_seek): Return EINVAL for invalid whence modes.
16165         [BZ #19957]
16166         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16167         tst-getpid2.
16168         (test): Add tst-clone2.
16169         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16170         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16171         pid/tid fields for CLONE_VM.
16172         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16173         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16174         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16175         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16176         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16177         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16178         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16179         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16181         Likewise.
16182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16183         Likewise.
16184         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16185         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16186         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16187         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16188         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16189         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16190         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16191         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16193 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16195         [BZ #19642]
16196         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16197         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16198         (gni_serv_local, gni_serv): New functions extracted from
16199         getnameinfo.
16200         (getnameinfo): Call gni_host and gni_serv to perform the
16201         processing.  Always free scratch buffer.
16203 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16205         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16206         remaining bytes in the dest string, with zeros.
16208 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16210         [BZ #20010]
16211         CVE-2016-3706
16212         * sysdeps/posix/getaddrinfo.c
16213         (convert_hostent_to_gaih_addrtuple): New function.
16214         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16215         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16216         AF_INET data.
16218 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16220         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16221         callback function gl_readdir.
16222         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16223         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16224         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16225         memcpy to copy the name.
16226         * manual/pattern.texi (Calling Glob): Document requirements for
16227         implementations of the gl_readdir callback function.
16228         * manual/examples/mkdirent.c: New example.
16229         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16230         per the manual guidance.
16231         * posix/tst-gnuglob.c (my_readdir): Likewise.
16233 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16235         [BZ #20014]
16236         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16237         not [__USE_POSIX].
16238         (getchar_unlocked): Likewise.
16239         (putc_unlocked): Likewise.
16240         (putchar_unlocked): Likewise.
16241         (flockfile): Likewise.
16242         (ftrylockfile): Likewise.
16243         (funlockfile): Likewise.
16244         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16245         variable.
16246         (test-xfail-XPG4/stdio.h/conform): Likewise.
16248         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16249         Expect constant.
16250         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16251         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16252         variable.
16253         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16254         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16256         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16257         [__USE_LARGEFILE64] (off64_t): Likewise.
16258         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16259         variable.
16261 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16263         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16265 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16267         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16268         * resolv/res_init.c: Likewise.
16269         * resolv/res_mkquery.c: Likewise.
16271 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16273         * resolv/res_init.c (isascii): Do not define.  Use definition in
16274         <ctype.h>.
16275         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16276         (LOG_AUTH): Remove.
16277         (SPRINTF): Remove, adjust caller.
16278         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16280 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16282         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16283         SUNSECURITY conditional.
16284         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16286 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16288         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16289         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16290         Remove BSD-related preprocessor conditionals.
16291         * conf/portability.h: Remove.
16293 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16295         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16296         * resolv/res_data.c: Likewise.
16298 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16300         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16301         * resolv/res_data.c: Remove code conditional on ultrix.
16303 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16305         * resolv/res_init.c (RFC1535): Do not define.  Remove
16306         RFC1535 preprocessor conditionals.
16307         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16308         because there configuration options which make the resolver
16309         behavior different.
16311 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16313         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16314         RESOLVSORT preprocessor conditionals.
16315         * resolv/nss_dns/dns-host.c: Likewise.
16316         * resolv/res_init.c: Likewise.
16318 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16320         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16321         is never defined.
16323 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16325         * inet/inet_lnaof.c: Remove SCSS keyword.
16326         * inet/inet_mkadr.c: Likewise.
16327         * inet/inet_net.c: Likewise.
16328         * inet/inet_netof.c: Likewise.
16329         * inet/rcmd.c: Likewise.
16330         * inet/rexec.c: Likewise.
16331         * inet/ruserpass.c: Likewise.
16333 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16335         * resolv/inet_addr.c: Remove _LIBC conditionals.
16336         * resolv/res_data.c: Likewise.
16337         * resolv/res_init.c: Likewise.
16338         * resolv/res_mkquery.c: Likewise.
16339         * resolv/res_libc.c: Update comment.
16340         * resolv/README: Update.
16342 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16344         * resolv/gethnamaddr.c: Remove SCSS keyword.
16345         * resolv/herror.c: Likewise.
16346         * resolv/inet_addr.c: Likewise.
16347         * resolv/inet_net_ntop.c: Likewise.
16348         * resolv/inet_net_pton.c: Likewise.
16349         * resolv/inet_neta.c: Likewise.
16350         * resolv/inet_ntop.c: Likewise.
16351         * resolv/inet_pton.c: Likewise.
16352         * resolv/ns_date.c: Remove RCS keyword.
16353         * resolv/ns_name.c: Likewise.
16354         * resolv/ns_netint.c: Likewise.
16355         * resolv/ns_parse.c: Likewise.
16356         * resolv/ns_print.c: Likewise.
16357         * resolv/ns_samedomain.c: Likewise.
16358         * resolv/ns_ttl.c: Likewise.
16359         * resolv/nsap_addr.c: Likewise.
16360         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16361         * resolv/res_data.c: Remove RCS keyword.
16362         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16363         * resolv/res_init.c: Likewise.
16364         * resolv/res_mkquery.c: Likewise.
16365         * resolv/res_query.c: Likewise.
16366         * resolv/res_send.c: Likewise.
16368 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16370         * conform/data/stdio.h-data (fdopen): Expect also for
16371         [XPG3 || XPG4].
16373         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16374         (fseeko): Likewise.
16375         (ftello): Likewise.
16376         (ftrylockfile): Likewise.
16377         (funlockfile): Likewise.
16378         (getc_unlocked): Likewise.
16379         (getchar_unlocked): Likewise.
16380         (putc_unlocked): Likewise.
16381         (putchar_unlocked): Likewise.
16383 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16385         [BZ #19868]
16386         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16387         DNS packet syntax checks (which were not needed before).  Skip
16388         over non-PTR records.
16390 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16392         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16393         definition.  Include <stddef.h> instead.
16395 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16397         [BZ #19831]
16398         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16399         function.
16400         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16401         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16403 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16405         [BZ #19862]
16406         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16407         (getanswer_r): Do not call syslog.
16408         (gaih_getanswer_slice): Likewise.
16409         * resolv/gethnamaddr.c (AskedForGot): Remove.
16410         (getanswer): Do not call syslog.
16411         (gethostbyaddr): Likewise.
16413 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16415         * conform/data/signal.h-data (union sigval): Expect also if
16416         [XOPEN2K].
16417         (struct sigevent): Likewise.
16418         (SIGEV_NONE): Likewise.
16419         (SIGEV_SIGNAL): Likewise.
16420         (SIGEV_THREAD): Likewise.
16421         (SIGRTMIN): Likewise.
16422         (SIGRTMAX): Likewise.
16423         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16424         variable.
16425         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16427 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16429         [BZ #19830]
16430         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16431         (gaih_getanswer_slice): Likewise.
16432         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16433         Also check for availability of RR metadata.
16435 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16437         [BZ #19825]
16438         * resolv/res_send.c (send_vc): Remove early *resplen2
16439         initialization.  Set *resplen2 on socket error.  Call
16440         close_and_return_error for other errors.
16442 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16444         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16445         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16446         (SCM_IUCV_TRGCLS): New define.
16448 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16450         [BZ #20005]
16451         * libio/fmemopen.c (fmemopen_write): Update internal position after
16452         write.
16453         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16454         * stdio-common/tst-fmemopen4.c: New file..
16456 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16458         [BZ #19996]
16459         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16460         not [__USE_XOPEN2K].
16461         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16462         variable.
16464         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16465         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16466         variable.
16468         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16469         [__USE_XOPEN2K8].
16470         [__USE_LARGEFILE64] (off64_t): Likewise.
16471         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16472         variable.
16474 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16476         [BZ #19989]
16477         * libio/stdio.h (cuserid): Do not declare if
16478         [__USE_XOPEN2K && !__USE_GNU].
16479         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16480         variable.
16482 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16484         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16485         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16487         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16488         ifunc'ed strcspn.
16489         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16490         [EALIGN]: Removed.
16491         [END]: Likewise
16492         [STRSPN]: Define instead of the above to control symbol name.
16493         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16494         New file.
16495         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16496         Likewise.
16497         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16498         Likewise.
16499         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16500         Likewise.
16501         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16502         [INITIAL_MASK]: New macro.
16503         [STRCSPN]: Likewise.
16504         [UPDATE_MASK]: Likewise.
16505         [USE_AS_STRCSPN]: Likewise.
16507 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16509         [BZ #19931]
16510         * stdio-common/tst-vfprintf-width-prec.c: New file.
16511         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16512         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16513         (generated): Add mtrace-related files.
16514         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16515         (tst-%-mem.out): New pattern rule, replaces
16516         tst-printf-bz18872-mem.out.
16517         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16518         specifier, deallocate any previously allocated work buffer.
16520 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16522         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16523         Add nop before __startcontext, add explaining comments.
16525 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16527         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16528         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16529         completely different API.
16531         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16532         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16533         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16534         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16535         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16536         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16537         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16538         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16539         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16540         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16542 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16544         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16546 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16548         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16549         when it is the default of 0.
16551 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16553         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16554         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16555         (sysdep_routines): Add new strcasestr targets.
16556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16557         (__libc_ifunc_impl_list): Likewise.
16558         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16559         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16560         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16561         * sysdeps/powerpc/powerpc64/power8/Makefile:
16562         New file to add strcasestr-ppc64 to sysdep_routines.
16563         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16564         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16566 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16568         * benchtests/Makefile (wcsmbs-benchset): Include only for
16569         native builds and runs.
16570         (LOCALES): Likewise.
16571         (bench-build): Build timing-type here instead of the bench
16572         target.  Generate locale only for native builds.
16573         * benchtests/README: Add note for cross-building.
16575         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16577         * benchtests/README: Update README to include instructions on
16578         using bench-build.
16580         * Makefile.in (bench-build): New target.
16581         * Rules (PHONY): Add bench-build target.
16582         * benchtests/Makefile (bench): Depend on bench-build.
16583         (bench-build): New target.
16585 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16587         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16588         profil_reply_port.
16589         (profile_waiter): Do not initialize profil_reply_port.
16590         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16591         frequency instead of tick length in us.
16593 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16595         [BZ #18712]
16596         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16597         (__old_mempcpy_small): Likewise.
16598         (__old_strcpy_small): Likewise.
16599         (__old_stpcpy_small): Likewise.
16600         (__old_strpbrk_c2): Fix compat symbol name.
16601         (__old_strpbrk_c3): Likewise.
16602         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16603         (__mempcpy_small): Remove.
16604         (__strcpy_small): Remove.
16605         (__stpcpy_small): Remove.
16607 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16609         [BZ #19400]
16610         * locale/iso-639.def: Add the Talossan/tzl language.
16612 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16614         [BZ #16983]
16615         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16616         comment.  Add "ln" to strchr check on postal_fmt.
16618 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16620         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16621         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16622         tel_dom_fmt.
16624 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16626         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16627         (sysdep_routines): Added __strlen_power8.
16628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16629         __strlen_power8 entry.
16630         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16631         Implementation for POWER8.
16632         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16633         for __strlen_power8.
16634         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16635         Implementation for POWER8.
16637 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16639         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16641 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16643         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16644         Goldmont and Airmont processors.
16646 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16648         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16649         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16650         (__STRING2_SMALL_GET32): Remove.
16651         (memset): Remove.
16652         (__memset_1): Remove.
16653         (__memset_gc): Remove.
16654         (__mempcpy): Remove.
16655         (mempcpy): Remove.
16656         (__mempcpy_args): Remove.
16657         (strchr): Remove.
16658         (strcpy): Remove.
16659         (strcpy_args): Remove.
16660         (__stpcpy_args): Remove.
16661         (__strcmp_cc): Remove.
16662         (__strcmp_gc): Remove.
16663         (strstr): Remove.
16665 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16667         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16668         * nis/nis_call.c (nis_server_cache_add): Likewise.
16670 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16672         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16674 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16676         * malloc/arena.c (__malloc_fork_lock_parent)
16677         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16678         internal_function attribute.
16680 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16682         * stdio-common/printf_fp.c (__printf_fp_l):
16683         Rename ___printf_fp_l to __printf_fp_l and
16684         remove strong alias. Use libc_hidden_def instead
16685         of ldbl_hidden_def macro.
16687 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16689         Remove malloc hooks from fork handler.  They are no longer needed
16690         because malloc runs right before fork, and no malloc calls from
16691         other fork handlers are not possible anymore.
16692         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16693         declarations.
16694         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16695         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16696         (atfork_recursive_cntr): Remove.
16697         (__malloc_fork_lock_parent): Do not override malloc hooks and
16698         thread_arena.
16699         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16700         thread_arena.
16701         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16702         thread_arena instead of save_arena.
16704 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16706         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16707         (thread_atfork, thread_atfork_static): Remove.
16708         * sysdeps/mach/hurd/malloc-machine.h:
16709         (thread_atfork, thread_atfork_static): Remove.
16711 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16713         [BZ #19431]
16714         Run the malloc fork handler as late as possible to avoid deadlocks.
16715         * malloc/malloc-internal.h: New file.
16716         * malloc/malloc.c: Include it.
16717         * malloc/arena.c (ATFORK_MEM): Remove.
16718         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16719         Update comment.
16720         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16721         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16722         Remove outdated comment.
16723         (ptmalloc_init): Do not call thread_atfork.  Remove
16724         thread_atfork_static.
16725         * malloc/tst-malloc-fork-deadlock.c: New file.
16726         * Makefile (tests): Add tst-malloc-fork-deadlock.
16727         (tst-malloc-fork-deadlock): Link against libpthread.
16728         * manual/memory.texi (Aligned Memory Blocks): Update safety
16729         annotation comments.
16730         * sysdeps/nptl/fork.c (__libc_fork): Call
16731         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16732         __malloc_fork_unlock_child.
16733         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16735 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16737         [BZ #19613]
16738         Remove union wait.
16739         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16740         (w_stopsig, w_stopval): Remove.
16741         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16742         stat_loc argument.
16743         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16744         (__WAIT_STATUS_DEFN): Remove.
16745         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16746         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16747         (wait, wait3, wait4): Use int * for the stat_loc argument.
16748         * posix/wait.c (__wait): Likewise.
16749         * posix/wait3.c (__wait3): Likewise.
16750         * posix/wait4.c (__wait4): Likewise.
16751         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16752         (__WAIT_STATUS_DEFN): Remove.
16753         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16754         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16755         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16756         argument.
16757         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16758         * sysdeps/posix/wait3.c (__wait3): Likewise.
16759         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16760         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16761         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16762         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16763         stat_loc argument.
16764         * manual/process.texi (BSD Wait Functions): Remove union wait.
16766 2016-04-13  Andreas Schwab  <schwab@suse.de>
16768         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16769         (test-extras): Add tst-tlsalign-vars.
16770         * math/Makefile: Wrap long lines.
16771         (libm-vec-test-wrappers): Define.
16772         (test-extras): Add $(libm-vec-test-wrappers).
16773         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16774         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16775         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16776         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16777         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16778         (extra-test-objs): Add corresponding objects.
16780 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16782         [BZ #19928]
16783         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16784         New.
16785         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16786         times of shared cache size.
16787         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16788         (VMOVNT): New.
16789         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16790         (VMOVNT): Likewise.
16791         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16792         (VMOVNT): Likewise.
16793         (VMOVU): Changed to movups for smaller code sizes.
16794         (VMOVA): Changed to movaps for smaller code sizes.
16795         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16796         comments.
16797         (PREFETCH): New.
16798         (PREFETCH_SIZE): Likewise.
16799         (PREFETCHED_LOAD_SIZE): Likewise.
16800         (PREFETCH_ONE_SET): Likewise.
16801         Rewrite to use forward and backward loops, which move 4 vector
16802         registers at a time, to support overlapping addresses and use
16803         non temporal store if size is above the threshold and there is
16804         no overlap between destination and source.
16806 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16808         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16809         Include dl-vdso.
16810         * sysdeps/unix/sysv/linux/mips/Versions: Add
16811         __vdso_clock_gettime.
16812         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16813         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16814         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16815         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16816         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16817         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16818         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16819         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16820         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16822 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16824         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16825         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16826         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16828         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16829         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16832         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16833         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16834         syscalls generation.
16835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16836         [__NR_pwrite64] (__NR_write): Remove define.
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16838         [__NR_pwrite64] (__NR_write): Remove define.
16839         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16840         Remove define.
16841         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16842         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16843         Remove define.
16844         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16845         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16846         Linux implementation as base.
16847         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16849         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16850         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16855         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16856         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16857         syscall generation.
16858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16859         [__NR_pread64] (__NR_pread): Remove define.
16860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16861         [__NR_pread64] (__NR_pread): Likewise.
16862         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16863         define.
16864         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16865         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16866         Remove define.
16867         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16868         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16869         Linux implementation as base.
16870         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16871         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16872         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16874         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16875         definition.
16876         (__ALIGNMENT_COUNT): Likewise.
16877         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16878         (__ALIGNMENT_COUNT): Likewise.
16879         (SYSCALL_LL): New define.
16880         (SYSCALL_LL64): Likewise.
16881         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16882         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16883         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16884         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16886         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16887         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16888         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16889         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16890         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16891         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16893 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16895         [BZ #19865]
16896         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16897         original buffer before retry.
16899 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16901         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16902         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16903         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16904         GLRO(dl_auxv) list.
16905         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16906         including <ldsodefs.h>.
16907         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16909 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16911         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16912         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16913         $(CPPFLAGS).
16915 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16917         [BZ #17950]
16918         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16919         Add -mfpmath=387.
16921 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16923         * sysdeps/i386/configure.ac: Change == to = when calling test.
16924         * sysdeps/x86_64/configure.ac: Likewise.
16925         * sysdeps/i386/configure: Regenerated.
16926         * sysdeps/x86_64/configure: Likewise.
16928 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16930         [BZ #16137]
16931         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16932         * benchtests/bench-strcoll.c (input_files): Likewise.
16933         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16934         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16935         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16937 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16939         [BZ #19929]
16940         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16941         [__USE_XOPEN2K8 && !__USE_GNU].
16942         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16943         variable.
16945         [BZ #19925]
16946         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16947         define if [!__USE_MISC && __USE_XOPEN2K].
16948         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16949         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16950         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16951         Likewise.
16952         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16953         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16954         variable.
16955         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16957 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16959         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16960         (sysdep_routines): Add new strspn targets.
16961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16962         (__libc_ifunc_impl_list): Add strspn.
16963         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16964         New file.
16965         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16966         Likewise.
16967         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16968         Likewise.
16969         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16970         Likewise.
16972 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16974         * misc/hsearch_r.c: Include <limits.h>.
16976 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16978         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16980 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16982         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16983         (MEMCPY_SYMBOL): New.
16984         (MEMPCPY_SYMBOL): Likewise.
16985         (MEMMOVE_CHK_SYMBOL): Likewise.
16986         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16987         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16988         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16989         Provide alias for memcpy in libc.a and ld.so.
16991 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16993         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16994         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16995         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16996         Disabled fro now.
16997         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16998         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17000 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17002         * benchtests/Makefile (string-benchset): Add memcpy-large,
17003         memmove-large and memset-large.
17004         * benchtests/bench-memcpy-large.c: New file.
17005         * benchtests/bench-memmove-large.c: Likewise.
17006         * benchtests/bench-memmove-large.c: Likewise.
17007         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17009 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17011         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17012         32-bit displacement to avoid long nop between instructions.
17014 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17016         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17017         a comment on VMOVU and VMOVA.
17019 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17021         [BZ #19633]
17022         Use specified locale for number formatting in strfmon_l.
17023         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17024         (__nl_lookup_word): New inline functions.
17025         * include/printf.h (__print_fp_l): Declare.
17026         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17027         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17028         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17029         (___printf_fp): New function.
17030         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17031         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17032         * stdlib/tst-strfmon_l.c (do_test): New test.
17033         * stdlib/Makefile (tests): Add kt.
17034         (LOCALES): Build additional locales.
17035         (tst-strfmon_l.out): Require locales.
17037 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17039         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17040         if not in libc.
17041         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17042         Likewise.
17043         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17044         Likewise.
17045         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17046         Likewise.
17048 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17050         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17051         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17052         with unaligned_erms.
17053         (__memmove_erms): Skip if source == destination.
17054         (__memmove_unaligned_erms): Don't check source == destination
17055         first.
17057 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17059         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17060         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17062 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17064         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17065         * string/strspn.c (strspn): Likewise.
17067 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17069         * benchtests/bench-memset.c (do_test): Support 64-byte
17070         alignment.
17071         (test_main): Test 64-byte alignment.
17073 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17075         * benchtests/bench-memmove.c (test_main): Test 64-byte
17076         alignment.
17078 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17080         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17082 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17084         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17085         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17086         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17088         * string/strpbrk.c (strpbrk): Rewrite function.
17089         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17090         (__strpbrk_c2): Likewise.
17091         (__strpbrk_c3): Likewise.
17092         * string/string-inlines.c
17093         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17094         Likewise.
17095         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17096         Likewise.
17098         * string/strspn.c (strcspn): Rewrite function.
17099         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17100         (__strspn_c1): Remove inline function.
17101         (__strspn_c2): Likewise.
17102         (__strspn_c3): Likewise.
17103         * string/string-inlines.c
17104         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17105         compatibility symbol.
17106         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17107         Likewise.
17108         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17109         Likewise.
17110         * string/string-inlines.c: Include generic version.
17112 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17113             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17115         * string/Version (libc): Add GLIBC_2.24.
17116         * string/strcspn.c (strcspn): Rewrite function.
17117         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17118         (__strcspn_c1): Remove inline function.
17119         (__strcspn_c2): Likewise.
17120         (__strcspn_c3): Likewise.
17121         * string/string-inline.c
17122         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17123         compatibility symbol.
17124         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17125         Likewise.
17126         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17127         Likewise.
17128         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17130 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17132         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17133         Use ahi instead of aghi to adjust stack pointer.
17135 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17137         [BZ #19853]
17138         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17139         TEST to take significant digits as second parameter.
17140         [TEST]: Redefine in terms of TEST_N taking 30
17141         significant digits.
17142         (do_test): Add test case to demonstrate precision
17143         failure in the ldbl-128ibm printf.
17144         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17145         (__mpn_extract_long_double): Carry 7 extra intermediate
17146         bits of precision to aide computing difference when
17147         signs differ.
17149 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17151         [BZ #19881]
17152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17153         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17154         memset-avx512-unaligned-erms.
17155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17156         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17157         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17158         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17159         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17160         __memset_sse2_unaligned_erms, __memset_erms,
17161         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17162         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17163         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17164         file.
17165         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17166         Likewise.
17167         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17168         Likewise.
17169         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17170         Likewise.
17172 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17174         [BZ #19776]
17175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17176         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17177         memmove-avx512-unaligned-erms.
17178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17179         (__libc_ifunc_impl_list): Test
17180         __memmove_chk_avx512_unaligned_2,
17181         __memmove_chk_avx512_unaligned_erms,
17182         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17183         __memmove_chk_sse2_unaligned_2,
17184         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17185         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17186         __memmove_avx512_unaligned_erms, __memmove_erms,
17187         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17188         __memcpy_chk_avx512_unaligned_2,
17189         __memcpy_chk_avx512_unaligned_erms,
17190         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17191         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17192         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17193         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17194         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17195         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17196         __mempcpy_chk_avx512_unaligned_erms,
17197         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17198         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17199         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17200         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17201         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17202         __mempcpy_erms.
17203         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17204         file.
17205         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17206         Likewise.
17207         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17208         Likewise.
17209         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17210         Likewise.
17212 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17214         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17215         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17216         (La_s390_64_regs): Likewise.
17217         (La_s390_32_retval): Append vector register lrv_v24.
17218         (La_s390_64_retval): Likeweise.
17219         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17220         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17221         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17222         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17224 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17226         [BZ #19916]
17227         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17228         to create a non-vector/vector version for _dl_runtime_resolve and
17229         _dl_runtime_profile. Move implementation to ...
17230         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17231         (_dl_runtime_resolve) Save and restore fpr/vrs.
17232         (_dl_runtime_profile) Save and restore vrs and fix some issues
17233         if _dl_call_pltexit is called.
17234         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17235         Choose the correct resolver function if running on a machine with vx.
17236         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17237         to create a non-vector/vector version for _dl_runtime_resolve and
17238         _dl_runtime_profile. Move implementation to ...
17239         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17240         (_dl_runtime_resolve) Save and restore fpr/vrs.
17241         (_dl_runtime_profile) Save and restore vrs and fix some issues
17242         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17243         Choose the correct resolver function if running on a machine with vx.
17245 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17247         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17249 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17251         [BZ #19509]
17252         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17253         skip_map != NULL.
17254         * elf/tst-dlsym-error.c: New file.
17255         * elf/Makefile (tests): Add tst-dlsym-error.
17256         (tst-dlsym-error): Link against libdl.
17258 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17260         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17261         (__ASSUME_FUTIMESAT): Remove macro.
17262         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17264 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17266         [BZ #19879]
17267         CVE-2016-3075
17268         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17269         copy name.
17271 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17273         [BZ #19837]
17274         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17275         error if parse_line fails.
17277 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17279         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17280         (index_cpu_ERMS): Likewise.
17281         (reg_ERMS): Likewise.
17283 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17285         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17286         PER_LINUX_FDPIC): Add.
17288 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17291         memcpy-avx512-no-vzeroupper.
17292         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17293         to ...
17294         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17295         (MEMCPY): Don't define.
17296         (MEMCPY_CHK): Likewise.
17297         (MEMPCPY): Likewise.
17298         (MEMPCPY_CHK): Likewise.
17299         (MEMPCPY_CHK): Renamed to ...
17300         (__mempcpy_chk_avx512_no_vzeroupper): This.
17301         (MEMPCPY_CHK): Renamed to ...
17302         (__mempcpy_chk_avx512_no_vzeroupper): This.
17303         (MEMCPY_CHK): Renamed to ...
17304         (__memmove_chk_avx512_no_vzeroupper): This.
17305         (MEMCPY): Renamed to ...
17306         (__memmove_avx512_no_vzeroupper): This.
17307         (__memcpy_avx512_no_vzeroupper): New alias.
17308         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17310 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17312         [BZ #18858]
17313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17314         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17315         and mempcpy-avx512-no-vzeroupper.
17316         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17317         New.
17318         (MEMPCPY): Likewise.
17319         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17320         (MEMPCPY_CHK): New.
17321         (MEMPCPY): Likewise.
17322         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17323         (MEMPCPY): Likewise.
17324         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17325         (MEMPCPY): Likewise.
17326         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17327         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17328         Likewise.
17329         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17330         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17332 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17333              Amit Pawar  <Amit.Pawar@amd.com>
17335         [BZ #19583]
17336         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17337         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17338         processors.  Set Fast_Copy_Backward for AMD Excavator
17339         processors.
17340         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17341         New.
17342         (index_arch_Fast_Unaligned_Copy): Likewise.
17343         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17344         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17346 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17348         [BZ #19791]
17349         * resolv/res_send.c (close_and_return_error): New function.
17350         (send_dg): Initialize *resplen2 after reopen failure.  Call
17351         close_and_return_error for error returns.  On error paths without
17352         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17353         successful return.
17355 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17357         [BZ #19860]
17358         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17359         zero if the compiler does not provide the AVX512F bit.
17361 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17363         [BZ #19848]
17364         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17365         from 8 to 4.
17366         (__ieee754_powl): Compare integer exponent against 4 not 8.
17367         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17368         from 8 to 4.
17369         (__ieee754_powl): Compare integer exponent against 4 not 8.
17370         * math/auto-libm-test-in: Add more tests of pow.
17371         * math/auto-libm-test-out: Regenerated.
17372         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17375 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17377         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17378         Make code unconditional.
17379         [!__NR_utimensat]: Remove conditional code.
17380         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17381         Make code unconditional.
17382         [!__NR_utimensat]: Remove conditional code.
17383         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17384         Make code unconditional.
17385         [!__NR_utimensat]: Remove conditional code.
17387 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17389         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17390         Make code unconditional.
17392 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17394         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17395         call-clobbered %eax on retry path.
17396         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17398 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17400         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17401         Don't set %rcx twice before "rep movsb".
17403 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17405         [BZ #19583]
17406         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17407         inline.  Check family before setting family, model and
17408         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17409         bits here.
17410         (init_cpu_features): Replace HAS_CPU_FEATURE and
17411         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17412         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17413         for Intel processors with usable AVX2.  Call get_common_indeces
17414         for other processors with family == NULL.
17415         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17416         (CPU_FEATURES_ARCH_P): Likewise.
17417         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17418         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17420 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17422         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17423         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17424         $(shared-thread-library) instead of hardcoding the path to libpthread.
17426 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17428         * sysdeps/unix/sysv/linux/kernel-features.h
17429         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17430         * sysdeps/unix/sysv/linux/getdents.c
17431         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17432         [!have_no_getdents64_defined]: Likewise.
17433         (__GETDENTS): Remove __have_no_getdents64 conditional.
17435 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17438         Remove macro.
17439         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17440         <kernel-features.h>.
17441         (signalfd) [__NR_signalfd4]: Make code unconditional.
17442         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17444 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17446         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17447         style.
17449 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17451         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17452         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17453         __pthread_unwind.
17454         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17455         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17456         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17457         (__condvar_cleanup1): Likewise.
17459 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17461         [BZ #19822]
17462         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17463         move it to the final $@ location.
17465 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17467         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17468         access where posix_spawn success and pid argument is null.
17469         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17470         success case.
17472 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17474         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17476         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17478         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17479         and __fcntl.
17480         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17481         __fcntl only.
17482         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17483         adding attribute_hidden to __open and __fcntl.
17485         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17486         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17487         depend on libc-modules.h,
17488         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17490 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17493         Remove macro.
17494         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17495         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17496         entry.
17498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17499         Remove macro.
17500         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17501         include <kernel-features.h>.
17502         [!__ASSUME_FALLOCATE]: Remove conditional code.
17503         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17505 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17507         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17508         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17509         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17510         (_ZGVdN4v_cos_avx2): Likewise.
17511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17512         (_ZGVdN4v_cos): Likewise.
17513         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17514         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17515         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17516         (_ZGVdN4v_exp_avx2): Likewise.
17517         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17518         (_ZGVdN4v_exp): Likewise.
17519         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17520         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17521         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17522         (_ZGVdN4v_log_avx2): Likewise.
17523         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17524         (_ZGVdN4v_log): Likewise.
17525         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17526         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17527         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17528         (_ZGVdN4vv_pow_avx2): Likewise.
17529         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17530         (_ZGVdN4vv_pow): Likewise.
17531         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17532         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17533         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17534         (_ZGVdN4v_sin_avx2): Likewise.
17535         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17536         (_ZGVdN4v_sin): Likewise.
17537         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17538         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17539         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17540         (_ZGVdN4vvv_sincos_avx2): Likewise.
17541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17542         (_ZGVdN4vvv_sincos): Likewise.
17543         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17544         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17546         (_ZGVbN4v_cosf_sse4): Likewise.
17547         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17548         (_ZGVdN8v_cosf_avx2): Likewise.
17549         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17550         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17551         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17552         (_ZGVbN4v_expf_sse4): Likewise.
17553         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17554         (_ZGVdN8v_expf_avx2): Likewise.
17555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17556         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17557         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17558         (_ZGVbN4v_logf_sse4): Likewise.
17559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17560         (_ZGVdN8v_logf_avx2): Likewise.
17561         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17562         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17563         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17564         (_ZGVbN4vv_powf_sse4): Likewise.
17565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17566         (_ZGVdN8vv_powf_avx2): Likewise.
17567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17568         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17570         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17571         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17572         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17574         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17576         (_ZGVbN4v_sinf_sse4): Likewise.
17577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17578         (_ZGVdN8v_sinf_avx2): Likewise.
17579         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17580         Use JUMPTARGET to call callee.
17581         (WRAPPER_IMPL_SSE2_ff): Likewise.
17582         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17583         (WRAPPER_IMPL_AVX): Likewise.
17584         (WRAPPER_IMPL_AVX_ff): Likewise.
17585         (WRAPPER_IMPL_AVX_fFF): Likewise.
17586         (WRAPPER_IMPL_AVX512): Likewise.
17587         (WRAPPER_IMPL_AVX512_ff): Likewise.
17588         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17589         Likewise.
17590         (WRAPPER_IMPL_SSE2_ff): Likewise.
17591         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17592         (WRAPPER_IMPL_AVX): Likewise.
17593         (WRAPPER_IMPL_AVX_ff): Likewise.
17594         (WRAPPER_IMPL_AVX_fFF): Likewise.
17595         (WRAPPER_IMPL_AVX512): Likewise.
17596         (WRAPPER_IMPL_AVX512_ff): Likewise.
17597         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17599 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17601         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17602         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17603         qualifier.
17604         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17605         internal_function qualifiers.
17607 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17609         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17610         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17611         * math/atest-exp.c (exp_mpn): Mark chk unused.
17612         * math/atest-exp2.c (exp_mpn): Likewise.
17613         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17614         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17616 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17619         Remove macro.
17620         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17621         <kernel-features.h>.
17622         [__NR_ppoll]: Make code unconditional.
17623         [!__ASSUME_PPOLL]: Remove conditional code.
17625         * sysdeps/unix/sysv/linux/kernel-features.h
17626         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17627         (__ASSUME_ACCEPT4): Likewise.
17628         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17629         Define.
17630         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17631         Likewise.
17632         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17633         Likewise.
17634         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17635         Likewise.
17636         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17637         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17639         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17640         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17641         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17642         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17643         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17644         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17645         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17646         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17647         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17648         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17649         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17650         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17652         Likewise.
17653         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17654         Likewise.
17655         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17656         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17657         0x040300].
17658         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17659         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17660         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17661         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17662         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17663         0x030300].
17664         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17665         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17666         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17667         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17668         0x040300].
17669         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17670         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17671         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17672         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17673         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17674         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17675         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17676         0x030300].
17677         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17678         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17679         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17680         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17681         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17682         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17683         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17684         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17685         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17686         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17687         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17688         0x040300].
17689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17691         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17692         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17695         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17696         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17697         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17698         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17700         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17701         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17703         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17704         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17705         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17706         Likewise.
17707         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17708         Likewise.
17710 2016-03-15  Andreas Schwab  <schwab@suse.de>
17712         [BZ #19257]
17713         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17714         statp->_u._ext.nscount as loop count.
17716 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17718         * math/test-signgam-finite-c99.c: Also #undef
17719         __LIBC_INTERNAL_MATH_INLINES.
17720         * math/test-signgam-main.c: Likewise.
17722 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17724         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17725         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17726         (MADV_FREE): Likewise.
17727         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17728         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17729         EPOLLEXCLUSIVE.
17731 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17733         * timezone/README: Remove mention of checktab.awk. Mention wiki
17734         SharedSourceFiles.
17736 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17738         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17739         WUNTRACED.
17741 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17743         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17744         order to match the type of p when calling atomic_exchange_acq().
17746 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17748         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17749         cfi_offset calls.
17750         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17751         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17752         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17753         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17754         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17756 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17758         * timezone/checktab.awk: Removed.
17760 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17762         * manual/math.texi (Errors in Math Functions): Document relaxed
17763         accuracy goals for IBM long double.
17764         * math/libm-test.inc (test_exceptions): Always allow spurious
17765         "underflow" and "inexact" exceptions for IBM long double.
17767 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17769         [BZ #19762]
17770         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17771         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17772         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17773         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17774         (bit_arch_*): This for feature array.
17775         (bit_*): Renamed to ...
17776         (bit_cpu_*): This for cpu array.
17777         (index_*): Renamed to ...
17778         (index_arch_*): This for feature array.
17779         (index_*): Renamed to ...
17780         (index_cpu_*): This for cpu array.
17781         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17782         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17783         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17784         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17785         bit_##name with index_cpu_##name and bit_cpu_##name.
17786         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17787         bit_##name with index_arch_##name and bit_arch_##name.
17789 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17791         [BZ #19792]
17792         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17793         Terminate FDE before return label.
17795 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17797         [BZ #19790]
17798         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17799         (rintl): Define as macro.
17800         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17801         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17802         of fesetround.  Ensure results are evaluated before end of scope.
17803         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17804         USE_AS_NEARBYINTL and include s_rintl.c.
17805         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17806         Disable exception traps in new environment.
17807         (libc_feholdsetround_ppc_ctx): Likewise.
17809 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17811         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17812         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17813         (tst_audit10_aux) [__AVX512F__]: ... here.
17815 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17817         * include/sys/auxv.h: New file.
17819 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17821         [BZ #19759]
17822         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17824 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17826         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17827         operand modifier.
17828         (feclearexcept): Likewise.
17830 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17832         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17833         to reflect the entire 32-bit HWCAP.
17834         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17835         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17837 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17839         [BZ #19783]
17840         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17841         $(test-via-rtld-prefix).
17842         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17844 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17846         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17847         union wait.  Report any non-zero exit status as error.
17849 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17851         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17852         configured with --enable-hardcoded-path-in-tests.
17854 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17856         [BZ #19677]
17857         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17858         (__ieee754_remainderl): Put zero low parts in canonical form.
17859         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17860         file.  Based on
17861         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17862         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17863         with wrapper round test-fmodrem-ldbl-128ibm.c.
17864         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17865         file.
17866         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17867         Likewise.
17868         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17869         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17871 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17873         [BZ #19610]
17874         * elf/ldconfig.c (opt_link): Update comment.
17875         (options): Update help string for option -X.
17876         (search_dir): Unlink stale symbolic link only if updating symbolic
17877         links.
17878         * elf/tst-ldconfig-X.sh: New file.
17879         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17880         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17882 2016-03-07  Andreas Schwab  <schwab@suse.de>
17884         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17885         needed arguments.
17887 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17889         [BZ #15333]
17890         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17891         to lstat64.
17893 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17895         * libio/filedoalloc.c (isatty): Remove.
17896         (local_isatty): Add comment.  Call __isatty directly.
17897         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17898         * libio/wfiledoalloc.c (isatty): Remove.
17899         (_IO_wfile_doallocate): Update comment.
17901 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17903         [BZ #19269]
17904         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17905         tst-audit4-aux.o.
17906         (tst-audit10): Depend on tst-audit10-aux.o.
17907         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17908         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17909         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17910         instead of inline AVX code.
17911         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17912         instead of inline AVX512 code.
17913         * sysdeps/x86_64/tst-audit4-aux.c: New file
17914         * sysdeps/x86_64/tst-audit10-aux.c: New file
17916         [BZ #19648]
17917         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17919 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17921         [BZ #14750]
17922         [BZ #10354]
17923         [BZ #18433]
17924         * include/sched.h (__clone): Add hidden prototype.
17925         (__clone2): Likewise.
17926         * include/unistd.h (__dup): Likewise.
17927         * posix/Makefile (tests): Add tst-spawn2.
17928         * posix/tst-spawn2.c: New file.
17929         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17930         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17931         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17932         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17933         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17934         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17935         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17936         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17937         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17938         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17939         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17941         Likewise.
17942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17943         Likewise.
17944         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17945         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17946         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17947         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17948         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17949         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17950         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17951         * sysdeps/unix/sysv/linux/nptl-signals.h
17952         (____nptl_is_internal_signal): New function.
17953         * sysdeps/unix/sysv/linux/spawni.c: New file.
17955         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17956         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17957         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17958         * posix/tst-execvp2.c (do_test): Likewise.
17959         * posix/tst-execvp3.c (do_test): Likewise.
17960         * posix/tst-execvp4.c (do_test): Likewise.
17961         * posix/tst-execvpe1.c: New file.
17962         * posix/tst-execvpe2.c: Likewise.
17963         * posix/tst-execvpe3.c: Likewise.
17964         * posix/tst-execvpe4.c: Likewise.
17965         * posix/tst-execvpe5.c: Likewise.
17966         * posix/tst-execvpe6.c: Likewise.
17968         [BZ #19534]
17969         * posix/execl.c (execl): Remove dynamic memory allocation.
17970         * posix/execle.c (execle): Likewise.
17971         * posix/execlp.c (execlp): Likewise.
17973 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17975         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17976         Replace .text with .text.avx512.
17977         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17978         Likewise.
17980 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17982         * sysdeps/generic/libnsl.abilist: New file.
17983         * sysdeps/generic/libutil.abilist: New file.
17985 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17987         [BZ #19762]
17988         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17989         HAS_ARCH_FEATURE with Fast_Rep_String.
17990         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17991         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17992         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17993         Likewise.
17994         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17995         Likewise.
17996         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17997         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17998         Likewise.
17999         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18000         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18001         Likewise.
18003 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18005         [BZ #19745]
18006         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18007         with *%rax in call.
18009 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18011         [BZ #19745]
18012         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18013         with *__libc_start_main@GOTPCREL(%rip) in call.
18015 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18017         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18018         inside conditional for nonempty $(CXX).
18020         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18021         nonempty.
18023         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18024         to test for empty $(CXX) rather than $(CXX) of "no".
18026 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18028         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18030 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18031             H.J. Lu  <hongjiu.lu@intel.com>
18033         [BZ #18880]
18034         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18035         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18036         enable __memcpy_ssse3_back.
18038 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18040         [BZ #19758]
18041         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18042         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18044 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18046         [BZ #19490]
18047         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18048         (__fentry__): Likewise.
18050 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18052         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18053         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18055 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18057         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18058         __mcount_internal directly.
18059         (C_LABEL(__fentry__)): Likewise.
18060         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18061         directly.
18063 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18065         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18066         (__start_context): Call __setcontext directly.
18068 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18070         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18071         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18072         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18073         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18074         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18075         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18076         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18077         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18078         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18079         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18080         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18081         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18082         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18083         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18084         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18086         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18087         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18088         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18089         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18090         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18091         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18092         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18093         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18094         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18095         Remove conditional code.
18096         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18097         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18098         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18099         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18100         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18101         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18102         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18103         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18104         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18105         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18106         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18107         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18109 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18111         * NEWS (2.23): Fix typo in bug 19048 text.
18113 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18115         [BZ #14259]
18116         * Makeconfig: Rename msgcatdir to localedir.
18117         Rename inst_msgcatdir to inst_localedir.
18118         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18119         * config.make.in: Add localedir.
18120         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18121         (ldd-rewrite): Likewise.
18122         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18123         (install-others): Use inst_localedir.
18124         (CPPFLAGS): Use localedir.
18125         * locale/Makefile (locale-CPPFLAGS): Likewise.
18126         * po/Makefile (mo-installed): Use inst_localedir.
18128         [BZ #19575]
18129         * localedata/charmaps/GB18030: Update comments regarding PAU to
18130         non-PUA mappings.
18132 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18134         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18135         test for header.
18136         * sysdeps/unix/sysv/linux/configure: Regenerated.
18137         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18138         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18139         Remove conditional code.
18140         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18142         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18143         Define to 3.2.0.
18144         (arch_minimum_kernel): Likewise.
18145         * sysdeps/unix/sysv/linux/configure: Regenerated.
18146         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18147         Define to 2.6.32.
18148         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18149         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18150         (arch_minimum_kernel): Define to 2.6.32.
18151         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18152         * README: Document Linux 3.2 requirement.
18153         * manual/install.texi (Linux): Document Linux 3.2 headers
18154         requirement.
18155         * INSTALL: Regenerated.
18157 2016-02-24  Andreas Schwab  <schwab@suse.de>
18159         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18160         if !NO_LONG_DOUBLE.
18162 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18164         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18165         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18167 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18169         [BZ #19512]
18170         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18172 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18174         * posix/tst-dir.c: Include libc-internal.h.
18176 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18178         [BZ #19056]
18179         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18180         * manual/filesys.texi (Reading/Closing Directory): Mention
18181         deprecaion.
18182         * posix/tst-dir.c (main): Disable deprecation warning in test.
18184 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18186         [BZ #19679]
18187         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18188         Renamed to ...
18189         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18190         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18191         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18192         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18193         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18194         * sysdeps/x86_64/dl-trampoline.h
18195         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18196         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18198 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18200         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18202 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18204         * elf/elf.h (R_386_GOT32X): New.
18205         (R_386_NUM): Update.
18206         (R_X86_64_GOTPCRELX: New.
18207         (R_X86_64_REX_GOTPCRELX): New.
18208         (R_X86_64_NUM): Update.
18210 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18212         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18214 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18216         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18217         assign attr->stackaddr to it, and adjust it down when
18218         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18219         [_STACK_GROWS_UP]: Delete assert.
18220         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18221         Implement stack grows up logic.
18222         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18223         stack grows up logic.
18225 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18227         * NEWS: Update with 2.24 template.
18229 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18231         [BZ #19678]
18232         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18233         Ensure +0.0 is returned when taking the next value below the least
18234         positive value.
18236 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18238         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18239         available.  Do not define NO_THREADS.
18240         * malloc/malloc.c: Do not check NO_THREADS.
18241         * malloc/arena.c: Likewise.
18243 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18245         * malloc/malloc.c (__libc_mallinfo): Update comment.
18246         (struct malloc_par): Remove max_total_mem member, it was always 0.
18247         (int_mallinfo): Store 0 into usmblks (no functional change).
18248         * malloc/hooks.c (struct malloc_state): Document that
18249         max_total_mem is always 0.
18250         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18251         always 0.
18252         * manual/memory.texi (Statistics of Malloc): Likewise.
18254 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18256         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18257         * malloc/arena.c (arena_max): Remove.
18258         (heap_trim, _int_new_arena): Do not update arena_max.
18260 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18262         * resolv/res_init.c (res_ninit): Update comment.
18264 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18266         [BZ #19505]
18267         * posix/spawn_int.h: Add headers and include guard.
18268         (__spawn_valid_fd): New function.
18269         * posix/spawn_faction_addopen.c
18270         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18271         * posix/spawn_faction_addclose.c
18272         (posix_spawn_file_actions_addclose): Likewise.
18273         * posix/spawn_faction_adddup2.c
18274         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18275         second file descriptor.
18276         * posix/spawn_valid_fd.c: New file.
18277         * posix/tst-posix_spawn-fd.c: New file.
18278         * posix/Makefile (routines): Add spawn_valid_fd.
18279         (tests): Add tst-posix_spawn-fd.
18281 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18283         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18284         (do_test): Limit the number of arenas, so that we can use fewer
18285         outer threads.  Limit timeout to 3 seconds, in preparation for a
18286         larger TIMEOUT value.
18288 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18290         [BZ #19674]
18291         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18292         sign in overflowing and underflowing results when overflow or
18293         underflow is detected early.  Include sign in result before rather
18294         than after scaling.
18296         [BZ #19603]
18297         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18298         (__ieee754_remainderl): Adjust sign of integer version of low part
18299         when taking absolute value of high part.
18300         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18301         * math/libm-test.inc (remainder_test_data): Add another test.
18302         (remquo_test_data): Likewise.
18304 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18306         [BZ #19602]
18307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18308         equal high parts and both low parts zero specially.
18309         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18310         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18311         Add test-fmodl-ldbl-128ibm.
18313         [BZ #19595]
18314         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18315         common logic for all cases of shifting subnormal results.  Do not
18316         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18317         exponent to ldbl_insert_mantissa in subnormal case.
18319         [BZ #19594]
18320         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18321         on high and low parts then adjust result and use
18322         ldbl_canonicalize_int if needed.
18324         [BZ #19593]
18325         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18326         on high part and __floor or __ceil on low part then use
18327         ldbl_canonicalize_int if needed.
18329         [BZ #19592]
18330         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18331         high and low parts then use ldbl_canonicalize_int if needed.
18333         [BZ #17899]
18334         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18335         New function.
18336         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18337         on high and low parts then use ldbl_canonicalize_int if needed.
18339 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18341         * configure: Regenerated.
18343         * po/libc.pot: Regenerated.
18345         * po/be.po: Updated translation.
18346         * po/bg.po: Likewise.
18347         * po/ca.po: Likewise.
18348         * po/cs.po: Likewise.
18349         * po/da.po: Likewise.
18350         * po/el.po: Likewise.
18351         * po/eo.po: Likewise.
18352         * po/es.po: Likewise.
18353         * po/fi.po: Likewise.
18354         * po/fr.po: Likewise.
18355         * po/gl.po: Likewise.
18356         * po/hr.po: Likewise.
18357         * po/hu.po: Likewise.
18358         * po/ia.po: Likewise.
18359         * po/id.po: Likewise.
18360         * po/it.po: Likewise.
18361         * po/ja.po: Likewise.
18362         * po/lt.po: Likewise.
18363         * po/nb.po: Likewise.
18364         * po/nl.po: Likewise.
18365         * po/pt_BR.po: Likewise.
18366         * po/rw.po: Likewise.
18367         * po/sk.po: Likewise.
18368         * po/sl.po: Likewise.
18369         * po/sv.po: Likewise.
18370         * po/tr.po: Likewise.
18371         * po/zh_CN.po: Likewise.
18372         * po/zh_TW.po: Likewise.
18374         * version.h (RELEAES): Set to "development".
18375         (VERSION): Set to 2.23.90.
18377         * version.h (RELEASE): Set to "stable".
18378         (VERSION): Set to 2.23.
18379         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18381         * NEWS: Updated fixed bugs.
18383 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18384             Wilco Dijkstra  <wdijkstr@arm.com>
18386         [BZ #19462]
18387         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18388         (_STRING_INLINE_unaligned): This.
18389         * include/string.h: Include <string_private.h>.
18390         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18391         _STRING_INLINE_unaligned.
18392         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18393         (_STRING_INLINE_unaligned): New.
18394         * sysdeps/aarch64/string_private.h: New file.
18395         * sysdeps/generic/string_private.h: Likewise.
18396         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18397         * sysdeps/s390/string_private.h: Likewise.
18398         * sysdeps/x86/string_private.h: Likewise.
18399         * sysdeps/m68k/m680x0/m68020/bits/string.h
18400         (_STRING_ARCH_unaligned): Renamed to ...
18401         (_STRING_INLINE_unaligned): This.
18402         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18403         to ...
18404         (_STRING_INLINE_unaligned): This.
18405         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18406         to ...
18407         (_STRING_INLINE_unaligned): This.
18408         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18409         to ...
18410         (_STRING_INLINE_unaligned): This.
18412 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18413             H.J. Lu  <hongjiu.lu@intel.com>
18415         [BZ #19590]
18416         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18417         relocation.
18419 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18421         [BZ #18665]
18422         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18423         *herrno_p.
18424         (gaih_getanswer): Document functional behviour. Return tryagain
18425         if any result is tryagain.
18426         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18427         when freed.
18428         * resolv/res_send.c: Add copyright text.
18429         (__libc_res_nsend): Document that MAXPACKET is expected.
18430         (send_vc): Document. Remove buffer reuse.
18431         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18432         size of the buffer. Add Dprint for truncated UDP buffer.
18434 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18436         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18437         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18438         * INSTALL: Regenerate.
18440 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18441             Jonathan Wakely  <jwakely@redhat.com>
18442             Carlos O'Donell  <carlos@redhat.com>
18444         [BZ 19439]
18445         * math/Makefile (tests): Add test-math-isinff.
18446         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18447         * math/bits/mathcalls.h [__USE_MISC]: Use
18448         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18449         functions not in C++11 and which don't conflict e.g. isinff,
18450         isinfl etc.
18451         * math/test-math-isinff.cc: New file.
18453 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18455         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18457 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18459         [BZ #19529]
18460         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18462 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18464         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18466 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18468         [BZ #19550]
18469         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18470         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18471         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18472         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18473         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18474         New syscall entry.
18475         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18476         New syscall entry.
18477         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18478         syscall entry.
18480 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18482         [BZ #18240]
18483         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18484         unsigned int wraparound.
18486 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18488         [BZ #18240]
18489         * misc/bug18240.c: New test.
18490         * misc/Makefile (tests): Add it.
18492 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18493             Joseph Myers  <joseph@codesourcery.com>
18495         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18496         load in branch delay slot when less than a word of input left.
18498 2016-01-27  Andreas Schwab  <schwab@suse.de>
18500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18501         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18502         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18503         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18505 2016-01-26  David S. Miller  <davem@davemloft.net>
18507         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18509 2016-01-25  David S. Miller  <davem@davemloft.net>
18511         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18512         __sqrtl_finite.
18513         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18514         instead using versioned_symbol.
18515         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18516         of entries.
18518         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18519         __sqrtl_finite to GLIBC_2.23
18521 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18523         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18525 2016-01-25  Andreas Schwab  <schwab@suse.de>
18527         [BZ #17514]
18528         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18529         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18530         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18531         * nptl/tst-mutex-errorcheck.c: New file.
18533 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18535         [BZ #18560]
18536         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18537         (IPCOP_semop): Likewise.
18538         (IPCOP_semget): Likewise.
18539         (IPCOP_semctl): Likewise.
18540         (IPCOP_msgsnd): Likewise.
18541         (IPCOP_msgrcv): Likewise.
18542         (IPCOP_msgget): Likewise.
18543         (IPCOP_msgctl): Likewise.
18544         (IPCOP_shmat): Likewise.
18545         (IPCOP_shmdt): Likewise.
18546         (IPCOP_shmget): Likewise.
18547         (IPCOP_shmctl): Likewise.
18549 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18551         * string/tst-endian.c: Include <libc-internal.h>.
18552         (do_test): Ignore tautological-compare warnings around
18553         "htobeXX (beXXtoh (i)) != i" and
18554         "htoleXX (leXXtoh (i)) != i" if-statements.
18556 2016-01-24  David S. Miller  <davem@davemloft.net>
18558         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18559         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18560         alias.
18561         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18562         __sqrtl_finite.
18564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18566 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18568         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18569         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18570         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18572 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18574         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18575         (thread_func): Use new function to simplify barrier check.
18576         (do_test): Use new function to simplify checking barrier exit
18577         code, and actually join the child thread.
18579 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18581         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18582         semicolon.
18583         (__libc_tend): Likewise.
18584         (__libc_tabort): Likewise.
18586 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18588         * sysdeps/nios2/libm-test-ulps: Update.
18589         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18590         (__gtsf2): Likewise.
18591         (__unorddf2): Likewise.
18592         (__unordsf2): Likewise.
18593         (__ledf2): Likewise.
18595 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18597         * nis/nis_table.c (__follow_path): Disable diagnostic for
18598         uninitialized variable that is a false positive for gcc 4.7.
18599         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18601 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18603         * sysdeps/nacl/lowlevellock-futex.h
18604         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18605         Always evaluate PRIVATE argument.
18607 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18609         [BZ #19490]
18610         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18611         (pthread_cond_broadcast): Use ENTRY/END
18612         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18613         (pthread_cond_signal): Likewise.
18614         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18615         Likewise.
18616         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18617         Likewise.
18618         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18619         Likewise.
18621 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18623         * sysdeps/ieee754/dbl-64/s_finite.c
18624         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18625         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18626         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18627         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18628         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18631         (__gtsf2): Add as optional for libc.so.
18632         (__unordsf2): Likewise.
18633         (__signbit): Remove for libc.so.
18634         (__signbitl): Likewise.
18636 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18638         * iconvdata/bug-iconv11.c (test_ibm93x):
18639         Use %zu printf format specifier for size_t argument.
18641 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18643         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18644         already-recorded ulps.
18645         * sysdeps/arm/libm-test-ulps: Regenerated.
18646         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18647         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18648         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18650 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18651             Paul Pluzhnikov  <ppluzhnikov@google.com>
18653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18654         assembler not supporting AVX-512.
18656 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18658         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18660 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18662         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18663         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18665         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18667         * sysdeps/arm/libm-test-ulps: Regenerated.
18669 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18671         [BZ #19451]
18672         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18674 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18676         [BZ #19486]
18677         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18678         * sysdeps/generic/fix-fp-int-convert-overflow.h
18679         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18680         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18681         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18682         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18683         Likewise.
18684         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18685         Avoid conversions to long int where inexact exceptions
18686         could be raised.
18687         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18688         Likewise.
18689         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18690         Avoid conversions to long long int where inexact exceptions
18691         could be raised.
18692         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18693         Likewise.
18695 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18697         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18698         * configure: Regenerated.
18700 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18702         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18704 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18706         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18707         outside of comment.
18709 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18711         * nptl/tst-barrier1.c: Add description on first line.
18712         * nptl/tst-barrier2.c: Likewise.
18713         * nptl/tst-barrier3.c: Likewise.
18714         * nptl/tst-barrier4.c: Likewise.
18715         * nptl/tst-barrier5.c: Likewise.
18717 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18719         [BZ #18868]
18720         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18722 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18726         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18727         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18728         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18729         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18730         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18731         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18732         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18733         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18734         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18736 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18738         [BZ #13065]
18739         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18740         new implementation.
18741         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18742         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18743         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18744         (BARRIER_IN_THRESHOLD): New macro.
18745         * nptl/pthread_barrierattr_setpshared.c
18746         (pthread_barrierattr_setpshared): Clean up.
18747         * nptl/tst-barrier4.c: Correct comment.
18748         * nptl/tst-barrier5.c: New file.
18749         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18750         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18751         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18752         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18753         * nptl/lowlevelbarrier.sym: Remove.
18754         * nptl/DESIGN-barrier.txt: Remove.
18755         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18756         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18757         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18758         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18759         error.
18760         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18761         implementation.
18763 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18765         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18766         (do_child): Mask SIGRTMIN while thr is running.
18768 2016-01-15  Martin Sebor  <msebor@redhat.com>
18770         [BZ #19432]
18771         * iconvdata/Makefile: Add bug-iconv11.
18772         * iconvdata/bug-iconv11.c: New test.
18773         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18774         * iconvdata/ibm933.c: Same.
18775         * iconvdata/ibm935.c: Same.
18776         * iconvdata/ibm937.c: Same.
18777         * iconvdata/ibm939.c: Same.
18779 2016-01-15  Martin Sebor  <msebor@redhat.com>
18781         [BZ #19443]
18782         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18783         [DEBUG] (_ufc_set_bits): Declare used.
18784         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18785         [DEBUG] (print_all): Declare used.
18786         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18787         operands of the ternary ?: expression to target type.
18788         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18789         calling the undeclared abort.
18790         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18792 2016-01-15  Martin Sebor  <msebor@redhat.com>
18794         [BZ #18755]
18795         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18796         warnings.
18797         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18798         (__gai_create_helper_thread): Same.
18799         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18800         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18801         to suppress -Wmaybe-uninitialized warnings.
18803 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18805         [BZ #19465]
18806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18807         inside if.
18808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18809         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18812 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18814         [BZ #19466]
18815         * time/tst-mktime2.c (time_t_max): Removed.
18816         (time_t_min): Likewise.
18817         (TYPE_SIGNED): New.
18818         (TYPE_MINIMUM): Likewise.
18819         (TYPE_MAXIMUM): Likewise.
18820         (TIME_T_MIN): Likewise.
18821         (TIME_T_MAX): Likewise.
18822         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18823         and TIME_T_MIN.
18824         (do_test): Likewise.
18826 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18828         [BZ #19467]
18829         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18830         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18832 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18834         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18836 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18838         * benchtests/Makefile (PYTHON): Define.
18839         (bench-func): Use $(PYTHON) to run python scripts.
18840         ($(objpfx)bench-%.c): Likewise.
18842 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18844         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18845         leading slash when `file_name' is "/".
18847 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18849         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18850         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18851         Likewise.
18852         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18853         Likewise.
18854         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18855         Likewise.
18856         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18857         enum constant and macro.
18858         (PTRACE_SETSIGMASK): Likewise.
18859         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18860         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18861         (PTRACE_GETSIGMASK): Likewise.
18862         (PTRACE_SETSIGMASK): Likewise.
18863         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18864         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18865         Likewise.
18866         (PTRACE_SETSIGMASK): Likewise.
18867         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18868         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18869         (PTRACE_GETSIGMASK): Likewise.
18870         (PTRACE_SETSIGMASK): Likewise.
18871         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18873         Likewise.
18874         (PTRACE_SETSIGMASK): Likewise.
18875         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18876         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18877         Likewise.
18878         (PTRACE_SETSIGMASK): Likewise.
18879         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18880         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18881         Likewise.
18882         (PTRACE_SETSIGMASK): Likewise.
18883         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18885 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18886             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18888         [BZ #19439]
18889         * math/bits/mathcalls.h
18890         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18891         prototype.
18892         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18894 2016-01-11  Andreas Schwab  <schwab@suse.de>
18896         [BZ #19253]
18897         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18898         cache when TZDEFRULES was used.
18899         * time/tst-tzname.c: New file.
18900         * time/Makefile (test): Add tst-tzname.
18901         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18902         * timezone/Makefile (test-zones): Add $(posixrules-file).
18903         ($(testdata)/$(posixrules-file)): New rule.
18905 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18907         Fix doc quoting problems with Texinfo 5
18908         Without this change, in the info file output, Texinfo 5 quotes code
18909         in text with undirected single quotes 'like this' and generates
18910         code examples that with many PDF readers cannot be cut out of PDFs
18911         and pasted into code.
18912         * manual/libc.texinfo: Configure the libc manual like the GNU
18913         Emacs manual, by using @documentencoding and setting
18914         txicodequoteundirected and txicodequotebacktick.  This way,
18915         Texinfo 5 quotes code in text with directed single quotes ‘like
18916         this’ and produces examples that can be cut out of PDFs.  This
18917         change causes Texinfo 5 to generate info files that contain UTF-8
18918         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18919         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18921 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18923         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18924         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18925         barriers to their respective compiler built-ins.
18926         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18927         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18928         * sysdeps/powerpc/sysdep.h: Likewise.
18929         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18930         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18931         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18933 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18935         * scripts/config.guess: Revert previous shebang change.
18936         * scripts/config.sub: Likewise.
18937         * scripts/mkinstalldirs: Likewise.
18939 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18941         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18942         PPC_FEATURE2_HAS_IEEE128.
18943         * sysdeps/powerpc/dl-procinfo.c:
18944         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18946 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18948         [BZ #19415]
18949         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18950         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18951         (_dl_lookup_address): Rewrite using function resolver trampoline.
18952         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18953         two bits in address.
18955 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18957         * longlong.h: Change !__SHMEDIA__ to
18958         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18959         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18961 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18962             Joseph Myers  <joseph@codesourcery.com>
18963             Mark Shinwell  <shinwell@codesourcery.com>
18964             Andrew Stubbs  <ams@codesourcery.com>
18965             Rich Felker <dalias@libc.org>
18967         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18969 2016-01-07  Richard Henderson  <rth@redhat.com>
18971         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18973 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18975         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18976         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18977         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18978         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18979         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18981 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18982             Joseph Myers  <joseph@codesourcery.com>
18984         * timezone/private.h: Update from tzcode 2015g.
18985         * timezone/tzfile.h: Likewise.
18986         * timezone/tzselect.ksh: Likewise.
18987         * timezone/zdump.c: Likewise.
18988         * timezone/zic.c: Likewise.
18989         * timezone/ialloc.c: Remove file.
18990         * timezone/scheck.c: Likewise.
18991         * timezone/Makefile (extra-objs): Remove variable.
18992         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18993         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18994         -Wno-maybe-uninitialized.
18995         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18996         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18997         (CFLAGS-ialloc.c): Remove variable.
18998         (CFLAGS-scheck.c): Likewise.
18999         * timezone/README: Update list of files from tzcode.
19001 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19003         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19004         instead of __fxprintf when _LIBC is undefined.
19006 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19008         * catgets/test-gencat.sh: Remove space after shebang.
19009         * conform/GlibcConform.pm: Likewise.
19010         * conform/check-header-lists.sh: Likewise.
19011         * conform/conformtest.pl: Likewise.
19012         * conform/linknamespace.pl: Likewise.
19013         * conform/list-header-symbols.pl: Likewise.
19014         * debug/catchsegv.sh: Likewise.
19015         * elf/genrtldtbl.awk: Likewise.
19016         * elf/tst-pathopt.sh: Likewise.
19017         * elf/tst-rtld-load-self.sh: Likewise.
19018         * grp/tst_fgetgrent.sh: Likewise.
19019         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19020         * iconvdata/gen-8bit-gap.sh: Likewise.
19021         * iconvdata/gen-8bit.sh: Likewise.
19022         * iconvdata/run-iconv-test.sh: Likewise.
19023         * intl/tst-gettext.sh: Likewise.
19024         * intl/tst-gettext2.sh: Likewise.
19025         * intl/tst-gettext4.sh: Likewise.
19026         * intl/tst-gettext6.sh: Likewise.
19027         * intl/tst-translit.sh: Likewise.
19028         * io/ftwtest-sh: Likewise.
19029         * libio/test-freopen.sh: Likewise.
19030         * locale/gen-translit.pl: Likewise.
19031         * malloc/tst-mtrace.sh: Likewise.
19032         * manual/check-safety.sh: Likewise.
19033         * manual/libc-texinfo.sh: Likewise.
19034         * manual/tsort.awk: Likewise.
19035         * manual/xtract-typefun.awk: Likewise.
19036         * nptl/tst-cancel-wrappers.sh: Likewise.
19037         * nptl/tst-tls6.sh: Likewise.
19038         * posix/globtest.sh: Likewise.
19039         * posix/tst-getconf.sh: Likewise.
19040         * posix/wordexp-tst.sh: Likewise.
19041         * scripts/check-c++-types.sh: Likewise.
19042         * scripts/check-local-headers.sh: Likewise.
19043         * scripts/config.guess: Likewise.
19044         * scripts/config.sub: Likewise.
19045         * scripts/cpp: Likewise.
19046         * scripts/cross-test-ssh.sh: Likewise.
19047         * scripts/documented.sh: Likewise.
19048         * scripts/evaluate-test.sh: Likewise.
19049         * scripts/gen-libc-abis: Likewise.
19050         * scripts/gen-sorted.awk: Likewise.
19051         * scripts/list-fixed-bugs.py: Likewise.
19052         * scripts/merge-test-results.sh: Likewise.
19053         * scripts/mkinstalldirs: Likewise.
19054         * scripts/rellns-sh: Likewise.
19055         * scripts/test-installation.pl: Likewise.
19056         * scripts/update-copyrights: Likewise.
19057         * stdio-common/tst-printf.sh: Likewise.
19058         * stdio-common/tst-unbputc.sh: Likewise.
19059         * stdlib/tst-fmtmsg.sh: Likewise.
19060         * stdlib/tst-setcontext3.sh: Likewise.
19061         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19062         * sysdeps/unix/make-syscalls.sh: Likewise.
19064 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19066         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19067         asm stw with atomic_exchange_rel.  Add explanatory comment.
19068         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19069         Likewise.
19071 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19073         [BZ #19122]
19074         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19075         * sysdeps/generic/dl-unistd.h: New file.
19076         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19078 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19080          [BZ #19122]
19081          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19082          * sysdeps/generic/dl-mman.h: New file.
19083          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19085 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19087         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19088         trailing whitespace removed.
19089         * scripts/config.guess: Update to version 2016-01-01.
19090         * scripts/config.sub: Update to version 2016-01-01.
19091         * scripts/move-if-change: Update from gnulib.
19093 2016-01-04  Anton Blanchard  <anton@samba.org>
19095         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19096         for array indices.
19097         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19099 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19101         * NEWS: Update copyright dates.
19102         * catgets/gencat.c (print_version): Likewise.
19103         * csu/version.c (banner): Likewise.
19104         * debug/catchsegv.sh: Likewise.
19105         * debug/pcprofiledump.c (print_version): Likewise.
19106         * debug/xtrace.sh (do_version): Likewise.
19107         * elf/ldconfig.c (print_version): Likewise.
19108         * elf/ldd.bash.in: Likewise.
19109         * elf/pldd.c (print_version): Likewise.
19110         * elf/sotruss.sh: Likewise.
19111         * elf/sprof.c (print_version): Likewise.
19112         * iconv/iconv_prog.c (print_version): Likewise.
19113         * iconv/iconvconfig.c (print_version): Likewise.
19114         * locale/programs/locale.c (print_version): Likewise.
19115         * locale/programs/localedef.c (print_version): Likewise.
19116         * login/programs/pt_chown.c (print_version): Likewise.
19117         * malloc/memusage.sh (do_version): Likewise.
19118         * malloc/memusagestat.c (print_version): Likewise.
19119         * malloc/mtrace.pl: Likewise.
19120         * manual/libc.texinfo: Likewise.
19121         * nptl/version.c (banner): Likewise.
19122         * nscd/nscd.c (print_version): Likewise.
19123         * nss/getent.c (print_version): Likewise.
19124         * nss/makedb.c (print_version): Likewise.
19125         * posix/getconf.c (main): Likewise.
19126         * scripts/test-installation.pl: Likewise.
19127         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19129         * All files with FSF copyright notices: Update copyright dates
19130         using scripts/update-copyrights.
19131         * intl/plural.c: Regenerated.
19132         * locale/programs/charmap-kw.h: Likewise.
19133         * locale/programs/locfile-kw.h: Likewise.
19135 2016-01-02  Helge Deller  <deller@gmx.de>
19137         [BZ #19285]
19138         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19139         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19140         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19141         (MADV_xxK_PAGES): Remove.
19143 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19145         [BZ #15421]
19146         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19147         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19148         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19149         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19151 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19153         [BZ #19408]
19154         * sysdeps/unix/sysv/linux/personality.c: New file.
19155         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19156         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19157         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19158         (sysdep_routines): Add personality.
19159         (tests): Add tst-personality.
19160         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19161         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19162         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19163         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19164         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19165         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19166         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19167         Likewise.
19168         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19169         Likewise.
19170         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19171         Likewise.
19172         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19173         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19174         Likewise.
19176 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19178         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19179         (PATH_ARM_SYSTYPE): Remove.
19180         (PATH_CPUINFO): Likewise.
19181         (IO_BASE_FOOTBRIDGE): Likewise.
19182         (IO_SHIFT_FOOTBRIDGE): Likewise.
19183         (struct platform): Likewise.
19184         (init_iosys): Remove compatibility code for 2.4 kernels.
19185         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19187 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19189         * malloc/tst-malloc-thread-fail.c: New file.
19190         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19191         (tst-malloc-thread-fail): Link against libpthread.
19193 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19195         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19196         (get_parser): New function.
19197         (main): New function.
19199 2015-12-29  Rob Wu  <rob@robwu.nl>
19201         [BZ #19369]
19202         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19204 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19206         [BZ #19270]
19207         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19209 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19211         [BZ #15421]
19212         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19214 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19216         [BZ #13690]
19217         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19218         after releasing it.
19219         (__lll_robust_unlock): Likewise.
19220         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19221         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19222         (lll_robust_unlock): Likewise.
19223         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19224         Prevent warnings in callers.
19226 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19228         * malloc/arena.c (list_lock): Update comment.
19230 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19232         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19233         __parse_hwcap_and_convert_at_platform to libc.a.
19235 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19237         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19238         platform and feature support for POWER9.
19239         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19240         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19241         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19242         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19243         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19244         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19245         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19246         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19248 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19250         Harmonize generic stdio-lock support with nptl
19252         This fixes build when _IO_funlockfile is a macro, fixes build where
19253         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19254         stack unwind.
19256         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19257         _IO_release_lock ): Use cleanup attribute on new
19258         _IO_acquire_lock_file variable instead of assuming that
19259         _IO_release_lock will be called.
19260         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19261         _IO_acquire_lock_needs_exceptions_enabled.
19262         (_IO_acquire_lock_clear_flags2): New macro.
19264 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19266         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19268 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19270         [BZ #19182]
19271         * malloc/arena.c (list_lock): Document lock ordering requirements.
19272         (free_list_lock): New lock.
19273         (ptmalloc_lock_all): Comment on free_list_lock.
19274         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19275         (detach_arena): Update comment.  free_list_lock is now needed.
19276         (_int_new_arena): Use free_list_lock around detach_arena call.
19277         Acquire arena lock after list_lock.  Add comment, including FIXME
19278         about incorrect synchronization.
19279         (get_free_list): Switch to free_list_lock.
19280         (reused_arena): Acquire free_list_lock around detach_arena call
19281         and attached threads counter update.  Add two FIXMEs about
19282         incorrect synchronization.
19283         (arena_thread_freeres): Switch to free_list_lock.
19284         * malloc/malloc.c (struct malloc_state): Update comments to
19285         mention free_list_lock.
19287 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19289         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19290         Remove functions.
19291         (sloww, sloww1): Accept argument to offset quadrant.
19292         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19293         quadrant.
19294         (__sin, __cos): Consolidate common code into new functions.
19295         (reduce_sincos_1, do_sincos_1): New functions.
19296         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19298         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19299         code to new functions.
19300         (reduce_sincos_2, do_sincos_2): New functions.
19301         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19304         common code for sincos.
19305         (__cos) [!IN_SINCOS]: Likewise.
19306         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19307         New function.
19308         (__sincos): Use it.
19310 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19312         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19313         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19314         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19316 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19318         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19321         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19322         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19323         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19324         index_Prefer_No_VZEROUPPER): New feature.
19325         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19326         Prefer_No_VZEROUPPER for Knights Landing.
19328 015-12-18  Torvald Riegel  <triegel@redhat.com>
19330         * math/atest-exp2.c (mp_exp_m1): Remove.
19332 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19334         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19335         syscalls.
19336         (__SYSCALL0): New macro.
19337         (__SYSCALL1): Likewise.
19338         (__SYSCALL2): Likewise.
19339         (__SYSCALL3): Likewise.
19340         (__SYSCALL4): Likewise.
19341         (__SYSCALL5): Likewise.
19342         (__SYSCALL6): Likewise.
19343         (__SYSCALL_CONCAT_X): Likewise.
19344         (__SYSCALL_CONCAT): Likewise.
19345         (__SYSCALL_DIST): Likewise.
19346         (__SYSCALL_CALL): Likewise.
19348 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19350         [BZ #19363]
19351         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19353 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19355         [BZ #19375]
19356         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19357         negative subnormals.
19359 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19362         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19363         (INTERNAL_SYSCALL_NCS): Use it.
19364         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19366 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19368         [BZ #19243]
19369         * malloc/arena.c (get_free_list): Remove assert and adjust
19370         reference count handling.  Add comment about reused_arena
19371         interaction.
19372         (reused_arena): Add comments abount get_free_list interaction.
19373         * malloc/tst-malloc-thread-exit.c: New file.
19374         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19375         (tst-malloc-thread-exit): Link against libpthread.
19377 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19379         [BZ #19367]
19380         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19381         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19382         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19383         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19384         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19386 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19388         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19389         Silvermont optimizations for Knights Landing.
19391 2015-12-15  Andreas Schwab  <schwab@suse.de>
19393         [BZ #17197]
19394         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19395         immediately after emitting SI.
19396         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19397         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19398         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19399         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19400         * iconvdata/bug-iconv10.c: New file.
19401         * iconvdata/Makefile (tests): Add bug-iconv10.
19402         ($(objpfx)bug-iconv10.out): New rule.
19404 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19406         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19407         aliasing violation.
19409 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #18472]
19412         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19413         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19414         conditionals for them.
19415         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19416         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19417         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19418         sys/kdaemon.h.
19419         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19420         compat-only syscall, obsoleted in glibc 2.23.
19421         (create_module): Likewise.
19422         (get_kernel_syms): Likewise.
19423         (query_module): Likewise.
19424         (uselib): Likewise.
19425         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19427 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19429         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19430         <linux/version.h>.
19431         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19432         conditional code.
19433         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19434         and ioshift_name initialization.
19436 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19438         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19439         Fix indentation.
19441 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19443         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19445 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19447         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19449 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19450             Jakub Wilk  <jwilk@debian.org>
19452         [BZ #19347]
19453         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19454         to change the group of the device to the tty group.
19456 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19458         Split large string section; add truncation advice
19459         * manual/examples/strncat.c: Remove.
19460         This example was misleading, as the code would have undefined
19461         behavior if "hello" was longer than SIZE.  Anyway, the manual
19462         shouldn't encourage strncpy+strncat for this sort of thing.
19463         * manual/string.texi (Copying Strings and Arrays): Split into
19464         three sections Copying Strings and Arrays, Concatenating Strings,
19465         and Truncating Strings, as this section was way too long.  All
19466         cross-referenced changed.  Add advice about string-truncation
19467         functions.  Remove misleading strncat example.
19469 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19471         * manual/nss.texi (NSS Modules Interface): Document
19472         NSS_STATUS_NOTFOUND and SUCCESS.
19474 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19476         [BZ 18568]
19477         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19478         201505L, for Unicode 8.
19480 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19482         * locale/C-translit.h: Regenerate.
19484 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19486         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19487         and U+0153.
19489 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19491         [BZ #19351]
19492         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19493         expanding log(1+z), compare z rather than its square with epsilon
19494         to determine when to avoid evaluating the expansion.
19496         [BZ #19350]
19497         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19498         Increase overflow threshold.
19500         [BZ #19349]
19501         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19502         when small.
19504         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19505         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19506         New macro.
19507         [__LINUX_KERNEL_VERSION >= 0x040300]
19508         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19509         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19510         Likewise.
19511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19512         Likewise.
19513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19514         Likewise.
19515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19516         Likewise.
19517         [__LINUX_KERNEL_VERSION >= 0x040300]
19518         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19519         [__LINUX_KERNEL_VERSION >= 0x040300]
19520         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19521         [__LINUX_KERNEL_VERSION >= 0x040300]
19522         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19523         [__LINUX_KERNEL_VERSION >= 0x040300]
19524         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19525         [__LINUX_KERNEL_VERSION >= 0x040300]
19526         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19527         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19528         Likewise.
19529         [__LINUX_KERNEL_VERSION >= 0x040300]
19530         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19532         Likewise.
19533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19534         Likewise.
19535         [__LINUX_KERNEL_VERSION >= 0x040300]
19536         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19538         Likewise.
19539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19540         Likewise.
19541         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19543         Likewise.
19544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19545         Likewise.
19546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19547         Likewise.
19548         [__LINUX_KERNEL_VERSION >= 0x040300]
19549         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19550         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19551         Likewise.
19552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19553         Likewise.
19554         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19555         Likewise.
19556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19557         Likewise.
19558         [__LINUX_KERNEL_VERSION >= 0x040300]
19559         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19560         [__LINUX_KERNEL_VERSION >= 0x040300]
19561         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19562         [__LINUX_KERNEL_VERSION >= 0x040300]
19563         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19564         [__LINUX_KERNEL_VERSION >= 0x040300]
19565         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19566         [__LINUX_KERNEL_VERSION >= 0x040300]
19567         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19568         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19569         Likewise.
19570         [__LINUX_KERNEL_VERSION >= 0x040300]
19571         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19573         Likewise.
19574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19575         Likewise.
19576         [__LINUX_KERNEL_VERSION >= 0x040300]
19577         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19579         Likewise.
19580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19581         Likewise.
19582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19583         (__ASSUME_SOCKET_SYSCALL): Likewise.
19584         (__ASSUME_BIND_SYSCALL): Likewise.
19585         (__ASSUME_CONNECT_SYSCALL): Likewise.
19586         (__ASSUME_LISTEN_SYSCALL): Likewise.
19587         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19588         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19589         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19590         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19591         (__ASSUME_SEND_SYSCALL): Likewise.
19592         (__ASSUME_SENDTO_SYSCALL): Likewise.
19593         (__ASSUME_RECV_SYSCALL): Likewise.
19594         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19595         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19596         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19597         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19598         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19599         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19600         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19601         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19602         Likewise.
19603         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19604         Likewise.
19605         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19606         Likewise.
19607         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19608         Likewise.
19609         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19610         Likewise.
19611         [__LINUX_KERNEL_VERSION >= 0x020625]
19612         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19613         [__LINUX_KERNEL_VERSION >= 0x020625]
19614         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19615         [__LINUX_KERNEL_VERSION >= 0x020625]
19616         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19617         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19618         Likewise.
19619         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19620         Likewise.
19621         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19622         Likewise.
19623         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19624         Likewise.
19625         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19626         Likewise.
19627         [__LINUX_KERNEL_VERSION >= 0x020625]
19628         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19629         [__LINUX_KERNEL_VERSION >= 0x020625]
19630         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19631         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19632         Likewise.
19633         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19634         Likewise.
19636 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19638         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19639         record the current if the current ABI and CPU support the FP64
19640         extension.
19641         (has-modd-spreg): Define to record the current if the current ABI and
19642         CPU support 32-bit floating point values in odd FPU registers.
19643         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19644         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19645         $(has-modd-spreg) equals yes.
19646         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19647         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19648         $(has-modd-spreg) equal yes.
19650 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19652         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19653         basename.
19655 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19657         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19658         (bench-string): ... here.
19659         (bench): Add bench-string.
19660         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19661         to *-benchset to reflect what they are.
19662         (benchset): Adjust.
19664         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19665         cos-inputs.
19667 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19669         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19670         __attribute__ ((__simd__)) for vector math function declarations.
19672 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19674         Fix typo in strncat, wcsncat manual entries
19675         * manual/string.texi (Copying and Concatenation): Fix typos in
19676         sample implementations of strncat and wcsncat, by having them use
19677         the old value of the destination length, not the new one.
19679 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19681         [BZ #16961]
19682         [BZ #16962]
19683         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19684         string on the stack for strtod.
19685         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19686         a string on the stack for strtof.
19687         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19688         constructing a string on the stack for strtold.
19689         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19690         __strtold_nan to GLIBC_PRIVATE.
19691         * math/test-nan-overflow.c: New file.
19692         * math/test-nan-payload.c: Likewise.
19693         * math/Makefile (tests): Add test-nan-overflow and
19694         test-nan-payload.
19696 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19698         Consistency about byte vs character in string.texi
19699         * manual/string.texi (String and Array Utilities):
19700         Distinguish more carefully among bytes, multibyte characters,
19701         and wide characters.  Use "byte" when talking about C 'char',
19702         to distinguish it more clearly from multibyte characters.
19703         Say "wide character" or "multibyte character" instead of
19704         "character", when a wide or multibyte character is intended.
19705         Similarly for "multibyte string" versus "string".
19706         Define these terms more carefully.
19708 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19710         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19711         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19712         Likewise.
19713         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19714         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19715         * sysdeps/sh/math_private.h: New file.
19716         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19717         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19718         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19719         long double function name.
19720         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19721         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19722         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19723         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19726         Remove __finitel, __isinfl, and __isnanl.
19727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19728         Likewise.
19729         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19731         Remove __finitel.
19732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19733         Likewise.
19734         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19736 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19738         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19739         installed libmvec_nonshared.a.
19741 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19743         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19744         (sysdep_routines): Likewise.
19745         (sysdep-rtld-routines): Likewise.
19746         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19747         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19748         * sysdeps/powerpc/Versions: Added new
19749         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19750         * sysdeps/powerpc/hwcapinfo.c: New file.
19751         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19752         and parse hwcap, hwcap2 and platform number information.
19753         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19754         to store HWCAP+HWCAP2 and platform number.
19755         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19756         for HWCAP+HWCAP2 and platform number in the TCB.
19757         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19758         the HWCAP, HWCAP2 and platform number in the TCB.
19759         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19760         (TLS_INIT_TP): Included calls to add the hwcap and
19761         at_platform values in the TCB in TP initialization.
19762         (TLS_DEFINE_INIT_TP): Likewise.
19763         (THREAD_GET_HWCAP): New macro.
19764         (THREAD_SET_HWCAP): Likewise.
19765         (THREAD_GET_AT_PLATFORM): Likewise.
19766         (THREAD_SET_AT_PLATFORM): Likewise.
19767         * sysdeps/powerpc/powerpc32/dl-machine.h:
19768         (dl_platform_init): New function that calls
19769         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19770         powerpc32.
19771         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19772         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19773         this functionality, static linking case.
19774         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19775         linking case.
19776         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19777         __parse_hwcap_and_convert_at_platform for the static linking case.
19778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19779         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19780         ABI list for GLIBC 2.23.
19781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19782         Likewise.
19783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19784         Likewise.
19786 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19788         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19789         * configure: Regenerate.
19790         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19791         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19793 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19795         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19796         * iconvdata/ibm933.c: Likewise.
19797         * iconvdata/ibm935.c: Likewise.
19798         * iconvdata/ibm937.c: Likewise.
19799         * iconvdata/ibm939.c: Likewise.
19801 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19803         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19804         pthread_join.
19805         * nptl/tst-cancel21.c (tf): Likewise.
19807 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19809         [BZ #19313]
19810         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19811         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19812         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19813         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19814         Likewise.
19815         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19816         Likewise.
19817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19818         Likewise.
19819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19820         Likewise.
19821         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19822         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19823         unsigned long int with __CPU_MASK_TYPE.
19825 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19827         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19829 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19831         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19832         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19833         t512.x.
19834         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19836 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19838         [BZ #19214]
19839         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19840         argument to return extended model.  Update family and model
19841         with extended family and model when family == 0x0f.
19842         (init_cpu_features): Updated.
19844 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19846         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19847         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19849         * sysdeps/mach/hurd/mmap64.c: New file.
19851 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19853         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19854         rights for its main user thread in NEWTASK.
19856 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19858         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19859         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19861 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19863         [BZ #14259]
19864         * Makeconfig: Rename localedir to complocaledir.
19865         Rename inst_localedir to inst_complocaledir.
19866         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19867         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19868         * configure.ac: Use libc_cv_complocaledir.
19869         * configure: Regenerate.
19870         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19871         -DCOMPLOCALEDIR.
19872         * locale/findlocale.c: Use COMPLOCALEDIR.
19873         * locale/loadarchive.c: Likewise.
19874         * locale/programs/locale.c: Likewise.
19875         * locale/programs/localedef.c: Likewise.
19876         * locale/programs/locarchive.c: Likewise.
19877         * localedata/Makefile: Use inst_complocaledir.
19878         * sysdeps/gnu/configure: Regenerate.
19879         * sysdeps/hppa/configure: Regenerate.
19880         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19881         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19883         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19884         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19885         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19886         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19888 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19890         [BZ #19058]
19891         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19892         AS_NEEDED.
19893         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19894         workaround.
19895         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19896         libmvec-static-only-routines): Added new file.
19897         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19899 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19901         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19902         of interrupted RPC instead of restoring it.
19904         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19905         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19906         libc_hidden_def.
19907         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19908         into initialized data instead of common. Define rtld_hidden_data_def.
19909         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19910         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19911         libc_hidden_def.
19912         (if_freenameindex): Add libc_hidden_weak.
19913         (if_nameindex): Add libc_hidden_weak.
19914         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19915         __open64.
19916         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19917         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19918         * sysdeps/mach/nanosleep.c: Include <time.h>
19919         (__nanosleep): Rename to __libc_nanosleep.
19920         (__nanosleep): Add weak_alias.
19921         (nanosleep): Update alias.
19923 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19925         * stdlib/strtod_nan.c: New file.
19926         * stdlib/strtod_nan_double.h: Likewise.
19927         * stdlib/strtod_nan_float.h: Likewise.
19928         * stdlib/strtod_nan_main.c: Likewise.
19929         * stdlib/strtod_nan_narrow.h: Likewise.
19930         * stdlib/strtod_nan_wide.h: Likewise.
19931         * stdlib/strtof_nan.c: Likewise.
19932         * stdlib/strtold_nan.c: Likewise.
19933         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19934         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19935         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19936         * wcsmbs/wcstod_nan.c: Likewise.
19937         * wcsmbs/wcstof_nan.c: Likewise.
19938         * wcsmbs/wcstold_nan.c: Likewise.
19939         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19940         strtold_nan.
19941         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19942         wcstof_nan.
19943         * include/stdlib.h (__strtof_nan): Declare and use
19944         libc_hidden_proto.
19945         (__strtod_nan): Likewise.
19946         (__strtold_nan): Likewise.
19947         (__wcstof_nan): Likewise.
19948         (__wcstod_nan): Likewise.
19949         (__wcstold_nan): Likewise.
19950         * include/wchar.h (____wcstoull_l_internal): Declare.
19951         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19952         (____strtoull_l_internal): Remove declaration.
19953         (STRTOF_NAN): Define macro.
19954         (SET_MANTISSA): Remove macro.
19955         (STRTOULL): Likewise.
19956         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19957         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19958         (STRTOF_NAN): Define macro.
19959         (SET_MANTISSA): Remove macro.
19960         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19961         (SET_MANTISSA): Remove macro.
19962         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19963         macro.
19964         (SET_MANTISSA): Remove macro.
19965         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19966         macro.
19967         (SET_MANTISSA): Remove macro.
19968         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19969         (SET_MANTISSA): Remove macro.
19970         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19971         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19972         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19974         [BZ #19266]
19975         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19976         upper case and lower case letters inside NAN(), not using TOLOWER.
19977         * stdlib/tst-strtod-nan-locale-main.c: New file.
19978         * stdlib/tst-strtod-nan-locale.c: Likewise.
19979         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19980         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19981         Depend on $(gen-locales).
19982         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19983         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19984         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19985         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19986         Depend on $(gen-locales).
19987         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19989 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19991         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19993         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19995         __finitel, __isinfl, and __isnanl.
19996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19997         Likewise.
19998         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20000         __finitel.
20001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20002         Likewise.
20003         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20005 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20007         * malloc/memusage.c (me): Remove redundant getenv call.
20009 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20011         [BZ #19143]
20012         [BZ #19164]
20013         * nptl/check-cpuset.h: Remove.
20014         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20015         Remove CPU set size check.
20016         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20017         Likewise.
20018         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20019         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20020         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20021         (__pthread_setaffinity_new): Remove CPU set size check.
20022         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20023         (__kernel_cpumask_size): Remove.
20024         (__sched_setaffinity_new): Remove CPU set size check.
20025         * manual/threads.texi (Default Thread Attributes): Remove stale
20026         reference to check_cpuset_attr, determine_cpumask_size in comment.
20027         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20028         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20029         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20030         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20031         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20032         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20033         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20034         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20035         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20036         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20037         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20038         skeleton test file.
20039         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20040         tst-affinity-pid.
20042 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20044         * scripts/update-abilist.sh: New file.
20045         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20046         * Makerules (update-all-abi-%, update-all-abi)
20047         (subdir_update-all-abi): New targets.
20048         * elf/Makefile (update-all-abi): New target.
20050 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20052         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20053         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20054         (__libc_lock_define_initialized): Use it.
20055         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20056         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20057         * malloc/malloc.c (main_arena): Likewise.
20058         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20059         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20061 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20063         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20064         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20065         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20066         (PTRACE_O_MASK): Update value.
20067         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20068         New value in enum __ptrace_setoptions.
20069         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20070         (PTRACE_O_MASK): Update value.
20071         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20072         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20073         (PTRACE_O_MASK): Update value.
20074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20075         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20076         (PTRACE_O_MASK): Update value.
20077         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20078         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20079         (PTRACE_O_MASK): Update value.
20080         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20081         New value in enum __ptrace_setoptions.
20082         (PTRACE_O_MASK): Update value.
20083         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20084         New value in enum __ptrace_setoptions.
20085         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20086         (PTRACE_O_MASK): Update value.
20088         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20089         New macro.
20090         (PACKET_AUXDATA): Likewise.
20091         (PACKET_ORIGDEV): Likewise.
20092         (PACKET_VERSION): Likewise.
20093         (PACKET_HDRLEN): Likewise.
20094         (PACKET_RESERVE): Likewise.
20095         (PACKET_TX_RING): Likewise.
20096         (PACKET_LOSS): Likewise.
20097         (PACKET_VNET_HDR): Likewise.
20098         (PACKET_TX_TIMESTAMP): Likewise.
20099         (PACKET_TIMESTAMP): Likewise.
20100         (PACKET_FANOUT): Likewise.
20101         (PACKET_TX_HAS_OFF): Likewise.
20102         (PACKET_QDISC_BYPASS): Likewise.
20103         (PACKET_ROLLOVER_STATS): Likewise.
20104         (PACKET_FANOUT_DATA): Likewise.
20105         (PACKET_MR_UNICAST): Likewise.
20107         [BZ #19242]
20108         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20109         (TOUPPER): Likewise.
20110         * stdlib/tst-strtol-locale-main.c: New file.
20111         * stdlib/tst-strtol-locale.c: Likewise.
20112         * stdlib/Makefile (tests): Add tst-strtol-locale.
20113         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20114         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20115         Depend on $(gen-locales).
20116         * wcsmbs/tst-wcstol-locale.c: New file.
20117         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20118         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20119         tr_TR.ISO-8859-9.
20120         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20121         Depend on $(gen-locales).
20123 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20125         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20126         __glibc_likely instead of __builtin_expect.  After falling back to
20127         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20128         system interface to register the code pages as occupied.
20130 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20132         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20133         [!ARM_MATH_PRIVATE_H].
20134         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20135         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20136         [!HPPA_MATH_PRIVATE_H].
20137         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20138         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20139         to [!I386_MATH_PRIVATE_H].
20140         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20141         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20142         Change guard to [!M68K_MATH_PRIVATE_H].
20143         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20144         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20145         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20146         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20147         macro.
20148         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20149         [!MIPS_MATH_PRIVATE_H].
20150         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20151         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20152         [!NIO2_MATH_PRIVATE_H].
20153         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20154         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20155         [!TILE_MATH_PRIVATE_H].
20156         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20158         [BZ #15421]
20159         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20160         initialize with 0 and define as weak alias of __signgam.
20161         * include/math.h [!_ISOMAC] (__signgam): Declare.
20162         * math/Makefile (libm-calls): Add w_lgamma_compat.
20163         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20164         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20165         test-signgam-ullong-init.
20166         (tests-static): Add test-signgam-uchar-static,
20167         test-signgam-uchar-init-static, test-signgam-uint-static,
20168         test-signgam-uint-init-static, test-signgam-ullong-static and
20169         test-signgam-ullong-init-static.
20170         (CFLAGS-test-signgam-uchar.c): New variable.
20171         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20172         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20173         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20174         (CFLAGS-test-signgam-uint.c): Likewise.
20175         (CFLAGS-test-signgam-uint-init.c): Likewise.
20176         (CFLAGS-test-signgam-uint-static.c): Likewise.
20177         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20178         (CFLAGS-test-signgam-ullong.c): Likewise.
20179         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20180         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20181         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20182         * math/Versions (libm): Add GLIBC_2.23.
20183         * math/lgamma-compat.h: New file.
20184         * math/test-signgam-main.c: Likewise.
20185         * math/test-signgam-uchar-init-static.c: Likewise.
20186         * math/test-signgam-uchar-init.c: Likewise.
20187         * math/test-signgam-uchar-static.c: Likewise.
20188         * math/test-signgam-uchar.c: Likewise.
20189         * math/test-signgam-uint-init-static.c: Likewise.
20190         * math/test-signgam-uint-init.c: Likewise.
20191         * math/test-signgam-uint-static.c: Likewise.
20192         * math/test-signgam-uint.c: Likewise.
20193         * math/test-signgam-ullong-init-static.c: Likewise.
20194         * math/test-signgam-ullong-init.c: Likewise.
20195         * math/test-signgam-ullong-static.c: Likewise.
20196         * math/test-signgam-ullong.c: Likewise.
20197         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20198         wrapper of w_lgamma_main.c.
20199         * math/w_lgamma_compat.c: New file.
20200         * math/w_lgamma_compatf.c: Likewise.
20201         * math/w_lgamma_compatl.c: Likewise.
20202         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20203         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20204         defining compatibility symbols.
20205         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20206         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20207         wrapper of w_lgammaf_main.c.
20208         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20209         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20210         defining compatibility symbols.
20211         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20212         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20213         wrapper of w_lgammal_main.c.
20214         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20215         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20216         defining compatibility symbols.
20217         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20218         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20219         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20220         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20221         <lgamma-compat.h>.
20222         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20223         (__ieee754_gamma): Define as alias.
20224         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20225         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20226         <lgamma-compat.h>.
20227         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20228         (__ieee754_gammaf): Define as alias.
20229         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20230         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20231         <lgamma-compat.h>.
20232         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20233         (__ieee754_gammal): Define as alias.
20234         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20235         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20236         <math/w_lgamma_compat.c>.
20237         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20238         Define as alias of __lgamma_compat and use in defining lgammal.
20239         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20240         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20241         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20242         (USE_AS_COMPAT): New macro.
20243         (LGAMMA_OLD_VER): Undefine and redefine.
20244         (lgammal): Do not define here.
20245         (gammal): Only define here if [GAMMA_ALIAS].
20246         * conform/linknamespace.pl (@whitelist): Remove signgam.
20247         * sysdeps/nacl/libm.abilist: Update.
20248         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20249         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20250         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20251         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20252         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20253         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20254         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20255         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20256         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20257         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20258         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20259         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20261         Likewise.
20262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20263         Likewise.
20264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20265         Likewise.
20266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20267         Likewise.
20268         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20269         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20270         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20271         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20272         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20274         Likewise.
20275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20276         Likewise.
20277         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20278         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20279         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20281 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20283         [BZ #16364]
20284         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20285         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20287 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20289         * sysdeps/s390/fpu/bits/mathinline.h:
20290         Use __asm__ [__volatile__] instead of asm [volatile].
20291         * sysdeps/s390/abort-instr.h: Likewise.
20292         * sysdeps/s390/atomic-machine.h: Likewise.
20293         * sysdeps/s390/bits/string.h: Likewise.
20294         * sysdeps/s390/dl-tls.h: Likewise.
20295         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20296         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20297         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20298         * sysdeps/s390/fpu/fesetround.c: Likewise.
20299         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20300         * sysdeps/s390/fpu/s_fma.c: Likewise.
20301         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20302         * sysdeps/s390/memusage.h: Likewise.
20303         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20304         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20305         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20306         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20307         * sysdeps/s390/nptl/tls.h: Likewise.
20308         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20309         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20310         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20311         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20312         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20313         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20314         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20315         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20316         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20317         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20318         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20319         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20320         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20321         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20322         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20323         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20324         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20325         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20326         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20328         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20330         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20332 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20333             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20335         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20336         Add lwarx hint, and use macro for acquire instruction.
20337         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20338         Likewise.
20339         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20340         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20341         update to use new atomic macros.
20343 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20345         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20346         (__lll_trylock_elision): Fix setting of adapt_count.
20347         * sysdeps/unix/sysv/linux/powerpc/htm.h
20348         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20349         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20350         (_ABORT_SYSCALL): Renumber, and clarify definition.
20351         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20353 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20355         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20356         after system headers to prevent MIN/MAX redefinition.  Define
20357         HAVE_ALLOCA to preserve builtin alloca usage.
20359 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20361         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20362         static and don't set or restore rounding.
20363         (__cos)[IN_SINCOS]: Likewise.
20364         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20365         (__sincos): Set and restore rounding mode.  Remove check for infinite
20366         or NaN input.
20368         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20370         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20371         as used.
20373 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20375         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20377 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20379         * config.make.in (have-glob-dat-reloc): New.
20380         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20381         target supports GLOB_DAT relocaton. AC_SUBST.
20382         * configure: Regenerated.
20383         * elf/Makefile (tests): Add tst-prelink.
20384         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20385         (tst-prelink-ENV): New.
20386         ($(objpfx)tst-prelink-conflict.out): Likewise.
20387         ($(objpfx)tst-prelink-cmp.out): Likewise.
20388         * sysdeps/x86/tst-prelink.c: Moved to ...
20389         * elf/tst-prelink.c: Here.
20390         * sysdeps/x86/tst-prelink.exp: Moved to ...
20391         * elf/tst-prelink.exp: Here.
20392         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20393         (tst-prelink-ENV): Removed.
20394         ($(objpfx)tst-prelink-conflict.out): Likewise.
20395         ($(objpfx)tst-prelink-cmp.out): Likewise.
20396         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20398 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20400         [BZ #14551]
20401         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20402         (__mpn_construct_long_double): If high part overflows to infinity,
20403         set errno and recompute overflowed result of the correct sign.
20404         * sysdeps/ieee754/ldbl-128ibm/Makefile
20405         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20406         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20407         $(libm).
20408         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20410 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20412         [BZ #15479]
20413         [BZ #19238]
20414         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20415         floating-point state after first operation on input.  Restore full
20416         state rather than just rounding mode.
20417         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20418         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20419         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20421         [BZ #19235]
20422         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20423         add 0.5 to integer arguments.
20424         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20425         Likewise.
20426         (.LC2): New object.
20428 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20430         * scripts/pylintrc (reports): Set to no.
20432 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20434         * elf/dl-load.c (open_verify): Take new argument FD.
20435         Skip __open call if passed FD is not -1.
20436         (_dl_map_object, open_path): Update callers.
20437         * elf/dl-sysdep-open.h: New file.
20438         * elf/dl-load.c: Include it.
20439         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20440         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20441         * sysdeps/nacl/dl-sysdep-open.h: New file.
20442         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20443         from libc to rtld.
20445 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20447         [BZ #19228]
20448         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20449         and restore full floating-point state.
20450         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20451         Likewise.
20452         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20453         Likewise.
20454         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20455         Likewise.
20456         * math/test-nearbyint-except-2.c: New file.
20457         * math/Makefile (tests): Add test-nearbyint-except-2.
20459 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20461         [BZ #19178]
20462         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20463         (tst-prelink-ENV): New.
20464         ($(objpfx)tst-prelink-conflict.out): Likewise.
20465         ($(objpfx)tst-prelink-cmp.out): Likewise.
20466         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20467         * sysdeps/x86/tst-prelink.c: New file.
20468         * sysdeps/x86/tst-prelink.exp: Likewise.
20470 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20472         * math/auto-libm-test-in: Add another test of pow.
20473         * math/auto-libm-test-out: Regenerated.
20474         * math/libm-test.inc (pow_test_data): Add another test.
20476 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20478         [BZ #19219]
20479         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20480         weak_alias to nearbyintl.
20482 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20484         * sysdeps/aarch64/bits/string.h: New file.
20485         (_STRING_ARCH_unaligned): Define.
20487 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20489         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20490         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20491         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20492         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20495 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20497         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20498         for original name of the DSO.  Add it to the name list of the DSO
20499         if it is actually given.
20500         (_dl_map_object): Keep track of whether an audit module rewrote
20501         the file name.  If yes, pass the original name to
20502         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20503         debugging is enabled, log the change of the file name.
20504         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20505         _dl_map_object_from_fd.
20506         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20507         * elf/tst-audit11.c: New file
20508         * elf/tst-auditmod11.c: New file.
20509         * elf/tst-audit11mod1.c: New file.
20510         * elf/tst-audit11mod2.c: New file.
20511         * elf/tst-audit11mod2.map: New file.
20512         * elf/tst-audit12.c: New file
20513         * elf/tst-auditmod12.c: New file.
20514         * elf/tst-audit12mod1.c: New file.
20515         * elf/tst-audit12mod2.c: New file.
20516         * elf/tst-audit12mod2.map: New file.
20517         * elf/tst-audit12mod3.c: New file.
20519 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20521         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20522         Don't create weak aliases,
20523         because versioned symbols are created later.
20524         * sysdeps/s390/s390-32/setjmp.S
20525         (setjmp, _setjmp): Remove weak and rename to an unique name
20526         in SHARED case due to existing versioned symbols.
20527         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20528         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20529         (getcontext): Create weak alias only in non SHARED case.
20530         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20532 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20534         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20535         (__ASSUME_*_SYSCALL) Define new macros.
20536         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20537         Remove socketcall syscalls.
20538         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20539         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20540         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20541         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20542         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20543         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20545 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20547         [BZ #12926]
20548         Terminate process on invalid netlink response.
20549         * sysdeps/unix/sysv/linux/netlinkaccess.h
20550         (__netlink_assert_response): Declare.
20551         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20552         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20553         (sysdep_routines): Add netlink_assert_response.
20554         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20555         __netlink_assert_response.
20556         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20557         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20558         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20559         __netlink_assert_response.
20561 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20563         [BZ #19178]
20564         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20565         (RTYPE_CLASS_PLT): Likewise.
20566         (RTYPE_CLASS_COPY): Likewise.
20567         (RTYPE_CLASS_TLS): Likewise.
20568         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20569         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20570         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20571         DL_DEBUG_PRELINK.
20573 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20575         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20576         calls with argument -0.5.
20577         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20579         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20580         (libc_cv_z_nodlopen): Likewise.
20581         (libc_cv_z_initfirst): Likewise.
20582         * configure: Regenerated.
20584 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20586         Simplify abilist format to be line-based.
20587         * scripts/abilist.awk: Collect descriptors in the descs variable.
20588         (emit): Write descs variable and sort it
20589         externally, with sort.
20590         * sysdeps/**/*.abilist: Convert to new format.
20592 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20594         [BZ #11460]
20595         * io/Makefile (routines): Add fts64.
20596         (tests): Add tst-fts and tst-fts-lfs.
20597         (CFLAGS-fts64.c): New.
20598         * io/Versions (GLIBC_2.23): New.
20599         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20600         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20601         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20602         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20603         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20604         (FTSENT64): Likewise.
20605         (fts64_children): Likewise.
20606         (fts64_close): Likewise.
20607         (fts64_open): Likewise.
20608         (fts64_read): Likewise.
20609         (fts64_set): Likewise.
20610         * io/fts64.c: New file.
20611         * io/tst-fts.c: New test.
20612         * io/tst-fts-lfs.c: Likewise.
20613         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20614         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20615         fts64_set.
20616         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20617         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20618         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20619         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20620         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20621         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20622         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20623         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20624         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20625         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20626         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20627         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20628         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20630         Likewise.
20631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20632         Likewise.
20633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20635         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20636         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20637         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20638         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20639         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20642         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20643         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20644         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20645         * sysdeps/wordsize-64/fts.c: New file.
20646         * sysdeps/wordsize-64/fts64.c: Likewise.
20647         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20648         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20649         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20650         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20652 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20654         * math/libm-test.inc (NON_FINITE): New macro.
20655         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20656         * math/gen-libm-test.pl (show_exceptions): Add argument
20657         $non_finite.
20658         (parse_args): Update call to show_exceptions.
20659         * math/test-math-finite.h: New file.
20660         * math/test-math-no-finite.h: Likewise.
20661         * math/test-double-finite.c: Likewise.
20662         * math/test-float-finite.c: Likewise.
20663         * math/test-ldouble-finite.c: Likewise.
20664         * math/test-double.c: Include "test-math-no-finite.h".
20665         * math/test-float.c: Include "test-math-no-finite.h".
20666         * math/test-ldouble.c: Include "test-math-no-finite.h".
20667         * math/test-math-inline.h (TEST_FINITE): New macro.
20668         * math/test-math-vector.h (TEST_FINITE): Likewise.
20669         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20670         (libm-tests): Add test-float-finite and test-double-finite.
20671         ($(objpfx)test-float-finite.o): New dependency on
20672         $(objpfx)libm-test.stmp.
20673         ($(objpfx)test-double-finite.o): Likewise.
20674         ($(objpfx)test-ldouble-finite.o): Likewise.
20675         (libm-test-no-inline-cflags): New variable.
20676         (libm-test-finite-cflags): Likewise.
20677         (CFLAGS-test-float-finite.c): Likewise.
20678         (CFLAGS-test-double-finite.c): Likewise.
20679         (CFLAGS-test-ldouble-finite.c): Likewise.
20680         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20681         (CFLAGS-test-double.c): Likewise.
20682         (CFLAGS-test-ldouble.c): Likewise.
20684 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20686         * io/fcntl.c (__fcntl): Add ... to prototype.
20687         * misc/ioctl.c (__ioctl): Likewise.
20688         * misc/syscall.c (syscall): Likewise.
20690 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20692         * scripts/list-fixed-bugs.py: New file.
20694         [BZ #19213]
20695         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20696         returned for argument 1.
20697         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20698         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20699         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20700         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20701         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20702         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20704         [BZ #19211]
20705         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20706         __USE_XOPEN], not if [!__USE_ISOC99].
20707         (lgammaf): Likewise.
20708         (lgammal): Likewise.
20709         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20710         (gammaf): Likewise.
20711         (gammal): Likewise.
20712         * math/test-signgam-finite-c11.c: New file.
20713         * math/test-signgam-finite-c99.c: Likewise.
20714         * math/test-signgam-finite.c: Likewise.
20715         * math/Makefile (tests): Add test-signgam-finite,
20716         test-signgam-finite-c99 and test-signgam-finite-c11.
20717         (CFLAGS-test-signgam-finite.c): New variable.
20718         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20719         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20721         [BZ #19212]
20722         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20723         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20724         500].
20725         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20726         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20727         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20728         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20729         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20730         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20731         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20732         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20733         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20734         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20736         [BZ #19209]
20737         * math/bits/math-finite.h (ldexp): Remove declaration.
20738         (ldexpf): Likewise.
20739         (ldexpl): Likewise.
20741         [BZ #19205]
20742         * math/bits/math-finite.h (acosf): Condition declaration on
20743         [__USE_ISOC99].
20744         (acosl): Likewise.
20745         (acoshf): Likewise.
20746         (acoshl): Likewise.
20747         (asinf): Likewise.
20748         (asinl): Likewise.
20749         (atan2f): Likewise.
20750         (atan2l): Likewise.
20751         (atanhf): Likewise.
20752         (atanhl): Likewise.
20753         (coshf): Likewise.
20754         (coshl): Likewise.
20755         (expf): Likewise.
20756         (expl): Likewise.
20757         (fmodf): Likewise.
20758         (fmodl): Likewise.
20759         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20760         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20761         (j0l): Likewise.
20762         (y0f): Likewise.
20763         (y0l): Likewise.
20764         (j1f): Likewise.
20765         (j1l): Likewise.
20766         (y1f): Likewise.
20767         (y1l): Likewise.
20768         (jnf): Likewise.
20769         (jnl): Likewise.
20770         (ynf): Likewise.
20771         (ynl): Likewise.
20772         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20773         (lgammal_r): Likewise.
20774         (__lgamma_r_finite): New declaration.
20775         (__lgammaf_r_finite): Likewise.
20776         (__lgammal_r_finite): Likewise.
20777         (lgamma): Use __lgamma_r_finite.
20778         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20779         __lgammaf_r_finite.
20780         (lgammal): Condition definition on [__USE_ISOC99].  Use
20781         __lgammal_r_finite.
20782         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20783         __lgamma_r_finite.
20784         (gammaf): Condition definition on [__USE_ISOC99].  Use
20785         __lgammaf_r_finite.
20786         (gammal): Condition definition on [__USE_ISOC99].  Use
20787         __lgammal_r_finite.
20788         (logf): Condition declaration on [__USE_ISOC99].
20789         (logl): Likewise.
20790         (log10f): Likewise.
20791         (log10l): Likewise.
20792         (ldexpf): Likewise.
20793         (ldexpl): Likewise.
20794         (powf): Likewise.
20795         (powl): Likewise.
20796         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20797         __USE_ISOC99].
20798         (remainderf): Condition declaration on [__USE_ISOC99].
20799         (remainderl): Likewise.
20800         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20801         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20802         (scalbl): Likewise.
20803         (sinhf): Condition declaration on [__USE_ISOC99].
20804         (sinhl): Likewise.
20805         (sqrtf): Likewise.
20806         (sqrtl): Likewise.
20808 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20810         * sysdeps/arm/atomic-machine.h
20811         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20812         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20813         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20814         Remove conditional code.
20815         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20816         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20817         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20818         Change conditional to [__ASSEMBLER__].
20819         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20820         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20821         [!__ASSEMBLER__].
20822         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20823         code.
20824         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20825         conditional macro definitions.
20826         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20827         (__arch_compare_and_exchange_val_16_acq): Likewise.
20828         (__arch_compare_and_exchange_val_32_acq): Likewise.
20829         (atomic_exchange_and_add): Likewise.
20830         (atomic_add): Likewise.
20831         (atomic_add_negative): Likewise.
20832         (atomic_add_zero): Likewise.
20833         (atomic_bit_set): Likewise.
20834         (atomic_bit_test_set): Likewise.
20835         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20836         code unconditional.
20837         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20839         * math/test-math-errno.h: New file.
20840         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20841         empty.
20842         (TEST_ERRNO): New macro.
20843         (TEST_EXCEPTIONS): Likewise.
20844         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20845         (TEST_EXCEPTIONS): Likewise.
20846         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20847         * math/test-double.c: Include "test-math-errno.h".
20848         * math/test-float.c: Likewise.
20849         * math/test-ldouble.c: Likewise.
20850         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20851         code unconditional.
20852         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20853         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20854         unconditional.
20855         (test_errno): Only run code if TEST_ERRNO.
20856         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20858 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20860         * nptl/tst-once5.cc: Remove attribution.
20862 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20864         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20865         sqrt, tan, tanh, y0, y1 and yn.
20866         * math/auto-libm-test-out: Regenerated.
20867         * math/libm-test.inc (scalb_test_data): Add more tests.
20868         (scalbn_test_data): Likewise.
20869         (scalbln_test_data): Likewise.
20870         (signbit_test_data): Likewise.
20871         (sin_test_data): Likewise.
20872         (sincos_test_data): Likewise.
20873         (sinh_test_data): Likewise.
20874         (sqrt_test_data): Likewise.
20875         (tan_test_data): Likewise.
20876         (tanh_test_data): Likewise.
20877         (tgamma_test_data): Likewise.
20878         (y0_test_data): Likewise.
20879         (y1_test_data): Likewise.
20880         (yn_test_data): Likewise.
20881         (significand_test_data): Likewise.
20882         * sysdeps/i386/fpu/libm-test-ulps: Update.
20884 2015-11-03  David Kastrup  <dak@gnu.org>
20886         [BZ #18604]
20887         * assert/assert.h (assert): Don't macro-expand failed assertion
20888         expression in error message.
20889         * malloc/malloc.c (assert): Likewise.
20891 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20893         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20894         test.
20895         * configure: Regenerated.
20897 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20899         * math/libm-test.inc (modf_test_data): Add more tests.
20900         (nearbyint_test_data): Likewise.
20901         (nextafter_test_data): Likewise.
20902         (nexttoward_test_data): Likewise.
20903         (pow_test_data): Likewise.
20904         (remainder_test_data): Likewise.
20905         (remquo_test_data): Likewise.
20906         (rint_test_data): Likewise.
20908         [BZ #19201]
20909         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20910         Check for zero remainder in case of large exponents and ensure
20911         correct sign of result in that case.
20912         * math/libm-test.inc (remainder_test_data): Add more tests.
20914         [BZ #6799]
20915         * math/s_nextafter.c: Include <errno.h>.
20916         (__nextafter): Set errno on overflow and underflow.
20917         * math/s_nexttowardf.c: Include <errno.h>.
20918         (__nexttowardf): Set errno on overflow and underflow.
20919         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20920         (__nextafterl): Set errno on overflow and underflow.
20921         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20922         (__nexttoward): Set errno on overflow and underflow.
20923         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20924         (__nexttowardf): Set errno on overflow and underflow.
20925         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20926         (__nextafterf): Set errno on overflow and underflow.
20927         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20928         (__nextafterl): Set errno on overflow and underflow.
20929         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20930         (__nexttoward): Set errno on overflow and underflow.
20931         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20932         (__nexttowardf): Set errno on overflow and underflow.
20933         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20934         (__nextafterl): Set errno on overflow and underflow.
20935         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20936         (__nexttoward): Set errno on overflow and underflow.
20937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20938         (__nexttowardf): Set errno on overflow and underflow.
20939         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20940         (__nexttoward): Set errno on overflow and underflow.
20941         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20942         (__nexttowardf): Set errno on overflow and underflow.
20943         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20944         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20945         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20946         (__nextafterl): Set errno on overflow and underflow.
20947         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20948         setting to be missing on overflow.  Add more tests.
20949         (nexttoward_test_data): Likewise.
20951         * configure.ac (libc_cv_initfini_array): Remove configure test.
20952         * configure: Regenerated.
20954 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20956         [BZ #19189]
20957         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20958         non-finite argument handle arguments with negative sign.
20960         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20961         result from infinite argument.
20962         (j1_test_data): Likewise.
20963         (jn_test_data): Likewise.
20964         (y0_test_data): Likewise.
20965         (y1_test_data): Likewise.
20966         (yn_test_data): Likewise.
20968         [BZ #16171]
20969         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20970         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20971         * math/w_remainderf.c (dremf): Define as weak alias of
20972         __remainderf.
20973         * math/w_remainderl.c (dreml): Define as weak alias of
20974         __remainderl.
20975         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20976         __remainder.
20977         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20978         __remainderf.
20979         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20980         __remainderl.
20981         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20982         weak alias of remainderl.
20983         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20984         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20985         alias of __remainder.
20986         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20987         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20988         strong alias of __remainderl.
20989         (dreml): Use long_double_symbol.
20990         * math/Makefile (libm-calls): Remove w_drem.
20991         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20992         (CFLAGS-nldbl-drem.c): Remove variable.
20993         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20994         * math/w_drem.c: Remove file.
20995         * math/w_dremf.c: Likewise.
20996         * math/w_dreml.c: Likewise.
20997         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20998         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20999         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21001         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21002         * sysdeps/i386/configure: Regenerated.
21003         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21004         * sysdeps/x86_64/configure: Regenerated.
21006         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21007         test.
21008         (libc_cv_visibility_attribute): Likewise.
21009         (libc_cv_protected_data): Test unconditionally.
21010         (libc_cv_broken_visibility_attribute): Remove configure test.
21011         (libc_cv_have_sdata_section): Test unconditionally.
21012         * configure: Regenerated.
21014         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21015         * include/scratch_buffer.h: Include <stddef.h> instead of
21016         <libc-internal.h>.
21017         (struct scratch_buffer): Use max_align_t instead of
21018         libc_max_align_t.
21020 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21022         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21023         instead of extend_alloca.  Change control flow to avoid a goto.
21024         Remove assert which is trivially always true.
21026 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21028         [BZ #16068]
21029         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21030         (FE_ALL_EXCEPT_X86): New macro.
21031         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21032         FE_ALL_EXCEPT.  Ensure precision control is included in
21033         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21034         handle "denormal operand exception" and clear FZ and DAZ bits.
21035         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21036         (FE_ALL_EXCEPT_X86): New macro.
21037         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21038         FE_ALL_EXCEPT.  Ensure precision control is included in
21039         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21040         handle "denormal operand exception" and clear FZ and DAZ bits.
21041         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21042         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21043         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21044         test-fenv-x87 and test-fenv-sse-2.
21045         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21047         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21048         * math/test-double.h (BUILD_COMPLEX): New macro.
21049         * math/test-float.h (BUILD_COMPLEX): Likewise.
21050         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21052         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21053         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21054         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21056         instead of DBL_DENORM_MIN in comment.
21057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21058         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21059         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21060         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21062         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21064 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21066         [BZ #19048]
21067         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21068         attached_threads member.
21069         (main_arena): Initialize attached_threads.
21070         * malloc/arena.c (list_lock): Update comment.
21071         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21072         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21073         (deattach_arena): New function.
21074         (_int_new_arena): Initialize arena reference count and deattach
21075         replaced arena.
21076         (get_free_list, reused_arena): Update reference count and deattach
21077         replaced arena.
21078         (arena_thread_freeres): Update arena reference count and only put
21079         unreferenced arenas on the free list.
21081 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21083         [BZ #19181]
21084         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21085         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21086         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21087         * math/test-fenv-clear-main.c: New file.
21088         * math/test-fenv-clear.c: Likewise.
21089         * math/Makefile (tests): Add test-fenv-clear.
21090         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21091         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21092         test-fenv-clear-sse.
21093         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21095         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21096         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21097         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21099 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21101         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21102         static libc.
21104 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21106         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21107         test.
21108         * sysdeps/i386/configure: Regenerated.
21109         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21110         test.
21111         * sysdeps/x86_64/configure: Regenerated.
21112         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21114         memset-avx2 unconditionally instead of conditionally on
21115         [$(config-cflags-avx2) = yes].
21116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21117         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21118         unconditional.
21119         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21120         * sysdeps/x86_64/multiarch/memset_chk.S
21121         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21122         to [IS_IN (libc) && SHARED].
21124 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21126         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21127         configure test.
21128         * sysdeps/arm/configure: Regenerated.
21129         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21130         Define variable if not already defined.
21132         [BZ #17404]
21133         * sysdeps/mips/atomic-machine.h
21134         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21135         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21136         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21138         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21139         unconditional.
21140         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21141         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21142         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21143         unconditional.
21144         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21145         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21146         unconditional.
21147         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21148         * stdlib/setenv.c
21149         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21150         code unconditional.
21151         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21152         Remove conditional code.
21153         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21154         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21155         unconditional.
21156         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21157         code.
21158         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21159         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21160         unconditional.
21161         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21162         code.
21163         * sysdeps/ieee754/ldbl-128/k_tanl.c
21164         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21165         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21166         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21167         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21168         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21169         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21170         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21171         unconditional.
21172         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21173         code.
21174         * sysdeps/ieee754/ldbl-96/k_tanl.c
21175         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21176         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21178         * nptl/tst-initializers1-c11.c: New file.
21179         * nptl/tst-initializers1-gnu11.c: Likewise.
21180         * nptl/Makefile (tests): Add these new tests.
21181         (CFLAGS-tst-initializers1-c11.c): New variable.
21182         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21184         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21185         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21186         instead of -std=gnu99.
21187         * configure.ac (systemtap): Test with -std=gnu11 instead of
21188         -std=gnu99.
21189         * configure: Regenerated.
21190         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21191         in compilation command in comment.
21193         * sysdeps/nptl/configure.ac: Remove file.
21194         * sysdeps/nptl/configure: Remove generated file.
21195         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21196         * configure: Regenerated.
21197         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21198         * config.make.in (have-forced-unwind): Remove variable.
21199         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21200         unconditional.
21201         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21202         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21203         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21204         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21205         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21206         unconditional.
21208 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21210         [BZ #19174]
21211         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21212         .skip_lock_out_of_tbegin_retries.
21213         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21214         (__lll_lock_elision): Likewise, and respect a value of
21215         try_tbegin <= 0.
21217 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21219         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21220         statement.
21222 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21224         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21225         variable.
21226         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21227         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21229         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21230         of -std=c1x -D_ISOC11_SOURCE.
21232         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21233         * configure: Regenerated.
21234         * manual/install.texi (Tools for Compilation): Document
21235         requirement for GCC 4.7 or later.
21236         * INSTALL: Regenerated.
21238 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21240         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21241         on CNT to a conditional jump to 'puntdata'.
21243 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21245         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21246         (libc_cv_gcc_tls_model_attr): Likewise.
21247         * configure: Regenerated.
21249         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21250         * configure: Regenerated.
21251         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21253 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21255         * configure.ac (old_glibc_headers): Remove configure test.
21256         * configure: Regenerated.
21257         * config.make.in (old-glibc-headers): Remove variable.
21258         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21259         (install): Remove dependency on remove-old-headers.
21260         (headers2_0): Remove variable.
21261         (remove-old-headers): Remove rule.
21263         * configure.ac (libc_cv_dot_text): Remove configure test.
21264         (libc_cv_asm_set_directive): Use .text instead of
21265         ${libc_cv_dot_text} in configure test.
21266         * configure: Regenerated.
21268 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21270         [BZ #19168]
21271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21273 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21275         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21276         not support static linking.
21277         * configure: Regenerate.
21279 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21281         * math/libm-test.inc (check_float_internal): Do not special-case
21282         errors up to 0.5 ulp.
21284         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21285         log2.
21286         * math/auto-libm-test-out: Regenerated.
21287         * math/libm-test.inc (MAX_EXP): New macro.
21288         (ilogb_test_data): Add more tests.
21289         (isfinite_test_data): Likewise.
21290         (isgreater_test_data): Likewise.
21291         (isgreaterequal_test_data): Likewise.
21292         (isinf_test_data): Likewise.
21293         (isless_test_data): Likewise.
21294         (islessequal_test_data): Likewise.
21295         (islessgreater_test_data): Likewise.
21296         (isnan_test_data): Likewise.
21297         (isnormal_test_data): Likewise.
21298         (issignaling_test_data): Likewise.
21299         (isunordered_test_data): Likewise.
21300         (j0_test_data): Likewise.
21301         (j1_test_data): Likewise.
21302         (jn_test_data): Likewise.
21303         (lgamma_test_data): Likewise.
21304         (log_test_data): Likewise.
21305         (log10_test_data): Likewise.
21306         (log1p_test_data): Likewise.
21307         (log2_test_data): Likewise.
21308         (logb_test_data): Likewise.
21309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21311         [BZ #18611]
21312         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21313         avoid excess range and precision on underflow.
21314         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21315         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21316         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21317         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21318         underflow.
21319         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21320         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21321         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21322         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21323         * math/auto-libm-test-in: Do not allow missing errno setting for
21324         tests of j1 and jn.
21325         * math/auto-libm-test-out: Regenerated.
21327 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21329         [BZ #15491]
21330         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21331         floating-point environment instead of clearing all exceptions.
21332         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21333         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21334         merging in "invalid" exceptions from frndint.
21335         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21336         * math/test-nearbyint-except.c: New file.
21337         * math/Makefile (tests): Add test-nearbyint-except.
21339 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21341         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21343         * sysdeps/tile/libm-test-ulps: Regenerated.
21345 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21348         (__NR_sync_file_range2): Assume it is always defined.
21349         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21350         (__NR_sync_file_range): Assume it is always defined.
21352 2015-10-22  Andreas Schwab  <schwab@suse.de>
21354         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21355         INTERNAL_SYSCALL_ERRNO.
21356         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21357         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21358         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21359         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21360         Likewise.
21361         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21363 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21365         * io/tst-fcntl.c (fd): New static variable.
21366         (do_prepare): Open temporary file here....
21367         (do_test): ...not here.
21369         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21371 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21373         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21374         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21375         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21376         Moved before "#ifdef __ASSEMBLER__".
21378 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21380         [BZ #19156]
21381         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21382         arguments very close to 0.
21384 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21386         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21387         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21389 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21391         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21392         New.  Defined for GCC 5 and above when not compiling for
21393         profiling.
21394         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21396         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21397         Renamed to ...
21398         (CFLAGS-epoll_pwait.o): This.
21399         (CFLAGS-mmap.c): Renamed to ...
21400         (CFLAGS-mmap.o): This.
21401         (CFLAGS-mmap64.c): Renamed to ...
21402         (CFLAGS-mmap64.o): This.
21403         (CFLAGS-epoll_pwait.os): New.
21404         (CFLAGS-mmap.os): Likewise.
21405         (CFLAGS-mmap64.os): Likewise.
21406         (CFLAGS-semtimedop.os): Likewise.
21407         (CFLAGS-semtimedop.c): Renamed to ...
21408         (CFLAGS-semtimedop.o): This.
21410 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21412         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21413         warning message.
21415 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21417         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21418         * Makefile ($(objpfx)c++-types-check.out): Filter out
21419         $(+gccwarn-c) instead of -Wstrict-prototypes.
21421         * io/fts.c (fts_open): Convert to prototype-style function
21422         definition.
21423         * malloc/mcheck.c (mcheck): Likewise.
21424         (mcheck_pedantic): Likewise.
21425         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21426         internal_function.
21427         (re_search_internal): Likewise.
21428         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21429         prototype-style function definition.
21430         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21431         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21432         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21433         (xdr_utmpptr): Likewise.
21434         (xdr_utmparr): Likewise.
21435         (xdr_utmpidle): Likewise.
21436         (xdr_utmpidleptr): Likewise.
21437         (xdr_utmpidlearr): Likewise.
21439         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21440         log, log10 and log2.
21441         * math/auto-libm-test-out: Regenerated.
21442         * math/libm-test.inc (fmod_test_data): Add more tests.
21443         (fpclassify_test_data): Likewise.
21444         (frexp_test_data): Likewise.
21445         (hypot_test_data): Likewise.
21446         (ilogb_test_data): Likewise.
21448 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21450         * debug/fortify_fail.c (__fortify_fail): Convert to
21451         prototype-style function definition.  Use internal_function.
21452         * libio/genops.c (save_for_backup): Convert to prototype-style
21453         function definition.
21454         * libio/wgenops.c (save_for_wbackup): Likewise.
21455         * login/grantpt.c (grantpt): Likewise.
21456         * login/ptsname.c (ptsname): Likewise.
21457         (__ptsname_r): Likewise.
21458         * login/unlockpt.c (unlockpt): Likewise.
21459         * mach/msgserver.c (__mach_msg_server): Likewise.
21460         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21461         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21462         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21463         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21464         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21465         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21466         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21467         Likewise.
21468         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21469         internal_function.
21470         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21471         prototype-style function definition.
21472         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21473         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21474         (__pthread_create_2_0): Likewise.
21475         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21476         * nptl/register-atfork.c (__register_atfork): Likewise.
21477         * posix/glob.c (glob): Likewise.
21478         * posix/regcomp.c (re_comp): Likewise.
21479         * posix/regexec.c (re_exec): Likewise.
21480         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21481         [!__STDC__]: Remove conditional code.
21482         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21483         [!__STDC__]: Remove conditional code.
21484         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21485         [!__STDC__]: Remove conditional code.
21486         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21487         [!__STDC__]: Remove conditional code.
21488         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21489         [!__STDC__]: Remove conditional code.
21490         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21491         [!__STDC__]: Remove conditional code.
21492         * stdlib/mul.c [__STDC__]: Make code unconditional.
21493         [!__STDC__]: Remove conditional code.
21494         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21495         [!__STDC__]: Remove conditional code.
21496         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21497         [!__STDC__]: Remove conditional code.
21498         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21499         function definition.
21500         (STRTOF): Likewise.
21501         * stdlib/strtod_l.c (__STRTOF): Likewise.
21502         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21503         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21504         (__strtol_l): Likewise.
21505         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21506         [!__STDC__]: Remove conditional code.
21507         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21508         definition.
21509         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21510         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21511         type.
21512         (__strcasecmp): Convert to prototype-style function definition.
21513         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21514         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21515         type.
21516         (__strncasecmp): Convert to prototype-style function definition.
21517         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21518         * sunrpc/xdr.c (xdr_union): Likewise.
21519         * sunrpc/xdr_array.c (xdr_array): Likewise.
21520         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21521         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21522         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21523         Likewise.
21524         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21525         Likewise.
21526         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21527         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21528         Likewise.
21529         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21530         (LOCALE_PARAM_PROTO): Likewise.
21531         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21532         argument type.
21533         (ut_argument_spec): Remove macro.
21534         (ut_argument_spec_iso): Rename to ut_argument_spec.
21535         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21536         prototype-style function definition.
21537         (memcpy_uppcase): Likewise.
21538         (__strftime_internal): Likewise.
21539         (my_strftime): Likewise.
21540         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21541         (LOCALE_PARAM_DECL): Likewise.
21542         [_LIBC] (LOCALE_PARAM): Include argument type.
21543         (__strptime_internal): Convert to prototype-style function
21544         definition.
21545         (strptime): Likewise.
21546         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21547         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21548         type.
21549         (__wcscasecmp): Convert to prototype-style function definition.
21550         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21551         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21552         type.
21553         (__wcsncasecmp): Convert to prototype-style function definition.
21555         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21556         function definition.
21557         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21558         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21559         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21560         * elf/dl-minimal.c (_itoa): Likewise.
21561         * hurd/hurdmalloc.c (malloc): Likewise.
21562         (free): Likewise.
21563         (realloc): Likewise.
21564         * inet/inet6_option.c (inet6_option_space): Likewise.
21565         (inet6_option_init): Likewise.
21566         (inet6_option_append): Likewise.
21567         (inet6_option_alloc): Likewise.
21568         (inet6_option_next): Likewise.
21569         (inet6_option_find): Likewise.
21570         * io/ftw.c (FTW_NAME): Likewise.
21571         (NFTW_NAME): Likewise.
21572         (NFTW_NEW_NAME): Likewise.
21573         (NFTW_OLD_NAME): Likewise.
21574         * libio/iofwide.c (_IO_fwide): Likewise.
21575         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21576         (_IO_str_init_static): Likewise.
21577         (_IO_str_init_readonly): Likewise.
21578         (_IO_str_overflow): Likewise.
21579         (_IO_str_underflow): Likewise.
21580         (_IO_str_count): Likewise.
21581         (_IO_str_seekoff): Likewise.
21582         (_IO_str_pbackfail): Likewise.
21583         (_IO_str_finish): Likewise.
21584         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21585         (_IO_wstr_overflow): Likewise.
21586         (_IO_wstr_underflow): Likewise.
21587         (_IO_wstr_count): Likewise.
21588         (_IO_wstr_seekoff): Likewise.
21589         (_IO_wstr_pbackfail): Likewise.
21590         (_IO_wstr_finish): Likewise.
21591         * locale/programs/localedef.c (normalize_codeset): Likewise.
21592         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21593         (add_locales_to_archive): Likewise.
21594         (delete_locales_from_archive): Likewise.
21595         * malloc/malloc.c (__libc_mallinfo): Likewise.
21596         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21597         * misc/tsearch.c (__tfind): Likewise.
21598         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21599         * nptl/pthread_attr_getdetachstate.c
21600         (__pthread_attr_getdetachstate): Likewise.
21601         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21602         Likewise.
21603         * nptl/pthread_attr_getinheritsched.c
21604         (__pthread_attr_getinheritsched): Likewise.
21605         * nptl/pthread_attr_getschedparam.c
21606         (__pthread_attr_getschedparam): Likewise.
21607         * nptl/pthread_attr_getschedpolicy.c
21608         (__pthread_attr_getschedpolicy): Likewise.
21609         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21610         Likewise.
21611         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21612         Likewise.
21613         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21614         Likewise.
21615         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21616         Likewise.
21617         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21618         (__pthread_attr_init_2_0): Likewise.
21619         * nptl/pthread_attr_setdetachstate.c
21620         (__pthread_attr_setdetachstate): Likewise.
21621         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21622         Likewise.
21623         * nptl/pthread_attr_setinheritsched.c
21624         (__pthread_attr_setinheritsched): Likewise.
21625         * nptl/pthread_attr_setschedparam.c
21626         (__pthread_attr_setschedparam): Likewise.
21627         * nptl/pthread_attr_setschedpolicy.c
21628         (__pthread_attr_setschedpolicy): Likewise.
21629         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21630         Likewise.
21631         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21632         Likewise.
21633         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21634         Likewise.
21635         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21636         Likewise.
21637         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21638         Likewise.
21639         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21640         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21641         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21642         use internal_function.
21643         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21644         prototype-style function definition.
21645         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21646         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21647         internal_function.
21648         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21649         Convert to prototype-style function definition.
21650         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21651         Likewise.
21652         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21653         Likewise.
21654         (__pthread_mutex_unlock): Likewise.
21655         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21656         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21657         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21658         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21659         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21660         * nss/makedb.c (process_input): Likewise.
21661         * posix/fnmatch.c (__strchrnul): Likewise.
21662         (__wcschrnul): Likewise.
21663         (fnmatch): Likewise.
21664         * posix/fnmatch_loop.c (FCT): Likewise.
21665         * posix/glob.c (globfree): Likewise.
21666         (__glob_pattern_type): Likewise.
21667         (__glob_pattern_p): Likewise.
21668         * posix/regcomp.c (re_compile_pattern): Likewise.
21669         (re_set_syntax): Likewise.
21670         (re_compile_fastmap): Likewise.
21671         (regcomp): Likewise.
21672         (regerror): Likewise.
21673         (regfree): Likewise.
21674         * posix/regexec.c (regexec): Likewise.
21675         (re_match): Likewise.
21676         (re_search): Likewise.
21677         (re_match_2): Likewise.
21678         (re_search_2): Likewise.
21679         (re_search_stub): Likewise.  Use internal_function
21680         (re_copy_regs): Likewise.
21681         (re_set_registers): Convert to prototype-style function
21682         definition.
21683         (prune_impossible_nodes): Likewise.  Use internal_function.
21684         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21685         prototype-style function definition.
21686         (inet_net_pton_ipv4): Likewise.
21687         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21688         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21689         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21690         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21691         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21692         Make variadic.
21693         * time/strptime_l.c (localtime_r): Convert to prototype-style
21694         function definition.
21695         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21696         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21697         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21698         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21700         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21701         definition.
21702         (_ufc_doit_r): Likewise.
21703         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21704         (_ufc_output_conversion_r): Likewise.
21705         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21706         * inet/rcmd.c (rcmd_af): Likewise.
21707         (rcmd): Likewise.
21708         (ruserok_af): Likewise.
21709         (ruserok): Likewise.
21710         (ruserok2_sa): Likewise.
21711         (ruserok_sa): Likewise.
21712         (iruserok_af): Likewise.
21713         (iruserok): Likewise.
21714         (__ivaliduser): Likewise.
21715         (__validuser2_sa): Likewise.
21716         * inet/rexec.c (rexec_af): Likewise.
21717         (rexec): Likewise.
21718         * inet/ruserpass.c (ruserpass): Likewise.
21719         * locale/programs/xmalloc.c (xcalloc): Likewise.
21720         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21721         * math/w_drem.c (__drem): Likewise.
21722         * math/w_dremf.c (__dremf): Likewise.
21723         * math/w_dreml.c (__dreml): Likewise.
21724         * misc/daemon.c (daemon): Likewise.
21725         * resolv/res_debug.c (p_fqnname): Likewise.
21726         * stdlib/div.c (div): Likewise.
21727         * string/memcmp.c (memcmp_bytes): Likewise.
21728         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21729         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21731         * crypt/cert.c (main): Convert to prototype-style function
21732         definition.
21733         * io/pipe.c (__pipe): Likewise.
21734         * io/pipe2.c (__pipe2): Likewise.
21735         * misc/futimesat.c (futimesat): Likewise.
21736         * misc/utimes.c (__utimes): Likewise.
21737         * posix/execve.c (__execve): Likewise.
21738         * posix/execvp.c (execvp): Likewise.
21739         * posix/execvpe.c (__execvpe): Likewise.
21740         * posix/fexecve.c (fexecve): Likewise.
21741         * socket/socketpair.c (socketpair): Likewise.
21742         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21743         * stdlib/erand48.c (erand48): Likewise.
21744         * stdlib/erand48_r.c (__erand48_r): Likewise.
21745         * stdlib/jrand48.c (jrand48): Likewise.
21746         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21747         * stdlib/lcong48.c (lcong48): Likewise.
21748         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21749         * stdlib/nrand48.c (nrand48): Likewise.
21750         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21751         * stdlib/seed48.c (seed48): Likewise.
21752         * stdlib/seed48_r.c (__seed48_r): Likewise.
21753         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21754         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21755         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21757 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21759         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21760         * configure: Regenerated.
21761         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21762         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21763         unconditional.
21764         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21765         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21766         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21767         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21768         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21769         unconditional.
21770         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21772         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21773         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21775         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21776         function definition.
21777         * crypt/crypt_util.c (__encrypt_r): Likewise.
21778         * libio/genops.c (_IO_no_init): Likewise.
21779         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21780         (_IO_old_fopencookie): Likewise.
21781         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21782         * libio/iogetline.c (_IO_getline): Likewise.
21783         (_IO_getline_info): Likewise.
21784         * libio/iogetwline.c (_IO_getwline): Likewise.
21785         (_IO_getwline_info): Likewise.
21786         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21787         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21788         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21789         (find_entry): Likewise.
21790         (iterate_table): Likewise.
21791         (lookup): Likewise.
21792         * login/forkpty.c (forkpty): Likewise.
21793         * misc/hsearch_r.c (__hsearch_r): Likewise.
21794         * misc/select.c (__select): Likewise.
21795         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21796         Likewise.
21797         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21798         Likewise.
21799         * nptl/old_pthread_cond_timedwait.c
21800         (__pthread_cond_timedwait_2_0): Likewise.
21801         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21802         * nptl/pthread_barrierattr_getpshared.c
21803         (pthread_barrierattr_getpshared): Likewise.
21804         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21805         Likewise.
21806         * nptl/pthread_mutex_setprioceiling.c
21807         (pthread_mutex_setprioceiling): Likewise.
21808         * nptl/pthread_mutexattr_getprioceiling.c
21809         (pthread_mutexattr_getprioceiling): Likewise.
21810         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21811         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21812         Likewise.
21813         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21814         Likewise.
21815         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21816         Likewise.
21817         * socket/recvfrom.c (__recvfrom): Likewise.
21818         * socket/sendto.c (__sendto): Likewise.
21819         * socket/setsockopt.c (__setsockopt): Likewise.
21820         * stdio-common/_itoa.c (_itoa): Likewise.
21821         * stdio-common/_itowa.c (_itowa): Likewise.
21822         * stdio-common/reg-printf.c (__register_printf_specifier):
21823         Likewise.
21824         (__register_printf_function): Likewise.
21825         * stdio-common/tempname.c (__path_search): Likewise.
21826         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21827         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21828         * stdlib/random_r.c (__initstate_r): Likewise.
21829         * stdlib/setenv.c (__add_to_environ): Likewise.
21830         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21831         * streams/getpmsg.c (getpmsg): Likewise.
21832         * streams/putmsg.c (putmsg): Likewise.
21833         * streams/putpmsg.c (putpmsg): Likewise.
21834         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21835         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21836         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21837         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21838         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21839         * sunrpc/svc_udp.c (cache_get): Likewise.
21840         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21841         * sysdeps/mach/hurd/getcwd.c
21842         (__canonicalize_directory_name_internal): Likewise.
21843         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21844         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21845         * sysdeps/mach/hurd/select.c (__select): Likewise.
21846         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21847         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21848         * sysdeps/sparc/nptl/pthread_barrier_init.c
21849         (__pthread_barrier_init): Likewise.
21850         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21851         (__pthread_cond_timedwait): Likewise.
21852         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21853         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21854         Likewise.
21855         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21856         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21857         Likewise.
21858         * sysvipc/semtimedop.c (semtimedop): Likewise.
21859         * time/setitimer.c (__setitimer): Likewise.
21860         * time/strftime_l.c (emacs_strftime): Likewise.
21862 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21864         * config.make.in (have-ssp): Delete.
21865         (stack-protector): New variable.
21866         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21867         cache test for -fstack-protector-strong.  Export stack_protector to
21868         the best ssp flag.
21869         * configure: Regenerated.
21870         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21871         * nscd/Makefile (CFLAGS-nscd): Likewise.
21872         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21874 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21876         [BZ #19122]
21877         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21878         attribute_hidden.
21880 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21882         [BZ #18743]
21883         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21884         code to...
21885         (ELIDE_LOCK): ...here.
21886         (__get_new_count): New function with part of the code from
21887         __elide_lock that updates the value of adapt_count after a
21888         transaction abort.
21889         (__elided_trylock): Moved this code to...
21890         (ELIDE_TRYLOCK): ...here.
21892 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21894         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21895         * configure: Regenerate.
21896         * INSTALL: Regenerate.
21897         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21898         and tweak grammar.
21900 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21902         * login/programs/pt_chown.c: Include signal.h
21903         (main): Clear any signal mask from the parent process.
21905 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21907         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21908         * configure: Regenerated.
21909         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21910         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21911         $(gnu89-inline-CFLAGS).
21913         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21914         test.
21915         (libc_cv_asm_weakext_directive): Likewise.
21916         * configure: Regenerated.
21917         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21918         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21919         * include/libc-symbols.h
21920         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21921         #error.
21922         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21923         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21925         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21926         prototype-style function definition.
21927         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21928         * sysdeps/i386/ffs.c (__ffs): Likewise.
21929         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21930         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21931         Likewise.
21932         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21933         Likewise.
21934         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21935         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21936         Likewise.
21937         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21938         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21939         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21940         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21941         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21942         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21943         * sysdeps/mach/hurd/access.c (__access): Likewise.
21944         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21945         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21946         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21947         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21948         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21949         (cthread_getspecific): Likewise.
21950         (cthread_setspecific): Likewise.
21951         (__libc_getspecific): Likewise.
21952         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21953         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21954         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21955         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21956         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21957         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21958         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21959         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21960         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21961         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21962         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21963         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21964         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21965         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21966         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21967         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21968         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21969         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21970         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21971         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21972         * sysdeps/mach/hurd/link.c (__link): Likewise.
21973         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21974         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21975         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21976         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21977         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21978         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21979         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21980         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21981         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21982         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21983         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21984         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21985         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21986         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21987         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21988         * sysdeps/mach/hurd/send.c (__send): Likewise.
21989         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21990         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21991         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21992         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21993         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21994         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21995         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21996         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21997         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21998         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21999         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22000         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22001         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22002         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22003         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22004         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22005         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22006         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22007         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22008         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22009         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22010         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22011         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22012         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22013         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22014         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22015         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22016         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22017         * sysdeps/posix/alarm.c (alarm): Likewise.
22018         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22019         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22020         * sysdeps/posix/dup.c (__dup): Likewise.
22021         * sysdeps/posix/dup2.c (__dup2): Likewise.
22022         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22023         (main): Likewise.
22024         * sysdeps/posix/flock.c (__flock): Likewise.
22025         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22026         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22027         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22028         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22029         * sysdeps/posix/isatty.c (__isatty): Likewise.
22030         * sysdeps/posix/killpg.c (killpg): Likewise.
22031         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22032         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22033         * sysdeps/posix/raise.c (raise): Likewise.
22034         * sysdeps/posix/remove.c (remove): Likewise.
22035         * sysdeps/posix/rename.c (rename): Likewise.
22036         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22037         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22038         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22039         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22040         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22041         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22042         * sysdeps/posix/sigset.c (sigset): Likewise.
22043         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22044         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22045         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22046         * sysdeps/posix/time.c (time): Likewise.
22047         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22048         (ttyname): Likewise.
22049         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22050         * sysdeps/posix/utime.c (utime): Likewise.
22051         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22052         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22053         Likewise.
22054         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22055         (pthread_spin_trylock): Likewise.
22056         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22057         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22058         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22059         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22060         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22061         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22062         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22063         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22064         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22065         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22066         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22067         * sysdeps/s390/ffs.c (__ffs): Likewise.
22068         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22069         Likewise.
22070         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22071         Likewise.
22072         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22073         Likewise.
22074         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22075         (pthread_barrier_destroy): Likewise.
22076         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22077         (__pthread_barrier_wait): Likewise.
22078         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22079         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22080         (__pthread_barrier_wait): Likewise.
22081         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22082         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22083         (memcmp_not_common_alignment): Likewise.
22084         (MEMCMP): Likewise.
22085         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22086         (_wordcopy_fwd_dest_aligned): Likewise.
22087         (_wordcopy_bwd_aligned): Likewise.
22088         (_wordcopy_bwd_dest_aligned): Likewise.
22089         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22090         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22091         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22092         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22093         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22094         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22095         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22096         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22097         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22098         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22099         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22100         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22101         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22102         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22103         * sysdeps/unix/stime.c (stime): Likewise.
22104         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22105         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22106         Likewise.  Use internal_function.
22107         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22108         Convert to prototype-style function definition.
22109         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22110         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22111         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22112         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22113         Likewise.  Use internal_function.
22114         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22115         prototype-style function definition
22116         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22117         Likewise.
22118         (__getlogin_r): Likewise.
22119         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22120         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22121         (__pthread_cond_broadcast): Likewise.
22122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22123         (__pthread_cond_destroy): Likewise.
22124         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22125         (__pthread_cond_init): Likewise.
22126         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22127         (__pthread_cond_signal): Likewise.
22128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22129         (__pthread_cond_wait): Likewise.
22130         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22131         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22132         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22133         Likewise.
22134         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22135         Likewise.
22136         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22137         Likewise.
22138         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22139         Likewise.
22140         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22142         (__ftruncate64): Likewise.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22144         (truncate64): Likewise.
22145         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22146         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22147         (pthread_getcpuclockid): Likewise.
22148         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22149         Likewise.
22150         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22151         Likewise.
22152         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22153         Likewise.
22154         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22155         Likewise.
22156         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22157         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22158         (__libc_sigaction): Likewise.
22159         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22160         Likewise.
22161         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22162         (__sigprocmask): Likewise.
22163         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22164         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22165         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22166         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22167         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22168         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22169         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22170         Likewise.
22171         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22172         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22173         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22174         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22175         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22176         Likewise.
22177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22178         (__sigprocmask): Likewise.
22179         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22180         (cfgetispeed): Likewise.
22181         (cfsetospeed): Likewise.
22182         (cfsetispeed): Likewise.
22183         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22184         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22185         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22186         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22187         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22188         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22189         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22190         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22191         Likewise.
22192         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22193         Likewise.
22194         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22195         Likewise.
22196         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22197         Likewise.
22198         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22200 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22202         sunrpc: Rewrite with explicit TLS access using __thread.
22203         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22204         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22205         directly.
22206         (__rpc_thread_variables): Access thread_rpc_vars directly.
22207         Eliminate redundant assignment of the tvp variable.
22209 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22211         malloc: Rewrite with explicit TLS access using __thread.
22212         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22213         (tsd_setspecific, tsd_getspecific): Remove.
22214         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22215         (tsd_setspecific, tsd_getspecific): Likewise.
22216         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22217         (tsd_setspecific, tsd_getspecific): Likewise.
22218         * malloc/arena.c (thread_arena): New TLS variable.
22219         (arena_key): Remove variable.
22220         (arena_get): Use thread_arena.
22221         (arena_lookup): Remove macro.
22222         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22223         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22224         (_int_new_arena, get_free_list, reused_arena)
22225         (arena_thread_freeres): Use thread_arena.
22226         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22227         tsd_getspecific, tsd_setspecific from safety annotations.
22228         (Allocating Cleared Space): Remove arena_lookup from safety
22229         annotations.
22231 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22233         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22234         struct scratch_buffer instead of extend_alloca.
22236 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22238         * sysdeps/unix/sysv/linux/kernel-features.h
22239         (__ASSUME_SOCK_CLOEXEC): Remove.
22240         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22241         (__have_paccept): Remove unused macro.
22242         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22243         * misc/syslog.c (openlog_internal): Remove fallback code for
22244         !__ASSUME_SOCK_CLOEXEC.
22245         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22246         missing SOCK_CLOEXEC.
22247         * nscd/connections.c (have_sock_cloexec): Remove definition.
22248         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22249         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22250         !__ASSUME_SOCK_CLOEXEC.
22251         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22252         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22253         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22254         definition.
22255         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22256         code for !__ASSUME_SOCK_CLOEXEC.
22258 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22260         [BZ #18982]
22261         * manual/stdio.texi (Variable Arguments Output): Add portability
22262         note, explaining that vfprintf clobbers the va_list pointer.
22264 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22266         * math/libm-test.inc (fabs_test_data): Add more tests.
22267         (fdim_test_data): Likewise.
22268         (fma_test_data): Likewise.
22269         (fmax_test_data): Likewise.
22270         (fmin_test_data): Likewise.
22271         (fmod_test_data): Likewise.
22273 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22275         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22276         data.
22278 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22280         * math/libm-test.inc (ceil_test_data): Add more tests and more
22281         expectations for "inexact".
22282         (floor_test_data): Add more tests.
22283         (round_test_data): Likewise.
22284         (trunc_test_data): Likewise.
22286         * crypt/cert.c (good_bye): Convert to prototype-style function
22287         definition.
22288         (get8): Likewise.
22289         (put8): Likewise.
22290         * crypt/crypt-entry.c (crypt): Likewise.
22291         (__fcrypt): Likewise.
22292         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22293         (_ufc_set_bits): Likewise.
22294         (_ufc_clearmem): Likewise.
22295         (__init_des_r): Likewise.
22296         (shuffle_sb): Likewise.
22297         (shuffle_sb): Likewise.
22298         (_ufc_setup_salt_r): Likewise.
22299         (_ufc_mk_keytab_r): Likewise.
22300         (_ufc_dofinalperm_r): Likewise.
22301         (encrypt): Likewise.
22302         (__setkey_r): Likewise.
22303         (setkey): Likewise.
22304         * crypt/md5.c (md5_init_ctx): Likewise.
22305         (md5_read_ctx): Likewise.
22306         (md5_finish_ctx): Likewise.
22307         (md5_stream): Likewise.
22308         (md5_buffer): Likewise.
22309         (md5_process_bytes): Likewise.
22310         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22311         (__sha256_finish_ctx): Likewise.
22312         (__sha256_process_bytes): Likewise.
22313         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22314         (__sha512_finish_ctx): Likewise.
22315         (__sha512_process_bytes): Likewise.
22316         * ctype/isctype.c (__isctype): Likewise.
22317         * debug/backtrace.c (__backtrace): Likewise.
22318         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22319         * debug/fgets_chk.c (__fgets_chk): Likewise.
22320         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22321         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22322         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22323         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22324         * debug/memset_chk.c (__memset_chk): Likewise.
22325         * debug/strcat_chk.c (__strcat_chk): Likewise.
22326         * debug/strncat_chk.c (__strncat_chk): Likewise.
22327         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22328         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22329         * dirent/dirfd.c (dirfd): Likewise.
22330         * dirent/getdents.c (__getdirentries): Likewise.
22331         * dirent/getdents64.c (getdirentries64): Likewise.
22332         * dirent/rewinddir.c (__rewinddir): Likewise.
22333         * dirent/seekdir.c (seekdir): Likewise.
22334         * dirent/telldir.c (telldir): Likewise.
22335         * elf/sln.c (makesymlinks): Likewise.
22336         (makesymlink): Likewise.
22337         * gmon/gmon.c (__moncontrol): Likewise.
22338         (__monstartup): Likewise.
22339         (write_hist): Likewise.
22340         (write_call_graph): Likewise.
22341         (write_bb_counts): Likewise.
22342         * grp/setgroups.c (setgroups): Likewise.
22343         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22344         * inet/inet_net.c (inet_network): Likewise.
22345         * inet/inet_netof.c (inet_netof): Likewise.
22346         * inet/rcmd.c (rresvport_af): Likewise.
22347         (rresvport): Likewise.
22348         * io/access.c (__access): Likewise.
22349         * io/chdir.c (__chdir): Likewise.
22350         * io/chmod.c (__chmod): Likewise.
22351         * io/chown.c (__chown): Likewise.
22352         * io/close.c (__close): Likewise.
22353         * io/creat.c (creat): Likewise.
22354         * io/creat64.c (creat64): Likewise.
22355         * io/dup.c (__dup): Likewise.
22356         * io/dup2.c (__dup2): Likewise.
22357         * io/dup3.c (__dup3): Likewise.
22358         * io/euidaccess.c (__euidaccess): Likewise.
22359         * io/faccessat.c (faccessat): Likewise.
22360         * io/fchmod.c (__fchmod): Likewise.
22361         * io/fchmodat.c (fchmodat): Likewise.
22362         * io/fchown.c (__fchown): Likewise.
22363         * io/fchownat.c (fchownat): Likewise.
22364         * io/fcntl.c (__fcntl): Likewise.
22365         * io/flock.c (__flock): Likewise.
22366         * io/fts.c (fts_load): Likewise.
22367         (fts_close): Likewise.
22368         (fts_read): Likewise.
22369         (fts_set): Likewise.
22370         (fts_children): Likewise.
22371         (fts_build): Likewise.
22372         (fts_stat): Likewise.
22373         (fts_sort): Likewise.
22374         (fts_alloc): Likewise.
22375         (fts_lfree): Likewise.
22376         (fts_palloc): Likewise.
22377         (fts_padjust): Likewise.
22378         (fts_maxarglen): Likewise.
22379         (fts_safe_changedir): Likewise.
22380         * io/getwd.c (getwd): Likewise.
22381         * io/isatty.c (__isatty): Likewise.
22382         * io/lchown.c (__lchown): Likewise.
22383         * io/link.c (__link): Likewise.
22384         * io/linkat.c (linkat): Likewise.
22385         * io/lseek.c (__libc_lseek): Likewise.
22386         * io/mkdir.c (__mkdir): Likewise.
22387         * io/mkdirat.c (mkdirat): Likewise.
22388         * io/mkfifo.c (mkfifo): Likewise.
22389         * io/mkfifoat.c (mkfifoat): Likewise.
22390         * io/open.c (__libc_open): Likewise.
22391         * io/open64.c (__libc_open64): Likewise.
22392         * io/readlink.c (__readlink): Likewise.
22393         * io/readlinkat.c (readlinkat): Likewise.
22394         * io/rmdir.c (__rmdir): Likewise.
22395         * io/symlink.c (__symlink): Likewise.
22396         * io/symlinkat.c (symlinkat): Likewise.
22397         * io/ttyname.c (ttyname): Likewise.
22398         * io/ttyname_r.c (__ttyname_r): Likewise.
22399         * io/umask.c (__umask): Likewise.
22400         * io/unlink.c (__unlink): Likewise.
22401         * io/unlinkat.c (unlinkat): Likewise.
22402         * io/utime.c (utime): Likewise.
22403         * libio/clearerr.c (clearerr): Likewise.
22404         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22405         * libio/feof.c (_IO_feof): Likewise.
22406         * libio/feof_u.c (feof_unlocked): Likewise.
22407         * libio/ferror.c (_IO_ferror): Likewise.
22408         * libio/ferror_u.c (ferror_unlocked): Likewise.
22409         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22410         * libio/fileno.c (__fileno): Likewise.
22411         * libio/fputc.c (fputc): Likewise.
22412         * libio/fputc_u.c (fputc_unlocked): Likewise.
22413         * libio/fputwc.c (fputwc): Likewise.
22414         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22415         * libio/freopen.c (freopen): Likewise.
22416         * libio/freopen64.c (freopen64): Likewise.
22417         * libio/fseek.c (fseek): Likewise.
22418         * libio/fseeko.c (fseeko): Likewise.
22419         * libio/fseeko64.c (fseeko64): Likewise.
22420         * libio/ftello.c (__ftello): Likewise.
22421         * libio/ftello64.c (ftello64): Likewise.
22422         * libio/fwide.c (fwide): Likewise.
22423         * libio/genops.c (_IO_un_link): Likewise.
22424         (_IO_link_in): Likewise.
22425         (_IO_least_marker): Likewise.
22426         (_IO_switch_to_main_get_area): Likewise.
22427         (_IO_switch_to_backup_area): Likewise.
22428         (_IO_switch_to_get_mode): Likewise.
22429         (_IO_free_backup_area): Likewise.
22430         (_IO_switch_to_put_mode): Likewise.
22431         (__overflow): Likewise.
22432         (__underflow): Likewise.
22433         (__uflow): Likewise.
22434         (_IO_setb): Likewise.
22435         (_IO_doallocbuf): Likewise.
22436         (_IO_default_underflow): Likewise.
22437         (_IO_default_uflow): Likewise.
22438         (_IO_default_xsputn): Likewise.
22439         (_IO_sgetn): Likewise.
22440         (_IO_default_xsgetn): Likewise.
22441         (_IO_sync): Likewise.
22442         (_IO_default_setbuf): Likewise.
22443         (_IO_default_seekpos): Likewise.
22444         (_IO_default_doallocate): Likewise.
22445         (_IO_init): Likewise.
22446         (_IO_old_init): Likewise.
22447         (_IO_default_sync): Likewise.
22448         (_IO_default_finish): Likewise.
22449         (_IO_default_seekoff): Likewise.
22450         (_IO_sputbackc): Likewise.
22451         (_IO_sungetc): Likewise.
22452         (_IO_set_column): Likewise.
22453         (_IO_set_column): Likewise.
22454         (_IO_adjust_column): Likewise.
22455         (_IO_get_column): Likewise.
22456         (_IO_init_marker): Likewise.
22457         (_IO_remove_marker): Likewise.
22458         (_IO_marker_difference): Likewise.
22459         (_IO_marker_delta): Likewise.
22460         (_IO_seekmark): Likewise.
22461         (_IO_unsave_markers): Likewise.
22462         (_IO_nobackup_pbackfail): Likewise.
22463         (_IO_default_pbackfail): Likewise.
22464         (_IO_default_seek): Likewise.
22465         (_IO_default_stat): Likewise.
22466         (_IO_default_read): Likewise.
22467         (_IO_default_write): Likewise.
22468         (_IO_default_showmanyc): Likewise.
22469         (_IO_default_imbue): Likewise.
22470         (_IO_iter_next): Likewise.
22471         (_IO_iter_file): Likewise.
22472         * libio/getc.c (_IO_getc): Likewise.
22473         * libio/getwc.c (_IO_getwc): Likewise.
22474         * libio/iofclose.c (_IO_new_fclose): Likewise.
22475         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22476         * libio/iofflush.c (_IO_fflush): Likewise.
22477         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22478         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22479         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22480         * libio/iofgets.c (_IO_fgets): Likewise.
22481         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22482         * libio/iofgetws.c (fgetws): Likewise.
22483         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22484         * libio/iofopen64.c (_IO_fopen64): Likewise.
22485         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22486         (_IO_cookie_write): Likewise.
22487         (_IO_cookie_seek): Likewise.
22488         (_IO_cookie_close): Likewise.
22489         (_IO_cookie_seekoff): Likewise.
22490         (_IO_old_cookie_seek): Likewise.
22491         * libio/iofputs.c (_IO_fputs): Likewise.
22492         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22493         * libio/iofputws.c (fputws): Likewise.
22494         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22495         * libio/iofread.c (_IO_fread): Likewise.
22496         * libio/iofread_u.c (__fread_unlocked): Likewise.
22497         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22498         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22499         * libio/ioftell.c (_IO_ftell): Likewise.
22500         * libio/iofwrite.c (_IO_fwrite): Likewise.
22501         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22502         * libio/iogets.c (_IO_gets): Likewise.
22503         * libio/iopadn.c (_IO_padn): Likewise.
22504         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22505         (_IO_new_popen): Likewise.
22506         (_IO_new_proc_close): Likewise.
22507         * libio/ioputs.c (_IO_puts): Likewise.
22508         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22509         (_IO_seekoff): Likewise.
22510         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22511         (_IO_seekpos): Likewise.
22512         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22513         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22514         * libio/ioungetc.c (_IO_ungetc): Likewise.
22515         * libio/ioungetwc.c (ungetwc): Likewise.
22516         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22517         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22518         * libio/iowpadn.c (_IO_wpadn): Likewise.
22519         * libio/libc_fatal.c (__libc_fatal): Likewise.
22520         * libio/memstream.c (__open_memstream): Likewise.
22521         (_IO_mem_sync): Likewise.
22522         (_IO_mem_finish): Likewise.
22523         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22524         (_IO_old_file_close_it): Likewise.
22525         (_IO_old_file_finish): Likewise.
22526         (_IO_old_file_fopen): Likewise.
22527         (_IO_old_file_attach): Likewise.
22528         (_IO_old_file_setbuf): Likewise.
22529         (_IO_old_do_write): Likewise.
22530         (old_do_write): Likewise.
22531         (_IO_old_file_underflow): Likewise.
22532         (_IO_old_file_overflow): Likewise.
22533         (_IO_old_file_sync): Likewise.
22534         (_IO_old_file_seekoff): Likewise.
22535         (_IO_old_file_write): Likewise.
22536         (_IO_old_file_xsputn): Likewise.
22537         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22538         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22539         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22540         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22541         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22542         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22543         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22544         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22545         (_IO_old_popen): Likewise.
22546         (_IO_old_proc_close): Likewise.
22547         * libio/oldpclose.c (__old_pclose): Likewise.
22548         * libio/pclose.c (__new_pclose): Likewise.
22549         * libio/peekc.c (_IO_peekc_locked): Likewise.
22550         * libio/putc.c (_IO_putc): Likewise.
22551         * libio/putc_u.c (putc_unlocked): Likewise.
22552         * libio/putchar.c (putchar): Likewise.
22553         * libio/putchar_u.c (putchar_unlocked): Likewise.
22554         * libio/putwc.c (putwc): Likewise.
22555         * libio/putwc_u.c (putwc_unlocked): Likewise.
22556         * libio/putwchar.c (putwchar): Likewise.
22557         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22558         * libio/rewind.c (rewind): Likewise.
22559         * libio/setbuf.c (setbuf): Likewise.
22560         * libio/setlinebuf.c (setlinebuf): Likewise.
22561         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22562         * libio/vscanf.c (_IO_vscanf): Likewise.
22563         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22564         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22565         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22566         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22567         (_IO_switch_to_main_wget_area): Likewise.
22568         (_IO_switch_to_wbackup_area): Likewise.
22569         (_IO_wsetb): Likewise.
22570         (_IO_wdefault_pbackfail): Likewise.
22571         (_IO_wdefault_finish): Likewise.
22572         (_IO_wdefault_uflow): Likewise.
22573         (__woverflow): Likewise.
22574         (__wuflow): Likewise.
22575         (__wunderflow): Likewise.
22576         (_IO_wdefault_xsputn): Likewise.
22577         (_IO_wdefault_xsgetn): Likewise.
22578         (_IO_wdoallocbuf): Likewise.
22579         (_IO_wdefault_doallocate): Likewise.
22580         (_IO_switch_to_wget_mode): Likewise.
22581         (_IO_free_wbackup_area): Likewise.
22582         (_IO_switch_to_wput_mode): Likewise.
22583         (_IO_sputbackwc): Likewise.
22584         (_IO_sungetwc): Likewise.
22585         (_IO_adjust_wcolumn): Likewise.
22586         (_IO_init_wmarker): Likewise.
22587         (_IO_wmarker_delta): Likewise.
22588         (_IO_seekwmark): Likewise.
22589         (_IO_unsave_wmarkers): Likewise.
22590         * libio/wmemstream.c (open_wmemstream): Likewise.
22591         (_IO_wmem_sync): Likewise.
22592         (_IO_wmem_finish): Likewise.
22593         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22594         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22595         * locale/programs/simple-hash.c (init_hash): Likewise.
22596         (delete_hash): Likewise.
22597         (insert_entry): Likewise.
22598         (set_entry): Likewise.
22599         (next_prime): Likewise.
22600         (is_prime): Likewise.
22601         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22602         (xmalloc): Likewise.
22603         (xrealloc): Likewise.
22604         * locale/programs/xstrdup.c (xstrdup): Likewise.
22605         * localedata/collate-test.c (xstrcoll): Likewise.
22606         * localedata/xfrm-test.c (xstrcmp): Likewise.
22607         * login/getlogin_r.c (__getlogin_r): Likewise.
22608         * login/getpt.c (__posix_openpt): Likewise.
22609         * login/login_tty.c (login_tty): Likewise.
22610         * login/setlogin.c (setlogin): Likewise.
22611         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22612         (mach_msg_destroy_port): Likewise.
22613         (mach_msg_destroy_memory): Likewise.
22614         * malloc/mcheck.c (flood): Likewise.
22615         * misc/acct.c (acct): Likewise.
22616         * misc/brk.c (__brk): Likewise.
22617         * misc/chflags.c (chflags): Likewise.
22618         * misc/chroot.c (chroot): Likewise.
22619         * misc/fchflags.c (fchflags): Likewise.
22620         * misc/fstab.c (getfsspec): Likewise.
22621         (getfsfile): Likewise.
22622         * misc/fsync.c (fsync): Likewise.
22623         * misc/ftruncate.c (__ftruncate): Likewise.
22624         * misc/ftruncate64.c (__ftruncate64): Likewise.
22625         * misc/getdomain.c (getdomainname): Likewise.
22626         (getdomainname): Likewise.
22627         * misc/gethostname.c (__gethostname): Likewise.
22628         * misc/getpass.c (getpass): Likewise.
22629         * misc/getttyent.c (skip): Likewise.
22630         (value): Likewise.
22631         * misc/gtty.c (gtty): Likewise.
22632         * misc/hsearch.c (hsearch): Likewise.
22633         (hcreate): Likewise.
22634         * misc/hsearch_r.c (__hcreate_r): Likewise.
22635         (__hdestroy_r): Likewise.
22636         * misc/ioctl.c (__ioctl): Likewise.
22637         * misc/mkdtemp.c (mkdtemp): Likewise.
22638         * misc/mkostemp.c (mkostemp): Likewise.
22639         * misc/mkostemp64.c (mkostemp64): Likewise.
22640         * misc/mkostemps.c (mkostemps): Likewise.
22641         * misc/mkostemps64.c (mkostemps64): Likewise.
22642         * misc/mkstemp.c (mkstemp): Likewise.
22643         * misc/mkstemp64.c (mkstemp64): Likewise.
22644         * misc/mkstemps.c (mkstemps): Likewise.
22645         * misc/mkstemps64.c (mkstemps64): Likewise.
22646         * misc/mktemp.c (__mktemp): Likewise.
22647         * misc/preadv.c (preadv): Likewise.
22648         * misc/preadv64.c (preadv64): Likewise.
22649         * misc/pwritev.c (pwritev): Likewise.
22650         * misc/pwritev64.c (pwritev64): Likewise.
22651         * misc/readv.c (__readv): Likewise.
22652         * misc/revoke.c (revoke): Likewise.
22653         * misc/setdomain.c (setdomainname): Likewise.
22654         * misc/setegid.c (setegid): Likewise.
22655         * misc/seteuid.c (seteuid): Likewise.
22656         * misc/sethostid.c (sethostid): Likewise.
22657         * misc/sethostname.c (sethostname): Likewise.
22658         * misc/setregid.c (__setregid): Likewise.
22659         * misc/setreuid.c (__setreuid): Likewise.
22660         * misc/sstk.c (sstk): Likewise.
22661         * misc/stty.c (stty): Likewise.
22662         * misc/syscall.c (syscall): Likewise.
22663         * misc/syslog.c (setlogmask): Likewise.
22664         * misc/truncate.c (__truncate): Likewise.
22665         * misc/truncate64.c (truncate64): Likewise.
22666         * misc/ualarm.c (ualarm): Likewise.
22667         * misc/usleep.c (usleep): Likewise.
22668         * misc/ustat.c (ustat): Likewise.
22669         * misc/writev.c (__writev): Likewise.
22670         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22671         * nptl/old_pthread_cond_broadcast.c
22672         (__pthread_cond_broadcast_2_0): Likewise.
22673         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22674         Likewise.
22675         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22676         Likewise.
22677         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22678         Likewise.
22679         * nptl/pt-raise.c (raise): Likewise.
22680         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22681         Likewise.
22682         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22683         * nptl/pthread_barrierattr_destroy.c
22684         (pthread_barrierattr_destroy): Likewise.
22685         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22686         Likewise.
22687         * nptl/pthread_barrierattr_setpshared.c
22688         (pthread_barrierattr_setpshared): Likewise.
22689         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22690         Likewise.
22691         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22692         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22693         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22694         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22695         Likewise.
22696         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22697         Likewise.
22698         * nptl/pthread_condattr_getpshared.c
22699         (pthread_condattr_getpshared): Likewise.
22700         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22701         Likewise.
22702         * nptl/pthread_condattr_setpshared.c
22703         (pthread_condattr_setpshared): Likewise.
22704         * nptl/pthread_detach.c (pthread_detach): Likewise.
22705         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22706         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22707         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22708         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22709         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22710         Likewise.
22711         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22712         Likewise.
22713         * nptl/pthread_mutex_getprioceiling.c
22714         (pthread_mutex_getprioceiling): Likewise.
22715         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22716         Likewise.
22717         * nptl/pthread_mutexattr_getprotocol.c
22718         (pthread_mutexattr_getprotocol): Likewise.
22719         * nptl/pthread_mutexattr_getpshared.c
22720         (pthread_mutexattr_getpshared): Likewise.
22721         * nptl/pthread_mutexattr_getrobust.c
22722         (pthread_mutexattr_getrobust): Likewise.
22723         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22724         Likewise.
22725         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22726         Likewise.
22727         * nptl/pthread_mutexattr_setprioceiling.c
22728         (pthread_mutexattr_setprioceiling): Likewise.
22729         * nptl/pthread_mutexattr_setprotocol.c
22730         (pthread_mutexattr_setprotocol): Likewise.
22731         * nptl/pthread_mutexattr_setpshared.c
22732         (pthread_mutexattr_setpshared): Likewise.
22733         * nptl/pthread_mutexattr_setrobust.c
22734         (pthread_mutexattr_setrobust): Likewise.
22735         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22736         Likewise.
22737         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22738         Likewise.
22739         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22740         Likewise.
22741         * nptl/pthread_rwlockattr_getkind_np.c
22742         (pthread_rwlockattr_getkind_np): Likewise.
22743         * nptl/pthread_rwlockattr_getpshared.c
22744         (pthread_rwlockattr_getpshared): Likewise.
22745         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22746         Likewise.
22747         * nptl/pthread_rwlockattr_setkind_np.c
22748         (pthread_rwlockattr_setkind_np): Likewise.
22749         * nptl/pthread_rwlockattr_setpshared.c
22750         (pthread_rwlockattr_setpshared): Likewise.
22751         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22752         Likewise.
22753         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22754         Likewise.
22755         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22756         Likewise.
22757         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22758         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22759         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22760         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22761         * nptl/sem_close.c (sem_close): Likewise.
22762         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22763         * nptl/sem_init.c (__old_sem_init): Likewise.
22764         * nptl/sigaction.c (__sigaction): Likewise.
22765         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22766         * posix/_exit.c (_exit): Likewise.
22767         * posix/alarm.c (alarm): Likewise.
22768         * posix/confstr.c (confstr): Likewise.
22769         * posix/fpathconf.c (__fpathconf): Likewise.
22770         * posix/getgroups.c (__getgroups): Likewise.
22771         * posix/getpgid.c (__getpgid): Likewise.
22772         * posix/group_member.c (__group_member): Likewise.
22773         * posix/pathconf.c (__pathconf): Likewise.
22774         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22775         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22776         * posix/setgid.c (__setgid): Likewise.
22777         * posix/setpgid.c (__setpgid): Likewise.
22778         * posix/setuid.c (__setuid): Likewise.
22779         * posix/sleep.c (__sleep): Likewise.
22780         * posix/sysconf.c (__sysconf): Likewise.
22781         * posix/times.c (__times): Likewise.
22782         * posix/uname.c (__uname): Likewise.
22783         * posix/waitid.c (__waitid): Likewise.
22784         * pwd/getpw.c (__getpw): Likewise.
22785         * resolv/base64.c (b64_pton): Likewise.
22786         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22787         * resolv/gethnamaddr.c (Dprintf): Likewise.
22788         (gethostbyname): Likewise.
22789         (gethostbyname2): Likewise.
22790         (gethostbyaddr): Likewise.
22791         (_sethtent): Likewise.
22792         (_gethtbyname): Likewise.
22793         (_gethtbyname2): Likewise.
22794         (_gethtbyaddr): Likewise.
22795         (map_v4v6_address): Likewise.
22796         (map_v4v6_hostent): Likewise.
22797         (addrsort): Likewise.
22798         (ht_sethostent): Likewise.
22799         (ht_gethostbyname): Likewise.
22800         (ht_gethostbyaddr): Likewise.
22801         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22802         (inet_net_ntop_ipv4): Likewise.
22803         * resolv/inet_neta.c (inet_neta): Likewise.
22804         * resolv/inet_ntop.c (inet_ntop): Likewise.
22805         (inet_ntop4): Likewise.
22806         (inet_ntop6): Likewise.
22807         * resolv/inet_pton.c (__inet_pton): Likewise.
22808         (inet_pton4): Likewise.
22809         (inet_pton6): Likewise.
22810         * resolv/res_debug.c (loc_aton): Likewise.
22811         (loc_ntoa): Likewise.
22812         * resource/getpriority.c (__getpriority): Likewise.
22813         * resource/getrusage.c (__getrusage): Likewise.
22814         * resource/nice.c (nice): Likewise.
22815         * resource/setpriority.c (__setpriority): Likewise.
22816         * resource/setrlimit64.c (setrlimit64): Likewise.
22817         * resource/vlimit.c (vlimit): Likewise.
22818         * resource/vtimes.c (vtimes): Likewise.
22819         * rt/aio_error.c (aio_error): Likewise.
22820         * rt/aio_return.c (aio_return): Likewise.
22821         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22822         * signal/kill.c (__kill): Likewise.
22823         * signal/killpg.c (killpg): Likewise.
22824         * signal/raise.c (raise): Likewise.
22825         * signal/sigaction.c (__sigaction): Likewise.
22826         * signal/sigaddset.c (sigaddset): Likewise.
22827         * signal/sigaltstack.c (sigaltstack): Likewise.
22828         * signal/sigandset.c (sigandset): Likewise.
22829         * signal/sigblock.c (__sigblock): Likewise.
22830         * signal/sigdelset.c (sigdelset): Likewise.
22831         * signal/sigempty.c (sigemptyset): Likewise.
22832         * signal/sigfillset.c (sigfillset): Likewise.
22833         * signal/sighold.c (sighold): Likewise.
22834         * signal/sigignore.c (sigignore): Likewise.
22835         * signal/sigintr.c (siginterrupt): Likewise.
22836         * signal/sigisempty.c (sigisemptyset): Likewise.
22837         * signal/sigismem.c (sigismember): Likewise.
22838         * signal/signal.c (signal): Likewise.
22839         * signal/sigorset.c (sigorset): Likewise.
22840         * signal/sigpause.c (__sigpause): Likewise.
22841         * signal/sigpending.c (sigpending): Likewise.
22842         * signal/sigprocmask.c (__sigprocmask): Likewise.
22843         * signal/sigrelse.c (sigrelse): Likewise.
22844         * signal/sigreturn.c (__sigreturn): Likewise.
22845         * signal/sigset.c (sigset): Likewise.
22846         * signal/sigsetmask.c (__sigsetmask): Likewise.
22847         * signal/sigstack.c (sigstack): Likewise.
22848         * signal/sigsuspend.c (__sigsuspend): Likewise.
22849         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22850         * signal/sysv_signal.c (__sysv_signal): Likewise.
22851         * socket/accept.c (accept): Likewise.
22852         * socket/accept4.c (__libc_accept4): Likewise.
22853         * socket/bind.c (__bind): Likewise.
22854         * socket/connect.c (__connect): Likewise.
22855         * socket/getpeername.c (getpeername): Likewise.
22856         * socket/getsockname.c (__getsockname): Likewise.
22857         * socket/getsockopt.c (getsockopt): Likewise.
22858         * socket/listen.c (__listen): Likewise.
22859         * socket/recv.c (__recv): Likewise.
22860         * socket/recvmsg.c (__recvmsg): Likewise.
22861         * socket/send.c (__send): Likewise.
22862         * socket/sendmsg.c (__sendmsg): Likewise.
22863         * socket/shutdown.c (shutdown): Likewise.
22864         * socket/sockatmark.c (sockatmark): Likewise.
22865         * socket/socket.c (__socket): Likewise.
22866         * stdio-common/ctermid.c (ctermid): Likewise.
22867         * stdio-common/cuserid.c (cuserid): Likewise.
22868         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22869         * stdio-common/remove.c (remove): Likewise.
22870         * stdio-common/rename.c (rename): Likewise.
22871         * stdio-common/renameat.c (renameat): Likewise.
22872         * stdio-common/tempname.c (__gen_tempname): Likewise.
22873         * stdio-common/xbug.c (InitBuffer): Likewise.
22874         (AppendToBuffer): Likewise.
22875         (ReadFile): Likewise.
22876         * stdlib/a64l.c (a64l): Likewise.
22877         * stdlib/drand48_r.c (drand48_r): Likewise.
22878         * stdlib/getcontext.c (getcontext): Likewise.
22879         * stdlib/getenv.c (getenv): Likewise.
22880         * stdlib/l64a.c (l64a): Likewise.
22881         * stdlib/llabs.c (llabs): Likewise.
22882         * stdlib/lldiv.c (lldiv): Likewise.
22883         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22884         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22885         * stdlib/putenv.c (putenv): Likewise.
22886         * stdlib/random.c (__srandom): Likewise.
22887         (__initstate): Likewise.
22888         (__setstate): Likewise.
22889         * stdlib/random_r.c (__srandom_r): Likewise.
22890         (__setstate_r): Likewise.
22891         (__random_r): Likewise.
22892         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22893         * stdlib/setcontext.c (setcontext): Likewise.
22894         * stdlib/setenv.c (setenv): Likewise.
22895         (unsetenv): Likewise.
22896         * stdlib/srand48.c (srand48): Likewise.
22897         * stdlib/srand48_r.c (__srand48_r): Likewise.
22898         * stdlib/swapcontext.c (swapcontext): Likewise.
22899         * stdlib/system.c (__libc_system): Likewise.
22900         * stdlib/tst-strtod.c (expand): Likewise.
22901         * stdlib/tst-strtol.c (expand): Likewise.
22902         * stdlib/tst-strtoll.c (expand): Likewise.
22903         * streams/fattach.c (fattach): Likewise.
22904         * streams/fdetach.c (fdetach): Likewise.
22905         * streams/getmsg.c (getmsg): Likewise.
22906         * streams/isastream.c (isastream): Likewise.
22907         * string/ffs.c (__ffs): Likewise.
22908         * string/ffsll.c (ffsll): Likewise.
22909         * string/memcmp.c (memcmp_common_alignment): Likewise.
22910         (memcmp_not_common_alignment): Likewise.
22911         (MEMCMP): Likewise.
22912         * string/memcpy.c (memcpy): Likewise.
22913         * string/memmove.c (MEMMOVE): Likewise.
22914         * string/memset.c (memset): Likewise.
22915         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22916         * string/strchrnul.c (STRCHRNUL): Likewise.
22917         * string/strerror.c (strerror): Likewise.
22918         * string/strndup.c (__strndup): Likewise.
22919         * string/strverscmp.c (__strverscmp): Likewise.
22920         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22921         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22922         (clnttcp_freeres): Likewise.
22923         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22924         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22925         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22926         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22927         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22928         (xdr_callhdr): Likewise.
22929         * sunrpc/rpcinfo.c (udpping): Likewise.
22930         (tcpping): Likewise.
22931         (pstatus): Likewise.
22932         (pmapdump): Likewise.
22933         (brdcst): Likewise.
22934         (deletereg): Likewise.
22935         (getprognum): Likewise.
22936         (getvers): Likewise.
22937         (get_inet_address): Likewise.
22938         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22939         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22940         (svcudp_stat): Likewise.
22941         (svcudp_recv): Likewise.
22942         (svcudp_reply): Likewise.
22943         (svcudp_getargs): Likewise.
22944         (svcudp_freeargs): Likewise.
22945         (svcudp_destroy): Likewise.
22946         * sunrpc/xdr.c (xdr_bytes): Likewise.
22947         (xdr_netobj): Likewise.
22948         (xdr_string): Likewise.
22949         (xdr_wrapstring): Likewise.
22950         * sunrpc/xdr_float.c (xdr_float): Likewise.
22951         (xdr_double): Likewise.
22952         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22953         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22954         * sysvipc/ftok.c (ftok): Likewise.
22955         * sysvipc/msgctl.c (msgctl): Likewise.
22956         * sysvipc/msgget.c (msgget): Likewise.
22957         * sysvipc/msgrcv.c (msgrcv): Likewise.
22958         * sysvipc/msgsnd.c (msgsnd): Likewise.
22959         * sysvipc/semget.c (semget): Likewise.
22960         * sysvipc/semop.c (semop): Likewise.
22961         * sysvipc/shmat.c (shmat): Likewise.
22962         * sysvipc/shmctl.c (shmctl): Likewise.
22963         * sysvipc/shmdt.c (shmdt): Likewise.
22964         * sysvipc/shmget.c (shmget): Likewise.
22965         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22966         * termios/speed.c (cfgetospeed): Likewise.
22967         (cfgetispeed): Likewise.
22968         (cfsetospeed): Likewise.
22969         (cfsetispeed): Likewise.
22970         * termios/tcflow.c (tcflow): Likewise.
22971         * termios/tcflush.c (tcflush): Likewise.
22972         * termios/tcgetattr.c (__tcgetattr): Likewise.
22973         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22974         * termios/tcgetsid.c (tcgetsid): Likewise.
22975         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22976         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22977         * time/adjtime.c (__adjtime): Likewise.
22978         * time/dysize.c (dysize): Likewise.
22979         * time/ftime.c (ftime): Likewise.
22980         * time/getitimer.c (__getitimer): Likewise.
22981         * time/gettimeofday.c (__gettimeofday): Likewise.
22982         * time/gmtime.c (__gmtime_r): Likewise.
22983         (gmtime): Likewise.
22984         * time/localtime.c (__localtime_r): Likewise.
22985         (localtime): Likewise.
22986         * time/offtime.c (__offtime): Likewise.
22987         * time/settimeofday.c (__settimeofday): Likewise.
22988         * time/stime.c (stime): Likewise.
22989         * time/strftime_l.c (tm_diff): Likewise.
22990         (iso_week_days): Likewise.
22991         * time/strptime.c (strptime): Likewise.
22992         * time/time.c (time): Likewise.
22993         * time/timespec_get.c (timespec_get): Likewise.
22994         * time/tzset.c (tzset_internal): Likewise.
22995         (compute_change): Likewise.
22996         (__tz_compute): Likewise.
22997         * wcsmbs/btowc.c (__btowc): Likewise.
22998         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22999         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23000         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23001         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23002         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23003         * wcsmbs/wcscat.c (__wcscat): Likewise.
23004         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23005         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23006         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23007         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23008         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23009         * wcsmbs/wcslen.c (__wcslen): Likewise.
23010         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23011         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23012         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23013         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23014         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23015         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23016         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23017         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23018         * wcsmbs/wcstok.c (wcstok): Likewise.
23019         * wcsmbs/wctob.c (wctob): Likewise.
23020         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23021         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23022         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23023         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23024         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23025         * wcsmbs/wmemset.c (__wmemset): Likewise.
23026         * wctype/wcfuncs.c (__towlower): Likewise.
23027         (__towupper): Likewise.
23029         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23030         (lll_unlock_elision): Add adapt_count parameter.
23032 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23034         * sysdeps/nptl/configure.ac: Do not give errors based on the
23035         results of top-level configure tests.
23036         * sysdeps/nptl/configure: Regenerated.
23038         * configure.ac (libc_cv_Bgroup): Remove configure test.
23039         * configure: Regenerated.
23040         * config.make.in (have-Bgroup): Remove variable.
23042         * configure.ac (sizeof_long_double): Remove configure test.
23043         * configure: Regenerated.
23044         * config.make.in (sizeof-long-double): Remove variable.
23046         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23047         * configure: Regenerated.
23048         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23049         variable.
23050         (exceptions): Likewise.
23051         * sysdeps/arm/configure: Regenerated.
23052         * config.make.in (exceptions): Remove variable.
23053         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23054         $(exceptions).
23055         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23056         (CFLAGS-vdprintf_chk.c): Likewise.
23057         (CFLAGS-printf_chk.c): Likewise.
23058         (CFLAGS-fprintf_chk.c): Likewise.
23059         (CFLAGS-vprintf_chk.c): Likewise.
23060         (CFLAGS-vfprintf_chk.c): Likewise.
23061         (CFLAGS-gets_chk.c): Likewise.
23062         (CFLAGS-fgets_chk.c): Likewise.
23063         (CFLAGS-fgets_u_chk.c): Likewise.
23064         (CFLAGS-fread_chk.c): Likewise.
23065         (CFLAGS-fread_u_chk.c): Likewise.
23066         (CFLAGS-wprintf_chk.c): Likewise.
23067         (CFLAGS-fwprintf_chk.c): Likewise.
23068         (CFLAGS-vwprintf_chk.c): Likewise.
23069         (CFLAGS-vfwprintf_chk.c): Likewise.
23070         (CFLAGS-fgetws_chk.c): Likewise.
23071         (CFLAGS-fgetws_u_chk.c): Likewise.
23072         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23073         (CFLAGS-fputc.c): Likewise.
23074         (CFLAGS-fputwc.c): Likewise.
23075         (CFLAGS-freopen64.c): Likewise.
23076         (CFLAGS-freopen.c): Likewise.
23077         (CFLAGS-fseek.c): Likewise.
23078         (CFLAGS-fseeko64.c): Likewise.
23079         (CFLAGS-fseeko.c): Likewise.
23080         (CFLAGS-ftello64.c): Likewise.
23081         (CFLAGS-ftello.c): Likewise.
23082         (CFLAGS-fwide.c): Likewise.
23083         (CFLAGS-genops.c): Likewise.
23084         (CFLAGS-getc.c): Likewise.
23085         (CFLAGS-getchar.c): Likewise.
23086         (CFLAGS-getwc.c): Likewise.
23087         (CFLAGS-getwchar.c): Likewise.
23088         (CFLAGS-iofclose.c): Likewise.
23089         (CFLAGS-iofflush.c): Likewise.
23090         (CFLAGS-iofgetpos64.c): Likewise.
23091         (CFLAGS-iofgetpos.c): Likewise.
23092         (CFLAGS-iofgets.c): Likewise.
23093         (CFLAGS-iofgetws.c): Likewise.
23094         (CFLAGS-iofputs.c): Likewise.
23095         (CFLAGS-iofputws.c): Likewise.
23096         (CFLAGS-iofread.c): Likewise.
23097         (CFLAGS-iofsetpos64.c): Likewise.
23098         (CFLAGS-iofsetpos.c): Likewise.
23099         (CFLAGS-ioftell.c): Likewise.
23100         (CFLAGS-iofwrite.c): Likewise.
23101         (CFLAGS-iogetdelim.c): Likewise.
23102         (CFLAGS-iogetline.c): Likewise.
23103         (CFLAGS-iogets.c): Likewise.
23104         (CFLAGS-iogetwline.c): Likewise.
23105         (CFLAGS-ioputs.c): Likewise.
23106         (CFLAGS-ioseekoff.c): Likewise.
23107         (CFLAGS-ioseekpos.c): Likewise.
23108         (CFLAGS-iosetbuffer.c): Likewise.
23109         (CFLAGS-iosetvbuf.c): Likewise.
23110         (CFLAGS-ioungetc.c): Likewise.
23111         (CFLAGS-ioungetwc.c): Likewise.
23112         (CFLAGS-oldfileops.c): Likewise.
23113         (CFLAGS-oldiofclose.c): Likewise.
23114         (CFLAGS-oldiofgetpos64.c): Likewise.
23115         (CFLAGS-oldiofgetpos.c): Likewise.
23116         (CFLAGS-oldiofsetpos64.c): Likewise.
23117         (CFLAGS-oldiofsetpos.c): Likewise.
23118         (CFLAGS-peekc.c): Likewise.
23119         (CFLAGS-putc.c): Likewise.
23120         (CFLAGS-putchar.c): Likewise.
23121         (CFLAGS-putwc.c): Likewise.
23122         (CFLAGS-putwchar.c): Likewise.
23123         (CFLAGS-rewind.c): Likewise.
23124         (CFLAGS-wfileops.c): Likewise.
23125         (CFLAGS-wgenops.c): Likewise.
23126         (CFLAGS-oldiofopen.c): Likewise.
23127         (CFLAGS-iofopen.c): Likewise.
23128         (CFLAGS-iofopen64.c): Likewise.
23129         (CFLAGS-oldtmpfile.c): Likewise.
23130         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23131         (CFLAGS-fprintf.c): Likewise.
23132         (CFLAGS-printf.c): Likewise.
23133         (CFLAGS-vfwprintf.c): Likewise.
23134         (CFLAGS-vfscanf.c): Likewise.
23135         (CFLAGS-vfwscanf.c): Likewise.
23136         (CFLAGS-fscanf.c): Likewise.
23137         (CFLAGS-scanf.c): Likewise.
23138         (CFLAGS-isoc99_vfscanf.c): Likewise.
23139         (CFLAGS-isoc99_vscanf.c): Likewise.
23140         (CFLAGS-isoc99_fscanf.c): Likewise.
23141         (CFLAGS-isoc99_scanf.c): Likewise.
23142         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23143         (CFLAGS-isoc99_fwscanf.c): Likewise.
23144         (CFLAGS-isoc99_vwscanf.c): Likewise.
23145         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23147         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23148         after mkstemp64.
23149         * login/tst-utmp.c (do_prepare): Likewise.
23150         * rt/tst-aio.c (do_prepare): Likewise.
23151         * rt/tst-aio64.c (do_prepare): Likewise.
23153 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23155         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23156         (__lll_lock_elision): Remove adapt_count decrement...
23157         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23158         (__lll_trylock_elision): Likewise.
23159         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23160         (__lll_unlock_elision): ... to here. And utilize
23161         new adapt_count parameter.
23162         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23163         (__lll_unlock_elision): Update to include adapt_count
23164         parameter.
23165         (lll_unlock_elision): Pass pointer to adapt_count
23166         variable.
23168 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23170         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23171         Add elision adapt_count parameter to list of arguments.
23172         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23173         (lll_unlock_elision): Update with new parameter list
23174         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23175         (lll_unlock_elision): Likewise.
23176         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23177         (lll_unlock_elision): Likewise.
23179 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23181         [BZ #19122]
23182         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23183         attribute_hidden.
23185         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23186         attribute_hidden.
23187         [IS_IN (rtld)] (__strdup): Likewise.
23188         [IS_IN (rtld)] (__strerror_r): Likewise.
23189         [IS_IN (rtld)] (__strsep_g): Likewise.
23190         [IS_IN (rtld)] (memchr): Likewise.
23191         [IS_IN (rtld)] (memcmp): Likewise.
23192         [IS_IN (rtld)] (memcpy): Likewise.
23193         [IS_IN (rtld)] (memmove): Likewise.
23194         [IS_IN (rtld)] (memset): Likewise.
23195         [IS_IN (rtld)] (rawmemchr): Likewise.
23196         [IS_IN (rtld)] (stpcpy): Likewise.
23197         [IS_IN (rtld)] (strchr): Likewise.
23198         [IS_IN (rtld)] (strcmp): Likewise.
23199         [IS_IN (rtld)] (strlen): Likewise.
23200         [IS_IN (rtld)] (strnlen): Likewise.
23201         [IS_IN (rtld)] (strsep): Likewise.
23203         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23204         attribute_hidden.
23205         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23207         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23208         attribute_hidden.
23209         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23211         * include/setjmp.h (__longjmp): Add attribute_hidden.
23212         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23214         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23215         Add attribute_hidden.
23217         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23218         [IS_IN (rtld)] (__open): Likewise.
23219         [IS_IN (rtld)] (__fcntl): Likewise.
23221         * include/dirent.h (__opendirat): Add attribute_hidden.
23222         (__getdents): Likewise.
23223         (__getdents64): Likewise.
23224         (__alloc_dir): Likewise.
23225         [IS_IN (rtld)] (__closedir): Likewise.
23226         [IS_IN (rtld)] (__fdopendir): Likewise.
23227         [IS_IN (rtld)] (__readdir): Likewise.
23228         [IS_IN (rtld)] (__readdir64): Likewise.
23229         [IS_IN (rtld)] (__rewinddir): Likewise.
23231         * include/dlfcn.h (_dl_catch_error): Moved to ...
23232         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23233         attribute_hidden.
23235         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23236         (_itoa_word): Likewise.
23238         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23239         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23240         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23241         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23242         (_dl_higher_prime_number): Likewise.
23243         (_dl_debug_printf_c): Likewise.
23244         (_dl_signal_cerror): Likewise.
23245         (_dl_receive_error): Likewise.
23246         (_dl_reloc_bad_type): Likewise.
23247         (_dl_resolve_conflicts): Likewise.
23248         (_dl_check_all_versions): Likewise.
23249         (_dl_check_map_versions): Likewise.
23250         (_dl_sort_fini): Likewise.
23251         (_dl_debug_initialize): Likewise.
23252         (_dl_init_paths): Likewise.
23253         (_dl_show_auxv): Likewise.
23254         (_dl_next_ld_env_entry): Likewise.
23255         (_dl_important_hwcaps): Likewise.
23256         (_dl_load_cache_lookup): Likewise.
23257         (_dl_update_slotinfo): Likewise.
23258         (_dl_show_scope): Likewise.
23260         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23261         attribute_hidden.
23262         (_wordcopy_fwd_dest_aligned): Likewise.
23263         (_wordcopy_bwd_aligned): Likewise.
23264         (_wordcopy_bwd_dest_aligned): Likewise.
23266         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23267         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23268         Likewise.
23269         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23270         Likewise.
23271         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23273 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23275         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23276         GCC 5 requirement.
23278 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23280         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23281         test.
23282         * sysdeps/i386/configure: Regenerated.
23283         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23284         code unconditional.
23286         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23287         test.
23288         (libc_cv_asm_popsection_directive): Likewise.
23289         * configure: Regenerated.
23290         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23291         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23292         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23293         (__make_section_unallocated): Make definition unconditional.
23294         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23295         Remove conditional definition.
23296         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23297         (__make_section_unallocated): Likewise.
23299         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23300         * configure: Regenerated.
23301         * config.make.in (static-libgcc): Remove variable.
23302         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23303         $(static-libgcc).
23304         (build-module-helper): Likewise.
23306         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23307         * configure: Regenerated.
23309 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23311         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23312         (struct char_buffer): New type.
23313         (char_buffer_start, char_buffer_size, char_buffer_error)
23314         (char_buffer_rewind, char_buffer_add): New functions.
23315         (ADDW): Remove macro, replaced by the char_buffer_add function.
23316         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23317         of extend_alloca.  Make control flow more explicit.
23319 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23321         [BZ #19137]
23322         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23323         Add -fomit-frame-pointer.
23324         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23326 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23328         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23329         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23330         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23331         only if !__GNUC_PREREQ (5,0).
23332         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23333         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23334         (INTERNAL_SYSCALL_NCS): Likewise.
23335         (LOADREGS_0): New macro for GCC 5.
23336         (ASMARGS_0): Likewise.
23337         (LOADREGS_1): Likewise.
23338         (ASMARGS_1): Likewise.
23339         (LOADREGS_2): Likewise.
23340         (ASMARGS_2): Likewise.
23341         (LOADREGS_3): Likewise.
23342         (ASMARGS_3): Likewise.
23343         (LOADREGS_4): Likewise.
23344         (ASMARGS_4): Likewise.
23345         (LOADREGS_5): Likewise.
23346         (ASMARGS_5): Likewise.
23347         (LOADREGS_6): Likewise.
23348         (ASMARGS_6): Likewise.
23350 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23352         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23353         -fomit-frame-pointer.
23354         (CFLAGS-mmap64.c): Likewise.
23355         (CFLAGS-semtimedop.c): Likewise.
23356         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23357         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23358         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23359         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23361 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23363         [BZ #18928]
23364         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23365         _dl_pointer_guard member.
23366         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23367         initializer.
23368         (security_init): Always set up pointer guard.
23369         (process_envvars): Do not process LD_POINTER_GUARD.
23371 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23373         [BZ #19134]
23374         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23375         (.LC2): Likewise.
23376         (.LC3): Likewise.
23377         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23379 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23381         [BZ #19129]
23382         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23383         r0 and r1.
23385 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23387         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23389 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23391         * include/stap-probe.h: Fix macro definition formatting.
23393 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23395         [BZ #19074]
23396         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23397         load and store num_ifs.
23399 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23401         [BZ #18822]
23402         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23403         (__sched_getaffinity_new): Add libc_hidden_proto and
23404         libc_hidden_def.
23406 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23408         [BZ #19007]
23409         * scripts/localplt.awk: Also allow GOT references.
23410         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23411         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23412         with "+ REL R_386_GLOB_DAT".
23413         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23414         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23416 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23418         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23419         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23420         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23421         Likewise.
23422         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23423         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23424         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23425         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23426         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23427         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23428         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23429         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23430         Likewise.
23431         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23433 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23435         [BZ #19125]
23436         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23437         <math_private.h> and <stdint.h>.
23438         (__llround): Avoid conversions to and from long long int, and
23439         subtractions, where those might raise spurious exceptions.
23440         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23441         <math_private.h> and <stdint.h>.
23442         (__llroundf): Avoid conversions to and from long long int, and
23443         subtractions, where those might raise spurious exceptions.
23445 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23447         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23448         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23449         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23450         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23451         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23452         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23453         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23454         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23455         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23456         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23457         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23458         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23459         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23460         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23461         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23462         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23463         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23464         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23465         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23466         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23468         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23469         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23470         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23471         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23472         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23473         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23474         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23475         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23476         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23477         (__xstat64_conv): Likewise.
23478         (__xstat32_conv): Likewise.
23480 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23482         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23483         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23484         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23485         <sysdeps/unix/sysv/linux/sysdep.h>.
23486         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23487         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23488         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23489         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23490         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23491         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23492         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23493         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23494         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23499         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23500         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23502         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23503         (sysdep-dl-routines): Add sysdep.
23504         [$(subdir) == nptl] (libpthread-routines): Likewise.
23505         [$(subdir) == rt] (librt-routines): Likewise.
23506         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23507         PIC when branching to SYSCALL_ERROR_LABEL.
23508         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23509         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23510         <sysdeps/unix/sysv/linux/sysdep.h>.
23511         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23512         (SYSCALL_ERROR_ERRNO): Removed.
23513         (SYSCALL_ERROR_HANDLER): Changed to empty.
23514         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23515         (__syscall_error): New prototype.
23516         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23517         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23519 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23521         [BZ #19124]
23522         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23523         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23524         _dl_runtime_resolve_avx.
23525         (_dl_runtime_profile_avx512): Make it a hidden alias of
23526         _dl_runtime_profile_avx.
23528 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23530         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23531         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23532         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23533         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23535         [BZ #16422]
23536         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23537         New configure test.
23538         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23539         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23540         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23541         <math_private.h> and <stdint.h>.
23542         (__llrint): Avoid conversions to long long int where those might
23543         raise spurious exceptions.
23544         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23545         <math_private.h> and <stdint.h>.
23546         (__llrintf): Avoid conversions to long long int where those might
23547         raise spurious exceptions.
23549 2015-10-12  Andreas Schwab  <schwab@suse.de>
23551         [BZ #18969]
23552         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23553         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23554         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23555         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23556         $(gen-locales).
23557         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23558         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23559         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23560         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23561         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23562         $(gen-locales).
23563         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23564         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23565         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23566         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23567         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23568         ($(objpfx)tst-ftell-active-handler.out)
23569         ($(objpfx)tst-ftell-append.out)
23570         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23571         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23572         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23573         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23574         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23575         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23576         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23577         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23578         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23579         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23580         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23581         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23582         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23583         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23584         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23585         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23586         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23587         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23588         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23589         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23590         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23591         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23592         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23593         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23594         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23595         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23596         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23597         $(gen-locales).
23598         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23599         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23600         $(gen-locales).
23601         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23602         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23603         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23604         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23605         $(gen-locales).
23606         * libio/tst_wprintf2.c (main): Use explicit locale.
23607         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23609 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23611         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23612         __msg_sig_post.
23613         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23615 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23617         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23618         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23620         * sysdeps/arm/libm-test-ulps: Regenerated.
23622         [BZ #15470]
23623         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23625         [BZ #16399]
23626         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23627         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23628         and <fix-fp-int-convert-overflow.h>.
23629         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23630         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23631         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23632         and <fix-fp-int-convert-overflow.h>.
23633         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23634         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23635         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23636         <fix-fp-int-convert-overflow.h>.
23637         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23638         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23639         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23640         <fix-fp-int-convert-overflow.h>.
23641         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23642         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23643         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23644         and <fix-fp-int-convert-overflow.h>.
23645         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23646         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23647         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23648         <limits.h> and <fix-fp-int-convert-overflow.h>.
23649         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23650         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23651         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23652         and <fix-fp-int-convert-overflow.h>.
23653         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23654         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23655         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23656         and <fix-fp-int-convert-overflow.h>.
23657         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23658         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23659         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23661 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23663         [BZ #18589]
23664         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23665         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23666         $(gen-locales).
23668 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23669             Phil Blundell <pb@pbcl.net>
23671         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23672         * nptl/tst-cancel26.c: New file.
23673         * nptl/tst-cancel27.c: Likewise.
23675 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23677         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23678         __ILP32__ isn't defined.
23679         (lrint): Likewise.
23680         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23681         (lrintf): Likewise.
23682         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23683         (lrintl): Likewise.
23684         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23685         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23686         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23688 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23690         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23693         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23694         file.
23695         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23696         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23698 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23700         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23701         configure test.
23702         * sysdeps/i386/configure: Regenerated.
23703         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23704         configure test.
23705         * sysdeps/x86_64/configure: Regenerated.
23706         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23707         Make code unconditional.
23709         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23710         test.
23711         * sysdeps/i386/configure: Regenerated.
23712         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23713         test.
23714         * sysdeps/x86_64/configure: Regenerated.
23715         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23716         Make code unconditional.
23717         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23718         Likewise.
23719         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23720         Likewise.
23721         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23722         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23723         code unconditional.
23724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23725         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23726         code unconditional.
23727         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23728         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23729         code unconditional.
23730         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23731         code unconditional.
23732         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23733         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23734         code unconditional.
23735         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23736         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23737         code unconditional.
23738         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23739         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23740         code unconditional.
23741         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23742         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23743         code unconditional.
23744         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23745         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23747         [BZ #19095]
23748         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23749         mantissa to long int before shifting left.
23751 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23753         [BZ #19094]
23754         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23755         <limits.h>.
23756         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23757         when result overflows but exception would not result from cast.
23758         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23759         <limits.h>.
23760         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23761         when result overflows but exception would not result from cast.
23762         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23763         <limits.h>.
23764         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23765         when result overflows but exception would not result from cast.
23766         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23767         <limits.h>.
23768         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23769         when result overflows but exception would not result from cast.
23770         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23771         <limits.h>.
23772         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23773         when result overflows but exception would not result from cast.
23774         * math/libm-test.inc (lrint_test_data): Add more tests.
23775         (llrint_test_data): Likewise.
23777 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23779         [BZ #18872]
23780         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23781         Move out from under [$(run-built-tests) = yes] conditional.
23782         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23783         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23785 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23787         [BZ #18589]
23788         * string/Makefile (tests): Add bug-strcoll2.
23789         (LOCALES): Add cs_CZ.UTF-8.
23790         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23792         [BZ #18589]
23793         * string/bug-strcoll2.c: New file.
23794         * locale/categories.def: Revert commit
23795         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23796         * locale/langinfo.h: Likewise.
23797         * locale/localeinfo.h: Likewise.
23798         * locale/C-collate.c: Likewise.
23799         * locale/programs/ld-collate.c (collate_output): Likewise.
23800         * string/strcoll_l.c (STRDIFF): Likewise.
23801         (STRCOLL): Likewise.
23802         * wcsmbs/wcscoll_l.c: Likewise.
23804 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23806         * math/libm-test.inc (lround_test_data): Do not expect the absence
23807         of "inexact" for some tests with non-integer arguments.
23808         (llround_test_data): Likewise.
23810         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23811         test.
23812         (libc_cv_cc_sse2avx): Likewise.
23813         * sysdeps/i386/configure: Regenerated.
23814         * sysdeps/i386/i686/multiarch/Makefile
23815         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23816         [$(subdir) = math].
23817         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23818         code unconditional.
23819         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23820         Likewise.
23821         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23822         Likewise.
23823         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23824         Likewise.
23825         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23826         test.
23827         (libc_cv_cc_sse2avx): Likewise.
23828         * sysdeps/x86_64/configure: Regenerated.
23829         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23830         unconditional.
23831         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23832         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23833         unconditional.
23834         (_dl_runtime_profile)
23835         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23836         conditional code.
23837         * sysdeps/x86_64/fpu/multiarch/Makefile
23838         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23839         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23840         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23841         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23842         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23843         * sysdeps/x86_64/fpu/multiarch/e_log.c
23844         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23845         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23846         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23847         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23848         Likewise.
23849         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23850         Likewise.
23851         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23852         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23853         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23855         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23856         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23857         (HAVE_SSE2AVX_SUPPORT): Likewise.
23859 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23861         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23862         instead of #pragma optimize.
23864 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23866         [BZ #17195]
23867         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23868         as is similarly done in systrim and _int_free already.
23870 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23872         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23874 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23876         [BZ #19088]
23877         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23878         <limits.h>.
23879         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23880         overflows but exception would not result from cast.
23881         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23882         and <limits.h>.
23883         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23884         overflows but exception would not result from cast.
23885         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23886         <limits.h>.
23887         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23888         overflows but exception would not result from cast.
23889         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23890         <limits.h>.
23891         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23892         overflows but exception would not result from cast.
23893         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23894         <limits.h>.
23895         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23896         overflows but exception would not result from cast.
23897         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23898         <limits.h>.
23899         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23900         overflows but exception would not result from cast.
23901         * math/libm-test.inc (lround_test_data): Add more tests.
23902         (llround_test_data): Likewise.
23904 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23906         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23907         (CFLAGS-ialloc.c): Ditto.
23908         (CFLAGS-scheck.c): Ditto.
23910 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23912         [BZ #19086]
23913         * manual/filesys.texi (Storage Allocation): Fix argument order for
23914         posix_fallocate64.
23916 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23918         [BZ #19085]
23919         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23920         exponent below 48 inside case for non-overflowing exponent.
23921         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23923 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23925         * iconvdata/cp737.h (from_idx): Add const.
23926         * iconvdata/cp775.h (from_idx): Likewise.
23928 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23930         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23931         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23932         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23934         [BZ #19079]
23935         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23936         file, conditioned on [!_LP64].
23937         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23938         [!_LP64] (__lround): Do not define as function or alias.
23939         [!_LP64] (lround): Likewise.
23940         [!_LP64] (__lroundl): Likewise.
23941         [!_LP64] (lroundl): Likewise.
23942         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23943         macro.
23944         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23945         Likewise.
23947 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23949         * math/libm-test.inc (lrint_test_data): Add more tests.
23950         (llrint_test_data): Likewise.
23951         (lround_test_data): Likewise.
23952         (llround_test_data): Likewise.
23954         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23955         (llrint_test_data): Add tests used for lrint.
23957         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23958         test.
23959         * sysdeps/i386/configure: Regenerated.
23960         * sysdeps/i386/i686/multiarch/Makefile
23961         [$(config-cflags-sse4) = yes]: Make code unconditional.
23962         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23963         Likewise.
23964         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23965         Likewise.
23966         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23967         test.
23968         * sysdeps/x86_64/configure: Regenerated.
23969         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23970         Make code unconditional.
23971         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23972         Likewise.
23973         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23974         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23976         * scripts/rpm2dynsym.sh: Remove file.
23978 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23980         * configure.ac (libc_cv_cxx_thread_local): Define.
23981         * configure: Regenerate.
23982         * config.make.in (have-cxx-thread_local): Define.
23983         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23984         (LDLIBS-tst-thread_local1): Define.
23985         (tests): Add tst-thread_local1.
23986         [have-cxx-thread_local != yes] (tests-unsupported): Add
23987         tst-thread_local1.
23988         * nptl/tst-thread_local1.cc: New file.
23990 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #19078]
23993         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23994         (u_thres): Likewise.
23995         (__expl): Determine whether to call __kernel_standard_l based on
23996         value of result, not argument.
23998         * math/libm-test.inc (scalb_test_data): Add more expectations for
23999         the "inexact" exception.
24001         [BZ #19077]
24002         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24003         0.0L for argument 1.0L.
24005         [BZ #19076]
24006         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24007         constant 0.0L when computing infinite result.
24009 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24011         [BZ #10432]
24012         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24013         malloc_usable_size.
24015 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24017         [BZ #19018]
24018         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24019         Mangle function pointer before storing it.
24020         (__call_tls_dtors): Demangle function pointer before calling it.
24022 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24024         [BZ #19012]
24025         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24026         Clean up on failure.
24028 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24030         [BZ #19071]
24031         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24032         long int variable to store possibly incremented high part of
24033         mantissa.
24034         * math/libm-test.inc (lround_test_data): Add tests used for
24035         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24036         for tests requiring 64-bit long.  Do not condition tests on
24037         [TEST_FLOAT] unnecessarily.
24038         (llround_test_data): Add tests used for lround.  Add another
24039         expectation for the "inexact" exception.  Do not condition tests
24040         on [TEST_FLOAT] unnecessarily.
24042         [BZ #887]
24043         [BZ #19049]
24044         [BZ #19050]
24045         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24046         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24047         <fix-int-fp-convert-zero.h>.
24048         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24049         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24050         <fix-int-fp-convert-zero.h>.
24051         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24052         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24053         <fix-int-fp-convert-zero.h>.
24054         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24055         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24056         <fix-int-fp-convert-zero.h>.
24057         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24058         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24059         <fix-int-fp-convert-zero.h>.
24060         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24061         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24062         <fix-int-fp-convert-zero.h>.
24063         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24064         * sysdeps/ieee754/flt-32/s_erff.c: Include
24065         <fix-int-fp-convert-zero.h>.
24066         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24067         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24068         <fix-int-fp-convert-zero.h>.
24069         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24071         <fix-int-fp-convert-zero.h>.
24072         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24074         <fix-int-fp-convert-zero.h>.
24075         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24076         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24077         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24078         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24079         file.
24080         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24082 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24086 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24088         [BZ #19059]
24089         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24090         overflowing computation.
24091         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24092         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24094         Likewise.
24095         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24096         Likewise.
24097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24098         Likewise.
24099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24100         Likewise.
24101         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24102         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24103         Likewise.
24104         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24105         Likewise.
24106         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24108         * nss/rewrite_field.c (__nss_rewrite_field): Use
24109         internal_function.
24110         * nss/valid_field.c (__nss_valid_field): Likewise.
24111         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24113 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24115         [BZ #18724]
24116         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24117         (__nss_invalid_field_characters, __nss_valid_field)
24118         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24119         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24120         tst-field.c: New file.
24121         * nss/Makefile (routines): Add valid_field, rewrite_field.
24122         (tests-static): Define unconditionally.
24123         (tests): Include tests-static.
24124         [build-static-nss] (tests-static): Use append.
24125         [build-static-nss] (tests): Remove modification.
24126         * nss/getent.c (print_group): Call putgrent.  Report error.
24127         (print_gshadow): Call putsgent.  Report error.
24128         (print_passwd): Call putpwent.  Report error.
24129         (print_shadow): Call putspent.  Report error.
24130         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24131         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24132         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24133         name, password, directory, shell fields for valid syntax.  Rewrite
24134         GECOS field to match syntax.
24135         * pwd/Makefile (tests): Add tst-putpwent.
24136         * pwd/tst-putpwent.c: New file.
24137         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24138         Check grName, grpasswd, gr_mem fields for valid syntax.
24139         Change loop variable i to size_t.
24140         * grp/Makefile (tests): Add tst-putgrent.
24141         * grp/tst-putgrent.c: New file.
24142         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24143         valid syntax.
24144         * shadow/Makefile (tests): Add tst-putspent.
24145         * shadow/tst-putspent.c: New file.
24146         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24147         sg_mem fields for valid syntax.
24148         * gshadow/Makefile (tests): Add tst-putsgent.
24149         * gshadow/tst-putsgent.c: New file.
24151 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24153         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24154         assembly instructions.
24156 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24158         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24159         prefix from operands.
24161 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24163         [BZ #16347]
24164         [BZ #19046]
24165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24166         <libc-internal.h>.
24167         (MAXLGM): Do not use diagnostic control macros.
24168         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24169         threshold for ldbl-128ibm.
24170         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24171         instead of multiplying by log then subtracting.
24172         * math/auto-libm-test-in: Add more tests of lgamma.
24173         * math/auto-libm-test-out: Regenerated.
24175         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24176         (TYPE_HEX_DIG): Likewise.
24177         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24178         precisions when printing floating-point numbers.
24179         (check_float_internal): Likewise.
24181 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24183         [BZ #16620]
24184         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24185         of log (10) rounded downward to 48 bits.
24186         (log10_low): Use corresponding low part of log (10).
24188         [BZ #19032]
24189         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24190         compute result as (x - x) / (x - x) not as 0 / 0.
24191         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24192         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24194         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24195         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24196         and expm1.
24197         * math/auto-libm-test-out: Regenerated.
24198         * math/libm-test.inc (acos_test_data): Add more tests.
24199         (asin_test_data): Likewise.
24200         (asinh_test_data): Likewise.
24201         (atan_test_data): Likewise.
24202         (atanh_test_data): Likewise.
24203         (atan2_test_data): Likewise.
24204         (cbrt_test_data): Likewise.
24205         (ceil_test_data): Likewise.
24206         (copysign_test_data): Likewise.
24207         (cos_test_data): Likewise.
24208         (cosh_test_data): Likewise.
24209         (erf_test_data): Likewise.
24210         (erfc_test_data): Likewise.
24211         (exp_test_data): Likewise.
24212         (exp10_test_data): Likewise.
24213         (exp2_test_data): Likewise.
24214         (expm1_test_data): Likewise.
24215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24217 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24219         [BZ #19006]
24220         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24221         to ...
24222         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24223         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24224         to ...
24225         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24226         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24227         to ...
24228         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24229         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24230         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24231         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24232         to ...
24233         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24234         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24235         Moved to ...
24236         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24237         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24238         Moved to ...
24239         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24240         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24241         to ...
24242         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24243         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24244         Moved to ...
24245         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24246         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24247         to ...
24248         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24249         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24250         Removed.
24251         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24252         Likewise.
24253         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24254         Likewise.
24255         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24256         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24257         Likewise.
24258         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24259         Likewise.
24260         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24261         Likewise.
24262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24263         Likewise.
24264         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24265         Likewise.
24266         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24267         Likewise.
24268         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24269         Likewise.
24270         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24271         Likewise.
24272         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24273         Likewise.
24274         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24275         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24276         Likewise.
24277         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24278         Likewise.
24279         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24280         Likewise.
24281         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24282         Likewise.
24283         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24284         Likewise.
24285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24286         Replace ../i486/pthread_cond_timedwait.S with
24287         ../pthread_cond_timedwait.S.
24289 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24291         * math/libm-test.inc (acos_test_data): Refine expectations for
24292         errno and "inexact" exceptions.
24293         (acosh_test_data): Likewise.
24294         (asin_test_data): Likewise.
24295         (asinh_test_data): Likewise.
24296         (atan_test_data): Likewise.
24297         (atanh_test_data): Likewise.
24298         (atan2_test_data): Likewise.
24299         (cbrt_test_data): Likewise.
24300         (ceil_test_data): Likewise.
24301         (copysign_test_data): Likewise.
24302         (cosh_test_data): Likewise.
24303         (erf_test_data): Likewise.
24304         (erfc_test_data): Likewise.
24305         (exp_test_data): Likewise.
24306         (exp10_test_data): Likewise.
24307         (exp2_test_data): Likewise.
24308         (expm1_test_data): Likewise.
24309         (fabs_test_data): Likewise.
24310         (floor_test_data): Likewise.
24311         (fma_test_data): Likewise.
24312         (fmax_test_data): Likewise.
24313         (fmin_test_data): Likewise.
24314         (fmod_test_data): Likewise.
24315         (fpclassify_test_data): Likewise.
24316         (frexp_test_data): Likewise.
24317         (hypot_test_data): Likewise.
24318         (ilogb_test_data): Likewise.
24319         (isgreater_test_data): Likewise.
24320         (isgreaterequal_test_data): Likewise.
24321         (isinf_test_data): Likewise.
24322         (isless_test_data): Likewise.
24323         (islessequal_test_data): Likewise.
24324         (islessgreater_test_data): Likewise.
24325         (isnan_test_data): Likewise.
24326         (isnormal_test_data): Likewise.
24327         (issignaling_test_data): Likewise.
24328         (isunordered_test_data): Likewise.
24329         (j0_test_data): Likewise.
24330         (j1_test_data): Likewise.
24331         (jn_test_data): Likewise.
24332         (lgamma_test_data): Likewise.
24333         (lrint_test_data): Likewise.
24334         (llrint_test_data): Likewise.
24335         (log_test_data): Likewise.
24336         (log10_test_data): Likewise.
24337         (log1p_test_data): Likewise.
24338         (log2_test_data): Likewise.
24339         (logb_test_data): Likewise.
24340         (lround_test_data): Likewise.
24341         (llround_test_data): Likewise.
24342         (modf_test_data): Likewise.
24343         (nearbyint_test_data): Likewise.
24344         (nextafter_test_data): Likewise.
24345         (nexttoward_test_data): Likewise.
24346         (pow_test_data): Likewise.
24347         (remainder_test_data): Likewise.
24348         (remquo_test_data): Likewise.
24349         (rint_test_data): Likewise.
24350         (round_test_data): Likewise.
24351         (signbit_test_data): Likewise.
24352         (sinh_test_data): Likewise.
24353         (sqrt_test_data): Likewise.
24354         (tanh_test_data): Likewise.
24355         (tgamma_test_data): Likewise.
24356         (trunc_test_data): Likewise.
24357         (y0_test_data): Likewise.
24358         (y1_test_data): Likewise.
24359         (yn_test_data): Likewise.
24360         (significand_test_data): Likewise.
24362 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24364         * manual/filesys.texi (Storage Allocation): Document that
24365         posix_fallocate emulation fails when fd is open with O_WRONLY.
24367 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24369         [BZ #19016]
24370         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24371         allow more cases with X^2 + Y^2 >= 0.5.
24372         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24373         normal element in sum instead of special-casing based on values of
24374         arguments.
24375         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24376         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24377         -1 as normal element in sum instead of special-casing based on
24378         values of arguments.
24379         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24380         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24381         (__x2y2m1): Update comment.
24382         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24383         as normal element in sum instead of special-casing based on values
24384         of arguments.
24385         * math/s_clog.c (__clog): Handle more cases using log1p without
24386         hypot.
24387         * math/s_clog10.c (__clog10): Likewise.
24388         * math/s_clog10f.c (__clog10f): Likewise.
24389         * math/s_clog10l.c (__clog10l): Likewise.
24390         * math/s_clogf.c (__clogf): Likewise.
24391         * math/s_clogl.c (__clogl): Likewise.
24392         * math/auto-libm-test-in: Add more tests of clog and clog10.
24393         * math/auto-libm-test-out: Regenerated.
24394         * sysdeps/i386/fpu/libm-test-ulps: Update.
24395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24397 2015-09-28  Martin Sebor  <msebor@redhat.com>
24399         [BZ #18969]
24400         * string/Makefile (LOCALES): Define.
24401         (gen-locales.mk): Include.
24402         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24403         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24404         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24405         on setlocale failure.
24407 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24409         [BZ #18985]
24410         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24411         (__strftime_internal): Likewise.
24412         * time/tst-strftime.c (do_bz18985): New test.
24413         (do_test): Call it.
24415 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24417         [BZ #18956]
24418         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24419         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24420         extracting high part.
24421         * math/auto-libm-test-in: Add another test of pow.
24422         * math/auto-libm-test-out: Regenerated.
24423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24425 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24427         [BZ #18825]
24428         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24429         New macro.
24430         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24431         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24432         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24433         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24434         DBL_NARROW_EVAL, reloading the PIC register as needed.
24435         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24436         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24437         FLT_NARROW_EVAL.  Use separate return path for case when first
24438         argument is NaN.
24439         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24440         DEFINE_LDBL_MIN.
24441         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24442         PIC register.
24443         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24444         math_check_force_underflow_nonneg.
24445         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24446         underflow for subnormal result.
24447         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24448         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24449         math_check_force_underflow_nonneg.
24450         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24451         math_check_force_underflow.
24452         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24453         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24454         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24455         DEFINE_LDBL_MIN.
24456         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24457         * math/auto-libm-test-in: Add more tests of pow.
24458         * math/auto-libm-test-out: Regenerated.
24460 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24462         * nss/bug17079.c (init_test_items): Add diagnostic for
24463         inconsistent entries.
24464         (test_buffer_size): Skip inconsistent entries.
24466 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24468         [BZ #13304]
24469         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24470         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24471         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24473         [BZ #13304]
24474         * sysdeps/microblaze/s_fma.c: New file.
24475         * sysdeps/microblaze/s_fmaf.c: Likewise.
24476         * sysdeps/microblaze/sfp-machine.h: Likewise.
24478 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24480         [BZ #17250]
24481         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24482         member.
24484 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24486         [BZ #18803]
24487         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24488         (MO): New macro.
24489         (__ieee754_hypot) [PIC]: Load PIC register.
24490         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24491         DBL_NARROW_EVAL.
24492         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24493         math_check_force_underflow_nonneg in case where result might be
24494         tiny.
24495         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24496         Likewise.
24497         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24498         Likewise.
24499         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24500         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24501         * math/auto-libm-test-in: Add more tests of hypot.
24502         * math/auto-libm-test-out: Regenerated.
24504 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24506         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24508 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24510         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24511         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24512         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24513         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24514         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24515         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24516         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24518         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24519         LOAD_PIC_REG.
24521         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24522         (FLT_CHECK_FORCE_UFLOW): Likewise.
24523         (DBL_CHECK_FORCE_UFLOW): Likewise.
24524         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24525         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24526         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24527         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24528         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24529         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24530         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24531         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24532         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24533         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24534         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24535         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24536         (flt_min): Replace with use of DEFINE_FLT_MIN.
24537         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24538         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24539         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24540         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24541         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24542         (flt_min): Replace with use of DEFINE_FLT_MIN.
24543         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24544         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24545         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24546         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24547         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24548         (flt_min): Replace with use of DEFINE_FLT_MIN.
24549         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24550         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24551         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24552         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24553         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24554         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24555         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24556         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24557         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24558         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24559         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24560         (flt_min): Replace with use of DEFINE_FLT_MIN.
24561         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24562         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24564         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24565         main computation.
24566         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24567         (flt_min): Replace with use of DEFINE_FLT_MIN.
24568         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24569         main computation.
24570         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24571         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24572         (MO): New macro.
24573         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24574         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24575         (flt_min): Replace with use of DEFINE_FLT_MIN.
24576         (MO): New macro.
24577         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24578         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24579         (__log1pl): Use MO.
24581         [BZ #19003]
24582         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24583         $(config-cflags-nofma).
24585 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24587         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24589 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24591         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24592         (TWO127): Likewise.
24594         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24595         (min_of_type): Likewise.
24596         (math_check_force_underflow): Likewise.
24597         (math_check_force_underflow_nonneg): Likewise.
24598         (math_check_force_underflow_complex): Likewise.
24599         * math/e_exp2l.c (__ieee754_exp2l): Use
24600         math_check_force_underflow_nonneg.
24601         * math/k_casinh.c (__kernel_casinh): Likewise.
24602         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24603         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24604         * math/s_catan.c (__catan): Use
24605         math_check_force_underflow_complex.
24606         * math/s_catanf.c (__catanf): Likewise.
24607         * math/s_catanh.c (__catanh): Likewise.
24608         * math/s_catanhf.c (__catanhf): Likewise.
24609         * math/s_catanhl.c (__catanhl): Likewise.
24610         * math/s_catanl.c (__catanl): Likewise.
24611         * math/s_ccosh.c (__ccosh): Likewise.
24612         * math/s_ccoshf.c (__ccoshf): Likewise.
24613         * math/s_ccoshl.c (__ccoshl): Likewise.
24614         * math/s_cexp.c (__cexp): Likewise.
24615         * math/s_cexpf.c (__cexpf): Likewise.
24616         * math/s_cexpl.c (__cexpl): Likewise.
24617         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24618         * math/s_clog10.c (__clog10): Likewise.
24619         * math/s_clog10f.c (__clog10f): Likewise.
24620         * math/s_clog10l.c (__clog10l): Likewise.
24621         * math/s_clogf.c (__clogf): Likewise.
24622         * math/s_clogl.c (__clogl): Likewise.
24623         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24624         * math/s_csinf.c (__csinf): Likewise.
24625         * math/s_csinh.c (__csinh): Likewise.
24626         * math/s_csinhf.c (__csinhf): Likewise.
24627         * math/s_csinhl.c (__csinhl): Likewise.
24628         * math/s_csinl.c (__csinl): Likewise.
24629         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24630         * math/s_csqrtf.c (__csqrtf): Likewise.
24631         * math/s_csqrtl.c (__csqrtl): Likewise.
24632         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24633         * math/s_ctanf.c (__ctanf): Likewise.
24634         * math/s_ctanh.c (__ctanh): Likewise.
24635         * math/s_ctanhf.c (__ctanhf): Likewise.
24636         * math/s_ctanhl.c (__ctanhl): Likewise.
24637         * math/s_ctanl.c (__ctanl): Likewise.
24638         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24639         instead of volatile.
24640         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24641         math_check_force_underflow.
24642         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24643         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24644         volatile when forcing underflow.
24645         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24646         math_check_force_underflow_nonneg.
24647         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24648         Likewise.
24649         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24650         math_check_force_underflow.
24651         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24652         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24653         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24654         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24655         math_check_force_underflow_nonneg.
24656         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24657         math_check_force_underflow.
24658         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24660         instead of volatile.
24661         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24662         math_check_force_underflow.
24663         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24664         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24665         math_check_force_underflow_nonneg.
24666         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24667         math_check_force_underflow.
24668         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24669         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24670         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24671         math_check_force_underflow_nonneg.
24672         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24673         Likewise.
24674         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24675         math_check_force_underflow.
24676         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24677         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24678         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24679         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24680         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24681         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24682         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24683         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24684         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24685         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24686         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24687         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24688         Likewise.
24689         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24690         math_check_force_underflow_nonneg.
24691         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24692         Likewise.
24693         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24694         math_check_force_underflow.
24695         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24696         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24697         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24698         Likewise.
24699         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24700         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24701         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24702         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24703         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24704         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24705         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24706         instead of volatile.
24707         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24708         math_check_force_underflow.
24709         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24710         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24711         math_check_force_underflow.
24712         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24713         Likewise.
24714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24715         Use math_check_force_underflow_nonneg.
24716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24717         math_check_force_underflow.
24718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24719         Likewise.
24720         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24721         Likewise.
24722         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24723         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24724         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24725         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24727         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24728         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24729         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24730         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24731         math_check_force_underflow_nonneg.
24732         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24733         math_check_force_underflow.
24734         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24735         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24736         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24737         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24738         math_check_force_underflow_nonneg.
24739         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24740         math_check_force_underflow.
24741         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24742         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24743         instead of volatile.
24744         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24745         math_check_force_underflow.
24747         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24748         * stdlib/strtod_l.c: Include <math_private.h>.
24749         (overflow_value): Use math_narrow_eval.
24750         (underflow_value): Likewise.
24751         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24752         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24753         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24754         (__ieee754_gamma_r): Likewise.
24755         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24756         Likewise.
24757         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24758         Likewise.
24759         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24760         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24761         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24762         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24763         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24764         (__ieee754_gammaf_r): Likewise.
24765         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24766         Likewise.
24767         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24768         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24769         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24770         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24771         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24772         volatile.
24773         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24775         math_narrow_eval.
24776         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24777         Likewise.
24778         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24779         Likewise.
24780         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24781         Likewise.
24782         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24783         volatile.
24784         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24786         math_narrow_eval.
24787         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24788         Likewise.
24789         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24790         Likewise.
24792 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24794         * nptl/Versions: Remove ignored symbols.
24796 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24798         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24799         * nss/Makefile (tests): Update.
24801 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24803         * nss/bug18287.c: New file.
24804         * nss/Makefile (tests): Add bug18287.
24806 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24808         * mach/Versions (__mach_host_self_): Add symbol.
24810 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24812         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24813         vm_page_size.
24815 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24817         Really fix sysdeps/i386/fpu/s_scalbn.S build
24819         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24820         (libc: GLIBC_2_22): Remove unused version set.
24822 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24824         * config.make.in (enable-timezone-tools): New variable.
24825         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24826         (enable_timezone_tools): Export to generated files.
24827         * configure: Regenerate.
24828         * INSTALL: Regenerate.
24829         * manual/install.texi (--disable-timezone-tools): Document new flag.
24830         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24831         ifeq ($(enable-timezone-tools),yes) check.
24833 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24835         * timezone/Makefile: Revert previous change.
24837         [BZ #18980]
24838         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24839         (DEFINE_DBL_MIN): Likewise.
24840         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24841         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24842         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24843         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24844         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24845         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24846         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24847         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24848         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24849         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24850         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24851         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24852         (flt_min): Replace with use of DEFINE_FLT_MIN.
24853         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24854         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24855         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24856         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24857         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24858         (flt_min): Replace with use of DEFINE_FLT_MIN.
24859         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24860         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24861         (flt_min): Replace with use of DEFINE_FLT_MIN.
24862         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24863         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24864         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24865         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24866         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24867         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24868         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24869         (__ieee754_pow): Use DBL_NARROW_EVAL.
24870         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24871         (__ieee754_powf): Use FLT_NARROW_EVAL.
24872         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24873         (__ieee754_expf_sse2): Convert double-precision result to single
24874         precision.
24875         * sysdeps/i386/fpu/libm-test-ulps: Update.
24877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24879         * timezone/Makefile: Ignore unused variable errors due to private.h
24880         (time_t_min) and (time_t_max).
24881         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24882         Likewise.
24884 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24886         [BZ #18981]
24887         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24888         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24889         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24890         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24891         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24892         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24893         (__scalbn): Use DBL_NARROW_EVAL.
24894         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24895         (__scalbnf): Use FLT_NARROW_EVAL.
24897 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24899         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24900         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24901         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24902         * stdio-common/printf_fp.c (___printf_fp):
24903         Use signbit to get the sign. Use isinf macro to allow inlining.
24904         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24905         * stdio-common/printf_size.c (__printf_size): Likewise.
24907 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24909         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24911 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24913         [BZ #18980]
24914         * sysdeps/generic/math_private.h: Include <float.h>.
24915         (math_narrow_eval): New macro.
24916         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24917         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24918         math_narrow_eval on overflowing return value.
24919         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24920         Likewise.
24921         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24922         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24923         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24924         Likewise.
24925         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24927 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24929         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24930         * math/Makefile: Remove isinf_ns.c.
24931         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24932         * math/multc3.c (__multc3): Likewise.
24933         * math/s_casin.c (__casin): Likewise.
24934         * math/s_casinf.c (__casinf): Likewise.
24935         * math/s_casinl.c (__casinl): Likewise.
24936         * math/s_cproj.c (__cproj): Likewise.
24937         * math/s_cprojf.c (__cprojf): Likewise.
24938         * math/s_cprojl.c (__cprofl): Likewise.
24939         * math/s_ctan.c (__ctan): Likewise.
24940         * math/s_ctanf.c (__ctanf): Likewise.
24941         * math/s_ctanh.c (__ctanh): Likewise.
24942         * math/s_ctanhf.c (__ctanhf): Likewise.
24943         * math/s_ctanhl.c (__ctanhl): Likewise.
24944         * math/s_ctanl.c (__ctanl): Likewise.
24945         * math/w_fmod.c (__fmod): Likewise.
24946         * math/w_fmodf.c (__fmodf): Likewise.
24947         * math/w_fmodl.c (_fmodl): Likewise.
24948         * math/w_remainder.c (__remainder): Likewise.
24949         * math/w_remainderf.c (__remainderf): Likewise.
24950         * math/w_remainderl.c (__remainderl): Likewise.
24951         * math/w_scalb.c (__scalb): Likewise.
24952         * math/w_scalbf.c (__scalbf): Likewise.
24953         * math/w_scalbl.c (__scalbl): Likewise.
24954         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24955         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24956         with isinf.
24957         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24958         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24959         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24960         __isinf_nsf with isinf.
24961         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24962         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24963         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24964         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24965         with isinf.
24966         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24967         __isinf_nsl with isinf.
24968         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24969         with isinf.
24970         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24971         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24972         __isinf_nsl with isinf.
24973         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24974         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24975         with isinf.
24977 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24979         * resolv/base64.c (rcsid): Remove unused static.
24980         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24981         static.  (tqpi1): Likewise.
24982         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24983         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24984         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24985         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24986         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24987         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24988         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24989         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24990         Likewise.
24992 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24994         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24995         <nptl/pthreadP.h>.
24996         (_longjmp_unwind): Use __libc_ptf_call.
24997         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24999 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25001         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25002         * sysdeps/arm/__longjmp.S: Likewise.
25004 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25006         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25007         Use __builtin_signbit.
25008         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25009         Use __builtin_signbitf.
25010         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25011         Use __builtin_signbitl.
25012         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25013         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25015 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25017         [BZ #15367]
25018         [BZ #17441]
25020         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25021         * math/math.h (fpclassify): Use __builtin_fpclassify when
25022         available.  (signbit): Use __builtin_signbit(f/l).
25023         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25024         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25025         (isinf): Use __builtin_isinf_sign.
25027 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25029         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25030         * benchtests/bench-math-inlines.c: New benchmark.
25031         * benchtests/bench-util.h: New file.
25032         * benchtests/bench-util.c: New file.
25033         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25035 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25037         * elf/tst-dlmopen1.c: Define TEST_SO.
25038         (do_test): Use TEST_SO.
25040         * elf/dl-load.c: Include libc-internal.h.
25041         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25043 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25045         [BZ #17887]
25046         * time/strptime_l.c (__strptime_internal): Make %z accept
25047         [+-]HH:MM time zones.
25049 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25051         [BZ #17886]
25052         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25053         valid time zone.
25055 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25057         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25058         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25060         (__ASSUME_FDATASYNC): Delete.
25062 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25064         * conform/linknamespace.pl: Require weak undefined symbols to be
25065         in the standard namespace.
25066         (%strong_syms): Rename to %seen_syms.
25067         (%strong_seen): Rename to %seen_where.
25069 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25071         [BZ #18970]
25072         * misc/error.c (error): Replace pthread_setcancelstate with
25073         __pthread_setcancelstate.
25074         (error_at_line): Likewise.
25075         * posix/wordexp.c (parse_comm): Likewise.
25076         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25077         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25078         (__pthread_setcancelstate): This.
25079         (pthread_setcancelstate): Add an alias.
25080         * nptl/nptl-init.c (pthread_functions): Replace
25081         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25082         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25083         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25084         hidden_proto.
25085         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25086         it with hidden_def.
25087         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25088         (pthread_setcancelstate): Renamed to ...
25089         (__pthread_setcancelstate): This.
25090         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25091         __libc_ptf_call with __pthread_setcancelstate.
25093 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25094             Andreas Schwab  <schwab@suse.de>
25096         [BZ #17118]
25097         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25098         result when imaginary part of argument is infinite using sine and
25099         cosine.
25100         * math/s_ctanf.c (__ctanf): Likewise.
25101         * math/s_ctanl.c (__ctanl): Likewise.
25102         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25103         of result when real part of argument is infinite using sine and
25104         cosine.
25105         * math/s_ctanhf.c (__ctanhf): Likewise.
25106         * math/s_ctanhl.c (__ctanhl): Likewise.
25107         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25108         (ctanh_test_data): Add more tests of ctanh.
25110 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25112         [BZ #15384]
25113         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25114         bit-mask as in subtraction.
25115         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25116         Likewise.
25117         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25118         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25119         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25121         [BZ #18951]
25122         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25123         underflow exception for small results.
25124         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25125         Likewise.
25126         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25127         Likewise.
25128         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25129         Likewise.
25130         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25131         Likewise.
25132         * math/auto-libm-test-in: Add more tests of tgamma.
25133         * math/auto-libm-test-out: Regenerated.
25135 2015-09-17  Andreas Schwab  <schwab@suse.de>
25137         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25139 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25141         [BZ #18977]
25142         * math/bits/mathcalls.h
25143         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25144         not declare.
25145         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25146         Likewise.
25147         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25148         Likewise.
25149         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25150         Likewise.
25151         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25152         Likewise.
25153         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25154         Likewise.
25155         * conform/data/math.h-data
25156         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25157         function.
25158         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25159         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25160         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25161         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25162         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25163         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25164         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25165         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25166         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25167         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25168         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25170         [BZ #6803]
25171         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25172         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25173         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25174         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25175         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25176         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25177         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25178         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25179         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25180         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25181         Likewise.
25182         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25183         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25184         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25185         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25186         long_double_symbol calls.
25187         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25188         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25189         strong alias of __ldexpl.
25190         (scalbnl): Define using long_double_symbol.
25191         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25192         Remove alias.
25193         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25194         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25195         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25196         (scalbln_test_data): Add more errno expectations.
25198 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25200         Cache the host port like we cache the task port.  This way we do not
25201         need to call the kernel just to get the port.  Furthermore, we no
25202         longer increase the reference count on every invocation of
25203         `mach_host_self'.
25205         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25206         Protect declarations against the macro expansion.
25207         * mach/mach_init.c (__mach_host_self_): New variable.
25208         (mach_init): Initialize `__mach_host_self_'.
25209         * mach/mach_init.h (__mach_host_self_): New declaration.
25210         (__mach_host_self, mach_host_self): New macros.
25211         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25212         Release reference.
25214 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25216         [BZ #4404]
25217         * po/de.po: Update from Translation Project.
25219         [BZ #16415]
25220         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25221         (__expm1l): Remove code to handle positive infinity and overflow.
25222         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25223         variable.
25224         (__expm1l): Remove code to handle positive infinity and overflow.
25226 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25227             Paul Pluzhnikov  <ppluzhnikov@google.com>
25229         [BZ #18872]
25230         * stdio-common/Makefile (tst-printf-bz18872): New test.
25231         (tst-printf-bz18872-mem.out): Likewise.
25232         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25233         * stdio-common/vfprintf.c: Fix memory leaks.
25235 2015-09-16  Andreas Schwab  <schwab@suse.de>
25237         [BZ #17244]
25238         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25239         Remove extra va_start/va_end calls.
25241         [BZ #17243]
25242         * posix/execl.c (execl): Add missing va_end.
25243         * posix/execle.c (execle): Likewise.
25244         * posix/execlp.c (execlp): Likewise.
25246 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25248         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25249         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25251 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25253         [BZ #18967]
25254         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25255         undefine around includes of <bits/mathcalls.h>.
25256         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25257         not declare function.
25258         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25259         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25260         (scalb): Likewise.
25261         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25262         not define macro.
25263         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25264         variable.
25265         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25266         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25267         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25269         [BZ #18857]
25270         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25271         return non-finite argument without doing ordered comparisons on
25272         it.
25274         [BZ #16296]
25275         * math/fenv.h (fegetround): Use __attribute_pure__.
25276         * include/fenv.h (__fegetround): Likewise.
25278         [BZ #18595]
25279         * math/s_ctan.c (__ctan): Force underflow exception for results
25280         whose real or imaginary part has small absolute value.
25281         * math/s_ctanf.c (__ctanf): Likewise.
25282         * math/s_ctanh.c (__ctanh): Likewise.
25283         * math/s_ctanhf.c (__ctanhf): Likewise.
25284         * math/s_ctanhl.c (__ctanhl): Likewise.
25285         * math/s_ctanl.c (__ctanl): Likewise.
25286         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25287         and ctanh.  Add more tests of ctan and ctanh.
25289         [BZ #15918]
25290         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25291         handling of cases where one argument is an infinity.
25293         [BZ #18875]
25294         [BZ #18966]
25295         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25296         (MO): New macro.
25297         (__ieee754_exp10): For small results, force underflow exception
25298         and remove excess range and precision from return value.
25299         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25300         (MO): New macro.
25301         (__ieee754_exp10f): For small results, force underflow exception
25302         and remove excess range and precision from return value.
25303         * math/auto-libm-test-in: Add more tests of exp10.
25304         * math/auto-libm-test-out: Regenerated.
25306 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25308         [BZ #18875]
25309         [BZ #18961]
25310         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25311         (MO): New macro.
25312         (__ieee754_exp): For small results, force underflow exception and
25313         remove excess range and precision from return value.
25314         (__exp_finite): Likewise.
25315         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25316         (MO): New macro.
25317         (__ieee754_expf): For small results, force underflow exception and
25318         remove excess range and precision from return value.
25319         (__expf_finite): Likewise.
25320         * math/auto-libm-test-in: Add more tests of exp.
25321         * math/auto-libm-test-out: Regenerated.
25323         [BZ #16521]
25324         [BZ #18875]
25325         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25326         small results.
25327         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25328         (MO): New macro.
25329         (__ieee754_exp2): For small results, force underflow exception and
25330         remove excess range and precision from return value.
25331         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25332         (MO): New macro.
25333         (__ieee754_exp2f): For small results, force underflow exception
25334         and remove excess range and precision from return value.
25335         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25336         (MO): New macro.
25337         (__ieee754_exp2l): Force underflow exception for small results.
25338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25339         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25340         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25341         (MO): New macro.
25342         (__ieee754_exp2l): Force underflow exception for small results.
25343         * math/auto-libm-test-in: Add more tests or exp2.
25344         * math/auto-libm-test-out: Regenerated.
25346 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25348         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25350         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25351         /dev/null.
25353 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25355         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25356         io fs process)): Drop spurious backslash.
25358 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25361         Use sysinfo system call instead of parsing /proc/meminfo.
25362         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25363         Likewise.
25365 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25367         [BZ #16985]
25368         * programs/localedef.c (main): Display argv[remaining] when
25369         output_path is NULL.
25371 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25373         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25374         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25375         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25376         tanh.
25377         * math/auto-libm-test-out: Regenerated.
25378         * sysdeps/i386/fpu/libm-test-ulps: Update.
25379         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25380         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25383 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25385         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25386         Use 'override' keyword to freeze the value here, preventing
25387         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25389 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25391         [BZ #14912]
25392         * sysdeps/aarch64/bits/atomic.h: Move to ...
25393         * sysdeps/aarch64/atomic-machine.h: ...here.
25394         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25395         _AARCH64_ATOMIC_MACHINE_H.
25396         * sysdeps/alpha/bits/atomic.h: Move to ...
25397         * sysdeps/alpha/atomic-machine.h: ...here.
25398         * sysdeps/arm/bits/atomic.h: Move to ...
25399         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25400         * bits/atomic.h: Move to ...
25401         * sysdeps/generic/atomic-machine.h: ...here.
25402         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25403         * sysdeps/i386/bits/atomic.h: Move to ...
25404         * sysdeps/i386/atomic-machine.h: ...here.
25405         * sysdeps/ia64/bits/atomic.h: Move to ...
25406         * sysdeps/ia64/atomic-machine.h: ...here.
25407         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25408         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25409         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25410         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25411         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25412         * sysdeps/microblaze/bits/atomic.h: Move to ...
25413         * sysdeps/microblaze/atomic-machine.h: ...here.
25414         * sysdeps/mips/bits/atomic.h: Move to ...
25415         * sysdeps/mips/atomic-machine.h: ...here.
25416         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25417         * sysdeps/powerpc/bits/atomic.h: Move to ...
25418         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25419         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25420         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25421         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25422         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25423         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25424         <atomic-machine.h> instead of <bits/atomic.h>.
25425         * sysdeps/s390/bits/atomic.h: Move to ...
25426         * sysdeps/s390/atomic-machine.h: ...here.
25427         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25428         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25429         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25430         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25431         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25432         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25433         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25434         * sysdeps/tile/bits/atomic.h: Move to ...
25435         * sysdeps/tile/atomic-machine.h: ...here.
25436         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25437         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25438         <sysdeps/tile/atomic-machine.h> instead of
25439         <sysdeps/tile/bits/atomic.h>.
25440         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25441         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25442         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25443         <sysdeps/tile/atomic-machine.h> instead of
25444         <sysdeps/tile/bits/atomic.h>.
25445         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25446         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25447         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25448         <sysdeps/arm/atomic-machine.h> instead of
25449         <sysdeps/arm/bits/atomic.h>.
25450         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25451         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25452         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25453         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25454         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25455         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25456         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25457         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25458         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25459         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25460         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25461         * sysdeps/x86_64/bits/atomic.h: Move to ...
25462         * sysdeps/x86_64/atomic-machine.h: ...here.
25463         * include/atomic.h: Include <atomic-machine.h> instead of
25464         <bits/atomic.h>.
25466         * sysdeps/mips/mips32/libm-test-ulps: Update.
25467         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25469         [BZ #18952]
25470         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25471         not convert non-integer negative arguments to int to determine the
25472         value of signgam.
25473         * math/auto-libm-test-in: Add more tests of lgamma.
25474         * math/auto-libm-test-out: Regenerated.
25476         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25477         cosh, csqrt, erfc, expm1 and lgamma.
25478         * math/auto-libm-test-out: Regenerated.
25479         * sysdeps/i386/fpu/libm-test-ulps: Update.
25480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25482 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25484         [BZ #2542]
25485         [BZ #2543]
25486         [BZ #2558]
25487         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25488         __lgamma_neg for arguments from -28.0 to -2.0.
25489         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25490         __lgamma_negf for arguments from -15.0 to -2.0.
25491         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25492         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25493         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25494         Call __lgamma_negl for arguments from -33.0 to -2.0.
25495         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25496         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25497         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25498         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25499         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25500         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25501         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25502         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25503         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25504         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25505         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25506         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25507         (__lgamma_neg): Likewise.
25508         (__lgamma_negl): Likewise.
25509         (__lgamma_product): Likewise.
25510         (__lgamma_productl): Likewise.
25511         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25512         * math/auto-libm-test-in: Add more tests of lgamma.
25513         * math/auto-libm-test-out: Regenerated.
25514         * sysdeps/i386/fpu/libm-test-ulps: Update.
25515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25517 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25519         [BZ #18675]
25520         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25522 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25524         [BZ #14912]
25525         * bits/libc-lock.h: Move to ...
25526         * sysdeps/generic/libc-lock.h: ...here.
25527         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25528         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25529         * sysdeps/mach/hurd/libc-lock.h: ...here.
25530         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25531         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25532         * sysdeps/mach/bits/libc-lock.h: Move to ...
25533         * sysdeps/mach/libc-lock.h: ...here.
25534         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25535         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25536         * sysdeps/nptl/libc-lock.h: ...here.
25537         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25538         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25539         * sysdeps/nptl/libc-lockP.h: ...here.
25540         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25541         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25542         <bits/libc-lock.h>.
25543         * dirent/scandir-tail.c: Likewise.
25544         * dlfcn/dlerror.c: Likewise.
25545         * elf/dl-close.c: Likewise.
25546         * elf/dl-iteratephdr.c: Likewise.
25547         * elf/dl-lookup.c: Likewise.
25548         * elf/dl-open.c: Likewise.
25549         * elf/dl-support.c: Likewise.
25550         * elf/dl-writev.h: Likewise.
25551         * elf/rtld.c: Likewise.
25552         * grp/fgetgrent.c: Likewise.
25553         * gshadow/fgetsgent.c: Likewise.
25554         * gshadow/sgetsgent.c: Likewise.
25555         * iconv/gconv_conf.c: Likewise.
25556         * iconv/gconv_db.c: Likewise.
25557         * iconv/gconv_dl.c: Likewise.
25558         * iconv/gconv_int.h: Likewise.
25559         * iconv/gconv_trans.c: Likewise.
25560         * include/link.h: Likewise.
25561         * inet/getnameinfo.c: Likewise.
25562         * inet/getnetgrent.c: Likewise.
25563         * inet/getnetgrent_r.c: Likewise.
25564         * intl/bindtextdom.c: Likewise.
25565         * intl/dcigettext.c: Likewise.
25566         * intl/finddomain.c: Likewise.
25567         * intl/gettextP.h: Likewise.
25568         * intl/loadmsgcat.c: Likewise.
25569         * intl/localealias.c: Likewise.
25570         * intl/textdomain.c: Likewise.
25571         * libidn/idn-stub.c: Likewise.
25572         * libio/libioP.h: Likewise.
25573         * locale/duplocale.c: Likewise.
25574         * locale/freelocale.c: Likewise.
25575         * locale/newlocale.c: Likewise.
25576         * locale/setlocale.c: Likewise.
25577         * login/getutent_r.c: Likewise.
25578         * login/getutid_r.c: Likewise.
25579         * login/getutline_r.c: Likewise.
25580         * login/utmp-private.h: Likewise.
25581         * login/utmpname.c: Likewise.
25582         * malloc/mtrace.c: Likewise.
25583         * misc/efgcvt.c: Likewise.
25584         * misc/error.c: Likewise.
25585         * misc/fstab.c: Likewise.
25586         * misc/getpass.c: Likewise.
25587         * misc/mntent.c: Likewise.
25588         * misc/syslog.c: Likewise.
25589         * nis/nis_call.c: Likewise.
25590         * nis/nis_callback.c: Likewise.
25591         * nis/nss-default.c: Likewise.
25592         * nis/nss_compat/compat-grp.c: Likewise.
25593         * nis/nss_compat/compat-initgroups.c: Likewise.
25594         * nis/nss_compat/compat-pwd.c: Likewise.
25595         * nis/nss_compat/compat-spwd.c: Likewise.
25596         * nis/nss_nis/nis-alias.c: Likewise.
25597         * nis/nss_nis/nis-ethers.c: Likewise.
25598         * nis/nss_nis/nis-grp.c: Likewise.
25599         * nis/nss_nis/nis-hosts.c: Likewise.
25600         * nis/nss_nis/nis-network.c: Likewise.
25601         * nis/nss_nis/nis-proto.c: Likewise.
25602         * nis/nss_nis/nis-pwd.c: Likewise.
25603         * nis/nss_nis/nis-rpc.c: Likewise.
25604         * nis/nss_nis/nis-service.c: Likewise.
25605         * nis/nss_nis/nis-spwd.c: Likewise.
25606         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25607         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25608         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25609         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25610         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25611         * nis/nss_nisplus/nisplus-network.c: Likewise.
25612         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25613         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25614         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25615         * nis/nss_nisplus/nisplus-service.c: Likewise.
25616         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25617         * nis/ypclnt.c: Likewise.
25618         * nptl/libc_pthread_init.c: Likewise.
25619         * nss/getXXbyYY.c: Likewise.
25620         * nss/getXXent.c: Likewise.
25621         * nss/getXXent_r.c: Likewise.
25622         * nss/nss_db/db-XXX.c: Likewise.
25623         * nss/nss_db/db-netgrp.c: Likewise.
25624         * nss/nss_db/nss_db.h: Likewise.
25625         * nss/nss_files/files-XXX.c: Likewise.
25626         * nss/nss_files/files-alias.c: Likewise.
25627         * nss/nsswitch.c: Likewise.
25628         * posix/regex_internal.h: Likewise.
25629         * posix/wordexp.c: Likewise.
25630         * pwd/fgetpwent.c: Likewise.
25631         * resolv/res_hconf.c: Likewise.
25632         * resolv/res_libc.c: Likewise.
25633         * shadow/fgetspent.c: Likewise.
25634         * shadow/lckpwdf.c: Likewise.
25635         * shadow/sgetspent.c: Likewise.
25636         * socket/opensock.c: Likewise.
25637         * stdio-common/reg-modifier.c: Likewise.
25638         * stdio-common/reg-printf.c: Likewise.
25639         * stdio-common/reg-type.c: Likewise.
25640         * stdio-common/vfprintf.c: Likewise.
25641         * stdio-common/vfscanf.c: Likewise.
25642         * stdlib/abort.c: Likewise.
25643         * stdlib/cxa_atexit.c: Likewise.
25644         * stdlib/fmtmsg.c: Likewise.
25645         * stdlib/random.c: Likewise.
25646         * stdlib/setenv.c: Likewise.
25647         * string/strsignal.c: Likewise.
25648         * sunrpc/auth_none.c: Likewise.
25649         * sunrpc/bindrsvprt.c: Likewise.
25650         * sunrpc/create_xid.c: Likewise.
25651         * sunrpc/key_call.c: Likewise.
25652         * sunrpc/rpc_thread.c: Likewise.
25653         * sysdeps/arm/backtrace.c: Likewise.
25654         * sysdeps/generic/ldsodefs.h: Likewise.
25655         * sysdeps/generic/stdio-lock.h: Likewise.
25656         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25657         * sysdeps/i386/backtrace.c: Likewise.
25658         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25659         * sysdeps/m68k/backtrace.c: Likewise.
25660         * sysdeps/mach/hurd/cthreads.c: Likewise.
25661         * sysdeps/mach/hurd/dirstream.h: Likewise.
25662         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25663         * sysdeps/nptl/malloc-machine.h: Likewise.
25664         * sysdeps/nptl/stdio-lock.h: Likewise.
25665         * sysdeps/posix/dirstream.h: Likewise.
25666         * sysdeps/posix/getaddrinfo.c: Likewise.
25667         * sysdeps/posix/system.c: Likewise.
25668         * sysdeps/pthread/aio_suspend.c: Likewise.
25669         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25670         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25671         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25672         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25673         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25674         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25675         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25676         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25677         * sysdeps/unix/sysv/linux/system.c: Likewise.
25678         * sysdeps/x86_64/backtrace.c: Likewise.
25679         * time/alt_digit.c: Likewise.
25680         * time/era.c: Likewise.
25681         * time/tzset.c: Likewise.
25682         * wcsmbs/wcsmbsload.c: Likewise.
25683         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25684         instead of <bits/libc-lock.h> in comment.
25686 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25688         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25689         Only use .set mips2 if the current ISA is below mips2.
25690         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25691         Likewise.
25692         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25693         mips32r2 if the current ISA is below mips32r2.
25694         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25695         (TLS_IE): Updated to use the TLD_RDHWR macro.
25696         (TLS_LE): Likewise.
25697         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25698         __ASSEMBLER__ condition.
25700 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25702         Fix parallel build of before-compile targets.
25704         * sysdeps/mach/Makefile ($(patsubst
25705         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25706         mach-before-compile target.
25707         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25708         io fs process)): Move rule to dedicated hurd-before-compile target.
25710 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25712         Fix rules generating headers in hurd/ and mach/ when initial make call
25713         has subdir= explicitly set.
25715         * sysdeps/mach/Makefile ($(patsubst
25716         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25717         calling $(MAKE).
25718         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25719         io fs process)): Force subdir to hurd when calling $(MAKE).
25720         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25721         subdir to mach when calling $(MAKE).
25723 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25725         Check sysheaders when looking for Mach and Hurd headers
25727         * sysdeps/mach/configure.ac: Add sysheaders check.
25728         * sysdeps/mach/configure: Regenerate.
25729         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25730         * sysdeps/mach/hurd/configure: Regenerate.
25732 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25734         [BZ #18921]
25735         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25736         Fix inverted sense of test of 'o_directory_works' value.
25737         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25738         Bernhard Voelker <mail@bernhard-voelker.de>.
25740 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25742         [BZ #14912]
25743         * bits/linkmap.h: Move to ...
25744         * sysdeps/generic/linkmap.h: ...here.
25745         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25746         * sysdeps/aarch64/linkmap.h: ...here.
25747         * sysdeps/arm/bits/linkmap.h: Move to ...
25748         * sysdeps/arm/linkmap.h: ...here.
25749         * sysdeps/hppa/bits/linkmap.h: Move to ...
25750         * sysdeps/hppa/linkmap.h: ...here.
25751         * sysdeps/ia64/bits/linkmap.h: Move to ...
25752         * sysdeps/ia64/linkmap.h: ...here.
25753         * sysdeps/mips/bits/linkmap.h: Move to ...
25754         * sysdeps/mips/linkmap.h: ...here.
25755         * sysdeps/s390/bits/linkmap.h: Move to ...
25756         * sysdeps/s390/linkmap.h: ...here.
25757         * sysdeps/sh/bits/linkmap.h: Move to ...
25758         * sysdeps/sh/linkmap.h: ...here.
25759         * sysdeps/x86/bits/linkmap.h: Move to ...
25760         * sysdeps/x86/linkmap.h: ...here.
25761         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25763 2015-09-04  Andreas Schwab  <schwab@suse.de>
25765         [BZ #18635]
25766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25767         (__makecontext): Terminate FDE before return label.
25768         (__novec_makecontext): Likewise.
25770 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25772         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25773         first member of struct sv in syscall macro.
25775 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25777         [BZ #14912]
25778         * bits/stdio-lock.h: Move to ...
25779         * sysdeps/generic/stdio-lock.h: ...here.
25780         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25781         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25782         * sysdeps/nptl/stdio-lock.h: ...here.
25783         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25784         * include/libio.h: Include <stdio-lock.h> instead of
25785         <bits/stdio-lock.h>.
25786         * sysdeps/nptl/fork.c: Likewise.
25787         * sysdeps/pthread/flockfile.c: Likewise.
25788         * sysdeps/pthread/ftrylockfile.c: Likewise.
25789         * sysdeps/pthread/funlockfile.c: Likewise.
25791         [BZ #14912]
25792         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25793         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25794         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25795         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25796         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25797         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25798         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25800 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25802         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25803         (test-xfail-tst-protected1b): New variable.
25805 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25807         [BZ #14912]
25808         * bits/libc-tsd.h: Move to ...
25809         * sysdeps/generic/libc-tsd.h: ...here.
25810         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25811         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25812         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25813         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25814         * include/ctype.h: Include <libc-tsd.h> instead of
25815         <bits/libc-tsd.h>.
25816         * include/rpc/rpc.h: Likewise.
25817         * locale/localeinfo.h: Likewise.
25818         * sunrpc/rpc_thread.c: Likewise.
25819         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25820         * sysdeps/nptl/malloc-machine.h: Likewise.
25822         * Makefile (headers): Remove bits/libc-lock.h.
25823         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25825         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25826         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25827         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25828         <bits/stdio-lock.h>.
25829         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25830         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25832 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25834         [BZ #18757]
25835         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25836         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25837         BZ #18757.
25839 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25841         * malloc/mtrace.pl: Filter out NULL entries.
25843 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25845         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25846         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25847         macro.
25849         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25850         (TCP_CC_INFO): Likewise.
25851         (TCP_SAVE_SYN): Likewise.
25852         (TCP_SAVED_SYN): Likewise.
25854 2015-08-31  Brett Neumeier <brett@neumeier.us>
25856         [BZ #18870]
25857         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25859 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25861         [BZ #18873]
25862         Fix broken overflow check in posix_fallocate
25863         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25864         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25865         Fix parenthesization typo.
25867 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25869         [BZ #18887]
25870         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25871         tst-mntent-blank-passno.
25872         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25873         * misc/tst-mntent-blank-corrupt.c: New test.
25874         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25875         * misc/tst-mntent.c (do_test): ... here.
25877 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25879         [BZ #4404]
25880         * po/de.po: Fix SIGALRM typo.
25882 2015-08-28  James Perkins  <james@loowit.net>
25884         * time/tst-strptime2.c (tests): Replace short list of test
25885         strings for strptime %z specifier with code which exhaustively
25886         tests every combination of sign and 0 to 5 digits. Tests for
25887         rejection of invalid strings.
25889 2015-08-28  James Perkins  <james@loowit.net>
25891         [BZ #16141]
25892         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25893         calculation, removing incorrect decimal time rounding, so that
25894         all minute values result in a valid seconds value.
25895         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25896         offset range limits to UTC-99:59 through UTC+99:59 to parse
25897         current and historical use cases.
25898         * time/tst-strptime2.c (tests): Modify and add tests for the
25899         strptime %z input field descriptor, specifically conversion of
25900         minutes to seconds and validating an offset range of -9959 to
25901         +9959.
25903 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25904             Dmitry V. Levin  <ldv@altlinux.org>
25906         [BZ #18877]
25907         * posix/Makefile (tests): Add tst-mmap-offset.
25908         * posix/tst-mmap.c: New file.
25909         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25910         offset calculation for negative values.
25912 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25914         * sysdeps/i386/init-arch.h: New file.
25915         * sysdeps/i386/i586/init-arch.h: Likewise.
25916         * sysdeps/i386/i686/init-arch.h: Likewise.
25917         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25918         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25919         * sysdeps/x86/cpu-features.h (bit_I586): New.
25920         (bit_I686): Likewise.
25921         (bit_CX8): Likewise.
25922         (bit_CMOV): Likewise.
25923         (index_CX8): Likewise.
25924         (index_CMOV): Likewise.
25925         (index_I586): Likewise.
25926         (index_I686): Likewise.
25927         (reg_CX8): Likewise.
25928         (reg_CMOV): Likewise.
25929         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25930         available at compile-time.
25931         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25932         available at compile-time.
25933         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25934         (USE_I686): Likewise.
25936 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25938         * sysdeps/i386/bcopy.S: New file.
25939         * sysdeps/i386/bzero.S: Likewise.
25940         * sysdeps/i386/memcpy.S: Likewise.
25941         * sysdeps/i386/memmove.S: Likewise.
25942         * sysdeps/i386/mempcpy.S: Likewise.
25943         * sysdeps/i386/memset.S: Likewise.
25944         * sysdeps/i386/bzero.c: Removed.
25945         * sysdeps/i386/memset.c: Likewise.
25946         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25947         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25948         * sysdeps/i386/i586/memset_chk.S: Likewise.
25949         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25950         * sysdeps/i386/memcpy_chk.S: Here.
25951         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25952         * sysdeps/i386/memmove_chk.S: Here.
25953         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25954         * sysdeps/i386/mempcpy_chk.S: Likewise.
25955         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25956         * sysdeps/i386/memset_chk.S: Likewise.
25958 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25960         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25961         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25962         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25963         * soft-fp/fmadf4.c: Ditto.
25964         * soft-fp/fmatf4.c: Ditto.
25966 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25968         * sysdeps/i386/i586/Implies: Removed.
25969         * sysdeps/i386/i686/Implies: Likewise.
25971 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25973         * sysdeps/i386/i486/strlen.S: Moved to ...
25974         * sysdeps/i386/strlen.S: Here.
25976 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25978         * sysdeps/i386/i486/strcat.S: Moved to ...
25979         * sysdeps/i386/strcat.S: Here.
25981 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25983         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25984         * sysdeps/i386/pthread_spin_trylock.S: Here.
25985         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25986         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25988 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25990         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25991         * sysdeps/i386/string-inlines.c: Here.
25993 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25995         * sysdeps/i386/i486/htonl.S: Moved ...
25996         * sysdeps/i386/htonl.S: here.
25998 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26000         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26001         * sysdeps/i386/bits/atomic.h: Here.
26003 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26005         * sysdeps/i386/i486/Versions: Removed.
26007 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26009         [BZ #2898]
26010         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26011         Based on patch by Aurelien Jarno.
26013 2015-08-26  Stan Shebs  <stanshebs@google.com>
26015         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26016         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26018 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26020         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26021         * sysdeps/powerpc/dl-procinfo.c:
26022         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26023         feature so it shows when LD_SHOW_AUXV=1.
26025 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26027         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26028         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26029         definition.  ISA 2.07B no longer requires full sync.
26031 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26033         [BZ #18863]
26034         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26035         (si_call_addr): Define.
26036         (si_syscall): Define.
26037         (si_arch): Define.
26039 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26041         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26042         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26043         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26044         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26045         (__memset_zero_constant_len_parameter): New.
26046         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26047         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26048         (__memset_zero_constant_len_parameter): Don't define if
26049         __memset_chk or USE_AS_BZERO are defined.
26051         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26052         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26053         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26055         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26056         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26057         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26058         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26059         comments.
26060         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26061         -mno-mmx for $(all-rtld-routines).
26062         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26063         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26064         i386.
26066 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26068         * sysdeps/generic/unwind.h
26069         (_Unwind_Word): Use __mode__(__unwind_word__)
26070         instead of __mode__(__word__).
26071         (_Unwind_Sword): Likewise.
26073         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26074         (MAX_NEEDED_INPUT): New define.
26075         (MAX_NEEDED_OUTPUT): New define.
26077         * NEWS: New item for IBM z13 string optimizations.
26079         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26080         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26081         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26082         * sysdeps/s390/multiarch/Makefile
26083         (sysdep_routines): Add memrchr functions.
26084         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26085         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26087         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26088         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26089         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26090         * sysdeps/s390/multiarch/Makefile
26091         (sysdep_routines): Add wmemcmp functions.
26092         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26093         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26094         * benchtests/bench-wmemcmp.c: New File.
26095         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26097         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26098         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26099         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26100         * sysdeps/s390/multiarch/Makefile
26101         (sysdep_routines): Add wmemset functions.
26102         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26103         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26104         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26105         * string/test-memset.c: Add wmemset support.
26106         * wcsmbs/test-wmemset.c: New File.
26107         * wcsmbs/Makefile (strop-tests): Add wmemset.
26108         * benchtests/bench-memset.c: Add wmemset support.
26109         * benchtests/bench-wmemset.c: New File.
26110         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26112         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26113         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26114         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26115         * sysdeps/s390/multiarch/Makefile
26116         (sysdep_routines): Add memccpy functions.
26117         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26118         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26119         * string/memccpy.c: Use MEMCCPY if defined.
26121         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26122         * sysdeps/s390/multiarch/memchr.c: Likewise.
26123         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26124         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26125         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26126         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26127         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26128         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26129         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26130         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26132         and rawmemchr functions.
26133         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26134         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26135         and wmemchr.
26136         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26137         * string/test-memchr.c: Add wmemchr support.
26138         * wcsmbs/test-wmemchr.c: New File.
26139         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26140         * benchtests/bench-memchr.c: Add wmemchr support.
26141         * benchtests/bench-wmemchr.c: New File.
26142         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26144         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26145         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26146         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26147         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26148         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26149         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26150         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26151         wcscspn functions.
26152         * sysdeps/s390/multiarch/ifunc-impl-list.c
26153         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26154         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26155         * string/test-strcspn.c: Add wcscspn support.
26156         * wcsmbs/test-wcscspn.c: New File.
26157         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26158         * benchtests/bench-strcspn.c: Add wcscspn support.
26159         * benchtests/bench-wcscspn.c: New File.
26160         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26162         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26163         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26164         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26165         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26166         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26167         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26168         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26169         wcspbrk functions.
26170         * sysdeps/s390/multiarch/ifunc-impl-list.c
26171         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26172         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26173         * string/test-strpbrk.c: Add wcspbrk support.
26174         * wcsmbs/test-wcspbrk.c: New File.
26175         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26176         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26177         * benchtests/bench-wcspbrk.c: New File.
26178         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26180         * sysdeps/s390/multiarch/strspn-c.c: New File.
26181         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26182         * sysdeps/s390/multiarch/strspn.c: Likewise.
26183         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26184         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26185         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26186         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26188         wcsspn functions.
26189         * sysdeps/s390/multiarch/ifunc-impl-list.c
26190         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26191         * string/test-strspn.c: Add wcsspn support.
26192         * wcsmbs/test-wcsspn.c: New File.
26193         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26194         * benchtests/bench-strspn.c: Add wcsspn support.
26195         * benchtests/bench-wcsspn.c: New File.
26196         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26198         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26199         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26200         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26201         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26202         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26203         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26204         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26205         wcsrchr functions.
26206         * sysdeps/s390/multiarch/ifunc-impl-list.c
26207         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26208         * benchtests/bench-wcsrchr.c: New File.
26209         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26211         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26212         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26213         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26214         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26215         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26216         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26217         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26218         wcschrnul functions.
26219         * sysdeps/s390/multiarch/ifunc-impl-list.c
26220         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26221         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26222         * string/test-strchr.c: Add wcschrnul support.
26223         * wcsmbs/test-wcschrnul.c: New File.
26224         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26225         * benchtests/bench-strchr.c: Add wcschrnul support.
26226         * benchtests/bench-wcschrnul.c: New File.
26227         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26229         * sysdeps/s390/multiarch/strchr-c.c: New File.
26230         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26231         * sysdeps/s390/multiarch/strchr.c: Likewise.
26232         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26233         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26234         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26236         wcschr functions.
26237         * sysdeps/s390/multiarch/ifunc-impl-list.c
26238         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26239         * string/strchr.c (STRCHR): Define and use macro.
26240         * benchtests/bench-wcschr.c: New File.
26241         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26243         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26244         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26245         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26246         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26247         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26248         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26249         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26250         wcsncmp functions.
26251         * sysdeps/s390/multiarch/ifunc-impl-list.c
26252         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26253         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26254         * benchtests/bench-strncmp.c: Add wcsncmp support.
26255         * benchtests/bench-wcsncmp.c: New File.
26256         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26258         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26259         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26260         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26261         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26262         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26263         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26264         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26265         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26266         wcscmp functions.
26267         * sysdeps/s390/multiarch/ifunc-impl-list.c
26268         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26269         * string/strcmp.c (STRCMP): Define and use macro.
26270         * benchtests/bench-wcscmp.c: New File.
26271         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26272         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26273         instead of _HAVE_STRING_ARCH_memchr.
26275         * sysdeps/s390/multiarch/strncat-c.c: New File.
26276         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26277         * sysdeps/s390/multiarch/strncat.c: Likewise.
26278         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26279         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26280         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26281         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26282         wcsncat functions.
26283         * sysdeps/s390/multiarch/ifunc-impl-list.c
26284         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26285         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26286         * string/test-strncat.c: Add wcsncat support.
26287         * wcsmbs/test-wcsncat.c: New File.
26288         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26289         * benchtests/bench-strncat.c: Add wcsncat support.
26290         * benchtests/bench-wcsncat.c: New File.
26291         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26293         * sysdeps/s390/multiarch/strcat-c.c: New File.
26294         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26295         * sysdeps/s390/multiarch/strcat.c: Likewise.
26296         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26297         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26298         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26299         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26300         wcscat functions.
26301         * sysdeps/s390/multiarch/ifunc-impl-list.c
26302         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26303         * string/strcat.c (STRCAT): Define and use macro.
26304         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26305         * string/test-strcat.c: Add wcscat support.
26306         * wcsmbs/test-wcscat.c: New File.
26307         * wcsmbs/Makefile (strop-tests): Add wcscat.
26308         * benchtests/bench-strcat.c: Add wcscat support.
26309         * benchtests/bench-wcscat.c: New File.
26310         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26312         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26313         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26314         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26315         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26316         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26317         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26318         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26319         wcpncpy functions.
26320         * sysdeps/s390/multiarch/ifunc-impl-list.c
26321         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26322         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26323         * string/test-stpncpy.c: Add wcpncpy support.
26324         * wcsmbs/test-wcpncpy.c: New File.
26325         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26326         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26327         * benchtests/bench-wcpncpy.c: New File.
26328         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26330         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26331         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26332         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26333         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26334         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26335         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26336         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26338         wcsncpy functions.
26339         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26340         * sysdeps/s390/multiarch/ifunc-impl-list.c
26341         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26342         * string/test-strncpy.c: Add wcsncpy support.
26343         * wcsmbs/test-wcsncpy.c: New File.
26344         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26345         * benchtests/bench-strncpy.c: Add wcsncpy support.
26346         * benchtests/bench-wcsncpy.c: New File.
26347         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26349         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26350         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26351         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26352         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26353         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26354         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26356         wcpcpy functions.
26357         * string/stpcpy.c: Use STPCPY if defined.
26358         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26359         * sysdeps/s390/multiarch/ifunc-impl-list.c
26360         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26361         * string/test-stpcpy.c: Add wcpcpy support.
26362         * wcsmbs/test-wcpcpy.c: New File.
26363         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26364         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26365         * benchtests/bench-wcpcpy.c: New File.
26366         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26368         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26369         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26370         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26371         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26372         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26373         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26374         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26375         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26376         wcscpy functions.
26377         * sysdeps/s390/multiarch/ifunc-impl-list.c
26378         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26379         * benchtests/bench-wcscpy.c: New File.
26380         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26382         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26383         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26384         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26385         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26386         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26387         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26388         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26389         wcsnlen functions.
26390         * sysdeps/s390/multiarch/ifunc-impl-list.c
26391         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26392         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26393         * string/test-strnlen.c: Add wcsnlen support.
26394         * wcsmbs/test-wcsnlen.c: New File.
26395         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26396         * benchtests/bench-strnlen.c: Add wcsnlen support.
26397         * benchtests/bench-wcsnlen.c: New File.
26398         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26400         * sysdeps/s390/multiarch/Makefile: New File.
26401         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26402         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26403         * sysdeps/s390/multiarch/strlen.c: Likewise.
26404         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26405         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26406         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26407         * string/strlen.c (STRLEN): Define and use macro.
26408         * sysdeps/s390/multiarch/ifunc-impl-list.c
26409         (IFUNC_VX_IMPL): New macro function.
26410         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26411         * benchtests/Makefile (wcsmbs-bench): New variable.
26412         (string-bench-all): Added wcsmbs-bench.
26413         * benchtests/bench-wcslen.c: New File.
26415         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26416         s390_vx_libc_ifunc2): New macro function.
26418         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26419         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26420         assembler support.
26421         * sysdeps/s390/configure: Regenerated.
26423         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26424         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26426         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26427         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26428         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26430         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26431         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26432         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26433         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26434         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26435         (memcmp, bcmp): Use __memcmp_default as alias source.
26436         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26437         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26438         Rename to __memcmp_default.
26439         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26440         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26441         (memcpy): Use __memcpy_default as alias source.
26442         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26443         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26444         Rename to __memcpy_default.
26445         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26446         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26447         (memset): Use __memset_default as alias source.
26448         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26449         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26450         Rename to __memset_default.
26451         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26452         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26453         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26454         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26455         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26456         (memcmp, bcmp): Use __memcmp_default as alias source.
26457         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26458         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26459         Rename to __memcmp_default.
26460         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26461         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26462         (memcpy): Use __memcpy_default as alias source.
26463         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26464         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26465         Rename to __memcpy_default.
26466         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26467         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26468         (memset): Use __memset_default as alias source.
26469         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26470         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26471         Rename to __memset_default.
26472         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26473         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26475         [BZ #18610]
26476         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26477         __ieee_instruction_pointer to __unused.
26478         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26479         __ieee_instruction_pointer.
26480         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26481         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26482         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26483         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26484         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26485         Mark dxc-field as reserved.
26487 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26489         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26490         if the weak reference is not null.
26492 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26494         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26496         [BZ #11214]
26497         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26499 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26501         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26502         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26503         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26504         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26505         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26506         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26507         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26508         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26509         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26510         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26511         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26512         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26513         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26514         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26515         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26516         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26517         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26518         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26520 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26522         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26523         register other than r0 for tabort, it has special meaning.
26524         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26525         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26526         transaction before starting syscall.
26528 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26530         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26532 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26534         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26536         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26537         * sysdeps/x86_64/rtld-memset.S: Likewise.
26538         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26539         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26540         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26541         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26543         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26545 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26547         * debug/strcpy_chk.c: Improve performance.
26548         * debug/stpcpy_chk.c: Likewise.
26549         * sysdeps/x86_64/strcpy_chk.S: Remove.
26550         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26552         [BZ #18240]
26553         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26555 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26557         [BZ #15128]
26558         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26559         ifuncmain8.
26560         (modules-names): Add ifuncmod8.
26561         ($(objpfx)ifuncmain8): New rule.
26562         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26563         <cpuid.h>.
26564         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26565         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26566         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26567         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26568         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26569         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26570         * sysdeps/x86_64/ifuncmain8.c: New file.
26571         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26572         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26573         Removed.
26574         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26575         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26576         Change rtld_savespace_sse to __glibc_unused2.
26577         (RTLD_CHECK_FOREIGN_CALL): Removed.
26578         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26579         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26580         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26582 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26584         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26586 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26588         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26589         Unconditionally set __fpcr to avoid uninialized warning.
26590         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26592 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26594         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26595         is corrupt.
26597         * malloc/arena.c (arena_get2): Drop unused argument.
26598         (arena_lock): Adjust.
26599         (arena_get_retry): Likewise.
26601 2015-08-24  Andreas Schwab  <schwab@suse.de>
26603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26604         Don't define.
26605         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26606         (__ASSUME_IPC64): Don't undef.
26607         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26608         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26609         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26610         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26611         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26612         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26613         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26614         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26615         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26616         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26617         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26618         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26619         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26620         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26621         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26622         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26623         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26624         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26625         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26626         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26627         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26629 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26631         * manual/Makefile (install): Only build manual when perl is available.
26633 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26635         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26636         '#undef memcpy' by '#undef memchr'.
26638 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26640         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26641         memchr not point to the internal __GI_memchr implementation.
26643 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26645         * timezone/Makefile (CFLAGS-zdump.c): Remove
26646         -Wno-strict-prototypes.
26647         (CFLAGS-zic.c): Likewise.
26648         (CFLAGS-ialloc.c): Likewise.
26649         (CFLAGS-scheck.c): Likewise.
26651         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26652         -Wno-error=undef.
26654 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26656         * i386/i686/multiarch/strcasestr-c.c: Removed.
26657         * x86_64/multiarch/strcasestr.c: Likewise.
26658         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26659         Remove strcasestr.
26661 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26663         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26665         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26666         variables for high and low parts before possibly modifying them.
26668 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26670         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26671         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26672         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26673         of "multiarch/init-arch.h".
26674         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26675         * sysdeps/x86/init-arch.h: This.
26677 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26679         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26680         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26682 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26684         [BZ #17787]
26685         * manual/macros.texi: Add twoexp macro.
26686         * manual/filesys.texi: Fix exponents.
26687         * manual/llio.texi: Likewise.
26688         * manual/stdio.texi: Likewise.
26690 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26692         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26693         incorrect use.
26695 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26697         [BZ #18370]
26698         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26699         whose real or imaginary part has small absolute value.
26700         * math/s_csqrtf.c (__csqrtf): Likewise.
26701         * math/s_csqrtl.c (__csqrtl): Likewise.
26702         * math/auto-libm-test-in: Add more tests of csqrt.
26703         * math/auto-libm-test-out: Regenerated.
26704         * sysdeps/i386/fpu/libm-test-ulps: Update.
26706 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26708         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26709         __ppc_set_ppr_very_low): New functions.
26710         * manual/platform.texi: Add documentation about
26711         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26713 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26715         * string/stpncpy.c (stpncpy): Improve performance using
26716         __strnlen/memcpy/memset.
26718 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26720         [BZ #18796]
26721         * scripts/test-installation.pl: Don't add -lmvec to build options if
26722         libmvec wasn't built.
26724 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26726         [BZ #14341]
26727         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26728         case when there is a gap between DT_REL and DT_JMPREL sections.
26729         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26730         (LDFLAGS-tst-split-dynreloc): New.
26731         (tst-split-dynreloc-ENV): Likewise.
26732         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26733         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26735 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26737         [BZ #18822]
26738         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26739         attribute_hidden.
26740         (__xstat64_conv): Likewise.
26741         (__xstat32_conv): Likewise.
26743 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26745         [BZ #18822]
26746         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26747         Don't load %ebx when calling __setcontext.  Call __setcontext
26748         with HIDDEN_JUMPTARGET.
26749         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26750         libc_hidden_def.
26752 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26754         * sysdeps/i386/i686/Makefile
26755         [$(subdir) == string] (sysdep_routines): Moved to ...
26756         * sysdeps/i386/Makefile: Here.
26757         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26758         * sysdeps/i386/cacheinfo.c: Here.
26759         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26760         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26761         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26762         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26764 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26766         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26767         __i586__ is defined.
26768         (HAS_I686): Defined to 1 if __i686__ is defined.
26770 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26772         * elf/Makefile [$(have-z-execstack) = yes]
26773         (CPPFLAGS-tst-execstack.c): New variable.
26775         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26776         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26777         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26778         UTMPX || _HAVE_UT_TV].
26779         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26780         UTMPX || _HAVE_UT_TV - 0].
26782 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26784         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26785         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26786         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26788 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26790         * sysdeps/powerpc/dl-procinfo.c:
26791         (_dl_powerpc_cap_flags): Added missing strings for some
26792         hwcap features.
26793         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26795 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26797         Port the 0x7efe...feff pattern to GCC 6.
26798         See Steve Ellcey's bug report in:
26799         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26800         * string/memrchr.c (MEMRCHR):
26801         * string/rawmemchr.c (RAWMEMCHR):
26802         * string/strchr.c (strchr):
26803         * string/strchrnul.c (STRCHRNUL):
26804         Rewrite code to avoid issues with signed shift overflow.
26806 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26808         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26809         whether cpuid is available only if HAS_CPUID is 0.
26810         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26811         (HAS_I586): Likewise.
26812         (HAS_I686): Likewise.
26814 2015-08-18  Zack Weinberg  <zackw@panix.com>
26816         * misc/Versions (libc): Add GLIBC_2.23.
26818 2015-08-18  Alan Modra  <amodra@gmail.com>
26820         [BZ #18421]
26821         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26822         .Lp__global.
26823         (_start): Load %dp via .Lp__global.
26824         [!SHARED]: Use .section .rodata.
26826 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26828         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26829         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26831 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26833         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26834         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26836 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26838         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26839         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26841 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26843         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26844         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26846 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26848         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26849         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26851 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26853         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26854         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26856 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26858         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26860 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26862         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26863         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26864         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26865         (__ASSUME_LWS_CAS): Delete.
26867 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26869         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26870         * sysdeps/hppa/configure: Regenerated.
26871         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26872         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26873         * sysdeps/hppa/nptl/tls.h: Likewise.
26875 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26877         [BZ #18823]
26878         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26879         for scaling up small arguments.
26880         * math/s_csqrtf.c (__csqrtf): Likewise.
26881         * math/s_csqrtl.c (__csqrtl): Likewise.
26882         * math/auto-libm-test-in: Add more tests of csqrt.
26883         * math/auto-libm-test-out: Regenerated.
26885 2015-08-17  Andreas Schwab  <schwab@suse.de>
26887         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26888         version set GLIBC_2.19.
26890 2015-08-16  Zack Weinberg  <zackw@panix.com>
26892         [BZ #18681]
26893         * misc/regexp.h: This interface is no longer supported.
26894         Remove all contents, leaving only an #error directive.
26895         * misc/regexp.c (loc1, loc2, locs, step, advance):
26896         Demote to compatibility symbols.
26898 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26900         [BZ #18084]
26901         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26902         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26903         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26904         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26905         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26906         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26907         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26908         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26909         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26911 2015-08-15  Zack Weinberg  <zackw@panix.com>
26913         [BZ #18795]
26914         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26915         buffer length is known to be too large, not if it's known to be
26916         small enough.
26917         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26918         overflow at runtime, involving a length parameter, twice: once
26919         with a compile-time constant length parameter, once without.
26921 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26923         [BZ #18824]
26924         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26925         scaling x * y up instead of down.
26926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26928         * math/auto-libm-test-in: Add more tests of fma.
26929         * math/auto-libm-test-out: Regenerated.
26931 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26935 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26937         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26938         unnecessary movq.
26939         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26940         Likewise.
26942 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26944         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26945         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26946         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26947         and tgamma.
26948         * math/auto-libm-test-out: Regenerated.
26949         * sysdeps/i386/fpu/libm-test-ulps: Update.
26950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26952         [BZ #16520]
26953         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26954         (__tanh): Force underflow exception for arguments with small
26955         absolute value.
26956         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26957         (__tanhf): Force underflow exception for arguments with small
26958         absolute value.
26959         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26960         (__tanhl): Force underflow exception for arguments with small
26961         absolute value.
26962         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26963         (__tanhl): Force underflow exception for arguments with small
26964         absolute value.
26965         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26966         (__tanhl): Force underflow exception for arguments with small
26967         absolute value.
26968         * math/auto-libm-test-in: Add more tests of tanh.
26969         * math/auto-libm-test-out: Regenerated.
26970         * sysdeps/i386/fpu/libm-test-ulps: Update.
26972 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26974         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26975         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26977 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26979         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26980         <cpuid.h>.
26982 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26984         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26985         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26987 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26989         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26990         Remove $(objpfx)init-arch.o.
26991         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26992         init-arch.
26993         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26994         (INIT_ARCH_EXT): Defined as empty.
26995         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26996         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26997         __init_cpu_features call.  Replace HAS_XXX with
26998         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26999         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27000         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27004         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27005         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27006         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27007         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27008         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27009         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27010         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27011         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27012         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27013         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27014         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27015         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27016         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27017         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27018         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27019         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27020         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27021         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27022         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27023         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27025         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27026         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27027         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27028         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27030         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27031         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27032         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27033         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27035 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27037         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27038         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27039         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27040         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27041         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27042         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27043         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27044         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27045         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27046         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27047         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27048         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27049         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27050         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27051         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27052         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27053         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27054         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27055         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27056         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27057         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27058         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27059         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27060         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27061         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27062         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27063         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27064         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27065         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27066         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27067         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27068         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27069         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27070         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27071         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27072         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27073         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27074         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27075         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27076         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27077         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27078         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27079         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27081 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27083         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27084         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27085         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27086         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27087         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27088         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27089         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27090         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27091         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27092         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27093         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27094         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27095         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27096         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27097         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27098         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27099         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27100         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27101         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27102         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27103         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27104         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27105         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27106         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27107         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27108         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27109         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27110         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27111         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27112         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27113         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27114         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27115         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27116         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27117         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27118         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27119         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27120         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27121         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27122         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27123         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27124         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27125         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27127 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27129         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27130         (dl_platform_init): Call init_cpu_features.
27131         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27132         * sysdeps/i386/i686/cacheinfo.c
27133         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27134         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27135         * sysdeps/i386/i686/multiarch/Versions: Removed.
27136         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27137         Removed.
27138         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27139         * sysdeps/unix/sysv/linux/x86/Makefile
27140         (libpthread-sysdep_routines): Remove init-arch.
27141         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27142         <sysdeps/x86_64/dl-procinfo.c> instead of
27143         sysdeps/generic/dl-procinfo.c>.
27144         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27145         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27146         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27147         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27148         [$(subdir) == elf] (tests-static): Add
27149         tst-get-cpu-features-static.
27150         * sysdeps/x86/Versions: New file.
27151         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27152         * sysdeps/x86/cpu-features.c: Likewise.
27153         * sysdeps/x86/cpu-features.h: Likewise.
27154         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27155         * sysdeps/x86/libc-start.c: Likewise.
27156         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27157         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27158         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27159         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27160         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27161         Assume USE_MULTIARCH is defined and don't check it.
27162         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27163         (is_amd): Likewise.
27164         (max_cpuid): Likewise.
27165         (intel_check_word): Likewise.
27166         (__cache_sysconf): Don't call __init_cpu_features.
27167         (__x86_preferred_memory_instruction): Removed.
27168         (init_cacheinfo): Don't call __init_cpu_features. Replace
27169         __cpu_features with GLRO(dl_x86_cpu_features).
27170         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27171         (dl_platform_init): Call init_cpu_features.
27172         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27173         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27174         * sysdeps/x86_64/multiarch/Versions: Removed.
27175         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27176         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27177         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27178         Removed.
27179         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27181 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27183         [BZ #18820]
27184         * libio/Makefile (test-fmemopen-mem): New test.
27185         * libio/test-fmemopen.c (do_bz18820): New test.
27186         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27187         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27189 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27191         [BZ #16734]
27192         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27193         (FREE_BUF): Delete.
27194         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27195         * libio/genops.c (_IO_setb): Use malloc and free directly.
27196         (_IO_default_doallocate, _IO_default_finish): Likewise.
27197         ( _IO_unbuffer_all): Likewise.
27198         ( libc_freeres_fn): Likewise.
27199         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27200         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27201         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27202         (_IO_wdefault_doallocate): Likewise.
27204 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27206         [BZ #18086]
27207         * sysdeps/posix/nice.c (nice): Restore old errno.
27208         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27210 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27212         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27214 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27216         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27217         __bcopy and add a weak_alias to bcopy.
27218         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27219         for static build.
27221         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27222         cleanup macro usage.
27223         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27226         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27227         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27228         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27229         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27230         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27231         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27232         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27233         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27234         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27235         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27236         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27237         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27238         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27239         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27240         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27241         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27243         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27244         libc_hidden_def.
27245         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27247         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27248         (sysdep_routines): Add strstr-ppc64.
27249         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27251 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27253         [BZ #18778]
27254         * elf/Makefile (tests): Add Add tst-nodelete2.
27255         (modules-names): Add tst-nodelete2mod.
27256         (tst-nodelete2mod.so-no-z-defs): New.
27257         ($(objpfx)tst-nodelete2): Likewise.
27258         ($(objpfx)tst-nodelete2.out): Likewise.
27259         (LDFLAGS-tst-nodelete2): Likewise.
27260         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27261         out of loop through all loaded libraries.
27262         * elf/tst-nodelete2.c: New file.
27263         * elf/tst-nodelete2mod.c: Likewise.
27264         * elf/tst-znodelete-zlib.cc: Delete.
27266 2015-08-11  Andreas Schwab  <schwab@suse.de>
27268         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27269         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27270         (__openat64_nocancel): Likewise.
27272 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27274         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27275         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27276         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27277         * math/auto-libm-test-out: Regenerated.
27278         * sysdeps/i386/fpu/libm-test-ulps: Update.
27279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27281 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27283         [BZ #18790]
27284         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27285         threshold for returning +/- 1.
27286         * math/auto-libm-test-in: Add more tests of tanh.
27287         * math/auto-libm-test-out: Regenerated.
27288         * sysdeps/i386/fpu/libm-test-ulps: Update.
27290 2015-08-10  Andreas Schwab  <schwab@suse.de>
27292         [BZ #18781]
27293         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27294         MORE_OFLAGS to oflag.
27295         * io/test-lfs.c (do_test): Test openat64.
27297 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27299         [BZ #18789]
27300         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27301         smaller threshold for returning the argument.
27302         * math/auto-libm-test-in: Add more tests of sinh.
27303         * math/auto-libm-test-out: Regenerated.
27304         * sysdeps/i386/fpu/libm-test-ulps: Update.
27306 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27308         [BZ #18674]
27309         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27310         break.
27312 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27314         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27315         (generated): Don't add $(addprefix z.,$(tzfiles)).
27317 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27319         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27320         * scripts/sysd-rules.awk: Likewise.
27322 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27324         * iconvdata/tst-tables.sh: Change echo -n to printf.
27325         * nss/db-Makefile: Likewise.
27326         * posix/tst-getconf.sh: Likewise.
27327         * stdio-common/tst-unbputc.sh: Likewise.
27329 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27331         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27332         MADV_*_PAGES defines behind this feature check.
27334 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27336         [BZ #18480]
27337         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27338         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27339         Define.
27340         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27341         LOAD_REGS_5, LOAD_REGS_6): Update.
27342         (INTERNAL_SYSCALL): Update using new LOAD defines.
27343         (INTERNAL_SYSCALL_NCS): Likewise.
27344         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27346 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27348         [BZ #16734]
27349         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27351 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27353         [BZ #17905]
27354         * catgets/Makefile (tst-catgets-mem): New test.
27355         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27356         * catgets/open_catalog.c (__open_catalog): Likewise.
27357         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27359 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27361         [BZ #18787]
27362         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27363         clobber registers.
27364         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27365         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27366         Cast return to __typeof (oldval).
27368 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27370         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27371         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27372         and delete sys/syscall.h include.
27374 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27376         [BZ #16517]
27377         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27378         (tan): Force underflow exception for arguments with small absolute
27379         value.
27380         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27381         (__kernel_tanf): Force underflow exception for arguments with
27382         small absolute value.
27383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27384         (__kernel_tanl): Force underflow exception for arguments with
27385         small absolute value.
27386         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27387         (__kernel_tanl): Force underflow exception for arguments with
27388         small absolute value.
27389         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27390         (__kernel_tanl): Force underflow exception for arguments with
27391         small absolute value.
27392         * math/auto-libm-test-in: Add more tests of tan.
27393         * math/auto-libm-test-out: Regenerated.
27395 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27397         Fix sysdeps/i386/fpu/s_scalbn.S build
27399         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27401 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27403         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27405 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27407         Fix gcrt0.o compilation
27409         When static-start-installed-name is different from
27410         start-installed-name, we must not use the shared objects.
27412         * csu/Makefile
27413         (extra-objs): Add gmon-start.o when building shared library and
27414         $(static-start-installed-name) is different from
27415         $(start-installed-name).
27416         $(objpfx)g$(static-start-installed-name): When building shared
27417         library and $(static-start-installed-name) is different from
27418         $(static-start-installed-name), revert to non-shared rule,
27419         i.e. using $(objpfx)% and gmon-start.o.
27421 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27423         [BZ #16519]
27424         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27425         (__ieee754_sinh): Force underflow exception for arguments with
27426         small absolute value.
27427         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27428         (__ieee754_sinhf): Force underflow exception for arguments with
27429         small absolute value.
27430         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27431         (__ieee754_sinhl): Force underflow exception for arguments with
27432         small absolute value.
27433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27434         (__ieee754_sinhl): Force underflow exception for arguments with
27435         small absolute value.
27436         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27437         (__ieee754_sinhl): Force underflow exception for arguments with
27438         small absolute value.
27439         * math/auto-libm-test-in: Add more tests of sinh.
27440         * math/auto-libm-test-out: Regenerated.
27441         * sysdeps/i386/fpu/libm-test-ulps: Update.
27443 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27445         * libio/oldfileops.c: Include unistd.h.
27447 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27449         * stdlib/isomac.c: Include ctype.h.
27451 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27453         * dirent/tst-seekdir.c (main): Converted to ...
27454         (do_test): ... this.
27455         (TEST_FUNCTION): New macro.
27456         Include test-skeleton.c.
27457         * elf/tst-dlmodcount.c (main): Converted to ...
27458         (do_test): ... this.
27459         (TEST_FUNCTION): New macro.
27460         Include test-skeleton.c.
27461         * elf/tst-order-main.c (main): Converted to ...
27462         (do_test): ... this.
27463         (TEST_FUNCTION): New macro.
27464         Include test-skeleton.c.
27465         * elf/tst-pie2.c (main): Converted to ...
27466         (do_test): ... this.
27467         (TEST_FUNCTION): New macro.
27468         Include test-skeleton.c.
27469         * inet/tst-ether_aton.c (main): Converted to ...
27470         (do_test): ... this.
27471         (TEST_FUNCTION): New macro.
27472         Include test-skeleton.c.
27473         * misc/tst-mntent.c (main): Converted to ...
27474         (do_test): ... this.
27475         (TEST_FUNCTION): New macro.
27476         Include test-skeleton.c.
27477         * misc/tst-tsearch.c (main): Converted to ...
27478         (do_test): ... this.
27479         (TEST_FUNCTION): New macro.
27480         Include test-skeleton.c.
27481         * posix/tst-regexloc.c (main): Converted to ...
27482         (do_test): ... this.
27483         (TEST_FUNCTION): New macro.
27484         Include test-skeleton.c.
27485         * resolv/tst-aton.c (main): Converted to ...
27486         (do_test): ... this.
27487         (TEST_FUNCTION): New macro.
27488         Include test-skeleton.c.
27489         * stdio-common/test-fwrite.c (main): Converted to ...
27490         (do_test): ... this.
27491         (TEST_FUNCTION): New macro.
27492         Include test-skeleton.c.
27493         * stdio-common/tst-ferror.c (main): Converted to ...
27494         (do_test): ... this.
27495         (TEST_FUNCTION): New macro.
27496         Include test-skeleton.c.
27497         * stdio-common/tst-printf.c (main): Converted to ...
27498         (do_test): ... this.
27499         (TEST_FUNCTION): New macro.
27500         Include test-skeleton.c.
27501         * stdio-common/tst-printfsz.c (main): Converted to ...
27502         (do_test): ... this.
27503         (TEST_FUNCTION): New macro.
27504         Include test-skeleton.c.
27505         * stdlib/tst-strtod.c (main): Converted to ...
27506         (do_test): ... this.
27507         (TEST_FUNCTION): New macro.
27508         Include test-skeleton.c.
27509         * string/tst-strlen.c (main): Converted to ...
27510         (do_test): ... this.
27511         (TEST_FUNCTION): New macro.
27512         Include test-skeleton.c.
27513         * string/tst-svc.c (main): Converted to ...
27514         (do_test): ... this.
27515         (TEST_FUNCTION): New macro.
27516         Include test-skeleton.c.
27517         * time/tst-strptime.c (main): Converted to ...
27518         (do_test): ... this.
27519         (TEST_FUNCTION): New macro.
27520         Include test-skeleton.c.
27521         * timezone/tst-timezone.c (main): Converted to ...
27522         (do_test): ... this.
27523         (TEST_FUNCTION): New macro.
27524         Include test-skeleton.c.
27526 2015-08-05  Zack Weinberg  <zackw@panix.com>
27528         * misc/regexp.h: Update comments.
27530 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27532         [BZ #18635]
27533         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27534         before return label.
27536 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27538         [BZ #18661]
27539         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27540         when calling __errno_location.
27541         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27542         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27544 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27546         [BZ #18661]
27547         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27548         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27549         __gettimeofday.
27551 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27553         [BZ #18661]
27554         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27555         (__start_context): Don't use pop to restore %rdi so that stack
27556         is aligned to 16 bytes when calling __setcontext.
27558 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27560         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27561         only for libc.
27562         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27564 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27566         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27567         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27568         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27570 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27572         * string/memccpy.c (memccpy):
27573         Improve performance by using memchr/memcpy/__mempcpy.
27575 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27577         * string/strncpy.c (strncpy):
27578         Improve performance by using __strnlen/memcpy.
27580 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27582         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27583         Optimize to avoid an unnecessary FPCR read.
27585 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27587         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27588         Optimize to reduce FPCR/FPSR accesses.
27590 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27592         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27593         dead->data[category] != NULL.
27595 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27597         [BZ #18647]
27598         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27599         and |x| close to 1, use absolute value of x when computing log.
27600         * math/auto-libm-test-in: Add more tests of pow.
27601         * math/auto-libm-test-out: Regenerated.
27603 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27605         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27606         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27607         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27609 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27611         [BZ #18525]
27612         * locales/km_KH: Remove timezone definition.
27613         * locales/lo_LA: Likewise.
27614         * locales/my_MM: Likewise.
27615         * locales/nan_TW@latin: Likewise.
27616         * locales/th_TH: Likewise.
27617         * locales/uk_UA: Likewise.
27619 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27621         [BZ #18265]
27622         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27623         (wcsncat): Likewise.
27624         (wcscmp): Likewise.
27625         (wcsncmp): Likewise.
27627 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27629         * test-skeleton.c (usage): New function.
27630         (main): Call usage when opt is '?'.
27632 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27634         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27635         before first use.
27637 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27639         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27640         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27641         in there too.
27643 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27645         * version.h (RELEASE): Set to "development".
27646         (VERSION): Set to "2.22.90"
27648         * version.h (RELEASE): Set to "stable".
27649         (VERSION): Set to "2.22"
27650         * include/features.h (__GLIBC_MINOR__): Set to 22.
27652 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27654         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27655         Restructure macro to avoid "value computed is not used" warning.
27656         (atomic_compare_and_exchange_val_acq): Likewise.
27658 2015-08-04  Andreas Schwab  <schwab@suse.de>
27660         [BZ #18635]
27661         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27662         ret.
27663         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27665 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27667         * po/pl.po: Updated translation.
27668         * po/uk.po: Likewise.
27669         * po/fi.po: Likewise.
27670         * po/ko.po: Likewise.
27671         * po/ru.po: Likewise.
27672         * po/vi.po: Likewise.
27674 2015-07-31  Zack Weinberg  <zackw@panix.com>
27676         [BZ #18681]
27677         * regexp.h: Add unconditional #warning stating that this header
27678         will be removed soon.  Revise banner comment to match.
27679         (compile): Consistently use ERROR instead of RETURN to report
27680         errors (partial fix for BZ #18681).
27681         * regexp.c: Don't include regexp.h. Remove some unnecessary
27682         declarations.
27684 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27686         * po/libc.pot: Regenerated.
27688 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27690         [BZ #18740]
27691         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27692         float-vlen4-arch-ext-cflags): Removed.
27693         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27694         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27696 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27698         [BZ #14113]
27699         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27700         aligned to __aligned__.
27701         (pthread_cond_t, pthread_rwlock_t): Likewise.
27703 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27705         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27707 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27709         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27710         (struct sigaction): Change sa_flags from a long to an int, and add
27711         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27713 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27715         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27716         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27717         sysdeps/generic/sysdep.h include.
27718         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27719         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27720         sysdeps/hppa/sysdep.h.
27721         (ENTRY, PSEUDO): Undefine before defining.
27723 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27725         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27726         from scratch to use INTERNAL_SYSCALL.
27728 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27730         [BZ #18078]
27731         * scripts/check-localplt.awk: Support alternate relocations.
27732         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27733         sections.
27734         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27735         malloc entries with + REL R_386_GLOB_DAT.
27736         * sysdeps/x86_64/localplt.data: New file.
27738 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27740         [BZ #18731]
27741         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27742         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27743         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27745 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27747         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27749 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27751         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27752         directly in terms of __sync_fetch_and_add and delete (int) cast.
27754 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27756         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27757         the -D_ASM_IA64_CURRENT_H flag.
27759 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27761         [BZ #18641]
27762         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27764 2015-07-27  Andreas Schwab  <schwab@suse.de>
27766         * conform/conformtest.pl (checknamespace): Filter out string
27767         literals while tokenizing.
27769 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27771         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27772         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27773         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27775 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27777         * nptl/tst-join7mod.c: Add #include <string.h>.
27779 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27781         * sysdeps/nios2/libm-test-ulps: Update.
27783 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27785         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27786         Fix order of arguments to the rt_sigprocmask syscall.
27787         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27788         Likewise.
27790 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27792         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27794 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27796         [BZ #18457]
27797         * nptl/Makefile (tests): New test case tst-join7.
27798         (modules-names): New test case module tst-join7mod.
27799         * nptl/tst-join7.c: New file.
27800         * nptl/tst-join7mod.c: New file.
27801         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27802         all translation units in libc.so, libpthread.so and rtld.
27804 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27808 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27810         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27811         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27812         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27816         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27817         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27818         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27819         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27822         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27823         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27825         implementation.
27827 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27829         [BZ #17711]
27830         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27831         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27832         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27833         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27834         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27835         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27837 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27839         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27840         instead of just saying load lock in the comments.
27842 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27844         * sysdeps/unix/Subdirs: Moved ...
27845         * sysdeps/posix/Subdirs: ... here.
27846         * login/pty.h (struct termios, struct winsize): Add forward decls.
27847         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27848         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27849         * sysdeps/arm/nacl/libc.abilist: Updated.
27850         * sysdeps/nacl/libutil.abilist: New file.
27852         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27853         (SIGWINCH): New macro.
27855         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27856         * sysdeps/arm/nacl/libc.abilist: Add it.
27858 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27860         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27862 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27864         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27865         Swap __glibc_reserved0 and sa_flags order.
27867 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27869         [BZ #18657]
27870         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27871         are pending TLS destructor calls.
27872         * include/link.h (struct link_map): Add concurrency note for
27873         L_TLS_DTOR_COUNT.
27874         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27875         Don't touch the link map flag.  Atomically increment
27876         l_tls_dtor_count.
27877         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27878         Avoid taking the load lock and don't touch the link map flag.
27879         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27880         * stdlib/Makefile (tests): Use it.
27881         * stdlib/tst-tls-atexit.c (do_test): dlopen
27882         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27883         to allow tst-tls-atexit-nodelete test case to use it.
27885 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27887         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27888         to bits/types.h.
27889         (msgqnum_t): New typedef.
27890         (msglen_t): Likewise.
27891         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27892         and msg_qbytes type to msglen_t.
27894 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27896         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27897         pad0 to __glibc_reserved0.
27898         (struct stat64): Likewise.
27900 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27902         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27903         Change sa_flags from a long to an int and add __glibc_reserved0 before
27904         it for padding.
27906 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27908         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27909         anonymous by deleting "siginfo" name.
27911 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27913         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27914         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27915         rather than __nacl_irt_filename.
27916         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27918         * NEWS: New item for arm-nacl port.
27919         * sysdeps/arm/nacl/libc.abilist: New file.
27920         * sysdeps/nacl/ld.abilist: New file.
27921         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27922         * sysdeps/nacl/libanl.abilist: New file.
27923         * sysdeps/nacl/libcrypt.abilist: New file.
27924         * sysdeps/nacl/libdl.abilist: New file.
27925         * sysdeps/nacl/libm.abilist: New file.
27926         * sysdeps/nacl/libpthread.abilist: New file.
27927         * sysdeps/nacl/libresolv.abilist: New file.
27928         * sysdeps/nacl/librt.abilist: New file.
27930 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27932         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27933         __startcontext to initialize the new context.
27934         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27935         up CFI directive to forbid further backtracing.
27937 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27939         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27940         reference.
27941         * charmaps/ANSI_X3.4-1968: Likewise.
27942         * charmaps/BS_4730: Likewise.
27943         * charmaps/BS_VIEWDATA: Likewise.
27944         * charmaps/CP1250: Likewise.
27945         * charmaps/CP1251: Likewise.
27946         * charmaps/CP1252: Likewise.
27947         * charmaps/CP1253: Likewise.
27948         * charmaps/CP1254: Likewise.
27949         * charmaps/CP1255: Likewise.
27950         * charmaps/CP1256: Likewise.
27951         * charmaps/CSN_369103: Likewise.
27952         * charmaps/EBCDIC-DK-NO: Likewise.
27953         * charmaps/GB_1988-80: Likewise.
27954         * charmaps/GREEK-CCITT: Likewise.
27955         * charmaps/GREEK7: Likewise.
27956         * charmaps/INIS-8: Likewise.
27957         * charmaps/ISIRI-3342: Likewise.
27958         * charmaps/ISO_2033-1983: Likewise.
27959         * charmaps/ISO_5427-EXT: Likewise.
27960         * locales/POSIX: Likewise.
27961         * locales/ar_SA: Likewise.
27962         * locales/be_BY: Likewise.
27963         * locales/be_BY@latin: Likewise.
27964         * locales/ca_ES: Likewise.
27965         * locales/cs_CZ: Likewise.
27966         * locales/da_DK: Likewise.
27967         * locales/de_BE: Likewise.
27968         * locales/de_CH: Likewise.
27969         * locales/de_LU: Likewise.
27970         * locales/en_AU: Likewise.
27971         * locales/en_BW: Likewise.
27972         * locales/en_CA: Likewise.
27973         * locales/en_DK: Likewise.
27974         * locales/en_GB: Likewise.
27975         * locales/en_IE: Likewise.
27976         * locales/en_NZ: Likewise.
27977         * locales/en_ZA: Likewise.
27978         * locales/en_ZW: Likewise.
27979         * locales/es_AR: Likewise.
27980         * locales/es_BO: Likewise.
27981         * locales/es_CL: Likewise.
27982         * locales/es_CO: Likewise.
27983         * locales/es_DO: Likewise.
27984         * locales/es_EC: Likewise.
27985         * locales/es_ES: Likewise.
27986         * locales/es_HN: Likewise.
27987         * locales/es_MX: Likewise.
27988         * locales/es_PA: Likewise.
27989         * locales/es_PE: Likewise.
27990         * locales/es_PY: Likewise.
27991         * locales/es_SV: Likewise.
27992         * locales/es_US: Likewise.
27993         * locales/es_UY: Likewise.
27994         * locales/es_VE: Likewise.
27995         * locales/et_EE: Likewise.
27996         * locales/fa_IR: Likewise.
27997         * locales/fo_FO: Likewise.
27998         * locales/fr_CA: Likewise.
27999         * locales/fr_CH: Likewise.
28000         * locales/gv_GB: Likewise.
28001         * locales/he_IL: Likewise.
28002         * locales/hr_HR: Likewise.
28003         * locales/id_ID: Likewise.
28004         * locales/is_IS: Likewise.
28005         * locales/it_CH: Likewise.
28006         * locales/iw_IL: Likewise.
28007         * locales/kl_GL: Likewise.
28008         * locales/ko_KR: Likewise.
28009         * locales/kw_GB: Likewise.
28010         * locales/lg_UG: Likewise.
28011         * locales/lt_LT: Likewise.
28012         * locales/lv_LV: Likewise.
28013         * locales/mi_NZ: Likewise.
28014         * locales/nhn_MX: Likewise.
28015         * locales/nl_BE: Likewise.
28016         * locales/pl_PL: Likewise.
28017         * locales/sk_SK: Likewise.
28018         * locales/sl_SI: Likewise.
28019         * locales/sv_FI: Likewise.
28020         * locales/tl_PH: Likewise.
28021         * locales/tr_TR: Likewise.
28022         * locales/vi_VN: Likewise.
28024 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28026         [BZ #17475]
28027         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28028         of tu_IN and bh_IN.
28030 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28032         [BZ #18694]
28033         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28034         bits/wordsize.h.
28035         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28037 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28039         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28040         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28041         (spawn_thread): New function.
28042         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28043         (do_test): ... here.  Use IS_LOADED to test for its
28044         availability.
28046 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28048         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28050 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28052         [BZ #18696]
28053         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28054         si_addr_bnd.
28055         (si_lower): New.
28056         (si_upper): Likewise.
28058 2015-07-16  David S. Miller  <davem@davemloft.net>
28060         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28062 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28064         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28065         buffer.
28066         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28067         fail output information.
28069 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28072         and strstr-ppc64..
28073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28074         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28075         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28076         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28077         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28079 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28081         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28082         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28083         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28084         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28086 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28088         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28089         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28090         rtld_hidden_proto.
28091         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28093 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28095         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28096         the test can fail.
28098         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28100         [BZ #18676]
28101         * elf/tst-nodelete-opened.c: New test case.
28102         * elf/tst-nodelete-opened-lib.c: New test case module.
28103         * elf/Makefile (tests, modules-names): Use them.
28104         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28105         early.
28107 2015-07-15  David S. Miller  <davem@davemloft.net>
28109         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28110         futex-intenal.h
28111         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28112         * sysdeps/sparc/sparc64/Makefile: Likewise.
28113         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28114         Remove space from macro define.
28115         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28117 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28119         [BZ #17475]
28120         * locale/iso-639.def: Update Bhili and Tulu language codes as
28121         per iso639-3.
28123 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28125         * elf/tst-leaks1.c (main): Converted to ...
28126         (do_test): ... this.
28127         (TEST_FUNCTION): New macro.
28128         Include test-skeleton.c.
28129         * localedata/tst-langinfo.c (main): Converted to ...
28130         (do_test): ... this.
28131         (TEST_FUNCTION): New macro.
28132         Include test-skeleton.c.
28133         * math/test-fpucw.c (main): Converted to ...
28134         (do_test): ... this.
28135         (TEST_FUNCTION): New macro.
28136         Include test-skeleton.c.
28137         * math/test-tgmath.c (main): Converted to ...
28138         (do_test): ... this.
28139         (TEST_FUNCTION): New macro.
28140         Include test-skeleton.c.
28141         * math/test-tgmath2.c (main): Converted to ...
28142         (do_test): ... this.
28143         (TEST_FUNCTION): New macro.
28144         Include test-skeleton.c.
28145         * setjmp/tst-setjmp.c (main): Converted to ...
28146         (do_test): ... this.
28147         (TEST_FUNCTION): New macro.
28148         Include test-skeleton.c.
28149         * stdio-common/tst-sscanf.c (main): Converted to ...
28150         (do_test): ... this.
28151         (TEST_FUNCTION): New macro.
28152         Include test-skeleton.c.
28153         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28154         (do_test): ... this.
28155         (TEST_FUNCTION): New macro.
28156         Include test-skeleton.c.
28158         * elf/tst-audit9.c (main): Converted to ...
28159         (do_test): ... this.
28160         (TEST_FUNCTION): New macro.
28161         Include test-skeleton.c.
28163 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28165         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28167 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28169         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28170         New variable.
28172 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28174         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28176 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28178         * sysdeps/generic/dl-fileid.h: New file.
28179         * sysdeps/posix/dl-fileid.h: New file.
28180         * sysdeps/nacl/dl-fileid.h: New file.
28181         * include/link.h: Include <dl-fileid.h>.
28182         (struct link_map): Replace l_dev and l_ino with l_file_id.
28183         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28184         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28185         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28187 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28189         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28191 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28193         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28194         Add iff $CXX is set.
28195         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28196         Likewise.
28197         (tst-nodelete-zmodiff): Likewise.
28198         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28200 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28202         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28204 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28206         * sysdeps/aarch64/fpu/math_private.h
28207         (define math_opt_barrier): Add AArch64 version.
28208         (math_force_eval): Likewise.
28210 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28212         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28214 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28216         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28217         %ld with %jd and cast to intmax_t.
28218         (do_test_length_zero): Likewise.
28220 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28222         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28224 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28226         * sysdeps/tile/libm-test-ulps: Regenerated.
28228         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28229         Comment out the whole function, not just its body.
28231 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28233         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28234         locks.
28236         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28238 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28240         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28241         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28243 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28245         * sysdeps/nptl/futex-internal.h: New file.
28246         * sysdeps/nacl/futex-internal.h: New file.
28247         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28248         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28249         error checking.
28250         (setxid_unmark_thread): Likewise.
28251         (__nptl_setxid): Likewise.
28252         (__wait_lookup_done): Likewise.
28253         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28254         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28255         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28256         * nptl/pthread_once.c (clear_once_control): Likewise.
28257         (__pthread_once_slow): Likewise.
28258         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28259         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28260         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28261         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28262         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28263         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28264         Likewise.
28265         (__pthread_rwlock_rdlock): Likewise.
28266         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28267         Likewise.
28268         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28269         Likewise.
28270         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28271         Likewise.
28272         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28273         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28274         Likewise.
28275         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28276         __ASSUME_PRIVATE_FUTEX check.
28277         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28278         Check that shared futexes are supported.
28279         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28280         wrappers with error checking.
28281         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28282         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28283         * nptl/pthread_barrierattr_setpshared.c
28284         (pthread_barrierattr_setpshared): Check that shared futexes are
28285         supported.
28286         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28287         Likewise.
28288         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28289         Likewise.
28290         * nptl/sem_init.c (futex_private_if_supported): Remove.
28291         (__new_sem_init): Adapt and check that shared futexes are supported.
28292         * nptl/sem_open.c (sem_open): Likewise.
28293         * nptl/sem_post.c (futex_wake): Remove.
28294         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28295         (do_futex_wait): Use futex wrappers with error checking.
28296         * nptl/sem_wait.c: Include lowlevellock.h.
28297         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28298         Use futex_supports_pshared.
28299         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28300         Use futex wrappers with error checking.
28301         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28302         Likewise.
28303         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28304         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28305         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28306         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28307         (futex_wake): Likewise.
28308         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28309         (do_futex_wait): Use futex wrappers with error checking.
28310         (__new_sem_wait_slow): Update EINTR handling.
28311         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28313 2015-07-09  Martin Sebor  <msebor@redhat.com>
28315         [BZ #18435]
28316         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28317         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28318         * nptl/Makefile (test-xfail-tst-once5): Define.
28320 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28322         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28323         * elf/dl-minimal.c: For readability, reorder some definitions and
28324         introduce more page breaks.  Include <stdio.h>.
28325         (__libc_fatal): New function.
28327         * include/unistd.h: Add rtld_hidden_proto for _exit.
28328         * posix/_exit.c: Add rtld_hidden_def.
28329         * sysdeps/mach/hurd/_exit.c: Likewise.
28330         * sysdeps/nacl/_exit.c: Likewise.
28331         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28332         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28334 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28336         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28337         bndmov encoding with zero displacement.
28339 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28340             H.J. Lu  <hongjiu.lu@intel.com>
28342         [BZ #18134]
28343         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28344         * sysdeps/i386/configure: Regenerated.
28345         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28346         (_dl_runtime_profile): Save and restore Intel MPX return bound
28347         registers when calling _dl_call_pltexit.  Add
28348         PRESERVE_BND_REGS_PREFIX before return.
28349         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28350         (LRV_BND1_OFFSET): Likewise.
28351         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28352         lrv_bnd1.
28353         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28354         typo in bndmov encoding.
28355         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28356         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28357         branch instructions to preserve bounds.
28359 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28362         [GLIBC_2.22]: Add fmemopen.
28364 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28366         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28367         returns an error, also try to use host port from __mach_host_self for
28368         the __vm_wire call.
28369         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28371 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28373         [BZ #18400]
28374         [BZ #18648]
28375         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28376         Fix pr_uid and pr_gid members.
28377         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28378         definition to elf_greg_t.
28380 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28382         [BZ #18383]
28383         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28384         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28385         * sysdeps/arm/configure: Regenerated.
28386         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28387         (test-xfail-tst-tlsalign-static): Variable removed.
28389         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28390         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28391         rather than explicit 'ln -s'.
28393         * resolv/rpc/netdb.h: New file.
28394         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28396 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28398         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28399         length buffers.
28400         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28401         test-skeleton.c.
28403         [BZ #6544]
28404         [BZ #11216]
28405         [BZ #12836]
28406         [BZ #13151]
28407         [BZ #13152]
28408         [BZ #14292]
28409         * include/stdio.h (fmemopen): Remove hidden prototype.
28410         (__fmemopen): Add new hidden prototype.
28411         * libio/Makefile: Add oldfmemopen object.
28412         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28413         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28414         compliance.
28415         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28416         symbol compatibility.
28417         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28418         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28419         fmemopen.
28420         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28421         on append and read mode.
28422         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28423         fmemopen.
28424         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28425         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28426         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28427         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28428         Likewise.
28429         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28430         [GLIBC_2.22]: Likewise.
28431         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28432         Likewise.
28433         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28434         Likewise.
28435         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28436         [GLIBC_2.22]: Likewise.
28437         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28438         [GLIBC_2.22]: Likewise.
28439         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28440         [GLIBC_2.22]: Likewise.
28441         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28442         [GLIBC_2.22]: Likewise.
28443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28444         [GLIBC_2.22]: Likewise.
28445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28446         [GLIBC_2.22]: Likewise.
28447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28448         [GLIBC_2.22]: Likewise.
28449         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28450         Likewise.
28451         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28452         Likewise.
28453         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28454         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28455         [GLIBC_2.22]: Likewise.
28456         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28457         [GLIBC_2.22]: Likewise.
28458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28459         [GLIBC_2.22]: Likewise.
28460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28461         [GLIBC_2.22]: Likewise.
28462         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28463         Likewise.
28464         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28465         Likewise.
28466         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28467         Likewise.
28468         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28469         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28471 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28473         [BZ #18643]
28474         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28475         IPV6_PATHMTU, and IPV6_DONTFRAG.
28477 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28479         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28480         and _IO_UNBUFFERED.
28481         * libio/oldfileops.c: Likewise.
28482         * libio/wfileops.c: Likewise.
28484 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28486         * nscd/selinux.c: Delete selinux/flask.h include.
28488 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28490         [BZ #18641]
28491         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28492         (putpwent): Likewise.
28493         (getpwnam): Likewise.
28494         (getpwent_r): Likewise.
28495         (getpwuid_r): Likewise.
28496         (getpwnam_r): Likewise.
28497         (fgetpwent_r): Likewise.
28499 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28501         [BZ #18557]
28502         * inet/rcmd.c (__validuser2_sa): Check user first to
28503         short-circuit host check.
28505 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28506             Mikhail Ilin  <m.ilin@samsung.com>
28508         [BZ #17833]
28509         * elf/Makefile (tests): Add tst-nodelete.
28510         (modules-names): Add tst-nodelete-uniquemod.
28511         (tst-nodelete-uniquemod.so-no-z-defs): New.
28512         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28513         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28514         ($(objpfx)tst-nodelete): Likewise.
28515         ($(objpfx)tst-nodelete.out): Likewise.
28516         (LDFLAGS-tst-nodelete): Likewise.
28517         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28518         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28519         implement forced object deletion.
28520         (_dl_close): Pass false to _dl_close_worker.
28521         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28522         * elf/tst-nodelete.cc: New file.
28523         * elf/tst-nodeletelib.cc: Likewise.
28524         * elf/tst-znodeletelib.cc: Likewise.
28525         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28527 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28529         [BZ #18508]
28530         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28531         Depend on $(libdl).
28532         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28533         is not called infinitely times.
28534         (backtrace_helper): New function.
28535         (trace_arg): New struct.
28536         (st1): Enlarge stack size.
28537         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28538         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28539         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28540         Likewise.
28542 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28544         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28546 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28548         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28549         Include sys/types.h instead of bits/types.h.
28550         Remove inclusion of bits/wordsize.h.
28552 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28554         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28555         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28556         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28557         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28558         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28559         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28561 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28563         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28564         link-defines.sym.
28565         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28566         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28567         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28568         and LR_SIZE.
28569         * sysdeps/i386/link-defines.sym: New file.
28571 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28573         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28574         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28575         ($(objpfx)tst-audit3): New rule.
28576         ($(objpfx)tst-audit3.out): Likewise.
28577         * sysdeps/i386/tst-audit3.c: New file.
28578         * sysdeps/i386/tst-audit3.h: Likewise.
28579         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28580         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28582 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28584         [BZ #18633]
28585         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28586         pointer in C code.
28587         (__strcat_c): Likewise.
28588         (__strcat_g): Likewise.
28590 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28592         [BZ #18592]
28593         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28595 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28597         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28598         New function.  (__ieee754_sqrtf): New function.
28599         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28600         New function.
28601         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28602         New function.
28604 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28606         * sysdeps/ieee754/support.c: Remove unused file.
28608 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28610         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28611         registers instead of d ones so the layout is kernel abi compatible.
28612         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28613         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28614         Likewise.
28616 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28618         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28620 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28622         [BZ #18619]
28623         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28624         and return argument in case of subnormal argument.
28626 2015-07-01  Martin Sebor  <msebor@redhat.com>
28628         [BZ #18435]
28629         * nptl/Makefile: Add tst-once5.cc.
28630         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28631         Remove macro redefinitions.
28632         * nptl/tst-once5.cc: New test.
28634 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28636         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28638         * sysdeps/arm/libm-test-ulps: Regenerated.
28640         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28641         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28643 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28645         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28646         lll_lock_wait_private and lll_futex_wake probes.
28648         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28649         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28650         Likewise.
28651         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28652         atomic_spin_nop.
28653         * sysdeps/x86_64/bits/atomic.h: Likewise.
28654         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28655         to atomic_spin_nop and move ...
28656         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28657         ... here and ...
28658         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28659         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28660         atomic_spin_nop instead of BUSY_WAIT_NOP.
28661         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28662         Likewise.
28663         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28664         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28665         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28666         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28667         instead of atomic_delay.
28669 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28671         [BZ #18613]
28672         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28673         X_ADJ not X when adjusting exponent.
28674         (__ieee754_gamma_r): Do intermediate computations in
28675         round-to-nearest then adjust overflowing and underflowing results
28676         as needed.
28677         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28678         of X_ADJ not X when adjusting exponent.
28679         (__ieee754_gammaf_r): Do intermediate computations in
28680         round-to-nearest then adjust overflowing and underflowing results
28681         as needed.
28682         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28683         log of X_ADJ not X when adjusting exponent.
28684         (__ieee754_gammal_r): Do intermediate computations in
28685         round-to-nearest then adjust overflowing and underflowing results
28686         as needed.  Use 1.0L not 1.0f as numerator of division.
28687         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28688         log of X_ADJ not X when adjusting exponent.
28689         (__ieee754_gammal_r): Do intermediate computations in
28690         round-to-nearest then adjust overflowing and underflowing results
28691         as needed.  Use 1.0L not 1.0f as numerator of division.
28692         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28693         of X_ADJ not X when adjusting exponent.
28694         (__ieee754_gammal_r): Do intermediate computations in
28695         round-to-nearest then adjust overflowing and underflowing results
28696         as needed.  Use 1.0L not 1.0f as numerator of division.
28697         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28698         to auto-libm-test-in.
28699         (tgamma_test): Use ALL_RM_TEST.
28700         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28701         tests of tgamma with spurious-overflow.
28702         * math/auto-libm-test-out: Regenerated.
28703         * math/gen-libm-have-vector-test.sh: Do not check for START.
28704         * sysdeps/i386/fpu/libm-test-ulps: Update.
28705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707         [BZ #18612]
28708         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28709         arguments, just return 0.5 times the argument, with underflow
28710         forced as needed.
28711         * math/auto-libm-test-in: Add more tests of j1.
28712         * math/auto-libm-test-out: Regenerated.
28714         [BZ #16559]
28715         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28716         (__ieee754_j1): Force underflow exception for small results.
28717         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28718         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28719         (__ieee754_j1f): Force underflow exception for small results.
28720         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28721         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28723         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28724         (__ieee754_j1l): Force underflow exception for small results.
28725         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28726         * math/auto-libm-test-in: Add more tests of j1 and jn.
28727         * math/auto-libm-test-out: Regenerated.
28729         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28730         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28731         (PF_MPLS): Likewise.
28732         (AF_IB): Likewise.
28733         (AF_MPLS): Likewise.
28734         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28735         value and macro.
28736         (MS_RMT_MASK): Include MS_LAZYTIME.
28738 2015-06-26  Mel Gorman  <mgorman@suse.de>
28740         [BZ #18502]
28741         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28742         already minimal.
28744 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28746         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28747         (DT_MIPS_NUM): Update.
28748         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28749         DT_MIPS_RLD_MAP_REL.
28751 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28753         [BZ #16559]
28754         [BZ #18602]
28755         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28756         round-to-nearest internally then recompute results that
28757         underflowed to zero in the original rounding mode.
28758         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28759         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28760         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28761         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28762         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28763         * sysdeps/i386/fpu/libm-test-ulps: Update.
28764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28766 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28768         * NEWS: Fixed description of link with vector math library.
28770 2015-06-25  Andreas Schwab  <schwab@suse.de>
28772         [BZ #18549]
28773         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28774         * libio/test-fmemopen.c (do_test): Add test for it.
28776 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28778         [BZ #17841]
28779         * Makeconfig (no-pie-ldflag): New.
28780         (+link): Set to $(+link-pie) if default to PIE.
28781         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28782         * config.make.in (build-pie-default): New.
28783         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28784         is default.  AC_SUBST.
28785         * configure: Regenerated.
28786         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28788 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28790         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28791         to 'unsigned int'.
28793         * resolv/gai_misc.h (struct waitlist): Change type of field
28794         counterp to 'volatile unsigned int *'.
28795         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28796         FUTEXADDR and OLDVAL.
28797         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28798         Give local variable TOTAL type 'volatile unsigned int'.
28799         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28800         * resolv/gai_suspend.c (gai_suspend):
28801         Give local variable CNTR type 'unsigned int'.
28803         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28804         counterp to 'volatile unsigned int *'.
28805         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28806         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28807         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28808         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28809         Give local variable TOTAL type 'volatile unsigned int'.
28810         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28812 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28814         [BZ #18383]
28815         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28816         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28817         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28818         comment for i386/x86-64.
28819         (test-xfail-tst-tlsalign-extern-static): Removed.
28821 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28823         * math/test-double.h: New file.
28824         * math/test-float.h: Likewise.
28825         * math/test-ldouble.h: Likewise.
28826         * math/test-math-inline.h: Likewise.
28827         * math/test-math-no-inline.h: Likewise.
28828         * math/test-math-scalar.h: Likewise.
28829         * math/test-math-vector.h: Likewise.
28830         * math/test-vec-loop.h: Remove file.  Contents moved into
28831         test-math-vector.h.
28832         * math/libm-test.inc (MATHCONST): Do not document macro.
28833         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28834         and test-math-scalar.h.
28835         (FUNC): Remove macro.
28836         (FUNC_TEST): Likewise.
28837         (FLOAT): Likewise.
28838         (MATHCONST): Likewise.
28839         (PRINTF_EXPR): Likewise.
28840         (PRINTF_XEXPR): Likewise.
28841         (PRINTF_NEXPR): Likewise.
28842         (TEST_DOUBLE): Likewise.
28843         (TEST_MATHVEC): Likewise.
28844         (__NO_MATH_INLINES): Likewise.
28845         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28846         and test-math-scalar.h.
28847         (FUNC): Remove macro.
28848         (FUNC_TEST): Likewise.
28849         (FLOAT): Likewise.
28850         (MATHCONST): Likewise.
28851         (PRINTF_EXPR): Likewise.
28852         (PRINTF_XEXPR): Likewise.
28853         (PRINTF_NEXPR): Likewise.
28854         (TEST_FLOAT): Likewise.
28855         (TEST_MATHVEC): Likewise.
28856         (__NO_MATH_INLINES): Likewise.
28857         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28858         and test-math-scalar.h.
28859         (FUNC): Remove macro.
28860         (FUNC_TEST): Likewise.
28861         (FLOAT): Likewise.
28862         (MATHCONST): Likewise.
28863         (PRINTF_EXPR): Likewise.
28864         (PRINTF_XEXPR): Likewise.
28865         (PRINTF_NEXPR): Likewise.
28866         (TEST_DOUBLE): Likewise.
28867         (TEST_MATHVEC): Likewise.
28868         (TEST_INLINE): Likewise.
28869         (__NO_MATH_INLINES): Likewise.
28870         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28871         test-math-scalar.h.
28872         (FUNC): Remove macro.
28873         (FUNC_TEST): Likewise.
28874         (FLOAT): Likewise.
28875         (MATHCONST): Likewise.
28876         (PRINTF_EXPR): Likewise.
28877         (PRINTF_XEXPR): Likewise.
28878         (PRINTF_NEXPR): Likewise.
28879         (TEST_FLOAT): Likewise.
28880         (TEST_MATHVEC): Likewise.
28881         (TEST_INLINE): Likewise.
28882         (__NO_MATH_INLINES): Likewise.
28883         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28884         and test-math-scalar.h.
28885         (FUNC): Remove macro.
28886         (FUNC_TEST): Likewise.
28887         (FLOAT): Likewise.
28888         (MATHCONST): Likewise.
28889         (PRINTF_EXPR): Likewise.
28890         (PRINTF_XEXPR): Likewise.
28891         (PRINTF_NEXPR): Likewise.
28892         (TEST_LDOUBLE): Likewise.
28893         (TEST_MATHVEC): Likewise.
28894         (TEST_INLINE): Likewise.
28895         (__NO_MATH_INLINES): Likewise.
28896         * math/test-ldouble.c: Include test-ldouble.h,
28897         test-math-no-inline.h and test-math-scalar.h.
28898         (FUNC): Remove macro.
28899         (FUNC_TEST): Likewise.
28900         (FLOAT): Likewise.
28901         (MATHCONST): Likewise.
28902         (PRINTF_EXPR): Likewise.
28903         (PRINTF_XEXPR): Likewise.
28904         (PRINTF_NEXPR): Likewise.
28905         (TEST_LDOUBLE): Likewise.
28906         (TEST_MATHVEC): Likewise.
28907         (__NO_MATH_INLINES): Likewise.
28908         * math/test-double-vlen2.h: Include test-double.h,
28909         test-math-no-inline.h and test-math-vector.h.
28910         (FLOAT): Remove macro.
28911         (FUNC): Likewise.
28912         (MATHCONST): Likewise.
28913         (PRINTF_EXPR): Likewise.
28914         (PRINTF_XEXPR): Likewise.
28915         (PRINTF_NEXPR): Likewise.
28916         (TEST_DOUBLE): Likewise.
28917         (TEST_MATHVEC): Likewise.
28918         (__NO_MATH_INLINES): Likewise.
28919         (CNCT): Likewise.
28920         (CONCAT): Likewise.
28921         (WRAPPER_NAME): Likewise.
28922         (WRAPPER_DECL): Likewise.
28923         (WRAPPER_DECL_ff): Likewise.
28924         (WRAPPER_DECL_fFF): Likewise.
28925         (VECTOR_WRAPPER): Likewise.
28926         (VECTOR_WRAPPER_ff): Likewise.
28927         (VECTOR_WRAPPER_fFF): Likewise.
28928         (VEC_LEN): New macro.
28929         * math/test-double-vlen4.h: Include test-double.h,
28930         test-math-no-inline.h and test-math-vector.h.
28931         (FLOAT): Remove macro.
28932         (FUNC): Likewise.
28933         (MATHCONST): Likewise.
28934         (PRINTF_EXPR): Likewise.
28935         (PRINTF_XEXPR): Likewise.
28936         (PRINTF_NEXPR): Likewise.
28937         (TEST_DOUBLE): Likewise.
28938         (TEST_MATHVEC): Likewise.
28939         (__NO_MATH_INLINES): Likewise.
28940         (CNCT): Likewise.
28941         (CONCAT): Likewise.
28942         (WRAPPER_NAME): Likewise.
28943         (WRAPPER_DECL): Likewise.
28944         (WRAPPER_DECL_ff): Likewise.
28945         (WRAPPER_DECL_fFF): Likewise.
28946         (VECTOR_WRAPPER): Likewise.
28947         (VECTOR_WRAPPER_ff): Likewise.
28948         (VECTOR_WRAPPER_fFF): Likewise.
28949         (VEC_LEN): New macro.
28950         * math/test-double-vlen8.h: Include test-double.h,
28951         test-math-no-inline.h and test-math-vector.h.
28952         (FLOAT): Remove macro.
28953         (FUNC): Likewise.
28954         (MATHCONST): Likewise.
28955         (PRINTF_EXPR): Likewise.
28956         (PRINTF_XEXPR): Likewise.
28957         (PRINTF_NEXPR): Likewise.
28958         (TEST_DOUBLE): Likewise.
28959         (TEST_MATHVEC): Likewise.
28960         (__NO_MATH_INLINES): Likewise.
28961         (CNCT): Likewise.
28962         (CONCAT): Likewise.
28963         (WRAPPER_NAME): Likewise.
28964         (WRAPPER_DECL): Likewise.
28965         (WRAPPER_DECL_ff): Likewise.
28966         (WRAPPER_DECL_fFF): Likewise.
28967         (VECTOR_WRAPPER): Likewise.
28968         (VECTOR_WRAPPER_ff): Likewise.
28969         (VECTOR_WRAPPER_fFF): Likewise.
28970         (VEC_LEN): New macro.
28971         * math/test-float-vlen4.h: Include test-float.h,
28972         test-math-no-inline.h and test-math-vector.h.
28973         (FLOAT): Remove macro.
28974         (FUNC): Likewise.
28975         (MATHCONST): Likewise.
28976         (PRINTF_EXPR): Likewise.
28977         (PRINTF_XEXPR): Likewise.
28978         (PRINTF_NEXPR): Likewise.
28979         (TEST_FLOAT): Likewise.
28980         (TEST_MATHVEC): Likewise.
28981         (__NO_MATH_INLINES): Likewise.
28982         (CNCT): Likewise.
28983         (CONCAT): Likewise.
28984         (WRAPPER_NAME): Likewise.
28985         (WRAPPER_DECL): Likewise.
28986         (WRAPPER_DECL_ff): Likewise.
28987         (WRAPPER_DECL_fFF): Likewise.
28988         (VECTOR_WRAPPER): Likewise.
28989         (VECTOR_WRAPPER_ff): Likewise.
28990         (VECTOR_WRAPPER_fFF): Likewise.
28991         (VEC_LEN): New macro.
28992         * math/test-float-vlen8.h: Include test-float.h,
28993         test-math-no-inline.h and test-math-vector.h.
28994         (FLOAT): Remove macro.
28995         (FUNC): Likewise.
28996         (MATHCONST): Likewise.
28997         (PRINTF_EXPR): Likewise.
28998         (PRINTF_XEXPR): Likewise.
28999         (PRINTF_NEXPR): Likewise.
29000         (TEST_FLOAT): Likewise.
29001         (TEST_MATHVEC): Likewise.
29002         (__NO_MATH_INLINES): Likewise.
29003         (CNCT): Likewise.
29004         (CONCAT): Likewise.
29005         (WRAPPER_NAME): Likewise.
29006         (WRAPPER_DECL): Likewise.
29007         (WRAPPER_DECL_ff): Likewise.
29008         (WRAPPER_DECL_fFF): Likewise.
29009         (VECTOR_WRAPPER): Likewise.
29010         (VECTOR_WRAPPER_ff): Likewise.
29011         (VECTOR_WRAPPER_fFF): Likewise.
29012         (VEC_LEN): New macro.
29013         * math/test-float-vlen16.h: Include test-float.h,
29014         test-math-no-inline.h and test-math-vector.h.
29015         (FLOAT): Remove macro.
29016         (FUNC): Likewise.
29017         (MATHCONST): Likewise.
29018         (PRINTF_EXPR): Likewise.
29019         (PRINTF_XEXPR): Likewise.
29020         (PRINTF_NEXPR): Likewise.
29021         (TEST_FLOAT): Likewise.
29022         (TEST_MATHVEC): Likewise.
29023         (__NO_MATH_INLINES): Likewise.
29024         (CNCT): Likewise.
29025         (CONCAT): Likewise.
29026         (WRAPPER_NAME): Likewise.
29027         (WRAPPER_DECL): Likewise.
29028         (WRAPPER_DECL_ff): Likewise.
29029         (WRAPPER_DECL_fFF): Likewise.
29030         (VECTOR_WRAPPER): Likewise.
29031         (VECTOR_WRAPPER_ff): Likewise.
29032         (VECTOR_WRAPPER_fFF): Likewise.
29033         (VEC_LEN): New macro.
29034         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29035         test-vec-loop.h.
29036         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29037         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29038         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29039         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29040         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29041         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29042         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29044 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29046         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29047         (__getlogin_r): ... this.
29049 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29051         [BZ #18594]
29052         * math/s_ccosh.c (__ccosh): Compare with least normal value
29053         instead of comparing class with FP_SUBNORMAL.
29054         * math/s_ccoshf.c (__ccoshf): Likewise.
29055         * math/s_ccoshl.c (__ccoshl): Likewise.
29056         * math/s_cexp.c (__cexp): Likewise.
29057         * math/s_cexpf.c (__cexpf): Likewise.
29058         * math/s_cexpl.c (__cexpl): Likewise.
29059         * math/s_csin.c (__csin): Likewise.
29060         * math/s_csinf.c (__csinf): Likewise.
29061         * math/s_csinh.c (__csinh): Likewise.
29062         * math/s_csinhf.c (__csinhf): Likewise.
29063         * math/s_csinhl.c (__csinhl): Likewise.
29064         * math/s_csinl.c (__csinl): Likewise.
29065         * math/s_ctan.c (__ctan): Likewise.
29066         * math/s_ctanf.c (__ctanf): Likewise.
29067         * math/s_ctanh.c (__ctanh): Likewise.
29068         * math/s_ctanhf.c (__ctanhf): Likewise.
29069         * math/s_ctanhl.c (__ctanhl): Likewise.
29070         * math/s_ctanl.c (__ctanl): Likewise.
29071         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29072         csin, csinh, ctan and ctanh.
29073         * math/auto-libm-test-out: Regenerated.
29074         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29075         * sysdeps/i386/fpu/libm-test-ulps: Update.
29076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29078 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29080         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29081         return value is wrong, print the expected value too.
29083 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29085         [BZ #18585]
29086         * elf/readlib.c (is_gdb_python_file): New.
29087         (process_file): Don't issue errors on filenames with -gdb.py
29088         suffix.
29090 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29092         * math/auto-libm-test-in: Add more tests of csin and csinh.
29093         * math/auto-libm-test-out: Regenerated.
29094         * math/libm-test.inc (csin_test_data): Remove tests moved to
29095         auto-libm-test-in.
29096         (csinh_test_data): Likewise.
29098         [BZ #18593]
29099         * math/s_csin.c (__csin): Negate before rather than after possibly
29100         overflowing multiplication.
29101         * math/s_csinf.c (__csinf): Likewise.
29102         * math/s_csinh.c (__csinh): Likewise.
29103         * math/s_csinhf.c (__csinhf): Likewise.
29104         * math/s_csinhl.c (__csinhl): Likewise.
29105         * math/s_csinl.c (__csinl): Likewise.
29106         * math/auto-libm-test-in: Add some tests of csin and csinh.
29107         * math/auto-libm-test-out: Regenerated.
29108         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29109         (csinh_test_data): Likewise.
29110         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29112         [BZ #18586]
29113         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29114         underflow exception for small results.
29116 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29118         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29119         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29120         variable and included header.
29121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29123         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29124         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29125         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29126         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29129         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29130         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29131         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29132         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29133         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29134         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29135         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29136         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29138 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29140         [BZ #16526]
29141         [BZ #16538]
29142         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29143         (__sin): Force underflow exception for arguments with small
29144         absolute value.
29145         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29146         (__kernel_sinf): Force underflow exception for arguments with
29147         small absolute value.
29148         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29149         (__kernel_sincosl): Force underflow exception for arguments with
29150         small absolute value.
29151         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29152         (__kernel_sinl): Force underflow exception for arguments with
29153         small absolute value.
29154         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29155         (__kernel_sincosl): Force underflow exception for arguments with
29156         small absolute value.
29157         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29158         (__kernel_sinl): Force underflow exception for arguments with
29159         small absolute value.
29160         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29161         (__kernel_sinl): Force underflow exception for arguments with
29162         small absolute value.
29163         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29164         (__kernel_sinf): Force underflow exception for arguments with
29165         small absolute value.
29166         * math/auto-libm-test-in: Add more tests of sin and sincos.
29167         * math/auto-libm-test-out: Regenerated.
29169         [BZ #18245]
29170         [BZ #18583]
29171         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29172         (__kernel_standard_l): Use feholdexcept and fesetenv around
29173         conversion to double instead of special-casing overflow and
29174         underflow.
29175         * math/libm-test.inc (fmod_test_data): Add more tests.
29176         (remainder_test_data): Likewise.
29177         (sqrt_test_data): Likewise.
29179 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29181         [BZ #17403]
29182         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29183         atomic_read_barrier, atomic_write_barrier): Define.
29184         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29185         atomic_read_barrier, atomic_write_barrier): Define.
29187 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29189         * math/Makefile [$(PERL) != no]
29190         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29191         dependency on libm-test.stmp below the inclusion of Rules.
29193 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29195         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29196         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29197         and included header.
29198         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29199         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29200         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29201         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29202         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29203         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29204         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29205         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29206         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29207         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29208         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29209         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29210         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29211         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29212         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29213         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29214         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29215         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29216         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29218 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29220         [BZ #18371]
29221         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29222         intermediate but not final result might underflow.
29223         * math/s_csqrtf.c (__csqrtf): Likewise.
29224         * math/s_csqrtl.c (__csqrtl): Likewise.
29225         * math/auto-libm-test-in: Add more tests of csqrt.
29226         * math/auto-libm-test-out: Regenerated.
29227         * sysdeps/i386/fpu/libm-test-ulps: Update.
29229         [BZ #18219]
29230         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29231         threshold on absolute value of exponent for which scaling is used.
29232         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29233         * math/auto-libm-test-in: Add more tests of exp2.
29234         * math/auto-libm-test-out: Regenerated.
29236 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29238         [BZ #17977]
29239         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29240         when initializing interface list, based on the bug analysis
29241         and the patch proposed by Eric Newton.
29242         * resolv/tst-res_hconf_reorder.c: New test.
29243         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29244         tst-res_hconf_reorder.
29245         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29246         and $(shared-thread-library).
29247         (tst-res_hconf_reorder-ENV): New variable.
29249         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29250         in comment.
29252 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29254         [BZ #16353]
29255         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29256         (__expm1): Force underflow exception for arguments with small
29257         absolute value.
29258         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29259         (__expm1f): Force underflow exception for arguments with small
29260         absolute value.
29261         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29262         (__expm1): Force underflow exception for arguments with small
29263         absolute value.
29264         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29265         (__expm1f): Force underflow exception for arguments with small
29266         absolute value.
29267         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29268         Check for small arguments before calling __expm1.
29269         * math/auto-libm-test-in: Do not mark underflow exceptions as
29270         possibly missing for bug 16353.
29271         * math/auto-libm-test-out: Regenerated.
29273 2015-06-22  Andreas Schwab  <schwab@suse.de>
29275         [BZ #18513]
29276         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29277         PTR queries.
29279 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29281         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29283         * string/strcoll_l.c: Remove unused struct element idxnow.
29285 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29287         [BZ #18569]
29288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29289         underflow and return argument in case of subnormal argument.
29290         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29291         Likewise.
29292         * math/auto-libm-test-in: Add more tests of expm1.
29293         * math/auto-libm-test-out: Regenerated.
29295         [BZ #16361]
29296         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29297         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29298         tiny results.
29299         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29300         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29301         tiny results.
29302         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29303         mark underflow exceptions as possibly missing for bug 16361.
29304         * math/auto-libm-test-out: Regenerated.
29306 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29308         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29309         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29310         Remove variable.
29311         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29312         (test-xfail-XOPEN2K8/utmpx.h/conform).
29314         * conform/conformtest.pl ($xerrors): New variable.
29315         (note_error): New function.
29316         (compiletest): New argument $xfail.  Use not_error.
29317         (runtest): Likewise.
29318         (top level): Handle xfail- lines.  Update calls to compiletest and
29319         runtest.  Handle xfail- and optional- in headers listed with
29320         allow-header.
29321         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29322         (O_EXEC): Likewise.
29323         (O_SEARCH): Likewise.
29324         * conform/data/stropts.h-data (ioctl): Likewise.
29325         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29326         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29327         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29328         (msghdr.msg_controllen): Likewise.
29329         (cmsghdr.cmsg_len): Likewise.
29330         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29331         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29332         variable.
29333         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29334         (test-xfail-XPG4/stropts.h/conform): Likewise.
29335         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29336         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29337         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29338         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29339         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29340         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29341         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29342         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29343         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29344         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29345         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29346         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29347         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29348         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29349         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29350         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29351         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29352         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29353         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29355 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29357         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29358         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29359         definitions for proper unfolding of __MATHDECL_VEC.
29361 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29363         * benchtests/bench-strcoll.c:
29364         Include string.h.
29365         (main): Remove unused variable res.
29367 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29369         * timezone/Makefile (%/UTC %/Universal):
29370         Generate test-result files for UTC and Universal.
29372 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29374         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29376 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29378         [BZ #16350]
29379         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29380         for arguments with small absolute value.
29381         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29382         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29383         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29384         (__asinh): Force underflow exception for arguments with small
29385         absolute value.
29386         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29387         (__asinhf): Force underflow exception for arguments with small
29388         absolute value.
29389         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29390         (__asinhl): Force underflow exception for arguments with small
29391         absolute value.
29392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29393         (__asinhl): Force underflow exception for arguments with small
29394         absolute value.
29395         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29396         (__asinhl): Force underflow exception for arguments with small
29397         absolute value.
29398         * math/auto-libm-test-in: Do not mark underflow exceptions as
29399         possibly missing for bug 16350.
29400         * math/auto-libm-test-out: Regenerated.
29402         * include/bits/ipc.h: Remove file.
29403         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29404         variable.
29405         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29406         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29407         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29408         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29409         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29410         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29411         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29412         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29413         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29415         * math/auto-libm-test-in: Remove spurious underflow allowance for
29416         tests of cexp.
29417         * math/auto-libm-test-out: Regenerated.
29419         [BZ #18558]
29420         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29421         unconditional definition.
29422         (MCAST_BLOCK_SOURCE): Likewise.
29423         (MCAST_UNBLOCK_SOURCE): Likewise.
29424         (MCAST_LEAVE_GROUP): Likewise.
29425         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29426         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29427         (MCAST_MSFILTER): Likewise.
29428         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29429         Remove variable.
29430         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29431         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29432         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29433         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29434         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29436 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29438         * NEWS: Mention addition of x86_64 vector sincosf.
29439         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29440         * math/test-float-vlen4.h: Likewise.
29441         * math/test-float-vlen8.h: Likewise.
29442         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29443         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29445         * sysdeps/x86_64/fpu/Versions: New versions added.
29446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29447         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29448         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29451         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29452         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29454         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29455         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29456         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29457         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29458         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29459         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29460         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29461         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29462         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29463         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29464         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29465         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29466         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29467         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29468         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29469         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29471         * NEWS: Mention addition of x86_64 vector sincos.
29472         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29473         * math/math.h (__MATHDECL_VEC): New macro.
29474         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29475         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29476         declaration under condition.
29477         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29478         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29479         TEST_VEC_LOOP change.
29480         * math/test-double-vlen4.h: Likewise.
29481         * math/test-double-vlen8.h: Likewise.
29482         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29483         * math/test-float-vlen4.h: Likewise.
29484         * math/test-float-vlen8.h: Likewise.
29485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29486         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29487         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29488         * sysdeps/x86_64/fpu/Versions: New versions added.
29489         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29490         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29491         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29492         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29493         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29494         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29495         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29497         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29498         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29499         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29500         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29501         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29502         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29503         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29504         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29505         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29506         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29507         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29508         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29509         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29510         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29511         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29512         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29514         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29515         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29516         redirections for powf.
29517         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29518         * sysdeps/x86_64/fpu/Versions: New versions added.
29519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29520         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29521         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29522         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29523         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29524         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29525         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29526         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29527         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29528         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29529         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29530         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29531         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29532         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29533         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29534         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29535         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29536         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29537         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29538         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29539         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29540         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29541         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29542         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29543         * math/test-float-vlen16.h: Fixed 2 argument macro.
29544         * math/test-float-vlen4.h: Likewise.
29545         * math/test-float-vlen8.h: Likewise.
29546         * NEWS: Mention addition of x86_64 vector powf.
29548 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29550         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29551         and redefine.
29552         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29553         and redefine.
29554         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29555         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29556         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29558         [BZ #18553]
29559         * resource/getpriority.c (getpriority): Rename to __getpriority
29560         and define as weak alias of __getpriority.
29561         * resource/setpriority.c (setpriority): Rename to __setpriority
29562         and define as weak alias of __setpriority.
29563         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29564         __getpriority and define as weak alias of __getpriority.
29565         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29566         __setpriority and define as weak alias of __setpriority.
29567         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29568         strong name.
29569         (setpriority): Use __setpriority as strong name.
29570         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29571         __getpriority and define as weak alias of __getpriority.
29572         * include/sys/resource.h (__getpriority): Declare.  Use
29573         libc_hidden_proto.
29574         (__setpriority): Likewise.
29575         (getpriority): Don't use libc_hidden_proto.
29576         (setpriority): Likewise.
29577         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29578         getpriority.  Call __setpriority instead of setpriority.
29579         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29580         Remove variable.
29582         [BZ #18547]
29583         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29584         as weak alias of __getttynam.  Use prototype function definition.
29585         Call __setttyent, __getttyent and __endttyent instead of
29586         setttyent, getttyent and endttyent.
29587         (getttyent): Rename to __getttyent and define as weak alias of
29588         __getttyent.  Call __setttyent instead of setttyent.  Call
29589         __fgets_unlocked instead of fgets_unlocked.
29590         (setttyent): Rename to __setttyent and define as weak alias of
29591         __setttyent.
29592         (endttyent): Rename to __endttyent and define as weak alias of
29593         __endttyent.
29594         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29595         (__setttyent): Likewise.
29596         (__endttyent): Likewise.
29597         (getttyent): Don't use libc_hidden_proto.
29598         (setttyent): Likewise.
29599         (endttyent): Likewise.
29600         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29601         __endttyent instead of setttyent, getttyent and endttyent.
29602         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29603         Remove variable.
29605         [BZ #18546]
29606         * socket/recv.c (__recv): Use libc_hidden_def.
29607         * socket/socket.c (__socket): Likewise.
29608         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29609         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29610         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29611         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29612         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29613         libc_hidden_def.
29614         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29615         libc_hidden_weak.
29616         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29617         Use libc_hidden_proto.
29618         (__recv): Likewise.
29619         * socket/Versions (libc): Export __recv and __socket at version
29620         GLIBC_PRIVATE.
29621         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29622         instead of recv.
29623         (init_mq_netlink): Call __socket instead of socket.
29624         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29625         Remove variable.
29627         [BZ #18545]
29628         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29629         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29630         hidden_weak.
29631         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29632         define as alias of __mq_timedsend.  Use hidden_weak.
29633         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29634         __mq_timedsend as strong name.
29635         (mq_timedreceive): Use __mq_timedreceive as strong name.
29636         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29637         (__mq_timedreceive): Likewise.
29638         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29639         __mq_timedreceive instead of mq_timedreceive.
29640         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29641         instead of mq_timedsend.
29642         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29643         Remove variable.
29645         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29646         hidden_def and hidden_weak instead of libc_hidden_def and
29647         libc_hidden_weak.
29648         (top level): Refer to hidden_def in comment.
29649         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29650         macro.  Use it instead of libc_hidden_def.
29651         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29652         specify __GI_* name explicitly.
29653         (mq_timedreceive): Likewise.
29654         (mq_setattr): Likewise.
29656         [BZ #18544]
29657         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29658         __pthread_barrier_init and define as weak alias of
29659         __pthread_barrier_init.
29660         * sysdeps/sparc/nptl/pthread_barrier_init.c
29661         (pthread_barrier_init): Likewise.
29662         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29663         __pthread_barrier_wait and define as weak alias of
29664         __pthread_barrier_wait.
29665         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29666         (pthread_barrier_wait): Likewise.
29667         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29668         (pthread_barrier_wait): Likewise.
29669         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29670         (pthread_barrier_wait): Likewise.
29671         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29672         (pthread_barrier_wait): Likewise.
29673         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29674         __pthread_barrier_wait at version GLIBC_PRIVATE.
29675         * include/pthread.h (__pthread_barrier_init): Declare.
29676         (__pthread_barrier_wait): Likewise.
29677         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29678         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29679         (helper_thread): Likewise.
29680         (init_mq_netlink): Call __pthread_barrier_init instead of
29681         pthread_barrier_init.
29683         [BZ #18542]
29684         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29685         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29686         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29687         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29688         vswscanf.
29689         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29690         Remove variable.
29692         [BZ #18540]
29693         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29694         strong alias of _IO_fflush.  Use libc_hidden_def.
29695         * libio/iofflush_u.c (fflush_unlocked): Rename to
29696         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29697         Use libc_hidden_weak.
29698         * include/stdio.h (__fflush_unlocked): Declare.  Use
29699         libc_hidden_proto.
29700         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29701         fflush_unlocked.
29702         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29703         Remove variable.
29705         [BZ #18539]
29706         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29707         define as weak alias of __addseverity.
29708         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29709         Remove variable.
29710         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29711         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29712         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29714         [BZ #18536]
29715         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29716         (__tfind): Likewise.
29717         (__tdelete): Likewise.
29718         (__twalk): Likewise.
29719         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29720         __twalk to GLIBC_PRIVATE.
29721         * include/search.h (__tsearch): Use libc_hidden_proto.
29722         (__tfind): Likewise.
29723         (__tdelete): Likewise.
29724         (__twalk): Likewise.
29725         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29726         Call __tdelete instead of tdelete.
29727         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29728         tfind.  Call __tsearch instead of tsearch.
29729         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29730         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29731         Remove variable.
29732         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29734         [BZ #18534]
29735         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29736         (dprintf): Define as a weak alias of __dprintf, not a strong
29737         alias.
29738         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29739         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29740         dprintf.
29741         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29742         Remove variable.
29743         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29744         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29746         [BZ #18533]
29747         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29748         not a strong alias.
29749         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29750         Remove variable.
29752         [BZ #18532]
29753         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29754         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29755         (in6addr_loopback): Rename to __in6addr_loopback and define as
29756         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29757         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29758         libc_hidden_proto.
29759         (__in6addr_any): Likewise.
29760         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29761         in6addr_any.
29762         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29763         variable.
29764         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29766 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29768         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29769         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29771         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29772         redirections for pow.
29773         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29774         * sysdeps/x86_64/fpu/Versions: New versions added.
29775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29776         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29777         build of SSE, AVX2 and AVX512 IFUNC versions.
29778         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29779         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29780         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29781         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29782         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29783         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29784         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29785         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29786         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29787         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29788         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29789         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29790         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29791         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29792         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29793         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29794         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29795         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29796         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29797         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29798         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29799         * NEWS: Mention addition of x86_64 vector pow.
29801         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29802         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29803         redirections for expf.
29804         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29805         * sysdeps/x86_64/fpu/Versions: New versions added.
29806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29807         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29808         build of SSE, AVX2 and AVX512 IFUNC versions.
29809         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29810         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29811         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29812         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29813         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29814         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29815         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29816         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29817         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29818         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29819         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29820         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29821         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29822         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29823         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29824         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29825         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29826         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29827         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29828         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29829         * NEWS: Mention addition of x86_64 vector expf.
29831         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29832         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29834         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29835         redirections for exp.
29836         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29837         * sysdeps/x86_64/fpu/Versions: New versions added.
29838         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29839         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29840         build of SSE, AVX2 and AVX512 IFUNC versions.
29841         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29842         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29843         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29844         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29845         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29846         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29847         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29848         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29849         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29850         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29851         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29852         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29853         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29857         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29859         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29860         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29861         * NEWS: Mention addition of x86_64 vector exp.
29863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29864         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29865         redirections for logf.
29866         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29867         * sysdeps/x86_64/fpu/Versions: New versions added.
29868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29869         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29870         build of SSE, AVX2 and AVX512 IFUNC versions.
29871         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29872         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29873         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29875         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29876         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29877         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29878         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29879         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29880         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29881         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29882         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29883         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29884         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29885         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29886         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29889         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29891         * NEWS: Mention addition of x86_64 vector logf.
29893         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29894         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29897         redirections for log.
29898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29899         * sysdeps/x86_64/fpu/Versions: New versions added.
29900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29902         build of SSE, AVX2 and AVX512 IFUNC versions.
29903         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29904         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29905         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29906         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29907         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29908         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29909         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29910         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29911         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29912         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29913         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29914         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29915         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29916         test.
29917         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29919         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29920         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29921         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29922         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29923         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29924         * NEWS: Mention addition of x86_64 vector log.
29926 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29928         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29929         cfi_adjust_cfa_offset argument.
29930         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29931         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29933         [BZ #18034]
29934         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29935         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29936         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29937         ordering using ldar.
29938         (_dl_tlsdesc_dynamic): Likewise.
29939         (_dl_tlsdesc_return_lazy): Likewise.
29940         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29941         relaxed atomics instead of volatile and synchronize with release store.
29942         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29943         volatile.
29944         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29946 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29949         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29950         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29951         * sysdeps/x86_64/fpu/Versions: New versions added.
29952         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29953         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29954         build of SSE, AVX2 and AVX512 IFUNC versions.
29955         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29956         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29957         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29958         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29959         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29960         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29961         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29962         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29963         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29964         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29965         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29966         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29967         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29968         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29969         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29970         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29971         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29972         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29973         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29974         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29975         * NEWS: Mention addition of x86_64 vector sinf.
29977 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29979         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29980         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29981         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29982         Remove variable.
29983         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29984         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29986 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29988         [BZ #18530]
29989         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29990         strong alias of _IO_fputs.  Use libc_hidden_def.
29991         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29992         and define as weak alias of __fputs_unlocked.  Use
29993         libc_hidden_weak.
29994         * include/stdio.h (__fputs_unlocked): Declare.  Use
29995         libc_hidden_proto.
29996         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29997         fputs_unlocked.
29999         [BZ #18529]
30000         * resolv/netdb.h [__USE_POSIX]: Change condition to
30001         [__USE_XOPEN2K].
30002         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30003         not expect.
30004         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30005         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30006         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30007         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30008         [XPG4 || UNIX98] (AI_ALL): Likewise.
30009         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30010         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30011         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30012         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30013         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30014         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30015         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30016         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30017         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30018         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30019         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30020         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30021         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30022         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30023         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30024         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30025         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30026         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30027         [XPG4 || UNIX98] (gai_strerror): Likewise.
30028         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30029         [XPG4 || UNIX98] (getnameinfo): Likewise.
30031         [BZ #18528]
30032         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30033         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30034         __USE_XOPEN2K8].
30035         (getgrent): Likewise.
30036         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30037         expect.
30038         [XPG3 || POSIX2008] (endgrent): Likewise.
30039         [XPG3] (setgrent): Likewise.
30040         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30041         variable.
30042         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30044         [BZ #18527]
30045         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30046         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30047         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30048         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30049         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30050         * include/unistd.h (__getlogin_r): Declare.  Use
30051         libc_hidden_proto.
30052         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30053         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30054         variable.
30055         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30056         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30057         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30059 2015-06-12  Martin Sebor  <msebor@redhat.com>
30061         [BZ #18512]
30062         * Makerules (check-install-supported): New target.
30063         (install): Add check-install-supported as a dependency.
30064         * manual/install.texi (Installing the C Library): Document
30065         that overriding prefix and exec_prefix is not supported.
30066         Mention DESTDIR.
30067         * INSTALL: Regenerate from the above.
30069 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30071         [BZ #18519]
30072         * posix/Versions (libc): Export __libc_pread at version
30073         GLIBC_PRIVATE.
30074         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30075         instead of pread.
30076         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30077         variable.
30079         [BZ #18522]
30080         * misc/efgcvt_r.c
30081         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30082         (cvt_symbol): Use weak_alias instead of strong_alias.
30083         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30084         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30085         Remove variable.
30086         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30087         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30089         [BZ #18520]
30090         * inet/herrno.c (h_errno): Rename to __h_errno.
30091         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30092         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30093         to __h_errno instead of h_errno.
30094         * nptl/herrno.c (h_errno): Rename to __h_errno.
30095         (__h_errno_location): Refer to __h_errno not h_errno.
30096         * resolv/Versions (h_errno): Rename to __h_errno.
30097         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30098         Remove variable.
30099         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30101 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30103         * configure.ac: More strict check for AVX512 assembler support.
30104         * configure: Regenerated.
30106         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30107         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30108         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30109         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30110         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30111         * sysdeps/x86_64/fpu/Versions: New versions added.
30112         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30113         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30114         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30115         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30116         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30117         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30118         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30121         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30122         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30123         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30124         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30125         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30126         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30127         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30128         test.
30129         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30130         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30131         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30132         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30133         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30134         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30135         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30136         * NEWS: Mention addition of x86_64 vector sin.
30138 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30140         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30141         comment.
30143 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30145         [BZ #18479]
30146         * nptl/pt-interp.c: New file.
30147         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30148         Add pt-interp.
30149         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30150         $(common-objpfx)runtime-linker.h.
30152 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30154         * Makeconfig (+interp): Remove unused variable.
30155         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30156         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30157         $(elf-objpfx)runtime-linker.h.
30158         ($(elf-objpfx)runtime-linker.h): Rename to
30159         $(common-objpfx)runtime-linker.h and move ...
30160         * Makerules [$(build-shared) = yes]: ... here.
30161         * elf/interp.c: Include <runtime-linker.h> instead of
30162         <elf/runtime-linker.h>.
30164 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30166         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30167         (__gettimeofday_syscall): Remove vsyscall fallback.
30168         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30169         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30170         Add syscall fallback function.
30171         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30172         if vDSO is not present.
30173         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30174         fallback function.
30175         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30176         present.
30177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30178         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30180 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30182         [BZ #18497]
30183         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30184         of wcscmp.
30185         (wcscmp): Define as weak alias of WCSCMP.
30186         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30187         wcscoll.
30188         (USE_HIDDEN_DEF): Define.
30189         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30190         __wcscoll.  Don't use libc_hidden_weak.
30191         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30192         wcscmp.
30193         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30194         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30195         __GI_wcscmp.
30196         (weak_alias): Undefine and redefine.
30197         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30198         __wcscmp and define as weak alias of __wcscmp.
30199         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30200         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30201         (__wcscoll): Likewise.
30202         (wcscmp): Don't use libc_hidden_proto.
30203         (wcscoll): Likewise.
30204         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30205         wcscoll.
30206         * posix/regexec.c (check_node_accept_bytes): Likewise.
30207         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30208         variable.
30209         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30210         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30212         [BZ #18507]
30213         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30214         __fstatvfs and define as weak alias of __fstatvfs.  Use
30215         libc_hidden_weak.
30216         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30217         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30218         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30219         Define as alias of __fstatvfs, not fstatvfs.
30220         (fstatvfs64): Likewise.
30221         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30222         Define as alias of __statvfs, not statvfs.
30223         (statvfs64): Likewise.
30224         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30225         Remove variable.
30227 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30230         (HAVE_GETCPU_VSYSCALL): Define.
30231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30232         (HAVE_GETCPU_VSYSCALL): Likewise.
30233         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30234         * sysdeps/unix/sysv/linux/sched_getcpu.c
30235         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30236         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30237         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30238         prototype.
30239         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30240         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30241         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30243         Define.
30244         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30245         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30246         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30247         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30249 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30251         * sysdeps/x86_64/fpu/Makefile: New file.
30252         * sysdeps/x86_64/fpu/Versions: New file.
30253         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30254         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30255         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30256         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30257         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30258         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30259         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30260         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30262         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30264         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30266         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30267         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30268         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30269         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30270         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30271         * sysdeps/x86_64/configure: Regenerated.
30272         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30273         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30274         * manual/install.texi (Configuring and compiling): Document
30275         --disable-mathvec.
30276         * INSTALL: Regenerated.
30277         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30279         * math/Makefile: Added rules for vector tests.
30280         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30281         declaration under condition.
30282         * math/test-double-vlen2.h: New file.
30283         * math/test-double-vlen4.h: New file.
30284         * math/test-double-vlen8.h: New file.
30285         * math/test-vec-loop.h: Added initialization macro.
30286         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30288         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30289         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30290         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30291         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30293         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30294         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30295         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30296         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30298         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30299         * sysdeps/x86_64/fpu/Versions: New versions added.
30300         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30302         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30303         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30304         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30305         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30306         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30307         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30309         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30310         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30311         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30312         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30313         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30314         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30315         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30316         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30317         * NEWS: Mention addition of x86_64 vector cosf.
30319         * math/Makefile: Added CFLAGS for new tests.
30320         * math/test-float-vlen16.h: New file.
30321         * math/test-float-vlen4.h: New file.
30322         * math/test-float-vlen8.h: New file.
30323         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30324         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30325         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30326         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30327         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30328         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30329         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30330         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30331         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30332         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30333         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30335 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30337         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30338         * locale/programs/ld-ctype.c: Likewise.
30340 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30342         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30343         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30344         bit_ZMM16_31_state): New macro.
30345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30346         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30348 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30350         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30352 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30354         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30356 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30358         [BZ #18498]
30359         * libio/memstream.c (open_memstream): Rename to __open_memstream
30360         and define as weak alias of __open_memstream.
30361         * include/stdio.h (__open_memstream): Declare.  Use
30362         libc_hidden_proto.
30363         (open_memstream): Don't use libc_hidden_proto.
30364         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30365         open_memstream.
30366         * posix/getopt.c (_getopt_internal_r): Likewise.
30367         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30368         variable.
30369         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30370         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30371         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30373         [BZ #18496]
30374         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30375         instead of wcrtomb.
30377         [BZ #18483]
30378         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30379         [__USE_XOPEN2K8].  Remove redundant #endif.
30380         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30381         Remove redundant #if.
30382         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30383         Remove variable.
30384         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30385         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30387         [BZ #18495]
30388         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30389         (__iswlower): Likewise.
30390         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30391         (__iswlower): Likewise.
30392         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30393         instead of towlower.
30394         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30395         instead of iswlower.  Call __towupper instead of towupper.
30396         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30397         instead of iswalnum.
30399 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30401         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30402         errors to stderr.
30404 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30406         [BZ #15661]
30407         [BZ #17322]
30408         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30409         Check for overflow properly.  Check for O_APPEND.  Ignore large
30410         file system block sizes.  Add comments about problems.
30411         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30412         * manual/filesys.texi (Storage Allocation): New node.
30414 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30416         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30417         cancellable syscalls.
30418         (SYS_ify): Add guard to no redefine it.
30419         (INLINE_SYSCALL): Likewise.
30420         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30421         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30422         SYSCALL_CANCEL instead.
30423         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30424         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30425         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30426         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30427         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30428         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30429         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30430         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30431         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30432         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30433         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30434         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30435         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30436         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30437         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30439         Likewise.
30440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30441         (__libc_pread64): Likewise.
30442         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30443         (__libc_preadv): Likewise.
30444         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30445         (__libc_readv64): Likewise.
30446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30447         (__libc_pwrite): Likewise.
30448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30449         (__libc_pwrite64): Likewise.
30450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30451         (__libc_pwritev): Likewise.
30452         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30453         (__libc_pwritev64): Likewise.
30454         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30455         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30456         (sync_file_range): Likewise.
30457         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30458         Likewise.
30459         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30460         Likewise.
30461         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30462         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30463         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30464         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30465         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30466         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30467         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30468         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30470         Likewise.
30471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30472         (__libc_read64): Likewise.
30473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30474         Likewise.
30475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30476         Likewise.
30477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30478         Likewise.
30479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30480         Likewise.
30481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30482         (__libc_pread64): Likewise.
30483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30484         Likewise.
30485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30486         (__libc_pwrite64): Likewise.
30487         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30488         (sync_file_range): Likewise.
30489         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30490         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30491         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30492         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30493         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30494         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30495         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30496         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30497         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30498         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30499         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30500         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30501         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30502         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30503         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30504         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30505         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30506         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30507         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30508         Likewise.
30509         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30510         Likewise.
30511         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30512         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30513         Likewise.
30514         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30515         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30516         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30517         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30518         Likewise.
30519         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30520         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30521         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30522         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30523         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30525 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30527         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30528         Include dl-vdso.
30529         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30530         Use VDSO routines for gettimeofday, clock_gettime if
30531         available.
30532         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30533         Declare VDSO symbols.
30534         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30535         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30536         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30537         * sysdeps/unix/sysv/linux/arm/Versions: Add
30538         __vdso_clock_gettime.
30540 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30542         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30543         be an inline implementation regardless of library is built within.
30544         (open_not_cancel_2): Likewise.
30545         (__read_nocancel): Likewise.
30546         (__write_nocancel): Likewise.
30547         (openat_not_cancel): Likewise.
30548         (openat_not_cancel_3): Likewise.
30549         (openat64_not_cancel): Likewise.
30550         (openat64_not_cancel_3): Likewise.
30551         (__close_nocancel): Likewise.
30552         (pause_not_cancel): Likewise.
30553         (nanosleep_not_cancel): Likewise.
30554         (sigsuspend_not_cancel): Likewise.
30556 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30558         [BZ #14958]
30559         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30560         wake-up.
30561         (__pthread_rwlock_rdlock_slow): Likewise.
30562         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30563         Likewise.
30564         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30565         Likewise.
30566         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30567         * nptl/tst-rwlock16.c: New file.
30568         * nptl/Makefile (tests): Add new test.
30570 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30572         [BZ #18324]
30573         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30574         missing wake-up of readers.
30575         * nptl/tst-rwlock15.c: New file.
30576         * nptl/Makefile (tests): Add new test.
30578 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30580         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30581         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30582         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30583         and __nacl_supply_interface_rtld.
30584         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30585         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30586         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30587         Add __nacl_supply_interface_rtld.
30588         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30590 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30592         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30593         isfinite.
30594         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30595         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30597 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30599         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30600         __signbit* with standard C99 macros.
30601         * math/e_exp10l.c: Likewise.
30602         * math/e_exp2l.c: Likewise.
30603         * math/e_scalb.c: Likewise.
30604         * math/e_scalbf.c: Likewise.
30605         * math/e_scalbl.c: Likewise.
30606         * math/s_ldexp.c: Likewise.
30607         * math/s_ldexpf.c: Likewise.
30608         * math/s_ldexpl.c: Likewise.
30609         * math/w_atan2.c: Likewise.
30610         * math/w_atan2f.c: Likewise.
30611         * math/w_atan2l.c: Likewise.
30612         * math/w_cosh.c: Likewise.
30613         * math/w_coshf.c: Likewise.
30614         * math/w_coshl.c: Likewise.
30615         * math/w_exp10.c: Likewise.
30616         * math/w_exp10f.c: Likewise.
30617         * math/w_exp10l.c: Likewise.
30618         * math/w_exp2.c: Likewise.
30619         * math/w_exp2f.c: Likewise.
30620         * math/w_exp2l.c: Likewise.
30621         * math/w_fmod.c: Likewise.
30622         * math/w_fmodf.c: Likewise.
30623         * math/w_fmodl.c: Likewise.
30624         * math/w_hypot.c: Likewise.
30625         * math/w_hypotf.c: Likewise.
30626         * math/w_hypotl.c: Likewise.
30627         * math/w_jnl.c: Likewise.
30628         * math/w_lgamma.c: Likewise.
30629         * math/w_lgamma_r.c: Likewise.
30630         * math/w_lgammaf.c: Likewise.
30631         * math/w_lgammaf_r.c: Likewise.
30632         * math/w_lgammal.c: Likewise.
30633         * math/w_lgammal_r.c: Likewise.
30634         * math/w_pow.c: Likewise.
30635         * math/w_powf.c: Likewise.
30636         * math/w_powl.c: Likewise.
30637         * math/w_remainder.c: Likewise.
30638         * math/w_remainderf.c: Likewise.
30639         * math/w_remainderl.c: Likewise.
30640         * math/w_scalb.c: Likewise.
30641         * math/w_scalbf.c: Likewise.
30642         * math/w_scalbl.c: Likewise.
30643         * math/w_scalbln.c: Likewise.
30644         * math/w_scalblnf.c: Likewise.
30645         * math/w_scalblnl.c: Likewise.
30646         * math/w_sinh.c: Likewise.
30647         * math/w_sinhf.c: Likewise.
30648         * math/w_sinhl.c: Likewise.
30649         * math/w_tgamma.c: Likewise.
30650         * math/w_tgammaf.c: Likewise.
30651         * math/w_tgammal.c: Likewise.
30652         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30653         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30654         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30655         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30656         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30657         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30658         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30659         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30660         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30661         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30662         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30663         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30664         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30666         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30667         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30668         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30669         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30670         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30671         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30672         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30673         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30674         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30675         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30676         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30677         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30678         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30679         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30681         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30682         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30683         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30684         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30685         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30686         * stdio-common/printf_fp.c: Likewise.
30687         * stdio-common/printf_fphex.c: Likewise.
30688         * stdio-common/printf_size.c: Likewise.
30690 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30692         [BZ #18470]
30693         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30694         strnlen.
30695         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30696         Remove variable.
30697         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30698         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30699         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30700         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30701         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30702         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30703         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30704         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30705         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30706         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30708         [BZ #18468]
30709         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30710         weak alias of __wmemchr.  Use libc_hidden_weak.
30711         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30712         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30713         instead of wmemchr.
30715 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30717         [BZ #18383]
30718         * elf/tst-tlsalign-extern.c: New file.
30719         * elf/tst-tlsalign-extern-static.c: New file.
30720         * elf/tst-tlsalign-vars.c: New file.
30721         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30722         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30723         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30724         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30725         (test-xfail-tst-tlsalign-extern-static): New variable.
30727 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30729         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30730         Use variable name _sc_err instead of err.
30731         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30732         instead of ret.
30733         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30734         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30735         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30736         (INLINE_SYSCALL): Likewise.
30738         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30739         * include/string.h (__strnlen): Use libc_hidden_proto.
30740         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30741         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30742         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30743         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30744         (libc_hidden_def): Undefine and redefine.
30745         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30746         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30747         __GI_strnlen.
30748         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30749         libc_hidden_def.
30750         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30752         [BZ #18469]
30753         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30754         weak alias of __towlower.  Use libc_hidden_weak.
30755         (towupper): Rename to __towupper and define as weak alias of
30756         __towupper.  Use libc_hidden_weak.
30757         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30758         (__towupper): Likewise.
30759         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30760         __towlower instead of towlower.
30762 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30764         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30765         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30767 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30769         * sysdeps/aarch64/libm-test-ulps: Update.
30771 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30773         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30774         Define.
30775         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30777         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30778         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30779         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30780         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30781         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30783 2015-06-01  Martin Sebor  <msebor@redhat.com>
30785         [BZ #18116]
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30787         (__setcontext): Use extended four-operand version of mtsf whenever
30788         possible.
30789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30790         (__novec_swapcontext): Likewise.
30792 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30794         * benchtests/scripts/compare_bench.py: New file.
30795         * benchtests/scripts/import_bench.py (mean): New function.
30796         (split_list): Likewise.
30797         (do_for_all_timings): Likewise.
30798         (compress_timings): Likewise.
30800         * benchtests/scripts/import_bench.py: New file.
30801         * benchtests/scripts/validate_benchout.py: Import import_bench
30802         instead of jsonschema.
30803         (validate_bench): Remove function.
30804         (main): Use import_bench.
30806 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30808         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30809         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30811 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30815 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30817         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30818         set THREAD_SELF->tid to a magic value and futex-wake it.
30819         Pass its address to the thread_exit system call.
30820         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30821         bit is clear.
30822         * sysdeps/nacl/lowlevellock.h: New file.
30823         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30825         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30826         Add TIMEOUT to current time, don't subtract it.
30828 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30830         [BZ #2981]
30831         [BZ #18422]
30832         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30833         ($(objpfx)tst-audit2.out): Also depend on
30834         $(objpfx)tst-auditmod9b.so.
30835         * elf/tst-audit2.c: Include <dlfcn.h>.
30836         (calloc_called): New.
30837         (calloc): Allow to be called more than once.
30838         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30840 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30842         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30843         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30845 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30847         * stdlib/monetary.h: Fix comment.
30849 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30851         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30852         Avoid using variables in #defines that might cause shadowing.
30853         (INTERNAL_VSYSCALL_CALL): Likewise.
30855 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30857         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30859         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30860         * nptl/lll_timedlock_wait.c: ... to this new file.
30861         * nptl/Makefile (libpthread-routines): Add it.
30862         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30863         * nptl/lll_timedwait_tid.c: ... to this new file.
30864         * nptl/Makefile (libpthread-routines): Add it.
30865         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30866         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30867         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30868         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30869         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30870         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30871         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30872         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30873         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30874         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30876 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30878         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30879         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30880         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30881         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30882         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30884         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30886         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30887         * sysdeps/unix/sysv/linux/tile/sysdep.h
30888         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30889         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30890         using vDSO syscall macro.
30892 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30894         [BZ #17293]
30895         * uk_UA: Fix sorting order for Ukrainian locale
30897 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30899         * stdlib/monetary.h: Fix comment.
30901 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30903         [BZ #18234]
30904         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30905         st_mtim and st_ctim members.
30906         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30907         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30908         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30909         (struct stat64): Likewise.
30910         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30911         (struct stat64): Likewise.
30912         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30913         (struct stat64): Likewise.
30915 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30917         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30918         Define and include sysdep-vdso.h.
30919         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30920         Likewise.
30921         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30922         Likewise.
30923         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30924         Define with VDSO_SYMBOL and use PTR_MANGLE.
30925         (__vdso_clock_gettime): Likewise.
30926         (__vdso_clock_getres): Likewise.
30927         (_libc_vdso_platform_setup): Likewise.
30928         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30929         Likewise.
30930         (_libc_vdso_platform_setup): Likewise.
30931         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30932         Likewise.
30933         (__vdso_clock_gettime): Likewise.
30934         (__vdso_clock_getres): Likewise.
30935         (__vdso_get_tbfreq): Likewise.
30936         (__vdso_getcpu): Likewise.
30937         (__vdso_time): Likewise.
30938         (__vdso_sigtramp_rt64): Likewise.
30939         (__vdso_signtramp32): Likewise.
30940         (__vdso_sigtramp_rt32): Likewise.
30941         (_libc_vdso_platform_setup): Likewise.
30942         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30943         Likewise.
30944         (__vdso_clock_gettime): Likewise.
30945         (__vdso_clock_getres): Likewise.
30946         (_libc_vdso_platform_setup): Likewise.
30947         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30948         Likewise.
30949         (__vdso_clock_gettime): Likewise.
30950         (_libc_vdso_platform_setup): Likewise.
30951         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30952         Likewise.
30953         (__vdso_getcpu): Likewise.
30954         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30955         Use VDSO_SYMBOL macro to define.
30956         (__vdso_clock_gettime): Likewise.
30957         (__vdso_clock_getres): Likewise.
30958         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30959         Likewise.
30960         (__vdso_clock_gettime): Likewise.
30961         (__vdso_clock_getres): Likewise.
30962         (__vdso_get_tbfreq): Likewise.
30963         (__vdso_getcpu): Likewise.
30964         (__vdso_time): Likewise.
30965         (__vdso_sigtramp_rt64): Likewise.
30966         (__vdso_signtramp32): Likewise.
30967         (__vdso_sigtramp_rt32): Likewise.
30968         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30969         Likewise.
30970         (__vdso_clock_gettime): Likewise.
30971         (__vdso_clock_getres): Likewise.
30972         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30973         Likewise.
30974         (__vdso_clock_gettime): Likewise.
30975         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30976         Likewise.
30977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30978         macro.
30979         (INTERNAL_VSYSCALL): Likewise.
30980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30981         Remove macro.
30982         (INTERNAL_VSYSCALL): Likewise.
30983         (INTERNAL_VSYSCALL_NCS): Likewise.
30984         (INTERNAL_VSYSCALL_CALL): New macro.
30985         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30987         Likewise.
30988         (INTERNAL_VSYSCALL): Likewise.
30989         (INTERNAL_VSYSCALL_NCS): Likewise.
30990         (INTERNAL_VSYSCALL_CALL): New macro.
30991         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30993         (INLINE_VSYSCALL): Remove macro.
30994         (INTERNAL_VSYSCALL): Remove macro.
30995         (INTERNAL_VSYSCALL_NCS): Remove macro.
30996         (INTERNAL_VSYSCALL_CALL): New macro.
30997         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30998         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30999         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31000         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31001         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31003         (INLINE_VSYSCALL): Remove macro.
31004         (INTERNAL_VSYSCALL): Likewise.
31005         (INTERNAL_VSYSCALL_NCS): Likewise.
31006         (INTERNAL_VSYSCALL_CALL): New macro.
31007         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31008         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31009         PTR_DEMANGLE on vDSO pointer.
31010         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31011         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31012         macro.
31013         (INTERNAL_SYSCALL): Likewise.
31014         (INTERNAL_VSYSCALL_NCS): Remove macro.
31015         (INTERNAL_VSYSCALL_CALL): New macro.
31016         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31017         Remove macro.
31018         (INTERNAL_VSYSCALL): Likewise.
31019         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31020         sysdep-vdso.h instead of libc-vdso.h.
31021         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31022         definition.
31023         (INLINE_VSYSCALL): Likewise.
31024         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31025         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31026         definition.
31027         (INLINE_VSYSCALL): Likewise.
31028         (INTERNAL_VSYSCALL): Likewise.
31029         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31030         * sysdeps/unix/sysv/linux/timespec_get.c
31031         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31032         (timespec_get): Use ANSI prototype.
31033         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31034         and definition for Linux.
31036 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31038         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31039         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31041 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31043         [BZ #2981]
31044         [BZ #18410]
31045         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31046         for missing DT_PLTRELSZ.
31048 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31050         Remove obsolete aliases that broke 'locale -a'
31051         [BZ #18412]
31052         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31053         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31054         breaking some applications that use 'locale -a' output.
31055         Change the encoding of this file from Latin-1 to ASCII to avoid
31056         other potential problems with people grepping this file.
31058 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31060         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31061         -fasynchronous-unwind-tables.
31062         (CFLAGS-sendto.c): Likewise.
31063         (CFLAGS-sendmsg.c): Likewise.
31064         (CFLAGS-connect.c): Likewise.
31065         (CFLAGS-recvmsg.c): Likewise.
31066         (CFLAGS-recvfrom.c): Likewise.
31067         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31068         (SOCKETCALL): New macro: non-cancellable socketcall.
31069         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31070         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31071         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31072         * sysdeps/unix/sysv/linux/accept.c: New file.
31073         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31074         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31075         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31076         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31077         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31078         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31079         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31080         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31081         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31082         * sysdeps/unix/sysv/linux/send.c: Likewise.
31083         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31084         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31085         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31086         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31087         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31088         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31089         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31090         prototype.
31091         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31092         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31093         instead of __internal_xxx function.
31094         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31095         prototype.
31096         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31097         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31098         instead of __internal_xxx function.
31099         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31100         prototype.
31101         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31102         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31103         instead of __internal_xxx function.
31104         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31105         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31106         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31107         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31108         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31109         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31110         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31111         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31112         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31113         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31114         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31115         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31116         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31117         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31118         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31119         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31120         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31121         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31122         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31123         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31126         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31127         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31128         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31129         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31130         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31131         * sysdeps/unix/sysv/linux/send.S: Likewise.
31132         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31133         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31134         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31135         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31136         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31137         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31138         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31139         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31140         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31141         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31142         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31143         socketcall is implemented in GLIBC.
31145 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31147         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31148         (__fma): Ignore uninitialized warnings around packing.
31149         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31150         (__fmaf): Ignore uninitialized warnings around packing.
31151         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31152         (__fmal): Ignore uninitialized warnings around packing.
31154         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31155         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31156         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31157         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31159         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31160         switch statement into default case.
31161         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31163         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31164         a conditional in forcing "inexact".
31165         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31166         Likewise.
31168 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31170         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31171         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31172         for each INTERNAL_SYSCALL use.
31174 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31176         [BZ #438]
31177         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31178         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31179         variable.
31181         [BZ #18444]
31182         * string/basename.c (basename): Rename to __basename and define as
31183         weak alias of __basename.  Use libc_hidden_weak.
31184         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31185         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31186         __basename instead of basename.
31187         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31188         Remove variable.
31189         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31191 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31193         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31194         (_IO_JUMPS_FILE_plus): New.
31195         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31196         _IO_CAST_FIELD_ACCESS.
31197         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31198         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31199         * libio/freopen.c (freopen): Likewise.
31200         * libio/freopen64.c (freopen64): Likewise.
31201         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31202         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31203         * libio/iofwide.c (_IO_fwide): Likewise.
31204         * libio/memstream.c (open_memstream): Likewise.
31205         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31206         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31207         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31209 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31211         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31212         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31213         NADJ.
31214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31215         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31216         NADJ.
31217         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31218         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31219         NADJ.
31221         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31222         (p == 4) case.
31224         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31225         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31226         Remove variable.
31227         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31228         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31229         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31231 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31233         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31234         Adjust jump table label generation macros.
31236 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31238         * stdio-common/vfprintf.c (vfprintf): Move local variables
31239         args_malloced, specs, specs_malloced, and the code after
31240         do_positional to the printf_positional function.
31241         (printf_positional): New function.
31243 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31245         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31246         function.
31247         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31248         STEP4_TABLE, process_arg): Move macro definitions
31249         out of the vfprintf function.  (Cosmetic change only.)
31251 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31253         * benchtests/Makefile (stdio-common-bench): Define.
31254         (benchset): Add stdio-common-bench.
31255         * sprintf-inputs: New file.
31256         * sprintf-source.c: New file.
31258 2015-05-21  Andreas Schwab  <schwab@suse.de>
31260         [BZ #13028]
31261         [BZ #17053]
31262         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31263         of struct __res_state.
31264         * resolv/res_send.c (__libc_res_nsend): Likewise.
31265         (get_nsaddr): New function.
31266         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31267         statp directly.
31269 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31271         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31272         -D_POSIX_C_SOURCE=199506L.
31274         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31276         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31277         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31278         Do not mention otherwise.
31279         [POSIX] (_XOPEN_VERSION): Do not expect.
31280         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31281         [POSIX] (_POSIX2_C_BIND): Likewise.
31282         [POSIX] (_POSIX2_VERSION): Likewise.
31283         [POSIX] (_XOPEN_XPG2): Likewise.
31284         [POSIX] (_XOPEN_XPG3): Likewise.
31285         [POSIX] (_XOPEN_XPG4): Likewise.
31286         [POSIX] (_XOPEN_UNIX): Likewise.
31287         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31288         [POSIX] (_POSIX_BARRIERS): Likewise.
31289         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31290         [POSIX] (_POSIX_CPUTIME): Likewise.
31291         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31292         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31293         [POSIX] (_POSIX_SHELL): Likewise.
31294         [POSIX] (_POSIX_SPAWN): Likewise.
31295         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31296         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31297         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31298         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31299         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31300         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31301         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31302         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31303         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31304         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31305         [POSIX] (_POSIX2_PBS): Likewise.
31306         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31307         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31308         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31309         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31310         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31311         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31312         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31313         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31314         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31315         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31316         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31317         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31318         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31319         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31320         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31321         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31322         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31323         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31324         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31325         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31326         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31327         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31328         [POSIX] (_SC_2_C_BIND): Likewise.
31329         [POSIX] (_SC_2_C_VERSION): Likewise.
31330         [POSIX] (_SC_2_PBS): Likewise.
31331         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31332         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31333         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31334         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31335         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31336         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31337         [POSIX] (_SC_BARRIERS): Likewise.
31338         [POSIX] (_SC_BASE): Likewise.
31339         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31340         [POSIX] (_SC_DEVICE_IO): Likewise.
31341         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31342         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31343         [POSIX] (_SC_FD_MGMT): Likewise.
31344         [POSIX] (_SC_FIFO): Likewise.
31345         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31346         [POSIX] (_SC_FILE_LOCKING): Likewise.
31347         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31348         [POSIX] (_SC_IOV_MAX): Likewise.
31349         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31350         [POSIX] (_SC_NETWORKING): Likewise.
31351         [POSIX] (_SC_PAGE_SIZE): Likewise.
31352         [POSIX] (_SC_PASS_MAX): Likewise.
31353         [POSIX] (_SC_PIPE): Likewise.
31354         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31355         [POSIX] (_SC_REGEXP): Likewise.
31356         [POSIX] (_SC_SHELL): Likewise.
31357         [POSIX] (_SC_SIGNALS): Likewise.
31358         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31359         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31360         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31361         [POSIX] (_SC_USER_GROUPS): Likewise.
31362         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31363         [POSIX] (_SC_STREAMS): Likewise.
31364         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31365         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31366         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31367         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31368         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31369         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31370         [POSIX] (_PC_FILESIZEBITS): Likewise.
31371         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31372         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31373         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31374         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31375         [POSIX] (uid_t): Likewise.
31376         [POSIX] (gid_t): Likewise.
31377         [POSIX] (off_t): Likewise.
31378         [POSIX] (pid_t): Likewise.
31379         [POSIX] (cuserid): Allow.
31380         (_SC_2_CHAR_TERM): Require constant.
31381         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31382         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31383         variable.
31385 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31387         * sysdeps/nacl/pthread-pids.h: New file.
31388         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31389         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31391         * nptl/pthread-pids.h: New file.
31392         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31393         * nptl/nptl-init.c: Include <pthread-pids.h>.
31394         (__pthread_initialize_minimal_internal):
31395         Call __pthread_initialize_pids instead of set_tid_address syscall.
31397         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31398         * sysdeps/posix/usleep.c: ... here.
31400 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31402         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31403         call_pselect6 object.
31404         [$(subdir) = io]: Remove call_sync_file_range object.
31405         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31406         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31407         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31408         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31410 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31412         * math/s_cproj.c: Add include "math_private.h".
31413         * math/s_cprojf.c: Likewise.
31414         * math/s_cprojl.c: Likewise.
31416 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31418         [BZ #18244]
31419         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31420         high mantissa bit when testing whether P is a NaN.
31421         * math/libm-test.inc (remainder_test_data): Add more tests.
31422         (remquo_test_data): Likewise.
31424         [BZ #18049]
31425         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31426         below -32, return the argument, with underflow if subnormal.
31427         * math/auto-libm-test-in: Add more tests of atanh.
31428         * math/auto-libm-test-out: Regenerated.
31430 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31432         [BZ #18434]
31433         * nptl/tst-sem15.c: New file.
31434         * nptl/Makefile (tests): Add it.
31435         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31436         s/<</>>/ to fix typo in EOVERFLOW check.
31437         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31439 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31441         * manual/strings.texi (envz_remove): Fix typo in safety
31442         annotations.
31444 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31445             Steve Ellcey  <sellcey@imgtec.com>
31447         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31448         in order to avoid strict alias warnings.
31449         (iruserok_af): Ditto for ra.
31451 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31453         [BZ #17581]
31454         * malloc/hooks.c
31455         (magicbyte): Convert to a function and avoid returning 0x01.
31456         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31457         (mem2chunk_check): Fix unsigned comparisons to zero.
31458         Hoist defs of sz and magic.
31460 2015-05-19  Richard Henderson  <rth@redhat.com>
31462         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31464         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31466 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31468         [BZ #16159]
31469         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31470         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31471         (reused_arena): Find a non-corrupt arena.
31472         (heap_trim): Pass arena to unlink.
31473         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31474         malloc_printerr.
31475         (top_check): Likewise.
31476         (free_check): Likewise.
31477         (realloc_check): Likewise.
31478         * malloc/malloc.c (malloc_printerr): Add arena argument.
31479         (unlink): Likewise.
31480         (munmap_chunk): Adjust.
31481         (ARENA_CORRUPTION_BIT): New macro.
31482         (arena_is_corrupt): Likewise.
31483         (set_arena_corrupt): Likewise.
31484         (sysmalloc): Use mmap if there are no usable arenas.
31485         (_int_malloc): Likewise.
31486         (__libc_malloc): Don't fail if arena_get returns NULL.
31487         (_mid_memalign): Likewise.
31488         (__libc_calloc): Likewise.
31489         (__libc_realloc): Adjust for additional argument to
31490         malloc_printerr.
31491         (_int_free): Likewise.
31492         (malloc_consolidate): Likewise.
31493         (_int_realloc): Likewise.
31494         (_int_memalign): Don't touch corrupt arenas.
31495         * malloc/tst-malloc-backtrace.c: New test case.
31497         * Makefile (summarize-tests): Fix return value on success.
31499         * manual/string.texi (Envz Functions): Add envz_remove.
31501 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31503         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31504         (invalid_name): New function, broken out of ...
31505         (__opendirat): ... here.  Call it.
31506         (need_isdir_precheck): New function, broken out of ...
31507         (__opendirat): ... here.  Call it.
31508         Use __fxstatat64, not __xstatat64.
31509         (opendir_oflags): New function, broken out of ...
31510         (__opendirat): ... here.  Call it.
31511         (opendir_tail): New function, broken out of ...
31512         (__opendirat): ... here.  Call it.
31513         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31514         opendir_tail, rather than punting to __opendirat.
31515         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31517 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31519         * .gitignore: Ignore generated *.pyc.
31521 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31523         * include/stdio.h: Define __need_wint_t.
31524         * test-skeleton.c: Avoid `for' loop initial declaration.
31525         * nptl/tst-initializers1.c: Use test-skeleton.c.
31527 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31529         [BZ #18418]
31530         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31532 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31534         [BZ #16352]
31535         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31536         (__ieee754_atanh): Force underflow exception for results with
31537         small absolute value.
31538         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31539         (__ieee754_atanhf): Force underflow exception for results with
31540         small absolute value.
31541         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31542         (__ieee754_atanh): Force underflow exception for results with
31543         small absolute value.
31544         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31545         (__ieee754_atanhf): Force underflow exception for results with
31546         small absolute value.
31547         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31548         (__ieee754_atanhl): Force underflow exception for results with
31549         small absolute value.
31550         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31551         (__ieee754_atanhl): Force underflow exception for results with
31552         small absolute value.
31553         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31554         (__ieee754_atanhl): Force underflow exception for results with
31555         small absolute value.
31556         * math/auto-libm-test-in: Do not allow missing underflow
31557         exceptions from atanh.
31558         * math/auto-libm-test-out: Regenerated.
31560         [BZ #18221]
31561         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31562         2**-28 as threshold for returning x or +/- 1/x.
31563         * math/auto-libm-test-in: Add more tests of tan.
31564         * math/auto-libm-test-out: Regenerated.
31566         [BZ #18220]
31567         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31568         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31569         * math/auto-libm-test-in: Add another test of lgamma.
31570         * math/auto-libm-test-out: Regenerated.
31572 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31574         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31575         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31576         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31577         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31578         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31579         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31580         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31581         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31583         (log1): Use fabs.  (my_log2): Use fabs.
31584         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31585         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31586         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31587         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31589         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31590         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31591         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31592         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31593         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31594         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31596 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31598         [BZ #18217]
31599         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31600         as threshold for returning 1 - x.
31601         * math/auto-libm-test-in: Add more tests of erfc.
31602         * math/auto-libm-test-out: Regenerated.
31604 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31606         [BZ #18196]
31607         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31608         threshold for large arguments.
31609         * math/auto-libm-test-in: Add another test of atan.
31610         * math/auto-libm-test-out: Regenerated.
31612         [BZ #16339]
31613         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31614         (__log1p): Force underflow exception for results with small
31615         absolute value.
31616         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31617         (__log1pf): Force underflow exception for results with small
31618         absolute value.
31619         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31620         (__log1p): Force underflow exception for results with small
31621         absolute value.
31622         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31623         (__log1pf): Force underflow exception for results with small
31624         absolute value.
31625         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31626         (__log1pl): Force underflow exception for results with small
31627         absolute value.
31628         * math/auto-libm-test-in: Do not allow missing underflow
31629         exceptions from log1p.
31630         * math/auto-libm-test-out: Regenerated.
31632 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31633             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31635         [BZ #16704]
31636         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31638 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31640         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31641         (libmvec): New variable.
31642         * configure.ac: Added option for mathvec build.
31643         * configure: Regenerated.
31644         * mathvec/Depend: New file.
31645         * mathvec/Makefile: New file.
31646         * shlib-versions: Added libmvec.
31647         * math/Makefile: Added rule for libm.so installation.
31649         * bits/math-vector.h: New file.
31650         * bits/libm-simd-decl-stubs.h: New header.
31651         * math/Makefile (headers): Added new header
31652         libm-simd-decl-stubs.h.
31653         * math/math.h (__MATHCALL_VEC): New macro.
31655         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31656         for conditions in testing functions.
31657         * math/Makefile: Added call of libm-have-vector-test.sh.
31658         * math/libm-test.inc (HAVE_VECTOR): New macros.
31660         * math/libm-test.inc: START refactored.
31661         * math/test-double.c (TEST_MATHVEC): Add define.
31662         * math/test-float.c: Likewise.
31663         * math/test-idouble.c: Likewise.
31664         * math/test-ifloat.c: Likewise.
31665         * math/test-ildoubl.c: Likewise.
31666         * math/test-ldouble.c: Likewise.
31667         * sysdeps/generic/math-tests-arch.h
31668         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31669         architecture check.
31671         * math/test-double.c (FUNC_TEST): New macro.
31672         * math/test-float.c: Likewise.
31673         * math/test-idouble.c: Likewise.
31674         * math/test-ifloat.c: Likewise.
31675         * math/test-ildoubl.c: Likewise.
31676         * math/test-ldouble.c: Likewise.
31677         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31679 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31681         * sysdeps/nacl/fdopendir.c: New file.
31683         * dirent/scandir-tail.c: New file.
31684         * dirent/scandir64-tail.c: New file.
31685         * dirent/Makefile (routines): Add them.
31686         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31687         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31688         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31689         [!SCANDIR] (SCANDIR_TAIL): New macro.
31690         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31691         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31692         (SCANDIRAT): Macro removed.
31693         (SCANDIR_TAIL): New macro.
31694         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31695         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31696         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31697         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31698         (READDIR): Macro removed.
31699         (SCANDIR_TAIL): New macro.
31700         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31701         (SCANDIR_TAIL): New macro.
31703         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31704         * dirent/scandir-cancel.c: ... to this new file.
31705         * dirent/Makefile (routines): Add it.
31706         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31707         * sysdeps/unix/sysv/linux/i386/scandir64.c
31708         (SKIP_SCANDIR_CANCEL): Macro removed.
31709         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31711         * dirent/tst-scandir.c: New file.
31712         * dirent/tst-scandir64.c: New file.
31713         * dirent/Makefile (tests): Add them.
31715 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31717         [BZ #18409]
31718         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31720 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31722         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31723         list.
31725 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31727         * benchtests/bench-strcoll.c: New benchmark.
31728         * benchtests/Makefile: Generate locales and run benchmark.
31729         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31730         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31731         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31732         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31733         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31734         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31735         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31736         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31737         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31738         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31739         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31740         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31741         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31742         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31743         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31744         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31745         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31746         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31747         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31748         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31749         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31750         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31751         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31752         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31754 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31756         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31757         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31759 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31761         * posix/uname-values.h: New file.
31762         * posix/uname.c: Include that instead of <config-name.h>.
31763         * sysdeps/nacl/uname-values.h: New file.
31764         * sysdeps/arm/nacl/uname-values.h: New file.
31766 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31768         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31769         splitting into fields.
31771 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31773         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31774         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31775         * locale/localeinfo.h: Add enum collation_encoding_type.
31776         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31777         * programs/ld-collate.c (collate_output): Add encoding type info.
31778         * string/strcoll_l.c (STRDIFF): New function.
31779         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31780         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31782 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31784         [BZ #18397]
31785         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31786         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31787         <fpu_control.h> instead of <math/fpu_control.c>.
31788         * sysdeps/mips/mips32/fpu/Makefile: New file.
31790 2015-05-11  Andreas Schwab  <schwab@suse.de>
31792         [BZ #18007]
31793         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31794         nss_endgrent.
31795         (_nss_compat_endgrent): Call nss_endgrent.
31796         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31797         nss_endpwent.
31798         (_nss_compat_endpwent): Call nss_endpwent.
31799         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31800         needent, call nss_setspent only if non-zero.
31801         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31802         (internal_endspent): Don't call nss_endspent.
31803         (_nss_compat_endspent): Call nss_endspent.
31804         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31805         Remove.  All uses removed.
31806         (internal_setent): Remove parameter stayopen, add parameter
31807         stream.  Use it instead of global variable.
31808         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31809         (internal_endent, internal_getent): Add parameter stream.  Use it
31810         instead of global variable.
31811         (CONCAT(_nss_files_end,ENTNAME))
31812         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31813         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31814         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31815         uses removed.
31816         (internal_setent, internal_endent): Add parameter stream.  Use it
31817         instead of global variable.
31818         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31819         stream.
31820         (get_next_alias): Add parameter stream.
31821         (_nss_files_getaliasent_r): Pass global stream.
31822         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31823         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31824         (_nss_files_gethostbyname4_r): Pass local stream to
31825         internal_setent, internal_getent and internal_endent.  Remove
31826         locking.
31828 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31830         * tst-strfmon1.c (tests): Update expected currency symbol.
31832 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31834         * sysdeps/nacl/gethostname.c: New file.
31836 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31838         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31839         and sinh.
31840         * math/auto-libm-test-out: Regenerated.
31841         * sysdeps/i386/fpu/libm-test-ulps: Update.
31842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31844 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31846         [BZ #18125]
31847         * stdlib/tst-setcontext3.c: New file.
31848         * stdlib/tst-setcontext3.sh: New file.
31849         * stdlib/Makefile (tests): Add tst-setcontext3.
31850         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31851         to verify test program created output file.
31852         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31853         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31854         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31855         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31857 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31859         [BZ #18383]
31860         * elf/tst-tlsalign.c: New file.
31861         * elf/tst-tlsalign-static.c: New file.
31862         * elf/tst-tlsalign-lib.c: New file.
31863         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31864         (tests-static): Add tst-tlsalign-static.
31865         (modules-names): Add tst-tlsalign-lib.
31866         (test-xfail-tst-tlsalign): New variable.
31867         (test-xfail-tst-tlsalign-static): New variable.
31869         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31870         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31872 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31874         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31875         csqrt, erfc, sin and sincos.
31876         * math/auto-libm-test-out: Regenerated.
31877         * sysdeps/i386/fpu/libm-test-ulps: Update.
31878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31880 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31882         * sysdeps/aarch64/libm-test-ulps: Update.
31884 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31886         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31887         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31888         * math/auto-libm-test-out: Regenerated.
31889         * sysdeps/i386/fpu/libm-test-ulps: Update.
31890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31892 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31894         [BZ #18265]
31895         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31896         (wcsncpy): Likewise.
31898 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31900         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31901         Assume __ASSUME_FALLOCATE is always true.
31902         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31903         (__posix_fallocate64_l64): Likewise.
31904         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31905         (posix_fallocate): Likewise.
31906         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31907         (__posix_fallocate64_l64): Likewise.
31908         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31909         [!__ASSUME_FALLOCATE]: Add comment.
31911 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31913         * sysdeps/unix/sysv/linux/i386/Makefile
31914         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31915         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31916         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31917         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31918         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31919         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31920         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31922 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31924         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31925         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31926         tgamma.
31927         * math/auto-libm-test-out: Regenerated.
31928         * sysdeps/i386/fpu/libm-test-ulps: Update.
31929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31931 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31933         * math/auto-libm-test-in: Add more tests of tgamma.
31934         * math/auto-libm-test-out: Regenerated.
31935         * sysdeps/i386/fpu/libm-test-ulps: Update.
31936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31938         * math/auto-libm-test-in: Add more tests of tanh.
31939         * math/auto-libm-test-out: Regenerated.
31940         * sysdeps/i386/fpu/libm-test-ulps: Update.
31941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31943         * math/auto-libm-test-in: Add more tests of tan.
31944         * math/auto-libm-test-out: Regenerated.
31945         * sysdeps/i386/fpu/libm-test-ulps: Update.
31946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31948         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
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 another test of pow.
31954         * math/auto-libm-test-out: Regenerated.
31955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31957         * math/auto-libm-test-in: Add more tests of lgamma.
31958         * math/auto-libm-test-out: Regenerated.
31959         * sysdeps/i386/fpu/libm-test-ulps: Update.
31960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31962         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31963         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31970         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31971         Elf64_Chdr structs and ELFCOMPRESS constants.
31973 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31975         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31976         expm1.
31977         * math/auto-libm-test-out: Regenerated.
31978         * sysdeps/i386/fpu/libm-test-ulps: Update.
31979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31981         * math/auto-libm-test-in: Add more tests of erf and erfc.
31982         * math/auto-libm-test-out: Regenerated.
31983         * sysdeps/i386/fpu/libm-test-ulps: Update.
31984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31986 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31988         * config.h.in (HAVE_AARCH64_BE): Add.
31990 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31992         * math/auto-libm-test-in: Add more tests of csqrt.
31993         * math/auto-libm-test-out: Regenerated.
31994         * sysdeps/i386/fpu/libm-test-ulps: Update.
31995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31997         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31998         * math/auto-libm-test-out: Regenerated.
31999         * sysdeps/i386/fpu/libm-test-ulps: Update.
32000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32002         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32004 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32006         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32007         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32009         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32010         (euidaccess, eaccess): Define as weak aliases.
32012         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32013         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32014         but __suseconds_t is often 'long int' so some sources assume that
32015         type is being used (e.g. they use %ld to print tv_usec).
32017 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32019         [BZ #18007]
32020         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32021         (CVE-2014-8121)
32022         * nss/tst-nss-getpwent.c: New file.
32023         * nss/Makefile (tests): Add new test.
32025 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32027         [BZ #18346]
32028         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32029         exponents less than 48 as cases where high part of mantissa needs
32030         examining to determine whether argument is integral.
32031         * math/libm-test.inc (round_test_data): Add more tests.
32033 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32035         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32037 2015-04-27  David S. Miller  <davem@davemloft.net>
32039         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32040         __tls_get_addr.
32041         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32043 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32045         [BZ #18333]
32046         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32048 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32050         [BZ #18333]
32051         * time/tzset.c (parse_tzname): Return error on memory allocation
32052         failure.
32053         * test-skeleton.c (struct temp_name_list): Change type of name
32054         member to non-const.
32055         (add_temp_file): Create a copy of the file name.
32056         (delete_temp_files): Deallocate memory.
32057         (create_temp_file): Add comment.
32059 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32061         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32062         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32064 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32066         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32067         * sysdeps/arm/configure: Regenerated.
32069 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32071         [BZ #17715]
32072         * time/tzfile.c (__tzfile_read): Check for large values of
32073         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32074         * time/tzset.c (__tzstring_len): New function, based on the old
32075         __tzstring function.
32076         (__tzstring): Call __tzstring_len.
32077         (parse_tzname): New helper function extracted from
32078         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32079         the input string.
32080         (parse_offset): New helper function extracted from
32081         __tzset_parse_tz.  Replace switch with fallthrough with
32082         initialization before sscanf.
32083         (parse_rule): Likewise.
32084         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32085         new-style function definition.
32086         * timezone/Makefile (tests): Add tst-tzset.
32087         (tst-tzset.out): Dependencies on time zone files.
32088         (tst-tzset-ENV): Set TZDIR.
32089         (testdata/XT%): Copy crafted time zone files.
32090         * timezone/README: Mention crafted time zone files.
32091         * timezone/testdata/XT1, timezone/testdata/XT2,
32092         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32093         files.
32094         * timezone/tst-tzset.c: New test.
32096 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32098         * Makeconfig (+gccwarn): Remove -Winline.
32100 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32102         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32104 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32106         * NEWS: Mention sysconf() cache information support for s390.
32107         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32109 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32111         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32112         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32113         (__nearbyint): Likewise.
32114         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32115         (copysignl): Likewise.
32117 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32119         [BZ #18287]
32120         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32121         based on padding.  (CVE-2015-1781)
32123 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32125         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32126         libc-vdso.h.
32127         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32128         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32129         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32130         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32131         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32132         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32133         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32134         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32135         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32136         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32137         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32138         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32139         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32140         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32141         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32142         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32143         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32144         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32145         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32146         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32147         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32148         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32149         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32151 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32153         * stdlib/setenv.c (__add_to_environ):
32154         Dump core quickly if setenv (..., NULL, ...) is called.
32155         This time, do it the right way, and pacify GCC with a pragma.
32157 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32159         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32160         IMAP->l_prev cannot be null, and #if out the code for the contrary
32161         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32162         believe that NS (&_dl_ns[NSID]) could point outside the array.
32164         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32165         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32166         before using NSID as an index.
32168 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32170         [BZ #17825]
32171         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32172         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32173         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32175 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32177         Add preliminary port to Google Native Client on ARM.
32178         * abi-tags (.*-.*-nacl.*): New entry.
32179         * sysdeps/arm/nacl: New directory.
32180         * sysdeps/nacl: New directory.
32182 2015-04-16  David S. Miller  <davem@davemloft.net>
32184         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32185         lowlevellock-futex.h
32187 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32189         * sysdeps/tile/configure.ac: New file.
32190         * sysdeps/tile/configure: Regenerated.
32192 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32194         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32195         conditionals for weak_alias and libc_hidden_weak.
32196         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32197         libc_hidden_weak and weak_alias.
32198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32199         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32200         and weak_alias for static one.
32202 2015-04-15  David S. Miller  <davem@davemloft.net>
32204         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32206 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32208         [BZ #18206]
32209         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32210           Use signed comparision instead of substraction to avoid
32211           overflow bug.
32212         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32213           Take the sign of ret.
32214         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32215           Do not expect precise return values. Only the sign matters.
32216         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32217         * wcsmbs/test-wcsncmp.c: New File.
32218         * string/test-strncmp.c: Add wcsncmp support.
32220 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32222         [BZ #6792]
32223         * math/w_log1p.c: New file.
32224         * math/w_log1pf.c: Likewise.
32225         * math/w_log1pl.c: Likewise.
32226         * math/Makefile (libm-calls): Add w_log1p.
32227         * math/s_log1pl.c (log1pl): Remove weak_alias.
32228         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32229         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32230         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32231         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32232         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32233         [NO_LONG_DOUBLE] (log1pl): Likewise.
32234         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32235         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32236         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32237         (log1p): Remove long_double_symbol.
32238         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32239         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32240         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32241         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32242         remove weak_alias for corresponding log1p function.
32243         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32244         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32245         * sysdeps/ia64/fpu/w_log1p.c: New file.
32246         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32247         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32248         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32250 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32252         [BZ #18247]
32253         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32254         decimal exponent by 1.
32255         * stdlib/tst-strtod-round-data: Add more tests.
32256         * stdlib/tst-strtod-round.c (tests): Regenerated.
32258 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32260         * math/auto-libm-test-in: Add more tests of clog and clog10.
32261         * math/auto-libm-test-out: Regenerated.
32262         * sysdeps/i386/fpu/libm-test-ulps: Update.
32263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32265 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32267         * Makeconfig (module-cppflags): Exclude all .v.i files.
32268         (skip-module-cppflags): Variable removed.
32270         * configure.ac (libc_config_ok): Initialize before reading
32271         preconfigure scripts, not after.
32272         * configure: Regenerated.
32274         * test-skeleton.c (TIMEOUT): Move #define to top level.
32275         (main): Grok environment variable TEST_DIRECT.  If set, print
32276         test expectation details into that file and then behave as if
32277         given --direct.
32279 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32281         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32282         warning on 32-bit.
32284 2015-04-08  David S. Miller  <davem@davemloft.net>
32286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32288 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32290         * math/auto-libm-test-in: Add more tests of atanh.
32291         * math/auto-libm-test-out: Regenerated.
32292         * sysdeps/i386/fpu/libm-test-ulps: Update.
32293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32295         * math/auto-libm-test-in: Add more tests of atan.
32296         * math/auto-libm-test-out: Regenerated.
32297         * sysdeps/i386/fpu/libm-test-ulps: Update.
32298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32300 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32302         * elf/pldd.c (main): Rewrite to use struct
32303         scratch_buffer instead of extend_alloca.
32304         * elf/pldd-xx.c (find_maps): Likewise.
32305         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32306         <alloca.h>.
32307         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32308         scratch_buffer instead of extend_alloca.
32309         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32310         grp/compat-initgroups.c.
32311         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32312         Rewrite to use struct scratch_buffer instead of extend_alloca.
32313         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32314         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32316 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32318         * math/auto-libm-test-in: Add more tests of cbrt.
32319         * math/auto-libm-test-out: Regenerated.
32320         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32322         * math/auto-libm-test-in: Add more tests of cabs.
32323         * math/auto-libm-test-out: Regenerated.
32324         * sysdeps/i386/fpu/libm-test-ulps: Update.
32325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32327         [BZ #18210]
32328         [BZ #18211]
32329         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32330         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32331         computations.
32332         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32333         clog10.
32334         * math/auto-libm-test-out: Regenerated.
32335         * sysdeps/i386/fpu/libm-test-ulps: Update.
32336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32338         [BZ #18197]
32339         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32340         (atan): Set FE_TONEAREST mode for internal computations.
32341         * math/auto-libm-test-in: Add more tests of atan.
32342         * math/auto-libm-test-out: Regenerated.
32344 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32346         [BZ #17930]
32347         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32349 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32351         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32353 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32355         * include/scratch_buffer.h: New file.
32356         * malloc/scratch_buffer_grow.c: Likewise.
32357         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32358         * malloc/scratch_buffer_set_array_size.c: Likewise.
32359         * malloc/tst-scratch_buffer.c: Likewise.
32360         * malloc/Makefile (routines): Add scratch_buffer_grow.
32361         (tests): Add test case.
32362         * malloc/Versions (GLIBC_PRIVATE): Export
32363         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32364         __libc_scratch_buffer_set_array_size.
32366 2015-04-06  Richard Henderson  <rth@redhat.com>
32368         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32369         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32371         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32372         unsigned int before printing.
32374 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32376         [BZ #17596]
32377         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32378         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32380 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32382         * include/libc-internal.h (libc_max_align_t): Define.
32384 2015-04-02  Andreas Schwab  <schwab@suse.de>
32386         [BZ #16850]
32387         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32389 2015-04-02  Mel Gorman  <mgorman@suse.de>
32391         [BZ #17195]
32392         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32393         as well as the main arena.
32395 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32397         [BZ #18185]
32398         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32399         sharing L2 cache to 2 for Silvermont/Knights Landing.
32401 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32403         [BZ #17711]
32404         * config.make.in (have-protected-data): New.
32405         * configure.ac: Check linker support for protected data symbol.
32406         * configure: Regenerated.
32407         * elf/Makefile (modules-names): Add tst-protected1moda and
32408         tst-protected1modb if $(have-protected-data) is yes.
32409         (tests): Add tst-protected1a and tst-protected1b if
32410         $(have-protected-data) is yes.
32411         ($(objpfx)tst-protected1a): New.
32412         ($(objpfx)tst-protected1b): Likewise.
32413         (tst-protected1modb.so-no-z-defs): Likewise.
32414         * elf/tst-protected1a.c: New file.
32415         * elf/tst-protected1b.c: Likewise.
32416         * elf/tst-protected1mod.h: Likewise.
32417         * elf/tst-protected1moda.c: Likewise.
32418         * elf/tst-protected1modb.c: Likewise.
32420 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32422         [BZ #17711]
32423         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32424         indicates it is called from do_lookup_x on relocation against
32425         protected data, skip the data definion in the executable from
32426         copy reloc.
32427         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32428         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32429         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32430         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32431         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32432         otherwise to 0.
32433         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32434         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32435         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32436         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32437         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32438         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32440 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32442         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32443         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32445 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32447         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32448         THREAD_SETMEM_NC.
32449         * sysdeps/x86_64/nptl/tls.h: Ditto.
32451 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32453         * dlfcn/tststatic.c (main): Converted to ...
32454         (do_test): ... this.
32455         (TEST_FUNCTION): New macro.
32456         Include test-skeleton.c.
32458 2015-03-26  Alan Modra  <amodra@gmail.com>
32460         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32461         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32462         zero for undefined weak.
32463         (elf_machine_plt_conflict): Similarly.
32465 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32467         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32468         atanh.
32469         * math/auto-libm-test-out: Regenerated.
32470         * sysdeps/i386/fpu/libm-test-ulps: Update.
32471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32473         * math/auto-libm-test-in: Add another test of asin.
32474         * math/auto-libm-test-out: Regenerated.
32475         * sysdeps/i386/fpu/libm-test-ulps: Update.
32476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32478         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32479         Remove macro.
32480         (LLL_EBX_REG): Likewise.
32481         (LLL_ENTER_KERNEL): Likewise.
32483         * math/auto-libm-test-in: Add more tests of asin.
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         [BZ #18138]
32489         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32490         libc_do_syscall_args): New structure.
32491         (INTERNAL_SYSCALL_MAIN_0): New macro.
32492         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32493         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32494         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32495         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32496         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32497         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32498         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32499         Replace conditional definitions by conditional definitions of ....
32500         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32501         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32502         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32503         (libpthread-sysdep_routines): Add libc-do-syscall.
32504         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32505         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32506         to __NR_futex not 240.
32508 2015-03-25  Alan Modra  <amodra@gmail.com>
32510         * NEWS: Advertise TLS optimization.
32511         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32512         (DT_PPC_NUM): Increment.
32513         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32514         (CHECK_STATIC_TLS): Use here.
32515         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32516         TLS descriptors.
32517         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32518         * sysdeps/powerpc/dl-tls.c: New file.
32519         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32520         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32521         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32522         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32527 2015-03-25  Alan Modra  <amodra@gmail.com>
32529         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32530         for overlapping .opd entries" to "support...".
32531         * sysdeps/powerpc/powerpc64/configure: Regenerate
32533 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32535         * math/auto-libm-test-in: Add more tests of acos.
32536         * math/auto-libm-test-out: Regenerated.
32537         * sysdeps/i386/fpu/libm-test-ulps: Update.
32538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32540         * math/auto-libm-test-in: Add more tests of expm1.
32541         * math/auto-libm-test-out: Regenerated.
32542         * sysdeps/i386/fpu/libm-test-ulps: Update.
32543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32545 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32547         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32548         * math/auto-libm-test-out: Regenerated.
32549         * sysdeps/i386/fpu/libm-test-ulps: Update.
32550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32552         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32555         * math/auto-libm-test-in: Add more tests of log2.
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-23  Roland McGrath  <roland@hack.frob.com>
32562         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32563         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32564         _IO_IS_APPENDING bit in READ_WRITE instead.
32566 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32568         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32569         (__determine_cpumask_size): Replace extend_alloca with a
32570         variable-length array.  Do not treat res == 0 as an error.
32572 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32574         [BZ #18100]
32575         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32576         and integer overflow.
32577         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32578         (main): Add integer overflow tests.
32579         * manual/pattern.texi (Calling Wordexp): Document additional use
32580         for WRDE_SYNTAX.
32582 2015-03-23  Alan Modra  <amodra@gmail.com>
32584         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32585         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32586         and false branch of conditional.
32587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32588         Likewise.
32590 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32592         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32593         libc-modules.h
32594         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32595         unused declaration of _hurd_intr_rpc_msg_in_trap.
32596         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32597         defined instead of whether it is non-zero.
32598         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32599         input constraint instead of both input and output constraint.  Use ecx
32600         clobber instead of %ecx.
32601         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32602         mutex_unlock): Use a statement expression instead of an expression list.
32603         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32604         type to vm_size_t instead of vm_address_t.
32605         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32606         defined instead of whether it is non-zero.
32607         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32608         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32609         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32610         comparisons with mapaddr.
32611         * nscd/nscd-client.h: Include <time.h>.
32612         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32613         9th parameter to __vm_region instead of int.
32614         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32615         * scripts/check-local-headers.sh (exclude): Add device/,
32616         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32617         cthreads.h.
32619 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32621         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32622         to account for alignment padding.
32623         * sysdeps/arm/memmove.S: Likewise.
32625 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32627         * sysdeps/unix/sysv/linux/generic/README: New file.
32629 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32631         [BZ #18138]
32632         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32633         (futex_abstimed_wait)
32634         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32635         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32636         of lll_futex_timed_wait.
32638 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32640         [BZ #17542]
32641         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32643 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32645         [BZ #17090]
32646         [BZ #17620]
32647         [BZ #17621]
32648         [BZ #17628]
32649         * NEWS: Update.
32650         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32651         entries with Static TLS too.  Skip entries past the end of the
32652         allocated DTV, from Alan Modra.
32653         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32654         Static TLS DTV entry set up from...
32655         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32656         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32657         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32658         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32659         for Static TLS.
32660         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32661         that the slot we find is associated with the given map before
32662         using its generation count.
32663         * nptl_db/db_info.c: Include ldsodefs.h.
32664         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32665         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32666         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32667         (link_map::l_tls_offset): New struct field.
32668         (dtv_t::counter): Likewise.
32669         (rtld_global): New struct.
32670         (_rtld_global): New rtld variable.
32671         (dl_tls_dtv_slotinfo_list): New rtld global field.
32672         (dtv_slotinfo_list): New struct.
32673         (dtv_slotinfo): Likewise.
32674         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32675         (td_lookup): Rename to...
32676         (td_mod_lookup): ... this.  Use new mod parameter instead of
32677         LIBPTHREAD_SO.
32678         * nptl_db/td_thr_tlsbase.c: Include link.h.
32679         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32680         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32681         addresses even if the DTV is out of date or missing them.
32682         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32683         index zero-length arrays.
32684         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32685         (td_lookup): Make it a macro implemented in terms of...
32686         (td_mod_lookup): ... this declaration.
32687         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32688         (DB_MAIN_VARIABLE): Likewise.
32690 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32692         [BZ #18134]
32693         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32695 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32697         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32699 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32701         [BZ #18128]
32702         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32703         (atomic_add, atomic_increment_and_test)
32704         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32706 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32708         * stdlib/setenv.c (__add_to_environ):
32709         Dump core quickly if setenv (..., NULL, ...) is called.
32711 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32713         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32714         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32715         all the necessary asm magic in one place.
32716         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32717         using those.
32719 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32721         [BZ #14906]
32722         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32723         traced file mtime. Use consistent log message.
32724         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32725         (register_traced_file): Call install_watches. Always set mtime.
32726         (invalidate_cache): Iterate over all trace files. Call install_watches.
32727         (inotify_check_files): Don't inline. Handle watching parent
32728         directories and configuration file movement in and out.
32729         (handle_inotify_events): New function.
32730         (main_loop_poll): Call handle_inotify_events.
32731         (main_loop_epoll): Likewise.
32732         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32733         (struct traced_file): Use array of inotify fds. Add parent directory,
32734         and basename.
32735         (struct database_dyn): Remove unused file_mtime.
32736         (init_traced_file): New inline function.
32737         (define_traced_file): New macro.
32738         * nss/nss_db/db-init.c: Use define_traced_file.
32739         (_nss_db_init): Use init_traced_file.
32740         * nss/nss_files/files-init.c: Use define_traced_file.
32741         (_nss_files_init): Use init_traced_file.
32743 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32745         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32746         [_LIBC]: Do not include <stdlib.h>.
32747         [!_LIBC] (abort): Remove declaration.
32748         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32749         _FP_STATIC_ASSERT instead of conditionally calling abort.
32750         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32751         (_FP_EXTEND_CNAN): Likewise.
32752         (FP_TRUNC): Likewise.
32753         (__FP_CLZ): Likewise.
32754         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32756 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32758         * manual/string.texi (XPG basename): Fix prototype.
32760 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32762         [BZ #18080]
32763         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32764         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32765         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32766         (__setcontext): Likewise.
32767         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32768         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32769         Call rt_sigprocmask syscall one time to set new signal mask
32770         and retrieve the current signal mask instead of two calls.
32771         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32772         (__swapcontext): Likewise.
32773         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32774         * stdlib/tst-setcontext2.c: New file.
32776 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32778         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32780 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32782         [BZ #18093]
32783         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32784         the wrong size.
32786 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32788         [BZ #18043]
32789         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32791 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32793         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32794         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32795         Remove define.
32796         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32797         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32798         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32799         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32800         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32801         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32802         define.
32803         * nptl_db/td_symbol_list.c (td_lookup): Remove
32804         HAVE_ASM_GLOBAL_DOT_NAME code.
32805         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32806         HAVE_ASM_GLOBAL_DOT_NAME check.
32807         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32808         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32809         (DOT_LABEL): Remove define.
32810         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32811         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32812         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32813         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32814         (__TLS_GET_ADDR): Likewise.
32815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32816         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32818 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32820         [BZ #18111]
32821         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32822         (_FPU_SETCW): Initialize cw from fpsr before storing.
32823         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32824         (fesetexceptflag): Rewrite using fpu_control.h.
32825         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32827 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32829         [BZ #18110]
32830         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32831         asms.
32832         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32834 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32836         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32837         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32838         abort.
32839         (_FP_FMA): Likewise.
32840         (_FP_DIV): Likewise.
32842 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32844         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32845         with 0 in that case.
32846         * Makefile (summarize-tests): New canned sequence, factored out of
32847         commands for targets tests and xtests.  Display summary lines that
32848         don't start with PASS: or XFAIL: rather than ones that do start with
32849         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32850         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32851         do start with ERROR: or FAIL:.
32852         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32853         (except for [$(build-shared) = yes]).
32854         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32855         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32856         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32857         * nptl/Makefile: Revert 2015-03-04 changes.
32858         [$(CXX) empty] (tests-unsupported): New variable.
32859         * debug/Makefile: Likewise.
32861         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32862         gnulib file.  Replace __attribute with __attribute__ throughout.
32864 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32866         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32868 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32870         [BZ #18104]
32871         * math/auto-libm-test-in: Add another test of pow.
32872         * math/auto-libm-test-out: Regenerated.
32874 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32876         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32877         $(config-cflags-nofma).
32879 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32881         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32882         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32883         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32884         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32885         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32886         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32887         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32888         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32889         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32890         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32891         Add comment on closing #endif.
32893 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32895         * posix/wordexp.c (CHAR_IN_SET): New macro.
32896         (parse_param): Use it.
32898 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32900         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32902 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32904         [BZ #18043]
32905         * posix/wordexp.c (parse_param): Fix buffer overflow.
32906         * posix/wordexp-test.c (test_case): Add test case.
32908 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32910         [BZ #18042]
32911         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32912         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32914 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32916         [BZ #18043]
32917         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32918         (do_bz18043): Delete.
32919         (at_page_end): New.
32920         (testit): Refactor to have words at the edge of unreadable page.
32922 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32924         [BZ #16734]
32925         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32926         Cleanup read-only streams as well.
32927         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32929 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32931         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32932         <bits/libc-lockP.h>
32934 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32936         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32937         on [__KERNEL__].
32938         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32939         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32940         * soft-fp/op-common.h (_FP_DECL): Likewise.
32942 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32944         * elf/ifuncdep2.c (global): Replace
32945         __attribute__((visibility("protected"))) with
32946         asm (".protected global").
32947         * elf/ifuncmod1.c (global): Likewise.
32948         * elf/ifuncmod5.c (global): Likewise.
32950 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32952         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32953         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32955 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32957         * manual/install.texi (Configuring and compiling):
32958         Document test-wrapper-env-only.
32959         * INSTALL: Regenerated.
32961 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32963         [BZ #18043]
32964         * posix/wordexp.c (parse_param): Fix buffer overflow.
32965         * posix/wordexp-test.c (do_bz18043): Add test case.
32967 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32969         * time/tst-strptime2.c (do_test): Ensure failing tests are
32970         reported correctly.
32971         * time/tst-strptime3.c (do_test): Likewise.
32973 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32975         Fix aio_error thread-safety.
32976         * sysdeps/pthread/aio_error.c: New file
32977         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32978         synchronization.
32980 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32982         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32983         (group_number, vfprintf): Use it.
32984         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32985         (JUMP, REF): Use it.
32986         (WORK_BUFFER_SIZE): New enum constant.
32987         (process_arg, vfprintf): Use it.
32989 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32991         * manual/errno.texi (Error Messages): Complete example function
32992         by adding missing #define.
32993         (program_invocation_name): Add statement indicating GNU
32994         extension and reference which header file declares the variable.
32995         (program_invocation_short_name): Likewise.
32997 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32999         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33000         compatibility note.
33002 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33004         * Makeconfig (test-wrapper-env-only): New variable.
33005         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33006         then use that with $(test-wrapper-env-only) rather than using
33007         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33009 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33011         [BZ #18082]
33012         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33013         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33014         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33015         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33016         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33017         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33018         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33019         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33020         Likewise.
33021         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33022         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33023         Likewise.
33024         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33025         Likewise.
33026         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33027         Likewise.
33028         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33029         Likewise.
33030         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33031         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33032         Likewise.
33033         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33034         Likewise.
33035         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33036         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33038 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33040         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33041         (ETH_ALEN): New macro.
33042         (struct ether_addr): Use it for length of ether_addr_octet.
33044         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33045         (setdb): Don't call __nss_configure_lookup for "rpc".
33046         (do_test): Don't call test_rpc.
33047         (output_rpcent, test_rpc): Functions moved ...
33048         * sunrpc/test-rpcent.c: ... to this new file.
33049         * sunrpc/Makefile (tests): Add it.
33051         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33052         __xpg_sigpause.
33053         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33054         * nptl/tst-signal6.c: Likewise.
33055         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33056         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33058         * configure.ac (libc_cv_cxx_link_ok): New check.
33059         Reset CXX to empty if it fails to link.
33060         * configure: Regenerated.
33061         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33062         bug-atexit3-lib only if $(CXX) is nonempty.
33063         * nptl/Makefile (tests): Likewise for tst-cancel24.
33064         (tests, tests-static): Likewise for tst-cancel24-static.
33065         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33066         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33067         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33068         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33070 2015-03-04  Andreas Schwab  <schwab@suse.de>
33072         [BZ #17631]
33073         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33074         for non-GCC compilers.
33075         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33076         Likewise.
33078 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33080         [BZ #17776]
33081         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33082         integer before bitwise and assembly operations.
33083         (feclearexcept): Likewise.
33084         * math/test-fenvinline.c: New file.
33085         * math/Makefile: Add test-fenvinline test.
33087 2015-03-03  Alan Modra  <amodra@gmail.com>
33089         [BZ #16512]
33090         * scripts/localplt.awk: Strip off symbol version.
33091         * NEWS: Mention bug fix.
33093 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33095         * sysdeps/pthread/timer_routines.c
33096         (timer_free_list, thread_free_list, thread_active_list): Make static.
33098 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33100         [BZ #17779]
33101         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33102         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33103         Undefine.
33104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33105         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33106         Likewise.
33107         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33108         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33109         Likewise.
33111 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33113         [BZ #18036]
33114         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33115         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33117 2015-03-02  Andreas Schwab  <schwab@suse.de>
33119         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33120         variable name.
33122 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33124         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33125         Return error status.
33127 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33129         [BZ #15969]
33130         * locale/findlocale.c (_nl_find_locale): Introduce const
33131         version of loc_name and drop unsafe type casts.
33133 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33135         * dlfcn/tststatic2.c (main): Converted to ...
33136         (do_test): ... this.
33137         (TEST_FUNCTION): New macro.
33138         Include test-skeleton.c.
33140 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33142         [BZ #17711]
33143         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33144         (tests-pie): Add vismain.
33145         (CFLAGS-vismain.c): New.
33146         * elf/vismain.c: Add comments for PIE requirement.
33148 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33150         [BZ #18046]
33151         [BZ #18047]
33152         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33153         0x1p-56L as threshold for just returning the argument.
33154         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33155         0x1p-32L as threshold for just returning the argument.
33156         * math/auto-libm-test-in: Add more tests of atanh.
33157         * math/auto-libm-test-out: Regenerated.
33158         * sysdeps/i386/fpu/libm-test-ulps: Update.
33159         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33161 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33163         * string/bcopy.c (bcopy): Call memmove for performance.
33165 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33167         * string/bzero.c (__bzero): Call memset for performance.
33169 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33171         [BZ #18068]
33172         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33173         to 00100000.
33175 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33177         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33179 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33181         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33182         (__kernel_standard): Use CSTR macro when setting exc.name.
33183         * sysdeps/ieee754/Makefile [$(subdir) = math]
33184         (CFLAGS-k_standard.c): Remove variable.
33186         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33187         setting p and q from "else if" to "else".
33188         (qzero): Likewise.
33189         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33190         (qone): Likewise.
33191         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33192         (qzerof): Likewise.
33193         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33194         (qonef): Likewise.
33195         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33196         (qzero): Likewise.
33197         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33198         (qone): Likewise.
33200         [BZ #18038]
33201         [BZ #18039]
33202         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33203         return pi/2 for arguments below 0x1p-113L.
33204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33205         return pi/2 for arguments below 0x1p-106L.
33206         * math/auto-libm-test-in: Add more tests of acos.
33207         * math/auto-libm-test-out: Regenerated.
33209         [BZ #16351]
33210         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33211         (MO): New macro.
33212         (__ieee754_asin): Force underflow exception for results with small
33213         absolute value.
33214         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33215         (MO): New macro.
33216         (__ieee754_asinf): Force underflow exception for results with
33217         small absolute value.
33218         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33219         (__ieee754_asin): Force underflow exception for results with small
33220         absolute value.
33221         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33222         (__ieee754_asinf): Force underflow exception for results with
33223         small absolute value.
33224         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33225         (__ieee754_asinl): Force underflow exception for results with
33226         small absolute value.
33227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33228         (__ieee754_asinl): Force underflow exception for results with
33229         small absolute value.
33230         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33231         (__ieee754_asinl): Force underflow exception for results with
33232         small absolute value.
33233         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33234         Include <math.h>.
33235         * math/auto-libm-test-in: Do not mark underflow exceptions as
33236         possibly missing for bug 16351.
33237         * math/auto-libm-test-out: Regenerated.
33239         [BZ #18030]
33240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33241         of power of 2 down when low part has opposite sign.
33242         * math/libm-test.inc (logb_test_data): Add more tests.
33244 2015-02-26  Andreas Schwab  <schwab@suse.de>
33246         [BZ #18032]
33247         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33248         over collating symbol inside a bracket expression.  Minor cleanup.
33249         * posix/tst-fnmatch3.c (do_test): Add test case.
33251 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33253         [BZ #18029]
33254         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33255         Adjust exponent of power of 2 down when low part has opposite
33256         sign.
33257         * math/libm-test.inc (ilogb_test_data): Add more tests.
33259 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33261         [BZ #15969]
33262         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33263         the previous change.
33265         [BZ #15969]
33266         * locale/findlocale.c (_nl_find_locale): Retry archive search
33267         after alias expansion.
33269 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33271         * iconv/tst-iconv3.c (main): Converted to ...
33272         (do_test): ... this.
33273         (TEST_FUNCTION): New macro.
33274         Include test-skeleton.c.
33276         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33277         (convert): Make function static.
33278         (test_unalign): Likewise.  Add const to argument pointee types.
33279         (main): Replace with static function do_test.
33280         Print "Succeeded." only if RET is zero.
33281         (TEST_FUNCTION): New macro.
33282         Include test-skeleton.c.
33284         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33285         returns a null pointer.
33287 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33289         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33290         to __memcpy_ppc only for static builds.
33292 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33294         [BZ #18020]
33295         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33296         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33297         * math/auto-libm-test-in: Add more tests of asinh.
33298         * math/auto-libm-test-out: Regenerated.
33299         * sysdeps/i386/fpu/libm-test-ulps: Update.
33300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33302 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33304         [BZ #15850]
33305         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33306         and ip6_mtuinfo definitions here.
33307         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33308         in this define too.  Update comment.
33310 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33312         * elf/sprof.c (load_shobj): Tweak error message to match others.
33314 2015-02-24  Kevin Easton  <kevin@guarana.org>
33316         [BZ #16145] (partial fix)
33317         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33318         to reduce lock contention.
33320 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33322         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33323         (struct timex): Update time comment.
33324         (ADJ_SETOFFSET): Define.
33326 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33328         [BZ #18019]
33329         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33330         2**56 not 2**28 as threshold for log (2x) formula.
33331         * math/auto-libm-test-in: Add more tests of acosh.
33332         * math/auto-libm-test-out: Regenerated.
33333         * sysdeps/i386/fpu/libm-test-ulps: Update.
33334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33336 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33338         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33339         parenthesis around the buf assignment.
33340         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33342 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33344         [BZ #16783]
33345         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33346         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33347         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33348         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33349         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33350         * math/libm-test.inc (scalb_test_data): Add more tests.
33352 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33354         [BZ #17916]
33355         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33356         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33358 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33360         [BZ #17523]
33361         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33362         * io/bits/fcntl2.h (open): Use it.
33363         (openat): Likewise.
33364         * io/open.c (__libc_open): Likewise.
33365         * io/open64.c (__libc_open64): Likewise.
33366         * io/open64_2.c (__open64_2): Likewise.
33367         * io/open_2.c (__open_2): Likewise.
33368         * io/openat.c (__openat): Likewise.
33369         * io/openat64.c (__openat64): Likewise.
33370         * io/openat64_2.c (__openat64_2): Likewise.
33371         * io/openat_2.c (__openat_2): Likewise.
33372         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33373         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33374         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33375         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33376         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33377         (__open_nocancel): Likewise.
33378         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33379         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33380         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33382 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33384         [BZ #14841]
33385         * resolv/gethnamaddr.c (getanswer): Skip logging if
33386         RES_USE_DNSSEC is set.
33387         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33389 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33391         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33393 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33395         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33396         201304L, for Unicode 7.
33398 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33400         [BZ #17836]
33401         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33402         shared library.  Add gmon-start.os otherwise.
33403         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33404         $(objpfx)gmon-start.os if builing shared library.
33405         ($(objpfx)g$(static-start-installed-name)): Likewise.
33407 2015-02-23  Andreas Schwab  <schwab@suse.de>
33409         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33411 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33413         [BZ #17269]
33414         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33415         (enlarge_userbuf): Likewise.
33417 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33419         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33420         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33421         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33422         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33424 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33426         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33427         expression inside statement expression.
33429 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33431         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33432         <sysdeps/nptl/lowlevellock.h> and remove macros and
33433         functions that are now defined there.
33434         (SYS_futex): Remove.
33435         (lll_compare_and_swap): Remove.
33436         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33438 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33440         [BZ #17999]
33441         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33442         instead of scandirat.
33443         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33444         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33445         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33446         __scandirat.
33447         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33448         (__scandirat): Declare.  Use libc_hidden_proto.
33449         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33450         Remove variable.
33451         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33453 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33455         [BZ #15319]
33456         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33457         (MO): New macro.
33458         (__ieee754_atan2): For results with small absolute value, force
33459         underflow exception and remove excess range and precision from
33460         return value.
33461         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33462         (MO): New macro.
33463         (__ieee754_atan2f): For results with small absolute value, force
33464         underflow exception and remove excess range and precision from
33465         return value.
33466         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33467         (MO): New macro.
33468         (__atan): For results with small absolute value, force underflow
33469         exception and remove excess range and precision from return value.
33470         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33471         (MO): New macro.
33472         (__atanf): For results with small absolute value, force underflow
33473         exception and remove excess range and precision from return value.
33474         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33475         <math.h>.
33476         (__ieee754_atan2): Force underflow exception for results with
33477         small absolute value.
33478         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33479         <math_private.h>.
33480         (atan): Force underflow exception for results with small absolute
33481         value.
33482         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33483         (__atanf): Force underflow exception for results with small
33484         absolute value.
33485         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33486         <math.h>.
33487         (__atanl): Force underflow exception for results with small
33488         absolute value.
33489         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33490         (__atanl): Force underflow exception for results with small
33491         absolute value.
33492         * sysdeps/x86/fpu/bits/mathinline.h
33493         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33494         (__ieee754_atan2): Only define inline for long double.
33495         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33496         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33497         * math/auto-libm-test-in: Do not mark underflow exceptions as
33498         possibly missing for bug 15319.  Add more tests of atan2.
33499         * math/auto-libm-test-out: Regenerated.
33500         * math/libm-test.inc (casin_test_data): Do not mark underflow
33501         exceptions as possibly missing for bug 15319.
33502         (casinh_test_data): Likewise.
33503         * sysdeps/i386/fpu/libm-test-ulps: Update.
33505 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33507         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33508         * sysdeps/mips/bits/endian.h: Fix comments.
33510 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33512         [BZ #17996]
33513         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33514         (hdestroy_r): Likewise.
33515         (hsearch_r): Likewise.
33516         (__hcreate_r): Declare and use libc_hidden_proto.
33517         (__hdestroy_r): Likewise.
33518         (__hsearch_r): Likewise.
33519         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33520         (hcreate): Call __hcreate_r instead of hcreate_r.
33521         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33522         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33523         as weak alias of __hcreate_r.
33524         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33525         __hdestroy_r.
33526         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33527         __hsearch_r.
33528         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33529         Remove variable.
33530         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33531         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33532         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33533         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33535 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33537         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33538         arena_lock into a single arena_get.
33540 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33542         * dl-reloc.c: Inlucde libc-internal.h.
33543         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33544         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33545         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33546         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33547         (grow_heap): Likewise.
33548         * malloc/malloc.c: Include libc-internal.h.
33549         (do_check_malloc): Call powerof2.
33550         (sysmalloc): Use pagesize. Call ALIGN_UP.
33551         (systrim): Use pagesize.
33552         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33553         (__libc_valloc): Use pagesize.
33554         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33556 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33558         [BZ #17991]
33559         * include/sys/resource.h (__getrlimit64): Declare.  Use
33560         libc_hidden_proto.
33561         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33562         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33563         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33564         getrlimit64.
33565         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33566         __getrlimit64.
33567         [!getrlimit64] (getrlimit64): Define as weak alias of
33568         __getrlimit64.  Use libc_hidden_weak.
33569         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33570         using __getrlimit64 not __new_getrlimit64.
33571         (__GI_getrlimit64): Likewise.
33572         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33573         Likewise.
33574         (__GI_getrlimit64): Likewise.
33575         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33577         (getrlimit): Add __getrlimit64 alias.
33578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33579         Likewise.
33580         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33581         Remove variable.
33582         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33583         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33585 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33587         * libio/fileops.c: Add missing sys/mman.h
33588         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33590 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33592         * manual/math.texi (Errors in Math Functions): Clarify goals
33593         regarding inexact and underflow exceptions.
33595 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33597         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33598         * sysdeps/mips/memset.S: Ditto.
33600 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33602         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33604 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33606         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33607         (__v1longjmp): Remove versioned symbol.
33608         (__v1siglongjmp): Remove alias and versioned symbol.
33609         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33610         (__v2siglongjmp): Likewise.
33612 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33614         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33616 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33618         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33620 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33622         [BZ #17987]
33623         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33624         zero result does not depend on the sign resulting from
33625         subtraction.
33626         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33627         Likewise.
33628         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33629         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33630         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33631         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33632         * math/libm-test.inc (remquo_test_data): Add more tests.
33634 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33636         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33637         Problem reported by J William Piggott.
33639 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33641         [BZ #17978]
33642         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33643         products 4 * y and 2 * y where those would overflow.
33644         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33645         Likewise.
33646         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33647         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33648         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33649         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33650         * math/libm-test.inc (remquo_test_data): Add more tests.
33652         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33654         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33655         [defined _COMPILING_NEWLIB].
33656         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33657         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33659         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33660         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33662 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33664         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33665         acquired.
33667 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33669         [BZ #17792]
33670         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33671         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33672         HOST_STACK_END_ADDR): Likewise.
33674 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33676         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33677         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33678         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33680 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33682         * sysdeps/generic/c++-types.data: New file.
33683         * sysdeps/generic/ld.abilist: New file.
33684         * sysdeps/generic/libBrokenLocale.abilist: New file.
33685         * sysdeps/generic/libanl.abilist: New file.
33686         * sysdeps/generic/libc.abilist: New file.
33687         * sysdeps/generic/libcrypt.abilist: New file.
33688         * sysdeps/generic/libdl.abilist: New file.
33689         * sysdeps/generic/libm.abilist: New file.
33690         * sysdeps/generic/libpthread.abilist: New file.
33691         * sysdeps/generic/libresolv.abilist: New file.
33692         * sysdeps/generic/librt.abilist: New file.
33694 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33696         [BZ #17569]
33697         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33698         Compute absolute value of x as modified by fmod, not original
33699         value of x.
33700         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33701         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33702         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33703         RUN_TEST_ffI_f1_mod8.
33704         (remquo_test_data): Add more tests.
33706 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33708         * sysdeps/init_array/pt-crti.S: New file.
33710 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33712         [BZ #17967]
33713         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33714         __builtin_fmaf instead of relying on contraction of a * b + c.
33716 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33718         [BZ #17969]
33719         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33720         node.
33722 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33724         [BZ #17964]
33725         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33726         __builtin_fma instead of relying on contraction of a * b + c.
33728 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33730         * Makeconfig (ASFLAGS): Add -Werror=undef.
33731         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33732         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33733         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33735         * Makeconfig (after-link): New variable.
33736         (+link-pie, +link-pie-tests): Use it.
33737         (+link-static, +link-static-tests): Likewise.
33738         (+link, +link-tests): Likewise.
33739         * Makerules (build-module, build-module-asneeded): Likewise.
33740         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33741         Likewise.
33742         * elf/Makefile ($(objpfx)ld.so): Likewise.
33744 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33746         [BZ #17965]
33747         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33748         both struct timeval and struct timespec.
33750 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33752         [BZ #16560]
33753         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33754         and redefine.
33755         (__ieee754_exp2l): Do not multiply small fractional parts by
33756         M_LN2l.
33757         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33758         small argument.
33759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33760         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33761         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33762         * math/auto-libm-test-in: Add more tests of exp2.
33763         * math/auto-libm-test-out: Regenerated.
33765 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33767         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33768         unaligned path.
33770 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33772         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33773         little endian.
33775 2015-02-12  Andreas Schwab  <schwab@suse.de>
33777         [BZ #15790]
33778         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33779         Filter out elision flags from value returned in kind.
33780         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33781         * nptl/tst-pthread-mutexattr.c: New file.
33783 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33785         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33786         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33787         into gnu-gnu, and update comment to refer to abi-tags.
33789 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33791         [BZ #15467]
33792         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33793         (__sincos): Set errno to EDOM for infinite argument.
33794         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33795         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33796         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33797         (__sincosl): Set errno to EDOM for infinite argument.
33798         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33799         (__sincosl): Set errno to EDOM for infinite argument.
33800         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33801         (__sincosl): Set errno to EDOM for infinite argument.
33802         * math/libm-test.inc (sincos_test_data): Test errno setting.
33804 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33806         * string/strxfrm_l.c: Remove #define STRCMP.
33807         * string/strcoll_l.c: Remove #define STRLEN.
33808         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33809         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33811 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33813         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33814         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33815         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33816         * sysdeps/mips/mips64/Makefile: ... here.
33817         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33818         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33819         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33820         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33821         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33822         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33823         * sysdeps/mips/mips64/n64/Implies: Likewise.
33825 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33827         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33828         <sys/time.h>, <string.h>, and <errno.h>.
33829         (dest_offset, dest_address, value, zero): Remove unused variables.
33830         (ldouble): Remove typedef.
33831         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33832         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33833         1).  Fix code style.
33834         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33835         (check): Function removed.
33836         (CHECK): New macro.
33837         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33838         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33839         Don't call set_sigaction_FP and remove_sigaction_FP here.
33840         (ldouble_test): Just use 'long double' as macro argument, no need for
33841         the 'ldouble' typedef.
33842         (do_test): Set up SIGFPE handler at start, using plain signal rather
33843         than sigaction.  Fix code style.
33845 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33847         [BZ #17949]
33848         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33849         jump label.
33851 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33853         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33854         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33856         * sysdeps/powerpc/configure.ac: Remove file.
33857         * sysdeps/powerpc/configure: Likewise.
33859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33860         [sysdep_routines]: Remove wordcopy-power6 object.
33861         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33862         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33863         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33864         (__memmove_ppc32): Likewise.
33865         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33866         file.
33867         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33868         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33869         Remove preprocessor.
33871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33872         [sysdep_routines]: Remove wide chars objects.
33873         [wcsmbs]: New rule for wide char objects.
33875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33876         Remove wordcopy-power6 obejct.
33877         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33878         Use local call for wordcopy and memcpy symbols.
33879         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33880         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33881         implementation for loader.
33882         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33884         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33885         Remove wordcopy-power7 object.
33886         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33887         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33888         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33889         (_wordcopy_fwd_dest_aligned): Likewise.
33890         (_wordcopy_bwd_aligned): Likewise.
33891         (_wordcopy_bwd_dest_aligned): Likewise.
33893         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33894         Rewrite to call __memmove_ppc instead of include default
33895         implementation.
33897         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33898         Remove wide chars objects.
33899         [wcsmbs]: New rule for wide char objects.
33901 2015-02-09  Andreas Schwab  <schwab@suse.de>
33903         [BZ #17912]
33904         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33905         in terms of __O_DIRECTORY.
33907 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33909         * time/getdate.c: Include <stdbool.h>.
33910         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33911         call PTR_MANGLE.
33912         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33913         PTR_DEMANGLE.
33915 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33917         Add ersatz _Static_assert on older C hosts
33918         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33919         pre-C11 C platform that is not known to support _Static_assert.
33921 2015-02-07  Richard Braun  <rbraun@sceen.net>
33923         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33924         sigstate.
33925         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33927 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33929         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33930         priority against unexistent AIO_PRIO_DELTA_MAX.
33931         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33932         instead of int.
33933         * misc/fchflags.c (fchflags): Likewise.
33934         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33935         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33936         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33937         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33938         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33939         Declare macros.
33940         [__USE_MISC] (chflags, fchflags): Declare functions.
33941         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33942         EINVAL when nfds is greater than FD_SETSIZE.
33943         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33944         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33945         45.
33946         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33947         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33948         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33949         MACH_RCV_TIMED_OUT.
33950         * hurd/hurd/signal.h (_hurd_self_sigstate,
33951         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33952         Explicit casts from void *.
33953         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33954         * abi-tags: Rename gnu-gnu os into gnu.
33956         [BZ #4719]
33957         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33958         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33959         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33960         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33961         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33962         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33964         [BZ #17944]
33965         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33966         duplicates ADDR->sun_path with sockaddr LEN limitation.
33967         * sysdeps/mach/hurd/connect.c: Include <string.h>
33968         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33969         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33970         * sysdeps/mach/hurd/sendto.c: Likewise.
33971         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33972         implementing it by hand.
33974 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33976         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33977         Use sfi_breg on ldr.
33978         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33979         Likewise.
33981         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33982         it's defined.
33983         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33984         Test SIGSETXID only if it's defined.
33986         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33988         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33989         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33991         * nptl/tst-align2.c: Moved ...
33992         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33993         * nptl/Makefile (tests): Remove tst-align2.
33994         * sysdeps/unix/sysv/linux/Makefile
33995         [$(subdir) = nptl] (tests): Add tst-align-clone.
33996         * nptl/tst-getpid1.c: Moved ...
33997         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33998         * nptl/tst-getpid2.c: Moved ...
33999         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34000         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34001         * sysdeps/unix/sysv/linux/Makefile
34002         [$(subdir) = nptl] (tests): ... here.
34003         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34004         * sysdeps/unix/sysv/linux/Makefile
34005         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34007         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34008         Drop trailing \n from perror argument.  Use return rather than exit.
34010         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34011         on [SA_SIGINFO].
34012         * nptl/tst-cancel21.c (do_test): Likewise.
34013         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34014         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34015         [!SA_SIGINFO]: Make it a stub test.
34017         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34018         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34020         * posix/tst-getlogin.c: Move to ...
34021         * login/tst-getlogin.c: ... here.
34022         * posix/Makefile (tests): Move tst-getlogin to ...
34023         * login/Makefile (tests): ... here.
34025         * libio/tst-atime.c (do_test): Move local variables SV and E
34026         inside [ST_NOATIME] conditional.
34028         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34030         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34032         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34033         (wait_code): New function replaces macro.
34034         Call nanosleep rather than syscall.
34036         * nptl/pt-system.c: Rewritten.  Put everything under
34037         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34038         Use IFUNC to redirect when possible.
34040         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34041         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34042         Use IFUNC to redirect when possible.
34044         * nptl/pt-fork.c: Rewritten.  Put everything under
34045         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34046         Use IFUNC to redirect when possible.
34047         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34049         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34050         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34051         unconditionally nowadays.  This included the only reference to
34052         __vdso_clock_gettime that appears outside libc proper.
34053         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34054         Remove version set (containing only __vdso_clock_gettime).
34055         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34056         Add attribute_hidden.
34057         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34058         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34059         libc_hidden_data_def.
34060         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34061         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34063         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34064         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34065         setrpcent, and getrpcport to ...
34066         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34067         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34068         getrpcbynumber_r, and getrpcent_r to ...
34069         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34070         * inet/getrpcbyname.c: Moved ...
34071         * sunrpc/getrpcbyname.c: ... here.
34072         * inet/getrpcbyname_r.c: Moved ...
34073         * sunrpc/getrpcbyname_r.c: ... here.
34074         * inet/getrpcbynumber.c: Moved ...
34075         * sunrpc/getrpcbynumber.c: ... here.
34076         * inet/getrpcbynumber_r.c: Moved ...
34077         * sunrpc/getrpcbynumber_r.c: ... here.
34078         * inet/getrpcent.c: Moved ...
34079         * sunrpc/getrpcent.c: ... here.
34080         * inet/getrpcent_r.c: Moved ...
34081         * sunrpc/getrpcent_r.c: ... here.
34082         * inet/Makefile (routines): Move those to ...
34083         * sunrpc/Makefile (routines): ... here.
34084         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34085         the $(subdirs) list.
34086         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34087         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34088         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34089         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34091         * elf/Makefile (routines): Include $(all-dl-routines), not just
34092         $(dl-routines).
34093         (rtld-routines): Likewise.  Use = rather than :=.
34094         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34095         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34096         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34097         * sysdeps/arm/Makefile: Likewise.
34098         * sysdeps/i386/Makefile: Likewise.
34099         * sysdeps/x86_64/Makefile: Likewise.
34100         * sysdeps/hppa/Makefile [$(subdir) = elf]
34101         (sysdep_routines, sysdep-rtld-routines): Don't add
34102         $(sysdep-dl-routines) to these.
34103         * sysdeps/ia64/Makefile: Likewise.
34104         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34105         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34106         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34107         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34108         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34109         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34110         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34111         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34112         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34113         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34114         these; sysdep-dl-routines alone is enough.
34116 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34118         [BZ #17932]
34119         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34120         where multiplication results in zero and third argument is finite
34121         and nonzero.
34122         * math/auto-libm-test-in: Add more tests of fma.
34123         * math/auto-libm-test-out: Regenerated.
34125         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34126         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34127         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34128         (_FP_CMP_EQ): Likewise.
34129         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34131         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34132         extra argument CHECK_NAN.  Redefine as wrapper around
34133         _FP_EXTEND_CNAN.
34135 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34137         * version.h (RELEASE): Set to "stable".
34138         (VERSION): Set to "2.21"
34139         * include/features.h (__GLIBC_MINOR__): Set to 21.
34141         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34143 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34144             Paul Eggert  <eggert@cs.ucla.edu>
34146         [BZ #16618]
34147         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34148         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34149         size in bytes. Store needed elements in wpmax. Use needed size
34150         in bytes for extend_alloca.
34152 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34154         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34155         binutls 2.25, and texinfo 5.2.
34156         * INSTALL: Regenerate.
34157         * sysdeps/nios2/configure: Regenerate.
34158         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34159         * manual/contrib.texi: Update.
34160         * po/be.po: Update.
34161         * po/bg.po: Update.
34162         * po/ca.po: Update.
34163         * po/cs.po: Update.
34164         * po/da.po: Update.
34165         * po/de.po: Update.
34166         * po/el.po: Update.
34167         * po/eo.po: Update.
34168         * po/es.po: Update.
34169         * po/fi.po: Update.
34170         * po/fr.po: Update.
34171         * po/gl.po: Update.
34172         * po/hr.po: Update.
34173         * po/hu.po: Update.
34174         * po/ia.po: Update.
34175         * po/id.po: Update.
34176         * po/it.po: Update.
34177         * po/ja.po: Update.
34178         * po/ko.po: Update.
34179         * po/lt.po: Update.
34180         * po/nb.po: Update.
34181         * po/nl.po: Update.
34182         * po/pl.po: Update.
34183         * po/pt_BR.po: Update.
34184         * po/ru.po: Update.
34185         * po/rw.po: Update.
34186         * po/sk.po: Update.
34187         * po/sl.po: Update.
34188         * po/sv.po: Update.
34189         * po/tr.po: Update.
34190         * po/uk.po: Update.
34191         * po/vi.po: Update.
34192         * po/zh_CN.po: Update.
34193         * po/zh_TW.po: Update.
34195         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34196         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34197         * sysdeps/hppa/dl-irel.h: Remove #warning.
34198         * sysdeps/hppa/entry.h: Provide prototype for
34199         __canonicalize_funcptr_for_compare and cast argument.
34200         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34201         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34202         * sysdeps/hppa/sotruss-lib.c: New file.
34203         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34204         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34205         (atomic_compare_and_exchange_bool_acq): Likewise.
34206         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34207         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34209         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34210         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34211         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34213 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34215         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34216         called function in non-PIC case.
34218 2015-01-31  David S. Miller  <davem@davemloft.net>
34220         * sysdeps/sparc/sparc32/bits/atomic.h
34221         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34222         unlock not after it.
34223         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34224         volatile register usage warnings from the compiler.
34226         * sysdeps/sparc/nptl/sem_init.c: Delete.
34227         * sysdeps/sparc/nptl/sem_post.c: Delete.
34228         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34229         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34230         * sysdeps/sparc/sparc32/sem_init.c: New file.
34231         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34232         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34233         padding explicitly initialized.
34234         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34235         padding for in-semaphore spinlock.
34236         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34237         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34238         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34239         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34240         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34241         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34242         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34243         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34244         version.
34245         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34246         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34248 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34250         [BZ #17801]
34251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34252         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34253         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34254         New.
34255         (index_AVX_Fast_Unaligned_Load): Likewise.
34256         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34257         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34258         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34259         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34260         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34261         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34262         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34263         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34264         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34266 2015-01-29  Andreas Schwab  <schwab@suse.de>
34268         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34270 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34272         [BZ #17892]
34273         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34275 2015-01-28  Martin Sebor  <msebor@redhat.com>
34277         * math/README.libm-test: Clarify. Add "How to read the test output."
34279 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34281         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34282         Define to 0.
34284 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34286         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34287         (__HAVE_64B_ATOMICS): Define to 0.
34289 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34291         [BZ #17885]
34292         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34293         value to set as new flag.
34295         [BZ #16576]
34296         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34297         and use _ARCH_PPCSQ instead.
34298         (__ieee754_sqrt): Likewise.
34299         (__ieee754_sqrtf): Likewise.
34300         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34301         _ARCH_PPCSQ is defined.
34302         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34303         fsqrt instruction.
34304         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34305         _ARCH_PPCSQ is defined.
34306         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34307         fsqrts instruction.
34308         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34310 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34312         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34313         bug (GCC BZ #64739).
34315 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34317         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34318         Mark _retval as used.
34319         (lll_futex_wake_unlock): Likewise.
34320         (lll_futex_timed_wait_requeue_pi): Likewise.
34322         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34323         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34324         register variables.
34326         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34327         libm_hidden_def.
34329         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34330         (__bswap_64): Mark as __always_inline.
34332 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34334         [BZ #15378]
34335         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34336         when none of the search directories exist.
34338 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34340         [BZ #17869]
34341         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34342         power8 in .machine directive.
34344         [BZ #17868]
34345         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34346         set dependency from opd value.
34348 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34351         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34352         architecture.
34354 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34356         [BZ #17870]
34357         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34358         with uint64_t.
34359         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34360         (uint64_t) 1.
34361         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34362         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34363         Replace 1UL with (uint64_t) 1.
34364         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34365         int with uint64_t.
34367 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34369         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34370         (if_freenameindex): Likewise.
34372         * resource/getrlimit64.c: Add missing libc_hidden_def.
34374 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34376         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34377         __label__.
34378         (_FP_FMA): Likewise.
34379         (_FP_TO_INT_ROUND): Likewise.
34380         (_FP_FROM_INT): Likewise.
34382 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34384         [BZ #16418]
34385         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34386         Make code racy and cancel safe.
34388 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34390         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34391         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34392         attribution.
34394         * pwd/tst-getpw.c: Rewrite.
34396         [BZ #17702]
34397         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34398         (modules-names): Add moddummy1 and moddummy2.
34399         ($(objpfx)tst-rec-dlopen): Define.
34400         * dlfcn/moddummy1.c: New file.
34401         * dlfcn/moddummy2.c: New file.
34402         * dlfcn/tst-rec-dlopen.c: New file.
34403         * elf/dl-cache.c (_dl_load_cache_lookup):
34404         Return char*. Copy result with alloca/strcpy/strdup.
34405         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34406         returns char*. Free cached. If not saving realname
34407         free cached.
34408         * elf/dl-open.c (dl_open_worker): Do not assert that
34409         _r_debug->r_state is RT_CONSISTENT.
34410         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34411         returns char*.
34413 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34414             Carlos O'Donell  <carlos@redhat.com>
34416         [BZ #12674]
34417         * nptl/sem_waitcommon.c: New file.
34418         * nptl/sem_wait.c: Include sem_waitcommon.c.
34419         (__sem_wait_cleanup, do_futex_wait): Remove.
34420         (__new_sem_wait): Adapt.
34421         (__new_sem_trywait): New function.
34422         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34423         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34424         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34425         (sem_timedwait): Adapt.
34426         * nptl/sem_post.c (__new_sem_post): Adapt.
34427         (futex_wake): New function.
34428         (__old_sem_post): Add release MO fence.
34429         * nptl/sem_open.c (sem_open): Adapt.
34430         * nptl/sem_init.c (__new_sem_init): Adapt.
34431         (futex_private_if_supported): New function.
34432         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34433         (__old_sem_getvalue): Add using previous code.
34434         * sysdeps/nptl/internaltypes.h: Adapt.
34435         * nptl/tst-sem13.c (do_test): Adapt.
34436         * nptl/tst-sem11.c (main): Adapt.
34437         * nptl/sem_trywait.c: Remove.
34438         * nptl/DESIGN-sem.txt: Remove.
34439         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34440         (gen-as-const-headers): Remove structsem.sym.
34441         * nptl/structsem.sym: Remove.
34442         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34443         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34444         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34445         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34446         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34447         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34448         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34449         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34450         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34451         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34452         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34453         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34454         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34455         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34456         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34457         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34458         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34459         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34460         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34461         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34462         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34463         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34465 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34467         * INSTALL: Regenerated.
34469         * po/libc.pot: Regenerated.
34471 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34472             Sandra Loosemore  <sandra@codesourcery.com>
34473             Andrew Jenner  <andrew@codesourcery.com>
34474             Joseph Myers  <joseph@codesourcery.com>
34475             Nathan Sidwell  <nathan@codesourcery.com>
34477         * NEWS: Mention new Nios II port.
34478         * sysdeps/nios2/Implies: New file.
34479         * sysdeps/nios2/Makefile: New file.
34480         * sysdeps/nios2/Subdirs: New file.
34481         * sysdeps/nios2/Versions: New file.
34482         * sysdeps/nios2/__longjmp.S: New file.
34483         * sysdeps/nios2/abort-instr.h: New file.
34484         * sysdeps/nios2/backtrace.c: New file.
34485         * sysdeps/nios2/bits/endian.h: New file.
34486         * sysdeps/nios2/bits/fenv.h: New file.
34487         * sysdeps/nios2/bits/link.h: New file.
34488         * sysdeps/nios2/bits/setjmp.h: New file.
34489         * sysdeps/nios2/bsd-_setjmp.S: New file.
34490         * sysdeps/nios2/bsd-setjmp.S: New file.
34491         * sysdeps/nios2/configure: New generated file.
34492         * sysdeps/nios2/configure.ac: New file.
34493         * sysdeps/nios2/crti.S: New file.
34494         * sysdeps/nios2/crtn.S: New file.
34495         * sysdeps/nios2/dl-init.c: New file.
34496         * sysdeps/nios2/dl-machine.h: New file.
34497         * sysdeps/nios2/dl-sysdep.h: New file.
34498         * sysdeps/nios2/dl-tls.h: New file.
34499         * sysdeps/nios2/dl-trampoline.S: New file.
34500         * sysdeps/nios2/gccframe.h: New file.
34501         * sysdeps/nios2/gmp-mparam.h: New file.
34502         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34503         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34504         * sysdeps/nios2/ldsodefs.h: New file.
34505         * sysdeps/nios2/libc-tls.c: New file.
34506         * sysdeps/nios2/libm-test-ulps: New file.
34507         * sysdeps/nios2/machine-gmon.h: New file.
34508         * sysdeps/nios2/math-tests.h: New file.
34509         * sysdeps/nios2/math_private.h: New file.
34510         * sysdeps/nios2/memusage.h: New file.
34511         * sysdeps/nios2/nptl/Makefile: New file.
34512         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34513         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34514         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34515         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34516         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34517         * sysdeps/nios2/nptl/tls.h: New file.
34518         * sysdeps/nios2/preconfigure: New file.
34519         * sysdeps/nios2/s_fma.c: New file.
34520         * sysdeps/nios2/s_fmaf.c: New file.
34521         * sysdeps/nios2/setjmp.S: New file.
34522         * sysdeps/nios2/sfp-machine.h: New file.
34523         * sysdeps/nios2/sotruss-lib.c: New file.
34524         * sysdeps/nios2/stackguard-macros.h: New file.
34525         * sysdeps/nios2/stackinfo.h: New file.
34526         * sysdeps/nios2/start.S: New file.
34527         * sysdeps/nios2/sysdep.h: New file.
34528         * sysdeps/nios2/tls-macros.h: New file.
34529         * sysdeps/nios2/tst-audit.h: New file.
34530         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34531         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34532         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34533         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34534         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34535         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34536         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34537         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34538         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34539         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34540         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34541         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34542         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34543         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34544         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34545         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34546         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34547         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34548         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34549         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34550         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34551         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34552         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34553         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34554         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34555         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34556         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34557         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34558         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34559         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34560         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34561         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34562         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34563         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34564         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34565         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34566         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34567         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34568         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34569         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34570         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34571         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34572         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34573         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34575 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34577         [BZ #17844]
34578         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34579         (getutent): Use weak_alias in non SHARED case
34580         and default_symbol_version in SHARED case.
34581         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34582         (getutent_r, pututline): Likewise.
34583         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34584         (getutid): Likewise.
34585         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34586         (getutid_r): Likewise.
34587         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34588         (getutline): Likewise.
34589         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34590         (getutline_r): Likewise.
34591         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34592         (updwtmp): Likewise.
34594 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34596         [BZ #17848]
34597         * sysdeps/s390/s390-32/memcmp.S
34598         (memcmp_g5): Rename to __memcmp_g5.
34599         * sysdeps/s390/s390-32/memcpy.S
34600         (memcpy_g5): Rename to __memcpy_g5.
34601         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34602         (memcpy_mvcle) Rename to __memcpy_mvcle.
34603         * sysdeps/s390/s390-32/memset.S
34604         (memset_g5): Rename to __memset_g5.
34605         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34606         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34607         and use prefixed functions.
34608         * sysdeps/s390/s390-32/multiarch/memcmp.S
34609         (memcmp_z196): Rename to __memcmp_z196.
34610         (memcmp_z10): Rename to __memcmp_z10.
34611         (memcmp): Set alias to __memcmp_g5.
34612         (bcmp): Set alias to __memcmp_g5.
34613         * sysdeps/s390/s390-32/multiarch/memcpy.S
34614         (memcpy_z196): Rename to __memcpy_z196.
34615         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34616         (memcpy_z10): Rename to __memcpy_z10.
34617         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34618         (memcpy): Set alias to __memcpy_g5.
34619         * sysdeps/s390/s390-32/multiarch/memset.S
34620         (memset_z196): Rename to __memset_z196.
34621         Jump to __memset_mvcle instead of memset_mvcle.
34622         (memset_z10): Rename to __memset_z10.
34623         Jump to __memset_mvcle instead of memset_mvcle.
34624         (memset_mvcle) Rename to __memset_mvcle.
34625         (memset): Set alias to __memset_g5.
34626         * sysdeps/s390/s390-64/memcmp.S
34627         (memcmp_z900): Rename to __memcmp_z900.
34628         * sysdeps/s390/s390-64/memcpy.S
34629         (memcpy_z900): Rename to __memcpy_z900.
34630         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34631         (memcpy_mvcle) Rename to __memcpy_mvcle.
34632         * sysdeps/s390/s390-64/memset.S
34633         (memset_z900): Rename to __memset_z900.
34634         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34635         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34636         and use prefixed functions.
34637         * sysdeps/s390/s390-64/multiarch/memcmp.S
34638         (memcmp_z196): Rename to __memcmp_z196.
34639         (memcmp_z10): Rename to __memcmp_z10.
34640         (memcmp): Set alias to __memcmp_z900.
34641         (bcmp): Set alias to __memcmp_z900.
34642         * sysdeps/s390/s390-64/multiarch/memcpy.S
34643         (memcpy_z196): Rename to __memcpy_z196.
34644         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34645         (memcpy_z10): Rename to __memcpy_z10.
34646         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34647         (memcpy): Set alias to __memcpy_z900.
34648         * sysdeps/s390/s390-64/multiarch/memset.S
34649         (memset_z196): Rename to __memset_z196.
34650         Jump to __memset_mvcle instead of memset_mvcle.
34651         (memset_z10): Rename to __memset_z10.
34652         Jump to __memset_mvcle instead of memset_mvcle.
34653         (memset_mvcle) Rename to __memset_mvcle.
34654         (memset): Set alias to __memset_z900.
34656 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34658         [BZ #17748]
34659         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34660         __fesetenv instead of fesetenv.
34662 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34664         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34665         macro.
34667 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34669         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34670         regression on LE.
34672         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34673         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34674         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34675         strncmp-power8 object.
34676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34677         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34678         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34679         * NEWS: Update.
34681 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34682             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34684         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34685         trailing byte check.
34687 2015-01-13  David S. Miller  <davem@davemloft.net>
34689         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34691 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34693         * login/logout.c (logout): Use memset rather than bzero.
34694         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34695         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34696         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34697         (_gethtbyaddr): Likewise.
34698         * locale/programs/simple-hash.c (bcopy): Macro removed.
34700 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34702         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34703         Add strcmp-power8 object.
34704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34705         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34706         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34707         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34708         __strcmp_power8 implementation.
34709         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34710         * NEWS: Update.
34712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34713         Add strncpy-power8 and stpncpy-power8 objects.
34714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34715         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34716         implementations.
34717         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34718         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34719         __stpncpy_power8 implementation.
34720         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34721         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34722         __strncpy_power8 implementation.
34723         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34724         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34725         * NEWS: Update.
34727         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34728         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34729         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34731         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34732         strncat-power8 object.
34733         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34734         __strcat_power8 implementation.
34735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34736         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34737         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34738         optimized strcat for power8.
34740         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34741         strcpy-power8 and stpcpy-power8 objects.
34742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34743         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34744         implementations.
34745         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34746         multiarch stpcpy implementation for POWER8.
34747         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34748         multiarch strcpy implementation for POWER8.
34749         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34750         __strcpy_power8 function.
34751         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34752         stpcpy for POWER8.
34753         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34754         strcpy for POWER8.
34755         * NEWS: Update.
34757 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34759         [BZ #16009]
34760         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34761         weights and rules. Use do_xfrm_cached if data fits in cache,
34762         do_xfrm otherwise.  Moved former main loop to...
34763         * (do_xfrm_cached): New function.
34764         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34765         find_idx, find_position and stack_push.
34766         * (find_idx): New function.
34767         * (find_position): Likewise.
34768         * localedata/sort-test.sh: Added test run for do_xfrm.
34769         * localedata/xfrm-test.c (main): Added command line option
34770         -nocache to run the test with strings that are too large for
34771         the STRXFRM cache.
34773 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34775         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34776         variable to lll_futex_wake call, not the value itself.
34778 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34780         [BZ #17803]
34781         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34782         twom64.  Adjust value to 0x1p-64L.
34783         (__scalblnl): Only return standard underflowing result for K <=
34784         -64 not K <= -63; adjust exponent for underflowing result by 64
34785         not 63.
34786         * math/libm-test.inc (scalbn_test_data): Add more tests.
34787         (scalbln_test_data): Likewise.
34789         [BZ #17834]
34790         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34791         0x1p63L.
34792         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34793         not HX.
34794         * math/libm-test.inc (scalbn_test_data): Add more tests.
34795         (scalbln_test_data): Likewise.
34797 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34798             Stefani Seibold  <stefani@seibold.net>
34800         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34801         (sysdep_routines): Add dl-vdso here, ...
34802         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34803         (sysdep_routines): ... not here.
34804         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34805         fallback when vDSO is not presented.
34806         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34807         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34808         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34809         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34810         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34811         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34812         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34813         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34814         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34816         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34817         fallback configurable symbol when vDSO is not available.
34818         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34819         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34820         be able to redefine fallback symbol when vDSO is not available.
34821         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34822         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34824 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34826         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34827         (TLS_INIT_TP): Add tm_capable initialization.
34828         (TLS_DEFINE_INIT_TP): Likewise.
34829         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34830         TCB.
34831         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34832         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34833         calculation.
34834         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34835         transactoion is lock elision is built and TCB tm_capable is set.
34836         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34838         (INTERNAL_SYSCALL_NCS): Likewise.
34839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34840         (INTERNAL_SYSCALL_NCS): Likewise.
34841         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34843         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34844         for powerpc.
34845         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34846         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34847         and remove it for 32 bits case.
34848         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34850         initialization.
34851         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34852         Disable lock elision with rdlocks if elision is not available.
34854         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34855         (sysdep_routines): Add lock elision objects.
34856         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34857         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34858         [pthread_mutex_t] (__elision): Add field.
34859         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34860         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34861         elision definitions for powerpc.
34862         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34863         implementation of lock elision for powerpc.
34864         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34865         implementation of timed lock elision for powerpc.
34866         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34867         implementation of trylock with lock elision for powerpc.
34868         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34869         implementaion of unlock for lock elision for powerpc.
34870         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34871         automatic enable lock elision for mutexes.
34872         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34873         transaction execution definitions for powerpc.
34874         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34875         definitions.
34876         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34877         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34878         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34879         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34880         * NEWS: Update.
34882 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34884         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34885         for #include of <shm-directory.h>.
34887 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34889         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34890         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34892 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34894         [BZ #17791]
34895         * NEWS: Mention bug fix.
34896         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34897         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34898         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34900 2015-01-09  Torvald Riegel <triegel@redhat.com>
34902         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34904 2015-01-09  Torvald Riegel <triegel@redhat.com>
34906         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34908 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34910         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34911         pointer and cast to uintptr_t.
34913 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34915         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34916         removed.
34917         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34919 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34921         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34922         of 0.
34924 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34926         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34927         <nptl/pthreadP.h> instead.
34928         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34930         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34931         already defined.
34932         [__SIGRTMIN] (init): Function removed.
34933         [__SIGRTMIN] (initialized): Variable removed.
34934         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34935         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34936         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34937         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34938         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34939         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34940         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34941         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34942         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34943         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34944         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34945         * sysdeps/nptl/allocrtsig.c: New file.
34946         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34947         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34948         * sysdeps/generic/testrtsig.h: File removed.
34950         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34951         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34953         * nptl/nptl-init.c (pthread_functions): Conditionalize
34954         .ptr__nptl_setxid initialization on [SIGSETXID].
34956         * sysdeps/nptl/sys/procfs.h: New file.
34957         * nptl_db/Makefile (headers): Add it.
34958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34960         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34961         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34962         * nptl/pthread_attr_setaffinity.c: Include it.
34963         * nptl/pthread_setattr_default_np.c: Likewise.
34964         * nptl/check-cpuset.h: New file.
34966 2015-01-08  Richard Henderson  <rth@redhat.com>
34968         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34969         (CFLAGS-tst-execstack-prog.c): Likewise.
34970         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34972 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34973             Sandra Loosemore  <sandra@codesourcery.com>
34974             Andrew Jenner  <andrew@codesourcery.com>
34975             Joseph Myers  <joseph@codesourcery.com>
34976             Nathan Sidwell  <nathan@codesourcery.com>
34978         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34979         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34980         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34981         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34982         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34983         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34984         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34985         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34986         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34987         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34988         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34989         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34990         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34991         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34992         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34993         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34994         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34996 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34998         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34999         timespec struct member in syscall macro.
35000         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35001         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35002         first timeval struct member in syscall macro.
35003         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35005 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35007         [BZ #17748]
35008         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35009         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35010         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35011         __feupdateenv and define as weak alias of __feupdateenv.  Use
35012         libm_hidden_weak.
35013         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35014         libm_hidden_def.
35015         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35016         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35017         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35018         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35019         libm_hidden_def.
35020         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35021         __feupdateenv and define as weak alias of __feupdateenv.  Use
35022         libm_hidden_weak.
35023         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35024         libm_hidden_def.
35025         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35026         __feupdateenv and define as weak alias of __feupdateenv.  Use
35027         libm_hidden_weak.
35028         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35029         libm_hidden_def.
35030         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35031         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35032         (__feupdateenv): Likewise.
35033         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35034         __feupdateenv and define as weak alias of __feupdateenv.  Use
35035         libm_hidden_weak.
35036         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35037         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35038         libm_hidden_def.
35039         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35040         function.
35041         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35042         libm_hidden_def.
35043         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35044         __feupdateenv instead of feupdateenv.
35045         (default_libc_feupdateenv_test): Likewise.
35046         (libc_feresetround_ctx): Likewise.
35048 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35050         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35051         prototype.
35053 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35055         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35056         COLL_SYM in a couple of places to avoid uninitialized variable
35057         wanings on tilegx gcc 4.8.2.
35059 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35061         * sysdeps/aarch64/strcpy.S: New file.
35062         * sysdeps/aarch64/stpcpy.S: New file.
35063         * NEWS: Updated.
35065 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35067         * sysdeps/aarch64/strrchr.S: New file.
35068         * NEWS: Updated.
35070 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35072         [BZ #17658]
35073         * stdlib/setenv.c: Fix memory leak when setting large,
35074         duplicate string.
35076 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35078         [BZ #17273]
35079         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35080         and tabs from buffer before parsing fstab entry.
35081         * misc/tst-mntent.c (main): Add test for mount entry with
35082         trailing spaces and tabs.
35084 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35086         [BZ #17748]
35087         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35088         * math/fesetround.c (fesetround): Rename to __fesetround and
35089         define as weak alias of __fesetround.  Use libm_hidden_weak.
35090         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35091         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35092         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35093         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35094         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35095         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35096         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35097         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35098         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35099         __fesetround_inline.
35100         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35101         __fesetround_inline instead of __fesetround.
35102         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35103         __fesetround and define as weak alias of __fesetround.  Use
35104         libm_hidden_weak.  Call __fesetround_inline instead of
35105         __fesetround.
35106         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35107         __fesetround and define as weak alias of __fesetround.  Use
35108         libm_hidden_weak.
35109         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35110         Likewise.
35111         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35112         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35113         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35114         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35115         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35116         __fesetround and define as weak alias of __fesetround.  Use
35117         libm_hidden_weak.
35118         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35119         __fesetround instead of fesetround.
35120         (default_libc_feholdexcept_setround): Likewise.
35121         (libc_feholdsetround_ctx): Likewise.
35122         (libc_feholdsetround_noex_ctx): Likewise.
35124         [BZ #17748]
35125         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35126         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35127         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35128         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35129         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35130         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35131         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35132         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35133         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35134         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35135         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35136         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35137         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35138         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35139         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35140         libm_hidden_def.
35141         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35142         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35143         Likewise.
35144         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35145         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35146         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35147         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35148         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35149         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35150         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35151         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35152         __fesetenv instead of fesetenv.
35153         (libc_feresetround_noex_ctx): Likewise.
35154         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35155         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35156         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35157         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35158         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35159         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35160         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35161         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35162         (__feupdateenv): Likewise.
35163         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35164         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35165         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35166         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35168 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35170         [BZ #17806]
35171         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35172         addresses have been freed.
35174 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35176         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35177         and nservall.
35179 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35181         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35182         Clean up check_pf allocation pattern. addresses
35184 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35186         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35187         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35188         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35189         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35190         * nptl/pthread_join.c (pthread_join): Likewise.
35191         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35192         * sysdeps/posix/waitid.c (__waitid): Likewise.
35193         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35194         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35195         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35196         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35197         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35198         Likewise.
35199         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35200         (__libc_pread64): Likewise.
35201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35202         (__libc_pwrite): Likewise.
35203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35204         (__libc_pwrite64): Likewsie.
35205         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35206         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35207         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35208         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35209         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35210         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35211         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35213         Likewise.
35214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35215         (__libc_pread64): Likewise.
35216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35217         Likewise.
35218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35219         (__libc_pwrite64): Likewise.
35220         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35221         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35222         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35223         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35224         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35225         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35226         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35227         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35228         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35229         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35230         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35231         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35232         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35233         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35234         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35235         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35236         Likewise.
35238 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35240         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35241         (CFLAGS-test-double.c): Likewise.
35242         (CFLAGS-test-ldouble.c): Likewise.
35243         (CPPFLAGS-test-ifloat.c): Likewise.
35244         (CPPFLAGS-test-idouble.c): Likewise.
35245         (CPPFLAGS-test-ildoubl.c): Likewise.
35246         (CFLAGS-test-test-fenv.c): Remove variable.
35247         (CFLAGS-test-misc.c): Likewise.
35249 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35251         [BZ #17797]
35252         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35253         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35254         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35255         CLOCKS_PER_SEC == 1000000.
35256         * time/clocktest.c (main): Replace %ld with %jd and cast to
35257         intmax_t.
35259 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35261         * sysdeps/generic/unwind-resume.h: New file.
35262         * sysdeps/gnu/unwind-resume.c: Include it.
35263         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35264         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35265         argument list.
35266         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35267         global rather than static.
35268         (_Unwind_Resume): Update user.
35269         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35270         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35271         rather than static.  Add __attribute__ ((cold)).
35272         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35273         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35274         * sysdeps/arm/arm-unwind-resume.S: New file.
35275         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35276         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35277         * sysdeps/arm/Makefile [$(subdir) = csu]
35278         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35279         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35280         Add rt-arm-unwind-resume.
35281         [$(subdir) = nptl]
35282         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35283         Add pt-arm-unwind-resume.
35284         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35285         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35287 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35289         [BZ #17748]
35290         * include/fenv.h (__feholdexcept): Declare.  Use
35291         libm_hidden_proto.
35292         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35293         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35294         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35295         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35296         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35297         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35298         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35299         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35300         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35301         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35302         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35303         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35304         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35305         (feholdexcept): Likewise.
35306         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35307         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35308         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35309         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35310         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35311         __feholdexcept instead of feholdexcept.
35312         (default_libc_feholdexcept_setround): Likewise.
35314 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35316         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35317         to avoid using stl/str to align destination.
35319 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35321         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35323 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35325         [BZ #17796]
35326         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35327         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35328         Define as weak alias not strong alias.
35330 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35332         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35333         bltzal with addiupc.
35334         (RTLD_START): Ditto.
35336 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35338         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35339         for __vdso_* functions in declarations.
35340         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35341         definitions.
35342         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35343         INTERNAL_VSYSCALL): Use struct return types to check for error.
35345         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35346         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35347         function with cast from llround().
35348         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35349         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35350         Define.
35352 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35354         [BZ #17793]
35355         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35356         Define as weak alias not strong alias.
35358         [BZ #17635]
35359         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35360         ...
35361         * ctype/ctype-extn.c: ... here.
35362         (__isblank_l): Move to ...
35363         * ctype/ctype-c99_l.c: ... here.  New file.
35364         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35365         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35366         Remove variable.
35367         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35368         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35369         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35370         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35371         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35373         [BZ #17777]
35374         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35375         (posix_fadvise64): Define as weak alias not strong alias.
35376         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35377         (posix_fallocate64): Likewise.
35378         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35379         Remove variable.
35380         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35381         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35382         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35383         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35384         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35386 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35388         [BZ #16191]
35389         * NEWS: Mention bug fix.
35390         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35391         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35392         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35393         (HOST_STACK_END_ADDR): Likewise.
35395 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35397         [BZ #17748]
35398         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35399         * math/fegetround.c (fegetround): Rename to __fegetround and
35400         define as weak alias of __fegetround.  Use libm_hidden_weak.
35401         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35402         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35403         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35404         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35405         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35406         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35407         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35408         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35409         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35410         Undefine after rather than before function definition; use
35411         parentheses around function name in definition.
35412         (__fegetround): Also undefine macro after function definition.
35413         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35414         __fegetround and define as weak alias of __fegetround.  Use
35415         libm_hidden_weak.  Do not undefine as macro.
35416         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35417         Likewise.
35418         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35419         __fegetround and define as weak alias of __fegetround.  Use
35420         libm_hidden_weak.
35421         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35422         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35423         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35424         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35425         __fegetround and define as weak alias of __fegetround.  Use
35426         libm_hidden_weak.
35427         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35428         __fegetround instead of fegetround.
35430         [BZ #17782]
35431         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35432         Condition macro definition on [__USE_MISC].
35434         [BZ #17781]
35435         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35436         (struct sigaction): Change type of sa_flags field to int.
35438         [BZ #17780]
35439         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35440         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35441         __glibc_reserved0.
35443         * nptl/version.c (banner): Use single year in copyright notice.
35445         * NEWS: Update copyright dates.
35446         * catgets/gencat.c (print_version): Likewise.
35447         * csu/version.c (banner): Likewise.
35448         * debug/catchsegv.sh: Likewise.
35449         * debug/pcprofiledump.c (print_version): Likewise.
35450         * debug/xtrace.sh (do_version): Likewise.
35451         * elf/ldconfig.c (print_version): Likewise.
35452         * elf/ldd.bash.in: Likewise.
35453         * elf/pldd.c (print_version): Likewise.
35454         * elf/sotruss.sh: Likewise.
35455         * elf/sprof.c (print_version): Likewise.
35456         * iconv/iconv_prog.c (print_version): Likewise.
35457         * iconv/iconvconfig.c (print_version): Likewise.
35458         * locale/programs/locale.c (print_version): Likewise.
35459         * locale/programs/localedef.c (print_version): Likewise.
35460         * login/programs/pt_chown.c (print_version): Likewise.
35461         * malloc/memusage.sh (do_version): Likewise.
35462         * malloc/memusagestat.c (print_version): Likewise.
35463         * malloc/mtrace.pl: Likewise.
35464         * manual/libc.texinfo: Likewise.
35465         * nptl/version.c (banner): Likewise.
35466         * nscd/nscd.c (print_version): Likewise.
35467         * nss/getent.c (print_version): Likewise.
35468         * nss/makedb.c (print_version): Likewise.
35469         * posix/getconf.c (main): Likewise.
35470         * scripts/test-installation.pl: Likewise.
35471         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35473 2015-01-02  Will Newton  <will.newton@linaro.org>
35475         * sysdeps/arm/armv7/configure: Removed.
35476         * sysdeps/arm/armv7/configure.ac: Likewise.
35478 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35480         * All files with FSF copyright notices: Update copyright dates
35481         using scripts/update-copyrights.
35482         * intl/plural.c: Regenerated.
35483         * locale/programs/charmap-kw.h: Likewise.
35484         * locale/programs/locfile-kw.h: Likewise.
35486 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35488         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35490 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35492         [BZ #17748]
35493         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35494         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35495         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35496         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35497         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35498         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35499         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35500         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35501         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35502         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35503         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35504         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35505         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35506         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35507         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35508         libm_hidden_def.
35509         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35510         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35511         Likewise.
35512         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35513         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35514         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35515         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35516         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35517         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35518         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35519         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35520         __fegetenv instead of fegetenv.
35521         (libc_feholdsetround_noex_ctx): Likewise.
35523 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35525         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35526         (Elf_MIPS_ABIFlags_v0): New structure.
35527         (EF_MIPS_FP64): Define.
35528         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35529         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35530         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35531         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35532         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35533         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35534         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35535         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35536         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35537         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35538         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35539         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35540         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35541         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35542         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35543         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35544         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35545         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35546         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35547         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35548         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35549         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35550         field.
35551         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35552         EF_MIPS_FP64.
35553         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35554         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35555         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35556         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35557         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35558         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35559         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35560         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35561         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35562         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35563         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35564         record the current FP ABI extension.
35565         (mips-mode-switch): Define to show if kernel headers support mode
35566         switching.
35567         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35568         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35569         supported SYSV ABI version to 3.
35570         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35571         feature.
35573 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35574             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35576         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35577         path.
35578         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35580 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35582         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35583         __fegetround and redefine to call __fegetround.  Remove condition
35584         on [!__NO_MATH_INLINES].
35585         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35586         function.
35587         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35588         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35589         Remove macro.
35590         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35591         instead of <fenv_libc.h>.
35592         (__llrintl): Call fegetround instead of __fegetround.
35593         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35594         instead of <fenv_libc.h>.
35595         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35596         (__lrintl): Call fegetround instead of __fegetround.
35597         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35598         instead of <fenv_libc.h>.
35599         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35600         (__rintl): Call fegetround instead of __fegetround.
35602 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35604         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35605         arrays.
35607 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35609         [BZ #17775]
35610         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35611         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35612         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35614 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35616         * sysdeps/i386/tls-macros.h: Include <features.h>.
35617         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35618         (TLS_IE): Likewise.
35619         (TLS_LD): Likewise.
35620         (TLS_GD): Likewise.
35621         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35622         define for GCC >= 5.0.
35624 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35626         * math/test-fenv.c (test_single_exception, set_single_exc,
35627         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35628         feexcp_mask_test, feenable_test, fe_single_test): Add
35629         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35630         case where they are not used.
35631         * math/libm-test.inc: Likewise.
35632         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35633         unused in the absence of FP rounding/exception support.
35634         * stdio-common/tst-printf-round.c: Likewise.
35635         * stdlib/tst-strtod-round.c: Likewise.
35636         * stdlib/tst-strtod-underflow.c: Likewise.
35638 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35640         [BZ #17723]
35641         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35642         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35643         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35644         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35645         libm_hidden_weak.
35646         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35647         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35648         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35649         libm_hidden_def.
35650         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35651         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35652         libm_hidden_weak.
35653         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35654         Likewise.
35655         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35656         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35657         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35658         libm_hidden_weak.
35659         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35660         libm_hidden_def.
35661         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35662         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35663         (__feraiseexcept): Likewise.
35664         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35665         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35666         libm_hidden_weak.
35667         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35668         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35669         libm_hidden_def.
35670         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35671         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35672         Use libm_hidden_def.
35673         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35674         libm_hidden_def.
35675         (feraiseexcept): Define as weak not strong alias.  Use
35676         libm_hidden_weak.
35677         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35678         New inline function.  Factored out of ...
35679         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35680         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35681         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35682         feraiseexcept.
35683         * math/w_acos.c (__acos): Likewise.
35684         * math/w_asin.c (__asin): Likewise.
35685         * math/w_ilogb.c (__ilogb): Likewise.
35686         * math/w_j0.c (y0): Likewise.
35687         * math/w_j1.c (y1): Likewise.
35688         * math/w_jn.c (yn): Likewise.
35689         * math/w_log.c (__log): Likewise.
35690         * math/w_log10.c (__log10): Likewise.
35691         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35692         * sysdeps/aarch64/fpu/math_private.h
35693         (libc_feupdateenv_test_aarch64): Likewise.
35694         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35695         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35696         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35697         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35698         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35699         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35700         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35701         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35702         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35703         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35705 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35707         [BZ #17732]
35708         * io/test-utime.c (main): Replace %ld with %jd and cast to
35709         intmax_t.
35710         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35711         * nptl/tst-mutex5.c: Include <stdint.h>.
35712         (do_test): Replace %ld with %jd and cast to intmax_t.
35713         * posix/tst-regex.c (run_test): Likewise.
35714         (run_test_backwards): Likewise.
35715         * rt/tst-clock.c: Include <stdint.h>.
35716         (clock_test): Replace %ld with %jd and cast to intmax_t.
35717         * rt/tst-cpuclock1.c: Include <stdint.h>.
35718         (do_test): Replace %lu with %ju and cast to uintmax_t.
35719         * rt/tst-cpuclock2.c: Include <stdint.h>.
35720         (do_test): Replace %lu with %ju and cast to uintmax_t.
35721         * rt/tst-mqueue1.c: Include <stdint.h>.
35722         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35723         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35724         intmax_t.
35725         * rt/tst-mqueue4.c (do_test): Likewise.
35726         * rt/tst-timer4.c: Include <stdint.h>.
35727         (check_ts): Replace %ld with %jd and cast to intmax_t.
35728         (do_test): Likewise.
35729         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35730         and cast to intmax_t.
35731         * sysdeps/pthread/tst-timer.c (main): Likewise.
35732         * time/clocktest.c (main): Likewise.
35733         * time/tst-posixtz.c (do_test): Likewise.
35734         * timezone/tst-timezone.c (main): Likewise.
35736 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35737             H.J. Lu  <hongjiu.lu@intel.com>
35739         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35740         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35741         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35742         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35743         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35744         version if bit_Fast_Unaligned_Load is set.
35745         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35746         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35747         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35748         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35749         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35750         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35752         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35753         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35754         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35755         to 4.
35756         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35757         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35758         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35759         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35761 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35763         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35764         instead of #if to avoid a Wundef warning.
35765         * stdlib/tst-limits.c (do_test): Likewise.
35767         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35768         parallel other exception macros.
35769         (fegetenv): Convert from macro to extern inline so that it applies
35770         retroactively to inline functions already seen by the compiler.
35771         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35773         * posix/Makefile (before-compile): Use $(objpfx) for
35774         posix-conf-vars-def.h.
35776 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35778         * posix/getconf.c (main): Use size_t for type of I.
35779         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35780         NSPEC.
35782         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35783         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35784         * posix/posix-envs.def: Likewise.
35785         * sysdeps/posix/sysconf.c: Likewise.
35786         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35787         (specs): Remove array.
35788         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35789         array.
35791         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35792         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35793         (__sysconf): Use CONF_IS_* macros.
35795         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35796         ($(objpfx)posix-conf-vars-def.h): New target.
35797         * posix/posix-conf-vars.list: New file.
35798         * posix/posix-conf-vars.h: New file.
35799         * posix/confstr.c: Include posix-conf-vars.h.
35800         (confstr): Use CONF_IS_* macros.
35801         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35802         CONF_IS_* macros.
35803         * scripts/gen-posix-conf-vars.awk: New file.
35805 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35807         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35808         fegetround): Add no-op macros to avoid linknamespace issues.
35810         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35811         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35813         * sysdeps/unix/sysv/linux/tile/sysdep.h
35814         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35815         assembly-specific section to avoid a redefinition warning.
35817         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35818         long before casting to pointer to avoid a cast warning.
35820 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35822         * sysdeps/tile/tilegx/Implies: New file.
35824 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35826         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35828 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35830         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35832 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35835         not define.
35836         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35837         <kernel-features.h>.
35838         (__utimes) [__NR_utimes]: Make code unconditional.
35839         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35840         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35841         (__ASSUME_UTIMES): Do not undefine.
35842         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35843         (__ASSUME_UTIMES): Likewise.
35844         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35845         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35846         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35847         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35849 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35851         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35853 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35855         [BZ #17747]
35856         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35857         alias to weak alias for j0l, y0l.
35858         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35859         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35861         [BZ #17746]
35862         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35863         conversion.
35865 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35867         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35868         to zero if not already defined.
35870 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35872         [BZ #17724]
35873         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35874         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35875         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35876         (char *) casts added.
35877         * sysdeps/ieee754/k_standardf.c: New file.
35878         * sysdeps/ieee754/k_standardl.c: Likewise.
35879         * math/Makefile (libm-support): Remove k_standard.
35880         (libm-calls): Add k_standard.
35882 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35884         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35885         Optimize to avoid an unnecessary FPCR read.
35887 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35889         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35890         Optimize to reduce FPCR/FPSR accesses.
35892 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35894         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35895         Call libc_fetestexcept_aarch64.
35897 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35899         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35900         Call libc_fesetround_aarch64.
35902 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35904         [BZ #17733]
35905         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35906         (__bind): Do not define as weak alias.
35907         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35908         define.
35909         (__getsockname): Do not define as weak alias.
35911 2014-12-22  Will Newton  <will.newton@linaro.org>
35913         * manual/install.texi: Document that we require bison 2.7
35914         or above.
35915         * INSTALL: Regenerate.
35916         * configure.ac: Use AC_CHECK_PROG_VER instead of
35917         AC_PATH_PROG when checking for bison and check for
35918         version 2.7 or above.
35919         * configure: Regenerate.
35921 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35923         [BZ #17745]
35924         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35925         * sysdeps/tile/ffsll.c (ffsll): To here.
35927         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35929 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35931         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35932         if not defined.
35933         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35934         definition.
35935         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35936         hidden ___tls_get_addr.
35937         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35938         hidden __tls_get_addr.
35939         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35940         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35941         Likewise.
35943 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35945         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35946         _dl_init call.
35948 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35950         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35951         from "call _dl_init@PLT".
35952         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35954 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35956         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35957         guarantees.
35959 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35961         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35963 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35965         [BZ #17744]
35966         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35967         strnlen.
35969 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35971         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35972         of multu on MIPSr6.
35973         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35974         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35975         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35976         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35977         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35979 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35981         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35982         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35983         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35984         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35985         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35986         mips32r6/mips64r6.
35987         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35989 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35991         * string/strncat.c (STRNCAT): Simplify implementation.
35993 2014-12-19  David S. Miller  <davem@davemloft.net>
35995         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35996         access the quad as both a long double and as a series of 4 words.
35998         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35999         link_map->l_info array access.
36001 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36003         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36005         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36006         * math/atest-exp2.c (TIMEOUT): Likewise.
36007         * math/atest-sincos.c (TIMEOUT): Likewise.
36009 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36011         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36012         -Wno-error with -fno-builtin-lround.
36014 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36016         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36017         Contains futex constants and functions moved over from ...
36018         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36019         <lowlevellock-futex.h>.
36020         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36021         (lll_timedwait_tid): Add comments and parentheses around macro
36022         arguments.
36024 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36026         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36027         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36028         (__lll_private_flag): Remove.
36029         (lll_futex_wait): Likewise.
36030         (lll_futex_timed_wait): Likewise.
36031         (lll_futex_wake): Likewise.
36032         (lll_futex_requeue): Likewise.
36033         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36034         (__lll_timedwait_tid): Spell out argument names.
36035         (lll_timedwait_tid): Add comments and parentheses around macro
36036         arguments.
36037         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36038         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36040 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36042         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36043         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36044         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36045         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36046         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36047         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36048         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36049         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36050         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36051         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36052         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36053         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36054         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36055         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36056         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36057         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36058         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36059         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36060         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36062 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36064         * sysdeps/x86_64/x32/Makefile: New file.
36066 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36068         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36069         1L with (mp_limb_t) 1.
36071 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36073         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36074         * nptl/libc_pthread_init.c: ... here.
36075         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36076         * nptl/register-atfork.c: ... here.
36078         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36079         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36080         Use assert_perror to check its return value.
36081         (__gai_create_helper_thread): Likewise.
36083         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36085         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36087 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36089         [BZ #17725]
36090         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36091         __profil_counter.
36092         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36093         Likewise.
36094         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36095         Likewise.
36096         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36097         Likewise.
36098         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36099         (profil_counter): Likewise.
36100         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36101         (profil_counter): Likewise.
36102         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36103         Likewise.
36104         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36105         Likewise.
36106         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36107         (profil_counter): Likewise.
36108         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36109         Likewise.
36110         [!__profil_counter] (profil_counter): Define as weak alias of
36111         __profil_counter.
36112         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36113         (profil_counter): Rename to __profil_counter.
36114         [!__profil_counter] (profil_counter): Define as weak alias of
36115         __profil_counter.
36116         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36117         (profil_counter): Rename to __profil_counter.
36118         [!__profil_counter] (profil_counter): Define as weak alias of
36119         __profil_counter.
36120         * sysdeps/posix/profil.c: Update comment referring to
36121         profil_counter.
36122         (__profil): Use __profil_counter instead of profil_counter.
36123         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36124         __profil_counter.  Use __profil_counter_ushort and
36125         __profil_counter_uint in definitions.
36126         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36127         instead of profil_counter_uint and profil_counter_ushort.
36129         [BZ #17722]
36130         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36131         define as weak alias of __inet_makeaddr.
36132         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36133         as weak alias of __inet_addr.
36134         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36135         as weak alias of __inet_pton.  Use libc_hidden_weak.
36136         * include/arpa/inet.h (__inet_pton): Declare.  Use
36137         libc_hidden_proto.
36138         (inet_makeaddr): Don't use libc_hidden_proto.
36139         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36140         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36141         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36142         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36143         Remove variable.
36144         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36145         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36147 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36149         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36151 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36153         * stdio-common/bug-vfprintf-nargs.c (do_test):
36154         Cast value to intptr_t to avoid format warning
36155         for usage with PRIdPTR printing macro.
36157 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36159         * libio/tst-widetext.c (do_test):
36160         Use format type %td instead of %Zd for ptrdiff_t
36161         in order to avoid format warning.
36163 2014-12-17  Andreas Schwab  <schwab@suse.de>
36165         * nscd/mem.c (gc): Add size_t cast to match printf format.
36167 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36169         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36170         (init): Apply PTR_MANGLE to pointers before storing them.
36171         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36172         before using them.
36174 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36176         [BZ #17719]
36177         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36178         define as weak alias of __memrchr.
36179         (__memrchr): Do not define as strong alias of memrchr.
36180         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36181         Remove variable.
36182         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36183         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36184         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36186         [BZ #17717]
36187         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36188         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36189         (if_indextoname): Rename to __if_indextoname and define as weak
36190         alias of __if_indextoname.  Use libc_hidden_weak.
36191         (if_freenameindex): Rename to __if_freenameindex and define as
36192         weak alias of __if_freenameindex.
36193         (if_nameindex): Rename to __if_nameindex and define as weak alias
36194         of __if_nameindex.
36195         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36196         __if_nametoindex and define as weak alias of __if_nametoindex.
36197         Use libc_hidden_weak.
36198         (if_freenameindex): Rename to __if_freenameindex and define as
36199         weak alias of __if_freenameindex.
36200         (if_nameindex): Rename to __if_nameindex and define as weak alias
36201         of __if_nameindex.
36202         (if_indextoname): Rename to __if_indextoname and define as weak
36203         alias of __if_indextoname.  Use libc_hidden_weak.
36204         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36205         __if_nametoindex and define as weak alias of __if_nametoindex.
36206         Use libc_hidden_weak.
36207         (if_freenameindex): Rename to __if_freenameindex and define as
36208         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36209         (if_nameindex_netlink): Use __if_freenameindex instead of
36210         if_freenameindex.
36211         (if_nameindex): Rename to __if_nameindex and define as weak alias
36212         of __if_nameindex.  Use libc_hidden_weak.
36213         (if_indextoname): Rename to __if_indextoname and define as weak
36214         alias of __if_indextoname.  Use libc_hidden_weak.
36215         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36216         libc_hidden_proto.
36217         [!_ISOMAC] (__if_freenameindex): Likewise.
36218         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36219         if_nametoindex.
36220         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36221         variable.
36222         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36223         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36224         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36225         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36226         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36227         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36228         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36230         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36231         Remove variable.
36232         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36233         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36235 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36237         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36238         subscript above bounds'
36240         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36241         bounds.
36243 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36245         * libio/tst-fopenloc.c: Use test-skeleton.c.
36247         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36248         (entry): Rename to ITEM.
36249         (do_test, comp): Adjust.
36251         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36253 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36255         * string/tester.c: Include <libc-internal.h>.
36256         (test_memset): Ignore -Wmemset-transposed-args.
36258 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36260         * misc/tst-mntent2.c (do_test): Fix warning.
36262 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36264         * elf/tst-unique4lib.cc(a): Mark as used.
36266 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36268         [BZ #17630]
36269         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36270         names.
36272 2014-12-16  Allan McRae  <allan@archlinux.org>
36274         * stdio-common/Makefile (tests): Re-add bug26.
36276 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36278         [BZ #17657]
36279         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36280         static array.
36282 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36284         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36285         (__lll_lock_wait): Likewise.
36286         (__lll_timedlock_wait): Likewise.
36287         (__lll_timedwait_tid): Likewise.
36288         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36289         (__lll_robust_timedlock_wait): Likewise.
36290         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36291         (lll_cond_trylock): Likewise.
36292         (__lll_lock): Likewise.
36293         (__lll_robust_lock): Likewise.
36294         (__lll_cond_lock): Likewise.
36295         (lll_robust_cond_lock): Likewise.
36296         (__lll_timedlock): Likewise.
36297         (__lll_robust_timedlock): Likewise.
36298         (__lll_unlock): Likewise.
36299         (__lll_robust_unlock): Likewise.
36300         (lll_wait_tid): Likewise.
36301         (lll_timedwait_tid): Likewise.
36303 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36305         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36307 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36309         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36311 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36313         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36314         * stdio-common/tst-sprintf.c: Likewise.
36316 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36318         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36320 2014-12-15  Jeff Law  <law@redhat.com>
36322         [BZ #16617]
36323         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36324         on the heap.  (CVE-2012-3406)
36325         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36326         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36327         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36329 2014-12-15  Will Newton  <will.newton@linaro.org>
36331         * manual/install.texi: Bump required version of texinfo
36332         to 4.7 from 4.5.
36333         * INSTALL: Regenerated.
36334         * configure.ac: Check for makeinfo version 4.7 and above.
36335         * configure: Regenerated.
36337 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36339         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36340         PREFIX, string constant to insert between directory and name.
36341         * sysdeps/posix/shm_open.c: Update caller.
36342         * sysdeps/posix/shm_unlink.c: Likewise.
36343         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36344         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36345         (SEM_SHM_PREFIX): New macro.
36346         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36347         [$(have-thread-library) = no].
36348         * nptl/Makefile (libpthread-routines): Add shm-directory.
36349         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36350         * sysdeps/nptl/shm-directory.h: New file.
36351         * sysdeps/posix/shm-directory.c
36352         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36353         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36354         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36355         INTERNAL_SYSCALL.
36356         (__where_is_shmfs): Function removed.
36357         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36358         Variables removed.
36359         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36360         Use SHM_GET_NAME.
36361         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36363         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36364         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36365         unconditional for use inside libpthread.
36366         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36368 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36370         * nptl/pthread_getaffinity.c: New file.
36371         * nptl/pthread_setaffinity.c: New file.
36372         * nptl/pthread_getname.c: New file.
36373         * nptl/pthread_setname.c: New file.
36375         * nptl/pthread_create.c (START_THREAD_DEFN)
36376         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36378 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36379             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36381         * resolv/res_send.c (send_vc): Disable warning resplen may
36382         be used uninitialized.
36384 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36386         * nptl/tst-mutex6.c
36387         (ATTR_NULL): New define checks ATTR against NULL.
36388         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36389         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36391 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36393         [BZ #17581]
36394         * malloc/hooks.c
36395         (mem2mem_check): Revert my previous change.
36396         (malloc_check_get_size): Revert my previous change.
36397         (mem2chunk_check): Revert my previous change.
36399 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36401         * sysdeps/posix/shm-directory.c: New file.
36402         * sysdeps/posix/shm-directory.h: New file.
36403         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36404         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36405         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36406         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36407         Transmute EPERM to EACCES.
36408         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36409         from ...
36410         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36411         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36413 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36415         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36416         pointer and cast to uintptr_t.
36417         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36418         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36419         Add cast to avoid warning.
36420         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36422 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36424         * nptl/semaphore.h: Move to ...
36425         * sysdeps/pthread/semaphore.h: ... here.
36426         * Makefile (installed-headers): Change nptl/semaphore.h to
36427         sysdeps/pthread/semaphore.h.
36429 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36431         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36432         generated error format strings.
36434         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36435         -Wformat-extra-args warnings for scanf formats.
36436         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36437         test of zero-length format (duh).
36438         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36439         corner-case scanf format test.
36440         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36441         generated fprintf format string.
36442         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36443         corner-case sprintf format tests.
36444         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36445         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36446         -Wformat-extra-args warnings throughout.
36447         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36448         (CFLAGS-scanf4.c): Likewise.
36449         (CFLAGS-scanf7.c): Likewise.
36450         (CFLAGS-tst-sprintf.c): Likewise.
36451         (CFLAGS-tst-printf.c): Likewise.
36452         (CFLAGS-tst-printfsz.c): Likewise.
36454 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36456         * include/cpio.h: New file.
36457         * include/fmtmsg.h: Likewise.
36459         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36460         corresponding format argument to size_t.
36461         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36462         arguments.
36463         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36464         corresponding format argument to size_t.
36465         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36466         arguments.
36467         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36468         corresponding format argument to size_t.
36469         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36470         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36471         (CFLAGS-tst-mbswcs2.c): Likewise.
36472         (CFLAGS-tst-mbswcs3.c): Likewise.
36473         (CFLAGS-tst-mbswcs4.c): Likewise.
36474         (CFLAGS-tst-mbswcs5.c): Likewise.
36475         (CFLAGS-tst-trans.c): Likewise.
36477 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36479         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36480         rather than assuming they won't contain any '%'s.
36482 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36484         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36485         inhibit_loop_to_libcall to avoid recursive calls.
36486         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36487         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36489 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36491         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36492         prototype.
36494 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36496         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36497         integer value instead of boolean.
36499 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36501         * malloc/malloc.c: Fix powerof2 check.
36503 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36505         * locale/programs/locfile.h (maybe_swap_uint32):
36506         Remove inline and add unused attribute.
36508 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36510         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36511         Truncating assembler expression to a .long expression.
36513 2014-12-11  Andreas Schwab  <schwab@suse.de>
36515         * elf/rtld.c (struct map_args): Constify str member.
36516         (do_preload): Constify fname argument.
36518 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36520         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36521         constants definition.
36523 2014-12-11  Andreas Schwab  <schwab@suse.de>
36525         [BZ #16657]
36526         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36527         FORCE_ELISION instead of DO_ELISION.
36528         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36529         Remove.
36530         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36531         Likewise.
36533         * iconvdata/gconv-modules: Remove duplicate entry.
36535 2014-12-11  Will Newton  <will.newton@linaro.org>
36537         Merge gettext 0.19.3 into intl/.
36539         This involves a number of cosmetic changes to comments
36540         and ANSI function definitions and prototypes throughout
36541         all the files. The gettext copyright header is used but
36542         with the date ranges taken from the glibc copy.
36544         * NEWS: Add gettext merge to 2.21.
36545         * intl/bindtextdom.c: Switch to gettext copyright.
36546         Use ANSI definitions and prototypes.
36547         Use gl_* locking primitives rather than __libc_* ones.
36548         Use __builtin_expect rather than __glibc_likely/unlikely.
36549         * intl/dcgettext.c: Switch to gettext copyright.
36550         Use ANSI definitions and prototypes.
36551         * intl/dcigettext.c: Switch to gettext copyright.
36552         Use ANSI definitions and prototypes.
36553         (INTDIV0_RAISES_SIGFPE): New define.
36554         Use gl_* locking primitives rather than __libc_* ones.
36555         Include eval-plural.h instead of plural-eval.c.
36556         Use __builtin_expect rather than __glibc_likely/unlikely.
36557         * intl/dcngettext.c: Switch to gettext copyright.
36558         Use ANSI definitions and prototypes.
36559         * intl/dgettext.c: Likewise.
36560         * intl/dngettext.c: Likewise.
36561         * intl/plural-eval.c: Renamed to...
36562         * intl/eval-plural.h: ...this.
36563         * intl/explodename.c: Switch to gettext copyright.
36564         Use ANSI definitions and prototypes.
36565         (_nl_explode_name): Use strchr instead of __rawmemchr.
36566         * intl/finddomain.c: Switch to gettext copyright.
36567         Use ANSI definitions and prototypes.
36568         Use gl_* locking primitives rather than __libc_* ones.
36569         (_nl_find_domain): Use malloc rather than alloca for
36570         allocation of temporary locale name.
36571         * intl/gettext.c: Switch to gettext copyright.
36572         Use ANSI definitions and prototypes.
36573         * intl/gettextP.h: Switch to gettext copyright.
36574         Use ANSI definitions and prototypes.
36575         Use gl_* locking primitives rather than __libc_* ones.
36576         * intl/gmo.h: Switch to gettext copyright.
36577         (struct sysdep_string): Move struct segment_pair outside of
36578         struct definition.
36579         * intl/hash-string.c: Use ANSI definitions and prototypes.
36580         * intl/hash-string.h: Switch to gettext copyright.
36581         Use ANSI definitions and prototypes.
36582         * intl/l10nflist.c: Switch to gettext copyright.
36583         Use ANSI definitions and prototypes.
36584         (_nl_normalize_codeset): Avoid integer overflow.
36585         * intl/loadinfo.h: Switch to gettext copyright.
36586         Use ANSI definitions and prototypes.
36587         (LIBINTL_DLL_EXPORTED): New define.
36588         (PATH_SEPARATOR): New define.
36589         * intl/loadmsgcat.c: Switch to gettext copyright.
36590         * intl/localealias.c: Switch to gettext copyright.
36591         Use ANSI definitions and prototypes.
36592         (_nl_expand_alias): Use PATH_SEPARATOR.
36593         * intl/ngettext.c: Switch to gettext copyright.
36594         Use ANSI definitions and prototypes.
36595         * intl/plural-exp.c: Likewise.
36596         * intl/plural-exp.h: Switch to gettext copyright.
36597         Use ANSI definitions and prototypes.
36598         (struct expression): Move definition of enum operator outside
36599         of struct definition.
36600         * intl/plural.c: Regenerate.
36601         * intl/plural.y: Switch to gettext copyright.
36602         Use ANSI definitions and prototypes.
36603         Port to bison 3.0.
36604         * intl/textdomain.c: Switch to gettext copyright.
36605         Use ANSI definitions and prototypes.
36606         Use gl_* locking primitives rather than __libc_* ones.
36608 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36610         * debug/warning-nop.c: Add used atrribute.
36612 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36614         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36616         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36617         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36618         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36620 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36621             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36623         [BZ #17634]
36624         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36625         Undefine after defining function.  Define as weak alias of
36626         __wcschr.  Use libc_hidden_weak.
36627         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36628         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36629         (libc_hidden_def): Also define __GI___wcschr alias.
36630         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36631         __wcschr and define as weak alias of __wcschr.
36632         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36633         __wcschr.
36634         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36635         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36636         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36637         libc_hidden_weak.  Do not use libc_hidden_def.
36638         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36639         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36640         __GI___wcschr alias.
36641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36642         [IS_IN (libc)] (wcschr): Define as macro expanding to
36643         __redirect_wcschr.
36644         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36645         [IS_IN (libc)] (__wcschr_power6): Likewise.
36646         [IS_IN (libc)] (__wcschr_power7): Likewise.
36647         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36648         instead of wcschr.
36649         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36650         __libc_wcschr.
36651         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36652         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36653         __wcschr and define as weak alias of __wcschr.  Use
36654         libc_hidden_builtin_def.
36655         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36656         as weak alias of __wcschr.  Use libc_hidden_weak.
36657         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36658         wcschr.
36659         * time/era.c (_nl_init_era_entries): Likewise.
36660         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36661         variable.
36662         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36663         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36665 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36667         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36668         format for long int variable.
36670 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36672         [BZ #10672]
36673         * manual/search.texi: (Array Sort Function): Remove claim how to make
36674         qsort stable.
36676 2014-12-10  Andreas Schwab  <schwab@suse.de>
36678         [BZ #12847]
36679         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36680         user-controlled locks.
36682 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36684         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36685         register.
36687 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36689         * configure.ac (--disable-werror): New configure option.
36690         (enable_werror): New AC_SUBST.
36691         * configure: Regenerated.
36692         * config.make.in (enable-werror): New variable.
36693         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36694         -Wno-error=undef.
36695         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36696         * manual/install.texi (Configuring and compiling): Document
36697         --disable-werror.
36698         * INSTALL: Regenerated.
36699         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36700         (CFLAGS-tst-chk2.c): Likewise.
36701         (CFLAGS-tst-chk3.c): Likewise.
36702         (CFLAGS-tst-chk4.cc): Likewise.
36703         (CFLAGS-tst-chk5.cc): Likewise.
36704         (CFLAGS-tst-chk6.cc): Likewise.
36705         (CFLAGS-tst-lfschk1.c): Likewise.
36706         (CFLAGS-tst-lfschk2.c): Likewise.
36707         (CFLAGS-tst-lfschk3.c): Likewise.
36708         (CFLAGS-tst-lfschk4.cc): Likewise.
36709         (CFLAGS-tst-lfschk5.cc): Likewise.
36710         (CFLAGS-tst-lfschk6.cc): Likewise.
36712         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36713         (main): Disable -Wdeprecated-declarations around calls to
36714         register_printf_function.
36716         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36717         (do_test): Disable -Wdiv-by-zero around some calls to
36718         fwrite_unlocked and fread_unlocked.
36720         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36721         (DIAG_POP_NEEDS_COMMENT): Likewise.
36722         (_DIAG_STR1): Likewise.
36723         (_DIAG_STR): Likewise.
36724         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36725         * stdio-common/bug21.c: Include <libc-internal.h>.
36726         (do_test): Disable -Wformat around call to sscanf.
36727         * stdio-common/scanf14.c: Include <libc-internal.h>.
36728         (main): Disable -Wformat around some calls to scanf functions.
36730 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36732         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36734 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36736         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36737         stack variable alignment.
36739 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36741         [BZ #17682]
36742         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36743         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36744         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36745         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36746         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36747         __getrlimit instead of getrlimit.
36748         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36749         __gettimeofday instead of gettimeofday.
36750         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36751         Likewise.
36752         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36753         Likewise.
36754         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36755         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36756         Remove variable.
36757         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36758         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36760 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36762         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36763         for wide-character tests.
36765 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36767         * io/openat64.c: #include <libc-internal.h>
36768         (__openat64): Prototypify.  Use ignore_value on MODE.
36769         * io/openat.c: Likewise.
36770         * misc/reboot.c: #include <libc-internal.h>
36771         (reboot): Prototypify.  Use ignore_value on HOWTO.
36772         * misc/ptrace.c: #include <libc-internal.h>
36773         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36775 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36777         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36778         XPG4, UNIX98 and XOPEN2K.
36779         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36780         Remove variable.
36781         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36783 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785         * libio/fileops.c: Use ISO C style for function definitions.
36786         * libio/iofopen.c: Likewise.
36787         * libio/wfileops.c: Likewise.
36789         [BZ #17653]
36790         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36791         offset on EOF.
36792         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36793         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36794         (fgets_func): Function pointer to fgets and fgetws.
36795         (do_ftell_test): Add test to verify ftell value after read
36796         EOF.
36797         (do_test): Set fgets_func.
36799         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36800         O_TRUNC flag for w and w+ modes.
36801         (do_rewind_test): Likewise.
36802         (do_ftell_test): Likewise.
36803         (do_write_test): Likewise.
36805         [BZ #17647]
36806         * libio/fileops.c (do_ftell): Seek only when there are
36807         unflushed writes.
36808         * libio/wfileops.c (do_ftell_wide): Likewise.
36809         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36810         test case.
36811         (do_one_test): Call it.
36813 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36815         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36816         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36817         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36818         Remove variable.
36819         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36820         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36821         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36823 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36825         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36826         Remove variable.
36827         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36829         [BZ #17668]
36830         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36831         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36832         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36833         __freeifaddrs.  Use libc_hidden_weak.
36834         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36835         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36836         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36837         __freeifaddrs.  Use libc_hidden_weak.
36838         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36839         __getifaddrs and define as weak alias of __getifaddrs.  Use
36840         libc_hidden_weak.
36841         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36842         __freeifaddrs.  Use libc_hidden_weak.
36843         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36844         Remove variable.
36845         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36846         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36848 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36850         [BZ #17601]
36851         * sysdeps/mips/start.S (__start): Use indirect jump to call
36852         __libc_start_main.
36854 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36856         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36858         * nptl/tst-mutex1.c: Include <stdbool.h>.
36859         [!ATTR] (ATTR_NULL): New macro.
36860         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36861         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36862         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36864         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36865         to char *.
36867         [BZ #17665]
36868         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36869         Change conditional to [__USE_MISC].
36871         [BZ #17664]
36872         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36873         fgets_unlocked.
36874         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36875         __fgets_unlocked.
36876         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36877         fgets_unlocked.
36878         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36879         Remove variable.
36880         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36881         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36882         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36883         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36884         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36885         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36886         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36887         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36888         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36890         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36892 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36894         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36895         Remove strpbrk objects.
36896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36897         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36898         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36899         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36900         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36901         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36903         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36904         Remove strcspn objects.
36905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36906         (__libc_ifunc_impl_list): Remove strcspn implementation.
36907         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36908         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36909         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36910         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36912         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36913         Remove strspn objetcs.
36914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36915         (__libc_ifunc_impl_list): Remove strspn implementation.
36916         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36917         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36918         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36919         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36921 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36923         [BZ #17581]
36924         * malloc/hooks.c
36925         (mem2mem_check): Add a terminator to the chain of checking blocks.
36926         (malloc_check_get_size): Use it here.
36927         (mem2chunk_check): Ditto.
36929 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36931         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36932         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36934 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36936         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36938         * nptl/nptl-init.c: Include libc-internal.h.
36939         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36941         * elf/ldconfig.c (search_dir): Expand comment.
36943 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36945         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36946         variable.
36947         (linknamespace-symlist-stdlibs-tests): Likewise.
36948         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36949         instead of $(objpfx)symlist-stdlibs.
36950         (linknamespace-libs-isoc): New variable.
36951         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36952         (linknamespace-libs-ISO): New variable.
36953         (linknamespace-libs-ISO99): Likewise.
36954         (linknamespace-libs-ISO11): Likewise.
36955         (linknamespace-libs-XPG3): Likewise.
36956         (linknamespace-libs-XPG4): Likewise.
36957         (linknamespace-libs-POSIX): Likewise.
36958         (linknamespace-libs-UNIX98): Likewise.
36959         (linknamespace-libs-XOPEN2K): Likewise.
36960         (linknamespace-libs-POSIX2008): Likewise.
36961         (linknamespace-libs-XOPEN2K8): Likewise.
36962         ($(objpfx)symlist-stdlibs): Replace by
36963         $(linknamespace-symlist-stdlibs-tests).  Use
36964         $(linknamespace-libs-$*) as set of libraries.
36965         ($(linknamespace-header-tests)): Update dependencies.  Use
36966         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36967         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36968         * conform/linknamespace.pl: Remove comment about considering
36969         definitions of symbols from irrelevant libraries.
36971 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36973         [BZ #13862]
36974         * elf/dl-tls.c: Include <atomic.h>.
36975         (oom): Remove #ifdef SHARED/#endif.
36976         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36977         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36978         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36979         big enough.
36980         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36981         * nptl/Makefile (tests): Add tst-stack4.
36982         (modules-names): Add tst-stack4mod.
36983         ($(objpfx)tst-stack4): New.
36984         (tst-stack4mod.sos): Likewise.
36985         ($(objpfx)tst-stack4.out): Likewise.
36986         ($(tst-stack4mod.sos)): Likewise.
36987         (clean): Likewise.
36988         * nptl/tst-stack4.c: New file.
36989         * nptl/tst-stack4mod.c: Likewise.
36991 2014-11-27  J. Brown  <jb999@gmx.de>
36993         * sysdeps/x86/bits/string.h: Add recent CPUs.
36995 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36997         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36998         sigblock.
37000         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37001         feof.
37003         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37004         variable.
37006 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37008         * nscd/connections.c: Include libc-internal.h because of macro
37009         usage ignore_value.
37011 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37013         * string/bits/string3.h (__warn_memset_zero_len): Don't
37014         declare for gcc newer than 5.0.
37015         (memset): Don't test for zero-length __LEN for gcc newer than
37016         5.0.
37018 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37020         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37021         size_t for %zu format.
37023         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37024         difference, not %ju.
37026 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37028         * include/libc-internal.h (ignore_value): New macro.
37029         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37030         with ignore_value.
37032         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37033         definition.
37035         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37036         pthread_cleanup_push to void *.
37038         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37039         Undefine.
37041         [BZ #16619]
37042         [BZ #16740]
37043         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37044         instead of 1L << 52.
37046         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37047         * libio/bug-rewind2.c (do_test): Likewise.
37049         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37050         * debug/test-strcpy_chk-ifunc.c: Likewise.
37051         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37052         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37053         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37054         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37055         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37056         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37057         * Rules [$(multi-arch) = no] (tests): Do not filter out
37058         $(tests-ifunc).
37059         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37060         * debug/Makefile (tests-ifunc): Remove variable.
37061         (tests): Do not add $(tests-ifunc).
37062         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37063         (tests): Do not add $(tests-ifunc).
37064         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37065         [TEST_IFUNC]: Remove conditionals.
37066         * string/test-string.h (TEST_IFUNC): Remove macro.
37067         [TEST_IFUNC]: Remove conditionals.
37069         * string/test-strchr.c [!WIDE] (L): New macro.
37070         [WIDE] (L): Likewise.
37071         (check1): Use CHAR instead of char.  Use L on string and character
37072         constants.
37074 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37076         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37077         tests.
37078         * sysdeps/powerpc/bits/atomic.h
37079         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37080         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37081         (atomic_exchange_and_add_acq): Likewise.
37082         (atomic_exchange_and_add_rel): Likewise.
37083         * sysdeps/powerpc/powerpc32/bits/atomic.h
37084         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37085         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37086         * sysdeps/powerpc/powerpc64/bits/atomic.h
37087         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37088         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37090 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37092         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37093         Change synchronization of __sched_fifo_min_prio and
37094         __sched_fifo_max_prio.
37095         * nptl/pthread_mutexattr_getprioceiling.c
37096         (pthread_mutexattr_getprioceiling): Likewise.
37097         * nptl/pthread_mutexattr_setprioceiling.c
37098         (pthread_mutexattr_setprioceiling): Likewise.
37099         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37100         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37101         Likewise.
37103 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37105         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37106         void.
37108 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37110         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37111         third argument const.
37113 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37115         fnmatch: work around GCC compiler warning bug with uninit var
37116         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37117         This works around a bug with x86-64 GCC 4.9.2 and earlier
37118         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37119         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37120         used uninitialized in this function [-Wmaybe-uninitialized]".
37122 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37124         * posix/bug-regex31.c (main): Return RES not 0.
37126 2014-11-25  Anton Blanchard <anton@samba.org>
37128         * sysdeps/powerpc/bits/atomic.h
37129         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37131 2014-11-24  Sterling Augustine  <saugustine@google.com>
37133         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37135 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37137         [BZ #17608]
37138         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37140 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37142         [BZ #17633]
37143         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37144         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37145         variable.
37146         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37147         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37149 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37151         * string/strncpy.c (strncpy): Improve performance by using memset.
37153 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37155         * string/strcpy.c (strcpy):
37156         Improve performance by using strlen and memcpy.
37158 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37160         * string/strcoll_l.c (get_next_seq): __always_inline.
37161         * string/strcoll_l.c (do_compare): __always_inline.
37163 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37165         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37166         defined.
37167         * include/mqueue.h: Likewise.
37168         * include/stdlib.h: Likewise.
37170         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37171         (get_null_defines): Adjust.
37172         * sunrpc/Makefile: Adjust comment.
37173         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37174         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37175         (CFLAGS-interp.c): Likewise.
37176         (CFLAGS-ldconfig.c): Likewise.
37177         (CPPFLAGS-.os): Likewise.
37178         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37179         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37180         * extra-modules.mk (extra-modules.mk): Likewise.
37181         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37182         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37183         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37184         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37185         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37186         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37187         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37188         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37189         * iconvdata/Makefile (CPPFLAGS): Likewise.
37190         (cpp-srcs-left): Add libof for all iconvdata routines.
37191         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37192         * include/assert.h: Likewise.
37193         * include/ctype.h: Likewise.
37194         * include/errno.h: Likewise.
37195         * include/libc-symbols.h: Likewise.
37196         * include/math.h: Likewise.
37197         * include/netdb.h: Likewise.
37198         * include/resolv.h: Likewise.
37199         * include/stdio.h: Likewise.
37200         * include/stdlib.h: Likewise.
37201         * include/string.h: Likewise.
37202         * include/sys/stat.h: Likewise.
37203         * include/wctype.h: Likewise.
37204         * intl/l10nflist.c: Likewise.
37205         * libidn/idn-stub.c: Likewise.
37206         * libio/libioP.h: Likewise.
37207         * nptl/libc_multiple_threads.c: Likewise.
37208         * nptl/pthreadP.h: Likewise.
37209         * posix/regex_internal.h: Likewise.
37210         * resolv/res_hconf.c: Likewise.
37211         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37212         * sysdeps/arm/memmove.S: Likewise.
37213         * sysdeps/arm/sysdep.h: Likewise.
37214         * sysdeps/generic/_itoa.h: Likewise.
37215         * sysdeps/generic/symbol-hacks.h: Likewise.
37216         * sysdeps/gnu/errlist.awk: Likewise.
37217         * sysdeps/gnu/errlist.c: Likewise.
37218         * sysdeps/i386/i586/memcpy.S: Likewise.
37219         * sysdeps/i386/i586/memset.S: Likewise.
37220         * sysdeps/i386/i686/memcpy.S: Likewise.
37221         * sysdeps/i386/i686/memmove.S: Likewise.
37222         * sysdeps/i386/i686/mempcpy.S: Likewise.
37223         * sysdeps/i386/i686/memset.S: Likewise.
37224         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37225         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37226         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37227         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37228         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37229         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37230         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37231         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37232         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37233         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37234         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37235         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37236         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37237         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37238         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37239         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37240         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37241         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37242         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37243         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37244         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37245         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37246         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37247         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37248         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37249         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37250         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37251         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37252         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37253         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37254         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37255         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37256         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37258         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37259         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37260         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37261         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37262         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37263         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37264         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37265         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37266         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37267         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37268         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37269         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37270         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37271         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37272         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37273         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37274         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37275         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37276         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37277         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37278         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37279         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37280         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37281         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37282         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37283         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37284         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37285         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37286         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37287         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37288         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37289         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37290         * sysdeps/posix/closedir.c: Likewise.
37291         * sysdeps/posix/opendir.c: Likewise.
37292         * sysdeps/posix/readdir.c: Likewise.
37293         * sysdeps/posix/rewinddir.c: Likewise.
37294         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37295         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37296         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37297         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37298         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37299         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37300         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37301         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37305         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37306         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37307         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37308         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37309         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37310         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37311         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37312         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37314         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37315         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37316         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37317         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37318         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37319         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37320         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37321         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37322         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37329         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37330         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37331         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37332         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37333         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37334         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37335         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37336         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37337         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37338         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37339         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37340         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37341         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37342         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37343         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37344         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37345         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37346         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37348         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37349         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37350         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37351         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37352         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37353         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37354         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37355         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37356         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37357         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37358         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37359         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37360         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37361         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37362         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37363         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37364         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37365         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37366         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37367         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37368         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37369         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37370         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37371         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37372         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37373         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37374         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37375         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37376         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37377         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37378         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37379         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37380         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37381         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37382         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37383         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37384         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37385         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37386         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37388         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37390         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37391         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37392         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37393         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37394         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37395         * sysdeps/unix/alpha/sysdep.S: Likewise.
37396         * sysdeps/unix/alpha/sysdep.h: Likewise.
37397         * sysdeps/unix/make-syscalls.sh: Likewise.
37398         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37400         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37401         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37402         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37403         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37404         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37405         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37406         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37407         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37408         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37409         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37410         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37411         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37412         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37413         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37414         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37415         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37416         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37417         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37418         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37419         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37420         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37421         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37422         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37423         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37424         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37427         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37428         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37429         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37432         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37435         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37436         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37437         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37438         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37439         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37440         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37441         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37442         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37443         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37444         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37445         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37446         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37447         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37448         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37449         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37450         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37451         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37452         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37454         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37456         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37457         * sysdeps/x86_64/memcpy.S: Likewise.
37458         * sysdeps/x86_64/memmove.c: Likewise.
37459         * sysdeps/x86_64/memset.S: Likewise.
37460         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37461         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37462         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37463         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37464         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37465         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37466         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37467         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37468         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37469         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37470         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37471         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37472         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37473         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37474         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37475         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37476         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37477         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37478         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37479         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37480         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37481         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37482         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37483         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37484         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37485         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37486         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37487         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37488         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37489         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37490         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37491         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37492         * sysdeps/x86_64/strcmp.S: Likewise.
37494         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37496         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37497         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37498         * elf/rtld-Rules: Likewise.
37499         * elf/setup-vdso.h: Likewise.
37500         * include/assert.h: Likewise.
37501         * include/bits/stdlib-float.h: Likewise.
37502         * include/errno.h: Likewise.
37503         * include/sys/stat.h: Likewise.
37504         * include/unistd.h: Likewise.
37505         * sysdeps/aarch64/setjmp.S: Likewise.
37506         * sysdeps/alpha/setjmp.S: Likewise.
37507         * sysdeps/arm/__longjmp.S: Likewise.
37508         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37509         * sysdeps/arm/setjmp.S: Likewise.
37510         * sysdeps/arm/sysdep.h: Likewise.
37511         * sysdeps/generic/_itoa.h: Likewise.
37512         * sysdeps/generic/dl-sysdep.h: Likewise.
37513         * sysdeps/generic/ldsodefs.h: Likewise.
37514         * sysdeps/i386/dl-tls.h: Likewise.
37515         * sysdeps/i386/setjmp.S: Likewise.
37516         * sysdeps/m68k/setjmp.c: Likewise.
37517         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37518         * sysdeps/mach/hurd/opendir.c: Likewise.
37519         * sysdeps/posix/getcwd.c: Likewise.
37520         * sysdeps/posix/opendir.c: Likewise.
37521         * sysdeps/posix/profil.c: Likewise.
37522         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37523         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37525         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37526         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37527         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37528         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37529         * sysdeps/s390/dl-tls.h: Likewise.
37530         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37531         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37532         * sysdeps/sh/sh3/setjmp.S: Likewise.
37533         * sysdeps/sh/sh4/setjmp.S: Likewise.
37534         * sysdeps/unix/alpha/sysdep.h: Likewise.
37535         * sysdeps/unix/arm/sysdep.S: Likewise.
37536         * sysdeps/unix/i386/sysdep.S: Likewise.
37537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37538         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37539         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37541         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37542         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37543         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37544         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37545         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37546         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37547         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37548         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37549         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37552         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37555         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37556         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37557         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37559         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37560         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37561         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37562         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37564         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37565         * sysdeps/x86_64/setjmp.S: Likewise.
37567         * include/math.h: Use IS_IN instead of IS_IN_libm.
37568         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37569         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37570         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37571         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37572         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37573         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37574         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37575         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37577         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37578         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37579         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37580         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37581         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37582         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37583         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37584         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37585         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37586         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37587         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37588         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37589         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37590         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37591         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37592         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37593         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37594         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37595         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37596         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37597         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37598         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37599         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37600         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37602         Likewise.
37603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37604         Likewise.
37605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37606         Likewise.
37607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37608         Likewise.
37609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37610         Likewise.
37611         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37612         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37613         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37614         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37615         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37616         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37622         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37623         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37624         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37625         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37626         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37627         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37628         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37629         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37630         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37631         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37632         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37633         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37635         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37637         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37639         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37640         * nptl/pthreadP.h: Likewise.
37641         * nptl_db/structs.def: Likewise.
37642         * sysdeps/arm/sysdep.h: Likewise.
37643         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37644         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37645         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37646         * sysdeps/unix/alpha/sysdep.h: Likewise.
37647         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37649         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37650         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37651         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37652         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37653         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37654         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37655         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37656         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37657         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37658         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37659         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37660         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37665         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37668         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37669         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37670         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37671         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37672         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37674         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37675         * nptl/pthreadP.h: Likewise.
37676         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37677         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37678         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37679         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37680         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37681         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37683         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37684         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37685         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37686         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37687         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37689         Likewise.
37690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37691         Likewise.
37692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37693         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37694         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37697         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37698         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37699         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37701         * dlfcn/dladdr.c: Use IS_IN.
37702         * dlfcn/dladdr1.c: Likewise.
37703         * dlfcn/dlclose.c: Likewise.
37704         * dlfcn/dlerror.c: Likewise.
37705         * dlfcn/dlinfo.c: Likewise.
37706         * dlfcn/dlmopen.c: Likewise.
37707         * dlfcn/dlopen.c: Likewise.
37708         * dlfcn/dlsym.c: Likewise.
37709         * dlfcn/dlvsym.c: Likewise.
37711         * include/ifaddrs.h: Use IS_IN.
37712         * inet/check_pf.c: Likewise.
37713         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37714         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37716         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37717         IS_IN_ldconfig.
37718         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37719         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37721         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37722         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37723         IS_IN (libc).
37725         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37727         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37728         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37729         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37730         * include/libc-symbols.h (IS_IN_LIB): New macro.
37731         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37732         * include/netdb.h: Likewise.
37733         * include/stap-probe.h: Remove all uses of IN_LIB.
37735         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37736         instead of IN_MODULE.
37737         * include/libc-symbols.h (IN_MODULE): Define using
37738         MODULE_NAME.
37739         (PASTE_NAME, PASTE_NAME1): New macros.
37740         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37741         of IN_LIB.
37742         (STAP_PROBE_ASM): Likewise.
37744 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37746         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37747         __mach_init in dlopened libc.
37749 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37751         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37752         * sysdeps/arm/preconfigure: Regenerate.
37754 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37756         * nptl/pthread_create.c (__pthread_create_2_1): Set
37757         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37758         when copying values from IATTR into PD.
37760 2014-11-21  Will Newton  <will.newton@linaro.org>
37761             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37763         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37764         Refactor inline-asm.  Also add comment.
37766         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37767         ElfW macro instead of hardcoded Elf64 types.
37768         (la_aarch64_gnu_pltenter): Likewise.
37769         * sysdeps/aarch64/dl-machine.h
37770         (elf_machine_runtime_setup): Use ElfW(Addr).
37772         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37773         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37774         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37775         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37776         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37777         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37778         (R_AARCH64_TLS_DTPMOD): This.
37779         (R_AARCH64_TLS_DTPREL64): Rename to ...
37780         (R_AARCH64_TLS_DTPREL): This.
37781         (R_AARCH64_TLS_TPREL64): Rename to ...
37782         (R_AARCH64_TLS_TPREL): This.
37783         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37784         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37785         R_AARCH64_TLS_TPREL64.
37786         (elf_machine_rela): Likewise.
37788 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37790         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37791         by setting it to 0.  64b atomics are not supported currently.
37793 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37795         [BZ #16469]
37796         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37797         search domain names.
37799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37801         [BZ #16469]
37802         * NEWS: Update.
37803         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37804         trailing dot.
37805         * posix/tst-getaddrinfo5.c: New.
37806         * posix/Makefile (tests): Add it.
37808 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37810         [BZ #14498]
37811         * NEWS: Fixed.
37812         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37813         after parsing line but before break_if_match.
37814         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37815         if there is a protocol mismatch.
37817 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37819         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37820         because the potential race is on the user-supplied stream.
37822 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37824         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37825         string literal if not passed a buffer.
37826         * manual/job.texi (ctermid): Update reasoning, note deviation
37827         from posix, suggest mtasurace when not passed a buffer, for
37828         future non-preliminary safety notes.
37830 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37832         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37833         of not passing it a buffer.
37834         Reported by Peng Haitao.
37836 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37838         * manual/Makefile ($(objpfx)stamp-summary): Require
37839         check-safety.sh to pass.
37840         * manual/check-safety.sh: Wish for verification that every
37841         @deftypefn and @deftypefun is followed by a @safety remark.
37843 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37845         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37847         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37848         PTHREAD_CANCEL_ASYNCHRONOUS.
37849         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37850         send SIGCANCEL.
37852         * nptl/default-sched.h: New file.
37853         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37854         * nptl/pthread_create.c: Include it.
37855         (__pthread_create_2_1): Use collect_default_sched instead of making
37856         Linux syscalls here directly.
37858 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37860         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37861         __pthread_once): Use C11 atomics.
37863 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37865         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37867 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37869         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37870         atomic_thread_fence_acquire, atomic_thread_fence_release,
37871         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37872         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37873         atomic_compare_exchange_weak_relaxed,
37874         atomic_compare_exchange_weak_acquire,
37875         atomic_compare_exchange_weak_release,
37876         atomic_exchange_acquire, atomic_exchange_release,
37877         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37878         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37879         atomic_fetch_and_acquire,
37880         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37882 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37884         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37885         USE_ATOMIC_COMPILER_BUILTINS): Define.
37886         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37888         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37890         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37892         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37894         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37896         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37898         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37900         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37902         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37904         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37906         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37908         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37910         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37912         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37913         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37914         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37916         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37918         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37920         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37921         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37922         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37924         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37927 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37929         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37930         the sched_priority value here.  It was already checked when the user
37931         called pthread_attr_setschedparam.
37933         * nptl/tst-bad-schedattr.c: New file.
37934         * nptl/Makefile (tests): Add it.
37936 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37937             Florian Weimer  <fweimer@redhat.com>
37938             Joseph Myers  <joseph@codesourcery.com>
37939             Adam Conrad  <adconrad@0c3.net>
37940             Andreas Schwab  <schwab@suse.de>
37941             Brooks  <bmoses@google.com>
37943         [BZ #17625]
37944         * wordexp-test.c (__dso_handle): Add prototype.
37945         (__register_atfork): Likewise.
37946         (__app_register_atfork): New function.
37947         (registered_forks): New global.
37948         (register_fork): New function.
37949         (test_case): Add 3 new tests for WRDE_CMDSUB.
37950         (main): Call __app_register_atfork.
37951         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37952         fork count is non-zero fail the test.
37953         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37954         is set.
37955         (parse_dollars): Remove check for WRDE_NOCMD.
37956         (parse_dquote): Likewise.
37958 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37960         * Makeconfig (built-modules): List non-library modules to be
37961         built.
37962         (module-cppflags): Include libc-modules.h for
37963         everything except shlib-versions.v.i.
37964         (CPPFLAGS): Use it.
37965         (before-compile): Add libc-modules.h.
37966         ($(common-objpfx)libc-modules.h,
37967         $(common-objpfx)libc-modules.stmp): New targets.
37968         (common-generated): Add libc-modules.h and libc-modules.stmp.
37969         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37970         * include/libc-symbols.h: Don't include libc-modules.h.
37971         * include/libc-modules.h: Remove file.
37972         * scripts/gen-libc-modules.awk: New script to generate
37973         libc-modules.h.
37974         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37975         Depend on libc-modules.stmp.
37977         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37979         * Makeconfig (in-module): Get value of libof set for the
37980         translation unit.
37981         (CPPFLAGS): Use $(in-module).
37982         * Makerules: Don't suffix routine names for nonlib.
37983         * include/libc-modules.h: New file.
37984         * include/libc-symbols.h: Include libc-modules.h
37985         (IS_IN): New macro to replace IS_IN_* macros.
37986         * elf/Makefile: Set libof-* for each routine.
37987         * elf/rtld-Rules: Likewise.
37988         * extra-modules.mk: Likewise.
37989         * iconv/Makefile: Likewise.
37990         * iconvdata/Makefile: Likewise.
37991         * locale/Makefile: Likewise.
37992         * malloc/Makefile: Likewise.
37993         * nss/Makefile: Likewise.
37994         * sysdeps/gnu/Makefile: Likewise.
37995         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37996         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37997         * sysdeps/s390/s390-64/Makefile: Likewise.
37998         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37999         CPPFLAGS for nscd instead of nonlib.
38001 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38003         * nptl/createthread.c: New file.
38005         * nptl/createthread.c: Moved ...
38006         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38008         * nptl/createthread.c: Add proper top-line comment.
38009         (do_clone): Folded into ...
38010         (create_thread): ... here.  Take new arguments STOPPED_START and
38011         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38012         increment __nptl_threads, do event-reporting logic, do
38013         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38014         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38015         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38016         just send SIGCANCEL.
38017         * nptl/pthread_create.c: Forward-declare create_thread before
38018         including createthread.c.
38019         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38020         declaration, and new macro START_THREAD_SELF to replace argument.
38021         Remove return statement.
38022         (report_thread_creation): New function.
38023         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38024         synchronization logic, and __nptl_nthreads increment here, around
38025         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38026         PD->parent_cancelhandling here, before create_thread.  When
38027         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38028         __deallocate_stack, and ENOMEM translation here.
38030 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38032         [BZ #17616]
38033         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38034         (mptwo): Rename to __mptwo.
38035         (__inv): Use __mptwo instead of mptwo.
38036         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38037         (mptwo): Rename to __mptwo.
38038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38039         of mpone and __mptwo instead of mptwo.
38040         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38041         instead of mpone.
38042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38043         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38044         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38045         of mpone and __mptwo instead of mptwo.
38046         (__mpranred): Use __mpone instead of mpone.
38047         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38048         variable.
38049         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38050         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38051         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38052         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38053         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38054         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38055         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38056         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38057         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38058         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38059         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38060         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38061         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38062         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38063         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38064         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38065         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38066         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38067         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38069 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38071         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38072         replace BSD Handler xref with BSD Signal Handling.
38074 2014-11-17  Richard Henderson  <rth@redhat.com>
38076         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38077         (_FP_PACK_RAW_2): Remove.
38078         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38079         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38080         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38081         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38082         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38083         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38084         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38085         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38086         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38087         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38088         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38089         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38090         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38091         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38092         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38093         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38095 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38097         * signal/signal.h [__USE_MISC]
38098         (struct sigvec): Remove type.
38099         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38100         (sigvec): Remove declaration.
38101         * sysdeps/posix/sigvec.c: Moved ...
38102         * signal/sigvec.c: ... here, replacing old file.
38103         (struct sigvec): New type, copied from old signal.h definition.
38104         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38105         (__sigvec): Convert definition to prototype.
38106         (sigvec): Replace weak_alias with compat_symbol.
38107         * signal/Versions (libc: GLIBC_2.21): New version set.
38108         * include/signal.h: Remove __sigvec declaration.
38109         * sysdeps/unix/bsd/sigvec.c: Remove file.
38110         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38111         * manual/signal.texi (BSD Handler): Remove subsection.
38112         Move siginterrupt up to ...
38113         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38114         (Blocking in BSD): Fold subsection into its parent.
38115         * NEWS: Mention sigvec removal.
38117 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38119         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38120         (DLA_FMS): Make definition conditional only on [__FMA4__].
38121         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38122         definition.
38124         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38125         Make definition conditional only on [PROF].
38126         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38127         definition.
38128         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38129         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38131         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38132         !__GNUC__].
38133         * include/signal.h (__sigpause): Move declaration above call to
38134         libc_hidden_proto.
38135         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38136         variable.
38137         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38138         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38140 2014-11-14  David S. Miller  <davem@davemloft.net>
38142         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38143         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38145 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38147         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38148         * configure: Regenerated.
38149         * manual/install.texi (Tools for Compilation): Document a
38150         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38151         compiler verified to work.
38152         * INSTALL: Regenerated.
38154         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38155         redeclare with asm name.
38156         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38157         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38158         including <string.h>.
38159         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38160         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38161         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38162         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38163         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38165         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38167 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38169         * stdlib/strtol.c (__strtol): Use prototype definition.
38171         [BZ #17594]
38172         * stdlib/strtol.c (SYM__): New macro.
38173         (SYM__1): Likewise.
38174         (__strtol): Likewise.
38175         (strtol): Rename to __strtol and define as weak alias of
38176         __strtol.  Use libc_hidden_weak.
38178 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38180         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38181         Use numbered labels in inline assembly.
38183 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38185         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38186         Add setjmp LIBC_PROBE.
38187         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38188         Likewise.
38189         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38190         Add longjmp, longjmp_target LIBC_PROBE.
38191         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38192         Likewise.
38194 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38196         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38197         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38198         to get rid of unused variable warning.
38200 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38202         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38203         Check for unwind_backtrace ==  NULL only in SHARED case.
38204         (__backchain_backtrace): Compile only in SHARED case.
38205         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38206         Likewise.
38207         (__backchain_backtrace): Declare as static.
38209 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38211         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38212         (__libc_multiple_threads_ptr): Variable moved ...
38213         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38215 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38217         * conform/GlibcConform.pm: New file.
38218         * conform/conformtest.pl: Use GlibcConform module.
38219         * conform/linknamespace.pl: New file.
38220         * conform/list-header-symbols.pl: Likewise.
38221         * conform/Makefile (linknamespace-symlists-base): New variable.
38222         (linknamespace-symlists-tests): Likewise.
38223         (linknamespace-header-base): Likewise.
38224         (linknamespace-header-tests): Likewise.
38225         (tests-special): Add new tests.
38226         ($(linknamespace-symlists-tests)): New rule.
38227         (linknamespace-libs): New variable.
38228         ($(objpfx)symlist-stdlibs): New rule.
38229         ($(linknamespace-header-tests)): Likewise.
38230         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38231         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38232         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38233         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38234         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38235         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38236         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38237         (test-xfail-ISO/math.h/linknamespace): Likewise.
38238         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38239         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38240         (test-xfail-ISO/time.h/linknamespace): Likewise.
38241         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38242         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38243         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38244         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38245         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38246         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38247         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38248         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38249         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38250         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38251         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38252         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38253         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38254         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38255         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38256         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38257         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38258         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38259         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38260         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38261         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38262         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38263         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38264         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38265         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38266         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38267         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38268         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38269         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38270         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38271         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38272         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38273         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38274         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38275         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38276         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38277         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38278         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38279         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38280         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38281         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38282         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38283         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38284         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38285         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38286         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38287         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38288         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38289         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38290         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38291         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38292         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38293         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38294         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38295         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38296         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38297         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38298         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38299         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38300         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38301         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38302         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38303         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38304         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38305         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38306         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38307         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38308         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38309         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38310         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38311         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38312         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38313         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38314         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38315         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38316         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38317         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38318         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38319         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38320         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38321         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38322         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38323         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38324         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38325         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38326         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38327         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38328         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38329         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38330         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38331         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38332         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38333         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38334         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38335         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38336         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38337         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38338         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38339         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38340         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38341         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38342         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38343         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38344         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38345         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38346         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38347         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38348         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38349         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38350         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38351         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38352         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38353         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38354         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38355         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38356         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38357         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38358         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38359         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38360         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38361         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38362         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38363         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38364         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38365         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38366         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38367         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38368         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38369         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38370         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38371         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38372         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38373         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38374         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38375         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38376         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38377         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38378         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38379         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38380         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38381         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38382         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38383         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38384         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38385         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38386         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38387         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38388         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38389         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38390         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38392         [BZ #17589]
38393         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38394         of fgets_unlocked.
38396         [BZ #17585]
38397         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38398         (memmem): Rename to __memmem and define as weak alias of
38399         __memmem.  Use libc_hidden_weak.
38400         (__memmem): Use libc_hidden_def.
38401         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38402         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38403         memmem.
38405         [BZ #17582]
38406         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38407         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38408         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38409         and define as weak alias of __fgets_unlocked.  Use
38410         libc_hidden_weak.
38411         (__fgets_unlocked): Use libc_hidden_def.
38412         * include/stdio.h (__fgets_unlocked): Declare.  Use
38413         libc_hidden_proto.
38414         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38415         __fgets_unlocked instead of fgets_unlocked.
38416         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38417         (GET_NPROCS_CONF_PARSER): Likewise.
38418         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38419         (GET_NPROCS_CONF_PARSER): Likewise.
38421         [BZ #17574]
38422         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38423         weak alias of __wmemset.  Use libc_hidden_weak.
38424         (__wmemset): Use libc_hidden_def.
38425         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38426         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38427         of wmemset.
38429         [BZ #17573]
38430         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38431         with asm name __mempcpy.
38432         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38434         [BZ #17572]
38435         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38436         and define as weak alias of __rawmemchr.
38437         (__rawmemchr): Do not define as strong alias of rawmemchr.
38439         [BZ #17571]
38440         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38441         alias of __qsort_r.
38442         (qsort): Call __qsort_r instead of qsort_r.
38443         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38444         (__qsort_r): Declare.  Call libc_hidden_proto.
38445         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38446         instead of qsort_r.
38447         * nscd/gai.c (__qsort_r): Define to qsort_r.
38448         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38449         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38450         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38452         [BZ #17570]
38453         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38454         define as weak alias of __malloc_info.
38456         [BZ #17584]
38457         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38458         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38459         (__rewinddir): Use libc_hidden_def.
38460         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38461         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38462         (__rewinddir): Use libc_hidden_def.
38463         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38464         weak alias of __rewinddir.  Don't use libc_hidden_def.
38465         (__rewinddir): Use libc_hidden_def.
38466         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38467         (__rewinddir): Use libc_hidden_proto.
38468         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38469         rewinddir.
38470         (__getcwd): Use __rewinddir instead of rewinddir.
38472         [BZ #17583]
38473         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38474         alias of __fileno.  Use libc_hidden_weak.
38475         (__fileno): Use libc_hidden_def.
38476         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38477         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38478         alias of __ftello.
38479         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38480         __ftello.
38481         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38482         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38483         libc_hidden_def.
38484         (fread_unlocked): Don't use libc_hidden_ver.
38485         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38486         and define as weak alias of __fread_unlocked.  Don't use
38487         libc_hidden_def.
38488         (__fread_unlocked): Use libc_hidden_def.
38489         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38490         (ftello): Don't use libc_hidden_proto.
38491         (__ftello): Declare.  Use libc_hidden_proto.
38492         (fread_unlocked): Don't use libc_hidden_proto.
38493         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38494         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38495         and __ftello instead of fileno, fread_unlocked and ftello.
38497 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38499         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38500         GOT12.
38501         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38502         Likewise.
38503         (_dl_start_user): Likewise.
38504         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38506 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38507             Siddhesh Poyarekar  <siddhesh@redhat.com>
38509         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38510         Move argv and envp down instead of moving argc up.
38511         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38513 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38515         [BZ #17506]
38516         * test-skeleton.c (main): Return successful if one of
38517         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38518         * string/tst-strcoll-overflow.c: Define expected status.
38520 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38522         [BZ #17475]
38523         * locale/iso-639.def: Define Bhili and Tulu language codes.
38525 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38527         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38529 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38531         [BZ #17555]
38532         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38534 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38536         * configure.ac: Updated check of minimal required version to
38537         2.22.
38538         * manual/install.texi (Tools for Compilation): Updated version
38539         number.
38540         * configure: Regenerated.
38541         * INSTALL: Likewise.
38543 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38545         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38546         __tls_get_addr.
38548 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38550         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38551         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38552         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38553         libc_hidden_weak.
38554         (waitpid): Define as alias of __waitpid.
38555         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38556         __waitpid.
38557         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38558         libc_hidden_weak.
38559         (waitpid): Define as alias of __waitpid.
38560         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38561         __libc_waitpid alias.
38562         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38563         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38564         Likewise.
38565         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38566         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38567         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38568         alias.
38569         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38570         __waitpid.
38571         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38572         libc_hidden_weak.
38573         (waitpid): Define as alias of __waitpid.
38575 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38577         * manual/llio.texi: Add comment that write safety has been
38578         fixed in Linux.
38580         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38581         (localplt-build-dso): Add elf/ld.so.
38582         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38583         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38584         and free for ld.so.
38585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38586         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38588         Likewise.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38590         Likewise.
38591         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38592         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38593         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38594         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38595         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38596         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38597         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38598         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38599         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38601         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38603 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38605         [BZ #14132]
38606         * include/libc-symbols.h (INTUSE): Remove macro.
38607         (INTDEF): Likewise.
38608         (INTVARDEF): Likewise.
38609         (_INTVARDEF): Likewise.
38610         (INTDEF2): Likewise.
38611         (INTVARDEF2): Likewise.
38612         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38613         rtld_hidden_def instead of INTVARDEF.
38614         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38615         (_dl_starting_up_internal): Remove declaration.
38616         (_dl_starting_up): Use rtld_hidden_proto.
38617         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38618         declaration.
38619         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38620         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38621         _dl_starting_up.
38622         * elf/dl-writev.h (_dl_writev): Likewise.
38623         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38624         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38625         _dl_starting_up_internal.
38627 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38629         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38630         test-skeleton.c.
38632 2014-11-05  Will Newton  <will.newton@linaro.org>
38634         * benchtests/Makefile: (bench-malloc): Add malloc thread
38635         scalability benchmark.
38636         * benchtests/bench-malloc-threads.c: New file.
38638 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38640         * sysdeps/aarch64/strchrnul.S: New file.
38642 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38644         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38645         definition.
38646         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38647         Likewise.
38648         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38649         Likewise.
38650         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38651         Likewise.
38652         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38653         Likewise.
38654         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38655         Likewise.
38657 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38659         * catgets/test-gencat.c: Use test-skeleton.c.
38660         * catgets/tst-catgets.c: Likewise.
38661         * csu/tst-empty.c: Likewise.
38662         * elf/tst-audit2.c: Likewise.
38663         * elf/tst-global1.c: Likewise.
38664         * elf/tst-pathopt.c: Likewise.
38665         * elf/tst-piemod1.c: Likewise.
38666         * elf/tst-tls10.c: Likewise.
38667         * elf/tst-tls11.c: Likewise.
38668         * elf/tst-tls12.c: Likewise.
38669         * gnulib/tst-gcc.c: Likewise.
38670         * iconvdata/tst-e2big.c: Likewise.
38671         * iconvdata/tst-loading.c: Likewise.
38672         * iconv/tst-iconv1.c: Likewise.
38673         * iconv/tst-iconv2.c: Likewise.
38674         * inet/test-inet6_opt.c: Likewise.
38675         * inet/tst-gethnm.c: Likewise.
38676         * inet/tst-network.c: Likewise.
38677         * inet/tst-ntoa.c: Likewise.
38678         * intl/tst-codeset.c: Likewise.
38679         * intl/tst-gettext2.c: Likewise.
38680         * intl/tst-gettext3.c: Likewise.
38681         * intl/tst-ngettext.c: Likewise.
38682         * intl/tst-translit.c: Likewise.
38683         * io/test-stat.c: Likewise.
38684         * libio/test-fmemopen.c: Likewise.
38685         * libio/tst-freopen.c: Likewise.
38686         * libio/tst-sscanf.c: Likewise.
38687         * libio/tst-ungetwc1.c: Likewise.
38688         * libio/tst-ungetwc2.c: Likewise.
38689         * libio/tst-widetext.c: Likewise.
38690         * localedata/tst-ctype.c: Likewise.
38691         * localedata/tst-digits.c: Likewise.
38692         * localedata/tst-leaks.c: Likewise.
38693         * localedata/tst-mbswcs1.c: Likewise.
38694         * localedata/tst-mbswcs2.c: Likewise.
38695         * localedata/tst-mbswcs3.c: Likewise.
38696         * localedata/tst-mbswcs4.c: Likewise.
38697         * localedata/tst-mbswcs5.c: Likewise.
38698         * localedata/tst-setlocale.c: Likewise.
38699         * localedata/tst-trans.c: Likewise.
38700         * localedata/tst-wctype.c: Likewise.
38701         * localedata/tst-xlocale1.c: Likewise.
38702         * login/tst-grantpt.c: Likewise.
38703         * malloc/tst-calloc.c: Likewise.
38704         * malloc/tst-malloc.c: Likewise.
38705         * malloc/tst-mallocstate.c: Likewise.
38706         * malloc/tst-mcheck.c: Likewise.
38707         * malloc/tst-mtrace.c: Likewise.
38708         * malloc/tst-obstack.c: Likewise.
38709         * math/atest-exp2.c: Likewise.
38710         * math/atest-exp.c: Likewise.
38711         * math/atest-sincos.c: Likewise.
38712         * math/test-matherr.c: Likewise.
38713         * math/test-misc.c: Likewise.
38714         * math/test-powl.c: Likewise.
38715         * math/tst-definitions.c: Likewise.
38716         * misc/tst-dirname.c: Likewise.
38717         * misc/tst-efgcvt.c: Likewise.
38718         * misc/tst-fdset.c: Likewise.
38719         * misc/tst-hsearch.c: Likewise.
38720         * misc/tst-mntent2.c: Likewise.
38721         * nptl/tst-sem7.c: Likewise.
38722         * nptl/tst-sem8.c: Likewise.
38723         * nptl/tst-sem9.c: Likewise.
38724         * nss/test-netdb.c: Likewise.
38725         * posix/tst-fnmatch.c: Likewise.
38726         * posix/tst-getlogin.c: Likewise.
38727         * posix/tst-gnuglob.c: Likewise.
38728         * posix/tst-mmap.c: Likewise.
38729         * pwd/tst-getpw.c: Likewise.
38730         * resolv/tst-inet_ntop.c: Likewise.
38731         * rt/tst-timer.c: Likewise.
38732         * stdio-common/test-fseek.c: Likewise.
38733         * stdio-common/test-popen.c: Likewise.
38734         * stdio-common/test-vfprintf.c: Likewise.
38735         * stdio-common/tst-cookie.c: Likewise.
38736         * stdio-common/tst-fileno.c: Likewise.
38737         * stdio-common/tst-gets.c: Likewise.
38738         * stdio-common/tst-obprintf.c: Likewise.
38739         * stdio-common/tst-perror.c: Likewise.
38740         * stdio-common/tst-sprintf2.c: Likewise.
38741         * stdio-common/tst-sprintf3.c: Likewise.
38742         * stdio-common/tst-sprintf.c: Likewise.
38743         * stdio-common/tst-swprintf.c: Likewise.
38744         * stdio-common/tst-tmpnam.c: Likewise.
38745         * stdio-common/tst-unbputc.c: Likewise.
38746         * stdio-common/tst-wc-printf.c: Likewise.
38747         * stdlib/tst-environ.c: Likewise.
38748         * stdlib/tst-fmtmsg.c: Likewise.
38749         * stdlib/tst-limits.c: Likewise.
38750         * stdlib/tst-rand48-2.c: Likewise.
38751         * stdlib/tst-rand48.c: Likewise.
38752         * stdlib/tst-random2.c: Likewise.
38753         * stdlib/tst-random.c: Likewise.
38754         * stdlib/tst-strtol.c: Likewise.
38755         * stdlib/tst-strtoll.c: Likewise.
38756         * stdlib/tst-tls-atexit.c: Likewise.
38757         * stdlib/tst-xpg-basename.c: Likewise.
38758         * string/test-ffs.c: Likewise.
38759         * string/tst-bswap.c: Likewise.
38760         * string/tst-inlcall.c: Likewise.
38761         * string/tst-strtok.c: Likewise.
38762         * string/tst-strxfrm.c: Likewise.
38763         * sysdeps/x86_64/tst-audit10.c: Likewise.
38764         * sysdeps/x86_64/tst-audit3.c: Likewise.
38765         * sysdeps/x86_64/tst-audit4.c: Likewise.
38766         * sysdeps/x86_64/tst-audit5.c: Likewise.
38767         * time/tst-ftime_l.c: Likewise.
38768         * time/tst-getdate.c: Likewise.
38769         * time/tst-mktime3.c: Likewise.
38770         * time/tst-mktime.c: Likewise.
38771         * time/tst-posixtz.c: Likewise.
38772         * time/tst-strptime2.c: Likewise.
38773         * time/tst-strptime3.c: Likewise.
38774         * wcsmbs/tst-btowc.c: Likewise.
38775         * wcsmbs/tst-mbrtowc.c: Likewise.
38776         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38777         * wcsmbs/tst-wchar-h.c: Likewise.
38778         * wcsmbs/tst-wcpncpy.c: Likewise.
38779         * wcsmbs/tst-wcrtomb.c: Likewise.
38780         * wcsmbs/tst-wcsnlen.c: Likewise.
38781         * wcsmbs/tst-wcstof.c: Likewise.
38783 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38785         [BZ #14132]
38786         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38787         INTDEF.
38788         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38789         declaration.
38790         (_dl_mcount): Use rtld_hidden_proto.
38791         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38792         _dl_mcount.
38793         * elf/rtld.c (_rtld_global_ro): Likewise.
38795         [BZ #14132]
38796         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38797         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38798         of _dl_init_internal.
38799         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38800         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38801         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38802         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38803         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38804         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38805         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38806         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38807         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38808         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38809         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38810         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38811         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38812         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38813         * sysdeps/tile/dl-start.S (_start): Likewise.
38814         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38815         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38817         [BZ #14132]
38818         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38819         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38820         (rtld_progname): Make macro definition unconditional.
38821         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38822         INTDEF.
38823         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38824         (dl_main): Likewise.
38825         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38826         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38827         instead of _dl_argv_internal.
38828         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38829         __GI__dl_argv instead of INTUSE(_dl_argv).
38830         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38831         __GI__dl_argv instead of _dl_argv_internal.
38833         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38834         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38835         macro.
38836         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38837         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38838         New macro.
38839         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38840         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38841         macro.
38842         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38843         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38845 2014-11-04  Andreas Schwab  <schwab@suse.de>
38847         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38849 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38851         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38852         mtvsrd instruction in binary form.
38854 2014-11-03  Andreas Schwab  <schwab@suse.de>
38856         [BZ #17522]
38857         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38858         for less than MB_LEN_MAX use a local buffer of that size.
38859         * libio/tst-fputws.c: New file.
38860         * libio/Makefile (tests): Add tst-fputws.
38862 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38864         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38865         the size of the fpu_fr.fpu_dregs[] array.
38867 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38869         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38870         (__nanosleep): Do not define as alias.
38871         (nanosleep): Define as alias of __nanosleep.
38872         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38873         __libc_nanosleep name.
38875 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38877         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38878         install.texi in comment.
38880 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38882         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38883         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38884         ... add here and use lwsync or sync ...
38885         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38886         ... and add here using lwsync.
38888 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38890         * elf/dl-machine-reject-phdr.h: New file.
38891         * elf/dl-load.c: #include that.
38892         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38893         if that returned true.
38895 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38897         [BZ #17496]
38898         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38899         gen-as-const-headers chunk.  Add a big scare comment after the last
38900         safe place to touch before-compile.
38902 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38904         * manual/install.texi (Tools for Compilation): Update autoconf
38905         version requirements.
38906         * INSTALL: Regenerated.
38908         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38909         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38910         (__libc_pselect): Likewise.
38912         [BZ #14138]
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38918 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38920         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38921         correct barrier instruction.
38922         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38923         Likewise.
38924         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38925         Likewise.
38927 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38929         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38930         after defining inlines.  Instead, just use parens to defeat macro
38931         expansion of __isctype in its declaration.
38933 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38935         * include/sys/uio.h (__libc_readv): Remove declaration.
38936         (__libc_writev): Likewise.
38937         * misc/readv.c (__libc_readv): Rename to __readv.
38938         (__readv): Do not define as alias.
38939         (readv): Define as alias of __readv.
38940         * misc/writev.c (__libc_writev): Rename to __writev.
38941         (__writev): Do not define as alias.
38942         (writev): Define as alias of __writev.
38943         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38944         (__readv): Do not define as alias.
38945         (readv): Define unconditionally as alias of __readv.
38946         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38947         (__writev): Do not define as alias.
38948         (writev): Define unconditionally as alias of __writev.
38949         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38950         name.
38951         (writev): Do not define __libc_writev name.
38953 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38955         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38956         (convert_charseq): New function, broken out of ...
38957         (use_from_charmap): ... here.  Call it.
38958         (use_to_charmap): Use convert_charseq and free instead of duplicating
38959         its code with a variable-length stack struct.
38961 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38963         * include/fcntl.h (__libc_creat): Remove declaration.
38964         * io/creat.c (__libc_creat): Rename to creat.
38965         (creat): Do not define as alias.
38966         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38967         of creat instead of __libc_creat.
38968         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38969         to creat.
38970         (creat): Do not define as alias.
38971         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38972         __libc_creat.
38973         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38974         __libc_creat name.
38975         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38976         Likewise.
38978 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38980         * manual/llio.texi: Add comments discussing why write() may be
38981         considered MT-unsafe on Linux.
38983 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38985         * dl-load.c (local_strdup): Remove.
38986         (expand_dynamic_string_token): Use __strdup.
38987         (decompose_rpath): Likewise.
38988         (_dl_map_object): Likewise.
38990 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38992         [BZ #14132]
38993         * sysdeps/generic/unwind-dw2-fde.c
38994         (__register_frame_info_bases_internal): Do not declare.
38995         (__register_frame_info_table_bases_internal): Likewise.
38996         (__deregister_frame_info_bases_internal): Likewise.
38997         (__register_frame_info_bases): Declare and use hidden_proto before
38998         definition.  Use hidden_def instead of INTDEF.
38999         (__register_frame_info_table_bases): Likewise.
39000         (__deregister_frame_info_bases): Likewise.
39001         (__register_frame_info): Do not use INTUSE.
39002         (__register_frame): Likewise.
39003         (__register_frame_info_table): Likewise.
39004         (__register_frame_table): Likewise.
39005         (__deregister_frame_info): Likewise.
39006         (__deregister_frame): Likewise.
39008 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39010         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39011         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39012         not undefine.
39013         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39014         Likewise.
39015         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39016         Likewise.
39018 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39020         [BZ #14138]
39021         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39022         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39023         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39024         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39025         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39026         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39027         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39028         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39029         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39030         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39031         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39032         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39033         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39034         syscall.
39035         (setfsuid): Likewise.
39036         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39037         (setfsuid): Likewise.
39038         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39039         (setfsuid): Likewise.
39040         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39041         Likewise.
39042         (setfsuid): Likewise.
39043         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39044         (setfsuid): Likewise.
39045         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39046         Likewise.
39047         (setfsuid): Likewise.
39049 2014-10-27  Andreas Schwab  <schwab@suse.de>
39051         [BZ #17501]
39052         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39053         check for Slow_SSE4_2 feature bit.
39054         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39055         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39056         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39057         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39059 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39061         * configure.ac: Validate compiler version with a empirical test of
39062         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39063         $CC -v output.
39064         * configure: Regenerated.
39066         * inet/htons.c (htons): Prototypify.
39067         * inet/htonl.c (htonl): Likewise.
39069 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39071         * string/strncat.c (strncat): Improve performance by using strlen.
39073 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39075         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39077 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39079         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39080         Call libc_fetestexcept_aarch64.
39082 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39084         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39085         Call libc_feholdexcept_aarch64.
39087 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39089         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39090         Call get_rounding_mode.
39092 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39094         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39095         Simplify logic.
39097 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39099         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39100         Simplify logic.
39102 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39104         [BZ #14138]
39105         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39106         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39107         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39108         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39109         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39110         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39111         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39112         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39113         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39114         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39115         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39116         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39117         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39118         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39119         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39120         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39121         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39122         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39123         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39124         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39125         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39126         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39127         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39128         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39129         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39130         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39131         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39132         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39133         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39134         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39135         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39136         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39137         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39138         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39139         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39140         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39141         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39142         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39143         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39144         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39145         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39146         syscall.
39147         (geteuid): Likewise.
39148         (getgid): Likewise.
39149         (getuid): Likewise.
39150         (getresgid): Likewise.
39151         (getresuid): Likewise.
39152         (getgroups): Likewise.
39153         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39154         (geteuid): Likewise.
39155         (getgid): Likewise.
39156         (getuid): Likewise.
39157         (getresgid): Likewise.
39158         (getresuid): Likewise.
39159         (getgroups): Likewise.
39160         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39161         (geteuid): Likewise.
39162         (getgid): Likewise.
39163         (getuid): Likewise.
39164         (getresgid): Likewise.
39165         (getresuid): Likewise.
39166         (getgroups): Likewise.
39167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39168         Likewise.
39169         (geteuid): Likewise.
39170         (getgid): Likewise.
39171         (getuid): Likewise.
39172         (getresgid): Likewise.
39173         (getresuid): Likewise.
39174         (getgroups): Likewise.
39175         * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/syscalls.list (getegid):
39183         Likewise.
39184         (geteuid): Likewise.
39185         (getgid): Likewise.
39186         (getuid): Likewise.
39187         (getgroups): Likewise.
39189         [BZ #14138]
39190         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39191         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39192         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39193         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39194         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39195         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39196         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39197         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39198         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39199         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39200         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39201         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39202         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39203         __chown.
39204         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39205         (lchown): Likewise.
39206         (fchown): Likewise.
39207         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39208         Likewise.
39209         (lchown): Likewise.
39210         (fchown): Likewise.
39211         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39212         (lchown): Likewise.
39213         (fchown): Likewise.
39214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39215         Likewise.
39216         (lchown): Likewise.
39217         (fchown): Likewise.
39219 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39221         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39222         Simplify logic.
39224 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39226         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39227         Cleanup logic.
39229 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39231         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39232         Remove unused include.
39234 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39236         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39237         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39238         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39239         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39241 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39242             Helge Deller <deller@gmx.de>
39244         [BZ #17508]
39245         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39246         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39247         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39249 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39251         [BZ #14132]
39252         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39253         Remove macro definition.
39254         (__ashrdi3_v_glibc20): Likewise.
39255         (__lshrdi3_v_glibc20): Likewise.
39256         (__cmpdi2_v_glibc20): Likewise.
39257         (__ucmpdi2_v_glibc20): Likewise.
39258         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39259         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39260         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39261         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39262         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39263         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39265 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39267         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39268         old GNU extension [0] syntax.
39269         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39270         alloca rather than an array member with variable length.
39271         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39272         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39273         (parse_opt): ... here.  Likewise use alloca there.
39274         Validate the -i argument before checking for rootness.
39275         (send_shutdown): New function, broken out of ...
39276         (parse_opt): ... here.
39278 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39280         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39281         macro to get at the _rt_local_ro field.
39282         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39283         ([PIC] case) or _dl_hwcap ([!PIC] case).
39284         * sysdeps/arm/setjmp.S: Likewise.
39286         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39287         * sysdeps/arm/configure.ac: New check to define it.
39288         * sysdeps/arm/configure: Regenerated.
39289         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39290         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39291         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39292         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39293         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39294         Use move/movt pair instead of a load.
39295         (LDST_GLOBAL): Macro removed.
39296         (LDR_GLOBAL): New macro replaces it.
39297         (LDR_HIDDEN): New macro.
39298         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39299         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39301         * setjmp/tst-setjmp-static.c: New file.
39302         * setjmp/Makefile (tests): Add it.
39303         (tests-static): New variable.
39305 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39307         [BZ #17485]
39308         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39310 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39312         [BZ #14132]
39313         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39315 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39317         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39319 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39321         * io/fts.c (dirent_not_directory): New function.
39322         (fts_build): Call it.
39324 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39326         * nptl/version.c (__nptl_main): Use normal __write rather than
39327         INTERNAL_SYSCALL.
39328         (banner): Update copyright years.
39330         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39331         gettimeofday.
39332         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39333         * nptl/pthread_cond_timedwait.c: Likewise.
39334         * nptl/pthread_mutex_timedlock.c: Likewise.
39335         * nptl/sem_timedwait.c: Likewise.
39337         * sysdeps/nptl/bits/libc-lock.h
39338         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39339         (__libc_lock_init_recursive): Return void, not 0.
39340         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39341         (__libc_rwlock_init): Likewise.
39342         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39344 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39346         [BZ #15215]
39347         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39348         (__pthread_once_slow): ... here.
39349         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39350         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39352 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39354         [BZ #15215]
39355         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39356         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39357         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39358         * nptl/pthread_once.c (__pthread_once): Likewise.
39359         Update comments.
39361 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39363         [BZ #14138]
39364         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39365         name.
39366         (writev): Use __libc_writev as strong name.
39367         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39368         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39370 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39372         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39374         * sysdeps/i386/nptl/tls.h
39375         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39376         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39377         New macros.
39378         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39379         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39380         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39381         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39382         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39383         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39385         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39386         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39387         on [__NR_futex].
39388         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39389         broken out of ...
39390         (__pthread_mutex_init): ... here.  Call it.
39391         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39392         Conditionalize PI cases on [__NR_futex].
39393         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39394         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39395         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39397         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39398         conditional on [SIGSETXID].
39399         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39400         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39401         is defined.  Likewise for SIGSETXID.
39402         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39403         Conditionalize definitions on [SIGSETXID].
39404         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39405         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39406         unblocking on [SIGCANCEL].
39408         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39409         [__NR_set_robust_list].
39411 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39413         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39414         (do_compare): Likewise.
39416 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39418         [BZ #15884]
39419         * string/strcoll_l.c: Don't include stdio.h.
39420         (coll_seq): Remove members idxarr and rulearr.
39421         (get_next_seq_cached): Remove function.
39422         (get_next_seq): Likewise.
39423         (get_next_seq_nocache): Rename to get_next_seq.
39424         (do_compare): Remove function.
39425         (do_compare_nocache): Rename to do_compare.
39426         (STRCOLL): Remove weight and rules cache.
39428 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39430         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39431         * sysdeps/arm/sfp-machine.h: ... to here.
39432         * sysdeps/arm/Implies: Remove arm/soft-fp.
39434 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39436         * conform/data/sys/utsname.h-data (*_t): Allow.
39437         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39438         [POSIX] (WEXITED): Do not expect constant.
39439         [POSIX] (WSTOPPED): Likewise.
39440         [POSIX] (WNOHANG): Likewise.
39441         [POSIX] (WNOWAIT): Likewise.
39442         [POSIX] (siginfo_t): Do not expect type or elements.
39443         [POSIX] (pid_t): Do not expect type.
39444         [POSIX] (signal.h): Do not allow header.
39445         [POSIX] (sys/resource.h): Likewise.
39446         [POSIX] (si_*): Do not allow pattern.
39447         [POSIX] (W*): Likewise.
39448         [POSIX] (P_*): Likewise.
39449         [POSIX] (BUS_*): Likewise.
39450         [POSIX] (CLD_*): Likewise.
39451         [POSIX] (FPE_*): Likewise.
39452         [POSIX] (ILL_*): Likewise.
39453         [POSIX] (POLL_*): Likewise.
39454         [POSIX] (SEGV_*): Likewise.
39455         [POSIX] (SI_*): Likewise.
39456         [POSIX] (TRAP_*): Likewise.
39457         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39458         variable.
39460 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39462         [BZ #12926]
39463         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39464         infinite loop when __recvmsg returns 0.
39466 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39468         * CANCEL-FCT-WAIVE: Remove file.
39469         * CANCEL-FILE-WAIVE: Likewise.
39471         [BZ #14132]
39472         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39473         instead of INTVARDEF.
39474         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39475         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39476         rtld_hidden_data_def instead of INTVARDEF.
39477         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39478         * elf/dl-deps.c (expand_dst): Likewise.
39479         * elf/dl-load.c (_dl_dst_count): Likewise.
39480         (_dl_dst_substitute): Likewise.
39481         (decompose_rpath): Likewise.
39482         (_dl_init_paths): Likewise.
39483         (open_path): Likewise.
39484         (_dl_map_object): Likewise.
39485         * elf/rtld.c (dl_main): Likewise.
39486         (process_dl_audit): Likewise.
39487         (process_envvars): Likewise.
39488         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39489         Remove declaration.
39490         (__libc_enable_secure): Use rtld_hidden_proto.
39492 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39494         * elf/dl-load.c
39495         (add_path): New function broken out of _dl_rtld_di_serinfo.
39496         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39498 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39500         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39501         parentheses around macro arguments.
39502         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39511         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39512         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39513         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39514         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39515         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39516         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39517         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39518         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39519         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39520         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39529         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39531         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39532         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39533         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39534         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39535         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39536         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39537         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39538         Likewise.
39539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39541         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39545         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39546         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39547         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39549         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39550         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39551         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39554         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39556         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39558         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39560         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39561         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39562         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39563         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39564         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39565         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39566         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39567         (_FP_FRAC_SRS_1): Likewise.
39568         (_FP_FRAC_CLZ_1): Likewise.
39569         (_FP_MUL_MEAT_1_imm): Likewise.
39570         (_FP_MUL_MEAT_1_wide): Likewise.
39571         (_FP_MUL_MEAT_1_hard): Likewise.
39572         (_FP_SQRT_MEAT_1): Likewise.
39573         (_FP_FRAC_ASSEMBLE_1): Likewise.
39574         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39575         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39576         (__FP_CLZ_2): Likewise.
39577         (_FP_MUL_MEAT_2_wide): Likewise.
39578         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39579         (_FP_MUL_MEAT_2_gmp): Likewise.
39580         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39581         (_FP_SQRT_MEAT_2): Likewise.
39582         (_FP_FRAC_ASSEMBLE_2): Likewise.
39583         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39584         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39585         (_FP_FRAC_CLZ_4): Likewise.
39586         (_FP_MUL_MEAT_4_wide): Likewise.
39587         (_FP_MUL_MEAT_4_gmp): Likewise.
39588         (_FP_SQRT_MEAT_4): Likewise.
39589         (_FP_FRAC_ASSEMBLE_4): Likewise.
39590         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39591         * soft-fp/op-common.h (_FP_CMP): Likewise.
39592         (_FP_CMP_EQ): Likewise.
39593         (_FP_CMP_UNORD): Likewise.
39594         (_FP_TO_INT): Likewise.
39595         (_FP_FROM_INT): Likewise.
39596         [!__FP_CLZ] (__FP_CLZ): Likewise.
39597         (_FP_DIV_HELP_imm): Likewise.
39598         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39599         Likewise.
39600         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39604         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39605         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39611         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39612         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39613         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39615         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39616         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39618         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39628         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39629         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39630         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39631         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39632         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39633         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39634         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39635         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39636         (FP_UNPACK_RAW_SP): Likewise.
39637         (FP_PACK_RAW_S): Likewise.
39638         (FP_PACK_RAW_SP): Likewise.
39639         (FP_UNPACK_S): Likewise.
39640         (FP_UNPACK_SP): Likewise.
39641         (FP_UNPACK_SEMIRAW_S): Likewise.
39642         (FP_UNPACK_SEMIRAW_SP): Likewise.
39643         (FP_PACK_S): Likewise.
39644         (FP_PACK_SP): Likewise.
39645         (FP_PACK_SEMIRAW_S): Likewise.
39646         (FP_PACK_SEMIRAW_SP): Likewise.
39647         (_FP_SQRT_MEAT_S): Likewise.
39648         (FP_CMP_S): Likewise.
39649         (FP_CMP_EQ_S): Likewise.
39650         (FP_CMP_UNORD_S): Likewise.
39651         (FP_TO_INT_S): Likewise.
39652         (FP_FROM_INT_S): Likewise.
39654         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39656         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39657         (FP_EX_INVALID_IMZ): Likewise.
39658         (FP_EX_INVALID_IMZ_FMA): Likewise.
39659         (FP_EX_INVALID_ISI): Likewise.
39660         (FP_EX_INVALID_ZDZ): Likewise.
39661         (FP_EX_INVALID_IDI): Likewise.
39662         (FP_EX_INVALID_SQRT): Likewise.
39663         (FP_EX_INVALID_CVI): Likewise.
39664         (FP_EX_INVALID_VC): Likewise.
39665         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39666         "invalid" exceptions.
39667         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39668         (_FP_ADD_INTERNAL): Likewise.
39669         (_FP_MUL): Likewise.
39670         (_FP_FMA): Likewise.
39671         (_FP_DIV): Likewise.
39672         (_FP_CMP_CHECK_NAN): Likewise.
39673         (_FP_SQRT): Likewise.
39674         (_FP_TO_INT): Likewise.
39675         (FP_EXTEND): Likewise.
39677 2014-10-09  Allan McRae  <allan@archlinux.org>
39679         * po/fr.po: Update French translation from translation project.
39681 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39683         [BZ #14132]
39684         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39685         of INTDEF.
39686         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39687         (__cxa_atexit): Use libc_hidden_proto.
39688         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39690         [BZ #14132]
39691         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39692         declaration.
39693         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39694         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39695         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39696         [!_ISOMAC] (__iswctype_internal): Likewise.
39697         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39698         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39699         alias.
39700         (fcntl): Remove __fcntl_internal alias.
39701         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39702         __connect_internal alias.
39703         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39704         Likewise.
39706         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39707         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39708         FP_DENORM_ZERO.
39709         (_FP_CHECK_FLUSH_ZERO): New macro.
39710         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39711         (_FP_CMP): Likewise.
39712         (_FP_CMP_EQ): Likewise.
39713         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39714         FP_DENORM_ZERO.
39715         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39716         (FP_TRUNC): Likewise.
39718         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39719         treated as invalid conversion, not as normal exponent.
39721         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39722         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39723         (_FP_CMP_EQ): Likewise.
39724         (_FP_CMP_UNORD): Likewise.
39725         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39726         (FP_CMP_EQ_D): Likewise.
39727         (FP_CMP_UNORD_D): Likewise.
39728         * soft-fp/extended.h (FP_CMP_E): Likewise.
39729         (FP_CMP_EQ_E): Likewise.
39730         (FP_CMP_UNORD_E): Likewise.
39731         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39732         (FP_CMP_EQ_Q): Likewise.
39733         (FP_CMP_UNORD_Q): Likewise.
39734         * soft-fp/single.h (FP_CMP_S): Likewise.
39735         (FP_CMP_EQ_S): Likewise.
39736         (FP_CMP_UNORD_S): Likewise.
39737         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39738         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39739         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39740         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39741         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39742         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39743         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39744         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39745         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39746         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39747         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39748         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39749         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39750         to FP_CMP_Q.
39751         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39752         FP_CMP_Q.
39753         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39754         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39755         FP_CMP_EQ_Q.
39756         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39757         FP_CMP_Q.
39758         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39759         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39760         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39761         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39762         FP_CMP_EQ_Q.
39763         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39764         FP_CMP_Q.
39765         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39766         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39767         FP_CMP_EQ_Q.
39768         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39769         FP_CMP_Q.
39770         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39771         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39772         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39773         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39774         FP_CMP_EQ_Q.
39776         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39777         a subnormal result, set the underflow exception if trapping on
39778         underflow is enabled.
39779         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39780         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39781         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39782         redefine to 0.
39783         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39784         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39785         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39786         * soft-fp/extendxftf2.c (__extendxftf2): Use
39787         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39789         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39790         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39791         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39792         FP_HANDLE_EXCEPTIONS.
39793         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39794         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39795         FP_HANDLE_EXCEPTIONS.
39796         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39797         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39798         FP_HANDLE_EXCEPTIONS.
39799         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39800         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39801         FP_HANDLE_EXCEPTIONS.
39803 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39805         [BZ #14132]
39806         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39807         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39808         use INTUSE.
39809         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39810         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39811         Remove alias.
39812         (__adjtimex): Define using libc_hidden_ver.
39813         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39814         Remove declaration.
39815         (ntp_gettime): Call __adjtimex directly.
39816         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39817         Remove declaration.
39818         (ntp_gettimex): Call __adjtimex directly.
39819         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39820         __adjtimex_internal alias.
39822 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39824         [BZ #17460]
39825         * nscd/nscd.c (more_help): Rewrite list of tables collection
39826         using xstrdup and asprintf.
39828         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39830 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39831             Roland McGrath  <roland@hack.frob.com>
39833         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39834         (do_lookup_unique): ... local function 'enter' here; update callers.
39836 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39838         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39839         compat_symbol calls on [SHARED].
39840         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39841         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39842         Remove.
39843         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39844         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39845         (oldsetrlimit): Remove.
39846         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39848         (lchown): New syscall entry.
39849         (oldsetrlimit): Remove.
39850         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39852         (oldsetrlimit): Remove.
39853         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39855         [BZ #14138]
39856         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39857         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39858         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39859         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39860         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39861         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39862         (fchown): Likewise.
39863         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39864         (fchown): Likewise.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39866         Likewise.
39868 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39870         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39871         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39872         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39873         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39874         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39875         Likewise.
39876         (__old_sem_post): Likewise.
39878 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39880         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39881         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39882         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39883         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39884         Use INLINE_VSYSCALL macro.
39885         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39886         __vdso_clock_gettime.
39887         * sysdeps/unix/sysv/linux/tile/init-first.c
39888         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39889         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39890         __vdso_clock_gettime.
39892         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39893         to set up frame more cleanly.
39895         * sysdeps/tile/memcmp.c: New file.
39897         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39899         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39900         * sysdeps/tile/tilegx/strcasestr.c: New file.
39901         * sysdeps/tile/tilegx/strnlen.c: New file.
39902         * sysdeps/tile/tilegx/strstr.c: New file.
39904         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39906 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39908         * nptl/tst-setuid3.c: Write errors to stdout.
39910 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39912         * elf/dl-deps.c
39913         (preload): New functions broken out of _dl_map_object_deps.
39914         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39916 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39918         [BZ #14138]
39919         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39920         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39922 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39924         * sysdeps/mips/strcmp.S: New.
39926 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39928         [BZ #14138]
39929         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39930         (linkat): Likewise.
39931         (mkdirat): Likewise.
39932         (readlinkat): Likewise.
39933         (renameat): Likewise.
39934         (symlinkat): Likewise.
39935         (unlinkat): Likewise.
39936         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39937         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39938         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39939         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39940         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39941         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39942         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39944 2014-09-30  Will Newton  <will.newton@linaro.org>
39946         * math/math.h: Define long double math functions if
39947         _LIBC_TEST is defined.
39948         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39950         * localedata/Makefile: Move assignment to tests-special
39951         into an ifdef testing run-built-tests.
39952         * timezone/Makefile: Likewise.
39954 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39956         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39957         with $(BASH) not $(SHELL).
39959 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39960             Matthew LeGendre  <legendre1@llnl.gov>
39962         [BZ #17411]
39963         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39964         l_reloc_result.
39966 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39968         * stdio-common/printf_fp.c
39969         (hack_digit): New function, broken out of ...
39970         (__printf_fp): ... local function here.  Update call sites.
39971         hack_digit now takes an additional parameter that is a pointer
39972         to a struct of the referenced locals.  Those locals moved inside
39973         the struct and references updated.
39975 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39977         * aclocal.m4: Require autoconf 2.69.
39978         * configure: Regenerated.
39979         * sysdeps/aarch64/configure: Likewise.
39980         * sysdeps/alpha/configure: Likewise.
39981         * sysdeps/arm/armv7/configure: Likewise.
39982         * sysdeps/arm/configure: Likewise.
39983         * sysdeps/ia64/configure: Likewise.
39984         * sysdeps/mach/configure: Likewise.
39985         * sysdeps/mips/configure: Likewise.
39986         * sysdeps/s390/configure: Likewise.
39987         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39990         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39991         file.
39992         * sysdeps/ia64/configure.ac: Likewise.
39994 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39997         specify symbol version for ld.so.  Do not include entry for
39998         libpthread.
39999         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40000         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40001         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40003         [BZ #14171]
40004         * Makeconfig [$(build-shared) = yes]
40005         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40006         makefiles.
40007         [$(build-shared) = yes && $(soversions.mk-done) = t]
40008         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40009         [$(build-shared) = yes && $(soversions.mk-done) = t]
40010         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40011         to Makerules.
40012         [$(build-shared) = yes && $(soversions.mk-done) = t]
40013         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40014         here.
40015         [$(build-shared) = yes && $(soversions.mk-done) = t]
40016         (common-generated): Don't append gnu/lib-names.h and
40017         gnu/lib-names.stmp here.
40018         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40019         (lib-names-h-abi): New variable.
40020         [$(build-shared) = yes && $(soversions.mk-done) = t]
40021         (lib-names-stmp-abi): Likewise.
40022         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40023         abi-variants] (before-compile): Append
40024         $(common-objpfx)$(lib-names-h-abi).
40025         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40026         abi-variants] (common-generated): Append gnu/lib-names.h.
40027         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40028         abi-variants] (install-others-nosubdir): Depend on
40029         $(inst_includedir)/$(lib-names-h-abi).
40030         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40031         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40032         [$(build-shared) = yes && $(soversions.mk-done) = t]
40033         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40034         [$(build-shared) = yes && $(soversions.mk-done) = t]
40035         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40036         [$(build-shared) = yes && $(soversions.mk-done) = t]
40037         (common-generated): Append $(lib-names-h-abi) and
40038         $(lib-names-stmp-abi).
40039         * scripts/lib-names.awk: Do not handle multi being set.
40040         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40041         Remove variable.
40042         (abi-lp64_be-ld-soname): Likewise.
40043         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40044         Likewise.
40045         (abi-hard-ld-soname): Likewise.
40046         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40047         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40048         Remove variable.
40049         (abi-o32_hard-ld-soname): Likewise.
40050         (abi-o32_soft_2008-ld-soname): Likewise.
40051         (abi-o32_hard_2008-ld-soname): Likewise.
40052         (abi-n32_soft-ld-soname): Likewise.
40053         (abi-n32_hard-ld-soname): Likewise.
40054         (abi-n32_soft_2008-ld-soname): Likewise.
40055         (abi-n32_hard_2008-ld-soname): Likewise.
40056         (abi-n64_soft-ld-soname): Likewise.
40057         (abi-n64_hard-ld-soname): Likewise.
40058         (abi-n64_soft_2008-ld-soname): Likewise.
40059         (abi-n64_hard_2008-ld-soname): Likewise.
40060         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40061         Likewise.
40062         (abi-64-v2-ld-soname): Likewise.
40063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40064         ld.so entries.
40065         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40066         variable.
40067         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40068         entry.
40069         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40070         variable.
40071         (abi-64-ld-soname): Likewise.
40072         (abi-x32-ld-soname): Likewise.
40073         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40074         entry.
40075         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40077 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40079         [BZ #14138]
40080         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40081         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40082         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40083         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40084         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40085         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40086         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40087         syscall entry for GLIBC_2.2 symbol version.
40088         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40089         Likewise.
40090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40091         (setrlimit): Likewise.
40092         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40093         Likewise.
40095 2014-09-23  Will Newton  <will.newton@linaro.org>
40097         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40098         _LINUX_ARM_SYSDEP_H include guard too.
40099         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40100         define.
40102 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40104         * sysdeps/unix/sysv/linux/eventfd.c:
40105         Make first argument unsigned.
40106         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40107         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40109 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40111         [BZ #16852]
40112         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40113         * socket/sys/socket.h: Likewise.
40114         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40116 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40118         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40120 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40122         * time/tst-ftime.c: New test.
40123         * time/Makefile (tests): Add tst-ftime.
40125 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40127         * soft-fp/extended.h: Fix comment formatting.
40128         * soft-fp/op-1.h: Likewise.
40129         * soft-fp/op-2.h: Likewise.
40130         * soft-fp/op-4.h: Likewise.
40131         * soft-fp/op-8.h: Likewise.
40132         * soft-fp/op-common.h: Likewise.
40133         * soft-fp/soft-fp.h: Likewise.
40135         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40137 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40139         [BZ #6652]
40140         * Makeconfig (soversions-default-setname): Remove variable.
40141         ($(common-objpfx)soversions.i): Don't pass default_setname to
40142         soversions.awk.
40143         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40144         oldest_abi to abi-versions.awk.
40145         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40146         * config.make.in (oldest-abi): Remove variable.
40147         * configure.ac (--enable-oldest-abi): Remove configure option.
40148         * configure: Regenerated.
40149         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40150         text.
40151         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40152         * scripts/soversions.awk: Do not handle default_setname variable.
40153         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40154         variable.
40155         * sysdeps/mach/hurd/configure: Regenerated.
40156         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40157         variable.
40158         * sysdeps/unix/sysv/linux/configure: Regenerated.
40160 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40162         * elf/Makefile (CFLAGS-interp.c): Remove.
40163         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40164         path string.
40165         * elf/interp.c: Include generated runtime-linker.h
40167         * Makerules (lib%.so): Don't include $(+interp) in
40168         prerequisites.
40169         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40170         * dlfcn/eval.c: Remove file.
40172         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40173         macros.
40175         [BZ #17266]
40176         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40177         4.2 and newer.
40179         [BZ #17370]
40180         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40182 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40183             Jakub Jelinek  <jakub@redhat.com>
40185         [BZ #17266]
40186         * libio/stdio.h: Check definition of __fortify_function
40187         instead of __extern_always_inline to include bits/stdio2.h.
40188         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40189         check if __extern_always_inline is defined.
40190         [__USE_MISC || __USE_XOPEN]: Likewise.
40191         [__USE_ISOC99] Likewise.
40192         * misc/sys/cdefs.h (__fortify_function): Define only if
40193         __extern_always_inline is defined.
40194         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40195         __extern_always_inline and __extern_inline only for g++-4.3
40196         and newer or a compatible gcc.
40198 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40200         [BZ #17371]
40201         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40202         last change to handle zero prefix length.
40204 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40206         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40207         _SC_REGEX_VERSION.
40209         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40210         _POSIX_RAW_SOCKETS.
40212 2014-09-13  Allan McRae  <allan@archlinux.org>
40214         * po/ru.po: Update Russian translation from translation project.
40216 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40218         * locale/programs/locale.c (show_locale_vars): Inline local function
40219         into its sole call site.  Clean up some style nits.
40220         (print_item): New function, broken out of ...
40221         (show_info): ... local function here.  Clean up style nits.
40223         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40224         out of ...
40225         (set_class_defaults): ... local function set_default here.
40226         Define set_default as a macro locally to pass constant parameters.
40227         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40228         rather than a shared local.
40230         * stdlib/rpmatch.c (try): New function, broken out of ...
40231         (rpmatch): ... local function here.  Also, prototypify definition.
40233 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40235         * scripts/soversions.awk: Do not handle configuration names.
40236         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40237         vendor and os variables to soversions.awk.
40238         * configure.ac: Do not modify gnu-* host_os.
40239         * configure: Regenerated
40240         * shlib-versions: Remove first column with configuration names.
40241         * nptl/shlib-versions: Likewise.
40242         * nptl_db/shlib-versions: Likewise.
40243         * sysdeps/hppa/shlib-versions: Likewise.
40244         * sysdeps/m68k/shlib-versions: Likewise.
40245         * sysdeps/mach/hurd/shlib-versions: Likewise.
40246         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40247         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40248         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40249         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40250         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40251         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40252         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40253         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40255         Likewise.
40256         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40257         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40258         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40259         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40260         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40261         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40262         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40263         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40266         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40268         Regenerated.
40269         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40271         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40273         * shlib-versions: Remove OS-specific entries.  Moved to files in
40274         sysdeps.
40275         * sysdeps/mach/hurd/shlib-versions: New file.
40276         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40278         * nptl/shlib-versions: Remove architecture-specific entries.
40279         Moved to files in sysdeps.
40280         * shlib-versions: Likewise.
40281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40282         file.
40283         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40284         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40285         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40286         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40288         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40289         (UDP_NO_CHECK6_RX): Likewise.
40291 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40293         * sysdeps/posix/sysconf.c (__sysconf): Spell
40294         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40296 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40298         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40299         loading.
40300         * iconv/Versions (__gconv_transliterate): Export for use from
40301         gconv modules.
40302         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40303         (struct __gconv_trans_data, __gconv_trans_fct,
40304         __gconv_trans_context_fct, __gconv_trans_query_fct,
40305         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40306         definitions.
40307         (struct __gconv_step_data): Remove __trans member.
40308         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40309         longer hidden.  Remove unused trans_data argument.
40310         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40311         (__gconv_translit_find): Remove declaration.
40312         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40313         prototype.
40314         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40315         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40316         trans_data argument.  Add hidden definition.
40317         (__gconv_translit_find): Remove.
40318         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40319         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40320         * iconv/skeleton.c: Remove transliteration initialization.
40321         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40322         __gconv_step_data initialization.
40323         * libio/iofwide.c (__libio_translit_): Remove.
40324         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40325         * wcsmbs/btowc.c (__btowc): Likewise.
40326         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40327         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40328         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40329         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40330         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40331         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40332         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40333         * wcsmbs/wctob.c (wctob): Likewise.
40335 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40337         [BZ #16194]
40338         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40339         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40340         register usage.
40341         * sysdeps/x86/Makefile: Adjust.
40343 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40344             Roland McGrath  <roland@hack.frob.com>
40346         * locale/weight.h: Add include guard.
40347         (findidx): Make static rather than auto; take new parameters
40348         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40349         * locale/weightwc.h: Likewise.
40350         * posix/fnmatch_loop.c
40351         (FCT): Change type of EXTRA from int32_t to wint_t.
40352         Don't include either header inside the function.
40353         Call FINDIDX rather than findidx, and pass new arguments.
40354         #undef FINDIDX at the end of the file.
40355         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40356         FINDIDX before including fnmatch_loop.c for the non-wide version.
40357         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40358         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40359         for the wide version.
40360         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40361         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40362         Pass new arguments to findidx.
40363         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40364         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40365         Don't #include it inside the function.  Pass new arguments to findidx.
40366         * posix/regex_internal.h
40367         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40368         (re_string_elem_size_at): Don't #include it inside the function.
40369         Pass new arguments to findidx.
40370         * string/strcoll_l.c: #include WEIGHT_H at top level.
40371         (get_next_seq): Don't #include it inside the function.
40372         Pass new arguments to findidx.
40373         (get_next_seq_nocache): Likewise.
40374         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40375         (STRXFRM): Don't #include it inside the function.
40376         Pass new arguments to findidx.
40378 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40380         [BZ #17344]
40381         * malloc/malloc.c (unlink): Turn asserts into a call to
40382         malloc_printerr.
40384 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40386         [BZ #17370]
40387         * libio/wfileops (do_ftell_wide): Free OUT.
40389 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40391         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40393 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40395         [BZ #17363]
40396         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40397         group if the current group is empty.
40399 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40401         * benchtests/bench-memset.c (test_main): Add more test from size
40402         from 32 to 512 bytes.
40403         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40404         Add POWER8 memset object.
40405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40406         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40407         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40408         implementation.
40409         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40410         Likewise.
40411         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40412         multiarch POWER8 memset optimization.
40413         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40414         POWER8 memset optimization.
40416         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40417         Remove bzero multiarch objects.
40418         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40421         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40422         Remove define.
40423         [__bzero]: Redefine to specific name.
40424         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40425         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40426         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40427         define.
40428         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40429         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40431 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40433         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40434         warnings into errors.
40436         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40437         __cxa_thread_atexit_impl prototype.
40439 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40441         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40442         Fix capitalization of error message.
40444 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40446         * sysdeps/mips/preconfigure: Modify ABI tests.
40448 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40450         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40452 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40453             Carlos O'Donell  <carlos@systemhalted.org>
40455         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40456         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40457         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40458         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40459         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40460         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40461         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40462         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40463         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40464         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40465         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40466         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40467         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40468         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40469         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40470         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40471         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40472         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40473         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40474         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40475         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40476         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40477         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40478         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40479         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40480         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40481         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40482         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40483         Deconditionalize the code that was previously under [RESET_PID].
40484         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40485         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40486         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40487         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40488         include sysdep.h.
40490 2014-09-08  Allan McRae  <allan@archlinux.org>
40492         * version.h (RELEASE): Set to "development".
40493         (VERSION): Set to "2.20.90"
40495 2014-09-07  Allan McRae  <allan@archlinux.org
40497         * version.h (RELEASE): Set to "stable".
40498         (VERSION): Set to "2.20"
40499         * include/features.h (__GLIBC_MINOR__): Set to 20.
40501         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40502         Liebler.
40504         * po/ko.po: Update Korean translation from translation project.
40506 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40508         [BZ #17354]
40509         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40510         macro for handling signed relocations.
40512 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40514         [BZ #17325]
40515         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40516         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40517         assert.
40518         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40519         * iconvdata/ibm935.c (BODY): Likewise.
40520         * iconvdata/ibm937.c (BODY): Likewise.
40521         * iconvdata/ibm939.c (BODY): Likewise.
40522         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40523         assert.
40524         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40525         script.
40526         * iconvdata/run-iconv-test.sh: New test loop for checking for
40527         decoder crashers.
40529 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40531         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40532         libm_hidden_ver.
40534 2014-09-01  Allan McRae  <allan@archlinux.org>
40536         * po/eo.po: Update Esperanto translation from translation project.
40538         * po/ca.po: Update Catalan translation from translation project.
40540 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40542         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40543         __proc_dostop call.
40545 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40547         [BZ #17319]
40548         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40549         to call set_thread_area instead of hand written asm.
40550         (__NR_set_thread_area): Removed define.
40551         (TLS_FLAG_WRITABLE): Likewise.
40552         (__ASSUME_SET_THREAD_AREA): Remove check.
40553         (TLS_EBX_ARG): Remove define.
40554         (TLS_LOAD_EBX): Likewise.
40556 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40558         Simplify atomicity of socket creation in bind.
40560         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40561         looking up the name after linking the file.
40563 2014-08-27  Allan McRae  <allan@archlinux.org>
40565         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40567 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40569         [BZ #17187]
40570         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40571         trans_compare, open_translit, __gconv_translit_find):
40572         Remove module loading code.
40574 2014-08-26  Allan McRae  <allan@archlinux.org>
40576         * po/vi.po: Update Vietnamese translation from translation project.
40578         * po/uk.po: Update Ukrainian translation from translation project.
40580         * po/fr.po: Update French translation from translation project.
40582         * po/ru.po: Update Russian translation from translation project.
40584         * po/pl.po: Update Polish translation from translation project.
40586         * po/cs.po: Update Czech translation from translation project.
40588         * po/de.po: Update German translation from translation project.
40590         * po/bg.po: Update Bulgarian translation from translation project.
40592         * po/sv.po: Update Sweedish translation from translation project.
40594         * po/nl.po: Update Dutch translation from translation project.
40596         * po/es.po: Update Spanish translation from translation project.
40598 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40600         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40602         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40603         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40604         (CPPFLAGS-iconvconfig): Likewise.
40605         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40607         * include/libc-symbols.h: Remove unnecessary check for
40608         NOT_IN_libc.
40609         * nptl/pthreadP.h: Likewise.
40610         * sysdeps/aarch64/setjmp.S: Likewise.
40611         * sysdeps/alpha/setjmp.S: Likewise.
40612         * sysdeps/arm/sysdep.h: Likewise.
40613         * sysdeps/i386/setjmp.S: Likewise.
40614         * sysdeps/m68k/setjmp.c: Likewise.
40615         * sysdeps/posix/getcwd.c: Likewise.
40616         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40617         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40618         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40619         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40620         * sysdeps/sh/sh3/setjmp.S: Likewise.
40621         * sysdeps/sh/sh4/setjmp.S: Likewise.
40622         * sysdeps/unix/alpha/sysdep.h: Likewise.
40623         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40625         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40626         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40631         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40632         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40633         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40634         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40636         * sysdeps/x86_64/setjmp.S: Likewise.
40638 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40640         [BZ #17263]
40641         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40642         <stdint.h>.
40643         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40644         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40646 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40648         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40650         [BZ #17262]
40651         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40652         and __x86_64__ when disabling x87 inline functions.
40654 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40656         [BZ #17259]
40657         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40658         asm statement with __cpuid_count.
40660 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40662         * configure.ac: Change __ehdr_start code to dereference the struct.
40663         Run readelf on the output to look for relocations.
40664         * configure: Regenerated.
40666 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40668         [BZ #17261]
40669         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40670         value to 0.
40671         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40673 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40675         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40677 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40679         [BZ #16892]
40680         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40681         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40683 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40685         * malloc/malloc.c: Fix typo in comment.
40687 2014-08-09  Allan McRae  <allan@archlinux.org>
40689         * Regenerate libc.po.
40691 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40693         * intl/tst-gettext2.sh: Check every lang file for creation.
40695 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40697         * sysdeps/aarch64/fpu/math_private.h
40698         (libc_feholdsetround_noex_aarch64_ctx): New function.
40700 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40702         * sysdeps/arm/armv6/strcpy.S (strcpy):
40703         Fix performance issue in misaligned cases.
40705 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40707         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40708         Move definition from termios.h.
40709         (struct termio): Likewise.
40710         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40711         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40712         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40713         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40714         Likewise.
40715         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40716         Move definition to ioctl-types.h
40717         (struct termio): Likewise.
40718         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40719         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40720         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40721         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40722         Likewise.
40724 2014-08-05  Richard Henderson  <rth@redhat.com>
40726         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40727         exceptions.
40728         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40729         Add fraiseexcpt.
40730         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40731         Use __feraiseexcept.
40732         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40733         Protect libm symbols with IS_IN_libm.
40735         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40737 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40739         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40741 2014-08-04  Will Newton  <will.newton@linaro.org>
40743         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40744         file.
40746 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40748         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40749         variants for each function.
40751 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40753         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40754         appended ...
40755         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40756         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40757         appended ...
40758         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40759         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40760         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40761         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40762         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40763         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40764         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40765         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40766         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40767         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40768         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40769         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40770         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40771         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40772         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40774         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40775         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40776         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40777         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40778         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40779         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40781         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40782         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40783         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40784         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40785         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40786         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40787         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40788         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40789         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40790         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40791         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40792         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40793         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40794         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40795         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40796         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40797         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40798         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40800         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40801         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40802         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40804         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40805         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40806         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40808         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40809         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40810         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40811         Update #include.
40812         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40813         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40815 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40817         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40818         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40819         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40820         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40821         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40822         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40824 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40826         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40827         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40828         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40829         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40831 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40833         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40834         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40835         (__libc_vfork): Define function under this name.
40836         (__vfork): Define as an alias.
40837         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40838         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40840 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40842         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40843         that was previously under [RESET_PID].
40844         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40846 2014-08-04  Andreas Schwab  <schwab@suse.de>
40848         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40850 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40852         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40853         (main): Likewise.
40855 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40857         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40859 2014-08-01  Richard Henderon  <rth@redhat.com>
40861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40862         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40863         typo in exact zero test.
40864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40865         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40868 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40870         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40871         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40872         * sysdeps/arm/sysdep.h: ... here.
40873         [!__ASSEMBLER__]: Include <stdint.h>.
40875 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40877         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40878         (HAVE_WCTYPE_H): Likewise.
40879         (HAVE_ISWCTYPE): Likewise.
40880         (ENABLE_NLS): Likewise.
40881         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40882         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40884         * posix/regex_internal.c: Check if DEBUG is defined and is
40885         set.
40887         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40888         (HAVE_MBSRTOWCS): Likewise.
40889         * posix/fnmatch.c: Include string.h unconditionally.
40891 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40893         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40894         reversal.
40896 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40898         * sysdeps/generic/safe-fatal.h: New file.
40899         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40900         * nptl/forward.c: Include it.
40901         (__pthread_unwind): Use __safe_fatal as default action, rather
40902         than a bogus use of INTERNAL_SYSCALL that could never work.
40904         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40905         * configure.ac (libc_cv_builtin_trap): New test.
40906         * configure: Regenerated.
40907         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40908         (ABORT_INSTRUCTION): Define using __builtin_trap.
40910         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40911         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40912         * sysdeps/nptl/nptl-signals.h: New file.
40913         * nptl/pthreadP.h: Include <nptl-signals.h>.
40915 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40917         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40918         (ONE_DIRECTION): Define.
40919         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40920         (ONE_DIRECTION): Define.
40921         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40922         (ONE_DIRECTION): Define.
40924 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40926         * sysdeps/s390/Makefile: Delete file.
40927         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40928         * sysdeps/s390/__longjmp.c: Delete file.
40929         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40930         Remove fields __flags and __reserved.
40931         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40932         and add versioning.
40933         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40934         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40935         * sysdeps/s390/rtld-setjmp.S: Likewise.
40936         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40937         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40938         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40939         * sysdeps/s390/s390-32/setjmp.S: ... here.
40940         Add versioning.
40941         (__sigsetjmp): Remove setting __flags field.
40942         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40943         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40944         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40945         * sysdeps/s390/s390-64/setjmp.S: ... here.
40946         Add versioning.
40947         (__sigsetjmp): Remove setting __flags field.
40948         * sysdeps/s390/setjmp.S: Delete file.
40949         * sysdeps/s390/sigjmp.c: Likewise.
40950         * sysdeps/s390/v1-longjmp.c: Likewise.
40951         * sysdeps/s390/v1-setjmp.h: Likewise.
40952         * sysdeps/s390/v1-sigjmp.c: Likewise.
40953         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40954         Remove v1-longjmp_chk.
40955         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40956         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40957         Include debug/longjmp_chk.c and add versioning.
40958         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40959         Include nptl/pt-longjmp.c and add versioning.
40960         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40961         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40962         Include __longjmp.c.
40963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40964         Move to ...
40965         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40966         (__getcontext): Remove setting __flags field.
40967         Add versioning.
40968         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40969         Don't restore upper high grps.
40970         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40971         Likewise.
40972         (__swapcontext): Remove setting uc_flags field.
40973         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40974         Delete file.
40975         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40976         Include __longjmp.c.
40977         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40978         Move to ...
40979         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40980         (__getcontext): Remove setting __flags field.
40981         Add versioning.
40982         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40983         (__swapcontext): Remove setting uc_flags field.
40984         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40985         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40986         Remove fields uc_high_gprs and __reserved.
40987         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40988         New file with reverted content.
40989         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40990         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40991         Regenerated.
40992         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40993         Regenerated.
40995 2014-07-31  Andreas Schwab  <schwab@suse.de>
40997         * config.h.in (HAVE_IFUNC): Define to 0.
40998         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40999         definedness.
41001 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41004         memmove-avx-unaligned, memcpy-avx-unaligned and
41005         mempcpy-avx-unaligned.
41006         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41007         Add tests for AVX memcpy functions.
41008         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41009         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41010         memcpy_chk.
41011         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41012         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41013         memmove_chk.
41014         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41016         mempcpy_chk.
41017         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41018         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41021 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41023         [BZ #17213]
41024         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41025         powerpc64le.
41027 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41029         [BZ #16839]
41030         * manual/llio.texi: Add section about open file description locks.
41031         * manual/examples/ofdlocks.c: Example of open file description
41032         lock usage.
41033         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41034         F_OFD_SETLK, and F_OFD_SETLKW.
41036 2014-07-23  Allan McRae  <allan@archlinux.org>
41038         * po/es.po: Update Spanish translation from translation project.
41040 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41042         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41044 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41046         [BZ #17078]
41047         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41048         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41049         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41051 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41053         [BZ #17088]
41054         * math/fesetenv.c (__fesetenv)
41055         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41056         * math/feupdateenv.c (__feupdateenv)
41057         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41059         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41061         (__ASSUME_SOCKETCALL): Do not define.
41063         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41064         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41065         (__ASSUME_SOCKETCALL): Do not define.
41066         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41067         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41068         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41069         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41071         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41072         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41073         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41075         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41076         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41077         (__ASSUME_SOCKETCALL): Do not define.
41078         (__ASSUME_IPC64): Define unconditionally.
41079         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41080         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41081         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41082         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41083         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41084         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41085         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41086         Likewise.
41088         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41089         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41090         (__ASSUME_SOCKETCALL): Do not define.
41091         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41092         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41093         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41094         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41095         (__ASSUME_REQUEUE_PI): Define unconditionally.
41096         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41097         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41098         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41099         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41100         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41101         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41103         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41104         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41105         (__ASSUME_SOCKETCALL): Do not define.
41106         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41107         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41108         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41109         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41111         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41113         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41114         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41115         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41116         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41117         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41118         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41119         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41120         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41121         (__ASSUME_GETCPU_SYSCALL): Likewise.
41123         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41124         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41125         cases for individual architectures.
41126         * sysdeps/gnu/configure: Regenerated.
41127         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41128         LIBC_SLIBDIR_RTLDDIR.
41129         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41130         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41131         LIBC_SLIBDIR_RTLDDIR.
41132         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41134         LIBC_SLIBDIR_RTLDDIR.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41136         Regenerated.
41137         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41138         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41139         file.
41140         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41141         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41142         file.
41143         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41144         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41145         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41146         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41148         * sysdeps/aarch64/shlib-versions: Move to ...
41149         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41150         * sysdeps/alpha/shlib-versions: Move to ...
41151         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41152         * sysdeps/arm/shlib-versions: Move to ...
41153         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41154         * sysdeps/hppa/shlib-versions: Move all contents except for
41155         libgcc_s entry to ...
41156         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41157         entry from ...
41158         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41159         * sysdeps/ia64/shlib-versions: Move to ...
41160         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41161         entry from ...
41162         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41163         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41164         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41165         * sysdeps/microblaze/shlib-versions: Move to ...
41166         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41167         * sysdeps/mips/shlib-versions: Move to ...
41168         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41169         entry from ...
41170         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41171         * sysdeps/tile/shlib-versions: Move to ...
41172         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41173         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41174         from ...
41175         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41176         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41177         entry from ...
41178         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41180 2014-07-17  Will Newton  <will.newton@linaro.org>
41182         * sysdeps/arm/bits/atomic.h
41183         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41184         (__arch_compare_and_exchange_bool_16_int): Likewise.
41185         (__arch_compare_and_exchange_bool_64_int): Likewise.
41187         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41188         into an #else block.
41190 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41192         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41193         just Linux configurations.  Test empirically that the compiler sets
41194         __ARM_EABI__, rather than using the tuple to decide.
41195         * sysdeps/arm/preconfigure: Regenerated.
41196         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41197         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41198         contents appended ...
41199         * sysdeps/arm/configure.ac: ... here.
41200         * sysdeps/arm/configure: Regenerated.
41202 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41204         * nptl/pthread_kill.c: New file.
41205         * nptl/pthread_sigmask.c: New file.
41206         * nptl/pthread_sigqueue.c: New file.
41208         * sysdeps/nptl/lowlevellock.h: New file.
41209         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41210         * sysdeps/nptl/lowlevellock-futex.h: New file.
41212         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41213         Remove dead declarations.
41215 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41217         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41218         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41219         config-cflags-avx2.
41220         * sysdeps/x86_64/configure.ac: Likewise.
41221         * sysdeps/i386/configure: Regenerated.
41222         * sysdeps/x86_64/configure: Likewise.
41223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41224         memset-avx2 only if config-cflags-avx2 is yes.
41225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41226         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41227         defined.
41228         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41229         only if HAVE_AVX2_SUPPORT is defined.
41230         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41232 2014-07-14  Alan Modra  <amodra@gmail.com>
41234         [BZ #17153]
41235         * elf/elf.h (DT_PPC64_NUM): Correct value.
41236         * NEWS: Add to fixed bug list.
41238 2014-07-13  Jim Meyering  <meyering@fb.com>
41240         [BZ 17150]
41241         regex: don't deref NULL upon heap allocation failure
41242         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41243         failure in one more place.
41244         To trigger the segfault, configure grep -with-included-regex,
41245         build it, and run these commands:
41246         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41248 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41250         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41252 2014-07-11  Richard Henderson  <rth@redhat.com>
41254         * sysdeps/aarch64/libm-test-ulps: Update.
41256 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41258         [BZ #17135]
41259         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41260         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41261         (__nptl_setxid): Initialize error member.  Call
41262         __nptl_setxid_error.
41263         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41264         * nptl/descr.h (struct xid_command): Add error member.
41265         * nptl/tst-setuid3.c: New file.
41266         * nptl/Makefile (tests): Add it.
41268 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41270         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41271         New define.
41272         (__lll_trylock): Use __lll_base_trylock.
41273         (__lll_cond_trylock): Likewise.
41275 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41277         * nptl/pthread_create.c (start_thread): Use atomic_or and
41278         lll_futex_wake directly rather than lll_robust_dead.
41279         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41280         (lll_robust_dead): Macro removed.
41281         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41282         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41283         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41285         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41286         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41287         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41288         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41289         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41291         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41292         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41294         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41297         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41298         Use atomic_compare_and_exchange_val_acq directly rather than
41299         lll_robust_trylock.
41300         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41301         (__lll_robust_trylock, lll_robust_trylock): Removed.
41302         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41303         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41304         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41305         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41306         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41307         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41308         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41309         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41310         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41311         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41312         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41313         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41314         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41315         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41317 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41319         * manual/locale.texi (Locale Names): New section documenting
41320         locale name syntax.  Adjust menu and node chaining accordingly.
41321         (Choosing Locale): Reference Locale Names, Locale Categories.
41322         Mention setting LC_ALL=C.  Reflect that name syntax is now
41323         documented.
41324         (Locale Categories): New section title.  Reference Locale Names.
41325         LC_ALL is an environment variable, but not a category.
41326         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41327         description, now in Locale Name.  Reference that section.  Locale
41328         name syntax is now documented.
41330 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41332         [BZ #17137]
41333         * locale/findlocale.c (name_present, valid_locale_name): New
41334         functions.
41335         (_nl_find_locale): Use the loc_name variable to store name
41336         candidates.  Call name_present and valid_locale_name to check and
41337         validate locale names.  Return an error if the locale is invalid.
41339 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41341         * locale/setlocale.c (setlocale): Use strdup for allocating
41342         composite name copy.
41344 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41346         Sync up with gnulib.
41347         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41348         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41349         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41350         and _GL_ARG_NONNULL.
41351         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41352         [!_LIBC]: Include code for Windows and Cygwin.
41353         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41354         Include prototype for int strerror_r.
41355         [!_LIBC] (is_open): New function.
41356         (flush_stdout): New function.
41357         (print_errno_message): Use it.
41358         (error): Likewise.
41359         (error_at_line): Likewise.
41360         (error_tail) Add function attribute macros.  Use
41361         __builtin_expect.
41363         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41365         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41367         * io/ftw.c: Include sys/param.h unconditionally.
41369         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41371         [BZ #17125]
41372         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41373         libc_freeres_ptr.
41374         (freecache): New function to free CACHE on exit.
41376         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41377         initialization.
41379 2014-07-09  David S. Miller  <davem@davemloft.net>
41381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41383         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41384         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41385         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41386         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41387         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41388         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41389         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41390         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41391         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41392         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41393         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41394         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41395         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41397 2014-07-09  Andreas Schwab  <schwab@suse.de>
41399         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41400         output.
41401         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41402         (do_test): Likewise.
41404         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41406 2014-07-09  Will Newton  <will.newton@linaro.org>
41408         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41409         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41410         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41411         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41412         * sysdeps/hppa/start.S (_start): Likewise.
41414 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41416         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41418         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41419         defined.
41421 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41423         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41424         after checking that it is non-NULL.
41426         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41428 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41430         * sysdeps/powerpc/memmove.c: Remove file.
41431         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41432         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41433         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41434         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41435         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41436         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41437         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41438         string memmove instead of removed powerpc one.
41440         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41441         [weak_alias]: Fix compiler warning due trailing data.
41442         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41443         [weak_alias]: Likewise.
41444         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41445         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41448         (__libc_ifunc_impl_list): Add memmove functions.
41450 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41452         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41453         Remove code.
41454         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41455         Likewise.
41456         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41457         Likewise.
41458         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41459         Likewise.
41460         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41461         Likewise.
41462         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41463         Likewise.
41464         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41465         Likewise.
41466         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41467         Likewise.
41468         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41469         Likewise.
41470         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41471         Likewise.
41472         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41473         Likewise.
41474         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41475         Likewise.
41476         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41477         Likewise.
41478         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41479         Likewise.
41480         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41481         Likewise.
41482         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41483         Likewise.
41484         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41485         Likewise.
41487 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41489         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41490         to avoid alignment traps in non-cacheable memory.
41491         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41493         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41494         multiarch objects.
41495         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41496         file: multiarch power7 memmove.
41497         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41498         multiarch default memmove.
41499         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41500         multiarch memove for powerpc32/power4.
41502         * string/bcopy.c: Use full path to include memmove.c.
41503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41504         multiarch objects.
41505         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41506         bcopy for powerpc64.
41507         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41508         bcopy for powerpc64.
41509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41510         and memmove implementations.
41511         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41512         optimized multiarch memmove for POWER7/powerpc64.
41513         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41514         default multiarch memmove for powerpc64.
41515         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41516         multiarch for powerpc64.
41517         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41518         for POWER7/powerpc64.
41519         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41520         memmove for POWER7/powerpc64.
41522         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41523         glibc default one.
41525         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41526         __ELF_NATIVE_CLASS equal to 64.
41528 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41530         * sysdeps/nptl/lowlevellock.h: File removed.
41532         * NEWS: NPTL is no longer an add-on!
41533         * nptl/internaltypes.h: Moved ...
41534         * sysdeps/nptl/internaltypes.h: ... here.
41535         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41536         * sysdeps/nptl/fork.c: Likewise.
41537         * sysdeps/nptl/gai_misc.h: Likewise.
41538         * sysdeps/nptl/librt-cancellation.c: Likewise.
41539         * sysdeps/nptl/jmp-unwind.c: Likewise.
41540         * sysdeps/nptl/setxid.h: Likewise.
41541         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41542         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41543         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41544         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41545         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41546         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41547         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41548         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41549         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41550         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41551         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41552         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41553         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41554         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41555         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41556         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41557         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41558         * nptl/Makeconfig: Moved ...
41559         * sysdeps/nptl/Makeconfig: ... here.
41560         * nptl/configure: File removed.
41561         * nptl/ANNOUNCE: File removed.
41562         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41563         * sysdeps/unix/sysv/linux/configure: Regenerated.
41565         * nptl/Makefile (routines): Add libc_pthread_init,
41566         libc_multiple_threads, register-atfork and unregister-atfork.
41567         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41568         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41569         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41570         pthread-pi-defines.sym, structsem.sym.
41571         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41572         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41573         [$(subdir) = nptl] (tests): Add tst-setgetname.
41574         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41575         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41576         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41577         [!LIBC_SIGACTION]: Remove aliases.
41578         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41579         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41580         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41581         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41582         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41583         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41586         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41587         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41588         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41589         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41590         __libc_allocate_rtsig_private.
41591         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41592         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41593         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41594         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41595         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41596         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41597         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41598         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41599         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41600         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41601         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41602         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41603         * nptl/internaltypes.h: ... here.
41604         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41605         * sysdeps/nptl/jmp-unwind.c: ... here.
41606         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41607         * nptl/libc-lowlevellock.c: ... here.
41608         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41609         * nptl/libc_multiple_threads.c: ... here.
41610         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41611         * nptl/libc_pthread_init.c: ... here.
41612         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41613         * nptl/lowlevelbarrier.sym: ... here.
41614         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41615         * nptl/lowlevelcond.sym: ... here.
41616         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41617         * nptl/lowlevellock.c: ... here.
41618         * nptl/lowlevellock.h: Moved ...
41619         * sysdeps/nptl/lowlevellock.h: ... here.
41620         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41621         * nptl/lowlevelrobustlock.c: ... here.
41622         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41623         * nptl/lowlevelrobustlock.sym: ... here.
41624         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41625         * nptl/lowlevelrwlock.sym: ... here.
41626         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41627         * nptl/pt-fork.c: ... here.
41628         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41629         * nptl/pthread-pi-defines.sym: ... here.
41630         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41631         * nptl/pthread_attr_getaffinity.c: ... here.
41632         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41633         * nptl/pthread_attr_setaffinity.c: ... here.
41634         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41635         * nptl/pthread_mutex_cond_lock.c: ... here.
41636         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41637         Update #include.
41638         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41639         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41640         * nptl/pthread_once.c: ... here, replacing old file.
41641         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41642         * nptl/pthread_yield.c: ... here.
41643         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41644         * nptl/register-atfork.c: ... here.
41645         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41646         * nptl/sem_post.c: ... here.
41647         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41648         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41649         * nptl/sem_timedwait.c: ... here.
41650         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41651         * nptl/sem_trywait.c: ... here.
41652         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41653         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41654         * nptl/sem_wait.c: ... here.
41655         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41656         * nptl/structsem.sym: ... here.
41657         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41658         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41659         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41660         * nptl/unregister-atfork.c: ... here.
41661         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41662         * nptl/unwindbuf.sym: ... here.
41663         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41664         * sysdeps/nptl/fork.c: ... here.
41665         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41666         * sysdeps/nptl/fork.h: ... here.
41667         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41668         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41669         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41670         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41671         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41672         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41673         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41674         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41675         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41676         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41677         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41678         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41679         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41680         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41681         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41683         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41684         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41685         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41687         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41688         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41689         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41690         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41691         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41692         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41693         * sysdeps/unix/sysv/linux/raise.c: ... here.
41694         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41695         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41696         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41697         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41698         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41699         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41700         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41701         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41702         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41703         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41704         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41705         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41706         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41707         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41708         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41710 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41712         * sysdeps/generic/memcopy.h: Add comment for
41713         MEMCPY_OK_FOR_FWD_MEMMOVE.
41715 2014-07-04  Will Newton  <will.newton@linaro.org>
41717         * string/memchr.c: Merge from gnulib.
41718         [_LIBC]: Remove conditionals.
41719         (__ptr_t): Remove define.
41720         (LONG_MAX_32_BITS): Likewise.
41721         (LONG_MAX): Likewise.
41722         (MEMCHR): Use ANSI prototype and optimize algorithm.
41724         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41726 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41728         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41729         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41731         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41732         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41733         in a bare environment with no <stdlib.h> installed.
41734         * sysdeps/nptl/configure: Regenerated.
41736         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41738         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41739         AC_EGREP_CPP for kernel header checks, so they only succeed if
41740         including <linux/version.h> actually works right.
41741         * sysdeps/unix/sysv/linux/configure: Regenerated.
41743         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41744         value so it's not diagnosed as unused.
41746         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41747         thing) with "ifeq ($(subdir),rt)".
41749 2014-07-03  Richard Henderson  <rth@redhat.com>
41751         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41752         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41753         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41755         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41756         (math_force_eval): New.
41758         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41759         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41761         * sysdeps/alpha/fpu/s_round.c: Remove file.
41762         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41764         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41765         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41766         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41767         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41768         (_dl_start, print_statistics): Likewise.
41769         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41770         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41772         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41773         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41774         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41775         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41776         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41777         (HP_SMALL_TIMING_AVAIL): Define.
41778         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41779         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41780         (HP_SMALL_TIMING_AVAIL): Define.
41781         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41782         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41784         * sysdeps/aarch64/hp-timing.h: New file.
41786         * sysdeps/generic/hp-timing.h: Remove dead comment.
41787         * sysdeps/generic/hp-timing-common.h: New file.
41788         * sysdeps/alpha/hp-timing.h: Include it.
41789         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41790         * sysdeps/i386/i686/hp-timing.h: Likewise.
41791         * sysdeps/ia64/hp-timing.h: Likewise.
41792         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41793         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41794         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41795         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41796         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41797         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41798         (hp_timing_t): New.
41800         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41801         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41802         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41803         * elf/rtld.c (_dl_start_final): Likewise.
41804         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41805         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41806         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41807         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41808         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41810         (HP_TIMING_DIFF_INIT): Remove.
41811         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41812         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41813         (HP_TIMING_DIFF_INIT): Remove.
41814         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41815         * sysdeps/i386/i686/hp-timing.c: Remove file.
41816         * sysdeps/x86_64/hp-timing.c: Remove file.
41817         * sysdeps/ia64/hp-timing.c: Remove file.
41818         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41819         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41820         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41821         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41823         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41824         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41825         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41826         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41828         (HP_TIMING_ACCUM): Remove.
41829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41831         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41833         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41834         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41835         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41836         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41838         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41839         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41840         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41842         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41844 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41846         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41848 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41850         Sync up with gettext.
41851         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41852         [_MSC_VER]: Include malloc.h
41853         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41854         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41855         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41856         TEMP_FAILURE_RETRY.  Cast return of alloca.
41857         [!_LIBC] Call gl_rwlock_init.
41858         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41860 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41862         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41863         before checking its value.
41865 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41867         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41869         * debug/memcpy_chk.c: Don't include pagecopy.h.
41870         * debug/mempcpy_chk.c: Likewise.
41871         * string/memcpy.c: Likewise.
41872         * string/memmove.c: Likewise.
41873         * sysdeps/powerpc/memmove.c: Likewise.
41874         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41875         definition of PAGE_COPY_FWD_MAYBE here...
41876         * sysdeps/generic/pagecopy.h: ... from here.
41877         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41879 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41880             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41882         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41884         optimizations.
41885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41886         (__libc_ifunc_impl_list): Likewise.
41887         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41888         multiarch strcat for PPC64.
41889         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41890         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41892 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41894         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41896 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41898         * intl/loadmsgcat.c: Remove declaration of
41899         get_sysdep_segment_value.
41900         (get_sysdep_segment_value): Use ISO C style.
41901         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41902         semicolon.  Fix typo and formatting in comment.
41903         (_nl_unload_domain): Use ISO C style.
41905         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41907 2014-07-02  Will Newton  <will.newton@linaro.org>
41909         * malloc/obstack.c: Merge from gnulib master.
41910         [HAVE_CONFIG_H]: Remove conditional code.
41911         [!_LIBC]: Include config.h.
41912         [!ELIDE_CODE]: Don't include inttypes.h, include
41913         stdint.h unconditionally.
41914         (print_and_abort): Mark as _Noreturn.
41915         (_obstack_allocated_p): Mark as __attribute_pure__.
41916         (obstack_free): Rename to __obstack_free.
41917         [!__attribute__]: Remove conditional code.
41918         * malloc/obstack.h: Merge from gnulib master.
41919         [__cplusplus]: Move conditional down.
41920         [!__attribute_pure__]: Define __attribute_pure__ here
41921         if it is not already defined.
41922         (_obstack_memory_used): Mark as __attribute_pure__.
41923         [!__obstack_free]: Define as obstack_free.
41924         [__GNUC__]: Remove check for ancient NeXT gcc.
41926 2014-07-02  Will Newton  <will.newton@linaro.org>
41927             Paul Eggert  <eggert@cs.ucla.edu>
41929         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41931 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41933         * resolv/gethnamaddr.c: Add comment warning that the file is
41934         not maintained.
41936 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41938         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41939         entries.
41941         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41942         entry for aio_cancel and aio_cancel64.
41943         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41944         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41945         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41946         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41947         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41948         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41949         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41950         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41951         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41952         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41953         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41954         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41955         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41957 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41959         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41960         * nptl/pthread_mutex_lock.c: Likewise.
41961         * nptl/pthread_mutex_timedlock.c: Likewise.
41962         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41964 2014-07-01  Richard henderson  <rth@redhat.com>
41966         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41967         (__isnan, __isnanl): Remove.
41968         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41970         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41972 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41974         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41976 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41978         * resolv/nss_dns/dns-host.c (getanswer_r)
41979         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41981 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41984         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41985         undefine.
41986         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41987         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41989 2014-07-01  Roland McGrath <roland@hack.frob.com>
41991         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41992         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41994         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41995         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41997         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41998         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41999         ... here.
42000         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42001         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42003         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42004         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42005         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42006         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42008         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42009         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42010         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42011         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42012         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42013         Moved ...
42014         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42015         ... here.
42016         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42017         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42018         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42019         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42020         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42021         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42022         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42023         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42024         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42025         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42026         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42027         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42028         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42029         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42030         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42031         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42032         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42033         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42034         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42035         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42036         ... here.
42037         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42038         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42039         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42040         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42041         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42042         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42043         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42044         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42046 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42048         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42049         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42050         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42051         Add sysdep.
42053 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42057 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42059         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42060         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42062         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42064         * sysdeps/arm/libm-test-ulps: Regenerated.
42066 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42067             Roland McGrath <roland@hack.frob.com>
42069         * test-skeleton.c (signal_handler): Kill the whole process group
42070         before killing the child individually.
42071         (main): Report any failure on `setpgid'.
42073 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42075         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42076         from _TLS_H to _ARM_NPTL_TLS_H.
42077         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42078         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42080 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42082         [BZ #16539]
42083         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42084         (__expm1l): Return argument unchanged when small but not
42085         subnormal.
42087         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42088         include macro name.
42089         (_FP_UNPACK_RAW_1_P): Likewise.
42090         (_FP_PACK_RAW_1): Likewise.
42091         (_FP_PACK_RAW_1_P): Likewise.
42092         (_FP_MUL_MEAT_1_wide): Likewise.
42093         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42094         (_FP_MUL_MEAT_1_hard): Likewise.
42095         (_FP_DIV_MEAT_1_imm): Likewise.
42096         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42097         (_FP_DIV_MEAT_1_udiv): Likewise.
42098         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42099         (_FP_UNPACK_RAW_2): Likewise.
42100         (_FP_UNPACK_RAW_2_P): Likewise.
42101         (_FP_PACK_RAW_2): Likewise.
42102         (_FP_PACK_RAW_2_P): Likewise.
42103         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42104         (_FP_MUL_MEAT_2_wide): Likewise.
42105         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42106         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42107         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42108         (_FP_MUL_MEAT_2_gmp): Likewise.
42109         (_FP_DIV_MEAT_2_udiv): Likewise.
42110         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42111         (_FP_FRAC_SRL_4): Likewise.
42112         (_FP_FRAC_SRST_4): Likewise.
42113         (_FP_FRAC_SRS_4): Likewise.
42114         (_FP_UNPACK_RAW_4): Likewise.
42115         (_FP_UNPACK_RAW_4_P): Likewise.
42116         (_FP_PACK_RAW_4): Likewise.
42117         (_FP_PACK_RAW_4_P): Likewise.
42118         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42119         (_FP_MUL_MEAT_4_wide): Likewise.
42120         (_FP_MUL_MEAT_4_gmp): Likewise.
42121         (umul_ppppmnnn): Likewise.
42122         (_FP_DIV_MEAT_4_udiv): Likewise.
42123         (__FP_FRAC_ADD_4): Likewise.
42124         (__FP_FRAC_SUB_3): Likewise.
42125         (__FP_FRAC_SUB_4): Likewise.
42126         (__FP_FRAC_DEC_3): Likewise.
42127         (__FP_FRAC_DEC_4): Likewise.
42128         (__FP_FRAC_ADDI_4): Likewise.
42129         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42130         (_FP_FRAC_SRL_8): Likewise.
42131         (_FP_FRAC_SRS_8): Likewise.
42133         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42134         include macro name.
42135         (FP_UNPACK_RAW_EP): Likewise.
42136         (FP_PACK_RAW_E): Likewise.
42137         (FP_PACK_RAW_EP): Likewise.
42138         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42139         (_FP_ISSIGNAN): Likewise.
42140         (_FP_ADD_INTERNAL): Likewise.
42141         (_FP_FMA): Likewise.
42142         (_FP_CMP): Likewise.
42143         (_FP_SQRT): Likewise.
42144         (_FP_TO_INT): Likewise.
42145         (_FP_FROM_INT): Likewise.
42146         (FP_EXTEND): Likewise.
42147         (_FP_DIV_MEAT_N_loop): Likewise.
42149 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42151         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42152         throughout.
42154 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42156         [BZ #17097]
42157         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42158         result with correct sign in case of exponents that produce
42159         overflow except for X very close to 1.
42161 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42163         mktime: merge #if/#ifdef usage from glibc
42164         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42165         as that works with both Glibc's and Gnulib's style.
42166         See thread starting at Siddhesh Poyarekar's bug report at:
42167         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42169 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42171         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42172         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42173         * sysdeps/tile/tilegx/memmove.c: Remove file.
42175 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42177         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42178         abi-name definition.
42179         * scripts/soversions.awk: Do not handle or generate ABI lines.
42180         * shlib-versions: Remove ABI entries.
42181         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42182         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42184 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42186         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42187         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42188         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42189         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42190         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42191         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42193         Moved ...
42194         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42195         ... here.
42196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42197         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42199         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42200         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42201         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42203         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42205         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42207         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42209         Moved ...
42210         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42212         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42214         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42216         Moved ...
42217         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42219         Moved ...
42220         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42222         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42224         Moved ...
42225         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42227         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42229         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42231         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42233         Moved ...
42234         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42236         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42237         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42238         Moved ...
42239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42241         Moved ...
42242         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42243         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42244         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42245         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42246         Moved ...
42247         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42248         ... here.
42249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42250         Identical file removed.
42251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42252         Moved ...
42253         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42254         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42255         Identical file removed.
42256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42257         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42259         Moved ...
42260         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42262         Identical file removed.
42263         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42264         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42265         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42266         Identical file removed.
42267         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42268         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42270         Identical file removed.
42271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42272         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42273         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42274         Identical file removed.
42275         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42276         Moved ...
42277         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42278         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42279         Identical file removed.
42280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42281         Moved ...
42282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42284         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42286         Identical file removed.
42287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42288         Moved ...
42289         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42290         ... here.
42291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42292         Identical file removed.
42293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42294         Moved ...
42295         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42297         Identical file removed.
42298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42299         Moved ...
42300         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42302         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42304         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42306         Moved ...
42307         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42308         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42309         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42311         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42312         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42313         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42314         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42315         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42317 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42319         [BZ #17092]
42320         * nscd/nscd.c (monitor_child): Return exit status of child
42321         instead of return value from wait syscall.
42323 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42325         * configure.ac (libc_commonpagesize): Remove variable.
42326         (libc_relro_required): Likewise.
42327         (libc_cv_z_relro): Remove configure test.
42328         * configure: Regenerated.
42329         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42330         variable.
42331         (libc_relro_required): Likewise.
42332         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42333         (libc_relro_required): Likewise.
42334         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42335         (libc_relro_required): Likewise.
42336         * sysdeps/arm/preconfigure: Regenerated.
42337         * sysdeps/ia64/preconfigure: Remove file.
42338         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42339         variable.
42340         (libc_relro_required): Likewise.
42342         [BZ #16561]
42343         [BZ #16562]
42344         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42345         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42346         recompute overflowing results in original rounding mode.
42347         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42348         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42349         recompute overflowing results in original rounding mode.
42350         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42351         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42352         recompute overflowing results in original rounding mode.
42353         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42354         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42355         recompute overflowing results in original rounding mode.
42356         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42357         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42358         recompute overflowing results in original rounding mode.
42359         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42360         (libc_feholdsetround_ctx): New macro.
42361         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42362         * sysdeps/i386/fpu/libm-test-ulps: Update.
42363         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42365 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42367         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42368         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42369         corresponding .cpsetup call.
42371 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42373         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42374         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42375         * sysdeps/arm/Makefile [$(subdir) = csu]
42376         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42377         (static-only-routines): Add aeabi_read_tp here.
42378         (shared-only-routines): Add libc-aeabi_read_tp here.
42379         (CFLAGS-libc-start.c): Add -fexceptions here.
42380         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42381         (sysdep_routines, static-only-routines, shared-only-routines):
42382         Don't add to these here.
42383         (CFLAGS-libc-start.c): Likewise.
42385         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42386         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42387         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42388         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42389         * sysdeps/arm/Makefile [$(subdir) = rt]
42390         (librt-sysdep_routines, librt-shared-only-routines):
42391         Append rt-aeabi_unwind_cpp_pr1 here.
42392         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42393         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42394         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42395         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42396         Append nptl-aeabi_unwind_cpp_pr1 here.
42397         (tests): Filter out tst-cleanupx4 here.
42398         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42399         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42400         Don't do those here.
42402 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42404         * scripts/list-sources.sh: Do not handle ports specially.
42406 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42408         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42409         * sysdeps/arm/feupdateenv.c: Likewise.
42411         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42413 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42415         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42416         trailing whitespace removed.
42417         * scripts/config.guess: Update to version 2014-03-23.
42418         * scripts/config.sub: Update to version 2014-05-01
42419         * scripts/install-sh: Update to version 2013-12-25.23.
42420         * scripts/move-if-change: Update from gnulib.
42422 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42424         * debug/memmove_chk.c: Remove pagecopy.h include.
42426 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42428         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42429         identical to gnulib mktime.
42431 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42433         * configure.ac: Do not test for machine being rs6000.  Do not test
42434         for powerpc*-*soft.
42435         * configure: Regenerated.
42437         [BZ #11505]
42438         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42439         test.
42440         * configure: Regenerated.
42441         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42442         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42443         Remove configure test.
42444         * sysdeps/arm/configure: Regenerated.
42445         * sysdeps/nptl/configure.ac: Do not check
42446         libc_cv_asm_cfi_directives.
42447         * sysdeps/nptl/configure: Regenerated.
42448         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42449         * sysdeps/x86_64/nptl/configure: Remove generated file.
42450         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42451         unconditional.
42452         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42454 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42456         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42457         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42458         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42459         it is defined.
42461         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42462         instead of whether it is defined.
42463         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42464         * sysdeps/hppa/dl-machine.h: Likewise.
42465         * sysdeps/ia64/dl-machine.h: Likewise.
42466         * sysdeps/m68k/dl-machine.h: Likewise.
42467         * sysdeps/microblaze/dl-machine.h: Likewise.
42468         * sysdeps/mips/dl-machine.: Likewise.
42469         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42470         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42471         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42472         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42473         * sysdeps/sh/dl-machine.h: Likewise.
42474         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42475         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42476         * sysdeps/tile/dl-machine.h: Likewise.
42477         * sysdeps/x86_64/dl-machine.h: Likewise.
42479         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42480         code.
42481         (verify_persistent_db): Likewise.
42483 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42486         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42488         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42490         Moved ...
42491         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42492         ... here.
42493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42494         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42496         Identical file removed.
42497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42498         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42500         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42502         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42506         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42508         Moved ...
42509         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42511         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42513         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42515         Moved ...
42516         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42518         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42520         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42522         Identical file removed.
42523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42524         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42526         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42528         Moved ...
42529         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42530         ... here.
42531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42532         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42534         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42536         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42538         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42540         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42542         Moved ...
42543         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42545         Moved ...
42546         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42548         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42550         Moved ...
42551         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42553         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42555         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42556         folded into ...
42557         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42558         * sysdeps/unix/sysv/linux/s390/Versions
42559         (libpthread: GLIBC_2.19): New version set.
42560         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42561         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42562         (librt: GLIBC_2.3.3): New version set.
42563         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42564         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42565         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42566         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42567         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42568         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42569         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42570         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42571         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42572         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42573         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42574         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42575         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42576         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42577         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42578         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42579         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42580         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42581         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42582         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42583         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42584         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42585         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42586         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42587         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42588         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42589         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42591         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42593         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42594         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42596         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42597         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42598         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42599         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42600         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42601         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42603         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42605         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42607         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42609         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42610         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42611         (__libc_vfork): Define the function under this name.
42612         [!NOT_IN_libc] (__vfork): Make this an alias.
42613         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42615         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42616         (__libc_vfork): Define the function under this name.
42617         [!NOT_IN_libc] (__vfork): Make this an alias.
42618         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42619         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42620         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42622         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42623         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42625         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42626         code that was previously under [RESET_PID].
42627         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42628         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42631         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42632         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42633         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42634         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42635         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42636         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42637         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42638         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42639         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42640         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42641         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42642         Moved ...
42643         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42644         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42645         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42646         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42647         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42648         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42649         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42650         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42651         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42652         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42653         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42654         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42655         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42656         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42657         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42658         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42659         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42660         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42661         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42662         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42663         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42664         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42665         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42666         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42667         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42668         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42669         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42670         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42671         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42673 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42675         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42676         that was previously under [RESET_PID].
42677         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42679 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42681         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42682         not undefine and redefine.
42683         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42684         [O_CLOEXEC]: Make code unconditional.
42685         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42686         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42687         <kernel-features.h>.
42688         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42689         conditional variable definition.
42690         (shm_open) [O_CLOEXEC]: Make code unconditional.
42691         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42692         code.
42694         * configure.ac (USE_REGPARMS): Don't define here.
42695         * configure: Regenerated.
42696         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42697         * sysdeps/i386/configure: Regenerated.
42699         * nptl/createthread.c: Don't include kernel-features.h.
42700         * nptl/pthread_cancel.c: Likewise.
42701         * nptl/pthread_condattr_setclock.c: Likewise.
42702         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42703         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42704         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42705         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42706         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42708         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42711         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42712         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42713         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42714         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42715         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42716         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42717         * nscd/gai.c: Likewise.
42718         * nss/nss_db/db-open.c: Likewise.
42719         * sysdeps/generic/ldsodefs.h: Likewise.
42720         * sysdeps/sh/nptl/tls.h: Likewise.
42721         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42722         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42723         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42724         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42725         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42726         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42727         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42728         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42730         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42731         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42732         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42733         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42734         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42735         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42736         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42737         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42738         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42739         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42740         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42741         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42743         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42744         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42745         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42746         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42747         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42749         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42750         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42751         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42752         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42753         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42754         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42755         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42756         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42757         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42758         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42759         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42760         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42761         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42762         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42763         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42764         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42765         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42766         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42767         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42768         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42769         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42770         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42771         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42772         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42773         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42774         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42775         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42776         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42777         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42778         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42801         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42802         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42803         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42804         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42805         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42806         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42807         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42808         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42809         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42810         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42811         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42812         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42813         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42814         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42815         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42816         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42817         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42818         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42819         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42820         * sysdeps/unix/sysv/linux/system.c: Likewise.
42821         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42822         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42823         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42824         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42825         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42826         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42827         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42829         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42830         * configure: Regenerated.
42831         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42833         * configure.ac (base_machine): Do not set specially for particular
42834         machines here.
42835         * configure: Regenerated.
42836         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42837         settings from configure.ac.
42838         * sysdeps/i386/preconfigure: New file.
42839         * sysdeps/s390/preconfigure: Likewise.
42840         * sysdeps/sh/preconfigure: Likewise.
42841         * sysdeps/sparc/preconfigure: Likewise.
42843 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42845         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42846         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42847         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42848         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42849         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42850         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42851         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42852         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42853         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42854         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42855         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42856         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42857         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42858         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42859         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42860         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42862         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42863         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42865         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42866         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42867         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42868         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42869         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42870         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42871         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42872         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42873         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42874         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42875         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42876         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42877         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42878         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42879         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42880         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42881         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42882         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42883         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42884         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42886         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42887         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42888         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42889         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42890         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42892         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42893         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42895         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42896         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42898         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42900         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42902         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42905         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42907         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42909         Moved ...
42910         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42911         ... here.
42912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42913         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42915         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42917         Moved ...
42918         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42920         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42922         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42924         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42926         Moved ...
42927         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42929         Moved ...
42930         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42932         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42934         Moved ...
42935         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42937         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42939         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42941         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42943         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42945         Moved ...
42946         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42947         ... here.
42948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42949         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42951         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42953         Moved ...
42954         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42956         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42958         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42960         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42962         Moved ...
42963         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42965         Moved ...
42966         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42968         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42970         Moved ...
42971         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42973         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42975         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42977 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42979         * timezone/checktab.awk: Update from tzcode 2014e.
42980         * timezone/private.h: Likewise.
42981         * timezone/tzfile.h: Likewise.
42982         * timezone/zdump.c: Likewise.
42983         * timezone/zic.c: Likewise.
42985         * sysdeps/unix/sysv/linux/kernel-features.h
42986         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42987         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42988         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42989         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42990         Remove conditional code.
42992 2014-06-25  Will Newton  <will.newton@linaro.org>
42994         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42995         (_dl_arm_cap_flags): Add HWCAP2 values.
42996         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42997         (_DL_HWCAP_COUNT): Increase to 37.
42998         (_DL_HWCAP_LAST): New define.
42999         (_DL_HWCAP2_LAST): New define.
43000         (_dl_procinfo): Add support for printing
43001         AT_HWCAP2 entries.
43002         (_dl_string_hwcap): Use _dl_hwcap_string.
43004 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43008 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43010         * README: Do not mention ports directory.
43012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43013         Remove macro.
43014         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43015         <kernel-features.h>.
43016         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43017         conditional variable definition.
43018         (__futimes): Update comment.
43019         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43020         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43022         [BZ #16560]
43023         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43024         arguments close to 0.
43025         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43026         Likewise.
43027         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43028         Likewise.
43029         * math/auto-libm-test-in: Add more tests of exp10.
43030         * math/auto-libm-test-out: Regenerated.
43031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43033         * sysdeps/unix/sysv/linux/kernel-features.h
43034         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43035         * sysdeps/unix/sysv/linux/readv.c: Do not include
43036         <kernel-features.h>.
43037         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43038         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43039         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43040         unconditional.
43041         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43042         conditional code.
43043         * sysdeps/unix/sysv/linux/writev.c: Do not include
43044         <kernel-features.h>.
43045         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43046         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43047         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43048         unconditional.
43049         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43050         conditional code.
43052 2014-06-25  Will Newton  <will.newton@linaro.org>
43054         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43055         comment changes throughout the file.  Remove checks
43056         for HAVE_*_H definitions that are not required.
43057         (__gen_tempname): Call abort if an unknown kind value is
43058         passed.
43060 2014-06-25  Andreas Schwab  <schwab@suse.de>
43062         [BZ #17086]
43063         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43064         scalbln, scalblnf, scalblnl in libc.
43066 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43068         [BZ #17086]
43069         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43070         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43071         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43073 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43075         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43076         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43077         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43078         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43079         Update #include.
43080         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43081         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43082         Update #include.
43083         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43084         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43085         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43086         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43087         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43088         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43089         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43090         * sysdeps/x86/bits/semaphore.h: ... here.
43091         * sysdeps/x86/nptl/elide.h: Moved ...
43092         * sysdeps/x86/elide.h: ... here.
43093         * sysdeps/x86_64/nptl/Implies: File removed.
43094         * sysdeps/i386/nptl/Implies: File removed.
43096 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43098         [BZ #16539]
43099         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43100         return the argument for normal arguments with exponent below -64.
43101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43102         Likewise.
43103         * math/auto-libm-test-in: Add another test of expm1.
43104         * math/auto-libm-test-out: Regenerated.
43106         [BZ #16287]
43107         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43108         calling __erfcl for arguments at least 16.
43109         * math/auto-libm-test-in: Add more tests of erf.
43110         * math/auto-libm-test-out: Regenerated.
43112         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43113         individual architectures.
43114         * sysdeps/unix/sysv/linux/configure: Regenerated.
43115         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43116         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43117         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43118         (ldd_rewrite_script): Define variable.
43119         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43121         file.
43122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43123         generated file.
43124         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43125         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43126         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43127         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43128         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43129         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43130         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43131         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43133 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43135         [BZ #17084]
43136         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43137         Rename member __data.d to __data.__elision_data.
43139 2014-06-24  Wilco  <wdijkstr@arm.com>
43141         * NEWS: Add 16918 to fixed bug list.
43143 2014-06-24  Wilco  <wdijkstr@arm.com>
43145         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43147 2014-06-24  Wilco  <wdijkstr@arm.com>
43149         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43150         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43151         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43152         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43153         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43154         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43155         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43156         Use _FPU_MASK_RM.
43158 2014-06-24  Wilco  <wdijkstr@arm.com>
43160         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43162 2014-06-24  Wilco  <wdijkstr@arm.com>
43164         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43165         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43166         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43167         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43169 2014-06-24  Wilco  <wdijkstr@arm.com>
43171         [BZ #16918]
43172         * sysdeps/arm/feupdateenv.c (feupdateenv):
43173         Rewrite to reduce FPSCR accesses and fix return value.
43175 2014-06-24  Wilco  <wdijkstr@arm.com>
43177         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43178         Optimize to avoid unnecessary FPSCR writes.
43179         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43180         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43181         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43182         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43184 2014-06-24  Wilco  <wdijkstr@arm.com>
43186         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43187         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43188         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43189         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43190         Call libc_fetestexcept_vfp.
43191         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43192         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43193         __SOFTFP__ ifdef so that they can be built for softfp.
43195 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43197         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43198         argument type signed char.
43200         * Makerules (check-abi): Dump diff of symlist if the test
43201         fails.
43203 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43205         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43206         using abort.
43208         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43209         Remove unused variable ST.
43211 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43213         [BZ #16354]
43214         [BZ #17061]
43215         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43216         small arguments before calling __expm1.
43217         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43218         small arguments before calling __expm1f.
43219         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43220         small arguments before calling __expm1l.
43221         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43222         Likewise.
43223         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43224         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43225         spurious underflow for some cosh tests.
43226         * math/auto-libm-test-out: Regenerated.
43227         * sysdeps/i386/fpu/libm-test-ulps: Update.
43229         [BZ #17050]
43230         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43231         (__ieee754_y1): Set errno if return value overflows.
43232         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43233         (__ieee754_y1f): Set errno if return value overflows.
43234         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43235         (__ieee754_y1l): Set errno if return value overflows.
43236         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43237         (__ieee754_y1l): Set errno if return value overflows.
43238         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43239         * math/auto-libm-test-out: Regenerated.
43241         * math/gen-auto-libm-tests.c: Document use of
43242         ignore-zero-inf-sign.
43243         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43244         (input_flags): Add ignore-zero-inf-sign.
43245         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43246         * math/gen-libm-test.pl (generate_testfile): Handle
43247         ignore-zero-inf-sign.
43248         * math/auto-libm-test-in: Mark some cpow tests with
43249         ignore-zero-inf-sign and some with xfail-rounding.
43250         * math/auto-libm-test-out: Regenerated.
43251         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43252         * sysdeps/i386/fpu/libm-test-ulps: Update.
43253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43255         [BZ #16315]
43256         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43257         overflowing or underflowing operations take place with sign of
43258         result.
43259         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43260         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43261         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43262         (__ieee754_pow): Recompute overflowing and underflowing results in
43263         original rounding mode.
43264         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43265         (__powl_helper): Allow negative argument X and scale negated value
43266         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43267         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43268         overflowing or underflowing operations take place with sign of
43269         result.
43270         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43271         Include <math.h>.
43272         * math/auto-libm-test-in: Add more tests of pow.
43273         * math/auto-libm-test-out: Regenerated.
43274         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43275         (pow_tonearest_test_data): Remove.
43276         (pow_test_tonearest): Likewise.
43277         (pow_towardzero_test_data): Likewise.
43278         (pow_test_towardzero): Likewise.
43279         (pow_downward_test_data): Likewise.
43280         (pow_test_downward): Likewise.
43281         (pow_upward_test_data): Likewise.
43282         (pow_test_upward): Likewise.
43283         (main): Don't call removed functions.
43284         * sysdeps/i386/fpu/libm-test-ulps: Update.
43285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43287 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43290         Moved ...
43291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43293         Moved ...
43294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43296         Moved ...
43297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43299         Moved ...
43300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43302         File removed.
43303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43304         File removed.
43305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43306         File removed.
43307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43308         File removed.
43309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43310         File removed.
43311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43312         File removed.
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43314         File removed.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43316         File removed.
43317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43318         File removed.
43319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43320         File removed.
43321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43322         File removed.
43323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43324         File removed.
43325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43326         Moved ...
43327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43329         Moved ...
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43331         ... here.
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43333         Moved ...
43334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43336         Moved ...
43337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43339         Moved ...
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43342         Moved ...
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43345         Moved ...
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43348         Moved ...
43349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43351         Moved ...
43352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43355         ... here.
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43357         Moved ...
43358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43360         Moved ...
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43362         ... here.
43363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43364         Moved ...
43365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43366         ... here.
43367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43368         Moved ...
43369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43370         ... here.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43372         Moved ...
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43375         Moved ...
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43380         Moved ...
43381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43382         ... here.
43383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43384         Moved ...
43385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43386         ... here.
43387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43388         Moved ...
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43391         Moved ...
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43394         Moved ...
43395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43397         Moved ...
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43400         Moved ...
43401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43402         ... here.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43404         Moved ...
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43407         Moved ...
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43410         Moved ...
43411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43413         Moved ...
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43418         Moved ...
43419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43421         Moved ...
43422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43424         Moved ...
43425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43426         ... here.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43428         Moved ...
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43430         ... here.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43432         Moved ...
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43434         ... here.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43436         Moved ...
43437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43439         Moved ...
43440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43442         Moved ...
43443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43445         Moved ...
43446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43447         ... here.
43448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43449         Moved ...
43450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43451         ... here.
43452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43453         Moved ...
43454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43455         ... here.
43456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43457         Moved ...
43458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43460         Moved ...
43461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43463 2014-06-23  Will Newton  <will.newton@linaro.org>
43464             Wilco  <wdijkstr@arm.com>
43466         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43467         implementation.  Include get-rounding-mode.h.
43468         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43469         [!libc_feholdsetround_noex_ctx]: Define
43470         libc_feholdsetround_noex_ctx.
43471         [!libc_feholdsetround_noexf_ctx]: Define
43472         libc_feholdsetround_noexf_ctx.
43473         [!libc_feholdsetround_noexl_ctx]: Define
43474         libc_feholdsetround_noexl_ctx.
43475         (libc_feholdsetround_ctx): New function.
43476         (libc_feresetround_ctx): New function.
43477         (libc_feholdsetround_noex_ctx): New function.
43478         (libc_feresetround_noex_ctx): New function.
43480 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43482         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43483         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43484         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43485         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43486         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43487         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43489         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43490         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43491         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43492         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43493         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43494         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43496         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43498         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43500         Moved ...
43501         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43502         ... here.
43503         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43504         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43506         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43508         Moved ...
43509         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43511         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43512         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43513         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43515         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43517         Moved ...
43518         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43519         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43520         Moved ...
43521         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43523         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43525         Moved ...
43526         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43528         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43529         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43530         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43531         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43532         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43533         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43534         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43535         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43536         Moved ...
43537         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43538         ... here.
43539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43540         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43542         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43543         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43544         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43546         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43548         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43549         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43550         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43552         Moved ...
43553         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43555         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43556         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43557         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43559         Moved ...
43560         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43561         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43562         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43563         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43564         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43566         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43567         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43568         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43569         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43570         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43571         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43572         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43573         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43574         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43575         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43576         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43577         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43578         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43579         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43580         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43581         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43582         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43583         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43584         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43585         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43586         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43587         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43588         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43589         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43590         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43591         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43592         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43593         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43595 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43598         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43599         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43600         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43601         (IPV6_PMTUDISC_INTERFACE): Likewise.
43602         (IPV6_PMTUDISC_OMIT): Likewise.
43604 2014-06-23  Andreas Schwab  <schwab@suse.de>
43606         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43607         Remove unused errout label.
43609 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43611         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43612         macro: hardware supports Vector Crypto instructions.
43614 2014-06-23  Will Newton  <will.newton@linaro.org>
43616         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43617         rather than __builtin_expect.
43619         * elf/dl-lookup.c (undefined_msg): Remove variable.
43620         (_dl_lookup_symbol_x): Replace undefined_msg with string
43621         literal.
43623         * elf/dl-lookup.c (do_lookup_unique): New function.
43624         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43625         to a separate function.
43627 2014-06-23  Andreas Schwab  <schwab@suse.de>
43629         [BZ #17079]
43630         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43631         before reading the next line.
43633 2014-06-23  Will Newton  <will.newton@linaro.org>
43635         * test-skeleton.c (signal_handler): Use printf and %m
43636         rather than perror.  Use printf rather than fprintf to
43637         stderr.  Use puts rather than fputs to stderr.
43638         (main): Likewise.
43640 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43642         * nscd/nscd.c (thread_info_t): Remove typedef.
43643         (thread_info): Remove variable.
43645 2014-06-21  Allan McRae  <allan@archlinux.org>
43647         * NEWS: Mention CVE-2014-4043.
43649 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43651         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43652         * nptl/smp.h: ... here.
43654         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43656         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43657         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43658         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43659         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43661         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43662         * nptl/stack-aliasing.h: New file.
43663         * sysdeps/i386/i686/stack-aliasing.h: New file.
43664         * sysdeps/i386/i686/nptl/Makefile: File removed.
43665         * sysdeps/x86_64/stack-aliasing.h: New file.
43666         * sysdeps/x86_64/nptl/Makefile
43667         (CFLAGS-pthread_create.c): Variable removed.
43669         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43670         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43671         old file.
43672         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43673         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43674         old file.
43676 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43678         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43679         (__ASSUME_SIGFRAME_V2): Remove macro.
43680         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43681         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43682         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43683         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43684         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43685         Declare as function.  Remove conditional macro definitions.
43686         (__default_rt_sa_restorer): Likewise.
43687         (__default_sa_restorer_v1): Remove declaration.
43688         (__default_sa_restorer_v2): Likewise.
43689         (__default_rt_sa_restorer_v1): Likewise.
43690         (__default_rt_sa_restorer_v2): Likewise.
43691         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43692         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43693         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43695 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43697         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43698         (libpthread-routines): Add sysdep.
43699         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43700         * sysdeps/unix/sysv/linux/sparc/Versions
43701         (libpthread: GLIBC_2.3.3): New version set.
43702         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43703         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43704         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43705         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43706         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43707         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43708         Moved ...
43709         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43710         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43711         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43712         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43713         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43714         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43715         * sysdeps/sparc/nptl/sem_init.c: ... here.
43716         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43717         * sysdeps/sparc/nptl/sem_post.c: ... here.
43718         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43719         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43720         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43721         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43722         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43723         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43724         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43725         (libpthread-routines): Add cpu_relax.
43726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43727         File removed.
43728         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43729         (librt: GLIBC_2.3.3): New version set.
43730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43731         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43732         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43733         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43734         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43736         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43738         Moved ...
43739         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43741         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43743         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43745         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43747         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43749         Moved ...
43750         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43751         Update #include.
43752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43753         Moved ...
43754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43755         Update #include.
43756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43757         Moved ...
43758         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43759         Update #include.
43760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43761         Moved ...
43762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43763         Update #include.
43764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43765         Moved ...
43766         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43767         Update #include.
43768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43769         Moved ...
43770         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43771         Update #include.
43772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43773         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43777         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43779         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43781         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43783         Moved ...
43784         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43786         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43788         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43790 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43792         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43793         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43794         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43795         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43796         * nscd/nscd.c: Likewise.
43797         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43798         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43799         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43800         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43802         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43803         <kernel-features.h>.
43804         (init_mq_netlink): Remove conditional have_sock_cloexec
43805         definitions.  Remove code conditional on have_sock_cloexec < 0.
43806         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43807         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43808         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43809         <kernel-features.h>.
43810         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43811         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43813 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43816         Add tests for memset_chk and memset.
43818         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43819         with AVX2_Usable.
43821 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43823         [BZ #16046]
43824         * elf/tst-dl-iter-static.c: New file.
43825         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43827         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43828         error.
43830 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43832         * sysdeps/unix/sysv/linux/kernel-features.h
43833         (__ASSUME_F_GETOWN_EX): Remove macro.
43834         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43835         <kernel-features.h>.
43836         (miss_F_GETOWN_EX): Remove variable or macro.
43837         (do_fcntl): Do not check miss_F_GETOWN_EX.
43838         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43840         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43841         Remove macro.
43842         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43843         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43844         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43846         * sysdeps/unix/sysv/linux/kernel-features.h
43847         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43848         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43849         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43850         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43852 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43854         [BZ #17075]
43855         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43856         Fix calculation of the symbol's value.
43857         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43858         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43859         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43860         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43861         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43862         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43863         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43864         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43865         (modules-names): Add `tst-armtlsdescmod',
43866         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43867         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43868         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43869         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43870         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43871         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43872         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43873         ($(objpfx)tst-armtlsdescloc): New dependency.
43874         ($(objpfx)tst-armtlsdescextnow): Likewise.
43875         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43876         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43877         TLS scheme support.
43878         * sysdeps/arm/configure: Regenerate.
43880 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43882         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43883         (__atfct_seterrno_2): Likewise.
43884         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43885         <kernel-features.h>.
43886         (__ASSUME_ATFCTS): Do not undefine and redefine.
43887         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43888         (__have_atfcts): Remove conditional definition.
43889         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43890         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43891         unreachable if [__ASSUME_ATFCTS].
43892         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43893         not undefine and redefine.
43894         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43895         <kernel-features.h>.
43896         (faccessat) [__NR_faccessat]: Make code unconditional.
43897         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43898         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43899         <kernel-features.h>.
43900         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43901         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43902         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43903         <kernel-features.h>.
43904         (fchownat) [__NR_fchownat]: Make code unconditional.
43905         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43906         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43907         <kernel-features.h>.
43908         (futimesat) [__NR_futimesat]: Make code unconditional.
43909         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43910         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43911         <kernel-features.h>.
43912         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43913         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43914         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43915         <kernel-features.h>.
43916         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43917         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43918         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43919         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43920         <kernel-features.h>.
43921         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43922         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43923         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43924         <kernel-features.h>.
43925         (linkat) [__NR_linkat]: Make code unconditional.
43926         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43927         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43928         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43929         <kernel-features.h>.
43930         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43931         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43932         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43933         <kernel-features.h>.
43934         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43935         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43936         * sysdeps/unix/sysv/linux/openat.c: Do not include
43937         <kernel-features.h>.
43938         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43939         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43940         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43941         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43942         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43943         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43944         <kernel-features.h>.
43945         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43946         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43947         result of INLINE_SYSCALL directly, not via int variable.
43948         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43949         <kernel-features.h>.
43950         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43951         (renameat) [__NR_renameat]: Make code unconditional.
43952         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43953         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43954         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43955         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43956         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43957         (__ASSUME_ATFCTS): Do not undefine and redefine.
43958         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43959         <kernel-features.h>.
43960         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43961         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43962         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43963         <kernel-features.h>.
43964         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43965         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43966         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43967         (__ASSUME_ATFCTS): Do not undefine and redefine.
43968         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43969         <kernel-features.h>.
43970         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43971         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43972         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43973         <kernel-features.h>.
43974         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43975         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43977 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43979         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43981 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43983         [BZ #17069]
43984         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43985         constructed tree before returning error.
43986         * posix/bug-regexp36.c: Expand test case.
43988 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43990         [BZ #6803]
43991         * math/libm-test.inc (scalbln_test_date):
43992         Add errno expectations.
43993         * math/w_scalblnf.c: New File.
43994         Add wrapper which checks for setting errno to ERANGE.
43995         Add weak_alias for corresponding scalbln function.
43996         * math/w_scalbln.c: Likewise.
43997         * math/w_scalblnl.c: Likewise.
43998         * math/Makefile (libm-calls): Add w_scalbln.
43999         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44000         Remove weak_alias for corresponding scalbln function.
44001         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44002         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44003         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44004         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44005         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44006         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44007         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44008         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44009         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44010         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44011         Remove long_double_symbol for scalblnl function in libm, libc.
44012         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44013         Add wrapper which checks for setting errno to ERANGE.
44014         Add long_double_symbol for scalblnl function in libm, libc.
44015         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44016         Remove long_double_symbol for scalblnl in libm.
44017         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44018         Add wrapper which checks for setting errno to ERANGE.
44019         Add long_double_symbol for scalblnl function in libm.
44020         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44021         Do not use wrapper because of own implementation.
44023 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44025         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44026         3 bytes for __pad1 for x32.
44027         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44029 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44030             H.J. Lu  <hongjiu.lu@intel.com>
44032         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44033         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44036         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44038 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44040         [BZ #17069]
44041         * posix/regcomp.c (parse_expression): Deallocate partially
44042         constructed tree before returning error.
44043         * posix/Makefile.c (tests): Add bug-regex36.
44044         (generated): Add bug-regex36.mtrace.
44045         (tests-special): Add $(objpfx)bug-regex36-mem.out
44046         (bug-regex36-ENV): New variable.
44047         ($(objpfx)bug-regex36-mem.out): New rule.
44048         * posix/bug-regex36.c: New file.
44050 2014-06-19  Will Newton  <will.newton@linaro.org>
44052         * malloc/malloc.c (systrim): If extra is zero then return
44053         early.
44055 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44057         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44059 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44061         * sysdeps/aarch64/strchr.S: New file.
44063 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44065         [BZ #17022]
44066         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44067         from arguments -2 or below.
44068         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44069         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44071 2014-06-18  Andreas Schwab  <schwab@suse.de>
44073         [BZ #17062]
44074         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44075         of a bracket expr not to run off the end of the string.
44076         * posix/Makefile (tests): Add tst-fnmatch3.
44077         * posix/tst-fnmatch3.c: New file.
44079 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44081         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44082         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44083         [$(cross-compiling) = no]: Likewise.
44084         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44085         [$(cross-compiling) = no]: Likewise.
44087 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44089         [BZ #17031]
44090         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44091         double, adjusted for any remainder from the high double.
44092         * math/libm-test.inc (nearbyint): Add tests.
44093         (rint): Likewise.
44095 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44097         * nptl/sysdeps/powerpc/Makefile: Moved ...
44098         * sysdeps/powerpc/nptl/Makefile: ... here.
44099         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44100         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44101         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44102         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44103         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44104         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44105         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44106         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44107         * nptl/sysdeps/powerpc/tls.h: Moved ...
44108         * sysdeps/powerpc/nptl/tls.h: ... here.
44110 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44112         [BZ #16681]
44113         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44114         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44115         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44116         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44117         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44118         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44119         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44120         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44121         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44123 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44125         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44127 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44129         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44130         defined operator.
44132         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44133         $TIMEOUTFACTOR.
44135 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44137         [BZ #17058]
44138         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44139         non-executed part of the test.
44141 2014-06-16  Andreas Schwab  <schwab@suse.de>
44143         * string/bits/string2.h (strdup, strndup): Update feature guard.
44145 2014-06-14  David S. Miller  <davem@davemloft.net>
44147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44149 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44151         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44152         that was previously under [RESET_PID].
44153         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44155         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44156         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44157         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44158         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44159         (__libc_vfork): New strong alias.
44160         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44162 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44164         * sysdeps/generic/elide.h: New file.
44166 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44168         * Makefile (installed-headers): Adjust path of pthread.h header.
44170 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44172         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44173         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44174         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44175         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44177         * nptl/sysdeps/s390/Makefile: Moved ...
44178         * sysdeps/s390/nptl/Makefile: ... here.
44179         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44180         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44181         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44182         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44183         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44184         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44185         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44186         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44187         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44188         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44189         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44190         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44191         * nptl/sysdeps/s390/tls.h: Moved ...
44192         * sysdeps/s390/nptl/tls.h: ... here.
44194         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44195         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44197 2014-06-13  David S. Miller  <davem@davemloft.net>
44199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44202         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44203         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44206         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44207         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44208         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44209         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44210         Remove RESET_PID cpp guards.
44211         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44212         Remove RESET_PID cpp guards.
44213         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44215 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44217         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44218         __sp to uintptr_t.
44220 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44222         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44223         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44224         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44225         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44226         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44227         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44228         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44232         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44233         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44236         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44237         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44239         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44240         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44241         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44243         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44244         (pthread_rwlock_rdlock): Add elision.
44245         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44246         (pthread_rwlock_wrlock): Add elision.
44247         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44248         (pthread_rwlock_trywrlock): Add elision.
44249         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44250         (pthread_rwlock_tryrdlock): Add elision.
44251         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44252         (pthread_rwlock_tryrdlock): Add elision unlock.
44253         * nptl/sysdeps/pthread/pthread.h:
44254         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44255         (PTHREAD_RWLOCK_INITIALIZER,
44256         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44257         Handle new elision field.
44258         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44259         * sysdeps/arm/nptl/bits/pthreadtypes.h
44260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44261         * sysdeps/sh/nptl/bits/pthreadtypes.h
44262         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44263         * sysdeps/tile/nptl/bits/pthreadtypes.h
44264         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44265         * sysdeps/a/nptl/bits/pthreadtypes.h
44266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44267         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44269         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44271         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44273         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44275         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44276         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44277         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44279         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44281         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44283         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44284         (elision_init): Set try_xbegin to zero when no RTM.
44285         * sysdeps/x86/nptl/bits/pthreadtypes.h
44286         (pthread_rwlock_t): Change __pad1 to __rwelision.
44287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44289 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44291         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44292         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44293         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44294         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44296 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44298         [BZ #16996]
44299         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44300         that the cached result has been set before returning it.
44302 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44304         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44305         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44306         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44307         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44308         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44309         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44311         * nptl/sysdeps/sparc/Makefile: Moved ...
44312         * sysdeps/sparc/nptl/Makefile: ... here.
44313         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44314         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44315         * nptl/sysdeps/sparc/tls.h: Moved ...
44316         * sysdeps/sparc/nptl/tls.h: ... here.
44317         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44318         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44319         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44320         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44321         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44322         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44323         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44324         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44325         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44326         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44327         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44328         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44329         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44330         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44331         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44332         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44333         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44335         Update #include.
44336         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44337         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44338         Update #include.
44339         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44341         Update #include.
44342         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44344         Update #include.
44346         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44348         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44349         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44351         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44352         (struct list_links): Type removed.
44353         (struct thread_node, struct timer_node): Replace struct list_links
44354         with struct list_head.
44355         (list_unlink_ip): Likewise.
44356         * sysdeps/pthread/timer_routines.c
44357         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44358         (list_append, list_insbefore): Likewise.
44359         (list_init): Function removed.
44360         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44361         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44362         * sysdeps/pthread/Makefile: ... here, new file.
44364         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44365         * sysdeps/nptl/Implies: ... here.
44366         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44367         * nptl/sysdeps/pthread/list.h: Moved ...
44368         * include/list.h: ... here.
44369         * nptl/sysdeps/pthread/createthread.c: Moved ...
44370         * nptl/createthread.c: ... here.
44371         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44372         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44373         * nptl/pt-longjmp.c: ... here.
44374         * nptl/sysdeps/pthread/Makefile: Moved ...
44375         * sysdeps/nptl/Makefile: ... here.
44376         * nptl/sysdeps/pthread/Subdirs: Moved ...
44377         * sysdeps/nptl/Subdirs: ... here.
44378         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44379         * sysdeps/nptl/aio_misc.h: ... here.
44380         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44381         * sysdeps/nptl/bits/libc-lock.h: ... here.
44382         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44383         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44384         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44385         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44386         * nptl/sysdeps/pthread/configure: Moved ...
44387         * sysdeps/nptl/configure: ... here.
44388         * nptl/sysdeps/pthread/configure.ac: Moved ...
44389         * sysdeps/nptl/configure.ac: ... here.
44390         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44391         * sysdeps/nptl/gai_misc.h: ... here.
44392         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44393         * sysdeps/nptl/librt-cancellation.c: ... here.
44394         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44395         * sysdeps/nptl/malloc-machine.h: ... here.
44396         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44397         * sysdeps/nptl/pthread-functions.h: ... here.
44398         * nptl/sysdeps/pthread/pthread.h: Moved ...
44399         * sysdeps/nptl/pthread.h: ... here.
44400         * nptl/sysdeps/pthread/setxid.h: Moved ...
44401         * sysdeps/nptl/setxid.h: ... here.
44402         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44403         * sysdeps/nptl/sigfillset.c: ... here.
44404         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44405         * sysdeps/nptl/tcb-offsets.h: ... here.
44406         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44407         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44408         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44409         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44410         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44411         * sysdeps/pthread/allocalim.h: ... here.
44412         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44413         * sysdeps/pthread/bits/sigthread.h: ... here.
44414         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44415         * sysdeps/pthread/flockfile.c: ... here.
44416         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44417         * sysdeps/pthread/ftrylockfile.c: ... here.
44418         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44419         * sysdeps/pthread/funlockfile.c: ... here.
44420         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44421         * sysdeps/pthread/posix-timer.h: ... here.
44422         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44423         * sysdeps/pthread/timer_create.c: ... here.
44424         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44425         * sysdeps/pthread/timer_delete.c: ... here.
44426         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44427         * sysdeps/pthread/timer_getoverr.c: ... here.
44428         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44429         * sysdeps/pthread/timer_gettime.c: ... here.
44430         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44431         * sysdeps/pthread/timer_routines.c: ... here.
44432         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44433         * sysdeps/pthread/timer_settime.c: ... here.
44434         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44435         * sysdeps/pthread/tst-timer.c: ... here.
44436         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44437         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44439         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44440         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44442         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44443         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44444         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44445         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44446         Update #include target.
44447         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44448         * sysdeps/i386/i686/nptl/Makefile: ... here.
44449         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44450         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44451         Update #include target.
44452         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44453         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44454         * nptl/sysdeps/i386/Makefile: Moved ...
44455         * sysdeps/i386/nptl/Makefile: ... here.
44456         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44457         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44458         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44459         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44460         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44461         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44462         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44463         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44464         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44465         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44466         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44467         * nptl/sysdeps/i386/tls.h: Moved ...
44468         * sysdeps/i386/nptl/tls.h: ... here.
44470         * sysdeps/sh/Makefile [$(subdir) = csu]
44471         (gen-as-const-headers): Add tcb-offsets.sym.
44472         * nptl/sysdeps/sh/Makefile: File removed.
44473         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44474         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44475         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44476         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44477         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44478         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44479         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44480         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44481         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44482         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44483         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44484         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44485         * nptl/sysdeps/sh/tls.h: Moved ...
44486         * sysdeps/sh/nptl/tls.h: ... here.
44487         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44488         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44489         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44490         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44491         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44492         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44493         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44494         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44495         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44496         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44498         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44499         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44500         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44501         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44502         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44504         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44506         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44507         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44508         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44510         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44512         Moved ...
44513         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44514         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44515         Moved ...
44516         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44518         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44519         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44520         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44521         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44522         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44523         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44524         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44525         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44526         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44527         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44528         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44529         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44530         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44531         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44532         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44533         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44534         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44536 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44538         * posix/spawn_faction_addopen.c: Include string.h.
44540 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44542         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44543         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44544         * nptl/sysdeps/x86_64/Makefile: Moved ...
44545         * sysdeps/x86_64/nptl/Makefile: ... here.
44546         * nptl/sysdeps/x86_64/configure: Moved ...
44547         * sysdeps/x86_64/nptl/configure: ... here.
44548         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44549         * sysdeps/x86_64/nptl/configure.ac: ... here.
44550         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44551         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44552         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44553         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44554         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44555         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44556         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44557         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44558         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44559         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44560         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44561         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44562         * nptl/sysdeps/x86_64/tls.h: Moved ...
44563         * sysdeps/x86_64/nptl/tls.h: ... here.
44564         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44565         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44566         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44567         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44569         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44571 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44575 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44577         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44578         type.
44579         [POSIX] (off_t): Likewise.
44580         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44581         [POSIX] (S_ISBLK): Require macro.
44582         [POSIX] (S_ISCHR): Likewise.
44583         [POSIX] (S_ISDIR): Likewise.
44584         [POSIX] (S_ISFIFO): Likewise.
44585         [POSIX] (S_ISREG): Likewise.
44586         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44587         optional-macro.
44588         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44589         type.
44590         [POSIX] (time_t): Likewise.
44591         [POSIX] (timer_t): Likewise.
44593 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44595         [BZ #17048]
44596         * posix/spawn_int.h (struct __spawn_action): Make the path string
44597         non-const to support deallocation.
44598         * posix/spawn_faction_addopen.c
44599         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44600         * posix/spawn_faction_destroy.c
44601         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44602         path in all spawn_do_open actions.
44603         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44604         posix_spawn_file_actions_addopen.
44606 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44608         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44609         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44610         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44611         conditional code always true.
44612         (__libc_vfork): New alias.
44614 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44616         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44617         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44619         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44621         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44622         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44624         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44625         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44627         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44628         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44630 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44632         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44633         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44634         multiarch strcmp for PPC64.
44635         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44636         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44638         multiarch optimizations.
44639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44640         (__libc_ifunc_impl_list): Likewise.
44642 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44644         * benchtests/scripts/validate_benchout.py: New script.
44645         * benchtests/Makefile (bench-func): Call it.
44646         * benchtests/scripts/benchout.schema.json: New file.
44648 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44650         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44651         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44652         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44653         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44654         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44655         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44656         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44657         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44658         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44659         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44660         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44661         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44662         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44663         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44664         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44665         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44667         Moved ...
44668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44669         ... here.
44670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44671         Moved ...
44672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44674         Moved ...
44675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44676         ... here.
44677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44678         Moved ...
44679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44680         ... here.
44681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44682         Moved ...
44683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44685         Moved ...
44686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44687         ... here.
44688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44689         Moved ...
44690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44691         ... here.
44692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44693         Moved ...
44694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44696         Moved ...
44697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44698         ... here.
44699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44700         Moved ...
44701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44702         ... here.
44703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44704         Moved ...
44705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44706         ... here.
44707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44708         Moved ...
44709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44711         Moved ...
44712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44713         ... here.
44714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44715         Moved ...
44716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44717         ... here.
44718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44719         Moved ...
44720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44721         ... here.
44722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44723         Moved ...
44724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44726         Moved ...
44727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44728         ... here.
44729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44730         Moved ...
44731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44732         ... here.
44733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44734         Moved ...
44735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44737         Moved ...
44738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44739         ... here.
44740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44741         Moved ...
44742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44747         Moved ...
44748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44749         ... here.
44750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44751         Moved ...
44752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44753         ... here.
44754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44755         Moved ...
44756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44757         ... here.
44758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44759         Moved ...
44760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44762         Moved ...
44763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44764         ... here.
44765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44766         Moved ...
44767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44768         ... here.
44769         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44770         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44771         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44772         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44773         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44774         Moved ...
44775         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44776         ... here.
44777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44778         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44781         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44782         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44784         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44785         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44786         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44788         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44790         Moved ...
44791         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44793         Moved ...
44794         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44796         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44797         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44798         Moved ...
44799         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44801         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44802         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44803         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44804         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44805         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44807 2014-06-10  Wilco  <wdijkstr@arm.com>
44809         * math/test-fenv-return.c: New file.
44810         * math/Makefile: Add new test test-fenv-return.
44812 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44814         [BZ #17042]
44815         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44816         when x - 1 is zero.
44817         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44818         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44819         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44820         0.0L for an argument of 1.0L.
44821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44822         Likewise.
44823         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44824         value when x - 1 is zero.
44825         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44826         * sysdeps/i386/fpu/libm-test-ulps: Update.
44827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44829 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44831         [BZ #15119]
44832         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44834 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44836         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44837         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44839 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44841         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44842         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44844         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44845         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44847         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44848         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44850         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44851         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44853         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44854         if not already defined.
44855         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44856         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44857         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44858         (TLS_INIT_TP): Use it.
44859         (TLS_DEFINE_INIT_TP): New macro.
44860         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44862 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44864         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44865         constant.
44866         [POSIX] (IXANY): Likewise.
44867         [POSIX] (OLCUC): Likewise.
44868         [POSIX || POSIX2008] (CBAUD): Do not allow.
44869         [POSIX || POSIX2008] (DEFECHO): Likewise.
44870         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44871         [POSIX || POSIX2008] (ECHOKE): Likewise.
44872         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44873         [POSIX || POSIX2008] (EXTA): Likewise.
44874         [POSIX || POSIX2008] (EXTB): Likewise.
44875         [POSIX || POSIX2008] (FLUSHO): Likewise.
44876         [POSIX || POSIX2008] (LOBLK): Likewise.
44877         [POSIX || POSIX2008] (PENDIN): Likewise.
44878         [POSIX || POSIX2008] (SWTCH): Likewise.
44879         [POSIX || POSIX2008] (VDISCARD): Likewise.
44880         [POSIX || POSIX2008] (VDSUSP): Likewise.
44881         [POSIX || POSIX2008] (VLNEXT): Likewise.
44882         [POSIX || POSIX2008] (VREPRINT): Likewise.
44883         [POSIX || POSIX2008] (VSTATUS): Likewise.
44884         [POSIX || POSIX2008] (VWERASE): Likewise.
44885         (B*): Change to B[0123456789]*.
44886         * conform/data/time.h-data [POSIX || UNIX98]
44887         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44888         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44889         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44890         [POSIX] (tm_*): Do not allow.
44892 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44894         * Makefile (install): Don't set LANGUAGE.
44895         * Makefile.in (install): Likewise.
44896         * assert/Makefile (test-assert-ENV): Remove variable.
44897         (test-assert-perr-ENV): Likewise.
44898         * elf/Makefile (neededtest4-ENV): Likewise.
44899         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44900         [$(cross-compiling) = no]: Don't set LANGUAGE.
44901         * io/ftwtest-sh (LANG): Remove variable.
44902         * libio/Makefile (tst-widetext-ENV): Likewise.
44903         * manual/install.texi (Running make install): Don't refer to
44904         environment settings for make install.
44905         * INSTALL: Regenerated.
44906         * nptl/tst-tls6.sh: Don't set LANG.
44907         * posix/globtest.sh (LANG): Remove variable.
44908         * string/Makefile (tester-ENV): Likewise.
44909         (inl-tester-ENV): Likewise.
44910         (noinl-tester-ENV): Likewise.
44911         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44912         [$(cross-compiling) = no]: Don't set LANGUAGE.
44913         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44914         without explicit environment settings.
44916 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44918         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44919         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44920         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44921         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44923 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44925         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44926         other files in the crypt directory.
44927         * crypt/crypt.c: Remove duplicate includes.
44928         * crypt/crypt-entry.c: Likewise.
44929         * crypt/crypt_util.c: Likewise.
44931 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44933         * Makeconfig (run-program-env): New variable.
44934         (run-program-prefix-before-env): Likewise.
44935         (run-program-prefix-after-env): Likewise.
44936         (run-program-prefix): Define in terms of new variables.
44937         (built-program-cmd-before-env): New variable.
44938         (built-program-cmd-after-env): Likewise.
44939         (built-program-cmd): Define in terms of new variables.
44940         (test-program-prefix-before-env): New variable.
44941         (test-program-prefix-after-env): Likewise.
44942         (test-program-prefix): Define in terms of new variables.
44943         (test-program-cmd-before-env): New variable.
44944         (test-program-cmd-after-env): Likewise.
44945         (test-program-cmd): Define in terms of new variables.
44946         * Rules (make-test-out): Use $(run-program-env).
44947         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44948         (help): Do not mention environment variables.  Mention
44949         --timeoutfactor option.
44950         (timeoutfactor): New variable.
44951         (blacklist_exports): Remove function.
44952         (exports): Remove variable.
44953         (command): Do not include ${exports}.
44954         * manual/install.texi (Configuring and compiling): Do not mention
44955         test wrappers preserving environment variables.  Mention that last
44956         assignment to a variable must take precedence.
44957         * INSTALL: Regenerated.
44958         * benchtests/Makefile (run-bench): Use $(run-program-env).
44959         * catgets/Makefile ($(objpfx)test1.cat): Use
44960         $(built-program-cmd-before-env), $(run-program-env) and
44961         $(built-program-cmd-after-env).
44962         ($(objpfx)test2.cat): Do not specify environment variables
44963         explicitly.
44964         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44965         $(run-program-env) and $(built-program-cmd-after-env).
44966         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44967         $(run-program-env) and $(test-program-cmd-after-env).
44968         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44969         explicitly.
44970         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44971         run_program_env and test_program_cmd_after_env arguments.
44972         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44973         * elf/tst-pathopt.sh: Use run_program_env argument.
44974         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44975         $(test-wrapper-env) and $(run-program-env).
44976         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44977         run_program_env arguments.
44978         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44979         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44980         $(test-program-prefix-before-env), $(run-program-env) and
44981         $(test-program-prefix-after-env).
44982         ($(objpfx)tst-gettext2.out): Likewise.
44983         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44984         run_program_env and test_program_prefix_after_env arguments.
44985         * intl/tst-gettext2.sh: Likewise.
44986         * intl/tst-gettext4.sh: Do not set environment variables
44987         explicitly.
44988         * intl/tst-gettext6.sh: Likewise.
44989         * intl/tst-translit.sh: Likewise.
44990         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44991         $(test-program-prefix-before-env), $(run-program-env) and
44992         $(test-program-prefix-after-env).
44993         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44994         run_program_env and test_program_prefix_after_env arguments.
44995         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44996         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44997         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44998         explicitly with each use of ${test_wrapper_env}.
44999         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45000         $(test-program-prefix-before-env), $(run-program-env) and
45001         $(test-program-prefix-after-env).
45002         * posix/tst-getconf.sh: Do not set environment variables
45003         explicitly.
45004         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45005         run_program_env and test_program_prefix_after_env arguments.
45006         * stdio-common/tst-printf.sh: Do not set environment variables
45007         explicitly.
45008         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45009         $(test-program-prefix-before-env), $(run-program-env) and
45010         $(test-program-prefix-after-env).
45011         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45012         run_program_env and test_program_prefix_after_env arguments.
45013         Split $test calls into $test_pre and $test.
45014         * timezone/Makefile (build-testdata): Use
45015         $(built-program-cmd-before-env), $(run-program-env) and
45016         $(built-program-cmd-after-env).
45018 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45020         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45021         strlen for non SHARED builds.
45023 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45025         * nptl/allocatestack.c (check_list): Inlined function...
45026         (__reclaim_stacks): ... here.
45028 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45030         [BZ #15698]
45031         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45032         memory overrun.
45034 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45036         * Rules (make-test-out): Include
45037         LOCPATH=$(common-objpfx)localedata in default environment.
45038         * debug/Makefile (tst-chk1-ENV): Remove variable.
45039         (tst-chk2-ENV): Likewise.
45040         (tst-chk3-ENV): Likewise.
45041         (tst-chk4-ENV): Likewise.
45042         (tst-chk5-ENV): Likewise.
45043         (tst-chk6-ENV): Likewise.
45044         (tst-lfschk1-ENV): Likewise.
45045         (tst-lfschk2-ENV): Likewise.
45046         (tst-lfschk3-ENV): Likewise.
45047         (tst-lfschk4-ENV): Likewise.
45048         (tst-lfschk5-ENV): Likewise.
45049         (tst-lfschk6-ENV): Likewise.
45050         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45051         (tst-iconv7-ENV): Likewise.
45052         * intl/Makefile (LOCPATH-ENV): Likewise.
45053         (tst-codeset-ENV): Likewise.
45054         (tst-gettext3-ENV): Likewise.
45055         (tst-gettext5-ENV): Likewise.
45056         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45057         (tst-fopenloc-ENV): Likewise.
45058         (tst-fgetws-ENV): Remove variable.
45059         (tst-ungetwc1-ENV): Likewise.
45060         (tst-ungetwc2-ENV): Likewise.
45061         (bug-ungetwc2-ENV): Likewise.
45062         (tst-swscanf-ENV): Likewise.
45063         (bug-ftell-ENV): Likewise.
45064         (tst-fgetwc-ENV): Likewise.
45065         (tst-fseek-ENV): Likewise.
45066         (tst-ftell-partial-wide-ENV): Likewise.
45067         (tst-ftell-active-handler-ENV): Likewise.
45068         (tst-ftell-append-ENV): Likewise.
45069         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45070         (tst-regexloc-ENV): Likewise.
45071         (bug-regex1-ENV): Likewise.
45072         (tst-regex-ENV): Likewise.
45073         (tst-regex2-ENV): Likewise.
45074         (bug-regex5-ENV): Likewise.
45075         (bug-regex6-ENV): Likewise.
45076         (bug-regex17-ENV): Likewise.
45077         (bug-regex18-ENV): Likewise.
45078         (bug-regex19-ENV): Likewise.
45079         (bug-regex20-ENV): Likewise.
45080         (bug-regex22-ENV): Likewise.
45081         (bug-regex23-ENV): Likewise.
45082         (bug-regex25-ENV): Likewise.
45083         (bug-regex26-ENV): Likewise.
45084         (bug-regex30-ENV): Likewise.
45085         (bug-regex32-ENV): Likewise.
45086         (bug-regex33-ENV): Likewise.
45087         (bug-regex34-ENV): Likewise.
45088         (bug-regex35-ENV): Likewise.
45089         (tst-rxspencer-ENV): Likewise.
45090         (tst-rxspencer-no-utf8-ENV): Likewise.
45091         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45092         (tst-sscanf-ENV): Likewise.
45093         (tst-swprintf-ENV): Likewise.
45094         (tst-swscanf-ENV): Likewise.
45095         (test-vfprintf-ENV): Likewise.
45096         (scanf13-ENV): Likewise.
45097         (bug14-ENV): Likewise.
45098         (tst-grouping-ENV): Likewise.
45099         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45100         (tst-strtod3-ENV): Likewise.
45101         (tst-strtod4-ENV): Likewise.
45102         (tst-strtod5-ENV): Likewise.
45103         (testmb2-ENV): Likewise./
45104         * string/Makefile (tst-strxfrm-ENV): Likewise.
45105         (tst-strxfrm2-ENV): Likewise.
45106         (bug-strcoll1-ENV): Likewise.
45107         (test-strcasecmp-ENV): Likewise.
45108         (test-strncasecmp-ENV): Likewise.
45109         * time/Makefile (tst-strptime-ENV): Likewise.
45110         (tst-ftime_l-ENV): Likewise.
45111         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45112         (tst-mbrtowc-ENV): Likewise.
45113         (tst-wcrtomb-ENV): Likewise.
45114         (tst-mbrtowc2-ENV): Likewise.
45115         (tst-c16c32-1-ENV): Likewise.
45116         (tst-mbsnrtowcs-ENV): Likewise.
45118 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45120         * manual/resource.texi (How to get information about the memory
45121         subsystem?): Fix typo.
45122         Reported by Peon de la Parra Ivan <peon@keba.com>
45124 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45126         [BZ #16882]
45127         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45128         (pthread_spin_lock): Branch out of spin loop to proper location.
45129         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45130         (pthread_spin_lock): Likewise.
45132         * nptl/tst-spin4.c: New test.
45133         * nptl/Makefile (tests): Add tst-spin4.
45135 2014-06-03  Andreas Schwab  <schwab@suse.de>
45137         [BZ #15946]
45138         * resolv/res_send.c (send_dg): Reload file descriptor after
45139         calling reopen.
45141 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45143         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45145 2014-06-03  Richard Henderson  <rth@redhat.com>
45147         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45148         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45149         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45150         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45151         in the SAVE_PID block.
45152         (__libc_vfork): New alias.
45153         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45155         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45156         child in registers, not on the stack.  Remove RESET_PID conditionals.
45157         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45159 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45161         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45163 2014-06-03  Wilco  <wdijkstr@arm.com>
45165         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45166         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45167         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45168         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45169         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45170         Likewise.
45172 2014-06-03  Wilco  <wdijkstr@arm.com>
45174         * sysdeps/aarch64/fpu/math_private.h
45175         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45176         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45177         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45178         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45179         Fix declarations.
45181 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45183         * crypt/crypt-private.h: Include ufc-crypt.h.
45184         (__b64_from_24bit): Declare extern.
45185         * crypt/crypt_util.c(__b64_from_24bit): New function.
45186         (b64t): New static const variable.
45187         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45188         (b64t): Remove variable.
45189         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45190         * crypt/sha256-crypt.c: Include crypt-private.h.
45191         (b64t): Remove variable.
45192         (__sha256_crypt_r): Remove b64_from_24bit and replace
45193         with __b64_from_24bit.
45194         * crypt/sha512-crypt.c: Likewise.
45196 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45198         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45199         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45200         Label the code __libc_vfork rather than __vfork.
45201         [!NOT_IN_libc] (vfork): Define as weak alias.
45202         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45203         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45204         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45206 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45208         * malloc/malloc.c (malloc_info): Fix format specifier for
45209         n_mmaps.
45211 2014-06-02  Wilco  <wdijkstr@arm.com>
45213         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45214         FPCR write.
45216 2014-06-02  Wilco  <wdijkstr@arm.com>
45218         [BZ #17009]
45219         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45220         Rewrite to reduce FPCR/FPSR accesses.
45222 2014-06-01  David S. Miller  <davem@davemloft.net>
45224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45226 2014-05-31  David S. Miller  <davem@davemloft.net>
45228         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45229         to occur in round to nearest mode when |x| >= 2.0
45231 2014-05-30  Richard Henderson  <rth@twiddle.net>
45233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45234         (PSEUDO_RET_NOERRNO): Remove.
45235         (ret): Don't redefine.
45236         (ret_NOERRNO): Define in terms of ret.
45237         (ret_ERRVAL): Likewise.
45239         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45240         use of PSEUDO_RET; perform the error check directly.
45242 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45244         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45245         with __int128_t.
45247 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45249         * malloc/malloc (malloc_info): Fix formatting.
45251 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45252             Roland McGrath  <roland@hack.frob.com>
45254         * malloc/malloc (malloc_info): Also print mmapped statistics.
45256 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45258         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45259         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45261 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45263         * malloc/malloc.c (malloc_info): Inline mi_arena.
45265 2014-05-29  Richard Henderson  <rth@twiddle.net>
45267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45268         Remove comma before expanding ASM_ARGS_##nr.
45269         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45270         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45271         of ASM_ARGS_##nr.
45272         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45273         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45274         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45275         (ASM_ARGS_1): Add leading comma.
45277         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45278         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45279         to __errno_location.
45280         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45281         Remove the expected plt for __errno_location.
45283         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45284         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45285         call to __read_tp.
45287         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45288         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45289         it and break it down.
45290         (DOCARGS_0, DOCARGS_1): Do nothing.
45291         (DOCARGS_2): Update to store into the new stack frame.
45292         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45293         (UNDOCARGS_1): Update to restore from the new stack frame.
45294         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45295         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45298         (SINGLE_THREAD_P): New parameter for result regno.
45299         (PSEUDO): Update to match; use cbz instead of beq.
45301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45302         Use ENTRY to define the _nocancel entry point.  Share the syscall
45303         and syscall error check paths with the cancel path.
45304         (PSEUDO_END): New.
45306         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45307         whitespace; tabs before and after asm mnemonics.
45309 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45311         [BZ #15132]
45312         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45313         Call fstat64 or stat64 internally, depending on arguments passed.
45314         Replace stat buffer argument with file descriptor argument.
45315         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45316         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45317         Pass fd to __internal_statvfs instead of calling fstat64.
45318         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45319         Pass fd to __internal_statvfs64 instead of calling fstat64.
45320         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45321         Pass -1 to __internal_statvfs instead of calling stat64.
45322         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45323         Pass -1 to __internal_statvfs64 instead of calling stat64.
45325 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45327         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45328         that was previously under [RESET_PID].
45329         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45331         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45332         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45334 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45336         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45338         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45339         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45341 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45343         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45345 2014-05-27  Andreas Schwab  <schwab@suse.de>
45347         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45348         TLS_INIT_TP macro.
45349         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45350         * elf/rtld.c (init_tls, dl_main): Likewise.
45351         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45352         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45353         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45354         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45355         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45356         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45357         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45358         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45359         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45360         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45361         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45362         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45363         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45364         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45365         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45366         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45367         * sysdeps/generic/tls.h: Update description.
45369 2014-05-27  Will Newton  <will.newton@linaro.org>
45371         [BZ #16990]
45372         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45373         and restore r2 rather than just restoring.
45375 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45377         [BZ #16724]
45378         * libio/tst-ftell-append.c: New test case.
45379         * libio/Makefile (tests): Add test case.
45380         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45381         append mode.
45382         * libio/wfileops.c (do_ftell_wide): Likewise.
45384 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45388         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45389         ...
45390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45392         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45393         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45394         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45395         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45396         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45398         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45399         Moved ...
45400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45402         Moved ...
45403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45404         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45405         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45406         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45407         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45408         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45409         ...
45410         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45411         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45412         Moved ...
45413         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45414         here.
45415         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45416         ...
45417         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45418         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45419         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45421         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45422         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45423         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45424         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45427         merge into ...
45428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45430         ...
45431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45433         ...
45434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45436         Moved ...
45437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45438         here.
45439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45440         Moved ...
45441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45443         Moved ...
45444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45447         conditional [RESET_PID].
45448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45450         removed.
45451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45452         removed.
45454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45455         <tcb-offsets.h>.
45456         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45457         (__libc_vfork): New strong alias.
45458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45459         removed.
45460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45461         Removed.
45463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45464         <tcb-offsets.h>.
45465         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45466         (__libc_vfork): New strong alias.
45467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45468         removed.
45469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45470         removed.
45472 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45474         * malloc/malloc.c (mi_arena): New function.
45475         (malloc_info): Remove nested function mi_arena. Call non-nosted
45476         function mi_arena.
45478 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45480         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45481         by insrwi.
45482         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45483         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45484         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45485         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45486         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45487         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45488         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45490 2014-05-26  Andreas Schwab  <schwab@suse.de>
45492         [BZ #16984]
45493         * locale/programs/repertoire.c (repertoire_read): Add slash
45494         between I18NPATH element and file name.
45495         * locale/programs/locfile.c (locfile_read): Likewise.
45497 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45499         * nptl/pthread_mutexattr_settype.c
45500         (__pthread_mutexattr_settype):
45501         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45503 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45505         * nptl/tst-mutex5 (do_test):
45506         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45508 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45510         * benchtests/README: Document 'init' directive.
45511         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45512         BENCH_INIT.
45513         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45514         (parse_file): Recognize 'init' directive.
45516 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45518         [BZ #16796]
45519         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45520         alignment of struct pthread.
45522 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45524         [BZ #16878]
45525         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45526         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45527         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45528         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45530 2014-05-25  Richard Henderson  <rth@twiddle.net>
45532         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45533         (SINGLE_THREAD_P_PIC): Remove.
45534         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45535         (SINGLE_THREAD_P_PIC): Remove.
45537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45538         branch to syscall error ...
45539         (PSEUDO): ... here.
45540         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45541         from __local_syscall_error to .Lsyscall_error.
45542         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45543         (SYSCALL_ERROR): Update label name.
45545         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45546         Do not use DOARGS/UNDOARGS.
45547         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45548         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45549         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45550         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45551         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45553         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45554         block comment.
45556         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45557         define if !NOT_IN_libc.
45558         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45559         define with non-default symbol versions.
45561 2014-05-23  Richard Henderson  <rth@twiddle.net>
45563         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45564         (vfork, __vfork): Define via compat_symbol.
45566         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45567         [!HAVE_IFUNC] (vfork_compat): Remove.
45568         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45570 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45572         [BZ #16978]
45573         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45574         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45575         variable.
45577 2014-05-23  Richard Henderson  <rth@twiddle.net>
45579         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45580         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45581         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45582         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45584         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45585         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45586         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45587         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45588         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45589         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45591         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45592         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45593         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45594         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45595         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45596         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45597         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45598         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45599         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45600         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45601         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45602         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45603         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45604         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45605         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45606         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45607         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45608         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45609         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45610         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45611         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45612         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45613         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45614         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45615         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45616         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45617         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45618         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45619         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45620         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45621         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45622         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45623         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45624         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45625         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45626         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45627         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45628         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45629         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45630         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45631         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45632         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45633         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45634         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45635         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45636         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45637         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45638         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45639         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45641         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45642         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45643         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45644         before exiting on error.
45645         (__libc_vfork): New strong alias.
45646         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45647         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45649         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45650         that was previously under [RESET_PID].
45651         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45653         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45655 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45657         [BZ #16977]
45658         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45659         value when x - 1 is zero.
45660         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45661         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45662         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45663         0.0L for an argument of 1.0L.
45664         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45665         Likewise.
45666         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45667         value when x - 1 is zero.
45668         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45669         * sysdeps/i386/fpu/libm-test-ulps: Update.
45670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45672 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45674         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45675         alphasort and versionsort.
45677 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45679         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45680         macro.
45681         [copysignf]: Likewise.
45683 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45685         * crypt/md5-crypt.c: Fix formatting.
45687 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45689         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45690         (b64_from_24bit): New function.
45692 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45694         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45695         libc_hidden_builtin_def to ifunc.
45696         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45697         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45699 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45701         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45702         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45704 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45706         * nscd/Depend (linuxthreads): Remove.
45707         (nptl): Add.
45708         * resolv/Depend (linuxthreads): Remove.
45709         * rt/Depend (linuxthreads): Remove.
45711         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45712         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45713         $(common-objpfx)elf/.
45714         (link-libc-before-gnulib): Likewise.
45715         (elfobjdir): Remove variable.
45716         * Makefile (install): Use $(elf-objpfx) instead of
45717         $(common-objpfx)elf/.
45718         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45719         $(elfobjdir)/.
45720         (link-libc-deps): Likewise.
45721         ($(common-objpfx)libc.so): Likewise.
45722         ($(common-objpfx)linkobj/libc.so): Likewise.
45723         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45724         instead of $(common-objpfx)elf/.
45725         (symbolic-link-list): Likewise.
45726         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45727         [$(cross-compiling) = no]: Likewise.
45728         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45729         $(elfobjdir)/.
45730         (static-gnulib-arch): Likewise.
45731         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45732         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45733         $(common-objpfx)elf/.
45735 2014-05-21  Richard Henderson  <rth@redhat.com>
45737         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45738         (SINGLE_THREAD_P): Use the correct width load.  Fold
45739         into the ldr offset.
45741         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45742         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45744 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45746         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45747         (libgcc_s_resume): Use __attribute_used__.
45748         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45749         Likewise.
45751 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45753         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45754         optimization when used with float constants.
45756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45758 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45760         [BZ #16915]
45761         * locale/nl_langinfo_l.c: Make direct reference to every
45762         _nl_current_CATEGORY symbol.
45763         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45764         (tests-static): Add tst-langinfo-static.
45765         (tests-special): Add tst-langinfo-static.out.
45766         ($(objpfx)tst-langinfo.out): Redirect output.
45767         ($(objpfx)tst-langinfo-static.out): New.
45768         * localedata/tst-langinfo.sh: Send output to stdout.
45769         * localedata/tst-langinfo-static.c: New file.
45771         [BZ #16965]
45772         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45773         when the shift amount is modulo the limb size.
45775 2014-05-20  Richard Henderson  <rth@redhat.com>
45777         [BZ #16967]
45778         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45779         Change type of sa_flags from unsigned int to int.
45781         [BZ #16966]
45782         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45784         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45786 2014-05-20  Will Newton  <will.newton@linaro.org>
45788         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45789         Test the return value of the system call in the nocancel case.
45791 2014-05-20  Will Newton  <will.newton@linaro.org>
45792             Yvan Roux  <yvan.roux@linaro.org>
45794         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45795         #include of asm/ptrace.h.
45796         (PTRACE_GET_THREAD_AREA): Remove #undef.
45797         (PTRACE_GETHBPREGS): Likewise.
45798         (PTRACE_SETHBPREGS): Likewise.
45799         (struct user_regs_struct): New structure.
45800         (struct user_fpsimd_struct): New structure.
45801         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45802         #include of asm/ptrace.h and second #include of sys/user.h.
45803         (PTRACE_GET_THREAD_AREA): Remove #undef.
45804         (PTRACE_GETHBPREGS): Likewise.
45805         (PTRACE_SETHBPREGS): Likewise.
45806         (ELF_NGREG): Use new struct user_regs_struct.
45807         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45809 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45812         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45814 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45816         [BZ #16958]
45817         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45818         membar to avoid block loads/stores to overlap previous stores.
45820 2014-05-17  Richard Henderson  <rth@redhat.com>
45822         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45823         Create the __##syscall_name##_nocancel entry point.
45824         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45825         Remove; let the sysdep-cancel.h code create it.
45827 2014-05-17  David S. Miller  <davem@davemloft.net>
45829         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45830         Protect with __USE_GNU.
45831         (TIOCSET_TEMPT): Likewise.
45832         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45833         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45834         these are already provided in bits/ioctl-types.h
45836 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45838         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45839         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45841         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45842         Use wait4 regardless of [__NR_waitpid].
45844 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45846         PR libgcc/60166
45847         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45848         (_FP_NANSIGN_Q): Set the quiet bit.
45850 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45852         * benchtests/Makefile
45853         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45854         not $(common-objpfx)math/libm.so.
45855         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45856         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45857         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45858         $(common-objpfx)dlfcn/libdl.so.
45859         ($(objpfx)tst-audit8): Depend on $(libm), not
45860         $(common-objpfx)math/libm.so.
45861         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45862         not $(common-objpfx)dlfcn/libdl.so.
45863         * math/Makefile
45864         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45865         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45866         [$(build-shared) = yes].
45867         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45868         $(common-objpfx)nptl/libpthread.so.
45869         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45870         $(common-objpfx)math/libm.so$(libm.so-version) or
45871         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45872         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45873         $(common-objpfx)dlfcn/libdl.so.
45874         * setjmp/Makefile (link-libm): Remove variable.
45875         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45876         * stdio-common/Makefile (link-libm): Remove variable.
45877         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45878         * stdlib/Makefile (link-libm): Remove variable.
45879         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45880         ($(objpfx)tst-strtod-round): Likewise.
45881         ($(objpfx)tst-tininess): Likewise.
45882         ($(objpfx)tst-strtod-underflow): Likewise.
45883         ($(objpfx)tst-strtod6): Likewise.
45884         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45885         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45886         $(common-objpfx)dlfcn/libdl.so.
45888 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45890         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45891         BSD terminal modes definitions.
45893 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45895         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45896         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45898         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45899         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45900         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45901         Don't do #include_next.
45902         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45903         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45904         Don't do #include_next.
45905         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45906         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45907         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45908         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45910 2014-05-16  Allan McRae  <allan@archlinux.org>
45912         * po/sv.po: Update Swedish translation from translation project.
45914         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45915         in sed expression.
45917 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45919         [BZ #16917]
45920         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45921         errno if the TIOCGPTN ioctl fails with an error different than
45922         EINVAL.
45923         * login/tst-ptsname.c: New file.
45924         * login/Makefile (tests): Add tst-ptsname.
45926         [BZ #16943]
45927         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45928         and prlimit64.
45930 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45932         [BZ #16849]
45933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45934         herrno to return EAI_AGAIN.
45936 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45938         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45939         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45940         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45941         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45942         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45943         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45944         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45945         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45946         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45947         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45948         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45949         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45950         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45951         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45952         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45953         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45954         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45955         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45956         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45957         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45958         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45959         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45960         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45961         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45962         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45963         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45964         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45965         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45966         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45967         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45969         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45971         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45973         Moved ...
45974         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45976         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45978         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45980         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45982         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45984         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45986         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45988         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45990         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45992         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45994         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45996         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45998         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46000         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46002         Moved ...
46003         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46005         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46007         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46009         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46011         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46013         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46015         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46017         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46019         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46021         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46023         Moved ...
46024         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46026         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46028         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46029         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46030         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46031         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46032         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46033         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46034         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46035         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46036         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46037         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46038         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46039         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46040         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46041         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46042         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46043         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46044         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46045         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46046         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46047         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46048         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46049         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46050         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46051         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46052         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46053         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46054         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46055         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46056         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46057         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46058         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46060         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46061         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46063         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46064         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46065         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46066         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46067         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46069         Moved ...
46070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46071         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46072         Moved ...
46073         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46075         Moved ...
46076         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46078         Moved ...
46079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46080         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46081         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46083         Moved ...
46084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46085         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46086         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46087         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46088         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46089         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46090         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46091         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46092         Moved ...
46093         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46094         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46095         Moved ...
46096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46097         ... here.
46098         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46099         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46100         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46101         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46103         Moved ...
46104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46105         ... here.
46106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46107         Moved ...
46108         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46109         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46110         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46111         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46112         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46114         Moved ...
46115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46116         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46117         Moved ...
46118         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46120         Moved ...
46121         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46123         Moved ...
46124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46125         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46126         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46128         Moved ...
46129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46131         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46132         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46133         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46134         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46135         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46136         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46137         Moved ...
46138         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46140         Moved ...
46141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46142         ... here.
46143         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46144         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46145         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46146         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46148         Moved ...
46149         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46150         ... here.
46151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46152         Moved ...
46153         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46155         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46156         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46157         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46158         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46159         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46160         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46161         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46162         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46163         Moved ...
46164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46165         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46166         Moved ...
46167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46169         Moved ...
46170         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46171         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46172         Moved ...
46173         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46174         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46175         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46176         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46177         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46179         Moved ...
46180         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46181         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46182         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46183         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46184         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46185         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46186         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46187         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46188         Moved ...
46189         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46191         Moved ...
46192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46193         ... here.
46194         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46195         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46197         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46199         Moved ...
46200         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46201         ... here.
46202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46203         Moved ...
46204         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46205         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46206         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46207         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46208         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46209         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46210         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46211         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46212         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46213         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46214         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46216         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46217         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46219         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46220         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46222         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46223         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46224         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46225         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46226         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46227         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46228         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46229         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46230         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46231         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46232         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46233         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46234         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46235         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46236         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46237         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46238         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46240         Moved ...
46241         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46243         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46245         Moved ...
46246         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46247         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46248         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46249         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46250         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46252         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46254         Moved ...
46255         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46257         Moved ...
46258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46260         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46264         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46265         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46266         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46267         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46268         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46269         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46270         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46271         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46272         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46273         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46274         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46276         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46277         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46278         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46279         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46280         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46282         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46283         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46284         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46285         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46286         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46287         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46288         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46289         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46290         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46291         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46296         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46297         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46298         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46299         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46300         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46301         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46302         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46303         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46304         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46305         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46306         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46307         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46308         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46309         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46311         Update #include.
46312         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46313         Likewise.
46314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46315         Likewise.
46316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46317         Likewise.
46318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46319         Likewise.
46320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46321         Likewise.
46322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46323         Likewise.
46324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46325         Likewise.
46326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46327         Likewise.
46328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46329         Likewise.
46330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46335         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46336         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46338         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46339         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46340         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46341         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46342         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46343         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46344         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46346         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46347         that was previously under [RESET_PID].
46348         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46349         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46350         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46352         * sysdeps/i386/nptl/Implies: New file.
46353         * sysdeps/x86_64/nptl/Implies: New file.
46354         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46355         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46356         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46357         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46359         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46360         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46361         (__libc_vfork): New strong alias.
46362         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46363         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46365         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46366         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46367         (__libc_vfork): New strong alias.
46368         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46369         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46371         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46372         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46373         (__libc_vfork): New strong alias.
46374         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46375         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46376         * nptl/pt-vfork.c: New file.
46377         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46378         (libpthread: GLIBC_2.20): New version set (empty).
46380 2014-05-14  Will Newton  <will.newton@linaro.org>
46382         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46383         rather than #if.
46385 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46387         [BZ #16564]
46388         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46389         arguments with exponent 65 or above.
46390         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46391         arguments 0x1p113L or above.
46392         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46393         to arguments 0x1p107L or above.
46394         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46395         positive arguments with exponent 65 or above.
46396         * math/auto-libm-test-in: Add more tests of log1p.
46397         * math/auto-libm-test-out: Regenerated.
46399         [BZ #16928]
46400         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46401         non-finite arguments is +0.
46402         * math/s_cacosf.c (__cacosf): Likewise.
46403         * math/s_cacosl.c (__cacosl): Likewise.
46404         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46405         * sysdeps/i386/fpu/libm-test-ulps: Update.
46406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46408         [BZ #16927]
46409         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46410         value.
46411         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46412         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46413         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46414         for explicit high bit of mantissa when testing for argument equal
46415         to 1.
46416         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46417         * sysdeps/i386/fpu/libm-test-ulps: Update.
46418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46420         [BZ #16516]
46421         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46422         (__erf): Scale by 16 instead of 8 in potentially underflowing
46423         case.  Ensure exception if result actually underflows.
46424         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46425         (__erff): Scale by 16 instead of 8 in potentially underflowing
46426         case.  Ensure exception if result actually underflows.
46427         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46428         (efx8): Remove variable.
46429         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46430         case.  Ensure exception if result actually underflows.
46431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46432         (efx8): Remove variable.
46433         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46434         case.  Ensure exception if result actually underflows.
46435         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46436         (efx8): Remove variable.
46437         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46438         case.  Ensure exception if result actually underflows.
46439         * math/auto-libm-test-in: Add more tests of erf.
46440         * math/auto-libm-test-out: Regenerated.
46442 2014-05-14  Andreas Schwab  <schwab@suse.de>
46444         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46445         Remove code conditionalized on USE___THREAD.
46447         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46448         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46449         not definedness.
46451 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46453         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46454         Define unconditionally.
46455         (__ASSUME_O_CLOEXEC): Likewise.
46456         (__ASSUME_SOCK_CLOEXEC): Likewise.
46457         (__ASSUME_IN_NONBLOCK): Likewise.
46458         (__ASSUME_PIPE2): Likewise.
46459         (__ASSUME_EVENTFD2): Likewise.
46460         (__ASSUME_SIGNALFD4): Likewise.
46461         (__ASSUME_DUP3): Likewise.
46462         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46463         (__ASSUME_DUP3): Do not define.
46464         (__ASSUME_EVENTFD2): Likewise.
46465         (__ASSUME_IN_NONBLOCK): Likewise.
46466         (__ASSUME_O_CLOEXEC): Likewise.
46467         (__ASSUME_PIPE2): Likewise.
46468         (__ASSUME_SIGNALFD4): Likewise.
46469         (__ASSUME_SOCK_CLOEXEC): Likewise.
46470         (__ASSUME_UTIMES): Undefine.
46471         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46472         (__ASSUME_UTIMES): Do not define.
46473         (__ASSUME_O_CLOEXEC): Likewise.
46474         (__ASSUME_SOCK_CLOEXEC): Likewise.
46475         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46476         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46477         0x020621].
46478         (__ASSUME_PIPE2): Likewise.
46479         (__ASSUME_EVENTFD2): Likewise.
46480         (__ASSUME_SIGNALFD4): Likewise.
46481         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46482         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46483         Do not define.
46484         (__ASSUME_EVENTFD2): Likewise.
46485         (__ASSUME_SIGNALFD4): Likewise.
46486         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46487         (__ASSUME_32BITUIDS): Likewise.
46488         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46489         (__ASSUME_IPC64): Likewise.
46490         (__ASSUME_ST_INO_64_BIT): Likewise.
46491         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46492         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46494         (__ASSUME_UTIMES): Do not define.
46495         (__ASSUME_PSELECT): Likewise.
46496         (__ASSUME_PPOLL): Likewise.
46497         (__ASSUME_O_CLOEXEC): Likewise.
46498         (__ASSUME_SOCK_CLOEXEC): Likewise.
46499         (__ASSUME_IN_NONBLOCK): Likewise.
46500         (__ASSUME_PIPE2): Likewise.
46501         (__ASSUME_EVENTFD2): Likewise.
46502         (__ASSUME_SIGNALFD4): Likewise.
46503         (__ASSUME_DUP3): Likewise.
46504         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46505         (__ASSUME_UTIMES): Likewise.
46506         (__ASSUME_O_CLOEXEC): Likewise.
46507         (__ASSUME_SOCK_CLOEXEC): Likewise.
46508         (__ASSUME_IN_NONBLOCK): Likewise.
46509         (__ASSUME_PIPE2): Likewise.
46510         (__ASSUME_EVENTFD2): Likewise.
46511         (__ASSUME_SIGNALFD4): Likewise.
46512         (__ASSUME_DUP3): Likewise.
46513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46514         (__ASSUME_UTIMES): Likewise.
46515         (__ASSUME_O_CLOEXEC): Likewise.
46516         (__ASSUME_SOCK_CLOEXEC): Likewise.
46517         (__ASSUME_IN_NONBLOCK): Likewise.
46518         (__ASSUME_PIPE2): Likewise.
46519         (__ASSUME_EVENTFD2): Likewise.
46520         (__ASSUME_SIGNALFD4): Likewise.
46521         (__ASSUME_DUP3): Likewise.
46522         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46523         Likewise.
46524         (__ASSUME_UTIMES): Likewise.
46525         (__ASSUME_EVENTFD2): Likewise.
46526         (__ASSUME_SIGNALFD4): Likewise.
46527         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46528         (__ASSUME_O_CLOEXEC): Likewise.
46529         (__ASSUME_SOCK_CLOEXEC): Likewise.
46530         (__ASSUME_IN_NONBLOCK): Likewise.
46531         (__ASSUME_PIPE2): Likewise.
46532         (__ASSUME_EVENTFD2): Likewise.
46533         (__ASSUME_SIGNALFD4): Likewise.
46534         (__ASSUME_DUP3): Likewise.
46535         (__ASSUME_UTIMES): Undefine.
46537         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46538         feclearexcept.  Remove symbol versioning code.
46539         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46540         symbol versioning code.
46541         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46542         symbol versioning code.
46543         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46544         feupdateenv.  Remove symbol versioning code.
46545         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46546         fegetexceptflag.  Remove symbol versioning code.
46547         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46548         fesetexceptflag.  Remove symbol versioning code.
46549         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46550         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46551         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46552         (__posix_fadvise64_l32): Remove prototype.
46553         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46554         code.
46556 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46558         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46559         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46560         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46561         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46563 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46565         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46566         current working directory
46568 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46570         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46571         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46572         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46573         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46574         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46575         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46576         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46577         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46578         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46579         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46580         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46581         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46582         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46583         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46584         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46585         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46586         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46587         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46588         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46589         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46590         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46591         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46592         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46593         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46594         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46595         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46596         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46597         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46598         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46599         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46600         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46601         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46602         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46603         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46604         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46605         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46606         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46607         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46608         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46609         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46610         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46611         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46613         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46614         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46616         * sysdeps/unix/sysv/linux/arm/Makefile
46617         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46618         Add rt-aeabi_unwind_cpp_pr1.
46619         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46620         Add nptl-aeabi_unwind_cpp_pr1.
46621         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46622         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46623         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46624         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46625         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46626         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46628         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46629         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46630         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46631         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46633         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46634         Deconditionalize the code that was previously under [RESET_PID].
46635         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46637         * sysdeps/generic/exit-thread.h: New file.
46638         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46639         * include/unistd.h (__exit_thread): Remove declaration.
46640         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46641         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46642         * csu/libc-start.c: Include <exit-thread.h>.
46643         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46644         * nptl/pthread_create.c: Include <exit-thread.h>.
46645         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46646         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46647         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46648         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46649         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46650         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46651         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46652         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46653         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46654         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46655         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46656         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46657         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46658         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46659         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46660         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46661         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46663 2014-05-13  Andreas Schwab  <schwab@suse.de>
46665         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46667 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46669         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46670         (__ASSUME_UTIMES): Do not condition on kernel version.
46671         (__ASSUME_PSELECT): Define unconditionally.
46672         (__ASSUME_PPOLL): Likewise.
46673         (__ASSUME_ATFCTS): Likewise.
46674         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46675         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46676         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46677         (__ASSUME_UTIMENSAT): Define unconditionally.
46678         (__ASSUME_PRIVATE_FUTEX): Likewise.
46679         (__ASSUME_FALLOCATE): Likewise.
46680         (__ASSUME_O_CLOEXEC): Likewise.
46681         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46682         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46683         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46684         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46685         (__ASSUME_IN_NONBLOCK): Likewise.
46686         (__ASSUME_PIPE2): Likewise.
46687         (__ASSUME_EVENTFD2): Likewise.
46688         (__ASSUME_SIGNALFD4): Likewise.
46689         (__ASSUME_DUP3): Likewise.
46690         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46691         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46692         (__ASSUME_AT_RANDOM): Likewise.
46693         (__ASSUME_PREADV): Likewise.
46694         (__ASSUME_PWRITEV): Likewise.
46695         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46696         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46697         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46698         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46699         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46700         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46701         (__ASSUME_O_CLOEXEC): Define unconditionally.
46702         (__ASSUME_PSELECT): Do not undefine conditionally.
46703         (__ASSUME_PPOLL): Likewise.
46704         (__ASSUME_ATFCTS): Likewise.
46705         (__ASSUME_SET_ROBUST_LIST): Likewise.
46706         (__ASSUME_UTIMENSAT): Likewise.
46707         (__ASSUME_FDATASYNC): Define unconditionally.
46708         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46709         (__ASSUME_SIGFRAME_V2): Likewise.
46710         )__ASSUME_EVENTFD2): Likewise.
46711         (__ASSUME_SIGNALFD4): Likewise.
46712         (__ASSUME_PSELECT): Do not undefine conditionally.
46713         (__ASSUME_PPOLL): Likewise.
46714         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46715         (__ASSUME_PSELECT): Define unconditionally.
46716         (__ASSUME_PPOLL): Likewise.
46717         (__ASSUME_O_CLOEXEC): Likewise.
46718         (__ASSUME_SOCK_CLOEXEC): Likewise.
46719         (__ASSUME_IN_NONBLOCK): Likewise.
46720         (__ASSUME_PIPE2): Likewise.
46721         (__ASSUME_EVENTFD2): Likewise.
46722         (__ASSUME_SIGNALFD4): Likewise.
46723         (__ASSUME_DUP3): Likewise.
46724         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46725         (__ASSUME_O_CLOEXEC): Likewise.
46726         (__ASSUME_SOCK_CLOEXEC): Likewise.
46727         (__ASSUME_IN_NONBLOCK): Likewise.
46728         (__ASSUME_PIPE2): Likewise.
46729         (__ASSUME_EVENTFD2): Likewise.
46730         (__ASSUME_SIGNALFD4): Likewise.
46731         (__ASSUME_DUP3): Likewise.
46732         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46733         (__ASSUME_EVENTFD2): Likewise.
46734         (__ASSUME_SIGNALFD4): Likewise.
46735         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46737 2014-05-12  Andreas Schwab  <schwab@suse.de>
46739         [BZ #16932]
46740         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46741         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46742         than maximum RPC packet size.
46743         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46744         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46745         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46746         (_nss_nis_getservbyport_r): Likewise.
46748 2014-05-12  Will Newton  <will.newton@linaro.org>
46750         * malloc/Makefile (tests): Add tst-mallopt.
46751         * malloc/tst-mallopt.c: New file.
46753 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46755         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46756         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46758 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46760         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46761         (tst-tlsmod6.so): Likewise.
46763 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46765         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46767 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46769         [BZ #16064]
46770         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46771         and <dl-procinfo.h>.
46772         (__fegetenv): Save SSE state in envp->__eip if supported.
46773         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46774         envp->__eip if supported.
46775         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46776         and <dl-procinfo.h>.
46777         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46778         __data_offset and __data_selector in environment to 0.  Set SSE
46779         state if supported.
46780         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46781         test-fenv-sse.
46782         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46783         -mfpmath=sse.
46784         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46786 2014-05-09  Will Newton  <will.newton@linaro.org>
46788         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46789         and libc_relro_required for ARM.
46790         * sysdeps/arm/preconfigure: Regenerate.
46792 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46793             Stefan Liebler  <stli@linux.vnet.ibm.com>
46795         * config.make.in (enable-lock-elision): New Makefile variable.
46796         * configure.ac: Likewise.
46797         * configure: Regenerate.
46798         * sysdeps/s390/configure.ac:
46799         Add check for gcc transactions support.
46800         * sysdeps/s390/configure: Regenerate.
46801         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46802         Build elision files if enabled.
46803         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46804         Add lock elision support for s390.
46805         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46806         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46807         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46808         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46809         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46810         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46812         Likewise.
46813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46814         Likewise.
46815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46816         Likewise.
46817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46818         Likewise.
46819         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46820         (__lll_timedlock_elision, __lll_lock_elision)
46821         (__lll_unlock_elision, __lll_trylock_elision)
46822         (lll_timedlock_elision, lll_lock_elision)
46823         (lll_unlock_elision, lll_trylock_elision): Add.
46824         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46825         (pthread_mutex_t): Add lock elision support for s390.
46827 2014-05-14  Wilco  <wdijkstr@arm.com>
46829         * sysdeps/arm/fclrexcpt.c: Cleanup.
46830         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46831         * sysdeps/arm/feenablxcpt.c: Cleanup.
46832         * sysdeps/arm/fegetenv.c: Cleanup.
46833         * sysdeps/arm/fegetexcept.c: Cleanup.
46834         * sysdeps/arm/fegetround.c: Cleanup.
46835         * sysdeps/arm/feholdexcpt.c: Cleanup.
46836         * sysdeps/arm/fesetenv.c: Cleanup.
46837         * sysdeps/arm/fesetround.c: Cleanup.
46838         * sysdeps/arm/feupdateenv.c: Cleanup.
46839         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46840         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46841         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46842         * sysdeps/arm/ftestexcept.c: Cleanup.
46843         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46844         * sysdeps/arm/setfpucw.c: Cleanup.
46846 2014-05-09  Will Newton  <will.newton@linaro.org>
46848         * sysdeps/arm/armv7/strcmp.S: New file.
46849         * NEWS: Mention addition of ARMv7 optimized strcmp.
46851 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46853         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46854         look for %.ac rather than %.in.
46856         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46857         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46858         * sysdeps/mach/hurd/configure: Regenerated.
46859         * sysdeps/unix/sysv/linux/configure: Regenerated.
46861         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46863 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46865         [BZ #16922]
46866         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46867         (LONG_SUB): Ditto.
46868         (PTR_SUB): Ditto.
46870 2014-05-07  Andreas Schwab  <schwab@suse.de>
46872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46873         when skipping over non-matching result from nscd.
46875 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46877         [BZ #16876]
46878         * nptl/sockperf.c (client): Check socket return value.
46880         [BZ #16877]
46881         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46882         nscd security class.
46884 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46886         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46887         * sysdeps/arm/unwind.h: ... here.
46889 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46891         [BZ #16916]
46892         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46893         Define.
46895 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46897         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46898         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46899         multiarch strncpy for PPC64.
46900         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46901         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46903         multiarch optimizations.
46904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46905         (__libc_ifunc_impl_list): Likewise.
46906         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46907         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46908         multiarch stpncpy for PPC64.
46909         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46910         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46912 2014-05-06  Andreas Schwab  <schwab@suse.de>
46914         [BZ #16912]
46915         * gmon/mcount.c (_MCOUNT_DECL): Use
46916         atomic_compare_and_exchange_bool_acq instead of
46917         catomic_compare_and_exchange_bool_acq.
46919 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46921         * elf/Makefile (others, install-bin): Remove pldd.
46922         (pldd-modules): Variable removed.
46923         ($(objpfx)pldd): Target removed.
46924         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46925         (others, install-bin): Append pldd here.
46926         ($(objpfx)pldd): New target.
46928         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46929         to 0, so the first #if test emitted later doesn't see it undefined.
46930         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46931         * sysdeps/gnu/errlist.c: Regenerated.
46933 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46935         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46936         [libc_hidden_builtin_def]: Define to empty value.
46937         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46938         [libc_hidden_builtin_def]: Likewise.
46939         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46940         [libc_hidden_builtin_def]: Likewise.
46941         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46942         [libc_hidden_builtin_def]: Likewise.
46943         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46944         __redirect_memcpy and define ifunc as default hidden symbol.
46945         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46946         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46948 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46950         * locale/iso-4217.def: Reintroduce XDR currency.
46952 2014-05-04  Allan McRae  <allan@archlinux.org>
46954         * po/eo.po: Update Esperanto translation from translation project.
46956 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46958         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46959         and FEATURE_INDEX_MAX to 1.
46960         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46962 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46964         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46965         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46966         * iconvdata/big5.c (ONE_DIRECTION): Define.
46967         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46968         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46969         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46970         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46971         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46972         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46973         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46974         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46975         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46976         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46977         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46978         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46979         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46980         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46981         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46982         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46983         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46984         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46985         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46986         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46987         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46988         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46989         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46990         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46991         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46992         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46993         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46994         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46995         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46996         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46997         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46998         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46999         * iconvdata/johab.c (ONE_DIRECTION): Define.
47000         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47001         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47002         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47003         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47004         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47005         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47006         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47007         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47008         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47009         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47011 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47013         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47014         (_IO_JUMPS_OFFSET): Define to 0.
47016         * nptl/sysdeps/pthread/bits/libc-lock.h
47017         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47018         (__libc_lock_define_initialized_recursive): Always define using
47019         initializer.  Modern compilers treat uninitialized (implicit zero) and
47020         explicit zero initializers the same (i.e. put the datum in bss).
47022 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47024         * nscd/nscd-client.h: Include <string.h>.
47026 2014-05-01  David S. Miller  <davem@davemloft.net>
47028         [BZ #16885]
47029         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47030         multiple zero bytes exist at the end of a string.
47031         Reported by Aurelien Jarno <aurelien@aurel32.net>
47033         * string/test-strcmp.c (check): Add explicit test for situations where
47034         there are multiple zero bytes after the first.
47036 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47038         [BZ #16890]
47039         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47040         when compiling wprintf.
47041         * stdio-common/tstdiomisc.c (t3): New function.
47042         (main): Call it.
47044 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47046         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47047         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47048         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47049         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47051 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47053         * stdlib/longlong.h: Updated from GCC.
47055 2014-05-01  Will Newton  <will.newton@linaro.org>
47056             Bernard Ogden  <bernie.ogden@linaro.org>
47058         * NEWS: Update fixed bug list.
47060         [BZ #15119]
47061         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47063 2014-04-30  David S. Miller  <davem@davemloft.net>
47065         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47066         (libc_feholdexcept_setround_sparc_ctx): New function.
47067         (libc_fesetenv_sparc_ctx): Likewise.
47068         (libc_feupdateenv_sparc_ctx): Likewise.
47069         (libc_feholdsetround_sparc_ctx): Likewise.
47070         (libc_feholdexcept_setround_ctx): Define.
47071         (libc_feholdexcept_setroundf_ctx): Likewise.
47072         (libc_feholdexcept_setroundl_ctx): Likewise.
47073         (libc_fesetenv_ctx): Likewise.
47074         (libc_fesetenvf_ctx): Likewise.
47075         (libc_fesetenvl_ctx): Likewise.
47076         (libc_feupdateenv_ctx): Likewise.
47077         (libc_feupdateenvf_ctx): Likewise.
47078         (libc_feupdateenvl_ctx): Likewise.
47079         (libc_feresetround_ctx): Likewise.
47080         (libc_feresetroundf_ctx): Likewise.
47081         (libc_feresetroundl_ctx): Likewise.
47082         (libc_feholdsetround_ctx): Likewise.
47083         (libc_feholdsetroundf_ctx): Likewise.
47084         (libc_feholdsetroundl_ctx): Likewise.
47086         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47087         with __USE_GNU instead of XOPEN cpp guards.
47089         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47090         0.
47092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47093         with XOPEN cpp guards.
47095 2014-04-30  Julian Brown  <julian@codesourcery.com>
47097         [BZ #16888]
47098         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47099         handling.
47101 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47103         [BZ #9894]
47104         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47105         Change to 2.6.32.
47106         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47107         * sysdeps/unix/sysv/linux/configure: Regenerated.
47108         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47109         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47110         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47111         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47112         * README: Update reference to required Linux kernel version.
47113         * manual/install.texi (Linux): Update reference to required Linux
47114         kernel headers version.
47115         * INSTALL: Regenerated.
47117         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47118         header inclusion.
47119         [POSIX] (limits.h): Likewise.
47120         [POSIX] (math.h): Likewise.
47121         [POSIX] (sys/wait.h): Likewise.
47122         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47123         function.
47124         [POSIX] (stddef.h): Do not allow header inclusion.
47126 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47128         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47130 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47132         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47133         Return immediately after lll_futex_wake.
47135 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47137         [BZ #16791]
47138         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47139         structure.
47140         (datahead_init_pos): Call datahead_init_common early.
47141         (datahead_init_neg): Likewise.
47143         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47144         datahead_init_neg): New functions.
47145         * nscd/aicache.c (addhstaiX): Use them.
47146         * nscd/grpcache.c (cache_addgr): Likewise.
47147         * nscd/hstcache.c (cache_addhst): Likewise.
47148         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47149         * nscd/netgroupcache.c (do_notfound): Likewise.
47150         (addgetnetgrentX): Likewise.
47151         (addinnetgrX): Likewise.
47152         * nscd/pwdcache.c (cache_addpw): Likewise.
47153         * nscd/servicescache.c (cache_addserv): Likewise.
47155 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47156             Atsushi Onoe  <atsushi@onoe.org>
47158         [BZ #14308]
47159         [BZ #12994]
47160         [BZ #13651]
47161         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47162         one response is valid.
47163         * resolv/res_send.c (send_dg): Check for validity of other
47164         response if the current response is a referral.
47166 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47168         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47170 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47172         [BZ #16823]
47173         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47174         Always divide by positive zero when computing -Inf result.
47175         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47176         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47178 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47180         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47181         FPSCR if value do not change.
47182         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47183         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47184         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47185         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47186         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47187         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47188         function.
47190 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47192         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47193         * sysdeps/unix/sysv/linux/hppa: Move directory from
47194         ports/systeps/unix/sysv/linux/hppa.
47195         * README: Update listing for hppa-*-linux-gnu.
47197 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47199         [BZ #16754]
47200         * manual/stdio.texi (Hook functions): Fix types of stream hook
47201         functions.
47202         [BZ #16854]
47203         * socket/sys/socket.h: Fix typo in comment.
47205 2014-04-28  Wilco  <wdijkstr@arm.com>
47207         * sysdeps/arm/fenv_private.h: New file.
47208         * sysdeps/arm/math_private.h: New file.
47209         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47211 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47213         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47214         with __int128_t.
47215         (La_x86_64_retval): Likewise.
47217 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47219         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47220         fpsr if value didn't change.
47221         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47222         to fpcr if value didn't change.
47223         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47224         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47225         fpsr or fpcr if value didn't change.
47226         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47227         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47228         fpcr if value didn't change.
47229         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47230         to fpsr if value didn't change.
47232 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47234         * nptl/tst-sem3.c: Use test-skeleton.c
47235         (main): Rename to do_test.  Use return instead of
47236         exit.
47237         * nptl/tst-sem4.c: Use test-skeleton.c
47238         (main): Rename to do_test.
47240 2014-04-22  David S. Miller  <davem@davemloft.net>
47242         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47243         (struct sigaction): New struct member __glibc_reserved0, change
47244         type of sa_flags to int.
47246 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47248         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47249         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47251 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47253         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47254         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47256 2014-04-22  Will Newton  <will.newton@linaro.org>
47257             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47259         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47260         (__longjmp): Add longjmp and longjmp_target SystemTap
47261         probes.
47262         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47263         (__sigsetjmp): Add setjmp SystemTap probe.
47265 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47267         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47268         match manual order.
47270 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47272         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47274         * sysdeps/powerpc/fpu/fenv_private.h
47275         (libc_feholdexcept_setroundl_ctx): Define to
47276         libc_feholdexcept_setround_ppc_ctx.
47277         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47278         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47279         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47280         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47282 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47284         * sysdeps/aarch64/math-tests.h: New file.
47286 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47288         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47289         New.
47290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47291         Check and set bit_AVX2_Usable.
47292         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47293         macro.
47294         (bit_AVX2): Likewise.
47295         (index_AVX2_Usable): Likewise.
47296         (CPUID_AVX2): Likewise.
47297         (HAS_AVX2): Likewise.
47299 2014-04-17  Will Newton  <will.newton@linaro.org>
47301         * manual/setjmp.texi (System V contexts): Add note that
47302         calling setcontext on a context created by a call to a
47303         signal handler is undefined.  Update text to note that
47304         setcontext from a signal handler is possible but not
47305         recommended.
47307         [BZ #16629]
47308         * stdlib/tst-setcontext.c: Include signal.h.
47309         (main): Check that the signal stack before and
47310         after swapcontext is the same.
47312         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47313         Re-implement to restore registers in user code and avoid
47314         rt_sigreturn system call.
47316 2014-04-17  Wilco  <wdijkstr@arm.com>
47318         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47319         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47320         * math/test-fenv.c: Skip exception trap tests on targets which only
47321         support non-stop mode.
47323 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47324             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47326         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47327         (libc_feholdsetround_aarch64_ctx)
47328         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47329         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47330         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47331         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47332         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47333         (libc_feresetround_noexl_ctx): Define.
47335 2014-04-16  Richard Henderson  <rth@redhat.com>
47337         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47339         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47340         unwind tables.
47342         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47343         const from the non-libc, non-ldso copy.
47345         * sysdeps/alpha/libm-test-ulps: Regenerate.
47347 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47348             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47350         * sysdeps/aarch64/fpu/math_private.h: New file.
47352 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47354         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47356 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47358         [BZ #16275]
47359         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47360         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47361         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47362         Intel MPX bound registers before _dl_profile_fixup.
47363         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47364         registers after _dl_profile_fixup.  Save and restore bound
47365         registers bnd0/bnd1 when calling _dl_call_pltexit.
47366         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47367         (LR_BND_OFFSET): Likewise.
47368         (LRV_BND0_OFFSET): Likewise.
47369         (LRV_BND1_OFFSET): Likewise.
47371 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47373         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47374         to...
47375         * sysdeps/mach/hurd/i386/tls.h: ... here.
47376         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47377         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47378         fields.
47380 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47382         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47384 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47386         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47388 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47390         [BZ #14770]
47391         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47392         * sysdeps/s390/configure: Regenerate.
47394         [BZ #16824]
47395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47396         Set round-to-nearest internally to reduce error accumulation.
47398 2014-04-16  Alan Modra  <amodra@gmail.com>
47400         [BZ #16740]
47401         [BZ #16619]
47402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47403         * math/libm-test.inc (frexp_test_data): Add tests.
47404         * NEWS: Update fixed bug list.
47406 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47408         * benchtests/Makefile: Depend on libraries in build directory.
47409         (bench-math): Separate out math tests.
47410         (bench-pthread): Separate out pthread tests.
47411         (bench): Include math and pthread tests.
47413 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47415         [BZ #16831]
47416         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47417         _dl_debug_initialize.
47419         * configure.ac: Remove SELinux header check.
47420         * configure: Regenerate.
47421         * nscd/selinux.c (perms): Array of const char* to permission names.
47422         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47423         default policy. Call string_to_security_class and string_to_av_perm to
47424         translate strings. Enforce default policy and call avs_has_perm with
47425         results of translated strings.
47427 2014-04-13  David S. Miller  <davem@davemloft.net>
47429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47431 2014-04-12  Allan McRae  <allan@archlinux.org>
47433         [BZ #16838]
47434         * manual/string.texi (Collation Functions): Fix qsort argument
47435         order in example.
47436         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47438 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47440         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47441         Make the test a no-op if there are no exceptions defined.
47443 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47445         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47446         enable-hardcoded-path-in-tests
47448 2014-04-11  Will Newton  <will.newton@linaro.org>
47450         * benchtests/Makefile (extra-objs): Add json-lib.o.
47451         (bench-func): Tidy up JSON output.
47452         * benchtests/bench-skeleton.c: Include json-lib.h.
47453         (main): Use JSON library functions to do output of
47454         benchmark results.
47455         * benchtests/bench-timing-type.c (main): Output the
47456         timing type simply, leaving formatting to the user.
47457         * benchtests/json-lib.c: New file.
47458         * benchtests/json-lib.h: Likewise.
47460 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47462         [BZ #15215]
47463         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47464         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47465         memory barriers.  Add comments.
47466         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47467         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47468         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47469         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47470         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47471         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47473 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47475         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47476         * sysdeps/s390/s390-64/configure.ac: ... this ...
47477         * sysdeps/s390/configure.ac: ... to here.
47478         * sysdeps/s390/s390-32/configure: Delete file.
47479         * sysdeps/s390/s390-64/configure: Delete file.
47480         * sysdeps/s390/configure: Regenerate.
47482 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47484         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47486 2014-04-11  Will Newton  <will.newton@linaro.org>
47488         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47489         to zero if it is not defined elsewhere.  (mtrim): Test
47490         the value of MALLOC_DEBUG with #if rather than #ifdef.
47492 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47494         * benchtests/pthread_once-inputs: New file.
47495         * benchtests/pthread_once-source.c: New file.
47496         * benchtests/README: Update documentation.
47498 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47499             H.J. Lu  <hongjiu.lu@intel.com>
47501         [BZ #16275]
47502         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47503         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47504         * sysdeps/x86_64/configure: Regenerated.
47505         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47506         macro.
47507         (REGISTER_SAVE_RAX): Likewise.
47508         (REGISTER_SAVE_RCX): Likewise.
47509         (REGISTER_SAVE_RDX): Likewise.
47510         (REGISTER_SAVE_RSI): Likewise.
47511         (REGISTER_SAVE_RDI): Likewise.
47512         (REGISTER_SAVE_R8): Likewise.
47513         (REGISTER_SAVE_R9): Likewise.
47514         (REGISTER_SAVE_BND0): Likewise.
47515         (REGISTER_SAVE_BND1): Likewise.
47516         (REGISTER_SAVE_BND2): Likewise.
47517         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47518         bound registers when calling _dl_fixup.
47520 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47522         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47523         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47524         of its definition.
47525         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47526         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47527         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47528         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47529         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47530         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47531         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47533 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47535         [BZ #15514]
47536         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47537         pathconf(_PC_NAME_MAX).
47539 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47541         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47542         Remove macro usage.
47543         (__PTHREAD_SPINS): Move definition to ...
47544         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47545         (__PTHREAD_SPINS): ... here.
47546         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47547         (__PTHREAD_SPIN): Likewise.
47548         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47549         (__PTHREAD_SPIN): Likewise.
47550         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47551         (__PTHREAD_SPIN): Likewise.
47552         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47553         (__PTHREAD_SPIN): Likewise.
47554         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47555         (__PTHREAD_SPIN): Likewise.
47556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47557         (__PTHREAD_SPIN): Likewise.
47558         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47559         (__PTHREAD_SPIN): Likewise.
47560         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47561         (__PTHREAD_SPIN): Likewise.
47562         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47563         (__PTHREAD_SPIN): Likewise.
47564         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47565         (__PTHREAD_SPIN): Likewise.
47566         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47567         (__PTHREAD_SPIN): Likewise.
47568         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47569         (__PTHREAD_SPIN): Likewise.
47571         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47572         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47573         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47574         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47575         imply folder.
47576         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47577         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47578         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47579         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47580         correct imply path.
47581         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47582         strlen symbol for non multi-arch builds.
47583         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47584         missing hidden_def and weak_alias.
47586 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47588         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47590 2014-04-07  Will Newton  <will.newton@linaro.org>
47592         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47593         and contents.  [!_LIBC] Remove #ifndef and contents.
47594         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47595         * string/memccpy.c (__memccpy): Use ANSI prototype.
47596         * string/memfrob.c (memfrob): Likewise.
47597         * string/strcoll.c (STRCOLL): Likewise.
47598         * string/strlen.c (strlen): Likewise.
47599         * string/strtok.c (STRTOK): Likewise.
47600         * string/strcat.c: Remove unused #include of memcopy.h.
47601         (strcat): Use ANSI prototype.
47602         * string/strchr.c: Remove unused #include of memcopy.h.
47603         (strchr): Use ANSI prototype.
47604         * string/strcmp.c: Remove unused #include of memcopy.h.
47605         (strcmp): Use ANSI prototype.
47606         * string/strcpy.c: Remove unused #include of memcopy.h.
47607         (strcpy): Use ANSI prototype.
47609 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47611         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47612         * config.make.in (config-extra-cppflags): Set it from
47613         libc_extra_cppflags.
47614         * configure.ac (libc_extra_cflags): Make it accumulate over
47615         configure fragments.
47616         (libc_extra_cppflags): New flag.
47617         * configure. Regenerate.
47618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47619         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47620         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47623         [BZ #16815]
47624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47625         result for FE_DOWNWARD rounding mode.
47626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47627         Likewise.
47628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47630 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47632         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47633         in function argument name.
47635 2014-04-03  David Svoboda  <svoboda@cert.org>
47637         [BZ #5666]
47638         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47639         explicitly.
47641 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47643         * elf/dl-unmap-segments.h: New file.
47644         * sysdeps/generic/ldsodefs.h
47645         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47646         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47647         * elf/dl-fptr.c: Likewise.
47648         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47649         * sysdeps/aarch64/tlsdesc.c: Likewise.
47650         * sysdeps/arm/tlsdesc.c: Likewise.
47651         * sysdeps/i386/tlsdesc.c: Likewise.
47652         * sysdeps/tile/dl-runtime.c: Likewise.
47653         * sysdeps/x86_64/tlsdesc.c: Likewise.
47654         * elf/dl-load.h: New file.
47655         * elf/dl-load.c: Include it.
47656         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47657         Macros moved to dl-load.h.
47658         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47659         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47660         Use _dl_unmap_segments in place of __munmap.
47661         Break out segment-mapping loop into ...
47662         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47664 2014-04-03  Will Newton  <will.newton@linaro.org>
47666         * elf/dl-lookup.c (do_lookup_x): Remove comment
47667         referring to nested function and move variable
47668         declarations down to before first use.
47670 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47672         [BZ #16799]
47673         [BZ #16800]
47674         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47675         with 0 numerator.
47676         * math/s_catanf.c (__catanf): Likewise.
47677         * math/s_catanh.c (__catanh): Likewise.
47678         * math/s_catanhf.c (__catanhf): Likewise.
47679         * math/s_catanhl.c (__catanhl): Likewise.
47680         * math/s_catanl.c (__catanl): Likewise.
47681         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47682         by positive zero when computing -Inf result.
47683         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47684         (catanh_test): Likewise.
47685         * sysdeps/i386/fpu/libm-test-ulps: Update.
47686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47688         [BZ #16789]
47689         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47690         instead of using underflowing value in computing result.
47691         * math/s_clog10.c (__clog10): Likewise.
47692         * math/s_clog10f.c (__clog10f): Likewise.
47693         * math/s_clog10l.c (__clog10l): Likewise.
47694         * math/s_clogf.c (__clogf): Likewise.
47695         * math/s_clogl.c (__clogl): Likewise.
47696         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47697         (clog10_test): Likewise.
47698         * sysdeps/i386/fpu/libm-test-ulps: Update.
47699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47701 2014-04-02  Alan Modra  <amodra@gmail.com>
47703         [BZ #16739]
47704         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47705         output when value is near a power of two.  Use int64_t for lx and
47706         remove casts.  Use decimal rather than hex exponent constants.
47707         Don't use long double multiplication when double will suffice.
47708         * math/libm-test.inc (nextafter_test_data): Add tests.
47709         * NEWS: Add 16739 and 16786 to bug list.
47711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47713         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47715 2014-04-01  Will Newton  <will.newton@linaro.org>
47717         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47718         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47720 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47722         [BZ #13347]
47723         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47724         * nptl/tst-setuid2.c: New file.
47725         * nptl/Makefile (xtests): Add tst-setuid2.
47727 2014-04-01  Alan Modra  <amodra@gmail.com>
47729         [BZ #16786]
47730         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47732 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47734         [BZ #6803]
47735         [BZ #6804]
47736         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47737         set errno as appropriate.
47738         * math/w_scalbf.c (__scalbf): Likewise.
47739         * math/w_scalbl.c (__scalbl): Likewise.
47740         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47741         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47742         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47743         Add more NaN tests.
47745         [BZ #16349]
47746         * math/w_atan2.c: Include <errno.h>.
47747         (__atan2): Set errno for result underflowing to zero.
47748         * math/w_atan2f.c: Include <errno.h>.
47749         (__atan2f): Set errno for result underflowing to zero.
47750         * math/w_atan2l.c: Include <errno.h>.
47751         (__atan2l): Set errno for result underflowing to zero.
47752         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47753         tests.
47754         * math/auto-libm-test-out: Regenerated.
47756 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47758         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47759         Encode instruction correctly in little endian.
47760         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47761         Likewise.
47762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47763         Likewise.
47764         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47765         Likewise.
47766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47767         Likewise.
47769 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47771         [BZ #9894]
47772         * sysdeps/unix/sysv/linux/kernel-features.h
47773         [__sparc__ && !__arch64__ && !__sparc_v9__]
47774         (__ASSUME_SET_ROBUST_LIST): Do not define.
47775         [__sparc__ && !__arch64__ && !__sparc_v9__]
47776         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47777         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47778         Likewise.
47779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47780         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47781         (__ASSUME_REQUEUE_PI): Likewise.
47782         (__ASSUME_SET_ROBUST_LIST): Likewise.
47783         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47784         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47785         Undefine.
47786         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47787         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47788         Likewise.
47789         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47790         Likewise.
47791         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47792         Likewise.
47793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47794         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47795         Undefine.
47796         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47797         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47798         Likewise.
47800         [BZ #16648]
47801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47803         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47805 2014-03-31  Will Newton  <will.newton@linaro.org>
47807         * benchtests/Makefile (bench): Add ffs and ffsll to list
47808         of tests.
47809         * benchtests/ffs-inputs: New file.
47810         * benchtests/ffsll-inputs: Likewise.
47812 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47814         [BZ #16770]
47815         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47816         too large before casting to int.
47817         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47818         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47819         * math/libm-test.inc (scalb_test_data): Add more tests.
47821 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47823         * benchtests/Makefile (DETAILED_OPT): New make option.
47824         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47825         set.
47826         * benchtests/bench-skeleton.c: Include stdbool.h.
47827         (main): Store and print timings per input.
47828         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47829         member to each argument value.
47830         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47831         (_print_arg_data): Initialize per-input timing to 0.
47833         * benchtests/Makefile (timing-type): New binary.
47834         (bench-clean): Also remove bench-timing-type.
47835         (bench): New target for timing-type.
47836         (bench-func): Print output in JSON format.
47837         * benchtests/bench-skeleton.c (main): Print output in JSON
47838         format.
47839         * benchtests/bench-timing-type.c: New file.
47840         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47841         (TIMING_PRINT_STATS): Remove.
47842         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47843         name separately.
47845         * benchtests/bench-modf.c: Remove.
47846         * benchtests/modf-inputs: New inputs file.
47848 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47850         [BZ #16362]
47851         * math/s_clog10.c (M_PI_LOG10E): New macro.
47852         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47853         imaginary parts are 0.
47854         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47855         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47856         imaginary parts are 0.
47857         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47858         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47859         imaginary parts are 0.
47860         * math/libm-test.inc (clog10_test_data): Update expected results
47861         for when real and imaginary parts are 0.
47863 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47865         * elf/dl-load.c: Finish conversion of __builtin_expect into
47866         __glibc_{un}likely.
47868 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47870         [BZ #16348]
47871         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47872         1+x for argument with exponent below -67.
47873         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47874         Likewise.
47875         * math/auto-libm-test-in: Add more tests of exp.
47876         * math/auto-libm-test-out: Regenerated.
47878 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47880         [BZ #16759]
47881         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47882         (nscd_getnetgrent): Use it.
47884         [BZ #16760]
47885         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47886         of stpcpy.
47888 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47890         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47891         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47892         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47893         (lll_robust_unlock): Remove out of line section. Use cfi
47894         intrinsics.
47895         (LLL_STUB_UNWIND_INFO*): Remove.
47896         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47897         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47898         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47899         (lll_robust_unlock): Remove out of line section. Use cfi
47900         intrinsics.
47901         (LLL_STUB_UNWIND_INFO*): Remove.
47903 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47905         [BZ #16758]
47906         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47907         blank values.
47909 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47911         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47913 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47915         [BZ #16198]
47916         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47917         fnstenv.
47918         * math/test-fenv-preserve.c: New file.
47919         * math/Makefile (tests): Add test-fenv-preserve.
47921 2014-03-26  Will Newton <will.newton@linaro.org>
47923         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47925 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47927         * scripts/versionlist.awk: Partition the version sets and emit all
47928         GLIBC_* (sorted) before all others (sorted).
47930 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47932         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47933         GLIBC_2.2.5 version.
47935 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47937         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47938         calls.
47940         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47941         previous change.
47943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47945 2014-03-25  Andreas Schwab  <schwab@suse.de>
47947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47948         label to be used after in6ailist is initialized.
47950 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47952         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47953         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47955 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47957         [BZ #16357]
47958         [BZ #16599]
47959         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47960         min_plus_half.
47961         (fp_formats): Update initializers.
47962         (init_fp_formats): Initialize new field.
47963         (output_for_one_input_case): Allow underflow for results up to
47964         min_plus_half.
47965         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47966         * math/auto-libm-test-in: Don't mark some underflows from asin and
47967         atanh as spurious.
47968         * math/auto-libm-test-out: Regenerated.
47969         * sysdeps/i386/fpu/libm-test-ulps: Update.
47970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47972 2014-03-25  Andreas Schwab  <schwab@suse.de>
47974         * libio/Makefile (tst-ftell-partial-wide-ENV)
47975         (tst-ftell-active-handler-ENV): Define.
47977 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47979         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47981 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47983         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47985 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47987         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47988         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47989         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47991 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47993         [BZ #16634]
47994         * elf/dl-load.c (open_verify): Add mode parameter.
47995         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47996         (open_path): Change from boolean 'secure' to complete flag 'mode'
47997         (_dl_map_object): Adjust.
47998         * elf/Makefile (tests): Add tst-dlopen-aout.
47999         * elf/tst-dlopen-aout.c: New test.
48001 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48003         [BZ #16714]
48004         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48005         (struct stat): Rename member pad0 to __glibc_reserved0.
48007         [BZ #16712]
48008         * sysdeps/s390/s390-32/bits/wordsize.h
48009         (__WORDSIZE32_SIZE_ULONG): New define.
48010         * sysdeps/s390/s390-64/bits/wordsize.h
48011         (__WORDSIZE32_SIZE_ULONG): Likewise.
48012         * sysdeps/generic/stdint.h (SIZE_MAX):
48013         Define as UL if __WORDSIZE32_SIZE_ULONG.
48015         [BZ #16713]
48016         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48017         (__glibc_reserved0): New variable.
48018         (sa_flags): Change type to int.
48020         * posix/Makefile (before-compile): Use += before-compile instead
48021         of a :=.
48023         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48024         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48026 2014-03-20  Andreas Schwab  <schwab@suse.de>
48028         [BZ #16743]
48029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48030         non-matching result from nscd.
48032 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48034         * scripts/bench.py: Moved to ...
48035         * benchtests/scripts/bench.py: ... here.
48036         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48038 2014-03-24  Andreas Schwab  <schwab@suse.de>
48040         [BZ #16002]
48041         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48042         alloca_account and account alloca use for struct in6ailist.
48044 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48046         [BZ #16284]
48047         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48048         rounding mode to recompute results that overflow to infinity or
48049         underflow to zero.
48050         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48051         bug 16284.
48052         * math/auto-libm-test-out: Regenerated.
48053         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48054         (ccosh_test): Likewise.
48055         (csin_test_data): Use plus_oflow.
48056         (csin_test): Use ALL_RM_TEST.
48057         (csinh_test_data): Use plus_oflow.
48058         (csinh_test): Use ALL_RM_TEST.
48059         * sysdeps/i386/fpu/libm-test-ulps: Update.
48060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48062 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48064         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48065         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48066         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48068         [BZ #16731]
48069         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48070         when x - 1 is zero.
48071         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48072         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48073         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48075         argument is 1.
48076         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48077         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48078         zero.
48079         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48080         * sysdeps/i386/fpu/libm-test-ulps: Update.
48081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48083 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48085         * scripts/bench.pl: Remove file.
48086         * scripts/bench.py: New benchmark script.
48087         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48088         * benchtests/README: Mention python dependency.
48089         * scripts/pylintrc: New file.
48090         * scripts/pylint: New file.
48092         * bits/mathdef.h: Use #ifdef instead of #if.
48093         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48094         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48095         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48096         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48097         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48098         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48100 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48101             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48103         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48105         and strpbrk-ppc64 objects.
48106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48107         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48108         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48109         multiarch strpbrk for POWER7.
48110         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48111         multiarch strpbrk for PPC64.
48112         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48113         ifunc selector.
48114         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48115         strpbrk for POWER7.
48117 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48119         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48120         (atan_test): Likewise.
48121         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48122         (atanh_test): Use ALL_RM_TEST.
48123         (atan2_test_data): Likewise.
48124         (cabs_test): Likewise.
48125         (cacosh_test): Likewise.
48126         (carg_test): Likewise.
48127         (casin_test): Likewise.
48128         (casinh_test): Likewise.
48129         (cbrt_test): Likewise.
48130         (csqrt_test): Likewise.
48131         (erf_test): Likewise.
48132         (erfc_test): Likewise.
48133         (pow10_test): Likewise.
48134         (exp2_test): Likewise.
48135         (hypot_test): Likewise.
48136         (j0_test): Likewise.
48137         (j1_test): Likewise.
48138         (lgamma_test): Likewise.
48139         (gamma_test): Likewise.
48140         (sincos_test): Likewise.
48141         (tanh_test): Likewise.
48142         (y0_test): Likewise.
48143         (y1_test): Likewise.
48144         * sysdeps/i386/fpu/libm-test-ulps: Update.
48145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48147 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48149         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48151         and strcspn-ppc64 objects.
48152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48153         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48154         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48155         multiarch strcspn for POWER7.
48156         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48157         multiarch strcspn for PPC64.
48158         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48159         ifunc selector.
48160         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48161         strcspn for POWER7.
48163 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48165         * math/gen-libm-test.pl (generate_testfile): Expect only function
48166         name as argument to AUTO_TESTS_* and pass results for all rounding
48167         modes to parse_args.
48168         (parse_auto_input): Separate inputs of automatic tests from
48169         outputs before storing in %auto_tests.
48170         * math/libm-test.inc (acos_test_data): Update call to
48171         AUTO_TESTS_f_f.
48172         (acos_test): Use ALL_RM_TEST.
48173         (acos_tonearest_test_data): Remove.
48174         (acos_test_tonearest): Likewise.
48175         (acos_towardzero_test_data): Likewise.
48176         (acos_test_towardzero): Likewise.
48177         (acos_downward_test_data): Likewise.
48178         (acos_test_downward): Likewise.
48179         (acos_upward_test_data): Likewise.
48180         (acos_test_upward): Likewise.
48181         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48182         (asin_test_data): Likewise.
48183         (asin_test): Use ALL_RM_TEST.
48184         (asin_tonearest_test_data): Remove.
48185         (asin_test_tonearest): Likewise.
48186         (asin_towardzero_test_data): Likewise.
48187         (asin_test_towardzero): Likewise.
48188         (asin_downward_test_data): Likewise.
48189         (asin_test_downward): Likewise.
48190         (asin_upward_test_data): Likewise.
48191         (asin_test_upward): Likewise.
48192         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48193         (atan_test_data): Likewise.
48194         (atanh_test_data): Likewise.
48195         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48196         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48197         (carg_test_data): Likewise.
48198         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48199         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48200         (ccosh_test_data): Likewise.
48201         (cexp_test_data): Likewise.
48202         (clog_test_data): Likewise.
48203         (clog10_test_data): Likewise.
48204         (cos_test_data): Update call to AUTO_TESTS_f_f.
48205         (cos_test): Use ALL_RM_TEST.
48206         (cos_tonearest_test_data): Remove.
48207         (cos_test_tonearest): Likewise.
48208         (cos_towardzero_test_data): Likewise.
48209         (cos_test_towardzero): Likewise.
48210         (cos_downward_test_data): Likewise.
48211         (cos_test_downward): Likewise.
48212         (cos_upward_test_data): Likewise.
48213         (cos_test_upward): Likewise.
48214         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48215         (cosh_test): Use ALL_RM_TEST.
48216         (cosh_tonearest_test_data): Remove.
48217         (cosh_test_tonearest): Likewise.
48218         (cosh_towardzero_test_data): Likewise.
48219         (cosh_test_towardzero): Likewise.
48220         (cosh_downward_test_data): Likewise.
48221         (cosh_test_downward): Likewise.
48222         (cosh_upward_test_data): Likewise.
48223         (cosh_test_upward): Likewise.
48224         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48225         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48226         (ctan_test_data): Likewise.
48227         (ctan_test): Use ALL_RM_TEST.
48228         (ctan_tonearest_test_data): Remove.
48229         (ctan_test_tonearest): Likewise.
48230         (ctan_towardzero_test_data): Likewise.
48231         (ctan_test_towardzero): Likewise.
48232         (ctan_downward_test_data): Likewise.
48233         (ctan_test_downward): Likewise.
48234         (ctan_upward_test_data): Likewise.
48235         (ctan_test_upward): Likewise.
48236         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48237         (ctanh_test): Use ALL_RM_TEST.
48238         (ctanh_tonearest_test_data): Remove.
48239         (ctanh_test_tonearest): Likewise.
48240         (ctanh_towardzero_test_data): Likewise.
48241         (ctanh_test_towardzero): Likewise.
48242         (ctanh_downward_test_data): Likewise.
48243         (ctanh_test_downward): Likewise.
48244         (ctanh_upward_test_data): Likewise.
48245         (ctanh_test_upward): Likewise.
48246         (erf_test_data): Update call to AUTO_TESTS_f_f.
48247         (erfc_test_data): Likewise.
48248         (exp_test_data): Likewise.
48249         (exp_test): Use ALL_RM_TEST.
48250         (exp_tonearest_test_data): Remove.
48251         (exp_test_tonearest): Likewise.
48252         (exp_towardzero_test_data): Likewise.
48253         (exp_test_towardzero): Likewise.
48254         (exp_downward_test_data): Likewise.
48255         (exp_test_downward): Likewise.
48256         (exp_upward_test_data): Likewise.
48257         (exp_test_upward): Likewise.
48258         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48259         (exp10_test): Use ALL_RM_TEST.
48260         (exp10_tonearest_test_data): Remove.
48261         (exp10_test_tonearest): Likewise.
48262         (exp10_towardzero_test_data): Likewise.
48263         (exp10_test_towardzero): Likewise.
48264         (exp10_downward_test_data): Likewise.
48265         (exp10_test_downward): Likewise.
48266         (exp10_upward_test_data): Likewise.
48267         (exp10_test_upward): Likewise.
48268         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48269         (expm1_test_data): Likewise.
48270         (expm1_test): Use ALL_RM_TEST.
48271         (expm1_tonearest_test_data): Remove.
48272         (expm1_test_tonearest): Likewise.
48273         (expm1_towardzero_test_data): Likewise.
48274         (expm1_test_towardzero): Likewise.
48275         (expm1_downward_test_data): Likewise.
48276         (expm1_test_downward): Likewise.
48277         (expm1_upward_test_data): Likewise.
48278         (expm1_test_upward): Likewise.
48279         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48280         (fma_test): Use ALL_RM_TEST.
48281         (fma_towardzero_test_data): Remove.
48282         (fma_test_towardzero): Likewise.
48283         (fma_downward_test_data): Likewise.
48284         (fma_test_downward): Likewise.
48285         (fma_upward_test_data): Likewise.
48286         (fma_test_upward): Likewise.
48287         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48288         (j0_test_data): Update call to AUTO_TESTS_f_f.
48289         (j1_test_data): Likewise.
48290         (jn_test_data): Update call to AUTO_TESTS_if_f.
48291         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48292         (log_test_data): Update call to AUTO_TESTS_f_f.
48293         (log10_test_data): Likewise.
48294         (log1p_test_data): Likewise.
48295         (log2_test_data): Likewise.
48296         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48297         (pow_tonearest_test_data): Likewise.
48298         (sin_test_data): Update call to AUTO_TESTS_f_f.
48299         (sin_test): Use ALL_RM_TEST.
48300         (sin_tonearest_test_data): Remove.
48301         (sin_test_tonearest): Likewise.
48302         (sin_towardzero_test_data): Likewise.
48303         (sin_test_towardzero): Likewise.
48304         (sin_downward_test_data): Likewise.
48305         (sin_test_downward): Likewise.
48306         (sin_upward_test_data): Likewise.
48307         (sin_test_upward): Likewise.
48308         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48309         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48310         (sinh_test): Use ALL_RM_TEST.
48311         (sinh_tonearest_test_data): Remove.
48312         (sinh_test_tonearest): Likewise.
48313         (sinh_towardzero_test_data): Likewise.
48314         (sinh_test_towardzero): Likewise.
48315         (sinh_downward_test_data): Likewise.
48316         (sinh_test_downward): Likewise.
48317         (sinh_upward_test_data): Likewise.
48318         (sinh_test_upward): Likewise.
48319         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48320         (sqrt_test): Use ALL_RM_TEST.
48321         (sqrt_tonearest_test_data): Remove.
48322         (sqrt_test_tonearest): Likewise.
48323         (sqrt_towardzero_test_data): Likewise.
48324         (sqrt_test_towardzero): Likewise.
48325         (sqrt_downward_test_data): Likewise.
48326         (sqrt_test_downward): Likewise.
48327         (sqrt_upward_test_data): Likewise.
48328         (sqrt_test_upward): Likewise.
48329         (tan_test_data): Update call to AUTO_TESTS_f_f.
48330         (tan_test): Use ALL_RM_TEST.
48331         (tan_tonearest_test_data): Remove.
48332         (tan_test_tonearest): Likewise.
48333         (tan_towardzero_test_data): Likewise.
48334         (tan_test_towardzero): Likewise.
48335         (tan_downward_test_data): Likewise.
48336         (tan_test_downward): Likewise.
48337         (tan_upward_test_data): Likewise.
48338         (tan_test_upward): Likewise.
48339         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48340         (tgamma_test_data): Likewise.
48341         (y0_test_data): Likewise.
48342         (y1_test_data): Likewise.
48343         (yn_test_data): Update call to AUTO_TESTS_if_f.
48344         (main): Do not call removed functions.
48346 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48348         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48349         (ldexp_test_data): Remove.
48350         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48351         scalbn_test_data.
48352         (scalb_test): Use ALL_RM_TEST.
48354 2014-03-19  Andreas Schwab  <schwab@suse.de>
48356         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48358 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48360         [BZ #16649]
48361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48362         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48363         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48364         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48365         (__ASSUME_PREADV): Undefine.
48366         (__ASSUME_PWRITEV): Likewise.
48368 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48370         * bits/mman-linux.h: Add comment about non-Linux use.
48371         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48372         bits/mman-linux.h resting place.
48374         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48375         * bits/mman-linux.h: ... here.
48377 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48379         * conform/conformtest.pl: Add standard definition when calling C
48380         preprocessor on data files.
48381         (checknamespace): Remove unused variable.
48383 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48385         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48386         minus_oflow, plus_uflow and minus_uflow in expected results.
48387         * math/libm-test.inc (scalbn_test_data): Add more tests of
48388         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48389         minus_uflow.
48390         (scalbn_test): Use ALL_RM_TEST.
48391         (scalbln_test_data): Add more tests of negative arguments.  Use
48392         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48393         (scalbln_test): Use ALL_RM_TEST.
48395 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48397         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48399 2014-03-18  Will Newton  <will.newton@linaro.org>
48401         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48402         inaccurate comment.
48404 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48406         * Makerules [!subdir] (check-abi): Exit with error status if a
48407         test failed.
48409 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48411         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48412         for rint.  Include results for all rounding modes.
48413         (nearbyint_test): Use ALL_RM_TEST.
48414         (rint_test_data): Include all tests used for nearbyint.
48416 2014-03-17  Will Newton  <will.newton@linaro.org>
48418         * nptl/sysdeps/pthread/pthread.h: Revert previous
48419         change.
48421         * sysdeps/generic/ldsodefs.h: Revert previous
48422         change.
48424         * libio/genops.c: Revert previous change.
48425         * libio/libioP.h: Likewise.
48426         * stdio-common/vfprintf.c: Likewise.
48428         * sysdeps/generic/math_private.h: Revert previous
48429         change.
48431         * sysdeps/generic/math_private.h: Check whether
48432         HAVE_RM_CTX is defined with #ifdef rather
48433         than #if.
48435         * argp/argp-fmtstream.h: Check whether
48436         __STRICT_ANSI__ is defined with #ifdef rather
48437         than #if.
48438         * argp/argp.h: Likewise.
48440         * libio/genops.c: Check whether
48441         _IO_JUMPS_OFFSET is defined with #ifdef rather
48442         than #if.
48443         * libio/libioP.h: Likewise.
48444         * stdio-common/vfprintf.c: Likewise.
48446         * sysdeps/generic/ldsodefs.h: Check whether
48447         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48448         than #if.
48450         * nptl/sysdeps/pthread/pthread.h: Check
48451         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48452         its value.
48454 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48456         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48457         setting O_APPEND.
48458         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48459         test case.
48461         [BZ #16680]
48462         * libio/fileops.c (_IO_file_open): Seek to end of file but
48463         don't cache the offset.
48464         (get_file_offset): Remove function.
48465         (do_ftell): Use cached offset when available.
48466         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48467         don't cache the offset.
48468         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48469         case.
48470         (do_one_test): Call it.
48471         (do_ftell_test): Fix up expected old offset for a+ mode.
48472         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48473         available.
48475         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48476         up test status with function return status.
48477         (do_write_test): Likewise.
48478         (do_append_test): Likewise.
48480         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48481         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48482         Remove.
48484 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48486         * math/gen-libm-test.pl (parse_args): Handle results specified for
48487         each rounding mode separately.
48488         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48489         tests and results from lrint_tonearest_test_data,
48490         lrint_towardzero_test_data, lrint_downward_test_data and
48491         lrint_upward_test_data.
48492         (lrint_test): Use ALL_RM_TEST.
48493         (lrint_tonearest_test_data): Remove.
48494         (lrint_test_tonearest): Likewise.
48495         (lrint_towardzero_test_data): Likewise.
48496         (lrint_test_towardzero): Likewise.
48497         (lrint_downward_test_data): Likewise.
48498         (lrint_test_downward): Likewise.
48499         (lrint_upward_test_data): Likewise.
48500         (lrint_test_upward): Likewise.
48501         (llrint_test_data): Merge in per-rounding-mode tests and results
48502         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48503         llrint_downward_test_data and llrint_upward_test_data.
48504         (llrint_test): Use ALL_RM_TEST.
48505         (llrint_tonearest_test_data): Remove.
48506         (llrint_test_tonearest): Likewise.
48507         (llrint_towardzero_test_data): Likewise.
48508         (llrint_test_towardzero): Likewise.
48509         (llrint_downward_test_data): Likewise.
48510         (llrint_test_downward): Likewise.
48511         (llrint_upward_test_data): Likewise.
48512         (llrint_test_upward): Likewise.
48513         (rint_test_data): Merge in per-rounding-mode tests and results
48514         from rint_tonearest_test_data, rint_towardzero_test_data,
48515         rint_downward_test_data and rint_upward_test_data.  Add
48516         per-rounding-mode results for tests not in those arrays.
48517         (rint_test): Use ALL_RM_TEST.
48518         (rint_tonearest_test_data): Remove.
48519         (rint_test_tonearest): Likewise.
48520         (rint_towardzero_test_data): Likewise.
48521         (rint_test_towardzero): Likewise.
48522         (rint_downward_test_data): Likewise.
48523         (rint_test_downward): Likewise.
48524         (rint_upward_test_data): Likewise.
48525         (rint_test_upward): Likewise.
48526         (main): Don't call removed functions.
48528 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48530         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48531         "Compiled on ..." crapola.  It is anti-useful.
48533 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48535         * scripts/evaluate-test.sh: Handle fourth argument to determine
48536         whether test run should stop on failure.
48537         * Makeconfig (stop-on-test-failure): New variable.
48538         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48539         $(stop-on-test-failure).
48540         * Makefile (tests): Give a summary of results from testing and
48541         exit with failure status if they include an ERROR or FAIL.
48542         (xtests): Likewise.
48543         * manual/install.texi (Configuring and compiling): Mention
48544         stop-on-test-failure=y.
48545         * INSTALL: Regenerated.
48547 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48549         * scripts/versionlist.awk: New file.
48550         * Makerules [$(build-shared) = yes]
48551         (postclean-generated): Add Versions.def, not Versions.def.v and
48552         Versions.def.v.i.
48553         ($(common-objpfx)Versions.def.v.i): Target removed.
48554         ($(common-objpfx)Versions.def): New target.
48555         ($(common-objpfx)Versions.all): Depend on that rather that
48556         $(common-objpfx)Versions.def.v.
48557         * Versions.def: File removed.
48559         * Makeconfig (+gccwarn): Add -Wundef.
48560         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48561         a dl-sysdep.h breaking its contract.
48562         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48563         * include/stackinfo.h: New file.
48564         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48565         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48566         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48567         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48568         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48569         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48570         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48571         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48572         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48573         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48574         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48575         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48576         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48577         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48578         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48580 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48582         [BZ #16707]
48583         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48584         implementation.
48585         * math/libm-test.inc (round_test_data): Add more tests.
48587         [BZ #16706]
48588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48589         implementation.
48590         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48592         [BZ #16701]
48593         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48594         implementation.
48595         * math/libm-test.inc (ceil_test_data): Add more tests.
48597         * math/libm-test.inc (trunc_test_data): Add more tests related to
48598         BZ#16414.
48600 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48602         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48603         with #if rather than #ifdef.
48604         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48606 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48608         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48609         first.  Disable AVX-512 GCC support if assembler doesn't support
48610         it.
48611         * sysdeps/x86_64/configure: Regenerated.
48613 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48615         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48616         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48617         (__old_pthread_attr_setstack): Likewise.
48618         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48619         [!_STACK_GROWS_DOWN]: Likewise.
48621 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48623         * config.make.in (have-bash2): Delete.
48624         * configure.ac (libc_cv_have_bash2): Delete.
48625         * configure: Regenerate.
48626         * elf/Makefile (common-ldd-rewrite): Rename to ...
48627         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48628         (sh-ldd-rewrite): Delete.
48629         (bash-ldd-rewrite): Delete.
48630         (have-bash2): Delete checks.
48631         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48632         ldd-rewrite.
48634         * config.make.in (have-ksh): Delete.
48635         (KSH): Delete.
48636         * configure.ac (libc_cv_have_ksh): Delete.
48637         * configure: Regenerate.
48639         * elf/Makefile: Delete $(have-ksh) check.
48640         ($(objpfx)sotruss): Change KSH to BASH.
48641         * elf/sotruss.ksh: Rename to ...
48642         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48643         function style to match POSIX.  Drop ksh vim mode setting.
48645         * manual/time.texi (Specifying the Time Zone with TZ): Change
48646         Tuesday to Thursday.
48648         * debug/tst-longjmp_chk2.c: Update header comment.
48649         (stackoverflow_handler): Add comment.  Call assert on pass value.
48651 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48653         [BZ #16194]
48654         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48655         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48656         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48657         (La_x86_64_vector): Add zmm.
48658         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48659         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48660         ($(objpfx)tst-audit10): New target.
48661         ($(objpfx)tst-audit10.out): Likewise.
48662         (tst-audit10-ENV): New.
48663         (AVX512-CFLAGS): Likewise.
48664         (CFLAGS-tst-audit10.c): Likewise.
48665         (CFLAGS-tst-auditmod10a.c): Likewise.
48666         (CFLAGS-tst-auditmod10b.c): Likewise.
48667         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48668         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48669         * sysdeps/x86_64/configure: Regenerated.
48670         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48671         AVX-512 zmm register support.
48672         (_dl_x86_64_save_sse): Likewise.
48673         (_dl_x86_64_restore_sse): Likewise.
48674         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48675         size vector registers.
48676         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48677         (ZMM_SIZE): Likewise.
48678         * sysdeps/x86_64/tst-audit10.c: New file.
48679         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48680         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48682 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48684         * configure.ac (HAVE_EHDR_START): New check.
48685         * configure: Regenerated.
48686         * config.h.in (HAVE_EHDR_START): New #undef.
48687         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48688         assuming the lowest-addressed segment maps the start of the file.
48690 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48692         * INSTALL: Regenerated.
48694 2014-03-13  Will Newton  <will.newton@linaro.org>
48696         * manual/setjmp.texi (System V contexts): Improve
48697         clarity and grammar of documentation.
48699 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48701         [BZ #16381]
48702         * elf/Makefile (tests): Add tst-pie2.
48703         (tests-pie): Add tst-pie2.
48704         * elf/tst-pie2.c: New file.
48705         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48706         for ET_EXEC.
48707         * elf/rtld.c (map_doit): Load executable as lt_executable.
48708         (dl_main): Likewise.
48710 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48712         [BZ #16642]
48713         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48714         (__ASSUME_PSELECT): Undefine.
48716 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48718         [BZ #16689]
48719         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48720         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48721         static build.
48722         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48723         selector for static builds.
48725 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48727         [BZ #16695]
48728         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48729         key in the buffer.
48731 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48733         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48734         IFUNC selector for static builds.
48736 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48738         * sysdeps/mips/math_private.h [__mips_hard_float]
48739         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48740         libc_feresetround_mips_ctx.
48741         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48742         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48743         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48745         [BZ #16677]
48746         * math/s_nextafter.c (__nextafter): Do not return value from
48747         overflowing computation.
48748         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48749         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48751         Likewise.
48752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48753         Likewise.
48754         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48755         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48757 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48759         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48760         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48761         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48762         the new mov targetting sp.
48764 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48766         [BZ #16683]
48767         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48768         Define it for static builds as well.
48769         (NO_BZERO_IMPL): Likewise.
48771 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48773         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48774         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48775         multiarch strspn for PPC64.
48776         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48777         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48779         (__libc_ifunc_impl_list): Likewise.
48780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48781         multiarch optimizations
48782         * string/strspn.c (strspn): Using macro to redefine symbol name.
48784 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48785             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48787         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48788         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48789         multiarch strncat for PPC64.
48790         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48791         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48792         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48793         (__libc_ifunc_impl_list): Likewise.
48794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48795         multiarch optimizations
48797 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48799         [BZ #16639]
48800         * nscd/nscd.service: Make service type forking.
48802 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48804         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48805         sign in non default rounding modes.
48806         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48808 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48810         * math/libm-test.inc (ALL_RM_TEST): New macro.
48811         (ceil_test): Use ALL_RM_TEST.
48812         (cimag_test): Likewise.
48813         (conj_test): Likewise.
48814         (copysign_test): Likewise.
48815         (cproj_test): Likewise.
48816         (creal_test): Likewise.
48817         (fabs_test): Likewise.
48818         (floor_test): Likewise.
48819         (fmax_test): Likewise.
48820         (fmin_test): Likewise.
48821         (fmod_test): Likewise.
48822         (fpclassify_test): Likewise.
48823         (frexp_test): Likewise.
48824         (ilogb_test): Likewise.
48825         (isfinite_test): Likewise.
48826         (finite_test): Likewise.
48827         (isgreater_test): Likewise.
48828         (isgreaterequal_test): Likewise.
48829         (isinf_test): Likewise.
48830         (isless_test): Likewise.
48831         (islessequal_test): Likewise.
48832         (islessgreater_test): Likewise.
48833         (isnan_test): Likewise.
48834         (isnormal_test): Likewise.
48835         (issignaling_test): Likewise.
48836         (isunordered_test): Likewise.
48837         (logb_test): Likewise.
48838         (logb_downward_test_data): Remove.
48839         (logb_test_downward): Likewise.
48840         (lround_test): Use ALL_RM_TEST.
48841         (llround_test): Likewise.
48842         (modf_test): Likewise.
48843         (nexttoward_test): Likewise.
48844         (remainder_test): Likewise.
48845         (drem_test): Likewise.
48846         (remainder_tonearest_test_data): Likewise.
48847         (remainder_test_tonearest): Likewise.
48848         (drem_test_tonearest): Likewise.
48849         (remainder_towardzero_test_data): Likewise.
48850         (remainder_test_towardzero): Likewise.
48851         (drem_test_towardzero): Likewise.
48852         (remainder_downward_test_data): Likewise.
48853         (remainder_test_downward): Likewise.
48854         (drem_test_downward): Likewise.
48855         (remainder_upward_test_data): Likewise.
48856         (remainder_test_upward): Likewise.
48857         (drem_test_upward): Likewise.
48858         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48859         (round_test): Use ALL_RM_TEST.
48860         (signbit_test): Likewise.
48861         (trunc_test): Likewise.
48862         (significand_test): Likewise.
48863         (main): Don't call removed functions.
48865 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48867         [BZ #16674]
48868         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48869         || __USE_XOPEN2K8].
48870         (ILL_ILLOPN): Likewise.
48871         (ILL_ILLADR): Likewise.
48872         (ILL_ILLTRP): Likewise.
48873         (ILL_PRVOPC): Likewise.
48874         (ILL_PRVREG): Likewise.
48875         (ILL_COPROC): Likewise.
48876         (ILL_BADSTK): Likewise.
48877         (FPE_INTDIV): Likewise.
48878         (FPE_INTOVF): Likewise.
48879         (FPE_FLTDIV): Likewise.
48880         (FPE_FLTOVF): Likewise.
48881         (FPE_FLTUND): Likewise.
48882         (FPE_FLTRES): Likewise.
48883         (FPE_FLTINV): Likewise.
48884         (FPE_FLTSUB): Likewise.
48885         (SEGV_MAPERR): Likewise.
48886         (SEGV_ACCERR): Likewise.
48887         (BUS_ADRALN): Likewise.
48888         (BUS_ADRERR): Likewise.
48889         (BUS_OBJERR): Likewise.
48890         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48891         (TRAP_TRACE): Likewise.
48892         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48893         __USE_XOPEN2K8].
48894         (CLD_KILLED): Likewise.
48895         (CLD_DUMPED): Likewise.
48896         (CLD_TRAPPED): Likewise.
48897         (CLD_STOPPED): Likewise.
48898         (CLD_CONTINUED): Likewise.
48899         (POLL_IN): Likewise.
48900         (POLL_OUT): Likewise.
48901         (POLL_MSG): Likewise.
48902         (POLL_ERR): Likewise.
48903         (POLL_PRI): Likewise.
48904         (POLL_HUP): Likewise.
48905         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48906         Likewise.
48907         (ILL_ILLOPN): Likewise.
48908         (ILL_ILLADR): Likewise.
48909         (ILL_ILLTRP): Likewise.
48910         (ILL_PRVOPC): Likewise.
48911         (ILL_PRVREG): Likewise.
48912         (ILL_COPROC): Likewise.
48913         (ILL_BADSTK): Likewise.
48914         (FPE_INTDIV): Likewise.
48915         (FPE_INTOVF): Likewise.
48916         (FPE_FLTDIV): Likewise.
48917         (FPE_FLTOVF): Likewise.
48918         (FPE_FLTUND): Likewise.
48919         (FPE_FLTRES): Likewise.
48920         (FPE_FLTINV): Likewise.
48921         (FPE_FLTSUB): Likewise.
48922         (SEGV_MAPERR): Likewise.
48923         (SEGV_ACCERR): Likewise.
48924         (BUS_ADRALN): Likewise.
48925         (BUS_ADRERR): Likewise.
48926         (BUS_OBJERR): Likewise.
48927         (BUS_MCEERR_AR): Likewise.
48928         (BUS_MCEERR_AO): Likewise.
48929         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48930         (TRAP_TRACE): Likewise.
48931         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48932         __USE_XOPEN2K8].
48933         (CLD_KILLED): Likewise.
48934         (CLD_DUMPED): Likewise.
48935         (CLD_TRAPPED): Likewise.
48936         (CLD_STOPPED): Likewise.
48937         (CLD_CONTINUED): Likewise.
48938         (POLL_IN): Likewise.
48939         (POLL_OUT): Likewise.
48940         (POLL_MSG): Likewise.
48941         (POLL_ERR): Likewise.
48942         (POLL_PRI): Likewise.
48943         (POLL_HUP): Likewise.
48944         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48945         (ILL_ILLOPN): Likewise.
48946         (ILL_ILLADR): Likewise.
48947         (ILL_ILLTRP): Likewise.
48948         (ILL_PRVOPC): Likewise.
48949         (ILL_PRVREG): Likewise.
48950         (ILL_COPROC): Likewise.
48951         (ILL_BADSTK): Likewise.
48952         (FPE_INTDIV): Likewise.
48953         (FPE_INTOVF): Likewise.
48954         (FPE_FLTDIV): Likewise.
48955         (FPE_FLTOVF): Likewise.
48956         (FPE_FLTUND): Likewise.
48957         (FPE_FLTRES): Likewise.
48958         (FPE_FLTINV): Likewise.
48959         (FPE_FLTSUB): Likewise.
48960         (SEGV_MAPERR): Likewise.
48961         (SEGV_ACCERR): Likewise.
48962         (BUS_ADRALN): Likewise.
48963         (BUS_ADRERR): Likewise.
48964         (BUS_OBJERR): Likewise.
48965         (BUS_MCEERR_AR): Likewise.
48966         (BUS_MCEERR_AO): Likewise.
48967         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48968         (TRAP_TRACE): Likewise.
48969         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48970         __USE_XOPEN2K8].
48971         (CLD_KILLED): Likewise.
48972         (CLD_DUMPED): Likewise.
48973         (CLD_TRAPPED): Likewise.
48974         (CLD_STOPPED): Likewise.
48975         (CLD_CONTINUED): Likewise.
48976         (POLL_IN): Likewise.
48977         (POLL_OUT): Likewise.
48978         (POLL_MSG): Likewise.
48979         (POLL_ERR): Likewise.
48980         (POLL_PRI): Likewise.
48981         (POLL_HUP): Likewise.
48982         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48983         Likewise.
48984         (ILL_ILLOPN): Likewise.
48985         (ILL_ILLADR): Likewise.
48986         (ILL_ILLTRP): Likewise.
48987         (ILL_PRVOPC): Likewise.
48988         (ILL_PRVREG): Likewise.
48989         (ILL_COPROC): Likewise.
48990         (ILL_BADSTK): Likewise.
48991         (ILL_BADIADDR): Likewise.
48992         (ILL_BREAK): Likewise.
48993         (FPE_INTDIV): Likewise.
48994         (FPE_INTOVF): Likewise.
48995         (FPE_FLTDIV): Likewise.
48996         (FPE_FLTOVF): Likewise.
48997         (FPE_FLTUND): Likewise.
48998         (FPE_FLTRES): Likewise.
48999         (FPE_FLTINV): Likewise.
49000         (FPE_FLTSUB): Likewise.
49001         (FPE_DECOVF): Likewise.
49002         (FPE_DECDIV): Likewise.
49003         (FPE_DECERR): Likewise.
49004         (FPE_INVASC): Likewise.
49005         (FPE_INVDEC): Likewise.
49006         (SEGV_MAPERR): Likewise.
49007         (SEGV_ACCERR): Likewise.
49008         (SEGV_PSTKOVF): Likewise.
49009         (BUS_ADRALN): Likewise.
49010         (BUS_ADRERR): Likewise.
49011         (BUS_OBJERR): Likewise.
49012         (BUS_MCEERR_AR): Likewise.
49013         (BUS_MCEERR_AO): Likewise.
49014         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49015         (TRAP_TRACE): Likewise.
49016         (TRAP_BRANCH): Likewise.
49017         (TRAP_HWBKPT): Likewise.
49018         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49019         __USE_XOPEN2K8].
49020         (CLD_KILLED): Likewise.
49021         (CLD_DUMPED): Likewise.
49022         (CLD_TRAPPED): Likewise.
49023         (CLD_STOPPED): Likewise.
49024         (CLD_CONTINUED): Likewise.
49025         (POLL_IN): Likewise.
49026         (POLL_OUT): Likewise.
49027         (POLL_MSG): Likewise.
49028         (POLL_ERR): Likewise.
49029         (POLL_PRI): Likewise.
49030         (POLL_HUP): Likewise.
49031         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49032         (ILL_ILLOPN): Likewise.
49033         (ILL_ILLADR): Likewise.
49034         (ILL_ILLTRP): Likewise.
49035         (ILL_PRVOPC): Likewise.
49036         (ILL_PRVREG): Likewise.
49037         (ILL_COPROC): Likewise.
49038         (ILL_BADSTK): Likewise.
49039         (FPE_INTDIV): Likewise.
49040         (FPE_INTOVF): Likewise.
49041         (FPE_FLTDIV): Likewise.
49042         (FPE_FLTOVF): Likewise.
49043         (FPE_FLTUND): Likewise.
49044         (FPE_FLTRES): Likewise.
49045         (FPE_FLTINV): Likewise.
49046         (FPE_FLTSUB): Likewise.
49047         (SEGV_MAPERR): Likewise.
49048         (SEGV_ACCERR): Likewise.
49049         (BUS_ADRALN): Likewise.
49050         (BUS_ADRERR): Likewise.
49051         (BUS_OBJERR): Likewise.
49052         (BUS_MCEERR_AR): Likewise.
49053         (BUS_MCEERR_AO): Likewise.
49054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49055         (TRAP_TRACE): Likewise.
49056         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49057         __USE_XOPEN2K8].
49058         (CLD_KILLED): Likewise.
49059         (CLD_DUMPED): Likewise.
49060         (CLD_TRAPPED): Likewise.
49061         (CLD_STOPPED): Likewise.
49062         (CLD_CONTINUED): Likewise.
49063         (POLL_IN): Likewise.
49064         (POLL_OUT): Likewise.
49065         (POLL_MSG): Likewise.
49066         (POLL_ERR): Likewise.
49067         (POLL_PRI): Likewise.
49068         (POLL_HUP): Likewise.
49069         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49070         (ILL_ILLOPN): Likewise.
49071         (ILL_ILLADR): Likewise.
49072         (ILL_ILLTRP): Likewise.
49073         (ILL_PRVOPC): Likewise.
49074         (ILL_PRVREG): Likewise.
49075         (ILL_COPROC): Likewise.
49076         (ILL_BADSTK): Likewise.
49077         (FPE_INTDIV): Likewise.
49078         (FPE_INTOVF): Likewise.
49079         (FPE_FLTDIV): Likewise.
49080         (FPE_FLTOVF): Likewise.
49081         (FPE_FLTUND): Likewise.
49082         (FPE_FLTRES): Likewise.
49083         (FPE_FLTINV): Likewise.
49084         (FPE_FLTSUB): Likewise.
49085         (SEGV_MAPERR): Likewise.
49086         (SEGV_ACCERR): Likewise.
49087         (BUS_ADRALN): Likewise.
49088         (BUS_ADRERR): Likewise.
49089         (BUS_OBJERR): Likewise.
49090         (BUS_MCEERR_AR): Likewise.
49091         (BUS_MCEERR_AO): Likewise.
49092         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49093         (TRAP_TRACE): Likewise.
49094         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49095         __USE_XOPEN2K8].
49096         (CLD_KILLED): Likewise.
49097         (CLD_DUMPED): Likewise.
49098         (CLD_TRAPPED): Likewise.
49099         (CLD_STOPPED): Likewise.
49100         (CLD_CONTINUED): Likewise.
49101         (POLL_IN): Likewise.
49102         (POLL_OUT): Likewise.
49103         (POLL_MSG): Likewise.
49104         (POLL_ERR): Likewise.
49105         (POLL_PRI): Likewise.
49106         (POLL_HUP): Likewise.
49107         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49108         (ILL_ILLOPN): Likewise.
49109         (ILL_ILLADR): Likewise.
49110         (ILL_ILLTRP): Likewise.
49111         (ILL_PRVOPC): Likewise.
49112         (ILL_PRVREG): Likewise.
49113         (ILL_COPROC): Likewise.
49114         (ILL_BADSTK): Likewise.
49115         (FPE_INTDIV): Likewise.
49116         (FPE_INTOVF): Likewise.
49117         (FPE_FLTDIV): Likewise.
49118         (FPE_FLTOVF): Likewise.
49119         (FPE_FLTUND): Likewise.
49120         (FPE_FLTRES): Likewise.
49121         (FPE_FLTINV): Likewise.
49122         (FPE_FLTSUB): Likewise.
49123         (SEGV_MAPERR): Likewise.
49124         (SEGV_ACCERR): Likewise.
49125         (BUS_ADRALN): Likewise.
49126         (BUS_ADRERR): Likewise.
49127         (BUS_OBJERR): Likewise.
49128         (BUS_MCEERR_AR): Likewise.
49129         (BUS_MCEERR_AO): Likewise.
49130         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49131         (TRAP_TRACE): Likewise.
49132         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49133         __USE_XOPEN2K8].
49134         (CLD_KILLED): Likewise.
49135         (CLD_DUMPED): Likewise.
49136         (CLD_TRAPPED): Likewise.
49137         (CLD_STOPPED): Likewise.
49138         (CLD_CONTINUED): Likewise.
49139         (POLL_IN): Likewise.
49140         (POLL_OUT): Likewise.
49141         (POLL_MSG): Likewise.
49142         (POLL_ERR): Likewise.
49143         (POLL_PRI): Likewise.
49144         (POLL_HUP): Likewise.
49145         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49146         (ILL_ILLOPN): Likewise.
49147         (ILL_ILLADR): Likewise.
49148         (ILL_ILLTRP): Likewise.
49149         (ILL_PRVOPC): Likewise.
49150         (ILL_PRVREG): Likewise.
49151         (ILL_COPROC): Likewise.
49152         (ILL_BADSTK): Likewise.
49153         (ILL_DBLFLT): Likewise.
49154         (ILL_HARDWALL): Likewise.
49155         (FPE_INTDIV): Likewise.
49156         (FPE_INTOVF): Likewise.
49157         (FPE_FLTDIV): Likewise.
49158         (FPE_FLTOVF): Likewise.
49159         (FPE_FLTUND): Likewise.
49160         (FPE_FLTRES): Likewise.
49161         (FPE_FLTINV): Likewise.
49162         (FPE_FLTSUB): Likewise.
49163         (SEGV_MAPERR): Likewise.
49164         (SEGV_ACCERR): Likewise.
49165         (BUS_ADRALN): Likewise.
49166         (BUS_ADRERR): Likewise.
49167         (BUS_OBJERR): Likewise.
49168         (BUS_MCEERR_AR): Likewise.
49169         (BUS_MCEERR_AO): Likewise.
49170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49171         (TRAP_TRACE): Likewise.
49172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49173         __USE_XOPEN2K8].
49174         (CLD_KILLED): Likewise.
49175         (CLD_DUMPED): Likewise.
49176         (CLD_TRAPPED): Likewise.
49177         (CLD_STOPPED): Likewise.
49178         (CLD_CONTINUED): Likewise.
49179         (POLL_IN): Likewise.
49180         (POLL_OUT): Likewise.
49181         (POLL_MSG): Likewise.
49182         (POLL_ERR): Likewise.
49183         (POLL_PRI): Likewise.
49184         (POLL_HUP): Likewise.
49185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49186         (ILL_ILLOPN): Likewise.
49187         (ILL_ILLADR): Likewise.
49188         (ILL_ILLTRP): Likewise.
49189         (ILL_PRVOPC): Likewise.
49190         (ILL_PRVREG): Likewise.
49191         (ILL_COPROC): Likewise.
49192         (ILL_BADSTK): Likewise.
49193         (FPE_INTDIV): Likewise.
49194         (FPE_INTOVF): Likewise.
49195         (FPE_FLTDIV): Likewise.
49196         (FPE_FLTOVF): Likewise.
49197         (FPE_FLTUND): Likewise.
49198         (FPE_FLTRES): Likewise.
49199         (FPE_FLTINV): Likewise.
49200         (FPE_FLTSUB): Likewise.
49201         (SEGV_MAPERR): Likewise.
49202         (SEGV_ACCERR): Likewise.
49203         (BUS_ADRALN): Likewise.
49204         (BUS_ADRERR): Likewise.
49205         (BUS_OBJERR): Likewise.
49206         (BUS_MCEERR_AR): Likewise.
49207         (BUS_MCEERR_AO): Likewise.
49208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49209         (TRAP_TRACE): Likewise.
49210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49211         __USE_XOPEN2K8].
49212         (CLD_KILLED): Likewise.
49213         (CLD_DUMPED): Likewise.
49214         (CLD_TRAPPED): Likewise.
49215         (CLD_STOPPED): Likewise.
49216         (CLD_CONTINUED): Likewise.
49217         (POLL_IN): Likewise.
49218         (POLL_OUT): Likewise.
49219         (POLL_MSG): Likewise.
49220         (POLL_ERR): Likewise.
49221         (POLL_PRI): Likewise.
49222         (POLL_HUP): Likewise.
49223         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49224         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49226         [BZ #16670]
49227         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49228         before #include of <time.h>.
49229         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49230         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49231         (test-xfail-UNIX98/sched.h/conform): Likewise.
49233 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49235         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49236         error absence of trapping exception support.
49237         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49239 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49241         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49242         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49243         * timezone/Makefile (testdata): Move definition above include of
49244         Rules.
49245         (test-zones): New variable.
49246         (tests-special): Add zone files.
49247         (build-testdata): Use $(evaluate-test).
49249         * elf/Makefile (tests-special): Rename tests to end with .out.
49250         ($(objpfx)noload-mem): Likewise.
49251         ($(objpfx)tst-leaks1-mem): Likewise.
49252         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49253         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49254         $(objpfx)test-iconvconfig.out.
49255         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49256         set -e inside subshell and redirect output to file.
49257         * iconvdata/Makefile (generated): Rename tests to end with .out.
49258         Correct type.
49259         (tests-special): Rename tests to end with .out.
49260         ($(objpfx)mtrace-tst-loading): Likewise.
49261         * intl/Makefile (generated): Likewise.
49262         (tests-special): Likewise.
49263         ($(objpfx)mtrace-tst-gettext): Likewise.
49264         * misc/Makefile (generated): Likewise.
49265         (tests-special): Likewise.
49266         ($(objpfx)tst-error1-mem): Likewise.
49267         * nptl/Makefile (tests-special): Likewise.
49268         ($(objpfx)tst-stack3-mem): Likewise.
49269         (generated): Likewise.
49270         * posix/Makefile (generated): Likewise.
49271         (tests-special): Likewise.
49272         (xtests-special): Likewise.
49273         ($(objpfx)tst-fnmatch-mem): Likewise.
49274         ($(objpfx)bug-regex2-mem): Likewise.
49275         ($(objpfx)bug-regex14-mem): Likewise.
49276         ($(objpfx)bug-regex21-mem): Likewise.
49277         ($(objpfx)bug-regex31-mem): Likewise.
49278         ($(objpfx)tst-vfork3-mem): Likewise.
49279         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49280         ($(objpfx)tst-pcre-mem): Likewise.
49281         ($(objpfx)tst-boost-mem): Likewise.
49282         ($(objpfx)bug-ga2-mem): Likewise.
49283         ($(objpfx)bug-glob2-mem): Likewise.
49284         * resolv/Makefile (generate): Likewise.
49285         (tests-special): Likewise.
49286         (xtests-special): Likewise.
49287         (generated): Likewise.
49288         ($(objpfx)mtrace-tst-leaks): Likewise.
49289         ($(objpfx)mtrace-tst-leaks2): Likewise.
49291         * scripts/merge-test-results.sh: New file.
49292         * Makefile (tests-special-notdir): New variable.
49293         (tests): Run merge-test-results.sh.
49294         (xtests): Likewise.
49295         * Rules (tests-special-notdir): New variable.
49296         (xtests-special-notdir): Likewise.
49297         (tests): Run merge-test-results.sh
49298         (xtests): Likewise.
49300         * Makeconfig (test-xfail-name): New variable.
49301         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49302         compute variable name for expected failures.
49303         * conform/Makefile (conformtest-headers-data): New variable.
49304         (conformtest-standards): Likewise.
49305         (conformtest-headers-ISO): Likewise.
49306         (conformtest-headers-ISO99): Likewise.
49307         (conformtest-headers-ISO11): Likewise.
49308         (conformtest-headers-POSIX): Likewise.
49309         (conformtest-headers-XPG3): Likewise.
49310         (conformtest-headers-XPG4): Likewise.
49311         (conformtest-headers-UNIX98): Likewise.
49312         (conformtest-headers-XOPEN2K): Likewise.
49313         (conformtest-headers-POSIX2008): Likewise.
49314         (conformtest-headers-XOPEN2K8): Likewise.
49315         (conformtest-header-list-base): Likewise.
49316         (conformtest-header-list-tests): Likewise.
49317         (conformtest-header-base): Likewise.
49318         (conformtest-header-tests): Likewise.
49319         (tests-special): Add $(conformtest-header-list-tests).  If
49320         [$(fast-check) && !$(cross-compiling)], add
49321         $(conformtest-header-tests) instead of
49322         $(objpfx)run-conformtest.out.
49323         (generated): Add $(conformtest-header-list-base).  If
49324         [$(fast-check) && !$(cross-compiling)], add
49325         $(conformtest-header-base).  Remove previous setting.
49326         ($(conformtest-header-list-tests)): New target.
49327         (test-xfail-run-conformtest): Remove variable.
49328         ($(objpfx)run-conformtest.out): Remove target.
49329         (test-xfail-ISO11/complex.h/conform): New variable.
49330         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49331         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49332         (test-xfail-XPG3/varargs.h/conform): Likewise.
49333         (test-xfail-XPG4/varargs.h/conform): Likewise.
49334         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49335         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49336         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49337         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49338         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49339         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49340         (test-xfail-XPG3/ftw.h/conform): Likewise.
49341         (test-xfail-XPG3/grp.h/conform): Likewise.
49342         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49343         (test-xfail-XPG3/limits.h/conform): Likewise.
49344         (test-xfail-XPG3/pwd.h/conform): Likewise.
49345         (test-xfail-XPG3/search.h/conform): Likewise.
49346         (test-xfail-XPG3/signal.h/conform): Likewise.
49347         (test-xfail-XPG3/stdio.h/conform): Likewise.
49348         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49349         (test-xfail-XPG3/string.h/conform): Likewise.
49350         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49351         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49352         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49353         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49354         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49355         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49356         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49357         (test-xfail-XPG3/termios.h/conform): Likewise.
49358         (test-xfail-XPG3/time.h/conform): Likewise.
49359         (test-xfail-XPG3/unistd.h/conform): Likewise.
49360         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49361         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49362         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49363         (test-xfail-XPG4/netdb.h/conform): Likewise.
49364         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49365         (test-xfail-XPG4/signal.h/conform): Likewise.
49366         (test-xfail-XPG4/stdio.h/conform): Likewise.
49367         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49368         (test-xfail-XPG4/stropts.h/conform): Likewise.
49369         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49370         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49371         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49372         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49373         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49374         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49375         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49376         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49377         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49378         (test-xfail-XPG4/termios.h/conform): Likewise.
49379         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49380         (test-xfail-XPG4/unistd.h/conform): Likewise.
49381         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49382         (test-xfail-POSIX/sched.h/conform): Likewise.
49383         (test-xfail-POSIX/signal.h/conform): Likewise.
49384         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49385         (test-xfail-POSIX/tar.h/conform): Likewise.
49386         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49387         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49388         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49389         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49390         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49391         (test-xfail-UNIX98/sched.h/conform): Likewise.
49392         (test-xfail-UNIX98/signal.h/conform): Likewise.
49393         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49394         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49395         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49396         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49397         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49398         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49399         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49400         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49401         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49402         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49403         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49404         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49405         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49406         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49407         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49408         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49409         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49410         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49411         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49412         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49413         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49414         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49415         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49416         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49417         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49418         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49419         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49420         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49421         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49422         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49423         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49424         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49425         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49426         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49427         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49428         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49429         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49430         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49431         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49432         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49433         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49434         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49435         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49436         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49437         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49438         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49439         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49440         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49441         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49442         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49443         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49444         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49445         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49446         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49447         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49448         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49449         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49450         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49451         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49452         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49453         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49454         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49455         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49456         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49457         (conformtest-cc-flags): Likewise.
49458         ($(conformtest-header-tests): New target.
49459         * conform/check-header-lists.sh: New file.
49460         * conform/run-conformtest.sh: Remove.
49462         * conform/conformtest.pl: Allow ' and \ in values given for
49463         constants.
49464         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49465         inclusion.
49466         [POSIX] (sys/types.h): Likewise.
49467         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49468         inclusion.
49469         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49470         inclusion.
49471         * conform/data/signal.h-data (SIGIO): Remove expectation.
49472         [XPG3] (SIGBUS): Do not expect.
49473         [POSIX || XPG3] (SIGPOLL): Likewise.
49474         [POSIX || XPG3] (SIGPROF): Likewise.
49475         [POSIX || XPG3] (SIGSYS): Likewise.
49476         [XPG3] (SIGTRAP): Likewise.
49477         [POSIX || XPG3] (SIGURG): Likewise.
49478         [POSIX || XPG3] (SIGVTALRM): Likewise.
49479         [POSIX || XPG3] (SIGXCPU): Likewise.
49480         [POSIX || XPG3] (SIGXFSZ): Likewise.
49481         [POSIX] (SA_SIGINFO): Expect.
49482         [XPG3] (siginfo_t): Do not expect type or contents.
49483         [POSIX] (si_pid): Do not expect element.
49484         [POSIX] (si_uid): Likewise.
49485         [POSIX] (si_addr): Likewise.
49486         [POSIX] (si_status): Likewise.
49487         [POSIX] (si_band): Likewise.
49488         [XPG4] (si_value): Likewise.
49489         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49490         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49491         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49492         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49493         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49494         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49495         [POSIX || XPG3] (ILL_COPROC): Likewise.
49496         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49497         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49498         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49499         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49500         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49501         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49502         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49503         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49504         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49505         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49506         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49507         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49508         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49509         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49510         [POSIX || XPG3] (CLD_EXITED): Likewise.
49511         [POSIX || XPG3] (CLD_KILLED): Likewise.
49512         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49513         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49514         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49515         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49516         [POSIX || XPG3] (POLL_IN): Likewise.
49517         [POSIX || XPG3] (POLL_OUT): Likewise.
49518         [POSIX || XPG3] (POLL_MSG): Likewise.
49519         [POSIX || XPG3] (POLL_ERR): Likewise.
49520         [POSIX || XPG3] (POLL_PRI): Likewise.
49521         [POSIX || XPG3] (POLL_HUP): Likewise.
49522         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49523         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49524         (SIG*): Do not allow.
49525         [XPG3] (si_*): Likewise.
49526         [XPG3] (SI_*): Likewise.
49527         [XPG3 || XPG4] (sigev_*): Likewise.
49528         [XPG3 || XPG4] (SIGEV_*): Likewise.
49529         [XPG3 || XPG4] (sival_*): Likewise.
49530         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49531         [POSIX || XPG3] (BUS_*): Likewise.
49532         [POSIX || XPG3] (CLD_*): Likewise.
49533         [POSIX || XPG3] (FPE_*): Likewise.
49534         [POSIX || XPG3] (ILL_*): Likewise.
49535         [POSIX || XPG3] (POLL_*): Likewise.
49536         [POSIX || XPG3] (SEGV_*): Likewise.
49537         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49538         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49539         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49540         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49541         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49542         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49543         Specify type and value.
49544         (TVERSLEN): Likewise.
49545         (REGTYPE): Likewise.
49546         (AREGTYPE): Likewise.
49547         (LNKTYPE): Likewise.
49548         (SYMTYPE): Likewise.
49549         (CHRTYPE): Likewise.
49550         (BLKTYPE): Likewise.
49551         (DIRTYPE): Likewise.
49552         (FIFOTYPE): Likewise.
49553         (CONTTYPE): Likewise.
49554         (TSUID): Likewise.
49555         (TSGID): Likewise.
49556         (TSVTX): Likewise.
49557         (TUREAD): Likewise.
49558         (TUWRITE): Likewise.
49559         (TUEXEC): Likewise.
49560         (TGREAD): Likewise.
49561         (TGWRITE): Likewise.
49562         (TGEXEC): Likewise.
49563         (TOREAD): Likewise.
49564         (TOWRITE): Likewise.
49565         (TOEXEC): Likewise.
49566         [POSIX] (TSVTX): Expect constant.
49568 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49570         * Makefile (tests): Change dependencies to ....
49571         (tests-special): ... additions to this variable.
49572         (tests): Depend on $(tests-special).
49573         * Makerules (check-abi-list): New variable.
49574         (check-abi): Depend on $(check-abi-list).
49575         [$(subdir) = elf] (tests-special): Add
49576         $(objpfx)check-abi-libc.out.
49577         [$(build-shared) = yes && subdir] (tests-special): Add
49578         $(check-abi-list).
49579         [$(build-shared) = yes && subdir] (tests): Do not depend on
49580         check-abi.
49581         * Rules (tests): Depend on $(tests-special).
49582         (xtests): Depend on $(xtests-special).
49583         * catgets/Makefile (tests): Change dependencies to ....
49584         (tests-special): ... additions to this variable.
49585         * conform/Makefile (tests): Change dependencies to ....
49586         (tests-special): ... additions to this variable.
49587         * elf/Makefile (tests): Change dependencies to ....
49588         (tests-special): ... additions to this variable.
49589         * grp/Makefile (tests): Change dependencies to ....
49590         (tests-special): ... additions to this variable.
49591         * iconv/Makefile (xtests): Change dependencies to ....
49592         (xtests-special): ... additions to this variable.
49593         * iconvdata/Makefile (tests): Change dependencies to ....
49594         (tests-special): ... additions to this variable.
49595         * intl/Makefile (tests): Change dependencies to ....
49596         (tests-special): ... additions to this variable.  Also add
49597         $(objpfx)tst-gettext.out.
49598         * io/Makefile (tests): Change dependencies to ....
49599         (tests-special): ... additions to this variable.
49600         * libio/Makefile (tests): Change dependencies to ....
49601         (tests-special): ... additions to this variable.
49602         * malloc/Makefile (tests): Change dependencies to ....
49603         (tests-special): ... additions to this variable.
49604         * misc/Makefile (tests): Change dependencies to ....
49605         (tests-special): ... additions to this variable.
49606         * nptl/Makefile (tests): Change dependencies to ....
49607         (tests-special): ... additions to this variable.
49608         * nptl_db/Makefile (tests): Change dependencies to ....
49609         (tests-special): ... additions to this variable.
49610         * posix/Makefile (tests): Change dependencies to ....
49611         (tests-special): ... additions to this variable.
49612         (xtests): Change dependencies to ....
49613         (xtests-special): ... additions to this variable.
49614         * resolv/Makefile (tests): Change dependencies to ....
49615         (tests-special): ... additions to this variable.
49616         (xtests): Change dependencies to ....
49617         (xtests-special): ... additions to this variable.
49618         * stdio-common/Makefile (tests): Change dependencies to ....
49619         (tests-special): ... additions to this variable.
49620         (do-tst-unbputc): Remove target.
49621         (do-tst-printf): Likewise.
49622         * stdlib/Makefile (tests): Change dependencies to ....
49623         (tests-special): ... additions to this variable.
49624         * string/Makefile (tests): Change dependencies to ....
49625         (tests-special): ... additions to this variable.
49626         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49627         (tests-special): ... additions to this variable.
49629         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49630         whole file.
49631         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49632         whole file.
49633         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49634         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49636         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49637         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49638         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49639         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49640         * conform/data/libgen.h-data [XPG3]: Likewise.
49641         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49642         * conform/data/ndbm.h-data [XPG3]: Likewise.
49643         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49644         * conform/data/netdb.h-data [XPG3]: Likewise.
49645         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49646         * conform/data/poll.h-data [XPG3]: Likewise.
49647         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49648         * conform/data/strings.h-data [XPG3]: Likewise.
49649         * conform/data/stropts.h-data [XPG3]: Likewise.
49650         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49651         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49652         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49653         Likewise.
49654         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49655         * conform/data/sys/time.h-data [XPG3]: Likewise.
49656         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49657         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49658         * conform/data/sys/un.h-data [XPG3]: Likewise.
49659         * conform/data/syslog.h-data [XPG3]: Likewise.
49660         * conform/data/ucontext.h-data [XPG3]: Likewise.
49661         * conform/data/utmpx.h-data [XPG3]: Likewise.
49662         * conform/data/varargs.h-data [UNIX98]: Enable file.
49664         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49666         * math/libm-test.inc (struct test_f_f_data): Move expected results
49667         into structure for each rounding mode.
49668         (struct test_ff_f_data): Likewise.
49669         (struct test_ff_f_data_nexttoward): Likewise.
49670         (struct test_fi_f_data): Likewise.
49671         (struct test_fl_f_data): Likewise.
49672         (struct test_if_f_data): Likewise.
49673         (struct test_fff_f_data): Likewise.
49674         (struct test_c_f_data): Likewise.
49675         (struct test_f_f1_data): Likewise.
49676         (struct test_fF_f1_data): Likewise.
49677         (struct test_ffI_f1_data): Likewise.
49678         (struct test_c_c_data): Likewise.
49679         (struct test_cc_c_data): Likewise.
49680         (struct test_f_i_data): Likewise.
49681         (struct test_ff_i_data): Likewise.
49682         (struct test_f_l_data): Likewise.
49683         (struct test_f_L_data): Likewise.
49684         (struct test_fFF_11_data): Likewise.
49685         (RM_): New macro.
49686         (RM_FE_DOWNWARD): Likewise.
49687         (RM_FE_TONEAREST): Likewise.
49688         (RM_FE_TOWARDZERO): Likewise.
49689         (RM_FE_UPWARD): Likewise.
49690         (RUN_TEST_LOOP_f_f): Update references to expected results.
49691         (RUN_TEST_LOOP_2_f): Likewise.
49692         (RUN_TEST_LOOP_fff_f): Likewise.
49693         (RUN_TEST_LOOP_c_f): Likewise.
49694         (RUN_TEST_LOOP_f_f1): Likewise.
49695         (RUN_TEST_LOOP_fF_f1): Likewise.
49696         (RUN_TEST_LOOP_fI_f1): Likewise.
49697         (RUN_TEST_LOOP_ffI_f1): Likewise.
49698         (RUN_TEST_LOOP_c_c): Likewise.
49699         (RUN_TEST_LOOP_cc_c): Likewise.
49700         (RUN_TEST_LOOP_f_i): Likewise.
49701         (RUN_TEST_LOOP_f_i_tg): Likewise.
49702         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49703         (RUN_TEST_LOOP_f_b): Likewise.
49704         (RUN_TEST_LOOP_f_b_tg): Likewise.
49705         (RUN_TEST_LOOP_f_l): Likewise.
49706         (RUN_TEST_LOOP_f_L): Likewise.
49707         (RUN_TEST_LOOP_fFF_11): Likewise.
49708         * math/gen-libm-test.pl (parse_args): Output four copies of
49709         expected results for each test.
49711         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49712         (__ASSUME_UTIMES): Remove.
49713         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49714         (__ASSUME_UTIMES): Likewise.
49716         * math/gen-auto-libm-tests.c: Update comment on output format.
49717         (output_for_one_input_case): Generate before-rounding and
49718         after-rounding information as conditions on output flags not
49719         floating-point format.
49720         * math/auto-libm-test-out: Regenerated.
49721         * math/gen-libm-test.pl (cond_value): New function.
49722         (or_cond_value): Use cond_value.
49723         (generate_testfile): Handle conditional exceptions.
49725 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49727         * math/libm-test.inc (max_valid_error): New variable.
49728         (init_max_error): Take new argument specifying whether function
49729         results are exactly determined.  Set max_valid_error and bound
49730         other variables for errors based on this argument.
49731         (set_max_error): Do not record results above max_valid_error.
49732         (check_float_internal): Only accept errors of up to 0.5ulps if
49733         also at most max_valid_error.
49734         (START): Take new argument EXACT and pass it to init_max_error.
49735         (acos_test): Update call to START.
49736         (acos_test_tonearest): Likewise.
49737         (acos_test_towardzero): Likewise.
49738         (acos_test_downward): Likewise.
49739         (acos_test_upward): Likewise.
49740         (acosh_test): Likewise.
49741         (asin_test): Likewise.
49742         (asin_test_tonearest): Likewise.
49743         (asin_test_towardzero): Likewise.
49744         (asin_test_downward): Likewise.
49745         (asin_test_upward): Likewise.
49746         (asinh_test): Likewise.
49747         (atan_test): Likewise.
49748         (atanh_test): Likewise.
49749         (atan2_test): Likewise.
49750         (cabs_test): Likewise.
49751         (cacos_test): Likewise.
49752         (cacosh_test): Likewise.
49753         (carg_test): Likewise.
49754         (casin_test): Likewise.
49755         (casinh_test): Likewise.
49756         (catan_test): Likewise.
49757         (catanh_test): Likewise.
49758         (cbrt_test): Likewise.
49759         (ccos_test): Likewise.
49760         (ccosh_test): Likewise.
49761         (ceil_test): Likewise.
49762         (cexp_test): Likewise.
49763         (cimag_test): Likewise.
49764         (clog_test): Likewise.
49765         (clog10_test): Likewise.
49766         (conj_test): Likewise.
49767         (copysign_test): Likewise.
49768         (cos_test): Likewise.
49769         (cos_test_tonearest): Likewise.
49770         (cos_test_towardzero): Likewise.
49771         (cos_test_downward): Likewise.
49772         (cos_test_upward): Likewise.
49773         (cosh_test): Likewise.
49774         (cosh_test_tonearest): Likewise.
49775         (cosh_test_towardzero): Likewise.
49776         (cosh_test_downward): Likewise.
49777         (cosh_test_upward): Likewise.
49778         (cpow_test): Likewise.
49779         (cproj_test): Likewise.
49780         (creal_test): Likewise.
49781         (csin_test): Likewise.
49782         (csinh_test): Likewise.
49783         (csqrt_test): Likewise.
49784         (ctan_test): Likewise.
49785         (ctan_test_tonearest): Likewise.
49786         (ctan_test_towardzero): Likewise.
49787         (ctan_test_downward): Likewise.
49788         (ctan_test_upward): Likewise.
49789         (ctanh_test): Likewise.
49790         (ctanh_test_tonearest): Likewise.
49791         (ctanh_test_towardzero): Likewise.
49792         (ctanh_test_downward): Likewise.
49793         (ctanh_test_upward): Likewise.
49794         (erf_test): Likewise.
49795         (erfc_test): Likewise.
49796         (exp_test): Likewise.
49797         (exp_test_tonearest): Likewise.
49798         (exp_test_towardzero): Likewise.
49799         (exp_test_downward): Likewise.
49800         (exp_test_upward): Likewise.
49801         (exp10_test): Likewise.
49802         (exp10_test_tonearest): Likewise.
49803         (exp10_test_towardzero): Likewise.
49804         (exp10_test_downward): Likewise.
49805         (exp10_test_upward): Likewise.
49806         (pow10_test): Likewise.
49807         (exp2_test): Likewise.
49808         (expm1_test): Likewise.
49809         (expm1_test_tonearest): Likewise.
49810         (expm1_test_towardzero): Likewise.
49811         (expm1_test_downward): Likewise.
49812         (expm1_test_upward): Likewise.
49813         (fabs_test): Likewise.
49814         (fdim_test): Likewise.
49815         (floor_test): Likewise.
49816         (fma_test): Likewise.
49817         (fma_test_towardzero): Likewise.
49818         (fma_test_downward): Likewise.
49819         (fma_test_upward): Likewise.
49820         (fmax_test): Likewise.
49821         (fmin_test): Likewise.
49822         (fmod_test): Likewise.
49823         (fpclassify_test): Likewise.
49824         (frexp_test): Likewise.
49825         (hypot_test): Likewise.
49826         (ilogb_test): Likewise.
49827         (isfinite_test): Likewise.
49828         (finite_test): Likewise.
49829         (isgreater_test): Likewise.
49830         (isgreaterequal_test): Likewise.
49831         (isinf_test): Likewise.
49832         (isless_test): Likewise.
49833         (islessequal_test): Likewise.
49834         (islessgreater_test): Likewise.
49835         (isnan_test): Likewise.
49836         (isnormal_test): Likewise.
49837         (issignaling_test): Likewise.
49838         (isunordered_test): Likewise.
49839         (j0_test): Likewise.
49840         (j1_test): Likewise.
49841         (jn_test): Likewise.
49842         (ldexp_test): Likewise.
49843         (lgamma_test): Likewise.
49844         (gamma_test): Likewise.
49845         (lrint_test): Likewise.
49846         (lrint_test_tonearest): Likewise.
49847         (lrint_test_towardzero): Likewise.
49848         (lrint_test_downward): Likewise.
49849         (lrint_test_upward): Likewise.
49850         (llrint_test): Likewise.
49851         (llrint_test_tonearest): Likewise.
49852         (llrint_test_towardzero): Likewise.
49853         (llrint_test_downward): Likewise.
49854         (llrint_test_upward): Likewise.
49855         (log_test): Likewise.
49856         (log10_test): Likewise.
49857         (log1p_test): Likewise.
49858         (log2_test): Likewise.
49859         (logb_test): Likewise.
49860         (logb_test_downward): Likewise.
49861         (lround_test): Likewise.
49862         (llround_test): Likewise.
49863         (modf_test): Likewise.
49864         (nearbyint_test): Likewise.
49865         (nextafter_test): Likewise.
49866         (nexttoward_test): Likewise.
49867         (pow_test): Likewise.
49868         (pow_test_tonearest): Likewise.
49869         (pow_test_towardzero): Likewise.
49870         (pow_test_downward): Likewise.
49871         (pow_test_upward): Likewise.
49872         (remainder_test): Likewise.
49873         (drem_test): Likewise.
49874         (remainder_test_tonearest): Likewise.
49875         (drem_test_tonearest): Likewise.
49876         (remainder_test_towardzero): Likewise.
49877         (drem_test_towardzero): Likewise.
49878         (remainder_test_downward): Likewise.
49879         (drem_test_downward): Likewise.
49880         (remainder_test_upward): Likewise.
49881         (drem_test_upward): Likewise.
49882         (remquo_test): Likewise.
49883         (rint_test): Likewise.
49884         (rint_test_tonearest): Likewise.
49885         (rint_test_towardzero): Likewise.
49886         (rint_test_downward): Likewise.
49887         (rint_test_upward): Likewise.
49888         (round_test): Likewise.
49889         (scalb_test): Likewise.
49890         (scalbn_test): Likewise.
49891         (scalbln_test): Likewise.
49892         (signbit_test): Likewise.
49893         (sin_test): Likewise.
49894         (sin_test_tonearest): Likewise.
49895         (sin_test_towardzero): Likewise.
49896         (sin_test_downward): Likewise.
49897         (sin_test_upward): Likewise.
49898         (sincos_test): Likewise.
49899         (sinh_test): Likewise.
49900         (sinh_test_tonearest): Likewise.
49901         (sinh_test_towardzero): Likewise.
49902         (sinh_test_downward): Likewise.
49903         (sinh_test_upward): Likewise.
49904         (sqrt_test): Likewise.
49905         (sqrt_test_tonearest): Likewise.
49906         (sqrt_test_towardzero): Likewise.
49907         (sqrt_test_downward): Likewise.
49908         (sqrt_test_upward): Likewise.
49909         (tan_test): Likewise.
49910         (tan_test_tonearest): Likewise.
49911         (tan_test_towardzero): Likewise.
49912         (tan_test_downward): Likewise.
49913         (tan_test_upward): Likewise.
49914         (tanh_test): Likewise.
49915         (tgamma_test): Likewise.
49916         (trunc_test): Likewise.
49917         (y0_test): Likewise.
49918         (y1_test): Likewise.
49919         (yn_test): Likewise.
49920         (significand_test): Likewise.
49922         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49923         individual tests in comment.
49924         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49925         (prev_max_error): New variable.
49926         (prev_real_max_error): Likewise.
49927         (prev_imag_max_error): Likewise.
49928         (compare_ulp_data): Don't refer to test names in comment.
49929         (find_test_ulps): Remove function.
49930         (find_function_ulps): Likewise.
49931         (find_complex_function_ulps): Likewise.
49932         (init_max_error): Take function name as argument.  Look up ulps
49933         for that function.
49934         (print_ulps): Remove function.
49935         (print_max_error): Use prev_max_error instead of calling
49936         find_function_ulps.
49937         (print_complex_max_error): Use prev_real_max_error and
49938         prev_imag_max_error instead of calling find_complex_function_ulps.
49939         (check_float_internal): Take max_ulp parameter instead of calling
49940         find_test_ulps.  Don't call print_ulps.
49941         (check_float): Update call to check_float_internal.
49942         (check_complex): Update calls to check_float_internal.
49943         (START): Pass argument to init_max_error.
49944         * math/gen-libm-test.pl (%results): Don't include "kind"
49945         information.
49946         (parse_ulps): Don't handle ulps of individual tests.
49947         (print_ulps_file): Likewise.
49948         (output_ulps): Likewise.
49949         * math/README.libm-test: Update.
49950         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49951         individual tests.
49952         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49953         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49954         * sysdeps/arm/libm-test-ulps: Likewise.
49955         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49956         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49957         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49958         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49959         * sysdeps/microblaze/libm-test-ulps: Likewise.
49960         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49961         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49963         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49964         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49965         * sysdeps/sh/libm-test-ulps: Likewise.
49966         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49967         * sysdeps/tile/libm-test-ulps: Likewise.
49968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49970 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49972         * math/libm-test.inc (print_complex_max_error): Check separately
49973         whether real and imaginary errors are within allowed range and
49974         pass 0 to print_complex_function_ulps instead of value within
49975         allowed range.
49977 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49979         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49980         formatting.
49981         (get_handles_fopen): Likewise.
49982         (do_write_test): Likewise.
49984         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49986         * libio/fileops.c (do_ftell): Use cached offset when
49987         available.
49988         * libio/iofwide.c (do_ftell_wide): Likewise.
49989         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49990         _IO_file_attach.
49991         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49993         [BZ #16532]
49994         * libio/libioP.h (get_file_offset): New function.
49995         * libio/fileops.c (get_file_offset): Likewise.
49996         (do_ftell): Likewise.
49997         (_IO_new_file_seekoff): Split out ftell logic.
49998         * libio/wfileops.c (do_ftell_wide): Likewise.
49999         (_IO_wfile_seekoff): Split out ftell logic.
50000         * libio/tst-ftell-active-handler.c: New test case.
50001         * libio/Makefile (tests): Add it.
50003 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50005         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50006         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50008 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50010         [BZ #16639]
50011         * nscd/connections.c (nscd_init): Call do_exit.
50012         (start_threads): Call do_exit and notify_parent.
50013         (begin_drop_privileges): Call do_exit.
50014         (finish_drop_privileges): Likewise.
50015         * nscd/selinux.c (preserve_capabilities): Likewise.
50016         (install_real_capabilities): Likewise.
50017         (nscd_selinux_enabled): Likewise.
50018         (avc_create_thread): Likewise.
50019         (avc_alloc_lock): Likewise.
50020         (nscd_avc_init): Likewise.
50021         * nscd/nscd.c (parent_fd): New static variable.
50022         (main): Create a pipe between parent and child processes.
50023         Skip closing parent_fd.
50024         (monitor_child): New function.
50025         (do_exit): Likewise.
50026         (notify_parent): Likewise.
50027         * nscd/nscd.h (notify_parent): Likewise.
50028         (do_exit): Likewise.
50030 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50032         * malloc/malloc.c (__libc_calloc): Revert last change.
50034 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50038 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50040         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50042         implementation.
50043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50044         (__libc_ifunc_impl_list): Likewise.
50045         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50046         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50047         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50048         * string/strrchr.c: Define STRRCHR.
50050 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50052         * benchtest/bench-strtok.c (simple_strtok): Delete.
50053         (strtok_string): Use as benchmark.
50054         * string/strtok (STRTOK): New macro.
50056 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50058         * manual/threads.texi: Add header and standard comments to all
50059         functions.
50061         * elf/dl-lookup.c (check_match): New function.
50062         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50063         (do_lookup_x): Remove nested function check_match. Use non-nested
50064         function check_match.
50066 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50068         * csu/Makefile (generated, before-compile): Use += rather than =.
50069         * catgets/Makefile (generated, generated-dirs): Likewise.
50070         * debug/Makefile (generated): Likewise.
50071         * dlfcn/Makefile (generated): Likewise.
50072         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50073         * iconvdata/Makefile (before-compile, generated): Likewise.
50074         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50075         * libio/Makefile (generated): Likewise.
50076         * malloc/Makefile (generated): Likewise.
50077         * manual/Makefile (generated, generated-dirs): Likewise.
50078         * misc/Makefile (generated): Likewise.
50079         * posix/Makefile (generated): Likewise.
50080         * resolv/Makefile (generated): Likewise.
50081         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50082         * timezone/Makefile (generated, generated-dirs): Likewise.
50084         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50086 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50089         power8 implementation.
50090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50091         file: POWER8 llround ifunc implementation.
50092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50093         (__lllround): Add POWER8 implementation.
50094         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50095         POWER8 llround implementation.
50097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50098         power8 implementation.
50099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50100         file: POWER8 llrint ifunc implementation.
50101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50102         Add POWER8 implementation.
50103         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50104         POWER8 llrint implementation.
50106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50107         power8 implementation.
50108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50109         file: POWER8 finite ifunc implementation.
50110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50111         Add POWER8 implementation.
50112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50113         Likewise.
50114         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50115         POWER8 finite implementation.
50116         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50119         power8 implementation.
50120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50121         file: POWER8 isinf ifunc implementation.
50122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50123         POWER8 implementation.
50124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50125         Likewise.
50126         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50127         isinf implementation.
50128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50130         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50131         (INIT_ARCH): Add hwcap2 initialization.
50132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50133         power8 implementation.
50134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50135         file: POWER8 isnan ifunc implementation.
50136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50137         POWER8 implementation.
50138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50139         Likewise.
50140         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50141         isnan implementation.
50142         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50144 2014-02-27  Joey Ye  <joey.ye@arm.com>
50146         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50147         (_FP_NANFRAC_Q): Set to zero.
50149 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50151         [BZ #16623]
50152         * math/auto-libm-test-in: New test inputs.
50153         * math/auto-libm-test-out: Regenerate.
50154         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50155         and DA.
50156         (__cos): Likewise.
50157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50159 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50161         * scripts/evaluate-test.sh: Take new argument indicating whether
50162         failure is expected.
50163         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50164         indicating whether failure is expected.
50165         * conform/Makefile (test-xfail-run-conformtest): New variable.
50166         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50167         level.
50168         * posix/Makefile (test-xfail-annexc): New variable.
50169         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50171 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50173         * argp/Makefile: Include Makeconfig immediately after defining
50174         subdir.
50175         * assert/Makefile: Likewise.
50176         * benchtests/Makefile: Likewise.
50177         * catgets/Makefile: Likewise.
50178         * conform/Makefile: Likewise.
50179         * crypt/Makefile: Likewise.
50180         * csu/Makefile: Likewise.
50181         (all): Remove target.
50182         * ctype/Makefile: Include Makeconfig immediately after defining
50183         subdir.
50184         * debug/Makefile: Likewise.
50185         * dirent/Makefile: Likewise.
50186         * dlfcn/Makefile: Likewise.
50187         * gmon/Makefile: Likewise.
50188         * gnulib/Makefile: Likewise.
50189         * grp/Makefile: Likewise.
50190         * gshadow/Makefile: Likewise.
50191         * hesiod/Makefile: Likewise.
50192         * hurd/Makefile: Likewise.
50193         (all): Remove target.
50194         * iconvdata/Makefile: Include Makeconfig immediately after
50195         defining subdir.
50196         * inet/Makefile: Likewise.
50197         * intl/Makefile: Likewise.
50198         * io/Makefile: Likewise.
50199         * libio/Makefile: Likewise.
50200         (all): Remove target.
50201         * locale/Makefile: Include Makeconfig immediately after defining
50202         subdir.
50203         * login/Makefile: Likewise.
50204         * mach/Makefile: Likewise.
50205         (all): Remove target.
50206         * malloc/Makefile: Include Makeconfig immediately after defining
50207         subdir.
50208         (all): Remove target.
50209         * manual/Makefile: Include Makeconfig immediately after defining
50210         subdir.
50211         * math/Makefile: Likewise.
50212         * misc/Makefile: Likewise.
50213         * nis/Makefile: Likewise.
50214         * nss/Makefile: Likewise.
50215         * po/Makefile: Likewise.
50216         (all): Remove target.
50217         * posix/Makefile: Include Makeconfig immediately after defining
50218         subdir.
50219         * pwd/Makefile: Likewise.
50220         * resolv/Makefile: Likewise.
50221         * resource/Makefile: Likewise.
50222         * rt/Makefile: Likewise.
50223         * setjmp/Makefile: Likewise.
50224         * shadow/Makefile: Likewise.
50225         * signal/Makefile: Likewise.
50226         * socket/Makefile: Likewise.
50227         * soft-fp/Makefile: Likewise.
50228         * stdio-common/Makefile: Likewise.
50229         * stdlib/Makefile: Likewise.
50230         * streams/Makefile: Likewise.
50231         * string/Makefile: Likewise.
50232         * sunrpc/Makefile: Likewise.
50233         (all): Remove target.
50234         * sysvipc/Makefile: Include Makeconfig immediately after defining
50235         subdir.
50236         * termios/Makefile: Likewise.
50237         * time/Makefile: Likewise.
50238         * timezone/Makefile: Likewise.
50239         (all): Remove target.
50240         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50241         subdir.
50242         * wctype/Makefile: Likewise.
50244 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50246         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50247         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50248         (libc_feholdexcept_setround_mips): Ditto.
50249         (libc_feholdsetround): New.
50250         (libc_feholdsetroundf): New.
50251         (libc_feholdsetroundl): New.
50252         (libc_feupdateenv_test_mips): New.
50253         (libc_feupdateenv_test): New.
50254         (libc_feupdateenv_testf): New.
50255         (libc_feupdateenv_testl): New.
50256         (libc_feresetround): New.
50257         (libc_feresetroundf): New.
50258         (libc_feresetroundl): New.
50259         (libc_fetestexcept_mips): New.
50260         (libc_fetestexcept): New.
50261         (libc_fetestexceptf): New.
50262         (libc_fetestexceptl): New.
50263         (HAVE_RM_CTX): New.
50264         (libc_feholdexcept_setround_mips_ctx): New.
50265         (libc_feholdexcept_setround_ctx): New.
50266         (libc_feholdexcept_setroundf_ctx): New.
50267         (libc_feholdexcept_setroundl_ctx): New.
50268         (libc_fesetenv_mips_ctx): New.
50269         (libc_fesetenv_ctx): New.
50270         (libc_fesetenv_ctxf): New.
50271         (libc_fesetenv_ctxl): New.
50272         (libc_feupdateenv_mips_ctx): New.
50273         (libc_feupdateenv_ctx): New.
50274         (libc_feupdateenvf_ctx): New.
50275         (libc_feupdateenvl_ctx): New.
50276         (libc_feholdsetround_mips_ctx): New.
50277         (libc_feholdsetround_ctx): New.
50278         (libc_feholdsetroundf_ctx): New.
50279         (libc_feholdsetroundl_ctx): New.
50280         (libc_feresetround_mips_ctx): New.
50281         (libc_feresetround_ctx): New.
50282         (libc_feresetroundf_ctx): New.
50283         (libc_feresetroundl_ctx): New.
50285 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50287         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50289         * manual/ipc.texi: New file.
50290         * manual/Makefile (chapters): Add ipc.
50291         * manual/job.texi: Add "Inter-Process Communication" to next.
50292         * manual/process.texi: Add "Inter-Process Communication" to prev.
50294 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50298 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50300         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50302         * manual/arith.texi: Fix spaces after sentences.
50303         * manual/charset.texi: Likewise.
50304         * manual/errno.texi: Likewise.
50305         * manual/install.texi: Likewise.
50306         * manual/llio.texi: Likewise.
50307         * manual/locale.texi: Likewise.
50308         * manual/maint.texi: Likewise.
50309         * manual/math.texi: Likewise.
50310         * manual/memory.texi: Likewise.
50311         * manual/message.texi: Likewise.
50312         * manual/probes.texi: Likewise.
50313         * manual/resource.texi: Likewise.
50314         * manual/signal.texi: Likewise.
50315         * manual/socket.texi: Likewise.
50316         * manual/stdio.texi: Likewise.
50317         * manual/string.texi: Likewise.
50318         * manual/time.texi: Likewise.
50319         * manual/users.texi: Likewise.
50321 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50323         [BZ #16632]
50324         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50325         _DEFAULT_SOURCE is defined.
50327 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50328             Carlos O'Donell  <carlos@redhat.com>
50330         [BZ #16613]
50331         * elf/dl-tls.c (_dl_count_modids): New function.
50332         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50333         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50334         audit library and increment generation counter.
50335         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50336         * elf/tst-audit9.c: New file.
50337         * elf/tst-auditmod9a.c: New file.
50338         * elf/tst-auditmod9b.c: New file.
50339         * elf/Makefile: Add rules to build and run tst-audit9.
50341 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50343         [BZ #15347]
50344         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50346 2014-02-25  Will Newton  <will.newton@linaro.org>
50348         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50349         (__longjmp): Restore sp and lr before restoring callee
50350         saved registers.  Add longjmp and longjmp_target
50351         SystemTap probe point.
50352         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50353         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50354         Define to zero to match jmpbuf layout.
50355         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50356         (__sigsetjmp): Save sp and lr before saving callee
50357         saved registers.  Add setjmp SystemTap probe point.
50359 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50361         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50363 2014-02-24  Andreas Schwab  <schwab@suse.de>
50365         [BZ #15804]
50366         * elf/pldd.c (wait_for_ptrace_stop): New function.
50367         (main): Call it after attaching.
50369 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50371         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50372         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50373         Versions files is now verboten.
50374         * hurd/Versions (libc: GLIBC_2.0):
50375         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50376         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50377         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50378         * mach/Versions: Likewise.
50380         * csu/Versions: Remove unused %include.
50381         * resolv/Versions: Likewise.
50383 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50385         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50386         ($(objpfx)check-local-headers.out): Likewise.
50387         ($(objpfx)begin-end-check.out): Likewise.
50388         * Makerules (check-abi-%.out): Likewise.
50389         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50390         ($(objpfx)test2.cat): Likewise.
50391         ($(objpfx)de/libc.cat): Likewise.
50392         ($(objpfx)test-gencat.out): Likewise.
50393         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50394         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50395         ($(objpfx)noload-mem): Likewise.
50396         ($(objpfx)tst-pathopt.out): Likewise.
50397         ($(objpfx)tst-rtld-load-self.out): Likewise.
50398         ($(objpfx)tst-array1-cmp.out): Likewise.
50399         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50400         ($(objpfx)tst-array2-cmp.out): Likewise.
50401         ($(objpfx)tst-array3-cmp.out): Likewise.
50402         ($(objpfx)tst-array4-cmp.out): Likewise.
50403         ($(objpfx)tst-array5-cmp.out): Likewise.
50404         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50405         ($(objpfx)check-textrel.out): Likewise.
50406         ($(objpfx)check-execstack.out): Likewise.
50407         ($(objpfx)check-localplt.out): Likewise.
50408         ($(objpfx)order2-cmp.out): Likewise.
50409         ($(objpfx)tst-leaks1-mem): Likewise.
50410         ($(objpfx)tst-leaks1-static-mem): Likewise.
50411         ($(objpfx)tst-initorder-cmp.out): Likewise.
50412         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50413         ($(objpfx)tst-unused-dep.out): Likewise.
50414         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50415         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50416         * iconv/Makefile (test-iconvconfig): Likewise.
50417         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50418         ($(objpfx)iconv-test.out): Likewise.
50419         ($(objpfx)tst-tables.out): Likewise.
50420         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50421         ($(objpfx)tst-gettext.out): Likewise.
50422         ($(objpfx)tst-translit.out): Likewise.
50423         ($(objpfx)tst-gettext2.out): Likewise.
50424         ($(objpfx)tst-gettext4.out): Likewise.
50425         ($(objpfx)tst-gettext6.out): Likewise.
50426         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50427         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50428         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50429         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50430         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50431         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50432         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50433         ($(objpfx)wordexp-tst.out): Likewise.
50434         ($(objpfx)annexc.out): Likewise.
50435         ($(objpfx)tst-fnmatch-mem): Likewise.
50436         ($(objpfx)bug-regex2-mem): Likewise.
50437         ($(objpfx)bug-regex14-mem): Likewise.
50438         ($(objpfx)bug-regex21-mem): Likewise.
50439         ($(objpfx)bug-regex31-mem): Likewise.
50440         ($(objpfx)tst-vfork3-mem): Likewise.
50441         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50442         ($(objpfx)tst-pcre-mem): Likewise.
50443         ($(objpfx)tst-boost-mem): Likewise.
50444         ($(objpfx)tst-getconf.out): Likewise.
50445         ($(objpfx)bug-ga2-mem): Likewise.
50446         ($(objpfx)bug-glob2-mem): Likewise.
50447         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50448         ($(objpfx)mtrace-tst-leaks2): Likewise.
50449         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50450         ($(objpfx)tst-printf.out): Likewise.
50451         ($(objpfx)tst-setvbuf1.out): Likewise.
50452         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50453         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50454         ($(objpfx)tst-fmtmsg.out): Likewise.
50455         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50456         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50458         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50459         * bits/sigaction.h [__USE_MISC]: Likewise.
50460         * bits/waitstatus.h: Update #endif comments.
50461         * ctype/ctype.h: Likewise.
50462         * dirent/dirent.h: Likewise.
50463         [__USE_MISC]: Remove redundant conditionals.
50464         * grp/grp.h: Update #endif comments.
50465         [__USE_GNU]: Remove redundant conditionals.
50466         [__USE_MISC]: Likewise.
50467         * inet/netinet/in.h [__USE_GNU]: Likewise.
50468         * io/sys/stat.h [__USE_MISC]: Likewise.
50469         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50470         * libio/bits/stdio.h: Update #endif comments.
50471         [__USE_MISC]: Remove redundant conditionals.
50472         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50473         * libio/stdio.h: Update #endif comments.
50474         [__USE_MISC]: Remove redundant conditionals.
50475         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50476         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50477         * math/math.h: Update #else and #endif comments.
50478         [__USE_MISC]: Remove redundant conditionals.
50479         * misc/sys/uio.h: Update #endif comments.
50480         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50481         * posix/glob.h [__USE_MISC]: Likewise.
50482         * posix/sys/types.h: Update #endif comments.
50483         [__USE_MISC]: Remove redundant conditionals.
50484         * posix/sys/wait.h: Update #endif comments.
50485         [__USE_MISC]: Remove redundant conditionals.
50486         * posix/unistd.h: Update #endif comments.
50487         [__USE_MISC]: Remove redundant conditionals.
50488         * pwd/pwd.h [__USE_GNU]: Likewise.
50489         [__USE_MISC]: Likewise.
50490         * resolv/netdb.h [__USE_GNU]: Likewise.
50491         * signal/signal.h: Update #endif comments.
50492         [__USE_MISC]: Remove redundant conditionals.
50493         * stdlib/stdlib.h: Update #else and #endif comments.
50494         [__USE_MISC]: Remove redundant conditionals.
50495         [__USE_GNU]: Likewise.
50496         * string/bits/string2.h [__USE_MISC]: Likewise.
50497         * string/string.h: Update #endif comments.
50498         [__USE_MISC]: Remove redundant conditionals.
50499         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50500         Likewise.
50501         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50502         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50503         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50504         Likewise.
50505         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50506         Likewise.
50507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50508         comments.
50509         [__USE_MISC]: Remove redundant conditionals.
50510         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50511         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50512         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50513         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50514         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50515         Likewise.
50516         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50517         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50518         Likewise.
50519         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50520         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50521         Likewise.
50522         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50523         Likewise.
50524         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50525         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50526         Likewise.
50527         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50528         Likewise.
50529         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50530         * sysdeps/x86/bits/string.h: Update #endif comments.
50531         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50532         conditionals.
50533         * time/sys/time.h: Update #endif comments.
50534         * time/time.h: Likewise.
50535         [__USE_MISC]: Remove redundant conditionals.
50537 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50539         [BZ #16600]
50540         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50542 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50544         * Versions.def (librt): Add GLIBC_2.17.
50546 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50548         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50549         synonym for _SYS_AUXV_H to allow direct inclusion.
50550         * sysdeps/sparc/bits/hwcap.h: Likewise.
50551         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50552         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50553         * sysdeps/sparc/sysdep.h: Likewise.
50555 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50557         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50559 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50561         * benchtests/bench-strrchr.c: Print length instead of position.
50563 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50565         [BZ #16611]
50566         * sysdeps/unix/sysv/linux/kernel-features.h
50567         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50568         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50569         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50570         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50571         Likewise.
50572         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50573         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50574         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50575         (__ASSUME_SENDMMSG): Define instead of using previous
50576         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50578         (__ASSUME_SENDMMSG_SYSCALL): Define.
50579         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50580         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50581         Likewise.
50582         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50583         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50584         Likewise.
50585         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50586         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50587         Likewise.
50588         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50589         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50590         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50591         [__ASSUME_SENDMMSG]: Change conditionals to
50592         [__ASSUME_SENDMMSG_SOCKETCALL].
50593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50594         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50595         Define.
50596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50597         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50598         Likewise.
50599         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50600         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50601         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50602         [!__ASSUME_SENDMMSG]: Change conditional to
50603         [!__ASSUME_SENDMMSG_SOCKETCALL].
50604         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50605         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50606         Define.
50608         [BZ #16610]
50609         * sysdeps/unix/sysv/linux/kernel-features.h
50610         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50611         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50612         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50613         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50614         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50615         [__i386__ || __sparc__]
50616         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50617         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50618         (__ASSUME_RECVMMSG): Define instead of using previous
50619         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50620         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50621         (__ASSUME_RECVMMSG_SYSCALL): Define.
50622         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50623         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50624         Likewise.
50625         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50626         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50627         Likewise.
50628         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50630         Likewise.
50631         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50632         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50633         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50634         [__ASSUME_RECVMMSG]: Change condition to
50635         [__ASSUME_RECVMMSG_SOCKETCALL].
50636         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50637         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50638         Define.
50639         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50640         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50641         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50642         Likewise.
50643         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50644         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50645         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50646         [!__ASSUME_RECVMMSG]: Change condition to
50647         [!__ASSUME_RECVMMSG_SOCKETCALL].
50648         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50649         (__ASSUME_RECVMMSG_SYSCALL): Define.
50651         [BZ #16609]
50652         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50653         __powerpc__ || __s390__ || __sh__ || __sparc__]
50654         (__ASSUME_SOCKETCALL): Define.
50655         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50656         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50657         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50658         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50659         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50660         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50661         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50662         (__ASSUME_ACCEPT4): Define instead of using previous
50663         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50664         __powerpc__ || __sparc__ || __s390__)] condition.
50665         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50666         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50667         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50668         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50669         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50670         [!__ASSUME_ACCEPT4]: Change condition to
50671         [!__ASSUME_ACCEPT4_SOCKETCALL].
50672         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50673         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50674         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50675         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50676         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50677         __ASSUME_ACCEPT4_SYSCALL.
50678         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50679         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50680         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50681         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50682         __ASSUME_ACCEPT4_SYSCALL.
50683         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50684         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50685         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50686         [__ASSUME_ACCEPT4]: Change condition to
50687         [__ASSUME_ACCEPT4_SOCKETCALL].
50688         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50689         (__ASSUME_SOCKETCALL): Define.
50690         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50691         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50692         (__ASSUME_SOCKETCALL): Define.
50693         (__ASSUME_ACCEPT4): Remove.
50694         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50695         Define.
50696         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50697         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50698         Likewise.
50699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50700         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50702         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50703         macro.
50704         (HWCAP_ARM_LPAE): Likewise.
50705         (HWCAP_ARM_EVTSTRM): Likewise.
50706         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50707         Add vpfd32, lpae and evtstrm.
50708         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50709         Increase to 22.
50711 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50713         * math/auto-libm-test-in: Add tests of clog10.
50714         * math/auto-libm-test-out: Regenerated.
50715         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50716         * sysdeps/i386/fpu/libm-test-ulps: Update.
50717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50719 2014-02-18  Andreas Schwab  <schwab@suse.de>
50721         [BZ #16574]
50722         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50723         Store non-zero if the second buffer was newly allocated.
50724         (send_dg): Likewise.
50725         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50726         to send_vc and send_dg.
50727         (res_nsend): Pass NULL for ansp2_malloced.
50728         * resolv/res_query.c (__libc_res_nquery): Add parameter
50729         answerp2_malloced and pass it down to __libc_res_nsend.
50730         (res_nquery): Pass additional NULL to __libc_res_nquery.
50731         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50732         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50733         second answer buffer if answerp2_malloced was set.
50734         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50735         (__libc_res_nquerydomain): Add parameter
50736         answerp2_malloced and pass it down to __libc_res_nquery.
50737         (res_nquerydomain): Pass additional NULL to
50738         __libc_res_nquerydomain.
50739         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50740         additional NULL to __libc_res_nsend and __libc_res_nquery.
50741         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50742         additional NULL to __libc_res_nsearch.
50743         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50744         parameter of __libc_res_nsearch to check for separately allocated
50745         second buffer.
50746         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50747         __libc_res_nquery.
50748         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50749         additional NULL to __libc_res_nquery.
50750         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50751         __libc_res_nsearch.
50752         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50753         * include/resolv.h: Update prototypes of __libc_res_nquery,
50754         __libc_res_nsearch, __libc_res_nsend.
50756 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50758         * math/auto-libm-test-in: Add tests of fma.
50759         * math/auto-libm-test-out: Regenerated.
50760         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50761         (fma_towardzero_test_data): Likewise.
50762         (fma_downward_test_data): Likewise.
50763         (fma_upward_test_data): Likewise.
50764         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50765         mpc_mode.
50766         (rounding_modes): Add values for new field.
50767         (func_calc_method): Add value mpfr_fff_f.
50768         (func_calc_desc): Add mpfr_fff_f union field.
50769         (test_function): Add field exact_args.
50770         (FUNC): Add macro argument EXACT_ARGS.
50771         (FUNC_mpfr_f_f): Update call to FUNC.
50772         (FUNC_mpfr_f_f): Likewise.
50773         (FUNC_mpfr_ff_f): Likewise.
50774         (FUNC_mpfr_if_f): Likewise.
50775         (FUNC_mpc_c_f): Likewise.
50776         (FUNC_mpc_c_c): Likewise.
50777         (test_functions): Add fma.  Update calls to FUNC.
50778         (handle_input_arg): Add argument exact_args.
50779         (add_test): Update call to handle_input_arg.
50780         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50781         (output_for_one_input_case): Update call to calc_generic_results.
50782         Recalculate exact zero results in each rounding mode.
50784         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50785         non-negative before setting low bit.
50786         * math/auto-libm-test-in: Mark one asin test possibly having
50787         spurious underflow.
50788         * math/auto-libm-test-out: Regenerated.
50789         * sysdeps/i386/fpu/libm-test-ulps: Update.
50790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50792 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50794         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50795         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50796         ports/sysdeps/unix/sysv/linux/microblaze.
50797         * README: Add missing listing for microblaze*-*-linux-gnu.
50799 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50802         duplicate code
50804 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50806         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50807         * sysdeps/unix/sysv/linux/ia64: Move directory from
50808         ports/sysdeps/unix/sysv/linux/ia64.
50809         * README: Update listing for ia64-*-linux-gnu.
50811 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50812             Joseph Myers  <joseph@codesourcery.com>
50814         * Makeconfig (test-name): New variable.
50815         (evaluate-test): Likewise.
50816         * Makerules (do-test-clean): Remove .test-result files.
50817         (common-mostlyclean): Likewise.
50818         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50819         * scripts/evaluate-test.sh: New file.
50821 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50823         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50824         separate $(objpfx)tst-fopenloc-cmp.out and
50825         $(objpfx)tst-fopenloc-mem.out targets.
50826         (tests): Update dependencies.
50827         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50828         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50829         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50830         (tst-rxspencer-no-utf8-ARGS): New variable.
50831         (tst-rxspencer-no-utf8-ENV): Likewise.
50832         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50833         instead of $(objpfx)tst-rxspencer-mem.
50834         ($(objpfx)tst-rxspencer-mem): Change target to
50835         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50836         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50837         * posix/tst-rxspencer-no-utf8.c: New file.
50839         * elf/Makefile ($(objpfx)order.out): Remove rule.
50840         [$(run-built-tests) = yes] (tests): Depend on
50841         $(objpfx)order-cmp.out.
50842         ($(objpfx)order-cmp.out): New rule.
50843         [$(run-built-tests) = yes] (tests): Depend on
50844         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50845         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50846         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50847         $(objpfx)tst-array5-static-cmp.out.
50848         ($(objpfx)tst-array1.out): Remove rule.
50849         ($(objpfx)tst-array1-cmp.out): New rule.
50850         ($(objpfx)tst-array1-static.out): Remove rule.
50851         ($(objpfx)tst-array1-static-cmp.out): New rule.
50852         ($(objpfx)tst-array2.out): Remove rule.
50853         ($(objpfx)tst-array2-cmp.out): New rule.
50854         ($(objpfx)tst-array3.out): Remove rule.
50855         ($(objpfx)tst-array3-cmp.out): New rule.
50856         ($(objpfx)tst-array4.out): Remove rule.
50857         ($(objpfx)tst-array4-cmp.out): New rule.
50858         ($(objpfx)tst-array5.out): Remove rule.
50859         ($(objpfx)tst-array5-cmp.out): New rule.
50860         ($(objpfx)tst-array5-static.out): Remove rule.
50861         ($(objpfx)tst-array5-static-cmp.out): New rule.
50862         [$(run-built-tests) = yes] (tests): Depend on
50863         $(objpfx)order2-cmp.out.
50864         ($(objpfx)order2.out): Remove rule.
50865         ($(objpfx)order2-cmp.out): New rule.
50866         ($(objpfx)tst-initorder.out): Remove rule.
50867         [$(run-built-tests) = yes] (tests): Depend on
50868         $(objpfx)tst-initorder-cmp.out.
50869         ($(objpfx)tst-initorder-cmp.out): New rule.
50870         ($(objpfx)tst-initorder2.out): Remove rule.
50871         [$(run-built-tests) = yes] (tests): Depend on
50872         $(objpfx)tst-initorder2-cmp.out.
50873         ($(objpfx)tst-initorder2-cmp.out): New rule.
50874         [$(run-built-tests) = yes] (tests): Depend on
50875         $(objpfx)tst-unused-dep-cmp.out.
50876         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50877         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50878         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50879         on $(objpfx)tst-setvbuf1-cmp.out.
50880         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50881         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50882         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50883         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50884         ($(objpfx)tst-svc.out): Remove rule.
50885         ($(objpfx)tst-svc-cmp.out): New rule.
50887 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50889         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50890         * ctype/ctype.h [__USE_MISC]: Likewise.
50891         * dirent/dirent.h [__USE_MISC]: Likewise.
50892         * grp/grp.h [__USE_MISC]: Likewise.
50893         * io/fcntl.h [__USE_MISC]: Likewise.
50894         * io/sys/stat.h [__USE_MISC]: Likewise.
50895         * libio/stdio.h [__USE_MISC]: Likewise.
50896         * posix/unistd.h [__USE_MISC]: Likewise.
50897         * pwd/pwd.h [__USE_MISC]: Likewise.
50898         * stdlib.h [__USE_MISC]: Likewise.
50899         * string/bits/string2.h [__USE_MISC]: Likewise.
50900         * string/string.h [__USE_MISC]: Likewise.
50901         * time/time.h [__USE_MISC]: Likewise.
50903 2014-02-13  Andreas Schwab  <schwab@suse.de>
50905         [BZ #16574]
50906         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50907         second answer buffer if it was separately allocated.
50909 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50911         * sysdeps/mips/math-tests.h: Include <features.h>.
50912         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50913         (ROUNDING_TESTS_long_double): Do not define.
50914         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50915         (EXCEPTION_TESTS_long_double): Likewise.
50916         * sysdeps/mips/mips64/libm-test-ulps: Update.
50918         * include/features.h (__USE_BSD): Remove macro definitions.
50919         (__USE_SVID): Likewise.
50920         (_BSD_SOURCE): Likewise.
50921         (_SVID_SOURCE): Likewise.
50922         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50923         from definition of _DEFAULT_SOURCE.
50924         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50925         [_DEFAULT_SOURCE].
50926         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50927         * bits/mman.h [__USE_BSD]: Likewise.
50928         * bits/termios.h [__USE_BSD]: Likewise.
50929         * bits/waitstatus.h [__USE_BSD]: Likewise.
50930         * ctype/ctype.h [__USE_SVID]: Likewise.
50931         * dirent/dirent.h [__USE_BSD]: Likewise.
50932         * grp/grp.h [__USE_SVID]: Likewise.
50933         [__USE_BSD]: Likewise.
50934         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50935         * io/fcntl.h [__USE_BSD]: Likewise.
50936         * io/ftw.h [__USE_BSD]: Likewise.
50937         * io/sys/stat.h [__USE_BSD]: Likewise.
50938         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50939         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50940         * libio/stdio.h [__USE_SVID]: Likewise.
50941         [__USE_BSD]: Likewise.
50942         * math/math.h [__USE_SVID]: Likewise.
50943         [__USE_BSD]: Likewise.
50944         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50945         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50946         * misc/search.h [__USE_SVID]: Likewise.
50947         * misc/sys/mman.h [__USE_BSD]: Likewise.
50948         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50949         * misc/sys/uio.h [__USE_BSD]: Likewise.
50950         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50951         * posix/glob.h [__USE_BSD]: Likewise.
50952         * posix/regex.h [__USE_BSD]: Likewise.
50953         * posix/sys/types.h [__USE_BSD]: Likewise.
50954         [__USE_SVID]: Likewise.
50955         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50956         * posix/sys/wait.h [__USE_BSD]: Likewise.
50957         [__USE_SVID]: Likewise.
50958         * posix/unistd.h [__USE_BSD]: Likewise.
50959         [__USE_SVID]: Likewise.
50960         * pwd/pwd.h [__USE_SVID]: Likewise.
50961         * resolv/netdb.h [__USE_BSD]: Likewise.
50962         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50963         * signal/signal.h [__USE_BSD]: Likewise.
50964         [__USE_SVID]: Likewise.
50965         * socket/sys/socket.h [__USE_BSD]: Likewise.
50966         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50967         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50968         [__USE_SVID]: Likewise.
50969         * string/bits/string2.h [__USE_BSD]: Likewise.
50970         [__USE_SVID]: Likewise.
50971         * string/bits/string3.h [__USE_BSD]: Likewise.
50972         * string/endian.h [__USE_BSD]: Likewise.
50973         * string/string.h [__USE_SVID]: Likewise.
50974         [__USE_BSD]: Likewise.
50975         * string/strings.h [__USE_BSD]: Likewise.
50976         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50977         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50978         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50979         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50980         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50981         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50982         Likewise.
50983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50984         Likewise.
50985         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50986         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50987         Likewise.
50988         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50989         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50990         Likewise.
50991         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50992         Likewise.
50993         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50994         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50995         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50996         Likewise.
50997         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50998         Likewise.
50999         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51000         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51001         * termios/termios.h [__USE_BSD]: Likewise.
51002         * time/sys/time.h [__USE_BSD]: Likewise.
51003         * time/time.h [__USE_BSD]: Likewise.
51004         [__USE_SVID]: Likewise.
51006         * Makefile (subdir_targets): Remove subdir_lint.out.
51008         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51009         (do-tst-printf): Likewise.
51010         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51011         $(objpfx)tst-printf.out.
51013         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51015         * Makerules (check-abi-%): Change target to
51016         $(objpfx)check-abi-%.out.
51017         (check-abi target): Update dependencies.
51018         (check-abi-pattern variable): Redirect output of diff to $@.
51019         (check-abi variable): Likewise.
51020         * elf/Makefile (check-abi): Update dependencies.
51022         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51023         unused.
51024         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51025         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51026         subnormal range.
51027         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51028         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51029         value has largest subnormal exponent.
51030         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51031         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51032         * sysdeps/aarch64/soft-fp/sfp-machine.h
51033         (_FP_TININESS_AFTER_ROUNDING): New macro.
51034         * sysdeps/alpha/soft-fp/sfp-machine.h
51035         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51036         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51037         Likewise.
51038         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51039         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51040         * sysdeps/mips/soft-fp/sfp-machine.h
51041         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51042         * sysdeps/powerpc/soft-fp/sfp-machine.h
51043         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51044         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51045         Likewise.
51046         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51047         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51048         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51049         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51050         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51051         Likewise.
51053 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51055         [BZ #16545]
51056         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51057         model 1.
51059 2014-02-12  Richard Henderson  <rth@redhat.com>
51061         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51062         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51063         * sysdeps/unix/sysv/linux/alpha: Move directory from
51064         ports/sysdeps/unix/sysv/linux/alpha.
51065         * README: Update listing for alpha-*-linux-gnu.
51067 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51069         * include/features.h: Update comment documenting feature test
51070         macros.
51071         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51072         _DEFAULT_SOURCE.
51073         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51074         (_SVID_SOURCE): Likewise.
51075         (_DEFAULT_SOURCE): Update description of default features.
51076         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51077         with _GNU_SOURCE.
51078         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51079         (S_ISVTX): Likewise.
51080         * manual/math.texi (Mathematical Constants): Likewise.
51081         * manual/signal.texi (Interrupted Primitives): Likewise.
51082         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51083         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51084         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51085         Don't refer to _SVID_SOURCE in warning text.
51087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51089         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51090         already defined.
51091         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51092         * sysdeps/mips/dl-lookup.c: Remove.
51093         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51095 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51097         [BZ #16447]
51098         * math/auto-libm-test-in: Add testcase for expl.
51099         * math/auto-libm-test-out: Regenerate.
51100         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51101         calculation of unsafe.
51102         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51104 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51106         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51107         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51108         ports/sysdeps/unix/sysv/linux/aarch64.
51109         * README: Update listing for aarch64*-*-linux-gnu.
51111 2014-02-11  Will Newton  <will.newton@linaro.org>
51113         * manual/probes.texi (Mathematical Function Probes): Use
51114         "triggered" instead of "hit".
51116         * manual/probes.texi (Internal Probes): Add documentation
51117         of setjmp, longjmp and longjmp_target probes.
51119         * include/stap-probe.h: Add comment about probe argument
51120         format.
51122         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51123         definition.  (tr_where, tr_freehook, tr_mallochook,
51124         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51126 2014-02-11  David S. Miller  <davem@davemloft.net>
51128         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51129         processing int_tests.
51131 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51133         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51134         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51135         * sysdeps/unix/sysv/linux/mips: Move directory from
51136         ports/sysdeps/unix/sysv/linux/mips.
51137         * README: Update listing for mips-*-linux-gnu and
51138         mips64-*-linux-gnu.
51140 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51142         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51143         * sysdeps/unix/sysv/linux/m68k: Move directory from
51144         ports/sysdeps/unix/sysv/linux/m68k.
51145         * README: Update listing for m68k-*-linux-gnu.
51147 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51149         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51150         * sysdeps/unix/sysv/linux/generic: Move directory from
51151         ports/sysdeps/unix/sysv/linux/generic.
51152         * sysdeps/unix/sysv/linux/tile: Move directory from
51153         ports/sysdeps/unix/sysv/linux/tile.
51154         * README: Update listing for tile*-*-linux-gnu.
51156 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51158         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51159         __builtin_expect.
51160         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51161         * catgets/open_catalog.c (__open_catalog): Likewise.
51162         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51163         * debug/confstr_chk.c: Likewise.
51164         * debug/fread_chk.c (__fread_chk): Likewise.
51165         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51166         * debug/getgroups_chk.c: Likewise.
51167         * debug/mbsnrtowcs_chk.c: Likewise.
51168         * debug/mbsrtowcs_chk.c: Likewise.
51169         * debug/mbstowcs_chk.c: Likewise.
51170         * debug/memcpy_chk.c: Likewise.
51171         * debug/memmove_chk.c: Likewise.
51172         * debug/mempcpy_chk.c: Likewise.
51173         * debug/memset_chk.c: Likewise.
51174         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51175         * debug/strcat_chk.c (__strcat_chk): Likewise.
51176         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51177         * debug/strncat_chk.c (__strncat_chk): Likewise.
51178         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51179         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51180         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51181         * debug/wcpncpy_chk.c: Likewise.
51182         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51183         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51184         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51185         * debug/wcsncpy_chk.c: Likewise.
51186         * debug/wcsnrtombs_chk.c: Likewise.
51187         * debug/wcsrtombs_chk.c: Likewise.
51188         * debug/wcstombs_chk.c: Likewise.
51189         * debug/wmemcpy_chk.c: Likewise.
51190         * debug/wmemmove_chk.c: Likewise.
51191         * debug/wmempcpy_chk.c: Likewise.
51192         * debug/wmemset_chk.c: Likewise.
51193         * dirent/scandirat.c (SCANDIRAT): Likewise.
51194         * dlfcn/dladdr1.c (dladdr1): Likewise.
51195         * dlfcn/dladdr.c (dladdr): Likewise.
51196         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51197         * dlfcn/dlerror.c (__dlerror): Likewise.
51198         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51199         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51200         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51201         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51202         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51203         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51204         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51205         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51206         Likewise.
51207         * elf/dl-conflict.c: Likewise.
51208         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51209         * elf/dl-dst.h: Likewise.
51210         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51211         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51212         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51213         * elf/dl-init.c (call_init, _dl_init): Likewise.
51214         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51215         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51216         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51217         Likewise.
51218         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51219         Likewise.
51220         * elf/dl-minimal.c (__libc_memalign): Likewise.
51221         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51222         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51223         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51224         * elf/dl-sym.c (do_sym): Likewise.
51225         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51226         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51227         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51228         * elf/dl-writev.h (_dl_writev): Likewise.
51229         * elf/ldconfig.c (search_dir): Likewise.
51230         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51231         (dl_main): Likewise.
51232         * elf/setup-vdso.h (setup_vdso): Likewise.
51233         * grp/compat-initgroups.c (compat_call): Likewise.
51234         * grp/fgetgrent.c (fgetgrent): Likewise.
51235         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51236         * grp/putgrent.c (putgrent): Likewise.
51237         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51238         Likewise.
51239         * hurd/hurdinit.c: Likewise.
51240         * iconvdata/8bit-gap.c (struct): Likewise.
51241         * iconvdata/ansi_x3.110.c : Likewise.
51242         * iconvdata/big5.c : Likewise.
51243         * iconvdata/big5hkscs.c : Likewise.
51244         * iconvdata/cp1255.c: Likewise.
51245         * iconvdata/cp1258.c : Likewise.
51246         * iconvdata/cp932.c : Likewise.
51247         * iconvdata/euc-cn.c: Likewise.
51248         * iconvdata/euc-jisx0213.c : Likewise.
51249         * iconvdata/euc-jp.c: Likewise.
51250         * iconvdata/euc-jp-ms.c : Likewise.
51251         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51252         * iconvdata/gb18030.c : Likewise.
51253         * iconvdata/gbbig5.c (const): Likewise.
51254         * iconvdata/gbgbk.c: Likewise.
51255         * iconvdata/gbk.c : Likewise.
51256         * iconvdata/ibm1364.c : Likewise.
51257         * iconvdata/ibm930.c : Likewise.
51258         * iconvdata/ibm932.c: Likewise.
51259         * iconvdata/ibm933.c : Likewise.
51260         * iconvdata/ibm935.c : Likewise.
51261         * iconvdata/ibm937.c : Likewise.
51262         * iconvdata/ibm939.c : Likewise.
51263         * iconvdata/ibm943.c: Likewise.
51264         * iconvdata/iso_11548-1.c: Likewise.
51265         * iconvdata/iso-2022-cn.c : Likewise.
51266         * iconvdata/iso-2022-cn-ext.c : Likewise.
51267         * iconvdata/iso-2022-jp-3.c: Likewise.
51268         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51269         * iconvdata/iso-2022-kr.c : Likewise.
51270         * iconvdata/iso646.c (gconv_end): Likewise.
51271         * iconvdata/iso_6937-2.c : Likewise.
51272         * iconvdata/iso_6937.c : Likewise.
51273         * iconvdata/iso8859-1.c: Likewise.
51274         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51275         * iconvdata/shift_jisx0213.c : Likewise.
51276         * iconvdata/sjis.c : Likewise.
51277         * iconvdata/t.61.c : Likewise.
51278         * iconvdata/tcvn5712-1.c : Likewise.
51279         * iconvdata/tscii.c: Likewise.
51280         * iconvdata/uhc.c : Likewise.
51281         * iconvdata/unicode.c (gconv_end): Likewise.
51282         * iconvdata/utf-16.c (gconv_end): Likewise.
51283         * iconvdata/utf-32.c (gconv_end): Likewise.
51284         * iconvdata/utf-7.c (base64): Likewise.
51285         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51286         * iconv/gconv_close.c (__gconv_close): Likewise.
51287         * iconv/gconv_open.c (__gconv_open): Likewise.
51288         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51289         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51290         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51291         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51292         (ucs4le_internal_loop_single): Likewise.
51293         * iconv/iconv.c (iconv): Likewise.
51294         * iconv/iconv_close.c: Likewise.
51295         * iconv/loop.c (SINGLE): Likewise.
51296         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51297         * include/atomic.h: Likewise.
51298         * inet/inet6_option.c (option_alloc): Likewise.
51299         * intl/bindtextdom.c (set_binding_values): Likewise.
51300         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51301         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51302         * intl/localealias.c (read_alias_file): Likewise.
51303         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51304         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51305         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51306         * libio/fmemopen.c (fmemopen): Likewise.
51307         * libio/iofgets.c (_IO_fgets): Likewise.
51308         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51309         * libio/iofgetws.c (fgetws): Likewise.
51310         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51311         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51312         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51313         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51314         * locale/findlocale.c (_nl_find_locale): Likewise.
51315         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51316         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51317         Likewise.
51318         * locale/setlocale.c (setlocale): Likewise.
51319         * login/programs/pt_chown.c (main): Likewise.
51320         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51321         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51322         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51323         (mmap, mmap64, mremap, munmap): Likewise.
51324         * math/e_exp2l.c: Likewise.
51325         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51326         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51327         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51328         * math/s_catan.c (__catan): Likewise.
51329         * math/s_catanf.c (__catanf): Likewise.
51330         * math/s_catanh.c (__catanh): Likewise.
51331         * math/s_catanhf.c (__catanhf): Likewise.
51332         * math/s_catanhl.c (__catanhl): Likewise.
51333         * math/s_catanl.c (__catanl): Likewise.
51334         * math/s_ccosh.c (__ccosh): Likewise.
51335         * math/s_ccoshf.c (__ccoshf): Likewise.
51336         * math/s_ccoshl.c (__ccoshl): Likewise.
51337         * math/s_cexp.c (__cexp): Likewise.
51338         * math/s_cexpf.c (__cexpf): Likewise.
51339         * math/s_cexpl.c (__cexpl): Likewise.
51340         * math/s_clog10.c (__clog10): Likewise.
51341         * math/s_clog10f.c (__clog10f): Likewise.
51342         * math/s_clog10l.c (__clog10l): Likewise.
51343         * math/s_clog.c (__clog): Likewise.
51344         * math/s_clogf.c (__clogf): Likewise.
51345         * math/s_clogl.c (__clogl): Likewise.
51346         * math/s_csin.c (__csin): Likewise.
51347         * math/s_csinf.c (__csinf): Likewise.
51348         * math/s_csinh.c (__csinh): Likewise.
51349         * math/s_csinhf.c (__csinhf): Likewise.
51350         * math/s_csinhl.c (__csinhl): Likewise.
51351         * math/s_csinl.c (__csinl): Likewise.
51352         * math/s_csqrt.c (__csqrt): Likewise.
51353         * math/s_csqrtf.c (__csqrtf): Likewise.
51354         * math/s_csqrtl.c (__csqrtl): Likewise.
51355         * math/s_ctan.c (__ctan): Likewise.
51356         * math/s_ctanf.c (__ctanf): Likewise.
51357         * math/s_ctanh.c (__ctanh): Likewise.
51358         * math/s_ctanhf.c (__ctanhf): Likewise.
51359         * math/s_ctanhl.c (__ctanhl): Likewise.
51360         * math/s_ctanl.c (__ctanl): Likewise.
51361         * math/w_pow.c: Likewise.
51362         * math/w_powf.c: Likewise.
51363         * math/w_powl.c: Likewise.
51364         * math/w_scalb.c (sysv_scalb): Likewise.
51365         * math/w_scalbf.c (sysv_scalbf): Likewise.
51366         * math/w_scalbl.c (sysv_scalbl): Likewise.
51367         * misc/error.c (error_tail): Likewise.
51368         * misc/pselect.c (__pselect): Likewise.
51369         * nis/nis_callback.c (__nis_create_callback): Likewise.
51370         * nis/nis_call.c (__nisfind_server): Likewise.
51371         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51372         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51373         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51374         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51375         * nis/nis_lookup.c (nis_lookup): Likewise.
51376         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51377         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51378         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51379         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51380         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51381         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51382         * nis/nss_compat/compat-initgroups.c (add_group)
51383         (internal_getgrent_r): Likewise.
51384         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51385         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51386         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51387         (internal_getspnam_r): Likewise.
51388         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51389         (_nss_nis_getaliasbyname_r): Likewise.
51390         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51391         (_nss_nis_getntohost_r): Likewise.
51392         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51393         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51394         (_nss_nis_getgrgid_r): Likewise.
51395         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51396         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51397         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51398         (_nss_nis_gethostbyname4_r): Likewise.
51399         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51400         (initgroups_netid): Likewise.
51401         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51402         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51403         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51404         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51405         (_nss_nis_getprotobynumber_r): Likewise.
51406         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51407         (_nss_nis_getsecretkey): Likewise.
51408         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51409         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51410         (_nss_nis_getpwuid_r): Likewise.
51411         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51412         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51413         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51414         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51415         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51416         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51417         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51418         Likewise.
51419         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51420         (_nss_nisplus_getntohost_r): Likewise.
51421         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51422         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51423         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51424         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51425         Likewise.
51426         * nis/nss_nisplus/nisplus-initgroups.c
51427         (_nss_nisplus_initgroups_dyn): Likewise.
51428         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51429         (_nss_nisplus_getnetbyaddr_r): Likewise.
51430         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51431         (_nss_nisplus_getprotobynumber_r): Likewise.
51432         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51433         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51434         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51435         Likewise.
51436         * nis/nss_nisplus/nisplus-service.c
51437         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51438         (_nss_nisplus_getservbyport_r): Likewise.
51439         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51440         (_nss_nisplus_getspnam_r): Likewise.
51441         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51442         Likewise.
51443         * nscd/aicache.c (addhstaiX): Likewise.
51444         * nscd/cache.c (cache_search, prune_cache): Likewise.
51445         * nscd/connections.c (register_traced_file, send_ro_fd)
51446         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51447         (main_loop_epoll): Likewise.
51448         * nscd/grpcache.c (addgrbyX): Likewise.
51449         * nscd/hstcache.c (addhstbyX): Likewise.
51450         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51451         * nscd/mem.c (gc, mempool_alloc): Likewise.
51452         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51453         (addinnetgrX): Likewise.
51454         * nscd/nscd-client.h (__nscd_acquire_maplock)
51455         (__nscd_drop_map_ref): Likewise.
51456         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51457         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51458         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51459         Likewise.
51460         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51461         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51462         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51463         (__nscd_get_map_ref): Likewise.
51464         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51465         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51466         Likewise.
51467         * nscd/pwdcache.c (addpwbyX): Likewise.
51468         * nscd/selinux.c (preserve_capabilities): Likewise.
51469         * nscd/servicescache.c (addservbyX): Likewise.
51470         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51471         * posix/fnmatch.c (fnmatch): Likewise.
51472         * posix/getopt.c (_getopt_internal_r): Likewise.
51473         * posix/glob.c (glob, glob_in_dir): Likewise.
51474         * posix/wordexp.c (exec_comm_child): Likewise.
51475         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51476         (getanswer_r, gaih_getanswer_slice): Likewise.
51477         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51478         * resolv/res_init.c: Likewise.
51479         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51480         * resolv/res_query.c (__libc_res_nquery): Likewise.
51481         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51482         Likewise.
51483         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51484         * stdio-common/perror.c (perror): Likewise.
51485         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51486         * stdio-common/tmpnam.c (tmpnam): Likewise.
51487         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51488         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51489         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51490         Likewise.
51491         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51492         * stdlib/putenv.c (putenv): Likewise.
51493         * stdlib/setenv.c (__add_to_environ): Likewise.
51494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51495         * stdlib/strtol_l.c (INTERNAL): Likewise.
51496         * string/memmem.c (memmem): Likewise.
51497         * string/strerror.c (strerror): Likewise.
51498         * string/strnlen.c (__strnlen): Likewise.
51499         * string/test-memmem.c (simple_memmem): Likewise.
51500         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51501         * sunrpc/pm_getport.c (__get_socket): Likewise.
51502         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51503         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51504         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51505         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51506         Likewise.
51507         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51508         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51509         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51510         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51511         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51512         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51513         Likewise.
51514         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51515         Likewise.
51516         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51517         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51518         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51519         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51520         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51522         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51523         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51524         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51525         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51526         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51527         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51528         Likewise.
51529         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51530         Likewise.
51531         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51532         Likewise.
51533         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51535         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51536         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51537         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51538         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51539         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51548         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51549         Likewise.
51550         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51551         Likewise.
51552         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51553         Likewise.
51554         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51555         Likewise.
51556         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51558         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51559         Likewise.
51560         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51561         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51562         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51563         * sysdeps/posix/sleep.c: Likewise.
51564         * sysdeps/posix/tempname.c: Likewise.
51565         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51566         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51567         Likewise.
51568         * sysdeps/powerpc/powerpc32/dl-machine.h
51569         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51570         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51571         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51572         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51573         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51574         Likewise.
51575         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51576         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51577         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51578         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51579         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51580         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51581         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51582         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51583         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51584         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51585         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51586         (elf_machine_lazy_rel): Likewise.
51587         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51589         (elf_machine_lazy_rel): Likewise.
51590         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51591         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51592         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51593         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51594         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51595         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51596         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51598         Likewise.
51599         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51600         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51601         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51602         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51603         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51604         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51605         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51606         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51607         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51608         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51609         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51610         Likewise.
51611         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51612         (__posix_fallocate64_l64): Likewise.
51613         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51614         (posix_fallocate): Likewise.
51615         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51616         Likewise.
51617         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51618         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51619         (getifaddrs_internal): Likewise.
51620         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51621         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51622         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51623         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51624         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51625         (__posix_fallocate64_l64): Likewise.
51626         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51627         Likewise.
51628         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51629         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51630         (__get_clockfreq): Likewise.
51631         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51632         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51633         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51636         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51637         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51638         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51639         Likewise.
51640         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51641         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51642         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51643         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51644         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51645         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51646         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51647         Likewise.
51648         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51649         (posix_fallocate): Likewise.
51650         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51651         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51652         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51653         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51654         (elf_machine_rela, elf_machine_rela_relative)
51655         (elf_machine_lazy_rel): Likewise.
51656         * time/asctime.c (asctime_internal): Likewise.
51657         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51658         * time/tzset.c (__tzset_parse_tz): Likewise.
51659         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51660         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51661         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51662         * wcsmbs/wcsmbsload.h: Likewise.
51664         [BZ #15894]
51665         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51667         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51668         (arena_get2): Remove THREAD_STATS conditionals.
51669         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51670         (__malloc_stats, int): Likewise.
51672 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51674         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51675         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51677         * manual/setjmp.texi: Fix typos/grammar errors.
51679         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51680         Only return early when n is <= 0.  Delete unused return statement.
51682         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51683         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51684         * debug/tst-longjmp_chk3.c: New file.
51686         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51687         (test_main): Replace code with set_fortify_handler call.
51688         * debug/test-strcpy_chk.c: Likewise.
51689         * debug/tst-chk1.c: Likewise.
51690         * debug/tst-longjmp_chk.c: Likewise.
51691         * test-skeleton.c: Include fcntl.h & paths.h
51692         (set_fortify_handler): Define.
51694         * debug/tst-longjmp_chk.c: Add header comment and include
51695         ../test-skeleton.c.
51696         (do_test): Mark static.
51697         (TEST_FUNCTION): Define.
51699         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51700         (IP_PMTUDISC_INTERFACE): Likewise.
51701         (IP_MULTICAST_IF): Likewise.
51702         (IP_MULTICAST_TTL): Likewise.
51703         (IP_MULTICAST_LOOP): Likewise.
51704         (IP_ADD_MEMBERSHIP): Likewise.
51705         (IP_DROP_MEMBERSHIP): Likewise.
51706         (IP_UNBLOCK_SOURCE): Likewise.
51707         (IP_BLOCK_SOURCE): Likewise.
51708         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51709         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51710         (IP_MSFILTER): Likewise.
51711         (MCAST_JOIN_GROUP): Likewise.
51712         (MCAST_BLOCK_SOURCE): Likewise.
51713         (MCAST_UNBLOCK_SOURCE): Likewise.
51714         (MCAST_LEAVE_GROUP): Likewise.
51715         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51716         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51717         (MCAST_MSFILTER): Likewise.
51718         (IP_MULTICAST_ALL): Likewise.
51719         (IP_UNICAST_IF): Likewise.
51721         * timezone/Makefile: Delete $(have-ksh) check.
51722         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51723         * timezone/tzselect.ksh: Add +x mode bits.
51725         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51726         (ANON_INODE_FS_MAGIC): Likewise.
51727         (BDEVFS_MAGIC): Likewise.
51728         (BINFMTFS_MAGIC): Likewise.
51729         (BTRFS_TEST_MAGIC): Likewise.
51730         (CRAMFS_MAGIC_WEND): Likewise.
51731         (DEBUGFS_MAGIC): Likewise.
51732         (ECRYPTFS_SUPER_MAGIC): Likewise.
51733         (EXT3_SUPER_MAGIC): Likewise.
51734         (EXT4_SUPER_MAGIC): Likewise.
51735         (FUTEXFS_SUPER_MAGIC): Likewise.
51736         (HOSTFS_SUPER_MAGIC): Likewise.
51737         (HUGETLBFS_MAGIC): Likewise.
51738         (MINIX3_SUPER_MAGIC): Likewise.
51739         (MTD_INODE_FS_MAGIC): Likewise.
51740         (NILFS_SUPER_MAGIC): Likewise.
51741         (OPENPROM_SUPER_MAGIC): Likewise.
51742         (PIPEFS_MAGIC): Likewise.
51743         (PSTOREFS_MAGIC): Likewise.
51744         (QNX6_SUPER_MAGIC): Likewise.
51745         (RAMFS_MAGIC): Likewise.
51746         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51747         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51748         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51749         (SECURITYFS_MAGIC): Likewise.
51750         (SELINUX_MAGIC): Likewise.
51751         (SMACK_MAGIC): Likewise.
51752         (SOCKFS_MAGIC): Likewise.
51753         (SQUASHFS_MAGIC): Likewise.
51754         (STACK_END_MAGIC): Likewise.
51755         (TMPFS_MAGIC): Likewise.
51756         (USBDEVICE_SUPER_MAGIC): Likewise.
51757         (V9FS_MAGIC): Likewise.
51758         (XENFS_SUPER_MAGIC): Likewise.
51759         (CRAMFS_MAGIC): Fix typo in comment.
51760         (EXT2_SUPER_MAGIC): Update comment.
51761         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51763 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51765         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51766         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51767         * sysdeps/unix/sysv/linux/arm: Move directory from
51768         ports/sysdeps/unix/sysv/linux/arm.
51769         * README: Update listing for arm-*-linux-gnueabi.
51771         * README: Remove mention of am33.
51773 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51775         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51776         than the comma operator, to avoid "rhs of comma has no effect"
51777         compiler warnings.
51778         (__sigfillset, __sigandset, __sigorset): Likewise.
51779         * include/signal.h (__sigemptyset): Likewise.
51780         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51782 2014-02-07  Allan McRae  <allan@archlinux.org>
51784         * version.h (RELEASE): Set to "development".
51785         (VERSION): Set to "2.19.90"
51786         * NEWS: Add 2.20 section.
51788 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51790         [BZ #16529]
51791         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51793 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51795         * manual/contrib.texi: Update entry for Carlos O'Donell,
51796         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51798 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51800         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51802         * sysdeps/unix/sysv/linux/kernel-features.h
51803         [__LINUX_KERNEL_VERSION >= 0x020621]
51804         (__ASSUME_PROC_PID_TASK_COMM): Define.
51806 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51808         [BZ #16398]
51809         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51810         conversion when destination buffer does not have enough space.
51811         * libio/tst-ftell-partial-wide.c: New test case.
51812         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51814         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51815         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51816         Leonard and Allan McRae.
51818 2014-02-04  David S. Miller  <davem@davemloft.net>
51820         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51821         32-bit.
51823 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51826         New file
51827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51828         New file
51829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51830         New file.
51831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51832         New file.
51833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51834         New file.
51835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51836         New file.
51837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51838         New file.
51839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51840         New file.
51841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51842         New file.
51843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51844         New file.
51845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51846         New file.
51847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51848         New file.
51849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51850         New file.
51852 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51854         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51855         * shlib-versions: Likewise.
51857 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51858             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51860         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51861         (abilist-pattern): New variable, set to %-le.abilist.
51863         * Makerules (abilist-pattern): New variable.
51864         (vpath): Use $(abilist-pattern) in place of %.abilist.
51865         (check-abi-% pattern rule): Likewise.
51866         (check-abi, update-abi): Likewise.
51868 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51870         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51872 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51874         * manual/startup.texi: Add next, previous, and top entries for
51875         the `Program Arguments' and `Environment Variables' nodes.
51877 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51879         * manual/macros.texi: Add comments before MTASC-safety macros.
51881         * manual/users.texi: Document MTASC-safety properties.
51883         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51884         (pthread_getspecific, pthread_setspecific): Format with
51885         @deftypefun, and add @safety note.
51886         * manual/signal.texi: Move comments that analyze the above
51887         functions to their home place.
51889 2014-02-03  Allan McRae  <allan@archlinux.org>
51891         * po/sl.po: Update Slovenian translation from translation project.
51893 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51895         * manual/time.texi (timegm): Add missing blank after @c.
51896         Reported by Joseph Myers <joseph@codesourcery.com>.
51898 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51900         * manual/check-safety.sh: New.
51901         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51903         * manual/terminal.texi: Document MTASC-safety properties.
51905         * manual/filesys.texi: Document MTASC-safety properties.
51907         * manual/errno.texi: Document MTASC-safety properties.
51909         * manual/intro.texi: Document safety identifiers and
51910         conditionals.
51912         * manual/string.texi (wcstok): Fix prototype.
51913         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51915         * manual/time.texi: Document MTASC-safety properties.
51917         * manual/string.texi: Document MTASC-safety properties.
51919         * manual/threads.texi: Document MTASC-safety properties.
51921         * manual/stdio.texi: Document MTASC-safety properties.
51923         * manual/syslog.texi: Document MTASC-safety properties.
51925         * manual/sysinfo.texi: Document MTASC-safety properties.
51927         * manual/startup.texi: Document MTASC-safety properties.
51929         * manual/socket.texi: Document MTASC-safety properties.
51931         * manual/signal.texi: Document MTASC-safety properties.
51933 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51935         * manual/setjmp.texi: Document MTASC-safety properties.
51937         * manual/search.texi: Document MTASC-safety properties.
51939         * manual/resource.texi: Document MTASC-safety properties.
51941         * manual/process.texi: Document MTASC-safety properties.
51943         * manual/platform.texi: Document MTASC-safety properties.
51945         * manual/pipe.texi: Document MTASC-safety properties.
51947         * manual/pattern.texi: Document MTASC-safety properties.
51949         * manual/message.texi: Document MTASC-safety properties.
51951         [BZ #12751]
51952         * manual/memory.texi: Document MTASC-safety properties.
51954         * manual/math.texi: Document MTASC-safety properties.
51956         * manual/locale.texi: Document MTASC-safety properties.
51958         * manual/llio.texi: Document MTASC-safety properties.
51960         * manual/libdl.texi: New.
51962         * manual/lang.texi: Document MTASC-safety properties.
51964         * manual/job.texi: Document MTASC-safety properties.
51966         * manual/getopt.texi: Document MTASC-safety properties.
51968         * manual/ctype.texi: Document MTASC-safety properties.
51970 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51972         [BZ #16046]
51973         * csu/libc-tls.c (static_map): Remove variable.
51974         (__libc_setup_tls): Use main executable's link map for TLS data.
51975         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51976         casing for LM_ID_BASE and GL(dl_nns).
51977         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51978         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51979         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51980         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51981         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51982         member.
51983         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51984         l_phnum members.
51986 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51988         * manual/debug.texi: Document MTASC-safety properties.
51990 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51992         [BZ #16510]
51993         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51994         of __x86_64__ when disabling x87 inline functions.
51996 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51998         * manual/charset.texi: Document MTASC-safety properties.
52000         * manual/crypt.texi: Document MTASC-safety properties.
52002         * manual/conf.texi: Document MTASC-safety properties.
52004         * manual/arith.texi: Document MTASC-safety properties.
52006         * manual/argp.texi: Document MTASC-safety properties.
52008         * manual/macros.texi: Introduce macros to document multi
52009         thread, asynchronous signal and asynchronous cancellation
52010         safety properties.
52011         * manual/intro.texi: Introduce the properties themselves.
52013 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52015         * sysdeps/sh/sh4/Makefile: New file.
52017 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52019         * math/gen-libm-test.pl ($srcdir): New variable.
52020         ($auto_input): Use it.
52022 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52024         [BZ #16506]
52025         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52026         access beyond array bounds when parsing netgroups file.
52028         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52029         the old buffer before realloc.
52031 2014-01-27  Allan McRae  <allan@archlinux.org>
52033         * po/fr.po: Update French translation from translation project.
52035 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52037         * sysdeps/sh/libm-test-ulps: Regenerate.
52039 2014-01-24  David S. Miller  <davem@davemloft.net>
52041         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52043 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52045         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52046         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52048 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52050         [BZ #16474]
52051         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52052         string pointers after reallocation.
52054 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52056         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52057         __SH4A__ instead of __SH_FPU_ANY__.
52059 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52061         * sysdeps/sh/fpu_control.h: New file.
52062         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52063         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52064         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52065         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52066         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52067         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52068         * sysdeps/sh/sys/ucontext.h: Remove.
52069         * sysdeps/sh/sys: Remove directory.
52071 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52073         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52074         s390/sys/ucontext.h.
52075         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52076         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52078 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52080         [BZ #15605]
52081         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52083 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52085         [BZ #16431]
52086         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52087         Adjust the vDSO correctly for internal calls.
52088         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52090 2014-01-20  Allan McRae  <allan@archlinux.org>
52092         * po/ca.po: Update Catalan translation from translation project.
52094 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52096         * sysdeps/s390/sotruss-lib.c: New file.
52098 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52100         [BZ #16430]
52101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52102         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52103         local calls issues by not having a PLT stub required for IFUNC calls.
52104         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52106 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52108         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52109         * math/test-fpucw-static.c: Likewise.
52111 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52113         [BZ #16453]
52114         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52116 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52118         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52119         implementation for powerpc.
52121 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52123         [BZ #14782]
52124         * sysdeps/posix/system.c (__libc_system): Do not enable
52125         asynchronous cancellation.
52127 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52129         [BZ #16427]
52130         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52131         handling only for numbers special also in the IEEE case.
52133 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52135         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52137 2014-01-11  Allan McRae  <allan@archlinux.org>
52139         * po/bg.po: Update Bulgarian translation from translation project.
52141         * po/de.po: Update German translation from translation project.
52143 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52145         * sysdeps/generic/gcc-compat.h: New file.
52147 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52149         * benchtests/asin-inputs: Correct slow inputs.
52150         * benchtests/acos-inputs: Likewise.
52152 2014-01-10  Allan McRae  <allan@archlinux.org>
52154         * po:sv.po: Update Swedish translation from translation project.
52156         * po/vi.po: Update Vietnamese translation from translation project.
52158         * po/eo.po: Update Esperanto translation from translation project.
52160         * po/cs.po: Update Czech translation from translation project.
52162         * po/nl.po: Update Dutch translation from translation project.
52164         * po/pl.po: Update Polish translation from translation project.
52166         * po/ru.po: Update Russian translation from translation project.
52168         * po/uk.po: Update Ukrainian translation from translation project.
52170 2014-01-08  Brooks Moses  <bmoses@google.com>
52172         * elf/dl-load.c: Fix comment typo.
52174 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52176         * po/header.pot: Rename to...
52177         * po/pot.header: ... this.
52178         * po/Makefile: Use pot.header.
52180 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52181             Maxim Kuvyrkov  <maxim@kugelworks.com>
52183         [BZ #16394]
52184         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52185         SRC and DEST against LEN.
52187 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52189         [BZ #16414]
52190         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52191         implementation.
52192         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52194 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52198 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52200         [BZ #16408]
52201         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52202         for large positive arguments.
52204 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52206         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52208         * math/auto-libm-test-in: Mark various tests with
52209         xfail-rounding:ldbl-128ibm.
52210         * math/auto-libm-test-out: Regenerated.
52212         [BZ #16407]
52213         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52214         Increase overflow threshold.
52216 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52218         [BZ #14286]
52219         * stdio-common/vfprintf.c: Check for integer overflow.
52221 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52223         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52224         the first argument and return value of __tls_get_addr_internal.
52226 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52228         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52229         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52231 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52233         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52234         * sysdeps/s390/rtld-global-offsets.sym: New file.
52235         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52236         GLIBC_2.19 symbol.
52237         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52238         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52239         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52240         ... this.
52241         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52242         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52243         ... this.
52244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52245         Regenerate.
52246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52247         Regenerate.
52248         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52249         halfs of GPRs for high_gprs contexts.
52250         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52251         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52252         field.
52253         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52254         uc_flags field.
52255         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52256         64 bit versions:
52257         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52258         for high GPRs (uc_high_gprs) and for future extensions
52259         (__reserved).
52260         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52261         for future extensions (__reserved).
52262         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52263         64 bit versions:
52264         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52265         SC_HIGHGPRS offset definition.
52266         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52267         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52269         * Versions.def: Add GLIBC_2.19 for libpthread.
52270         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52271         siglongjmp for libpthread with GLIBC_2.19 symver.
52272         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52273         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52274         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52275         * sysdeps/s390/__longjmp.c: New file.
52276         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52277         * sysdeps/s390/longjmp.c: New file.
52278         * sysdeps/s390/setjmp.S: New file.
52279         * sysdeps/s390/sigjmp.S: New file.
52280         * sysdeps/s390/v1-longjmp.c: New file.
52281         * sysdeps/s390/v1-setjmp.h: New file.
52282         * sysdeps/s390/v1-sigjmp.c: New file.
52283         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52284         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52285         GLIBC_2.19 version.
52286         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52287         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52288         versioned symbols for ____longjmp_chk.
52289         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52290         Likewise.
52291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52292         Regenerate.
52293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52294         Regenerate.
52295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52296         Regenerate.
52297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52298         Regenerate.
52299         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52300         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52301         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52302         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52303         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52304         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52305         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52306         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52307         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52308         * sysdeps/s390/rtld-__longjmp.c: New file.
52309         * sysdeps/s390/rtld-setjmp.S: New file.
52311 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52313         [BZ #16400]
52314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52315         Return -__logl (x) for small positive arguments without evaluating
52316         a polynomial.
52318 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52320         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52321         Rename to ...
52322         (__ptrace_peeksiginfo_args): ... this.
52323         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52324         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52327 2014-01-06  Allan McRae  <allan@archlinux.org>
52329         * inet/netinet/in.h: Fix typo in comment.
52331 2014-01-05  Andreas Jaeger  <aj@suse.de>
52333         * sysdeps/i386/fpu/libm-test-ulps: Update.
52335 2014-01-05  Allan McRae  <allan@archlinux.org>
52337         * po/libc.pot: Regenerated.
52339         * malloc/memusagestat.c: Fix gettext call formatting.
52341 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52343         * nscd/nscd.c: Improve usage() output.
52345 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52347         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52348         * sysdeps/unix/sysv/linux/configure: Regenerated.
52349         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52350         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52352 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52354         [BZ #16390]
52355         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52356         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52358 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52360         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52361         extra tokens at end of #undef directive.
52362         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52363         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52364         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52366 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52368         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52370         * math/auto-libm-test-in: Mark various tests with
52371         xfail-rounding:ldbl-128ibm.
52372         * math/auto-libm-test-out: Regenerated.
52374 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52376         [BZ #16386]
52377         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52378         numbers with subnormal high part when calculating exponent.
52380         [BZ #16385]
52381         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52382         fabs.
52384         [BZ #16384]
52385         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52386         M_LN2l.
52387         (__ieee754_acoshl): Use __log1pl not __log1p.
52389 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52391         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52392         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52393         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52394         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52395         (reused_arena, arena_get2): Convert to GNU style.
52396         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52397         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52398         (memalign_check, __malloc_set_state): Likewise.
52399         * malloc/mallocbug.c (main): Likewise.
52400         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52401         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52402         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52403         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52404         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52405         (__posix_memalign, malloc_info): Likewise.
52406         * malloc/malloc.h: Likewise.
52407         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52408         (mallochook, memalignhook, reallochook, mabort): Likewise.
52409         * malloc/mcheck.h: Likewise.
52410         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52411         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52412         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52413         * malloc/morecore.c (__default_morecore): Likewise.
52414         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52415         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52416         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52417         (print_and_abort): Likewise.
52418         * malloc/obstack.h: Likewise.
52419         * malloc/set-freeres.c (__libc_freeres): Likewise.
52420         * malloc/tst-mallocstate.c (main): Likewise.
52421         * malloc/tst-mtrace.c (main): Likewise.
52422         * malloc/tst-realloc.c (do_test): Likewise.
52424 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52426         [BZ #16366]
52427         * nscd/netgroupcache.c (do_notfound): New function.
52428         (addgetnetgrentX): Use it.
52430         [BZ # 16365]
52431         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52432         NSS_STATUS_NOTFOUND.
52434 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52436         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52439 2014-01-01  Allan McRae  <allan@archlinux.org>
52441         * scripts/update-copyrights: Update configure input file suffix.
52443         * NEWS: Update copyright year.
52444         * catgets/gencat.c: Likewise.
52445         * csu/version.c: Likewise.
52446         * debug/catchsegv.sh: Likewise.
52447         * debug/pcprofiledump.c: Likewise.
52448         * debug/xtrace.sh: Likewise.
52449         * elf/ldconfig.c: Likewise.
52450         * elf/ldd.bash.in: Likewise.
52451         * elf/pldd.c: Likewise.
52452         * elf/sotruss.ksh: Likewise.
52453         * elf/sprof.c: Likewise.
52454         * iconv/iconv_prog.c: Likewise.
52455         * iconv/iconvconfig.c: Likewise.
52456         * locale/programs/locale.c: Likewise.
52457         * locale/programs/localedef.c: Likewise.
52458         * login/programs/pt_chown.c: Likewise.
52459         * malloc/memusage.sh: Likewise.
52460         * malloc/memusagestat.c: Likewise.
52461         * malloc/mtrace.pl: Likewise.
52462         * manual/libc.texinfo: Likewise.
52463         * nscd/nscd.c: Likewise.
52464         * nss/getent.c: Likewise.
52465         * nss/makedb.c: Likewise.
52466         * posix/getconf.c: Likewise.
52467         * scripts/test-installation.pl: Likewise.
52469         * All files with FSF copyright notices: Update copyright dates
52470         using scripts/update-copyrights.
52471         * intl/plural.c: Regenerated.
52472         * locale/programs/charmap-kw.h: Likewise.
52473         * locale/programs/locfile-kw.h: Likewise.
52475 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52477         * sysdeps/unix/sysv/linux/configure: Regenerated.
52478         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52479         the linux/fanotify.h header.
52480         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52481         HAVE_LINUX_FANOTIFY_H is defined.
52483 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52485         * benchtests/cos-inputs: New inputs.
52486         * benchtests/sin-inputs: Likewise.
52488         * benchtests/atan-inputs: New inputs. Fix name of multiple
52489         precision fallback inputs.
52491         * benchtests/atanh-inputs: New inputs.
52492         * benchtests/tanh-inputs: Likewise.
52494         * benchtests/acosh-inputs: New inputs.
52495         * benchtests/asinh-inputs: Likewise.
52497         * benchtests/cosh-inputs: New inputs.
52498         * benchtests/sinh-inputs: Likewise.
52500         * benchtests/acos-inputs: Add more inputs.
52501         * benchtests/asin-inputs: Likewise.
52503 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52505         [BZ #16375]
52506         * manual/arith.texi: Fix spelling.
52507         * manual/charset.texi: Likewise.
52508         * manual/errno.texi: Likewise.
52509         * manual/filesys.texi: Likewise.
52510         * manual/lang.texi: Likewise.
52511         * manual/llio.texi: Likewise.
52512         * manual/locale.texi: Likewise.
52513         * manual/message.texi: Likewise.
52514         * manual/resource.texi: Likewise.
52515         * manual/search.texi: Likewise.
52516         * manual/setjmp.texi: Likewise.
52517         * manual/stdio.texi: Likewise.
52518         * manual/string.texi: Likewise.
52519         * manual/sysinfo.texi: Likewise.
52520         * manual/time.texi: Likewise.
52522 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52524         * po/sl.po: New file.
52526 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52528         * .gitignore: Add core/.gdbinit/.gdb_history.
52530 2013-12-27  Allan McRae  <allan@archlinux.org>
52532         [BZ #16369]
52533         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52534         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52536 2013-12-24  Brooks Moses  <bmoses@google.com>
52538         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52539         all compilers that claim C++98 compliance, not just GCC.
52540         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52541         Likewise.
52543 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52545         * NEWS: Restore accidentally deleted bug-fix entries.
52547 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52548             Ondřej Bílka  <neleai@seznam.cz>
52550         [BZ #15073]
52551         * malloc/malloc.c (_int_free): Perform sanity check only if we
52552         have_lock.
52554 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52556         [BZ #12986]
52557         * manual/stdio.texi (String Input Conversions): Clarify that character
52558         classes are not supported.
52560 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52564 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52566         [BZ #16337]
52567         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52568         Calculate results for small negative arguments directly rather
52569         than using reflection formula with special underflow handling.
52571         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52572         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52573         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52574         (fchflags): Likewise.
52575         (revoke): Likewise.
52576         (setlogin): Likewise.
52577         (sigaltstack): Likewise.
52578         (wait4): Likewise.
52579         (sigblock): Remove.
52580         (sigsetmask): Likewise.
52581         (wait3): Likewise.
52582         (waitpid): Likewise.
52583         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52584         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52585         file.
52586         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52587         * sysdeps/unix/bsd/Makefile: ... here.
52588         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52589         * sysdeps/unix/bsd/Versions: ... here.
52590         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52591         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52592         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52593         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52594         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52595         * sysdeps/unix/bsd/sigblock.c: ... here.
52596         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52597         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52598         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52599         * sysdeps/unix/bsd/sigvec.c: ... here.
52600         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52601         * sysdeps/unix/bsd/tcdrain.c: ... here.
52602         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52603         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52604         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52605         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52606         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52607         * sysdeps/unix/bsd/wait.c: ... here.
52608         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52609         * sysdeps/unix/bsd/wait3.c: ... here.
52610         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52611         * sysdeps/unix/bsd/waitpid.c: ... here.
52613 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52615         [BZ #16356]
52616         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52617         round-to-nearest for [!USE_AS_EXPM1L].
52618         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52619         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52620         more tests of exp and exp10.  Expect some exp10 tests to miss
52621         exceptions or fail in directed rounding modes.
52622         * math/auto-libm-test-out: Regenerated.
52623         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52624         (exp10_test_tonearest): New function.
52625         (exp10_towardzero_test_data): New array.
52626         (exp10_test_towardzero): New function.
52627         (exp10_downward_test_data): New array.
52628         (exp10_test_downward): New function.
52629         (exp10_upward_test_data): New array.
52630         (exp10_test_upward): New function.
52631         (main): Call the new functions.
52632         * sysdeps/i386/fpu/libm-test-ulps: Update.
52633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52635 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52637         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52638         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52639         * math/auto-libm-test-out: Regenerated.
52640         * math/libm-test.inc (acosh_test_data): Add more tests.
52641         (atanh_test_data): Likewise.
52642         (ceil_test_data): Likewise.
52643         (copysign_test_data): Likewise.
52644         * sysdeps/i386/fpu/libm-test-ulps: Update.
52645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52647         * timezone/checktab.awk: Update from tzcode 2013i.
52648         * timezone/private.h: Likewise.
52649         * timezone/scheck.c: Likewise.
52650         * timezone/tzfile.h: Likewise.
52651         * timezone/tzselect.ksh: Likewise.
52652         * timezone/zdump.c: Likewise.
52653         * timezone/zic.c: Likewise.
52655         * math/auto-libm-test-in: Add tests of cpow.
52656         * math/auto-libm-test-out: Regenerated.
52657         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52658         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52659         mpc_cc_c.
52660         (func_calc_desc): Add mpc_cc_c union field.
52661         (test_functions): Add cpow.
52662         (special_fill_2pi): New function.
52663         (special_real_inputs): Add 2pi.
52664         (calc_generic_results): Handle mpc_cc_c.
52665         * sysdeps/i386/fpu/libm-test-ulps: Update.
52666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52668         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52669         csqrt, ctan and ctanh.
52670         * math/auto-libm-test-out: Regenerated.
52671         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52672         (TEST_COND_x86): Likewise.
52673         (ccos_test_data): Use AUTO_TESTS_c_c.
52674         (ccosh_test_data): Likewise.
52675         (cexp_test_data): Likewise.
52676         (clog_test_data): Likewise.
52677         (csqrt_test_data): Likewise.
52678         (ctan_test_data): Likewise.
52679         (ctan_tonearest_test_data): Likewise.
52680         (ctan_towardzero_test_data): Likewise.
52681         (ctan_downward_test_data): Likewise.
52682         (ctan_upward_test_data): Likewise.
52683         (ctanh_test_data): Likewise.
52684         (ctanh_tonearest_test_data): Likewise.
52685         (ctanh_towardzero_test_data): Likewise.
52686         (ctanh_downward_test_data): Likewise.
52687         (ctanh_upward_test_data): Likewise.
52688         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52689         mpc_c_c.
52690         (func_calc_desc): Add mpc_c_c union field.
52691         (FUNC_mpc_c_c): New macro.
52692         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52693         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52694         ctanh.
52695         (special_fill_min_subnorm_p120): New function.
52696         (special_real_inputs): Add min_subnorm_p120.
52697         (calc_generic_results): Handle mpc_c_c.
52698         * sysdeps/i386/fpu/libm-test-ulps: Update.
52699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52701 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52703         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52704         (do_sin_slow): New functions.
52705         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52706         (cslow2, csloww1, csloww2): Use the new functions.
52708         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52709         Use M to change sign of result instead of X.  Assume X is
52710         positive.
52711         (csloww1): Likewise.
52712         (__sin): Adjust.
52713         (__cos): Adjust.
52715         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52716         arguments A and DA.
52717         (__sin): Adjust.
52718         (__cos): Likewise.
52720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52721         (__cos): Likewise.
52722         (sloww1): Don't adjust sign of DX.
52723         (csloww1): Likewise.
52724         (sloww2): Use X directly and don't adjust sign of DX.
52725         (csloww2): Likewise.
52727 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52729         * math/auto-libm-test-in: Add tests of cabs and carg.
52730         * math/auto-libm-test-out: Regenerated.
52731         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52732         (carg_test_data): Likewise.
52733         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52734         mpc_c_f.
52735         (func_calc_desc): Add mpc_c_f union field.
52736         (test_functions): Add cabs and carg.
52737         (calc_generic_results): Handle mpc_c_f.
52739         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52740         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52741         as a macro and a compat symbol.
52742         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52743         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52744         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52745         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52746         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52747         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52748         not use .hidden.
52749         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52750         Likewise.
52751         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52752         Likewise.
52753         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52754         Likewise.
52755         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52756         Likewise.
52757         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52758         Likewise.
52759         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52760         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52761         from GLIBC_2.3.2.
52763 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52767 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52769         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52770         trailing whitespace removed.
52771         * scripts/config.guess: Update to version 2013-11-29.
52772         * scripts/config.sub: Update to version 2013-10-01.
52774         * math/auto-libm-test-in: Add tests of sincos.
52775         * math/auto-libm-test-out: Regenerated.
52776         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52777         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52778         mpfr_f_11.
52779         (func_calc_desc): Add mpfr_f_11 union field.
52780         (test_functions): Add sincos.
52781         (calc_generic_results): Handle mpfr_f_11.
52782         * sysdeps/i386/fpu/libm-test-ulps: Update.
52783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52785 2013-12-19  Andreas Schwab  <schwab@suse.de>
52787         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52788         CALL_MCOUNT.
52789         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52790         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52791         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52793 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52795         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52796         * sysdeps/i386/fpu/libm-test-ulps: Update.
52797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52799         [BZ #16293]
52800         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52801         round-to-nearest mode when using frndint.
52802         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52803         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52804         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52805         Likewise.
52806         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52807         sinh test to fail.
52808         * math/auto-libm-test-out: Regenerated.
52809         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52810         (TEST_COND_x86): Likewise.
52811         (expm1_tonearest_test_data): New array.
52812         (expm1_test_tonearest): New function.
52813         (expm1_towardzero_test_data): New array.
52814         (expm1_test_towardzero): New function.
52815         (expm1_downward_test_data): New array.
52816         (expm1_test_downward): New function.
52817         (expm1_upward_test_data): New array.
52818         (expm1_test_upward): New function.
52819         (main): Run the new test functions.
52820         * sysdeps/i386/fpu/libm-test-ulps: Update.
52821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52823         * include/features.h: Update comment documenting feature test
52824         macros.  Mention _DEFAULT_SOURCE in comment.
52825         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52826         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52827         _BSD_SOURCE and _SVID_SOURCE.
52828         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52829         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52830         !_SVID_SOURCE]: Likewise.
52831         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52832         (__USE_POSIX_IMPLICITLY): Define.
52833         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52834         (_POSIX_SOURCE): Undefine and redefine.
52835         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52836         (_POSIX_C_SOURCE): Likewise.
52837         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52838         (Feature Test Macros): Update documentation of default features.
52840 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52842         * benchtests/Makefile: Add bench-strtok.
52843         * benchtests/bench-strtok.c: New file: strtok benchtest.
52845 2013-12-19  Allan McRae  <allan@archlinux.org>
52847         * manual/install.texi: Suppress menu for plain text output.
52848         * INSTALL: Regenerated.
52850 2013-12-18  Brooks Moses  <bmoses@google.com>
52852         [BZ #15846]
52853         * misc/getauxval.c: Include errno.h.
52854         (__getauxval): Set errno to ENOENT if the requested type is not
52855         found.
52856         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52857         don't declare with __attribute_const__.
52858         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52859         * manual/startup.texi: Document that getauxval sets errno.
52861 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52863         * math/auto-libm-test-in: Add tests of jn and yn.
52864         * math/auto-libm-test-out: Regenerated.
52865         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52866         (yn_test_data): Likewise.
52867         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52868         mpfr_if_f.
52869         (func_calc_desc): Add mpfr_if_f union field.
52870         (FUNC_mpfr_if_f): New macro.
52871         (test_functions): Add jn and yn.
52872         (calc_generic_results): Assert type of second input for
52873         mpfr_ff_f.  Handle mpfr_if_f.
52874         (output_for_one_input_case): Disable all checking for arguments
52875         fitting floating-point types in case of an integer argument.
52876         * sysdeps/i386/fpu/libm-test-ulps: Update.
52877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52880         Don't expect fegetround reference in libm.so.
52882 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52884         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52885         $(config-cflags-nofma).
52887 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52889         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52890         * math/auto-libm-test-out: Regenerated.
52892         [BZ #16338]
52893         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52894         to determine exponent and adjust argument to have exponent of -1.
52895         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52896         log2.
52897         * math/auto-libm-test-out: Regenerated.
52898         * sysdeps/i386/fpu/libm-test-ulps: Update.
52899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52901 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52903         * manual/probes.texi: Remove cases when per-thread arenas are
52904         disabled.
52906 2013-12-18  Andreas Schwab  <schwab@suse.de>
52908         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52909         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52910         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52911         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52912         * sysdeps/i386/i686/multiarch/Makefile: Update.
52913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52915 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52917         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52918         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52920 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52922         [BZ #15968]
52923         Support TZ transition times < 00:00:00.
52924         This is needed for version-3 tz-format files; it supports time
52925         stamps past 2037 for America/Godthab (the only entry in the tz
52926         database for which this change is relevant).
52927         * manual/time.texi (TZ Variable): Document transition times
52928         from -167:59:59 through -00:00:01.
52929         * time/tzset.c (tz_rule): Time of day is now signed.
52930         (__tzset_parse_tz): Parse negative time of day.
52932         Document TZ transition times >= 25:00:00.
52933         * manual/time.texi (TZ Variable): Document transition times from
52934         25:00:00 through 167:59:59.  These are already supported, and this
52935         support will help with version-3 tz-format files.
52937         * manual/time.texi (TZ Variable): Modernize North America example
52938         to reflect current (i.e., 2007-and-later) daylight saving rules.
52940         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52942 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52944         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52945         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52946         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52948         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52949         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52950         * sysdeps/unix/bsd/clock.c: Likewise.
52951         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52952         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52953         * sysdeps/unix/bsd/init-posix.c: Likewise.
52954         * sysdeps/unix/bsd/poll.c: Likewise.
52955         * sysdeps/unix/bsd/ptsname.c: Likewise.
52956         * sysdeps/unix/bsd/seekdir.c: Likewise.
52957         * sysdeps/unix/bsd/setegid.c: Likewise.
52958         * sysdeps/unix/bsd/seteuid.c: Likewise.
52959         * sysdeps/unix/bsd/setgid.c: Likewise.
52960         * sysdeps/unix/bsd/setrgid.c: Likewise.
52961         * sysdeps/unix/bsd/setruid.c: Likewise.
52962         * sysdeps/unix/bsd/setsid.c: Likewise.
52963         * sysdeps/unix/bsd/setuid.c: Likewise.
52964         * sysdeps/unix/bsd/sigaction.c: Likewise.
52965         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52966         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52967         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52968         * sysdeps/unix/bsd/telldir.c: Likewise.
52969         * sysdeps/unix/bsd/times.c: Likewise.
52970         * sysdeps/unix/bsd/usleep.c: Likewise.
52972         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52973         ($(objpfx)libbsd-compat.a): Remove rule.
52975         * include/features.h (__FAVOR_BSD): Do not define.
52976         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52977         features conflicting with POSIX.
52978         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52979         (_BSD_SOURCE): Remove description of not being a subset of other
52980         feature test macros.
52981         * manual/job.texi (getpgrp): Do not document BSD version.
52982         (getpgid): Do not document by reference to BSD getpgrp.
52983         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52984         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52985         * signal/signal.h [__FAVOR_BSD]: Likewise.
52986         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52987         instead of making contents conditional on [__FAVOR_BSD].
52988         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52990 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52994 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52996         [BZ #16314]
52997         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52998         values below 2**-450, not 2**-500.
52999         * math/auto-libm-test-in: Don't allow spurious underflow from
53000         hypot.
53001         * math/auto-libm-test-out: Regenerated.
53003         [BZ #16316]
53004         [BZ #16330]
53005         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53006         values of ha and hb and sort them after adjusting subnormal
53007         arguments.
53008         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53009         Likewise.
53010         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53011         values of ea and eb and sort them after adjusting subnormal
53012         arguments.
53013         * math/auto-libm-test-in: Do not expect some hypot tests of
53014         subnormals to fail.  Add more hypot tests.
53015         * math/auto-libm-test-out: Regenerated.
53017 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53019         [BZ #13304]
53020         * sysdeps/sh/s_fma.c: New file.
53021         * sysdeps/sh/s_fmaf.c: New file.
53022         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53023         version.
53024         * sysdeps/sh/Implies: Add sh/soft-fp.
53026 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53028         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53029         level of indirection to members `objname', `errstring', `malloced'.
53030         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53031         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53032         it as the __longjmp argument (just pass 1 instead).
53033         (_dl_catch_error): Initialize C with argument pointers and address of
53034         volatile local ERRCODE rather than copying values out of C at return.
53036 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53038         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53039         * math/auto-libm-test-out: Regenerated.
53040         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53041         (hypot_test_data): Likewise.
53042         (pow_test_data): Likewise.
53043         (pow_tonearest_test_data): Likewise.
53044         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53045         mpfr_ff_f.
53046         (func_calc_desc): Add mpfr_ff_f union field.
53047         (FUNC_mpfr_ff_f): New macro.
53048         (test_functions): Add atan2, hypot and pow.
53049         (special_fill_min): New function.
53050         (special_fill_minus_min): Likewise.
53051         (special_fill_min_subnorm): Likewise.
53052         (special_fill_minus_min_subnorm): Likewise.
53053         (special_real_inputs): Add min, -min, min_subnorm and
53054         -min_subnorm.
53055         (calc_generic_results): Handle mpfr_ff_f.
53056         * sysdeps/i386/fpu/libm-test-ulps: Update.
53057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53059 2013-12-16  Will Newton  <will.newton@linaro.org>
53061         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53062         (Aligned Memory Blocks): Add documentation for aligned_alloc
53063         and suggest it as an alternative to posix_memalign.
53064         (Hooks for Malloc): Document __memalign_hook is also called
53065         for aligned_alloc.  (Summary of Malloc): Add summary for
53066         aligned alloc.  Document __memalign_hook is also called
53067         for aligned_alloc.
53069 2013-12-16  Will Newton  <will.newton@linaro.org>
53071         * manual/memory.texi (Malloc Examples): Clarify default
53072         alignment documentation.  Suggest posix_memalign rather
53073         than memalign or valloc.
53074         (Aligned Memory Blocks): Remove suggestion to use memalign
53075         or valloc.  Remove obsolete comment about BSD.
53076         Document memalign errno values and mark the function obsolete.
53077         Document posix_memalign returned error codes.  Mark valloc
53078         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53079         called for posix_memalign and valloc.
53080         (Summary of Malloc): Add posix_memalign to function summary.
53081         __memalign_hook is also called for posix_memalign and valloc.
53083 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53085         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53086         TAYLOR_SIN.
53087         (__sin): Adjust.
53088         (__cos): Likewise.
53089         (sloww): Use mynumber union.  Expand ternary operator into
53090         if-else statements.
53091         (cslow): use mynumber union.
53093 2013-12-16  Allan McRae  <allan@archlinux.org>
53095         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53096         * configure: Regenerated.
53098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53100         [BZ #14120]
53101         * configure.ac: Added --enable-maintainer-mode. Check for
53102         autoconf when enabled.
53103         * configure: Regenerated.
53105         * nscd/nscd.service: New file.
53106         * nscd/nscd.tmpfiles: New file.
53108 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53110         [BZ #12100]
53111         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53112         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53113         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53114         (strstr): Add __strstr_sse2_unaligned ifunc.
53115         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53116         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53117         (strcasestr): Remove __strcasestr_sse42 ifunc.
53118         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53120         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53122 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53124         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53125         * sysdeps/sh/bits/fenv.h: ... here.
53126         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53128 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53130         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53133         hypotf multiarch implementations.
53134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53135         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53136         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53137         multiarch hypot for PPC64.
53138         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53139         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53141         multiarch hypotf for PPC64.
53143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53144         modff multiarch implementations.
53145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53148         multiarch modf for PPC64.
53149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53152         multiarch modff for PPC64.
53154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53155         and logl multiarch implementations.
53156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53159         multiarch logb for PPC64.
53160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53163         multiarch logb for PPC64.
53164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53167         multiarch logb for PPC64.
53169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53170         isinff multiarch implementation.
53171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53172         file.
53173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53175         multiarch isinf for PPC64.
53176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53177         file.
53178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53179         multiarch isinff for PPC64.
53181         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53182         finitef multiarch implementation.
53183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53184         file.
53185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53187         multiarch finite for PPC64.
53188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53189         file.
53190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53191         multiarch finitef for PPC64.
53193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53194         lrint multiarch implementation.
53195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53196         file.
53197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53199         multiarch llrint for PPC64.
53200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53201         multiarch lrint for PPC64.
53203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53204         copysignf multiarch implementation.
53205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53206         file.
53207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53208         file.
53209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53210         multiarch copysign for PPC64.
53211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53212         multiarch copysignf for PPC64.
53214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53215         multiarch implementation.
53216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53217         file.
53218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53219         file.
53220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53221         file.
53222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53223         file.
53224         multiarch llround for PPC64.
53225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53226         multiarch trunc for PPC64.
53227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53228         multiarch truncf for PPC64.
53230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53231         multiarch implementation.
53232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53233         file.
53234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53235         file.
53236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53237         file.
53238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53239         file.
53240         multiarch llround for PPC64.
53241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53242         multiarch round for PPC64.
53243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53244         multiarch roundf for PPC64.
53246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53247         multiarch implementation.
53248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53249         file.
53250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53251         file.
53252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53253         file.
53254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53255         file.
53256         multiarch llround for PPC64.
53257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53258         multiarch floor for PPC64.
53259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53260         multiarch floorf for PPC64.
53262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53263         multiarch implementation.
53264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53265         file.
53266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53267         file.
53268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53269         file.
53270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53271         file.
53272         multiarch llround for PPC64.
53273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53274         multiarch ceil for PPC64.
53275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53276         multiarch ceilf for PPC64.
53278         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53279         multiarch implementation.
53280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53281         file.
53282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53283         file.
53284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53285         file.
53286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53287         multiarch llround for PPC64.
53288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53289         multiarch lround for PPC64.
53291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53292         multiarch implementation.
53293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53296         file.
53297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53300         multiarch isnan for PPC64.
53301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53302         multiarch isnanf for PPC64.
53304         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53305         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53306         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53307         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53308         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53311         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53312         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53317         multiarch implementations.
53318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53319         (__libc_ifunc_impl_list): Likewise.
53320         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53321         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53322         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53323         multiarch stpcpy for PPC64.
53325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53326         multiarch implementations.
53327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53328         (__libc_ifunc_impl_list): Likewise.
53329         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53330         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53331         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53332         multiarch strcpy for PPC64.
53334         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53335         redefine function name.
53336         (_wordcopy_fwd_dest_aligned): Likewise.
53337         (_wordcopy_bwd_aligned): Likewise.
53338         (_wordcopy_bwd_dest_aligned): Likewise.
53339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53340         multiarch implementations.
53341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53342         (__libc_ifunc_impl_list): Likewise.
53343         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53345         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53346         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53347         multiarch wcscpy for PPC64.
53349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53350         multiarch implementations.
53351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53352         (__libc_ifunc_impl_list): Likewise.
53353         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53354         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53356         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53357         multiarch wcscpy for PPC64.
53359         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53360         multiarch implementations.
53361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53362         (__libc_ifunc_impl_list): Likewise.
53363         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53364         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53365         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53366         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53367         multiarch wcsrchr for PPC64.
53369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53370         multiarch implementations.
53371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53372         (__libc_ifunc_impl_list): Likewise.
53373         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53374         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53375         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53376         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53377         multiarch wcschr for PPC64.
53379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53380         multiarch implementations.
53381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53382         (__libc_ifunc_impl_list): Likewise.
53383         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53384         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53386         multiarch strchrnul for PPC64.
53388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53389         implementations.
53390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53391         (__libc_ifunc_impl_list): Likewise.
53392         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53393         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53394         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53395         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53396         strchr for PPC64.
53398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53399         implementations.
53400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53401         (__libc_ifunc_impl_list): Likewise.
53402         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53403         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53405         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53406         strncmp for PPC64.
53408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53409         multiarch implementations.
53410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53411         (__libc_ifunc_impl_list): Likewise.
53412         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53413         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53414         strncasecmp for PPC64.
53415         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53416         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53417         multiarch strncasecmp_l for PPC64.
53419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53420         multiarch implementations.
53421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53422         (__libc_ifunc_impl_list): Likewise.
53423         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53424         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53425         multiarch strcasecmp for PPC64.
53426         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53427         file.
53428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53429         multiarch strcasecmp_l for PPC64.
53431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53432         implementations.
53433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53434         (__libc_ifunc_impl_list): Likewise.
53435         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53436         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53437         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53438         strnlen for PPC64.
53440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53441         implementations.
53442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53443         (__libc_ifunc_impl_list): Likewise.
53444         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53445         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53446         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53447         strlen for PPC64.
53449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53450         implementations.
53451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53452         (__libc_ifunc_impl_list): Likewise.
53453         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53454         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53455         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53456         rawmemrchr for PPC64.
53458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53459         implementation.
53460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53461         (__libc_ifunc_impl_list): Likewise.
53462         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53463         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53464         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53465         memrchr for PPC64.
53467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53468         implementation.
53469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53470         (__libc_ifunc_impl_list): Likewise.
53471         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53472         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53473         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53474         memchr for PPC64.
53476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53477         implementation.
53478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53479         (__libc_ifunc_impl_list): Likewise.
53480         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53481         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53483         mempcpy for PPC64.
53485         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53486         avoid cretion of __bzero symbol.
53487         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53488         Likewise.
53489         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53490         Likewise.
53491         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53492         Likewise.
53493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53494         multiarch implementations.
53495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53496         (__libc_ifunc_impl_list): Likewise.
53497         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53498         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53499         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53500         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53501         bzero for PPC32.
53502         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53503         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53504         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53505         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53506         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53507         memset for PPC64.
53508         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53510         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53512         implementations.
53513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53514         (__libc_ifunc_impl_list): Likewise.
53515         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53516         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53517         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53518         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53519         memcmp for PPC64.
53521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53522         multiarch for POWER/PPC64.
53523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53524         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53525         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53526         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53527         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53529         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53530         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53531         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53532         memcpy for PPC64.
53534         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53535         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53536         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53537         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53538         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53539         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53540         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53541         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53542         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53543         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53544         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53545         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53546         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53547         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53548         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53557 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53559         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53561 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53563         * benchtests/Makefile (bench): Add exp2 and log2.
53564         (LDLIBS-bench-exp2): Add -lm.
53565         (LDLIBS-bench-log2): Likewise.
53566         * benchtests/exp2-inputs: New inputs file.
53567         * benchtests/log2-inputs: New inputs file.
53568         * benchtests/log-inputs: Add new inputs.
53569         * benchtests/tan-inputs: Likewise.
53571 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53573         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53574         definition...
53575         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53576         (csloww2): ... from here.
53578         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53579         instead of structures.
53580         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53581         (POLYNOMIAL): Likewise.
53582         (TAYLOR_SLOW): Likewise.
53583         (__sin): Likewise.
53584         (__cos): Likewise.
53585         (slow1): Likewise.
53586         (slow2): Likewise.
53587         (sloww): Likewise.
53588         (sloww1); Likewise.
53589         (sloww2): Likewise.
53590         (bsloww1): Likewise.
53591         (bsloww2): Likewise.
53592         (cslow2): Likewise.
53593         (csloww): Likewise.
53594         (csloww1): Likewise.
53595         (csloww2): Likewise.
53597 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53599         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53600         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53601         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53602         * malloc/hooks.c (realloc_check): Likewise.
53604         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53605         * malloc/arena.c: Remove PER_THREAD conditional.
53606         [!PER_THREAD]: Remove code.
53607         (ptmalloc_unlock_all2): Likewise.
53608         (ptmalloc_init): Likewise.
53609         (_int_new_arena): Likewise.
53610         (arena_get2): Likewise.
53611         * malloc/hooks.c (__malloc_get_state): Likewise.
53612         (__malloc_set_state): Likewise.
53613         * malloc/malloc.c: Likewise.
53614         (struct malloc_state): Likewise.
53615         (struct malloc_par): Likewise.
53616         (__libc_realloc): Likewise.
53617         (__libc_mallopt): Likewise.
53619 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53621         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53623 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53625         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53626         macro to a function.  Check for zero perturb_byte.
53627         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53629         * malloc/malloc.c: (force_reg): Remove.
53630         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53631         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53632         force_reg by atomic_forced_read.
53633         * malloc/arena.c (ptmalloc_init): Likewise.
53634         * malloc/hooks.c (top_check): Likewise.
53636 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53640 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53644 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53646         * math/auto-libm-test-in: Add tests of lgamma.
53647         * math/auto-libm-test-out: Regenerated.
53648         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53649         (M_LOG_2_SQRT_PIl): Likewise.
53650         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53652         mpfr_f_f1.
53653         (func_calc_desc): Add mpfr_f_f1 union field.
53654         (ARGS1): New macro.
53655         (ARGS2): Likewise.
53656         (ARGS3): Likewise.
53657         (ARGS4): Likewise.
53658         (RET1): Likewise.
53659         (RET2): Likewise.
53660         (CALC): Likewise.
53661         (FUNC): Likewise.
53662         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53663         (test_functions): Add lgamma.
53664         (calc_generic_results): Handle mpfr_f_f1.
53665         * sysdeps/i386/fpu/libm-test-ulps: Update.
53666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53668 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53670         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53671         __mpn_add_n for PowerPC64/POWER7.
53672         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53673         __mpn_sub_n for PowerPC64/POWER7.
53675         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53676         __mpn_addmul_1 for PowerPC64.
53677         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53678         __mpn_submul_1 for PowerPC64.
53679         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53680         for PowerPC64.
53681         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53682         for PowerPC64.
53684 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53686         [BZ #15089]
53687         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53689 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53691         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53693         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53694         add multiarch folders.
53695         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53696         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53697         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53698         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53699         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53700         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53701         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53702         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53703         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53704         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53705         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53714         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53716         New file.
53717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53718         New file.
53719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53720         multiarch __ieee754_hypot for PowerPC32.
53721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53722         New file.
53723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53724         New file.
53725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53726         multiarch __ieee754_hypotf for PowerPC32.
53728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53729         long_double_symbol only if __logbl is defined.
53730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53731         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53733         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53735         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53736         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53737         path for implementation.
53738         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53741         logb, and logbl multiarch implementations for PowerPC32.
53742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53743         file.
53744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53745         file.
53746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53747         multiarch logb for PowerPC32.
53748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53749         file.
53750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53751         file.
53752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53753         multiarch logbf for PowerPC32.
53754         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53756         file.
53757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53758         multiarch logbl implementation for PowerPC32.
53760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53761         and modff multiarch implementations.
53762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53763         New file.
53764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53765         New file.
53766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53767         multiarch modf for PowerPC32.
53768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53769         New file.
53770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53771         New file.
53772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53773         multiarch modff for PowerPC32.
53775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53776         and lrintf multiarch implementations.
53777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53778         New file.
53779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53780         New file.
53781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53782         multiarch lrint for PowerPC32.
53783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53784         file: multiarch lrintf for PowerPC32.
53786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53787         and lroundf multiarch implementations.
53788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53789         New file.
53790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53791         New file.
53792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53793         New file.
53794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53795         multiarch lround for PowerPC32.
53796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53797         file: multiarch lroundf for PowerPC32.
53799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53800         copysign and copysignf multiarch implementations.
53801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53802         New file.
53803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53804         New file.
53805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53806         file: multiarch copysign for PowerPC32.
53807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53808         file: multiarch copysignf for PowerPC32.
53810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53811         and truncf multiarch implementations.
53812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53813         New file.
53814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53815         file.
53816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53817         multiarch trunc for PowerPC32.
53818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53819         New file.
53820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53821         New file.
53822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53823         multiarch truncf for PowerPC32.
53825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53826         and roundf multiarch implementations.
53827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53828         New file.
53829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53830         file.
53831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53832         multiarch round for PowerPC32.
53833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53834         New file.
53835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53836         New file.
53837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53838         multiarch roundf for PowerPC32.
53840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53841         and floorf multiarch implementations.
53842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53843         New file.
53844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53845         file.
53846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53847         multiarch floor for PowerPC32.
53848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53849         New file.
53850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53851         New file.
53852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53853         multiarch floorf for PowerPC32.
53855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53856         and ceilf multiarch implementations.
53857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53858         New file.
53859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53860         file.
53861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53862         multiarch ceil for PowerPC32.
53863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53864         New file.
53865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53866         file.
53867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53868         multiarch ceilf for PowerPC32.
53870         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53871         is defined.
53872         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53873         FINITEF is defined.
53874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53875         and finitef multiarch implementations.
53876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53877         New file.
53878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53879         file.
53880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53881         multiarch finite for PowerPC32.
53882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53883         New file.
53884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53885         file: multiarch finitef for PowerPC32.
53887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53888         and isinff multiarch implementations.
53889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53890         file.
53891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53892         file.
53893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53894         multiarch isinf for PowerPC32.
53895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53896         New file.
53897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53898         multiarch isinff for PowerPC32.
53900         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53901         alias when __isnan is defined.
53902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53903         and isnanf multiarch implementations.
53904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53905         file.
53906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53907         file.
53908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53909         file.
53910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53911         file.
53912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53913         multiarch isnan for PowerPC32.
53914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53915         New file.
53916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53917         New file.
53918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53919         multiarch isnanf for PowerPC32.
53921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53922         and sqrtf multiarch implementations.
53923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53924         file.
53925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53926         file.
53927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53928         multiarch sqrt for PowerPC32.
53929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53930         file.
53931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53932         file.
53933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53934         multiarch sqrtf for PowerPC32.
53936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53937         and llroundf multiarch implementations.
53938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53939         New file.
53940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53941         New file.
53942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53943         New file.
53944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53945         file: multiarch llround for PowerPC32.
53946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53947         file: multiarch llroundf for PowerPC32.
53949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53950         multiarch PowerPC32 fpu implementations.
53951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53952         New file.
53953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53954         New file.
53955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53956         multiarch llrint for PowerPC32.
53957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53958         New file.
53959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53960         New file.
53961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53962         file.
53964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53966         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53967         file.
53968         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53969         file.
53970         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53971         file.
53972         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53973         multiarch wordcopy for PPC32.
53974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53975         wordcopy objects.
53976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53977         (__libc_ifunc_impl_list): Likewise.
53978         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53979         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53980         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53981         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53982         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53983         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53985         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53987         file.
53988         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53989         file.
53990         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53991         file.
53992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53993         multiarch wcscpy for PPC32.
53994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53995         multiarch objects.
53996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53997         (__libc_ifunc_impl_list): Likewise.
53998         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53999         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54000         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54001         sysdeps/powerpc/power6/wcscpy.c.
54003         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54005         file.
54006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54007         file.
54008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54009         file.
54010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54011         multiarch wcsrchr for PPC32.
54012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54013         multiarch objects.
54014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54015         (__libc_ifunc_impl_list): Likewise.
54016         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54017         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54018         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54019         sysdeps/powerpc/power6/wcsrchr.c.
54021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54022         file.
54023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54024         file.
54025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54027         multiarch wcschr for PPc32.
54028         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54029         multiarch objects.
54030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54031         (__libc_ifunc_impl_list): Likewise.
54032         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54033         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54034         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54035         sysdeps/powerpc/power6/wcschr.c.
54037         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54038         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54039         file.
54040         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54041         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54042         file: multiarch strchr for PPC32.
54043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54044         multiarch objects.
54045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54046         (__libc_ifunc_impl_list): Likewise.
54048         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54049         name.
54050         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54051         file.
54052         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54053         file.
54054         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54055         multiarch strchrnul for PPC32.
54056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54057         multiarch objects.
54058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54059         (__libc_ifunc_impl_list): Likewise.
54061         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54062         file.
54063         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54064         multiarch strncasecmp for PPC32.
54065         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54066         file.
54067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54068         multiarch strncasecmp_l for PPC32.
54069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54070         strncasecmp multiarch objects.
54071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54072         (__libc_ifunc_impl_list): Likewise.
54074         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54075         file.
54076         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54077         multiarch strncasecmp for PPC32.
54078         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54079         New file.
54080         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54081         multiarch strcasecmp_l for PPC32.
54082         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54083         multiarch objects.
54084         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54085         (__libc_ifunc_impl_list): Likewise.
54087         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54088         file.
54089         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54090         file.
54091         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54092         multiarch strncmp for PPC32.
54093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54094         multiarch objects.
54095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54096         (__libc_ifunc_impl_list): Likewise.
54098         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54099         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54100         file.
54101         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54102         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54104         multiarch objects.
54105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54106         (__libc_ifunc_impl_list): Likewise.
54108         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54109         file.
54110         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54111         file.
54112         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54114         multiarch objects.
54115         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54116         (__libc_ifunc_impl_list): Likewise.
54118         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54119         file.
54120         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54121         file.
54122         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54123         multiarch rawmemchr for PPC32.
54124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54125         multiarch objects.
54126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54127         (__libc_ifunc_impl_list): Likewise.
54129         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54130         file.
54131         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54132         file.
54133         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54134         file: memrchr multiarch for PPC32.
54135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54136         multiarch objects.
54137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54138         (__libc_ifunc_impl_list): Likewise.
54140         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54141         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54142         file.
54143         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54145         multiarch memchr for PPC32.
54146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54147         multiarch objects.
54148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54149         (__libc_ifunc_impl_list): Likewise.
54151         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54152         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54153         file.
54154         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54155         file.
54156         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54157         file: multiarch mempcpy for PPC32.
54158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54159         multiarch objects.
54160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54161         (__libc_ifunc_impl_list): Likewise.
54163         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54164         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54167         multiarch bzero for PPC32.
54168         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54169         file.
54170         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54171         file.
54172         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54173         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54174         file: multiarch memset for PPC32.
54175         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54177         memset multiarch objects.
54178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54179         (__libc_ifunc_impl_list): Likewise.
54181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54182         file.
54183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54185         memcmp for PPC32.
54186         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54188         multiarch objects.
54189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54190         (__libc_ifunc_impl_list): Likewise.
54192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54193         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54195         file.
54196         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54197         file.
54198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54199         file.
54200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54201         multiarch memcpy for PPC32.
54202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
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/Makefile: New file to
54208         support multiarch for POWER/PPC32.
54209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54210         Likewise.
54211         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54213         Implies file to make multiarch folder appers before the fpu and
54214         default folder for power4 configuration.
54216 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54218         * scripts/bench.pl: Append volatile keyword to type.
54220 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54222         * sysdeps/sh/sotruss-lib.c: New file.
54223         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54225 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54229 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54231         [BZ #6810]
54232         * math/w_tgamma.c: Include <errno.h>.
54233         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54234         * math/w_tgammaf.c: Include <errno.h>.
54235         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54236         * math/w_tgammal.c: Include <errno.h>.
54237         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54238         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54239         underflow.  Add more tgamma tests.
54240         * math/auto-libm-test-out: Regenerated.
54241         * sysdeps/i386/fpu/libm-test-ulps: Update.
54242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54244         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54245         sin, sinh, tan, tanh, tgamma, y0 and y1.
54246         * math/auto-libm-test-out: Regenerated.
54247         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54248         (TEST_COND_x86): Likewise.
54249         (M_E2l): Remove macro.
54250         (M_E3l): Likewise.
54251         (M_2_SQRT_PIl): Likewise.
54252         (M_SQRT_PIl): Likewise.
54253         (M_1_DIV_El): Likewise.
54254         (log_test_data): Use AUTO_TESTS_f_f.
54255         (log10_test_data): Likewise.
54256         (log1p_test_data): Likewise.
54257         (log2_test_data): Likewise.
54258         (sin_test_data): Likewise.
54259         (sin_tonearest_test_data): Likewise.
54260         (sin_towardzero_test_data): Likewise.
54261         (sin_downward_test_data): Likewise.
54262         (sin_upward_test_data): Likewise.
54263         (sinh_test_data): Likewise.
54264         (sinh_tonearest_test_data): Likewise.
54265         (sinh_towardzero_test_data): Likewise.
54266         (sinh_downward_test_data): Likewise.
54267         (sinh_upward_test_data): Likewise.
54268         (tan_test_data): Likewise.
54269         (tan_tonearest_test_data): Likewise.
54270         (tan_towardzero_test_data): Likewise.
54271         (tan_downward_test_data): Likewise.
54272         (tan_upward_test_data): Likewise.
54273         (tanh_test_data): Likewise.
54274         (tgamma_test_data): Likewise.
54275         (y0_test_data): Likewise.
54276         (y1_test_data): Likewise.
54277         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54278         (special_real_inputs): Add pi/4.
54279         * sysdeps/i386/fpu/libm-test-ulps: Update.
54280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54282 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54284         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54285         "longjmp_target" static probes.
54286         (__longjmp): Rename to __longjmp_symbol.
54287         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54288         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54289         on which longjmp to generate.
54290         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54291         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54292         probe.
54293         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54294         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54295         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54296         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54297         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54298         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54300         __longjmp_symbol based on which __longjmp to generate.
54301         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54302         probe.
54303         (setjmp): Rename to setjmp_symbol.
54304         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54305         (_setjmp): Rename to _setjmp_symbol.
54306         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54307         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54308         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54309         which setjmp to generate.
54310         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54311         "longjmp_target" static probes.
54313 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54315         * benchtests/README: Add note about output arguments.
54316         * benchtests/bench-sincos.c: Remove file.
54317         * benchtests/sincos-inputs: New file.
54318         * scripts/bench.pl: Identify output arguments and define
54319         static variables for them.
54321         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54323         [BZ #15941]
54324         * Makefile (INSTALL): Add install-plain.texi as the primary
54325         dependency.
54326         * manual/install-plain.texi: New file.
54327         * manual/install.texi: Include node directive only for
54328         non-plaintext output.
54330 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54332         * stdlib/longlong.h: Update from GCC.
54334         [BZ #6807]
54335         [BZ #15901]
54336         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54337         * math/w_j0f.c (y0f): Likewise.
54338         * math/w_j0l.c (__y0l): Likewise.
54339         * math/w_j1.c (y1): Likewise.
54340         * math/w_j1f.c (y1f): Likewise.
54341         * math/w_j1l.c (__y1l): Likewise.
54342         * math/w_jn.c (yn): Likewise.
54343         * math/w_jnf.c (ynf): Likewise.
54344         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54345         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54346         value for Bessel function domain errors outside _SVID_ mode.
54347         Adjust sign of return value for yn (negative integer, 0).
54348         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54349         by zero in return for negative x and set sign appropriately for
54350         negative n.
54351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54352         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54353         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54354         expectations in error cases.
54355         (y1_test_data): Likewise.
54356         (yn_test_data): Likewise.
54357         * sysdeps/i386/fpu/libm-test-ulps: Update.
54358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54360 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54362         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54363         "64" to "64-v1".  Add "64-v2".
54364         (abi-64-options): Rename to ...
54365         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54366         (abi-64-condition): Rename to ...
54367         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54368         (abi-64-ld-soname): Rename to ...
54369         (abi-64-v1-ld-soname): ... this.
54370         (abi-64-v2-options): Define.
54371         (abi-64-v2-condition): Likewise.
54372         (abi-64-v2-ld-soname): Likewise.
54373         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54374         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54379 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54380             Alan Modra  <amodra@gmail.com>
54382         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54383         New versions for use with the ELFv2 ABI.
54384         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54385         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54386         declaration.
54387         (struct La_ppc64v2_retval): Likewise.
54388         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54389         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54390         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54391         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54392         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54393         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54394         Do not save or restore CR.
54395         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54396         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54397         return values for ELFv2 ABI.  Fix location of FPR return registers.
54398         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54399         updated values for _CALL_ELF == 2.
54400         (La_regs, La_retval, int_retval): Likewise.
54402 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54404         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54405         (FRAME_MIN_SIZE_PARM): Likewise.
54406         (FRAME_BACKCHAIN): Likewise.
54407         (FRAME_CR_SAVE): Likewise.
54408         (FRAME_LR_SAVE): Likewise.
54409         (FRAME_TOC_SAVE): Likewise.
54410         (FRAME_PARM_SAVE): Likewise.
54411         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54412         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54413         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54414         (call_mcount_parm_offset): New macro.
54415         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54416         (PROF): Use symbolic stack frame offsets.
54417         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54418         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54419         Redefine in terms of FRAME_MIN_SIZE.
54420         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54421         (_dl_profile_resolve): Likewise.  Update comment.
54422         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54423         symbols stack frame offsets.
54424         (__sigsetjmp): Likewise.
54425         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54426         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54427         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54428         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54431         (FRAME_BACKCHAIN): Remove.
54432         (FRAME_CR_SAVE): Likewise.
54433         (FRAME_LR_SAVE): Likewise.
54434         (FRAME_COMPILER_DW): Likewise.
54435         (FRAME_LINKER_DW): Likewise.
54436         (FRAME_TOC_SAVE): Likewise.
54437         (FRAME_PARM_SAVE): Likewise.
54438         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54439         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54440         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54442         (CHECK_SP): Use symbolic stack frame offsets.
54443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54444         zone" instead of caller's parameter save area for temp storage.
54445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54446         Likewise.  Also, use symbolic stack frame offsets.
54447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54448         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54449         our own stack frame instead of the caller's.
54450         (__socket): Use symbolic stack frame offsets.
54452 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54453             Alan Modra  <amodra@gmail.com>
54455         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54456         Define.
54457         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54458         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54459         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54460         New function.
54461         (elf_machine_fixup_plt): Call it.
54462         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54463         reloc arguments.
54464         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54465         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54466         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54467         r2 before calling target.
54469 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54470             Alan Modra  <amodra@gmail.com>
54472         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54473         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54474         versions of macros to support ELFv2 ABI.
54475         (LOCALENTRY): New macro.
54476         (ENTRY, EALIGN): Use it.
54477         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54478         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54479         fall through into ENTRY entry point.
54480         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54481         Only define if _CALL_ELF != 2.
54483         (elf_machine_matches_host): Verify ABI version matches.
54484         (RTLD_START): Use LOCALENTRY.
54485         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54486         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54487         (PLT_ENTRY_WORDS): New macro.
54488         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54489         (elf_machine_runtime_setup): Support ELFv2 ABI.
54490         (elf_machine_fixup_plt): Likewise.
54491         (elf_machine_plt_conflict): Likewise.
54492         (resolve_ifunc): Likewise.
54493         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54494         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54495         Likewise.
54496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54497         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54499         (makecontext): Support ELFv2 ABI.
54500         * elf/elf.h (EF_PPC64_ABI): Define.
54502 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54504         * sysdeps/powerpc/powerpc64/sysdep.h
54505         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54506         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54507         (ENTRY) [ASSEMBLER]: ... but instead here ...
54508         (EALIGN) [ASSEMBLER]: ... and here.
54509         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54510         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54511         (ENTRY_2) [!ASSEMBLER]: Use it.
54512         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54513         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54514         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54515         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54516         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54518         Use PPC64_LOAD_FUNCPTR.
54520         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54522 2013-12-04  Alan Modra  <amodra@gmail.com>
54524         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54525         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54526         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54527         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54529         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54530         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54531         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54532         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54533         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54534         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54536 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54539         (__makecontext): Fix incorrect CFI when backtracing out of
54540         context created via makecontext.
54541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54542         (__setcontext): Fix incorrect CFI during switch to new context.
54543         (__novec_setcontext): Likewise.
54545 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54547         [BZ #4772]
54548         * time/strptime_l.c (__strptime_internal): Allow modifiers
54549         in strptime.
54550         * time/tst-strptime.c (day_tests): Add testcase.
54552 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54554         * scripts/bench.pl: Skip over blank lines.
54556 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54558         [BZ #926]
54559         * manual/time.texi (Calendar Time): Clarify what timezone functions
54560         use.
54562 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54566 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54568         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54569         implementation.
54570         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54571         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54572         * debug/memset_chk.c (__memset_chk): Likewise.
54573         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54574         * debug/strncpy_chk.c: Likewise.
54576 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54578         [BZ #15268]
54579         [BZ #15425]
54580         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54581         (__ieee754_exp): For possibly underflowing results, check size of
54582         result and force underflow exception if required.
54583         * math/auto-libm-test-in: Add more tests of exp.
54584         * math/auto-libm-test-out: Regenerated.
54585         * sysdeps/i386/fpu/libm-test-ulps: Update.
54586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54588         [BZ #16283]
54589         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54590         * math/w_exp2f.c (__exp2f): Likewise.
54591         * math/w_exp2l.c (__exp2l): Likewise.
54592         * math/auto-libm-test-in: Do not allow missing errno on exp2
54593         underflow.
54594         * math/auto-libm-test-out: Regenerated.
54596 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54598         [BZ #16274]
54599         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54600         handle filename validation.
54601         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54602         (do_open): Delete.
54604 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54606         [BZ #6786]
54607         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54608         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54609         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54610         <float.h>.
54611         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54612         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54613         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54614         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54615         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54616         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54617         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54618         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54619         Add more erfc tests.
54620         * math/auto-libm-test-out: Regenerated.
54621         * sysdeps/i386/fpu/libm-test-ulps: Update.
54622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54624         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54625         exp2, expm1, j0 and j1.
54626         * math/auto-libm-test-out: Regenerated.
54627         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54628         (erfc_test_data): Likewise.
54629         (exp_test_data): Likewise.
54630         (exp_tonearest_test_data): Likewise.
54631         (exp_towardzero_test_data): Likewise.
54632         (exp_downward_test_data): Likewise.
54633         (exp_upward_test_data): Likewise.
54634         (exp10_test_data): Likewise.
54635         (exp2_test_data): Likewise.
54636         (expm1_test_data): Likewise.
54637         (j0_test_data): Likewise.
54638         (j1_test_data): Likewise.
54639         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54640         (input_flag_type): Add flag_xfail_rounding.
54641         (input_flags): Add xfail-rounding.
54642         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54643         (output_for_one_input_case): Handle flag_xfail_rounding.
54644         * sysdeps/i386/fpu/libm-test-ulps: Update.
54645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54647 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54649         [BZ #16289]
54650         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54651         division by 0.
54653 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54655         [BZ #16195]
54656         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54657         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54658         (STAP_PROBE0): New macro.
54659         (STAP_PROBE1): Likewise.
54660         (STAP_PROBE2): Likewise.
54661         (STAP_PROBE3): Likewise.
54662         (STAP_PROBE4): Likewise.
54664 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54666         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54668 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54670         * benchtests/Makefile (bench): Add sqrt.
54671         (LDLIBS-bench-sqrt): New.
54672         * benchtests/sqrt-input: New.
54674 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54676         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54677         (GAIH_EAI): Likewise.
54678         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54679         (gaih_inet): Likewise.
54680         (getaddrinfo): Don't use GAIH_EAI.
54682         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54683         (struct gaih): Remove definition.
54685 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54687         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54688         Use HERRNOP directly.
54690 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54694 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54696         * math/gen-auto-libm-tests.c (test_functions): Add more
54697         single-argument functions.
54698         (special_fill_pi_2): New function.
54699         (special_fill_minus_pi_2): Likewise.
54700         (special_fill_pi_6): Likewise.
54701         (special_fill_minus_pi_6): Likewise.
54702         (special_fill_pi_3): Likewise.
54703         (special_fill_2pi_3): Likewise.
54704         (special_fill_e): Likewise.
54705         (special_fill_1_e): Likewise.
54706         (special_fill_e_minus_1): Likewise.
54707         (special_real_inputs): Add more special inputs.
54708         (output_for_one_input_case): Do not require ERANGE on underflow to
54709         zero if round-to-nearest result does not underflow to zero, unless
54710         exact results required.
54711         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54712         atan, atanh, cbrt, cos and cosh.
54713         * math/auto-libm-test-out: Regenerated.
54714         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54715         (acos_tonearest_test_data): Likewise.
54716         (acos_towardzero_test_data): Likewise.
54717         (acos_downward_test_data): Likewise.
54718         (acos_upward_test_data): Likewise.
54719         (acosh_test_data): Likewise.
54720         (asin_test_data): Likewise.
54721         (asin_tonearest_test_data): Likewise.
54722         (asin_towardzero_test_data): Likewise.
54723         (asin_upward_test_data): Likewise.
54724         (asinh_test_data): Likewise.
54725         (atan_test_data): Likewise.
54726         (atanh_test_data): Likewise.
54727         (cbrt_test_data): Likewise.
54728         (cos_test_data): Likewise.
54729         (cos_tonearest_test_data): Likewise.
54730         (cos_towardzero_test_data): Likewise.
54731         (cos_downward_test_data): Likewise.
54732         (cos_upward_test_data): Likewise.
54733         (cosh_test_data): Likewise.
54734         (cosh_tonearest_test_data): Likewise.
54735         (cosh_towardzero_test_data): Likewise.
54736         (cosh_downward_test_data): Likewise.
54737         (cosh_upward_test_data): Likewise.
54738         * sysdeps/i386/fpu/libm-test-ulps: Update.
54739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54741 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54743         [BZ #6787]
54744         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54745         * math/w_exp10f.c (__exp10f): Likewise.
54746         * math/w_exp10l.c (__exp10l): Likewise.
54747         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54748         errno settings in existing tests.
54750         [BZ #14032]
54751         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54752         precision control set to double precision.
54753         * sysdeps/i386/fpu/w_sqrt.c: New file.
54754         * math/auto-libm-test-in: Add more tests.
54755         * math/auto-libm-test-out: Update.
54757         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54758         (sqrt_test_tonearest): New function.
54759         (sqrt_towardzero_test_data): New variable.
54760         (sqrt_test_towardzero): New function.
54761         (sqrt_downward_test_data): New variable.
54762         (sqrt_test_downward): New function.
54763         (sqrt_upward_test_data): New variable.
54764         (sqrt_test_upward): New function.
54765         (main): Call the new functions.
54767         * math/gen-auto-libm-tests.c: New file.
54768         * math/auto-libm-test-in: Likewise.
54769         * math/auto-libm-test-out: New generated file.
54770         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54771         variables.
54772         (%beautify): Add generated representations of zero.
54773         (top level): Set $auto_input and call parse_auto_input.
54774         (beautify): Remove trailing "f" from hex float constants.
54775         (parse_args): Handle XFAIL_TEST.
54776         (convert_condition): New function.
54777         (or_value): Likewise.
54778         (or_cond_value): Likewise.
54779         (generate_testfile): Handle AUTO_TESTS_* lines.
54780         (parse_auto_input): New function.
54781         * math/libm-test.inc (XFAIL_TEST): New macro.
54782         (ERRNO_UNCHANGED): Update value.
54783         (ERRNO_EDOM): Likewise.
54784         (ERRNO_ERANGE): Likewise.
54785         (IGNORE_RESULT): Likewise.
54786         (TEST_COND_flt_32): New macro.
54787         (TEST_COND_dbl_64): Likewise.
54788         (TEST_COND_ldbl_96_intel): Likewise.
54789         (TEST_COND_ldbl_96_m68k): Likewise.
54790         (TEST_COND_ldbl_128): Likewise.
54791         (TEST_COND_ldbl_128ibm): Likewise.
54792         (TEST_COND_long32): Likewise.
54793         (TEST_COND_long64): Likewise.
54794         (TEST_COND_before_rounding): Likewise.
54795         (TEST_COND_after_rounding): Likewise.
54796         (enable_test): Handle XFAIL_TEST flag.
54797         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54798         with finite results.
54799         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54800         auto-libm-test-out.
54802 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54803             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54805         [BZ #16214]
54806         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54807         __tls_get_addr_internal instead of __tls_get_offset in order to
54808         avoid GOT pointer dependency.  Make rtld export
54809         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54810         __tls_get_addr since we are a __tls_get_offset platform.
54811         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54812         GOT pointer being set up before.
54813         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54815 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54817         * manual/math.texi (Errors in Math Functions): Document accuracy
54818         goals.
54820         [BZ #15004]
54821         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54822         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54823         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54824         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54825         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54826         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54827         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54828         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54829         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54830         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54831         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54832         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54833         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54834         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54835         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54836         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54838         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54839         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54840         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54841         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54842         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54843         Likewise.
54844         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54845         Likewise.
54846         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54847         Likewise.
54848         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54849         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54850         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54851         atomic-feupdateenv and flt-rounds.
54852         * sysdeps/powerpc/nofpu/Versions (libc): Add
54853         __atomic_feholdexcept, __atomic_feclearexcept,
54854         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54855         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54856         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54857         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54858         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54859         here.
54860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54861         Update.
54863         * manual/arith.texi (FP Exceptions): Document that exceptions may
54864         not be raised when matherr is used.
54865         (Math Error Reporting): Document overflow in directed rounding
54866         modes.  Document that errno may not be set when finite values are
54867         returned on overflow.  Document intent to set errno on underflow
54868         only for underflow to zero.
54870         [BZ #16271]
54871         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54872         round-to-nearest then adjust result for other rounding modes.
54873         * include/fenv.h (fegetround): Use libm_hidden_proto.
54874         * math/fegetround.c (fegetround): Use libm_hidden_def.
54875         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54876         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54877         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54878         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54879         Likewise.
54880         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54881         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54882         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54883         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54885 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54887         [BZ #16077]
54888         * nss/Versions (libnss_files): Add
54889         _nss_files_gethostbyname3_r.
54890         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54891         New function.
54892         (HOST_DB_LOOKUP): Remove macro.
54893         (_nss_files_gethostbyname_r): Implement function without the
54894         HOST_DB_LOOKUP macro.
54895         (_nss_files_gethostbyname2_r): Likewise.
54897 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54899         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54901 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54903         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54904         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54905         warning.
54907 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54909         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54910         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54911         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54912         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54913         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54914         __fe_nomask_env_priv and attribute_hidden.
54915         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54916         (libc_feupdateenv_test_ppc): Likewise.
54917         (libc_feresetround_ppc): Likewise.
54918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54919         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54920         compat_symbol macro.
54921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54922         (__fe_nomask_env): Likewise.
54923         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54925 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54927         * string/Makefile: Remove ifunc tests.
54928         * string/test-string.h: Define TEST_IFUNC.
54929         * string/test-bcopy-ifunc.c: Remove.
54930         * string/test-bzero-ifunc.c: Likewise.
54931         * string/test-memccpy-ifunc.c: Likewise.
54932         * string/test-memchr-ifunc.c: Likewise.
54933         * string/test-memcmp-ifunc.c: Likewise.
54934         * string/test-memcpy-ifunc.c: Likewise.
54935         * string/test-memmem-ifunc.c: Likewise.
54936         * string/test-memmove-ifunc.c: Likewise.
54937         * string/test-mempcpy-ifunc.c: Likewise.
54938         * string/test-memrchr-ifunc.c: Likewise.
54939         * string/test-memset-ifunc.c: Likewise.
54940         * string/test-rawmemchr-ifunc.c: Likewise.
54941         * string/test-stpcpy-ifunc.c: Likewise.
54942         * string/test-stpncpy-ifunc.c: Likewise.
54943         * string/test-strcasecmp-ifunc.c: Likewise.
54944         * string/test-strcasestr-ifunc.c: Likewise.
54945         * string/test-strcat-ifunc.c: Likewise.
54946         * string/test-strchr-ifunc.c: Likewise.
54947         * string/test-strchrnul-ifunc.c: Likewise.
54948         * string/test-strcmp-ifunc.c: Likewise.
54949         * string/test-strcpy-ifunc.c: Likewise.
54950         * string/test-strcspn-ifunc.c: Likewise.
54951         * string/test-strlen-ifunc.c: Likewise.
54952         * string/test-strncasecmp-ifunc.c: Likewise.
54953         * string/test-strncat-ifunc.c: Likewise.
54954         * string/test-strncmp-ifunc.c: Likewise.
54955         * string/test-strncpy-ifunc.c: Likewise.
54956         * string/test-strnlen-ifunc.c: Likewise.
54957         * string/test-strpbrk-ifunc.c: Likewise.
54958         * string/test-strrchr-ifunc.c: Likewise.
54959         * string/test-strspn-ifunc.c: Likewise.
54960         * string/test-strstr-ifunc.c: Likewise.
54962 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54964         * benchtests/Makefile: Remove ifunc tests.
54965         * benchtests/bench-string.h: Define TEST_IFUNC.
54966         * benchtests/bench-bcopy-ifunc.c: Remove.
54967         * benchtests/bench-bzero-ifunc.c: Likewise.
54968         * benchtests/bench-memccpy-ifunc.c: Likewise.
54969         * benchtests/bench-memchr-ifunc.c: Likewise.
54970         * benchtests/bench-memcmp-ifunc.c: Likewise.
54971         * benchtests/bench-memcpy-ifunc.c: Likewise.
54972         * benchtests/bench-memmem-ifunc.c: Likewise.
54973         * benchtests/bench-memmove-ifunc.c: Likewise.
54974         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54975         * benchtests/bench-memrchr-ifunc.c: Likewise.
54976         * benchtests/bench-memset-ifunc.c: Likewise.
54977         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54978         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54979         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54980         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54981         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54982         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54983         * benchtests/bench-strcat-ifunc.c: Likewise.
54984         * benchtests/bench-strchr-ifunc.c: Likewise.
54985         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54986         * benchtests/bench-strcmp-ifunc.c: Likewise.
54987         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54988         * benchtests/bench-strcpy-ifunc.c: Likewise.
54989         * benchtests/bench-strcspn-ifunc.c: Likewise.
54990         * benchtests/bench-strlen-ifunc.c: Likewise.
54991         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54992         * benchtests/bench-strncat-ifunc.c: Likewise.
54993         * benchtests/bench-strncmp-ifunc.c: Likewise.
54994         * benchtests/bench-strncpy-ifunc.c: Likewise.
54995         * benchtests/bench-strnlen-ifunc.c: Likewise.
54996         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54997         * benchtests/bench-strrchr-ifunc.c: Likewise.
54998         * benchtests/bench-strsep-ifunc.c: Likewise.
54999         * benchtests/bench-strspn-ifunc.c: Likewise.
55000         * benchtests/bench-strstr-ifunc.c: Likewise.
55002 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55004         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55006 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55008         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55009         * rt/aio.h: Likewise.
55010         * sysdeps/gnu/bits/utmp.h: Likewise.
55011         * sysdeps/gnu/bits/utmpx.h: Likewise.
55012         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55013         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55014         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55015         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55016         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55017         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55018         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55019         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55020         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55021         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55022         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55023         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55024         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55026         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55027         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55028         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55029         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55030         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55031         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55032         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55033         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55034         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55035         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55036         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55037         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55038         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55039         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55040         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55041         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55042         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55043         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55044         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55045         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55046         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55047         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55048         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55049         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55050         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55051         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55052         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55053         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55055 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55057         [BZ #16245]
55058         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55059         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55061 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55063         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55065         Likewise.
55067 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55069         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55070         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55071         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55072         (__fesetround): Remove define.
55073         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55074         rounding and exceptions handling.
55075         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55076         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55077         (__fe_nomask_env): Likewise.
55078         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55079         __fegetround instead of fegetround.
55080         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55081         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55083 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55085         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55086         it's there.
55088         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55090 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55092         [BZ #11157]
55093         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55094         (encrypt_r): Likewise.
55095         * malloc/obstack.h (obstack_free): Likewise.
55096         * posix/unistd.h (encrypt): Likewise.
55098 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55100         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55101         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55102         DL_CALL_DT_FINI() that call the functions directly.
55103         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55104         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55105         * elf/dl-fini.c: Likewise.
55107 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55109         * malloc/hooks.c (memalign_check): Add alignment rounding.
55110         * malloc/malloc.c (_mid_memalign): New function.
55111         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55112         Implement by calling _mid_memalign.
55113         * manual/probes.texi (Memory Allocation Probes): Remove
55114         memory_valloc_retry and memory_pvalloc_retry.
55116 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55118         * locale/programs/locarchive.c (open_archive): Add const
55119         qualifier to ARCHIVEFNAME and copy default fname to
55120         DEFAULT_FNAME.
55122         [BZ #15601]
55123         * libio/tst-widetext.input: Rename Oriya to Odia.
55124         * locale/iso-639.def: Likewise.
55126         * manual/probes.texi (Mathematical Function Probes): Add
55127         documentation for sin, cos, asin and acos probes.
55128         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55129         (__sin32): Add slowasin probe.
55130         (__cos32): Add slowacos probe.
55131         (__mpsin): Add slowsin probe.
55132         (__mpcos): Add slowcos probe.
55134 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55136         [BZ #15483]
55137         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55138         thread-local __sim_exceptions_thread and global
55139         __sim_exceptions_global.
55140         (__sim_disabled_exceptions): Change to thread-local
55141         __sim_disabled_exceptions_thread and global
55142         __sim_disabled_exceptions_global.
55143         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55144         and global __sim_round_mode_global.
55145         (__simulate_exceptions): Use thread-local floating-point state and
55146         set global state from it as needed.
55147         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55148         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55149         __sim_round_mode_thread.
55150         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55151         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55152         and global __sim_exceptions_global.
55153         (__sim_disabled_exceptions): Change to thread-local
55154         __sim_disabled_exceptions_thread and global
55155         __sim_disabled_exceptions_global.
55156         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55157         and global __sim_round_mode_global.
55158         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55159         (SIM_SET_GLOBAL): Likewise.
55160         * sysdeps/powerpc/soft-fp/sfp-machine.h
55161         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55162         __sim_round_mode_thread.
55163         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55164         __sim_disabled_exceptions_thread.
55165         (__sim_exceptions): Change to __sim_exceptions_thread.
55166         (__sim_disabled_exceptions): Change to
55167         __sim_disabled_exceptions_thread.
55168         (__sim_round_mode): Change to __sim_round_mode_thread.
55169         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55170         thread-local floating-point state and set global state from it as
55171         needed.
55172         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55173         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55174         (__sim_disabled_exceptions): Remove extern declaration.
55175         (feenableexcept): Use thread-local floating-point state and set
55176         global state from it as needed.
55177         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55178         extern declaration.
55179         (__sim_disabled_exceptions): Likewise.
55180         (__sim_round_mode): Likewise.
55181         (__fegetenv): Use thread-local floating-point state.
55182         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55183         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55184         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55185         floating-point state and set global state from it as needed.
55186         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55187         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55188         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55189         Likewise.
55190         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55191         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55192         Likewise.
55193         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55194         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55195         Use __sim_round_mode_thread.
55196         * math/test-fenv-tls.c: New file.
55197         * math/Makefile (tests): Add test-fenv-tls.
55198         ($(objpfx)test-fenv-tls): Depend on
55199         $(common-objpfx)nptl/libpthread.so.
55201 2013-11-19  Andreas Schwab  <schwab@suse.de>
55203         * locale/programs/locale.c (show_info): Decode wordarray elements.
55204         * locale/categories.def (LC_MONETARY): Add element for
55205         _NL_MONETARY_CRNCYSTR.
55206         * locale/C-monetary.c (conversion_rate): New variable.
55207         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55208         element.
55210 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55212         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55213         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55215 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55217         * elf/Makefile (tst-auxv): New test.
55218         * elf/tst-auxv.c: New
55219         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55221 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55223         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55224         (hidden_proto): Caller changed.
55225         (hidden_tls_proto): New macro.
55226         (libc_hidden_tls_proto): Likewise.
55227         (rtld_hidden_tls_proto): Likewise.
55228         (libm_hidden_tls_proto): Likewise.
55229         (libresolv_hidden_tls_proto): Likewise.
55230         (librt_hidden_tls_proto): Likewise.
55231         (libdl_hidden_tls_proto): Likewise.
55232         (libnss_files_hidden_tls_proto): Likewise.
55233         (libnsl_hidden_tls_proto): Likewise.
55234         (libnss_nisplus_hidden_tls_proto): Likewise.
55235         (libutil_hidden_tls_proto): Likewise.
55237 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55239         [BZ #10253]
55240         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55241         (decompose_rpath): Defer expansion to fillin_rpath.
55242         (_dl_init_paths): Pass linkmap to fillin_rpath.
55244 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55246         * benchtests/Makefile: Add strsep.
55247         * benchtests/bench-strsep.c: New file: strsep benchtest.
55248         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55250 2013-11-18  Andreas Schwab  <schwab@suse.de>
55252         * locale/programs/locale.c (show_info) [case byte]: Check for
55253         '\377' instead of '\177'.
55254         * locale/C-monetary.c (not_available): Always use "\377".
55255         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55256         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55257         detect unavailable sign_posn locale elements.
55258         * locale/localeconv.c (__localeconv): For grouping and
55259         mon_grouping handle "\177" and "\377" like no grouping.
55260         (INT_ELEM): New macro.  Use it to set all numeric members.
55261         * locale/programs/ld-monetary.c (monetary_read)
55262         <tok_mon_grouping>: Normalize single -1 to the empty string.
55263         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55264         Likewise.
55266 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55268         [BZ #16055]
55269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55270         when we match (nil).
55271         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55273 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55275         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55276         (NO_TEST_INLINE): Update value.
55277         (ERRNO_UNCHANGED): Likewise.
55278         (ERRNO_EDOM): Likewise.
55279         (ERRNO_ERANGE): Likewise.
55280         (IGNORE_RESULT): Likewise.
55281         (check_float_internal): Check signs of NaN results if
55282         TEST_NAN_SIGN used.
55283         (check_complex): Pass TEST_NAN_SIGN flag through to second
55284         check_float_internal call.
55285         (copysign_test_data): Add tests with quiet NaNs as second
55286         argument.  Use TEST_NAN_SIGN.
55287         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55288         TEST_NAN_SIGN.
55289         (signbit_test_data): Add tests of quiet NaN argument.
55290         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55292         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55293         $ignore_result.
55294         (parse_args): Handle function results specified as IGNORE.
55295         * math/libm-test.inc (IGNORE_RESULT): New macro.
55296         (check_float_internal): Do not check numerical result if flag
55297         IGNORE_RESULT set.
55298         (check_complex): Pass through IGNORE_RESULT to second
55299         check_float_internal call.
55300         (check_int): Do not check numerical result if flag IGNORE_RESULT
55301         set.
55302         (check_long): Likewise.
55303         (check_bool): Likewise.
55304         (check_longlong): Likewise.
55305         (lrint_test_data): Add tests of infinite and NaN arguments.
55306         (lrint_tonearest_test_data): Likewise.
55307         (lrint_towardzero_test_data): Likewise.
55308         (lrint_downward_test_data): Likewise.
55309         (lrint_upward_test_data): Likewise.
55310         (llrint_test_data): Likewise.
55311         (llrint_tonearest_test_data): Likewise.
55312         (llrint_towardzero_test_data): Likewise.
55313         (llrint_downward_test_data): Likewise.
55314         (llrint_upward_test_data): Likewise.
55315         (lround_test_data): Likewise.
55316         (llround_test_data): Likewise.
55318         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55319         (ERRNO_UNCHANGED): Update value.
55320         (ERRNO_EDOM): Likewise.
55321         (ERRNO_ERANGE): Likewise.
55322         (NO_TEST_INLINE_FLOAT): New macro.
55323         (NO_TEST_INLINE_DOUBLE): Likewise.
55324         (enable_test): New function.
55325         (RUN_TEST_f_f): Check enable_test before running test.
55326         (RUN_TEST_2_f): Likewise.
55327         (RUN_TEST_fff_f): Likewise.
55328         (RUN_TEST_c_f): Likewise.
55329         (RUN_TEST_f_f1): Likewise.
55330         (RUN_TEST_fF_f1): Likewise.
55331         (RUN_TEST_fI_f1): Likewise.
55332         (RUN_TEST_ffI_f1): Likewise.
55333         (RUN_TEST_c_c): Likewise.
55334         (RUN_TEST_cc_c): Likewise.
55335         (RUN_TEST_f_i): Likewise.
55336         (RUN_TEST_f_i_tg): Likewise.
55337         (RUN_TEST_ff_i_tg): Likewise.
55338         (RUN_TEST_f_b): Likewise.
55339         (RUN_TEST_f_b_tg): Likewise.
55340         (RUN_TEST_f_l): Likewise.
55341         (RUN_TEST_f_L): Likewise.
55342         (RUN_TEST_fFF_11): Likewise.
55343         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55344         conditionals.
55345         (cosh_test_data): Likewise.
55346         (exp_test_data): Likewise.
55347         (expm1_test_data): Likewise.
55348         (hypot_test_data): Likewise.
55349         (pow_test_data): Likewise.
55350         (sinh_test_data): Likewise.
55351         (tanh_test_data): Likewise.
55352         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55353         flags argument.
55355         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55356         tests with quiet NaN input and output.
55357         (acosh_test_data): Likewise.
55358         (asin_test_data): Likewise.
55359         (asinh_test_data): Likewise.
55360         (atan_test_data): Likewise.
55361         (atanh_test_data): Likewise.
55362         (atan2_test_data): Likewise.
55363         (cbrt_test_data): Likewise.
55364         (cos_test_data): Likewise.
55365         (cosh_test_data): Likewise.
55366         (erf_test_data): Likewise.
55367         (erfc_test_data): Likewise.
55368         (exp_test_data): Likewise.
55369         (exp10_test_data): Likewise.
55370         (exp2_test_data): Likewise.
55371         (expm1_test_data): Likewise.
55372         (hypot_test_data): Likewise.
55373         (j0_test_data): Likewise.
55374         (j1_test_data): Likewise.
55375         (jn_test_data): Likewise.
55376         (lgamma_test_data): Likewise.
55377         (log_test_data): Likewise.
55378         (log10_test_data): Likewise.
55379         (log1p_test_data): Likewise.
55380         (log2_test_data): Likewise.
55381         (pow_test_data): Likewise.
55382         (scalb_test_data): Likewise.
55383         (sin_test_data): Likewise.
55384         (sincos_test_data): Likewise.
55385         (sinh_test_data): Likewise.
55386         (tan_test_data): Likewise.
55387         (tanh_test_data): Likewise.
55388         (tgamma_test_data): Likewise.
55389         (y0_test_data): Likewise.
55390         (y1_test_data): Likewise.
55391         (yn_test_data): Likewise.
55393         [BZ #16167]
55394         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55395         argument being NaN and avoid computations with second argument in
55396         that case.
55397         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55398         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55399         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55401 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55403         * locale/iso-639.def: Add Chitwani Tharu (the).
55405 2013-11-14  Andreas Schwab  <schwab@suse.de>
55407         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55408         word instead of empty string.
55410 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55413         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55415         (__fe_nomask_env): Likewise.
55417 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55419         * benchtests/bench-timing.h: Include time.h.
55421 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55423         [BZ #15997]
55424         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55425         to 3.4.0 for x32.
55426         * sysdeps/unix/sysv/linux/configure: Regenerated.
55428 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55430         [BZ #16151]
55431         * stdlib/strtod_l.c (round_and_return): Do not consider
55432         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55433         exponent one less than half the least subnormal exponent.
55434         * stdlib/test-strtod-round-data: Add more tests.
55435         * stdlib/tst-strtod-round.c (tests): Regenerated.
55437 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55439         [BZ #14143]
55440         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55441         (__fe_mask_env): Likewise.
55442         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55443         libm_hidden_proto and add function prototype.
55444         (__fe_mask_env): Add function prototype.
55445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55446         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55448         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55450         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55452 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55454         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55455         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55457 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55459         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55460         of htab_find_slot().
55462 2013-11-11  David S. Miller  <davem@davemloft.net>
55464         [BZ #16150]
55465         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55466         symbol in the non-vis3 case in static builds.
55467         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55468         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55469         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55470         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55472 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55474         [BZ #387]
55475         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55476         it is empty.
55478 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55480         * benchtests/Makefile: Add bench-strtod.
55481         * benchtests/bench-strtod.c: New file: strtod benchtest
55483 2013-11-11  Andreas Schwab  <schwab@suse.de>
55485         [BZ #16153]
55486         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55487         terminating NUL in key length.
55489 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55491         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55492         Add artificial ODP entry for vDSO symbol for PPC64.
55493         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55494         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55496 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55498         [BZ #15374]
55499         * nss/getent.c (services_keys): Recognize services starting with digit.
55501 2013-11-06  David S. Miller  <davem@davemloft.net>
55503         [BZ #15985]
55504         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55505         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55507 2013-11-06  Will Newton  <will.newton@linaro.org>
55509         * manual/memory.texi (Malloc Examples): Remove register
55510         keyword from examples.
55512 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55514         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55516 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55518         [BZ #6981]
55519         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55520         depending on [__GCC_IEC_559 > 0].
55521         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55522         depending on [__GCC_IEC_559_COMPLEX > 0].
55524 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55526         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55527         to iso-639.def.
55529 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55531         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55533 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55535         [BZ #16112]
55536         * malloc/malloc (malloc_info): Do not handle first bin as
55537         special case.
55539 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55541         * locale/iso-639.def: Add Central Nahuatl (nhn).
55543 2013-11-01  Bruno Haible  <bruno@clisp.org>
55545         [BZ #7003]
55546         * manual/math.texi (BSD Random): Specify range upper bound as
55547         in POSIX.
55549 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55551         * locale/iso-639.def: Add Meadow Mari (mhr).
55553 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55555         [BZ #14752], [BZ #15763]
55556         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55557         Validate name.
55558         * rt/tst_shm.c: Add test for escaping directory.
55560 2013-10-31  Andreas Schwab  <schwab@suse.de>
55562         [BZ #15917]
55563         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55564         followed by 'x' as part of digit sequence.
55565         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55567 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55569         [BZ #16037]
55570         * configure.ac: allow GNU Make 4.0 and greater.
55571         * configure: Regenerated.
55573 2013-10-30  Will Newton  <will.newton@linaro.org>
55575         [BZ #16038]
55576         * malloc/hooks.c (memalign_check): Limit alignment to the
55577         maximum representable power of two.
55578         * malloc/malloc.c (__libc_memalign): Likewise.
55579         * malloc/tst-memalign.c (do_test): Add test for very
55580         large alignment values.
55581         * malloc/tst-posix_memalign.c (do_test): Likewise.
55583 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55585         [BZ #11087]
55586         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55587         (munmap_chunk): Likewise.
55588         (mremap_chunk): Likewise.
55590 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55592         [BZ #15799]
55593         * stdlib/div.c (div): Remove obsolete code.
55594         * stdlib/ldiv.c (ldiv): Likewise.
55595         * stdlib/lldiv.c (lldiv): Likewise.
55597 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55599         [BZ #16071]
55600         * nss/nss_files/files-XXX.c (get_contents_ret): New
55601         enumerator.
55602         (get_contents): New function.
55603         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55605 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55607         * configure.in: Moved to ...
55608         * configure.ac: ... here. Change reference to configure.in
55609         to configure.ac.
55610         * sysdeps/arm/preconfigure.ac: ... here.
55611         configure.in to configure.ac.
55612         * sysdeps/gnu/configure.in: Moved to ...
55613         * sysdeps/gnu/configure.ac: ... here.
55614         * sysdeps/i386/configure.in: Moved to ...
55615         * sysdeps/i386/configure.ac: ... here.
55616         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55617         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55618         * sysdeps/mach/configure.in: Moved to ...
55619         * sysdeps/mach/configure.ac: ... here.
55620         * sysdeps/mach/hurd/configure.in: Moved to ...
55621         * sysdeps/mach/hurd/configure.ac: ... here.
55622         * sysdeps/powerpc/configure.in: Moved to ...
55623         * sysdeps/powerpc/configure.ac: ... here.
55624         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55625         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55626         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55627         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55628         * sysdeps/s390/s390-32/configure.in: Moved to ...
55629         * sysdeps/s390/s390-32/configure.ac: ... here.
55630         * sysdeps/s390/s390-64/configure.in: Moved to ...
55631         * sysdeps/s390/s390-64/configure.ac: ... here.
55632         * sysdeps/sh/configure.in: Moved to ...
55633         * sysdeps/sh/configure.ac: ... here.
55634         * sysdeps/sparc/configure.in: Moved to ...
55635         * sysdeps/sparc/configure.ac: ... here.
55636         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55637         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55638         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55639         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55640         * sysdeps/x86_64/configure.in: Moved to ...
55641         * sysdeps/x86_64/configure.ac: ... here.
55642         * sysdeps/x86_64/preconfigure.in: Moved to ...
55643         * sysdeps/x86_64/preconfigure.ac: ... here.
55644         * aclocal.m4: Change reference to configure.in to configure.ac.
55645         * config.h.in: Likewise.
55646         * manual/install.texi: Likewise.
55647         * manual/maint.texi: Likewise.
55648         * Makefile: Likewise.
55649         * malloc/Makefile: Likewise.
55650         * nscd/Makefile: Likewise.
55651         * Makeconfig: Change reference to configure.in and
55652         preconfigure.in to configure.ac and preconfigure.ac
55653         respectively.
55654         * INSTALL: Regenerated.
55655         * configure: Likewise.
55656         * sysdeps/gnu/configure: Likewise.
55657         * sysdeps/i386/configure: Likewise.
55658         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55659         * sysdeps/mach/configure: Likewise.
55660         * sysdeps/mach/hurd/configure: Likewise.
55661         * sysdeps/powerpc/configure: Likewise.
55662         * sysdeps/powerpc/powerpc32/configure: Likewise.
55663         * sysdeps/powerpc/powerpc64/configure: Likewise.
55664         * sysdeps/s390/s390-32/configure: Likewise.
55665         * sysdeps/s390/s390-64/configure: Likewise.
55666         * sysdeps/sh/configure: Likewise.
55667         * sysdeps/sparc/configure: Likewise.
55668         * sysdeps/unix/sysv/linux/configure: Likewise.
55669         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55670         * sysdeps/x86_64/configure: Likewise.
55671         * sysdeps/x86_64/preconfigure: Likewise.
55673 2013-10-29  Andreas Schwab  <schwab@suse.de>
55675         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55677 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55679         * benchtests/pow-inputs: Add new inputs.
55681         * benchtests/exp-inputs: Add new inputs.
55683         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55684         conditional check for return value.
55685         (__cos32): Likewise.
55687 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55689         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55690         to provide a boost for large inputs with word alignment.
55691         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55692         implementation based on optimized PPC64 strcpy.
55693         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55694         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55695         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55696         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55698 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55700         [BZ #2801]
55701         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55703 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55705         [BZ #14876]
55706         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55707         * time/tst-strptime.c (day_tests): Add testcase.
55709 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55711         [BZ #14029]
55712         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55714 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55716         [BZ #16074]
55717         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55718         MAP_FAILED on error.
55720 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55722         [BZ #16072]
55723         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55724         heap for large requests.
55726 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55728         [BZ #9954]
55729         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55730         result if the result has no associated interface.
55731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55732         interface for all 127.X.Y.Z addresses.
55734 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55736         * locale/iso-639.def: Add Ligurian (lij)
55738 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55740         [BZ #15825]
55741         * sunrpc/rpc_main.c: Document rpcgen -5.
55743 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55745         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55747 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55749         [BZ #10278]
55750         * posix/glob.c: Match only directories when trailing slash is present.
55751         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55752         (main): Add testcase.
55754 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55756         [BZ #15670]
55757         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55759 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55761         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55762         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55763         AUTH_DES and cindex for FIPS 140-2.
55764         (DES Encryption): Add cindex FIPS 46-3.
55766         * locale/locarchive.h (struct locarhandle): Add fname.
55767         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55768         if an optional argument was specified to --list-archive,
55769         otherwise NULL.
55770         * locale/programs/locarchive.c (show_archive_content): Take new
55771         argument fname and pass it via ah.fname to open_archive.
55772         * locale/programs/localedef.h: Update decl.
55773         (open_archive): If AH->fname is non-null, open that file
55774         rather than the default file name, and don't ignore ENOENT.
55775         (create_archive): Set AH.fname to NULL.
55776         (delete_locales_from_archive): Likewise.
55777         (add_locales_to_archive): Likewise.
55778         * locale/programs/locfile.c (write_all_categories): Likewise.
55780 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55781             Aldy Hernandez  <aldyh@redhat.com>
55783         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55784         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55785         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55786         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55787         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55788         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55789         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55790         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55791         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55792         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55793         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55794         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55795         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55796         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55797         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55798         Likewise.
55799         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55800         Likewise.
55801         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55802         Likewise.
55803         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55804         Likewise.
55805         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55806         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55807         Likewise.
55808         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55809         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55810         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55811         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55812         Likewise.
55813         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55814         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55815         * sysdeps/powerpc/preconfigure: Likewise.
55816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55817         Likewise.
55818         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55819         Replace contents of file by #include of <fenv_libc.h>.
55820         * sysdeps/powerpc/soft-fp/sfp-machine.h
55821         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55822         and <sys/prctl.h>.
55823         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55826         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55827         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55828         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55836         Allow copysignl PLT reference to be missing.
55838 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55839             Joseph Myers  <joseph@codesourcery.com
55841         [BZ #15948]
55842         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55843         single character.
55844         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55846 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55848         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55849         * elf/tst-tls1.c: Likewise.
55850         * elf/tst-tls10.h: Likewise.
55851         * elf/tst-tls14.c: Likewise.
55852         * elf/tst-tls2.c: Likewise.
55853         * elf/tst-tls3.c: Likewise.
55854         * elf/tst-tls4.c: Likewise.
55855         * elf/tst-tls5.c: Likewise.
55856         * elf/tst-tls6.c: Likewise.
55857         * elf/tst-tls7.c: Likewise.
55858         * elf/tst-tls8.c: Likewise.
55859         * elf/tst-tls9.c: Likewise.
55860         * elf/tst-tlsmod1.c: Likewise.
55861         * elf/tst-tlsmod13.c: Likewise.
55862         * elf/tst-tlsmod13a.c: Likewise.
55863         * elf/tst-tlsmod14a.c: Likewise.
55864         * elf/tst-tlsmod16a.c: Likewise.
55865         * elf/tst-tlsmod16b.c: Likewise.
55866         * elf/tst-tlsmod2.c: Likewise.
55867         * elf/tst-tlsmod3.c: Likewise.
55868         * elf/tst-tlsmod4.c: Likewise.
55869         * elf/tst-tlsmod5.c: Likewise.
55870         * elf/tst-tlsmod6.c: Likewise.
55872 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55874         [BZ #12486]
55875         * malloc/malloc.c: remove checks for statistics.
55877 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55879         [BZ #15277]
55880         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55881         * inet/tst-network.c: Add testcase.
55883 2013-10-17  Andreas Schwab  <schwab@suse.de>
55885         [BZ #15218]
55886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55887         to determine canonical name.
55889 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55891         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55892         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55899         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55904         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55905         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55906         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55907         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55908         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55915         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55916         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55918         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55919         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55920         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55921         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55922         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55923         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55924         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55925         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55926         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55927         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55931         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55932         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55933         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55934         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55935         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55936         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55937         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55938         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55939         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55940         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55941         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55942         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55944         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55945         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55946         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55947         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55948         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55950 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55952         [BZ #16041]
55953         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55954         make result into a quiet NaN.
55956 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55958         * soft-fp/adddf3.c: Fix horizontal whitespace.
55959         * soft-fp/addsf3.c: Likewise.
55960         * soft-fp/addtf3.c: Likewise.
55961         * soft-fp/divdf3.c: Likewise.
55962         * soft-fp/divsf3.c: Likewise.
55963         * soft-fp/divtf3.c: Likewise.
55964         * soft-fp/double.h: Likewise.
55965         * soft-fp/eqdf2.c: Likewise.
55966         * soft-fp/eqsf2.c: Likewise.
55967         * soft-fp/eqtf2.c: Likewise.
55968         * soft-fp/extenddftf2.c: Likewise.
55969         * soft-fp/extended.h: Likewise.
55970         * soft-fp/extendsfdf2.c: Likewise.
55971         * soft-fp/extendsftf2.c: Likewise.
55972         * soft-fp/extendxftf2.c: Likewise.
55973         * soft-fp/fixdfdi.c: Likewise.
55974         * soft-fp/fixdfsi.c: Likewise.
55975         * soft-fp/fixdfti.c: Likewise.
55976         * soft-fp/fixsfdi.c: Likewise.
55977         * soft-fp/fixsfsi.c: Likewise.
55978         * soft-fp/fixsfti.c: Likewise.
55979         * soft-fp/fixtfdi.c: Likewise.
55980         * soft-fp/fixtfsi.c: Likewise.
55981         * soft-fp/fixtfti.c: Likewise.
55982         * soft-fp/fixunsdfdi.c: Likewise.
55983         * soft-fp/fixunsdfsi.c: Likewise.
55984         * soft-fp/fixunsdfti.c: Likewise.
55985         * soft-fp/fixunssfdi.c: Likewise.
55986         * soft-fp/fixunssfsi.c: Likewise.
55987         * soft-fp/fixunssfti.c: Likewise.
55988         * soft-fp/fixunstfdi.c: Likewise.
55989         * soft-fp/fixunstfsi.c: Likewise.
55990         * soft-fp/fixunstfti.c: Likewise.
55991         * soft-fp/floatdidf.c: Likewise.
55992         * soft-fp/floatdisf.c: Likewise.
55993         * soft-fp/floatditf.c: Likewise.
55994         * soft-fp/floatsidf.c: Likewise.
55995         * soft-fp/floatsisf.c: Likewise.
55996         * soft-fp/floatsitf.c: Likewise.
55997         * soft-fp/floattidf.c: Likewise.
55998         * soft-fp/floattisf.c: Likewise.
55999         * soft-fp/floattitf.c: Likewise.
56000         * soft-fp/floatundidf.c: Likewise.
56001         * soft-fp/floatundisf.c: Likewise.
56002         * soft-fp/floatunditf.c: Likewise.
56003         * soft-fp/floatunsidf.c: Likewise.
56004         * soft-fp/floatunsisf.c: Likewise.
56005         * soft-fp/floatunsitf.c: Likewise.
56006         * soft-fp/floatuntidf.c: Likewise.
56007         * soft-fp/floatuntisf.c: Likewise.
56008         * soft-fp/floatuntitf.c: Likewise.
56009         * soft-fp/fmadf4.c: Likewise.
56010         * soft-fp/fmasf4.c: Likewise.
56011         * soft-fp/fmatf4.c: Likewise.
56012         * soft-fp/gedf2.c: Likewise.
56013         * soft-fp/gesf2.c: Likewise.
56014         * soft-fp/getf2.c: Likewise.
56015         * soft-fp/ledf2.c: Likewise.
56016         * soft-fp/lesf2.c: Likewise.
56017         * soft-fp/letf2.c: Likewise.
56018         * soft-fp/muldf3.c: Likewise.
56019         * soft-fp/mulsf3.c: Likewise.
56020         * soft-fp/multf3.c: Likewise.
56021         * soft-fp/negdf2.c: Likewise.
56022         * soft-fp/negsf2.c: Likewise.
56023         * soft-fp/negtf2.c: Likewise.
56024         * soft-fp/op-1.h: Likewise.
56025         * soft-fp/op-2.h: Likewise.
56026         * soft-fp/op-4.h: Likewise.
56027         * soft-fp/op-8.h: Likewise.
56028         * soft-fp/op-common.h: Likewise.
56029         * soft-fp/quad.h: Likewise.
56030         * soft-fp/single.h: Likewise.
56031         * soft-fp/soft-fp.h: Likewise.
56032         * soft-fp/sqrtdf2.c: Likewise.
56033         * soft-fp/sqrtsf2.c: Likewise.
56034         * soft-fp/sqrttf2.c: Likewise.
56035         * soft-fp/subdf3.c: Likewise.
56036         * soft-fp/subsf3.c: Likewise.
56037         * soft-fp/subtf3.c: Likewise.
56038         * soft-fp/truncdfsf2.c: Likewise.
56039         * soft-fp/trunctfdf2.c: Likewise.
56040         * soft-fp/trunctfsf2.c: Likewise.
56041         * soft-fp/trunctfxf2.c: Likewise.
56042         * soft-fp/unorddf2.c: Likewise.
56043         * soft-fp/unordsf2.c: Likewise.
56044         * soft-fp/unordtf2.c: Likewise.
56046 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56048         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56049         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56051 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56053         * elf/dl-libc.c: Clear initfini list after freeing.
56055 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56057         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56058         * soft-fp/addsf3.c: Likewise.
56059         * soft-fp/addtf3.c: Likewise.
56060         * soft-fp/divdf3.c: Likewise.
56061         * soft-fp/divsf3.c: Likewise.
56062         * soft-fp/divtf3.c: Likewise.
56063         * soft-fp/double.h: Likewise.
56064         * soft-fp/eqdf2.c: Likewise.
56065         * soft-fp/eqsf2.c: Likewise.
56066         * soft-fp/eqtf2.c: Likewise.
56067         * soft-fp/extenddftf2.c: Likewise.
56068         * soft-fp/extended.h: Likewise.
56069         * soft-fp/extendsfdf2.c: Likewise.
56070         * soft-fp/extendsftf2.c: Likewise.
56071         * soft-fp/extendxftf2.c: Likewise.
56072         * soft-fp/fixdfdi.c: Likewise.
56073         * soft-fp/fixdfsi.c: Likewise.
56074         * soft-fp/fixdfti.c: Likewise.
56075         * soft-fp/fixsfdi.c: Likewise.
56076         * soft-fp/fixsfsi.c: Likewise.
56077         * soft-fp/fixsfti.c: Likewise.
56078         * soft-fp/fixtfdi.c: Likewise.
56079         * soft-fp/fixtfsi.c: Likewise.
56080         * soft-fp/fixtfti.c: Likewise.
56081         * soft-fp/fixunsdfdi.c: Likewise.
56082         * soft-fp/fixunsdfsi.c: Likewise.
56083         * soft-fp/fixunsdfti.c: Likewise.
56084         * soft-fp/fixunssfdi.c: Likewise.
56085         * soft-fp/fixunssfsi.c: Likewise.
56086         * soft-fp/fixunssfti.c: Likewise.
56087         * soft-fp/fixunstfdi.c: Likewise.
56088         * soft-fp/fixunstfsi.c: Likewise.
56089         * soft-fp/fixunstfti.c: Likewise.
56090         * soft-fp/floatdidf.c: Likewise.
56091         * soft-fp/floatdisf.c: Likewise.
56092         * soft-fp/floatditf.c: Likewise.
56093         * soft-fp/floatsidf.c: Likewise.
56094         * soft-fp/floatsisf.c: Likewise.
56095         * soft-fp/floatsitf.c: Likewise.
56096         * soft-fp/floattidf.c: Likewise.
56097         * soft-fp/floattisf.c: Likewise.
56098         * soft-fp/floattitf.c: Likewise.
56099         * soft-fp/floatundidf.c: Likewise.
56100         * soft-fp/floatundisf.c: Likewise.
56101         * soft-fp/floatunsidf.c: Likewise.
56102         * soft-fp/floatunsisf.c: Likewise.
56103         * soft-fp/floatuntidf.c: Likewise.
56104         * soft-fp/floatuntisf.c: Likewise.
56105         * soft-fp/floatuntitf.c: Likewise.
56106         * soft-fp/fmadf4.c: Likewise.
56107         * soft-fp/fmasf4.c: Likewise.
56108         * soft-fp/fmatf4.c: Likewise.
56109         * soft-fp/gedf2.c: Likewise.
56110         * soft-fp/gesf2.c: Likewise.
56111         * soft-fp/getf2.c: Likewise.
56112         * soft-fp/ledf2.c: Likewise.
56113         * soft-fp/lesf2.c: Likewise.
56114         * soft-fp/letf2.c: Likewise.
56115         * soft-fp/muldf3.c: Likewise.
56116         * soft-fp/mulsf3.c: Likewise.
56117         * soft-fp/multf3.c: Likewise.
56118         * soft-fp/negdf2.c: Likewise.
56119         * soft-fp/negsf2.c: Likewise.
56120         * soft-fp/negtf2.c: Likewise.
56121         * soft-fp/op-1.h: Likewise.
56122         * soft-fp/op-2.h: Likewise.
56123         * soft-fp/op-4.h: Likewise.
56124         * soft-fp/op-8.h: Likewise.
56125         * soft-fp/op-common.h: Likewise.
56126         * soft-fp/quad.h: Likewise.
56127         * soft-fp/single.h: Likewise.
56128         * soft-fp/soft-fp.h: Likewise.
56129         * soft-fp/sqrtdf2.c: Likewise.
56130         * soft-fp/sqrtsf2.c: Likewise.
56131         * soft-fp/sqrttf2.c: Likewise.
56132         * soft-fp/subdf3.c: Likewise.
56133         * soft-fp/subsf3.c: Likewise.
56134         * soft-fp/subtf3.c: Likewise.
56135         * soft-fp/truncdfsf2.c: Likewise.
56136         * soft-fp/trunctfdf2.c: Likewise.
56137         * soft-fp/trunctfsf2.c: Likewise.
56138         * soft-fp/trunctfxf2.c: Likewise.
56139         * soft-fp/unorddf2.c: Likewise.
56140         * soft-fp/unordsf2.c: Likewise.
56141         * soft-fp/unordtf2.c: Likewise.
56143 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56145         [BZ #15672]
56146         * misc/error.c (error_tail): Fix possible buffer overflow.
56148 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56150         [BZ #13028]
56151         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56152         address.
56154 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56156         [BZ #832]
56157         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56158         testing pipefail option.
56160 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56162         * soft-fp/double.h: Indent preprocessor directives inside #if.
56163         * soft-fp/extended.h: Likewise.
56164         * soft-fp/op-2.h: Likewise.
56165         * soft-fp/op-4.h: Likewise.
56166         * soft-fp/op-common.h: Likewise.
56167         * soft-fp/quad.h: Likewise.
56168         * soft-fp/single.h: Likewise.
56169         * soft-fp/soft-fp.h: Likewise.
56171 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56173         * iconv/iconv_prog.c: Fix typos.
56174         * stdio-common/psiginfo-data.h: Likewise.
56176 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56178         [BZ #15764]
56179         * locale/setlocale.c: Fix typo.
56181 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56183         [BZ #16036]
56184         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56185         signaling NaN arguments.
56186         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56187         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56189         [BZ #14910]
56190         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56191         unordered operands.
56192         * soft-fp/gesf2.c (__gesf2): Likewise.
56193         * soft-fp/getf2.c (__getf2): Likewise.
56194         * soft-fp/ledf2.c (__ledf2): Likewise.
56195         * soft-fp/lesf2.c (__lesf2): Likewise.
56196         * soft-fp/letf2.c (__letf2): Likewise.
56198         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56199         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56200         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56201         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56202         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56203         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56204         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56205         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56206         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56207         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56208         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56209         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56210         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56211         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56212         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56213         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56214         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56215         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56216         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56217         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56218         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56219         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56220         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56221         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56222         * soft-fp/floattidf.c (__floattidf): Likewise.
56223         * soft-fp/floattisf.c (__floattisf): Likewise.
56224         * soft-fp/floattitf.c (__floattitf): Likewise.
56225         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56226         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56227         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56228         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56229         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56230         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56231         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56232         * soft-fp/gesf2.c (__gesf2): Likewise.
56233         * soft-fp/getf2.c (__getf2): Likewise.
56234         * soft-fp/ledf2.c (__ledf2): Likewise.
56235         * soft-fp/lesf2.c (__lesf2): Likewise.
56236         * soft-fp/letf2.c (__letf2): Likewise.
56238         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56239         Undefine and redefine.
56240         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56241         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56242         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56243         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56244         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56245         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56246         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56247         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56248         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56249         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56250         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56251         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56252         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56253         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56254         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56256         [BZ #16032]
56257         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56258         without decrementing exponent if mantissa >= that for the
56259         denominator, not >.
56260         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56261         denominator, not >.  Decrement exponent in < case instead of
56262         incrementing in >= case.
56263         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56264         without decrementing exponent if mantissa >= that for the
56265         denominator, not >.
56267         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56268         computing saturated result for unsigned overflow.
56270 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56271             Jeff Law  <law@redhat.com>
56273         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56274         (atan2Mp): Add systemtap probe marker.
56275         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56276         (__ieee754_log): Add systemtap probe marker.
56277         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56278         (atanMp): Add systemtap probe marker.
56279         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56280         (tanMp): Add systemtap probe marker.
56281         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56282         (__slowexp): Add systemtap probe marker.
56283         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56284         (__slowpow): Add systemtap probe marker.
56285         * manual/probes.texi: Document probes.
56287 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56289         [BZ #15362]
56290         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56291         written.
56292         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56293         written.
56294         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56295         written to buffer but not flushed.
56296         * libio/iofwrite_u.c:  Likewise.
56297         * libio/iopadn.c:  Return bytes returned even if EOF was
56298         encountered.
56299         * libio/iowpadn.c:  Likewise.
56300         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56301         if _IO_padn does not write the whole buffer.
56302         [!COMPILE_WPRINTF] (PAD): Likewise.
56304 2013-10-10  David S. Miller  <davem@davemloft.net>
56306         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56307         directory block.
56309 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56311         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56312         instead of FSF address.
56313         * soft-fp/fixdfti.c: Likewise.
56314         * soft-fp/fixsfti.c: Likewise.
56315         * soft-fp/fixtfti.c: Likewise.
56316         * soft-fp/fixunsdfti.c: Likewise.
56317         * soft-fp/fixunssfti.c: Likewise.
56318         * soft-fp/fixunstfti.c: Likewise.
56319         * soft-fp/floattidf.c: Likewise.
56320         * soft-fp/floattisf.c: Likewise.
56321         * soft-fp/floattitf.c: Likewise.
56322         * soft-fp/floatuntidf.c: Likewise.
56323         * soft-fp/floatuntisf.c: Likewise.
56324         * soft-fp/floatuntitf.c: Likewise.
56325         * soft-fp/trunctfxf2.c: Likewise.
56327         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
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 2013-10-10  David S. Miller  <davem@davemloft.net>
56344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56346 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56348         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56349         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56350         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56351         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56352         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56353         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56354         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56356         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56357         for NaNs before doing comparisons on argument.
56358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56359         Likewise.
56361 2013-10-10  Will Newton  <will.newton@linaro.org>
56363         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56364         passed to _int_memalign does not overflow.
56366 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56368         * scripts/bench.pl: Add include-sources directive.
56369         * benchtests/README: Update documentation.
56371 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56373         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56374         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56375         instead of FP_INIT_ROUNDMODE.
56376         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56377         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56379         [BZ #16034]
56380         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56381         copy class of input value.
56382         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56383         not handle exceptions.
56384         * soft-fp/negsf2.c (__negsf2): Likewise.
56385         * soft-fp/negtf2.c (__negtf2): Likewise.
56386         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56388 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56390         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56391         semicolon.  From Linux kernel.
56393 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56395         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56397 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56399         [BZ #156]
56400         * manual/socket.texi: Added statement about buffer
56401         for gethostbyname2_r.
56403 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56405         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56406         Use .p2align directive instead, throughout.
56407         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56408         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56409         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56410         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56411         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56412         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56413         * sysdeps/x86_64/strchr.S: Likewise.
56414         * sysdeps/x86_64/strrchr.S: Likewise.
56416 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56418         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56420         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56422         * sysdeps/generic/math_private.h (__mpsin1): Remove
56423         declaration.
56424         (__mpcos1): Likewise.
56425         (__mpsin): New argument __range_reduce.
56426         (__mpcos): Likewise.
56427         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56428         (slow): Use __mpsin and __mpcos.
56429         (slow1): Likewise.
56430         (slow2): Likewise.
56431         (sloww): Likewise.
56432         (sloww1): Likewise.
56433         (sloww2): Likewise.
56434         (bsloww): Likewise.
56435         (bsloww1): Likewise.
56436         (bsloww2): Likewise.
56437         (cslow2): Likewise.
56438         (csloww): Likewise.
56439         (csloww1): Likewise.
56440         (csloww2): Likewise.
56441         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56442         range_reduce.  Merge in __mpsin1.
56443         (__mpcos): Likewise.
56444         (__mpsin1): Remove.
56445         (__mpcos1): Likewise.
56447 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56449         * locale/loadlocale.c (_nl_intern_locale_data): Use
56450         LOCFILE_ALIGNED_P.
56451         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56452         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56453         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56454         obstack data is appropriately aligned.
56455         (obstack_int32_grow_fast): Likewise.
56456         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56457         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56458         (add_locale_uint32_array): Likewise.
56460 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56462         * benchtests/Makefile: Remove ARGLIST and RET variables.
56463         ($(objpfx)bench-%.c): Pass only function name to the script.
56464         * benchtests/README: Update documentation.
56465         * benchtests/acos-inputs: Add new directives.
56466         * benchtests/acosh-inputs: Likewise.
56467         * benchtests/asin-inputs: Likewise.
56468         * benchtests/asinh-inputs: Likewise.
56469         * benchtests/atan-inputs: Likewise.
56470         * benchtests/atanh-inputs: Likewise.
56471         * benchtests/cos-inputs: Likewise.
56472         * benchtests/cosh-inputs: Likewise.
56473         * benchtests/exp-inputs: Likewise.
56474         * benchtests/log-inputs: Likewise.
56475         * benchtests/pow-inputs: Likewise.
56476         * benchtests/rint-inputs: Likewise.
56477         * benchtests/sin-inputs: Likewise.
56478         * benchtests/sinh-inputs: Likewise.
56479         * benchtests/tan-inputs: Likewise.
56480         * benchtests/tanh-inputs: Likewise.
56481         * scripts/bench.pl: Add support for new directives.
56483 2013-10-07  Alan Modra  <amodra@gmail.com>
56485         * README: Fix careless merge.
56487 2013-10-05  Alan Modra  <amodra@gmail.com>
56489         * NEWS: Mention powerpc64le support and bugs fixed.
56490         * README: Both big-endian and little-endian powerpc64 supported.
56492 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56494         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56495         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56496         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56497         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56499 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56501         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56502         match prototype.
56504 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56506         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56507         Move -mhard-float appending from
56508         ports/sysdeps/powerpc/powerpc32/Makefile.
56509         [$(with-fp) = yes] (ASFLAGS): Likewise.
56510         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56511         * sysdeps/powerpc/nofpu: Move directory from
56512         ports/sysdeps/powerpc/nofpu.
56513         * sysdeps/powerpc/soft-fp: Move directory from
56514         ports/sysdeps/powerpc/soft-fp.
56515         * sysdeps/powerpc/powerpc32/405: Move directory from
56516         ports/sysdeps/powerpc/powerpc32/405.
56517         * sysdeps/powerpc/powerpc32/440: Move directory from
56518         ports/sysdeps/powerpc/powerpc32/440.
56519         * sysdeps/powerpc/powerpc32/464: Move directory from
56520         ports/sysdeps/powerpc/powerpc32/464.
56521         * sysdeps/powerpc/powerpc32/476: Move directory from
56522         ports/sysdeps/powerpc/powerpc32/476.
56523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56524         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56526         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56528         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56530         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56533         * README: Update for powerpc-*-linux-gnu software floating point
56534         support in libc.
56536         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56537         case to powerpc/powerpc32*.
56538         * sysdeps/unix/sysv/linux/configure: Regenerated.
56540         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56541         (_FPU_MASK_OM): Define as 0x04.
56542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56544         0x00c10080.
56545         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56546         0x0000003c.
56547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56550         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56551         getcontext_e500.
56552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56553         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56554         setcontext_e500.
56555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56556         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56557         and setcontext_e500.
56559 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56561         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56563 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56565         * manual/threads.texi (Default Thread Attributes): Fix typo.
56567 2013-10-04  Will Newton  <will.newton@linaro.org>
56569         * malloc/Makefile: Add tst-memalign.
56570         * malloc/tst-memalign.c: New file.
56572         * malloc/tst-posix_memalign.c: Add comments.
56573         (do_test): Add comments and call free on all potentially
56574         allocated pointers. Add space after cast.
56576         * malloc/tst-pvalloc.c: Add comments.
56577         (do_test): Add comments and call free on all potentially
56578         allocated pointers. Remove duplicate check for NULL pointer.
56579         Add space after cast.
56581         * malloc/tst-valloc.c: Add comments.
56582         (do_test): Add comments and call free on all potentially
56583         allocated pointers. Remove duplicate check for NULL pointer.
56584         Add space after cast.
56586 2013-10-04  Alan Modra  <amodra@gmail.com>
56588         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56589         Use stdint types in rather than __attribute__((mode())).
56590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56592 2013-10-04  Alan Modra  <amodra@gmail.com>
56594         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56595         Correct handling of unaligned relocs for little-endian.
56596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56598 2013-10-04  Alan Modra  <amodra@gmail.com>
56600         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56601         * configure: Regenerate.
56602         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56603         * shlib-versions: Likewise.
56605 2013-10-04  Alan Modra  <amodra@gmail.com>
56607         * string/tester.c (test_memrchr): Increment reported test cycle.
56609 2013-10-04  Alan Modra  <amodra@gmail.com>
56611         * string/test-memcpy.c (do_one_test): When reporting errors, print
56612         string address and don't overrun end of string.
56614 2013-10-04  Alan Modra  <amodra@gmail.com>
56616         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56617         insrdi.  Make better use of reg selection to speed exit slightly.
56618         Schedule entry path a little better.  Remove useless "are we done"
56619         checks on entry to main loop.  Handle wrapping around zero address.
56620         Correct main loop count.  Handle single left-over word from main
56621         loop inline rather than by using loop_small.  Remove extra word
56622         case in loop_small caused by wrong loop count.  Add little-endian
56623         support.
56624         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56625         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56626         cache hint.
56627         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56628         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56629         support.  Avoid rlwimi.
56630         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56632 2013-10-04  Alan Modra  <amodra@gmail.com>
56634         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56635         insrdi.  Formatting.
56636         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56637         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56638         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56639         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56640         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56641         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56643 2013-10-04  Alan Modra  <amodra@gmail.com>
56645         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56647         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56648         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56649         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56650         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56651         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56652         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56653         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56654         use of regs.  Use power7 mtocrf.  Tidy function tails.
56656 2013-10-04  Alan Modra  <amodra@gmail.com>
56658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56659         Formatting.  Consistently use rXXX register defines or rN defines.
56660         Use early exit labels that avoid restoring unused non-volatile regs.
56661         Make cr field use more consistent with rWORDn compares.  Rename
56662         regs used as shift registers for unaligned loop, using rN defines
56663         for short lifetime/multiple use regs.
56664         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56665         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56666         addi 1,1,64 to pop stack frame.  Simplify return value code.
56667         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56669 2013-10-04  Alan Modra  <amodra@gmail.com>
56671         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56672         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56673         rather than rlwimi.
56674         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56675         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56676         little-endian support.  Correct typos.
56677         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56678         rather than rlwimi.
56679         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56680         in loop and entry code to keep "and." results.
56681         (strchr): Add little-endian support.  Comment.  Move cntlzd
56682         earlier in tail.
56683         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56685 2013-10-04  Alan Modra  <amodra@gmail.com>
56687         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56688         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56689         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56690         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56692 2013-10-04  Alan Modra  <amodra@gmail.com>
56694         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56695         (rTMP): Define as r11.
56696         (strcmp): Add little-endian support.  Optimise tail.
56697         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56698         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56699         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56700         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56701         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56703         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56705 2013-10-04  Alan Modra  <amodra@gmail.com>
56707         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56708         little-endian support.  Remove unnecessary "are we done" tests.
56709         Handle "s" wrapping around zero and extremely large "size".
56710         Correct main loop count.  Handle single left-over word from main
56711         loop inline rather than by using small_loop.  Correct comments.
56712         Delete "zero" tail, use "end_max" instead.
56713         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56715 2013-10-04  Alan Modra  <amodra@gmail.com>
56717         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56718         support.  Don't branch over align.
56719         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56720         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56721         support.  Rearrange tmp reg use to suit.  Comment.
56722         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56724 2013-10-04  Alan Modra  <amodra@gmail.com>
56726         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56728 2013-10-04  Alan Modra  <amodra@gmail.com>
56730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56731         conditional form of branch and link when obtaining pc.
56732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56734 2013-10-04  Alan Modra  <amodra@gmail.com>
56736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56737         HIWORD/LOWORD.
56738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56741 2013-10-04  Alan Modra  <amodra@gmail.com>
56743         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56744         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56745         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56746         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56747         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56748         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56749         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56750         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56751         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56752         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56754 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56755             Alistair Popple <alistair@ozlabs.au.ibm.com>
56756             Alan Modra <amodra@gmail.com>
56758         [BZ #15723]
56759         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56760         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56761         _dl_hwcap access for little-endian.
56762         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56763         destroy vmx regs when saving unaligned.
56764         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56765         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56766         destroy vmx regs when saving unaligned.
56768 2013-10-04  Alan Modra  <amodra@gmail.com>
56770         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56771         Don't use a union to pack hi/low value.
56773 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56775         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56776         for little-endian.
56777         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56778         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56779         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56780         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56781         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56783 2013-10-04  Alan Modra  <amodra@gmail.com>
56785         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56786         constants to usual value for .cst8 section, and remove redundant
56787         high address load.
56788         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56789         constant for 0x1p52.  Load little-endian words of double from
56790         correct stack offsets.
56792 2013-10-04  Alan Modra  <amodra@gmail.com>
56794         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56795         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56796         words of double from correct stack offsets.
56797         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56798         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56799         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56800         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56801         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56802         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56803         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56804         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56805         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56806         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56807         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56808         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56809         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56810         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56811         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56812         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56813         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56815 2013-10-04  Alan Modra  <amodra@gmail.com>
56817         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56818         64-bit int/double union.
56819         (_FPU_SETCW): Likewise.
56820         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56821         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56823 2013-10-04  Alan Modra  <amodra@gmail.com>
56825         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56826         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56828 2013-10-04  Alan Modra  <amodra@gmail.com>
56830         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56831         use vector int constants.
56832         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56834 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56836         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56837         array with long long.
56838         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56839         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56840         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56841         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56842         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56843         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56844         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56845         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56846         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56847         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56848         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56849         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56850         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56852 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56854         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56855         (__signbit): Likewise.  Correct for little-endian.
56856         (__signbitl): Call __signbit.
56857         (lrint): Correct for little-endian.
56858         (lrintf): Call lrint.
56860 2013-10-04  Alan Modra  <amodra@gmail.com>
56862         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56863         union 32-bit int array member with 64-bit int array.
56864         (t515, tm256): Double rather than long double.
56865         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56867 2013-10-04  Alan Modra  <amodra@gmail.com>
56869         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56870         Delete.
56871         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56872         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56873         version of math_ldbl.h.
56875 2013-10-04  Alan Modra  <amodra@gmail.com>
56877         [BZ #15734], [BZ #15735]
56878         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56879         all uses of ieee875 long double macros and unions.  Simplify test
56880         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56881         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56882         normalize after ldbl_extract_mantissa, and don't add hidden bit
56883         already handled.  Don't treat low word of ieee854 mantissa like
56884         low word of IBM long double and mask off bit when testing for
56885         zero.
56886         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56887         all uses of ieee875 long double macros and unions.  Simplify tests
56888         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56889         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56890         two1022, instead use their values.  Recognise that tests for large
56891         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56892         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56893         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56894         test for 0.0L and nan.  Correct negation.
56895         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56896         ieee875 long double macros and unions.  Correct output for large
56897         magnitude x.  Correct absolute value calculation.
56898         (__erfcl): Likewise.
56899         * math/libm-test.inc: Add tests for errors discovered in IBM long
56900         double versions of fmodl, remainderl, erfl and erfcl.
56902 2013-10-04  Alan Modra  <amodra@gmail.com>
56904         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56905         all uses of ieee854 long double macros and unions.  Simplify tests
56906         for long doubles that are fully specified by the high double.
56907         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56908         Likewise.
56909         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56910         Remove dead code too.
56911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56912         (__ieee754_ynl): Likewise.
56913         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56914         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56916         Remove dead code too.
56917         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56918         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56919         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56920         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56921         Simplify.
56922         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56923         Simplify.
56924         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56925         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56926         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56927         Comment on variable precision.
56928         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56930         Likewise.
56931         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56933         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56935         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56937 2013-10-04  Alan Modra  <amodra@gmail.com>
56939         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56940         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56941         all uses of ieee854 long double macros and unions.
56942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56943         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56946         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56948         Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56950         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56952         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56953         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56954         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56955         Simplify sign and nan test too.
56956         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56957         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56958         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56959         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56960         Likewise.
56961         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56962         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56963         Likewise.
56964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56965         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56967         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56968         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56971 2013-10-04  Alan Modra  <amodra@gmail.com>
56973         * stdio-common/printf_size.c (__printf_size): Don't use
56974         union ieee854_long_double in fpnum union.
56975         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56976         signbit macro to retrieve sign from long double.
56977         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56978         retrieve sign from long double.
56979         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56980         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56981         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56982         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56983         * math/test-misc.c (main): Don't use union ieee854_long_double.
56985 2013-10-04  Alan Modra  <amodra@gmail.com>
56987         [BZ #15680]
56988         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56989         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56990         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56991         calculation.  Remove unnecessary test for denormal exponent.
56992         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56993         Correct handling of denormals.  Avoid undefined shift behaviour.
56994         Correct normalisation of low mantissa when low double is denormal.
56995         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56996         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56997         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56998         Correct normalisation of low mantissa.  Test for overflow of high
56999         mantissa and normalise.
57000         (ldbl_nearbyint): Use more readable constant for two52.
57001         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57002         (__mpn_construct_long_double): Fix test for overflow of high
57003         mantissa and correct normalisation.  Avoid undefined shift.
57005 2013-10-04  Alan Modra  <amodra@gmail.com>
57007         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57008         (union ibm_extended_long_double): Define as an array of ieee754_double.
57009         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57010         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57011         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57012         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57013         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57014         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57015         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57016         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57017         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57018         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57019         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57021 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57023         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57024         page size instead of calling getpagesize.
57026         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57027         (LOCFILE_ALIGN_MASK): Likewise.
57028         (LOCFILE_ALIGN_UP): Likewise.
57029         (LOCFILE_ALIGNED_P): Likewise.
57030         * locale/programs/ld-collate.c (collate_output): Use the new
57031         macros instead of __alignof__ (int32_t).
57032         * locale/weight.h (findidx): Likewise.
57034 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57036         [BZ #431]
57037         * manual/string.texi: Fix strncat and wcsncat.
57039 2013-10-03  Brooks Moses  <bmoses@google.com>
57041         [BZ #15915]
57042         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57043         * Makerules: ...here, and adjust associated comments.
57045 2013-10-02  Will Newton  <will.newton@linaro.org>
57047         * malloc/Makefile: Add tst-pvalloc.
57048         * malloc/tst-pvalloc.c: New file.
57050 2013-10-02  Will Newton  <will.newton@linaro.org>
57052         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57053         improve test coverage.
57055 2013-10-02  Will Newton  <will.newton@linaro.org>
57057         * malloc/Makefile: Add tst-posix_memalign.
57058         * malloc/tst-posix_memalign.c: New file.
57060 2013-10-01  Eric Blake  <eblake@redhat.com>
57062         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57063         Use __THROWNL rather than __THROW on static functions.
57065 2013-09-30  Petr Machata  <pmachata@redhat.com>
57067         * elf/elf.h (R_AARCH64_ABS16): New macro.
57068         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57069         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57070         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57071         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57072         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57073         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57074         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57075         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57076         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57077         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57078         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57079         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57080         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57081         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57082         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57083         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57084         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57085         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57086         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57087         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57088         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57089         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57090         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57091         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57092         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57093         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57094         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57095         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57096         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57097         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57098         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57099         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57100         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57101         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57102         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57103         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57104         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57105         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57106         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57107         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57108         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57109         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57110         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57111         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57112         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57113         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57114         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57115         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57116         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57117         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57118         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57119         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57120         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57121         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57122         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57123         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57124         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57125         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57126         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57127         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57128         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57129         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57130         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57131         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57132         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57133         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57134         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57135         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57136         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57137         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57138         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57139         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57140         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57141         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57142         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57143         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57144         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57145         (R_AARCH64_TLSDESC_LDR): Likewise.
57146         (R_AARCH64_TLSDESC_ADD): Likewise.
57147         (R_AARCH64_TLSDESC_CALL): Likewise.
57149 2013-09-30  Andreas Schwab  <schwab@suse.de>
57151         [BZ #15048]
57152         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57153         the nss database lookup.
57154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57157 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57159         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57161 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57163         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57164         ${Bash-specific parameter/pattern/string} parameter expansion.
57165         * sysdeps/unix/make-syscalls.sh: Likewise.
57167 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57169         * sysdeps/sh/stackguard-macros.h: New file.
57171 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57175         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57176         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57177         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57178         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57180 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57182         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57183         Fix thread ID register.
57185 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57187         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57188         [POSIX || UNIX98]: Require rather than permitting all symbols from
57189         <time.h>.
57190         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57191         element of struct sched_param.
57192         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57193         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57194         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57195         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57196         constant.
57198 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57200         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57201         argument calculation.
57203 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57205         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57206         Expect macro.
57207         [POSIX] (pthread_attr_t): Do not require type.
57208         [POSIX] (pthread_cond_t): Likewise.
57209         [POSIX] (pthread_condattr_t): Likewise.
57210         [POSIX] (pthread_key_t): Likewise.
57211         [POSIX] (pthread_mutex_t): Likewise.
57212         [POSIX] (pthread_mutexattr_t): Likewise.
57213         [POSIX] (pthread_once_t): Likewise.
57214         [POSIX] (pthread_t): Likewise.
57215         [POSIX-based standards] (pthread_atfork): Expect function.
57217 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57218             Richard Sandiford  <richard@codesourcery.com>
57220         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57221         (swap_endianness_p): New extern variable.
57222         (set_big_endian): New inline function.
57223         (maybe_swap_uint32): Likewise.
57224         (maybe_swap_uint32_array): Likewise.
57225         (maybe_swap_uint32_obstack): Likewise.
57226         * locale/programs/locfile.c: Include <stdbool.h>.
57227         (swap_endianness_p): New variable.
57228         (add_locale_uint32): Call maybe_swap_uint32.
57229         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57230         (write_locale_data): Call maybe_swap_uint32_array.
57231         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57232         maybe_swap_uint32.
57233         (obstack_int32_grow_fast): Likewise.
57234         (output_weightwc): Call maybe_swap_uint32_obstack.
57235         (collate_output): Likewise.
57236         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57237         (OPT_LITTLE_ENDIAN): Likewise.
57238         (options): Add --little-endian and --big-endian options.
57239         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57240         * locale/programs/locarchive.c: Include "locfile.h".
57241         (GET): New macro.
57242         (SET): Likewise.
57243         (INC): Likewise.
57244         (create_archive): Use the new macros to access fields of
57245         structures directly mapped from or written to locale archives.
57246         (oldlocrecentcmp): Likewise.
57247         (enlarge_archive): Likewise.
57248         (insert_name): Likewise.
57249         (add_alias): Likewise.
57250         (add_locale): Likewise.
57251         (delete_locales_from_archive): Likewise.
57252         (show_archive_content): Likewise.
57253         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57254         locale data.
57256 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57258         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57259         http://www.gnu.org/doc/freemanuals.texi.
57260         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57262 2013-09-24  Will Newton  <will.newton@linaro.org>
57264         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57265         macro.
57267 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57269         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57270         unsigned char.
57272 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57274         * manual/threads.texi (POSIX Threads): Fix a typo.
57276 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57278         [BZ #14547]
57279         * string/tst-strcoll-overflow.c: New test case.
57280         * string/Makefile (xtests): Add tst-strcoll-overflow.
57281         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57282         cache if string sizes may cause integer overflow.
57284         [BZ #14547]
57285         * string/strcoll_l.c (coll_seq): New members rule, idx,
57286         save_idx and back_us.
57287         (get_next_seq_nocache): New function.
57288         (do_compare_nocache): New function.
57289         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57290         when malloc fails.
57292 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57294         [BZ #15754]
57295         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57296         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57297         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57299         [BZ #15754]
57300         * elf/Makefile (tests): Add tst-ptrguard1.
57301         (tests-static): Add tst-ptrguard1-static.
57302         (tst-ptrguard1-ARGS): Define.
57303         (tst-ptrguard1-static-ARGS): Define.
57304         * elf/tst-ptrguard1.c: New file.
57305         * elf/tst-ptrguard1-static.c: New file.
57306         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57307         * sysdeps/i386/stackguard-macros.h: Likewise.
57308         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57309         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57310         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57311         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57312         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57313         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57315 2013-09-23  Hector Marco  <hecmargi@upv.es>
57316             Ismael Ripoll  <iripoll@disca.upv.es>
57317             Carlos O'Donell  <carlos@redhat.com>
57319         [BZ #15754]
57320         * sysdeps/generic/stackguard-macros.h: Define
57321         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57322         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57323         Define __pointer_chk_guard_local.
57324         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57325         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57327 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57329         [BZ #15859]
57330         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57332 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57334         * include/string.h (__ffs): Declare as hidden.
57335         * string/ffs.c (__ffs): Define as hidden.
57336         * sysdeps/i386/ffs.c (__ffs): Likewise.
57337         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57338         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57339         * sysdeps/s390/ffs.c (__ffs): Likewise.
57340         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57342 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57344         * NEWS: Mention malloc probes.
57346         * malloc/arena.c (new_heap): New memory_heap_new probe.
57347         (grow_heap): New memory_heap_more probe.
57348         (shrink_heap): New memory_heap_less probe.
57349         (heap_trim): New memory_heap_free probe.
57350         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57351         (systrim): New memory_sbrk_less probe.
57352         * manual/probes.texi: Document them.
57354         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57355         * manual/probes.texi: Document it.
57357         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57358         (__libc_realloc): Add memory_realloc_retry probe.
57359         (__libc_memalign): Add memory_memalign_retry probe.
57360         (__libc_valloc): Add memory_valloc_retry probe.
57361         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57362         (__libc_calloc): Add memory_calloc_retry probe.
57363         * manual/probes.texi: Document them.
57365         * malloc/arena.c (get_free_list): Add probe
57366         memory_arena_reuse_free_list.
57367         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57368         and memory_arena_reuse.
57369         (arena_get2) [!PER_THREAD]: Likewise.
57370         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57371         memory_arena_reuse_realloc.
57372         * manual/probes.texi: Document them.
57374         * malloc/malloc.c (__libc_free): Add
57375         memory_mallopt_free_dyn_thresholds probe.
57376         (__libc_mallopt): Add multiple memory_mallopt probes.
57377         * manual/probes.texi: Document them.
57379         * malloc/malloc.c: Include stap-probe.h.
57380         (__libc_mallopt): Add memory_mallopt probe.
57381         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57382         * manual/probes.texi: New.
57383         * manual/Makefile (chapters): Add probes.
57384         * manual/threads.texi: Set next node.
57386 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57388         [BZ #15963, #13985]
57389         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57390         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57391         Add `Chinese' to `nan' entry name.
57393 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57395         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57396         (POLYNOMIAL): Likewise.
57397         (TAYLOR_SINCOS): Likewise.
57398         (TAYLOR_SLOW): Likewise.
57399         (__sin): Use TAYLOR_SINCOS.
57400         (__cos): Likewise.
57401         (slow): Use TAYLOR_SLOW.
57402         (sloww): Likewise.
57403         (bsloww): Likewise.
57404         (csloww): Likewise.
57406 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57408         * stdlib/strtod_l.c: Fix buffer overrun.
57410 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57412         * benchtests/Makefile (bench): Add sincos.
57413         * benchtests/bench-sincos.c: New file.
57415         * math/libm-test.inc (cos_test_data): New test inputs.
57416         (sin_test_data): Likewise.
57418         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57419         macro.
57420         (__sin): Use it.
57421         (__cos): Likewise.
57422         (slow1): Likewise.
57423         (slow2): Likewise.
57424         (sloww1): Likewise.
57425         (sloww2): Likewise.
57426         (bsloww1): Likewise.
57427         (bsloww2): Likewise.
57428         (cslow2): Likewise.
57429         (csloww1): Likewise.
57430         (csloww2): Likewise.
57432         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57433         function.
57434         (__sin): Use it.
57435         (__cos): Likewise.
57437         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57438         gotos.
57439         (__cos): Likewise.
57441 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57443         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57444         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57445         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57446         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57447         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57448         * elf/cache.c (print_entry): Handle the new cache flags.
57450 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57451             Aldy Hernandez  <aldyh@redhat.com>
57453         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57454         Change condition to [_SOFT_FLOAT].
57455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57458         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57467         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57470         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57471         declaration.
57473 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57475         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57476         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57477         (__longjmp): Use LOAD_GP to load saved GPRs.
57478         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57479         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57480         (__sigsetjmp): Use SAVE_GP to save GPRs.
57482         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57483         Do not append -msoft-float.
57484         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57486 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57488         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57490 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57492         [BZ #15966]
57493         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57494         (_FPU_GETCW): Use initial "__" on variable and field names but not
57495         on macro parameter name.
57496         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57497         parentheses around reference to macro parameter.
57499 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57501         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57502         prototype.
57503         (ctype_startup): Use uint32_t in cast and sizeof for
57504         ctype->charnames.
57506 2013-09-11  Jia Liu  <proljc@gmail.com>
57508         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57509         __daddr_t_defined.
57510         [__FreeBSD__]: Likewise.
57512 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57515         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57516         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57517         (strchr): Remove __strchr_sse42 ifunc selection.
57518         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57519         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57521 2013-09-11  Will Newton  <will.newton@linaro.org>
57523         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57524         parameter to RES. Remove hardcoded 1000 value.
57525         * benchtests/bench-skeleton.c (main): Pass RES parameter
57526         to TIMING_INIT and multiply result by 1000.
57528 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57532 2013-09-11  Andreas Schwab  <schwab@suse.de>
57534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57535         if not defined.
57536         (O_TMPFILE) [__USE_GNU]: Define.
57537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57538         Define.
57540 2013-09-11  Will Newton  <will.newton@linaro.org>
57542         [BZ #15857]
57543         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57544         does not overflow.
57546 2013-09-11  Will Newton  <will.newton@linaro.org>
57548         [BZ #15856]
57549         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57550         does not overflow.
57552 2013-09-11  Will Newton  <will.newton@linaro.org>
57554         [BZ #15855]
57555         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57556         does not overflow.
57558 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57560         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57561         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57562         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57563         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57564         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57566 2013-09-10  Allan McRae  <allan@archlinux.org>
57568         [BZ #15748]
57569         * manual/arith.texi (Parsing of Floats): Clarify
57570         cross-reference.
57572         [BZ #15849]
57573         * manual/install.texi (Running make install): Mention
57574         --enable-pt-chown.
57575         * INSTALL: Regenerated.
57577 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57579         * csu/init-first.c (_init): Remove the !SHARED condition around
57580         FPU control word initialization.
57581         * elf/dl-support.c (_dl_fpu_control): New variable.
57582         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57583         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57584         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57585         * math/test-fpucw-static.c: New file.
57586         * math/test-fpucw-ieee.c: New file.
57587         * math/test-fpucw-ieee-static.c: New file.
57588         * math/Makefile (tests): Add `test-fpucw-ieee' and
57589         `$(tests-static)'.
57590         (tests-static): New variable.
57591         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57592         dependency to...
57593         [($(build-shared),yes)]
57594         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57595         ... this.
57596         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57597         New dependency.
57599 2013-09-09  Allan McRae  <allan@archlinux.org>
57601         [BZ #15939]
57602         * manual/string.texi (Collation Functions): Fix typo in
57603         strcoll example.
57604         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57606         [BZ #15893]
57607         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57609         [BZ #15892]
57610         * libio/memstream.c (open_memstream): Fix memory leak.
57611         * libio/wmemstream.c (open_wmemstream): Likewise.
57613         [BZ #15895]
57614         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57616 2013-09-09  Will Newton  <will.newton@linaro.org>
57618         * malloc/Makefile: Add tst-realloc to tests.
57619         * malloc/tst-realloc.c: New file.
57621 2013-09-09  Allan McRae  <allan@archlinux.org>
57623         [BZ #15844]
57624         * COPYING: Update from GNU website to fix FSF address.
57625         * COPYING.LIB: Likewise.
57627 2013-09-06  David S. Miller  <davem@davemloft.net>
57629         * po/zh_TW.po: Update Chinese (traditional) translation from
57630         translation project.
57632 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57633             Joseph Myers  <joseph@codesourcery.com>
57635         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57636         "localeinfo.h".
57637         (obstack_chunk_alloc): New macro.
57638         (obstack_chunk_free): Likewise.
57639         (record_offset): New function.
57640         (init_locale_data): Likewise.
57641         (align_locale_data): Likewise.
57642         (add_locale_empty): Likewise.
57643         (add_locale_raw_data): Likewise.
57644         (add_locale_raw_obstack): Likewise.
57645         (add_locale_string): Likewise.
57646         (add_locale_wstring): Likewise.
57647         (add_locale_uint32): Likewise.
57648         (add_locale_uint32_array): Likewise.
57649         (add_locale_char): Likewise.
57650         (start_locale_structure): Likewise.
57651         (end_locale_structure): Likewise.
57652         (start_locale_prelude): Likewise.
57653         (end_locale_prelude): Likewise.
57654         (write_locale_data): Take locale_file structure rather than an
57655         iovec.
57656         * locale/programs/locfile.h: Include "obstack.h".
57657         (struct locale_file): Change to store locale file contents instead
57658         of header.
57659         (init_locale_data): New prototype.
57660         (align_locale_data): Likewise.
57661         (add_locale_empty): Likewise.
57662         (add_locale_raw_data): Likewise.
57663         (add_locale_raw_obstack): Likewise.
57664         (add_locale_string): Likewise.
57665         (add_locale_wstring): Likewise.
57666         (add_locale_uint32): Likewise.
57667         (add_locale_uint32_array): Likewise.
57668         (add_locale_char): Likewise.
57669         (start_locale_structure): Likewise.
57670         (end_locale_structure): Likewise.
57671         (start_locale_prelude): Likewise.
57672         (end_locale_prelude): Likewise.
57673         (write_locale_data): Update prototype.
57674         * locale/programs/3level.h (struct TABLE): Remove result field.
57675         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57676         Use new locale_file interface.
57677         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57678         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57679         * locale/programs/ld-address.c (address_output): Use new
57680         locale_file interface.
57681         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57682         NO_ADD_LOCALE.
57683         (collate_finish): Don't call collseq_table_finalize.
57684         (collate_output): Use new locale_file interface.
57685         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57686         in file.
57687         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57688         (TABLE): Move defines earlier in file.
57689         (ELEMENT): Likewise.
57690         (DEFAULT): Likewise.
57691         (wctrans_table_add): Move macro and inline function earlier in
57692         file.
57693         (struct wctype_table): Move type earlier in file.
57694         (add_locale_wctype_table): New static prototype.
57695         (struct locale_ctype_t): Use logical types instead of struct iovec
57696         pointers for members.
57697         (ctype_output): Use new locale_file interface.
57698         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57699         new locale_file interface.
57700         (allocate_arrays): Update for use of new locale_file interface.
57701         * locale/programs/ld-identification.c (identification_output): Use
57702         new locale_file interface.
57703         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57704         * locale/programs/ld-messages.c (messages_output): Likewise.
57705         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57706         * locale/programs/ld-name.c (name_output): Likewise.
57707         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57708         * locale/programs/ld-paper.c (paper_output): Likewise.
57709         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57710         * locale/programs/ld-time.c (time_output): Likewise.
57712 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57714         * benchtests/Makefile: Add memrchr benchmark.
57715         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57716         benchmark as memrchr.
57717         * benchtests/bench-memrchr-ifunc.c: New file.
57718         * benchtests/bench-memrchr.c: New file.
57720 2013-09-06   Will Newton  <will.newton@linaro.org>
57722         * benchtests/Makefile (string-bench): Add memcpy.
57724 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57725             Cong Wang  <amwang@redhat.com>
57727         [BZ #15850]
57728         * sysdeps/unix/sysv/linux/bits/in.h
57729         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57730         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57731         before __USE_KERNEL_IPV6_DEFS uses.
57732         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57733         IPPROTO_BEETPH.
57734         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57735         sockaddr_in6, or ipv6_mreq.
57737 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57739         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57740         memory access for final bytes in some large inputs.
57741         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57743 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57745         * string/test-memrchr.c: New file.
57746         * string/test-memrchr-ifunc.c: New file.
57747         * string/Makefile: Add new memrchr testcase.
57749 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57751         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57752         fanotify_init returns EPERM.
57754 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57756         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57757         errors.
57758         (top level): Treat second token from macro or constant entries for
57759         allowed headers as allowed.
57760         * include/complex.h: Condition internal declarations on
57761         [!_ISOMAC].
57762         * include/fenv.h: Condition include of <stdbool.h> and internal
57763         declarations on [!_ISOMAC].
57765 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57767         [BZ #15923]
57768         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57770 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57772         * configure.in (--enable-versioning): Remove configure option.
57773         (libc_cv_asm_symver_directive): Remove configure test.
57774         (libc_cv_ld_version_script_option): Likewise.
57775         (VERSIONING): Remove variable and AC_SUBST.
57776         (DO_VERSIONING): Remove AC_DEFINE.
57777         * configure: Regenerated.
57778         * config.h.in (DO_VERSIONING): Remove macro.
57779         * Makerules [$(versioning) = yes]: Change conditionals to
57780         [$(build-shared) = yes].
57781         * config.make.in (versioning): Remove variable.
57782         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57783         [$(build-shared) = yes].
57784         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57785         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57786         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57787         [$(build-shared) = yes].
57788         * extra-lib.mk [$(versioning) = yes]: Likewise.
57789         * hurd/Makefile [$(versioning) = yes]: Likewise.
57790         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57791         [SHARED].
57792         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57793         [SHARED].
57794         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57795         [SHARED && !NO_HIDDEN].
57796         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57797         [SHARED].
57798         [SHARED && DO_VERSIONING]: Likewise..
57799         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57800         [$(build-shared) = yes].
57801         * manual/install.texi (--disable-versioning): Remove
57802         documentation.
57803         * INSTALL: Regenerated.
57804         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57805         to [SHARED].
57806         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57807         [$(build-shared) = yes].
57808         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57809         * sysdeps/i386/i686/multiarch/strstr-c.c
57810         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57811         [SHARED && !NO_HIDDEN].
57812         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57813         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57814         * sysdeps/powerpc/powerpc32/dl-machine.c
57815         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57816         * sysdeps/powerpc/powerpc32/sysdep.h
57817         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57818         to [SHARED && PIC && !NO_HIDDEN].
57819         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57820         conditional to [SHARED].
57822 2013-09-04   Will Newton  <will.newton@linaro.org>
57824         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57825         * benchtests/bench-string.h: Include bench-timing.h instead
57826         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57827         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57828         call to HP_TIMING_DIFF_INIT.
57829         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57830         instead of hp-timing.h macros.
57831         * benchtests/bench-memchr.c: Likewise.
57832         * benchtests/bench-memcmp.c: Likewise.
57833         * benchtests/bench-memcpy.c: Likewise.
57834         * benchtests/bench-memmem.c: Likewise.
57835         * benchtests/bench-memmove.c: Likewise.
57836         * benchtests/bench-memset.c: Likewise.
57837         * benchtests/bench-rawmemchr.c: Likewise.
57838         * benchtests/bench-strcasecmp.c: Likewise.
57839         * benchtests/bench-strcasestr.c: Likewise.
57840         * benchtests/bench-strcat.c: Likewise.
57841         * benchtests/bench-strchr.c: Likewise.
57842         * benchtests/bench-strcmp.c: Likewise.
57843         * benchtests/bench-strcpy.c: Likewise.
57844         * benchtests/bench-strcpy_chk.c: Likewise.
57845         * benchtests/bench-strlen.c: Likewise.
57846         * benchtests/bench-strncasecmp.c: Likewise.
57847         * benchtests/bench-strncat.c: Likewise.
57848         * benchtests/bench-strncmp.c: Likewise.
57849         * benchtests/bench-strncpy.c: Likewise.
57850         * benchtests/bench-strnlen.c: Likewise.
57851         * benchtests/bench-strpbrk.c: Likewise.
57852         * benchtests/bench-strrchr.c: Likewise.
57853         * benchtests/bench-strspn.c: Likewise.
57854         * benchtests/bench-strstr.c: Likewise.
57856 2013-09-04  Will Newton  <will.newton@linaro.org>
57858         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57860 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57862         [BZ #15427]
57863         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57864         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57865         * math/libm-test.inc (lgamma_test_data): Add more tests.
57866         * sysdeps/i386/fpu/libm-test-ulps: Update.
57867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57869 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57871         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57873         Add ifunc.
57874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57875         Add strcmp-sse2-unaligned
57876         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57878 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57880         * Versions.def (libc): Add GLIBC_2.19.
57882 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57884         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57885         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57887 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57889         [BZ #14155]
57890         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57891         intermediate calculations in recurrence.
57892         (__ieee754_ynf): Likewise.
57893         * math/libm-test.inc (jn_test_data): Do not allow spurious
57894         underflow exception.  Add more tests.
57895         (yn_test_data): Add more tests.
57896         * sysdeps/i386/fpu/libm-test-ulps: Update.
57897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57899 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57901         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57903 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57905         * csu/init-first.c: Fix then/than typos.
57906         * locale/programs/ld-collate.c: Likewise.
57907         * locale/programs/linereader.h: Likewise.
57908         * manual/charset.texi: Likewise.
57909         * manual/filesys.texi: Likewise.
57910         * manual/stdio.texi: Likewise.
57911         * manual/string.texi: Likewise.
57912         * stdlib/fmtmsg.c: Likewise.
57913         * sysdeps/i386/stpncpy.S: Likewise.
57914         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57915         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57916         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57917         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57919 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57921         * elf/dl-open.c: Fix typos.
57922         * iconvdata/gbbig5.c: Likewise.
57923         * iconvdata/iso-2022-jp.c: Likewise.
57924         * iconv/gconv_int.h: Likewise.
57925         * iconv/loop.c: Likewise.
57926         * nis/rpcsvc/nis.h: Likewise.
57927         * resolv/ns_name.c: Likewise.
57928         * stdio-common/vfscanf.c: Likewise.
57929         * streams/stropts.h: Likewise.
57930         * sunrpc/rpc_thread.c: Likewise.
57931         * sysdeps/i386/strpbrk.S: Likewise.
57932         * sysdeps/ieee754/k_standard.c: Likewise.
57933         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57935         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57936         * sysdeps/mach/hurd/profil.c: Likewise.
57937         * sysdeps/s390/dl-procinfo.h: Likewise.
57938         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57939         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57940         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57941         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57942         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57944 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57946         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57949 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57951         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57952         aix specific files.
57953         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57954         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57955         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57956         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57957         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57958         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57959         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57960         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57962 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57963             Roland McGrath  <roland@hack.frob.com>
57965         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57966         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57968 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57970         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57971         __executable_start symbol instead of _start.
57973 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57975         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57976         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57977         Move macros to...
57978         * sysdeps/gnu/ldsodefs.h: ... this new file.
57980         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57981         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57982         instead of ELFOSABI_LINUX.
57984         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57985         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57986         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57987         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57988         Likewise.
57989         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57990         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57991         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57992         Likewise.
57993         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57994         (ibm_extended_long_double): Add ieee_nan member.
57995         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57996         (do_test): New function.
57998         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57999         TEST_TRUNC.
58000         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58001         functions, renamed from truncdfsf_test, trunctfsf_test,
58002         trunctfdf_test.
58003         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58004         functions.
58005         (do_test): Run all these.
58007 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58009         * argp/argp-help.c: Fix typos.
58010         * argp/argp-parse.c: Likewise.
58011         * debug/backtracesyms.c: Likewise.
58012         * elf/elf.h: Likewise.
58013         * malloc/malloc.c: Likewise.
58014         * nis/nis_print.c: Likewise.
58015         * resolv/res_comp.c: Likewise.
58016         * stdlib/stdlib.h: Likewise.
58017         * sunrpc/clnt_tcp.c: Likewise.
58018         * sunrpc/clnt_udp.c: Likewise.
58019         * sunrpc/clnt_unix.c: Likewise.
58020         * sysdeps/unix/bsd/ptsname.c: Likewise.
58021         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58022         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58024         Likewise.
58025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58026         Likewise.
58027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58028         Likewise.
58029         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58031 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58033         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58036 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58038         [BZ #15897]
58039         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58040         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58041         ($(objpfx)bug-dl-leaf): New rule.
58042         ($(objpfx)bug-dl-leaf.so): Likewise.
58043         ($(objpfx)bug-dl-leaf.out): Likewise.
58044         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58045         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58046         * dlfcn/bug-dl-leaf.c: New test.
58047         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58048         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58049         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58050         (dlclose): Likewise.
58051         (dlmopen): Likewise.
58053 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58055         * include/netdb.h [!_ISOMAC]:
58056         Don't include <tls.h>.
58057         (h_errno, __libc_h_errno): Move declaration and macros out of
58058         [_LIBC_REENTRANT].
58060         * include/resolv.h [_RESOLV_H_]:
58061         Don't include <tls.h>.
58062         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58063         * resolv/res_libc.c: Don't include <tls.h>.
58064         (_res): Use __attribute__ ((nocommon)) in place of
58065         __attribute__ ((section (".bss"))).
58067         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58068         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58070         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58072         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58073         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58075         * resolv/res_mkquery.c: Include <sys/time.h>.
58077         * inet/ifreq.c: Moved to ...
58078         * sysdeps/unix/ifreq.c: ... here.
58079         * inet/ifreq.c: New file, true stub version.
58081         * socket/sa_len.c: New file.
58082         * socket/Makefile (aux): Add it.
58083         * sysdeps/unix/sysv/linux/Makefile
58084         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58085         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58086         and #include <socket/sa_len.c>.
58087         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58088         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58090         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58091         * bits/socket.h: ... here.
58093         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58094         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58095         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58097 2013-08-27  Andreas Schwab  <schwab@suse.de>
58099         [BZ #15736]
58100         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58101         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58102         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58103         * string/test-strcasecmp.c (test_main): Run tests in several
58104         locales.
58105         * string/test-strncasecmp.c (test_main): Likewise.
58107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58108         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58109         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58111         (__strncasecmp_ssse3) [PIC]: Likewise.
58113 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58115         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58117         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58118         instead of explicitly declaring xdecrypt.
58119         * nis/nss_nis/nis-publickey.c: Likewise.
58121 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58123         [BZ #15890]
58124         * nscd/aicache.c: Include res_hconf.h.
58125         (addhstaiX): Initialize res_hconf.
58127 2013-08-26  Andreas Schwab  <schwab@suse.de>
58129         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58130         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58132 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58134         * nscd/aicache.c (addhstaiX): Fix indentation.
58136 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58138         * configure.ac: Quote $build_pt_chown test.
58139         * configure: Regenerated.
58141 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58143         [BZ #15532]
58144         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58145         * math/s_cexpf.c (__cexpf): Likewise.
58146         * math/s_cexpl.c (__cexpl): Likewise.
58147         * math/libm-test.inc (cexp_test_data): Correct expected return
58148         value for NaN + i0.  Add another test.
58150 2013-08-22  David S. Miller  <davem@davemloft.net>
58152         * po/ca.po: Update Catalan translation from translation project.
58153         * po/uk.po: Add Ukrainian translations from translation project.
58155 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58157         [BZ #15797]
58158         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58159         is infinite, not alongside NaN test.
58160         * math/s_fdimf.c (__fdimf): Likewise.
58161         * math/s_fdiml.c (__fdiml): Likewise.
58162         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58163         errno is unchanged.
58165 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58167         * argp/argp-help.c: Fix typos.
58168         * crypt/speeds.c: Likewise.
58169         * csu/check_fds.c: Likewise.
58170         * elf/dl-load.c: Likewise.
58171         * elf/dl-open.c: Likewise.
58172         * elf/reldep3.c: Likewise.
58173         * elf/reldep.c: Likewise.
58174         * elf/sprof.c: Likewise.
58175         * iconv/iconv_charmap.c: Likewise.
58176         * iconv/skeleton.c: Likewise.
58177         * iconv/strtab.c: Likewise.
58178         * io/lockf64.c: Likewise.
58179         * libio/libioP.h: Likewise.
58180         * resolv/gai_notify.c: Likewise.
58181         * resolv/ns_name.c: Likewise.
58182         * resolv/ns_samedomain.c: Likewise.
58183         * resolv/res_send.c: Likewise.
58184         * stdlib/random.c: Likewise.
58185         * sunrpc/rpc/xdr.h: Likewise.
58186         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58187         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58188         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58189         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58190         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58191         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58192         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58193         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58194         * sysdeps/mach/hurd/check_fds.c: Likewise.
58195         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58197         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58198         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58199         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58200         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58201         * sysdeps/pthread/aio_notify.c: Likewise.
58202         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58203         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58204         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58205         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58206         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58208 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58210         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58211         version if bit_Slow_SSE4_2 is set.
58212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58213         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58215 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58217         [BZ #15867]
58218         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58219         trampoline stack frame information.
58220         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58221         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58222         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58223         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58224         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58225         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58226         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58227         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58228         sa_flags value.
58229         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58230         interrupting a syscall and set with option SA_SIGINFO.
58232 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58234         [BZ #15531]
58235         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58236         argument is infinite.
58237         * math/s_cprojf.c (__cprojf): Likewise.
58238         * math/s_cprojl.c (__cprojl): Likewise.
58239         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58240         * math/libm-test.inc (cproj_test_data): Add more tests.
58242         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58244         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58245         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58246         size.  Use __ffs to determine corresponding shift.
58248 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58249             Roland McGrath  <roland@hack.frob.com>
58251         * Makefile (INSTALL): Remove trailing blank lines from output of
58252         makeinfo.
58254 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58256         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58257         Align 32 bit compat elf_greg to 8 bytes.
58259 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58261         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58263 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58265         * string/strcoll_l.c (coll_seq): New structure.
58266         (get_next_seq_cached): New function.
58267         (get_next_seq): New function.
58268         (do_compare): New function.
58269         (STRCOLL): Use GNU style definition.  Simplify implementation
58270         by using get_next_seq, get_next_seq_cached and do_compare.
58272 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58274         [BZ #14699]
58275         CVE-2013-4237
58276         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58277         member.
58278         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58279         member.
58280         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58281         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58282         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58283         conditional.
58284         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58285         GETDENTS_64BIT_ALIGNED.
58286         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58287         * manual/filesys.texi (Reading/Closing Directory): Document
58288         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58289         strongly.
58290         * manual/conf.texi (Limits for Files): Add portability note to
58291         NAME_MAX, PATH_MAX.
58292         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58294 2013-08-13  Andreas Schwab  <schwab@suse.de>
58296         [BZ #15749]
58297         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58298         of fabs.
58299         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58300         LDBL_MAX_EXP >= 16384]: Add tests for it.
58302 2013-08-12  David S. Miller  <davem@davemloft.net>
58304         * version.h (RELEASE): Set to "development".
58305         (VERSION): Set to "2.18.90".
58306         * NEWS: Add 2.19 section.
58308 2013-08-03  David S. Miller  <davem@davemloft.net>
58310         * po/ko.po: Update Korean translation from translation project.
58312 2013-08-01  David S. Miller  <davem@davemloft.net>
58314         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58315         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58316         Bilka.
58318 2013-07-30  David S. Miller  <davem@davemloft.net>
58320         * po/fr.po: Update French translation from translation project.
58322 2013-07-28  David S. Miller  <davem@davemloft.net>
58324         * po/cs.po: Update Czech translation from translation project.
58326         * po/sv.po: Update Swedish translation from translation project.
58328 2013-07-27  David S. Miller  <davem@davemloft.net>
58330         * po/eo.po: Update Esperanto translation from translation project.
58332         * po/vi.po: Update Vietnamese translation from translation project.
58334         * po/de.po: Update German translation from translation project.
58336 2013-07-26  David S. Miller  <davem@davemloft.net>
58338         * po/bg.po: Update Bulgarian translation from translation project.
58340         * po/nl.po: Update Dutch translation from translation project.
58341         * po/pl.po: Update Polish translation from translation project.
58342         * po/ru.po: Update Russian translation from translation project.
58344 2013-07-24  David S. Miller  <davem@davemloft.net>
58346         * po/libc.pot: Update.
58348 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58350         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58351         variable page size.
58352         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58353         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58354         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58356 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58358         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58360 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58361             Andreas Schwab  <schwab@suse.de>
58362             Roland McGrath  <roland@hack.frob.com>
58363             Joseph Myers  <joseph@codesourcery.com>
58364             Carlos O'Donell  <carlos@redhat.com>
58366         [BZ #15755]
58367         * config.h.in: Define HAVE_PT_CHOWN.
58368         * config.make.in (build-pt-chown): New variable.
58369         * configure.in (--enable-pt_chown): New configure option.
58370         * configure: Regenerate.
58371         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58372         build-pt-chown is enabled.
58373         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58374         pt_chown to fix pty ownership.
58375         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58376         CLOSE_ALL_FDS.
58377         * manual/install.texi (Configuring and compiling): Mention
58378         --enable-pt_chown. Add @findex for grantpt.
58379         * INSTALL: Regenerate.
58381 2013-07-20  David S. Miller  <davem@davemloft.net>
58383         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58384         difference between 32-bit and 64-bit.
58386 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58388         [BZ #15711]
58389         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58390         Avoid system header dependency with -ffreestanding.
58391         ($(objpfx)bits/syscall%d): Likewise.
58393 2013-07-13  David S. Miller  <davem@davemloft.net>
58395         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58396         underflows from atanl/atan2l due to bug 15319.
58397         (casinh_test_data): Likewise.
58399 2013-07-07  David S. Miller  <davem@davemloft.net>
58401         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58403 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58405         * sysdeps/i386/fpu/libm-test-ulps: Update.
58406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58408 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58410         * configure.in (--enable-lock-elision): Fix message text.
58411         * INSTALL: Regenerate.
58412         * configure: Regenerate.
58414 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58418 2013-07-03  Andreas Jaeger  <aj@suse.de>
58420         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58421         define.
58422         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58423         (ptrace_peeksiginfo_args): Add.
58424         (__ptrace_peeksiginfo_flags): Add.
58425         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58426         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58429 2013-07-03  Allan McRae  <allan@archlinux.org>
58431         * sysdeps/i386/fpu/libm-test-ulps: Update.
58433 2013-07-02  David S. Miller  <davem@davemloft.net>
58435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58437 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58439         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58441 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58443         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58446 2013-07-02  Andi Kleen <ak@linux.intel.com>
58448         * config.h.in (ENABLE_LOCK_ELISION): Add.
58449         * configure.in (--enable-lock-elision): Add option.
58450         * manual/install.texi: Document --enable lock elision.
58451         * configure: Regenerate
58452         * INSTALL: Regenerate.
58454 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58456         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58457         SSE4.2 strcasecmp for libc.a.
58458         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58460 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58462         [BZ #13304]
58463         * soft-fp/op-common.h (_FP_FMA): New macro.
58464         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58465         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58466         (_FP_MUL_MEAT_1_imm): ... here.
58467         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58468         (_FP_MUL_MEAT_1_wide): ... here.
58469         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58470         (_FP_MUL_MEAT_1_hard): ... here.
58471         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58472         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58473         (_FP_MUL_MEAT_2_wide): ... here.
58474         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58475         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58476         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58477         (_FP_MUL_MEAT_2_gmp): ... here.
58478         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58479         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58480         (_FP_MUL_MEAT_4_wide): ... here.
58481         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58482         (_FP_MUL_MEAT_4_gmp): ... here.
58483         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58484         (_FP_WFRACBITS_DW_S): Likewise.
58485         (_FP_WFRACXBITS_DW_S): Likewise.
58486         (_FP_HIGHBIT_DW_S): Likewise.
58487         (FP_FMA_S): Likewise.
58488         (_FP_FRAC_HIGH_DW_S): Likewise.
58489         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58490         (_FP_WFRACBITS_DW_D): Likewise.
58491         (_FP_WFRACXBITS_DW_D): Likewise.
58492         (_FP_HIGHBIT_DW_D): Likewise.
58493         (FP_FMA_D): Likewise.
58494         (_FP_FRAC_HIGH_DW_D): Likewise.
58495         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58496         (_FP_WFRACBITS_DW_E): Likewise.
58497         (_FP_WFRACXBITS_DW_E): Likewise.
58498         (_FP_HIGHBIT_DW_E): Likewise.
58499         (FP_FMA_E): Likewise.
58500         (_FP_FRAC_HIGH_DW_E): Likewise.
58501         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58502         (_FP_WFRACBITS_DW_Q): Likewise.
58503         (_FP_WFRACXBITS_DW_Q): Likewise.
58504         (_FP_HIGHBIT_DW_Q): Likewise.
58505         (FP_FMA_Q): Likewise.
58506         (_FP_FRAC_HIGH_DW_Q): Likewise.
58507         * soft-fp/fmasf4.c: New file.
58508         * soft-fp/fmadf4.c: Likewise.
58509         * soft-fp/fmatf4.c: Likewise.
58511 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58514         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58515         Silvermont.
58516         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58517         macro.
58518         (index_Slow_SSE4_2): Likewise.
58519         (index_Prefer_PMINUB_for_stringop): Likewise.
58520         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58521         bit_Slow_SSE4_2 is set.
58522         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58523         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58525 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58527         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58528         rtld_global._dl_hwcap2.
58529         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58530         POWER8.
58531         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58532         POWER8 feature descriptions defined in _dl_hwcap2.
58533         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58534         string handling for POWER8 feature bits.
58535         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58536         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58537         _dl_powerpc_cap_flags.
58538         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58539         * sysdeps/powerpc/rtld-global-offsets.sym
58540         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58541         _dl_hwcap2 in the rtld_global_ro structure.
58543 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58545         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58546         hardware capabilities in support of AT_HWCAP2.
58547         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58548         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58549         GLRO(dl_hwcap2).
58550         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58551         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58552         explicitly the unknown a_type display mechanism is used.
58553         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58554         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58555         struct member.
58556         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58557         to macro prototype for AT_HWCAP2 support.
58558         * sysdeps/i386/dl-procinfo.h: Likewise.
58559         * sysdeps/s390/dl-procinfo.h: Likewise.
58560         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58561         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58562         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58563         return -1 for unknown a_type display fallback.
58564         * sysdeps/sparc/dl-procinfo.h: Likewise.
58565         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58566         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58568 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58570         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58571         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58573 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58575         [BZ #12492]
58576         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58577         mprotect making __stack_prot writable.
58579 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58580             Joseph Myers  <joseph@codesourcery.com>
58582         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58583         as being properly aligned.
58585 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58587         * dlfcn/modstatic5.c: New file.
58588         * dlfcn/tststatic5.c: New file.
58589         * dlfcn/Makefile (tests): Add tststatic5.
58590         (tests-static): Likewise.
58591         (modules-names): Add modstatic5.
58592         (tststatic5-ENV): New variable.
58593         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58595         [BZ #15022]
58596         * elf/dl-support.c (_dl_main_map): New variable.
58597         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58598         (_dl_nns, _dl_load_adds): Set to 1.
58599         (_dl_initial_searchlist): Refer to _dl_main_map.
58600         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58601         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58602         call to _dl_get_origin.
58603         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58604         around call_map.
58605         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58606         * dlfcn/modstatic3.c: New file.
58607         * dlfcn/tststatic3.c: New file.
58608         * dlfcn/tststatic4.c: New file.
58609         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58610         (tests-static): Likewise.
58611         (modules-names): Add modstatic3.
58612         (tststatic3-ENV, tststatic4-ENV): New variables.
58613         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58614         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58616 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58618         * configure.in (CC): Require GCC version 4.4 or later.
58619         * configure: Regenerated.
58620         * manual/install.texi (Tools for Compilation): Update GCC version
58621         requirement.
58622         * INSTALL: Regenerated.
58624 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58626         [BZ #15674]
58627         * string/test-memcmp.c (check2): New.
58628         (main): Call check2.
58630         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58632 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58634         [BZ #15022]
58635         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58636         over to...
58637         (dl_open_worker) [!SHARED]: ... here.
58639 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58641         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58643 2013-06-25  Richard Henderson  <rth@redhat.com>
58645         * locale/programs/locarchive.c: Include <libc-internal.h>
58647 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58649         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58650         trailing whitespace removed.
58652 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58654         [BZ #10283]
58655         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58656         * locale/programs/locarchive.c: Include libc-mmap.h.
58657         (prepare_address_space): Take two new outputs (the mmap base and len).
58658         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58659         values.
58660         (create_archive): Declare new mmap base and len values for
58661         prepare_address_space, and store the result in ah.
58662         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58663         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58664         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58665         Declare new mmap base and len values for
58666         prepare_address_space, and store the result in new_ah.
58667         (open_archive): Declare new mmap base and len values for
58668         prepare_address_space, and store the result in ah.
58669         (close_archive): If ah->mmap_base is not NULL, use that and
58670         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58671         * sysdeps/generic/libc-mmap.h: New file.
58673 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58675         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58676         (ALIGN_UP): Likewise.
58677         (PTR_ALIGN_DOWN): Likewise.
58678         (PTR_ALIGN_UP): Likewise.
58680 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58683         entry mapped to PPC_PLATFORM_POWER8.
58684         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58685         POWER8.
58686         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58687         (_dl_string_platform): Add case for exporting platform position for
58688         POWER8.
58689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58690         search path to sysdeps/powerpc/powerpc32/power8 directory.
58691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58692         search path to sysdeps/powerpc/powerpc64/power8 directory.
58693         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58694         power7 directories.
58695         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58696         power7 directories.
58698 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58700         * INSTALL: Regenerate.
58702         * nscd/connections.c (nscd_init): Fix comment.
58704 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58706         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58708         [BZ #15667]
58709         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58710         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58712 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58714         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58715         DL_DST_REQ_STATIC.
58716         (DL_DST_REQ_STATIC): Remove macro.
58718 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58720         [BZ #7006]
58721         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58722         with a shift of 0 bits.
58724 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58726         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58727         $(tststatic-ENV).
58729 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58731         [BZ #15655]
58732         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58734 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58736         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58737         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58738         accepts -fno-tree-loop-distribute-patterns.
58739         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58740         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58741         recursive call.
58742         * string/memset.c (memset): Likewise.
58743         * string/test-memmove.c (simple_memmove): Disable loop transformation
58744         to library calls.
58745         * string/test-memset.c (simple_memset): Likewise.
58746         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58747         * benchtests/bench-memset.c (simple_memset): Likewise.
58748         * configure: Regenerated.
58750 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58752         * math/test-misc.c (main): Ignore fesetround failure when failures
58753         of subsequent rounding tests would be ignored.
58755         [BZ #15654]
58756         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58757         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58758         * math/fegetenv.c (__fegetenv): Return 0.
58759         * math/fegetexcept.c (fegetexcept): Return 0.
58760         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58761         FE_TONEAREST.
58762         * math/feholdexcpt.c (feholdexcept): Return 0.
58763         * math/fesetenv.c (__fesetenv): Return 0.
58764         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58765         argument FE_TONEAREST.
58766         * math/feupdateenv.c (__feupdateenv): Return 0.
58767         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58769 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58771         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58772         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58773         ($(objpfx)rtld-%.os rules): Use them.
58775 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58777         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58778         fields.
58780 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58782         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58783         length of target pattern, then descending length of dependency pattern.
58784         * configure.in (AWK): Require gawk 3.1.2 or newer.
58785         * manual/install.texi (Tools for Compilation): Say that we do.
58786         * configure: Regenerated.
58788         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58789         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58790         * scripts/sysd-rules.awk: ... this new script.
58791         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58792         than a glob-style pattern.
58794 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58796         * math/test-misc.c (main): Do not treat incorrectly rounded
58797         conversions as failure unless ROUNDING_TESTS passes.
58799 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58801         [BZ #15631]
58802         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58803         restore exception state around main square root computation, then
58804         check for inexactness explicitly.
58806         * math/libm-test.inc (fma_test_data): Add another test.
58808 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58810         * manual/threads.texi (Non-POSIX Extensions): New document
58811         node.  Document pthread_getattr_default_np and
58812         pthread_setattr_default_np.
58814         * Versions.def (libpthread): Add GLIBC_2.18.
58815         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58817         Likewise.
58818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58819         Likewise.
58820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58821         Likewise.
58822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58823         Likewise.
58824         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58825         Likewise.
58826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58827         Likewise.
58828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58829         Likewise.
58830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58831         Likewise.
58832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58833         Likewise.
58835 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58838         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58840 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58841             H.J. Lu  <hjl.tools@gmail.com>
58843         [BZ #15627]
58844         * sysdeps/x86_64/rtld-memset.c: Remove file.
58845         * sysdeps/x86_64/rtld-memset.S: New file.
58847 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58849         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58850         (test_in_one_mode): Take arguments for whether the rounding mode
58851         is supported for each floating-point type.
58852         (do_test): Pass new arguments to test_in_one_mode using
58853         ROUNDING_TESTS.
58855 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58857         * posix/tst-waitid.c (do_test): Distinguish different instances of
58858         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58859         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58860         before entering the kernel for waitpid.
58862 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58864         * NEWS: Fix note on clock function precision.  Text by Roland
58865         McGrath.
58867 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58869         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58870         it into place only when and if the sanity check passes.
58872 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58874         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58875         output for whether conversion result is exact.  Take argument
58876         indicating whether type is IBM long double.
58877         (round_for_all): Change need_exact field to ibm_ld.
58878         * stdlib/tst-strtod-round.c (struct exactness): New type.
58879         (struct test): Change bool ld_ok field to struct exactness exact.
58880         (TEST): Update all definitions for change to field.
58881         (tests): Regenerate array contents.
58882         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58883         field value.  Check for IBM long double here.
58884         (do_test): Update calls to test_in_one_mode.
58886 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58888         [BZ #12515]
58889         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58890         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58892 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58894         [BZ #15605]
58895         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58896         generated by the compiler on loop optimizations.
58897         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58898         general definitions.
58900 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58902         * math/bug-nextafter.c: Include <math-tests.h>.
58903         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58904         the relevant type.
58905         * math/bug-nexttoward.c: Include <math-tests.h>.
58906         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58907         the relevant type.
58908         * math/test-misc.c: Include <math-tests.h>.
58909         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58910         the relevant type.
58912 2013-06-12  Andreas Jaeger  <aj@suse.de>
58914         * po/ia.po: Update Interlingua translation from translation
58915         project.
58917 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58919         * include/fenv.h: Include stdbool.h.
58920         (struct rm_ctx): New structure.
58921         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58922         Define macro.
58923         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58924         (SET_RESTORE_ROUNDF): Likewise.
58925         (SET_RESTORE_ROUNDL): Likewise.
58926         (SET_RESTORE_ROUND_NOEX): Likewise.
58927         (SET_RESTORE_ROUND_NOEXF): Likewise.
58928         (SET_RESTORE_ROUND_NOEXL): Likewise.
58929         (SET_RESTORE_ROUND_53BIT): Likewise.
58930         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58931         (libc_feresetround_noexf_ctx): Likewise.
58932         (libc_feresetround_noexl_ctx): Likewise.
58933         (libc_feholdsetround_53bit_ctx): Likewise.
58934         (libc_feresetround_53bit_ctx): Likewise.
58935         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58936         (libc_feholdexcept_setround_sse_ctx): New function.
58937         (libc_fesetenv_sse_ctx): Likewise.
58938         (libc_feupdateenv_sse_ctx): Likewise.
58939         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58940         (libc_feholdexcept_setround_387_ctx): Likewise.
58941         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58942         (libc_feholdsetround_387_prec_ctx): Likewise.
58943         (libc_feholdsetround_387_ctx): Likewise.
58944         (libc_feholdsetround_387_53bit_ctx): Likewise.
58945         (libc_feholdsetround_sse_ctx): Likewise.
58946         (libc_feresetround_sse_ctx): Likewise.
58947         (libc_feresetround_387_ctx): Likewise.
58948         (libc_feupdateenv_387_ctx): Likewise.
58949         (libc_feholdexcept_setroundf_ctx): Define macro.
58950         (libc_fesetenvf_ctx): Likewise.
58951         (libc_feupdateenvf_ctx): Likewise.
58952         (libc_feholdsetroundf_ctx): Likewise.
58953         (libc_feresetroundf_ctx): Likewise.
58954         (libc_feholdexcept_setround_ctx): Likewise.
58955         (libc_fesetenv_ctx): Likewise.
58956         (libc_feupdateenv_ctx): Likewise.
58957         (libc_feholdsetround_ctx): Likewise.
58958         (libc_feresetround_ctx): Likewise.
58959         (libc_feholdexcept_setroundl_ctx): Likewise.
58960         (libc_feupdateenvl_ctx): Likewise.
58961         (libc_feholdsetroundl_ctx): Likewise.
58962         (libc_feresetroundl_ctx): Likewise.
58963         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58964         (libc_feresetround_53bit_ctx): Likewise.
58966 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58968         * locale/iso-639.def: Convert to UTF-8.
58970 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58972         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58973         (EXCEPTION_TESTS_double): Likewise.
58974         (EXCEPTION_TESTS_long_double): Likewise.
58975         (EXCEPTION_TESTS): Likewise.
58976         * math/libm-test.inc (test_exceptions): Only test exceptions if
58977         EXCEPTION_TESTS (FLOAT).
58979 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58981         * benchtests/Makefile (string-bench): Add strcpy_chk and
58982         stpcpy_chk.
58983         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58984         * benchtests/bench-stpcpy_chk.c: New file.
58985         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58986         * benchtests/bench-strcpy_chk.c: New file.
58987         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58988         code.
58989         (do_test): Likewise.
58991 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58993         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58994         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58995         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58996         with tabs where appropriate.
58997         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58998         dl-procinfo.h.
58999         [PPC_PLATFORM_PPC440]: Likewise.
59000         [PPC_PLATFORM_PPC464]: Likewise.
59001         [PPC_PLATFORM_PPC476]: Likewise.
59002         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59003         ppc464, and ppc476 platform strings merging from ports/
59004         dl-procinfo.h.
59006 2013-06-11  Andreas Schwab  <schwab@suse.de>
59008         [BZ #14991]
59009         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59010         (from_ucs4_idx): Regenerate.
59011         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59012         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59013         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59014         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59015         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59016         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59017         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59018         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59019         from FROM_LOOP and TO_LOOP specific macros.
59020         (BODY): Handle combining characters.
59021         * iconvdata/BIG5HKSCS.irreversible: Update.
59022         * iconvdata/BIG5HKSCS.precomposed: New file.
59023         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59024         characters.
59025         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59027 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59029         * include/sys/time.h: Fix indentation and add copyright header.
59031         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59032         (do_test): Likewise.
59033         * string/test-memchr.c (do_one_test): Likewise.
59034         (do_test): Likewise.
59035         * string/test-memcmp.c (do_one_test): Likewise.
59036         (do_test): Likewise.
59037         * string/test-memcpy.c (do_one_test): Likewise.
59038         (do_test): Likewise.
59039         * string/test-memmem.c (do_one_test): Likewise.
59040         (do_test): Likewise.
59041         (do_random_tests): Likewise.
59042         * string/test-memmove.c (do_one_test): Likewise.
59043         (do_test): Likewise.
59044         * string/test-memset.c (do_one_test): Likewise.
59045         (do_test): Likewise.
59046         * string/test-rawmemchr.c (do_one_test): Likewise.
59047         (do_test): Likewise.
59048         * string/test-strcasecmp.c (do_one_test): Likewise.
59049         (do_test): Likewise.
59050         * string/test-strcasestr.c (do_one_test): Likewise.
59051         (do_test): Likewise.
59052         * string/test-strcat.c (do_one_test): Likewise.
59053         (do_test): Likewise.
59054         * string/test-strchr.c (do_one_test): Likewise.
59055         (do_test): Likewise.
59056         * string/test-strcmp.c (do_one_test): Likewise.
59057         (do_test): Likewise.
59058         * string/test-strcpy.c (do_one_test): Likewise.
59059         (do_test): Likewise.
59060         * string/test-string.h: Likewise.
59061         (test_init): Likewise.
59062         * string/test-strlen.c (do_one_test): Likewise.
59063         (do_test): Likewise.
59064         * string/test-strncasecmp.c (do_one_test): Likewise.
59065         (do_test): Likewise.
59066         * string/test-strncat.c (do_one_test): Likewise.
59067         (do_test): Likewise.
59068         * string/test-strncmp.c (do_one_test): Likewise.
59069         (do_test_limit): Likewise.
59070         (do_test): Likewise.
59071         * string/test-strncpy.c (do_one_test): Likewise.
59072         (do_test): Likewise.
59073         * string/test-strnlen.c (do_one_test): Likewise.
59074         (do_test): Likewise.
59075         * string/test-strpbrk.c (do_one_test): Likewise.
59076         (do_test): Likewise.
59077         * string/test-strrchr.c (do_one_test): Likewise.
59078         (do_test): Likewise.
59079         * string/test-strspn.c (do_one_test): Likewise.
59080         (do_test): Likewise.
59081         * string/test-strstr.c (do_one_test): Likewise.
59082         (do_test): Likewise.
59084         * benchtests/Makefile (string-bench): Add string benchmarks.
59085         * benchtests/bench-bcopy-ifunc.c: New file.
59086         * benchtests/bench-bcopy.c: New file.
59087         * benchtests/bench-bzero-ifunc.c: New file.
59088         * benchtests/bench-bzero.c: New file.
59089         * benchtests/bench-memccpy-ifunc.c: New file.
59090         * benchtests/bench-memccpy.c: New file.
59091         * benchtests/bench-memchr-ifunc.c: New file.
59092         * benchtests/bench-memchr.c: New file.
59093         * benchtests/bench-memcmp-ifunc.c: New file.
59094         * benchtests/bench-memcmp.c: New file.
59095         * benchtests/bench-memmem-ifunc.c: New file.
59096         * benchtests/bench-memmem.c: New file.
59097         * benchtests/bench-memmove-ifunc.c: New file.
59098         * benchtests/bench-memmove.c: New file.
59099         * benchtests/bench-mempcpy-ifunc.c: New file.
59100         * benchtests/bench-mempcpy.c: New file.
59101         * benchtests/bench-memset-ifunc.c: New file.
59102         * benchtests/bench-memset.c: New file.
59103         * benchtests/bench-rawmemchr-ifunc.c: New file.
59104         * benchtests/bench-rawmemchr.c: New file.
59105         * benchtests/bench-stpcpy-ifunc.c: New file.
59106         * benchtests/bench-stpcpy.c: New file.
59107         * benchtests/bench-stpncpy-ifunc.c: New file.
59108         * benchtests/bench-stpncpy.c: New file.
59109         * benchtests/bench-strcasecmp-ifunc.c: New file.
59110         * benchtests/bench-strcasecmp.c: New file.
59111         * benchtests/bench-strcasestr-ifunc.c: New file.
59112         * benchtests/bench-strcasestr.c: New file.
59113         * benchtests/bench-strcat-ifunc.c: New file.
59114         * benchtests/bench-strcat.c: New file.
59115         * benchtests/bench-strchr-ifunc.c: New file.
59116         * benchtests/bench-strchr.c: New file.
59117         * benchtests/bench-strchrnul-ifunc.c: New file.
59118         * benchtests/bench-strchrnul.c: New file.
59119         * benchtests/bench-strcmp-ifunc.c: New file.
59120         * benchtests/bench-strcmp.c: New file.
59121         * benchtests/bench-strcpy-ifunc.c: New file.
59122         * benchtests/bench-strcpy.c: New file.
59123         * benchtests/bench-strcspn-ifunc.c: New file.
59124         * benchtests/bench-strcspn.c: New file.
59125         * benchtests/bench-strlen-ifunc.c: New file.
59126         * benchtests/bench-strlen.c: New file.
59127         * benchtests/bench-strncasecmp-ifunc.c: New file.
59128         * benchtests/bench-strncasecmp.c: New file.
59129         * benchtests/bench-strncat-ifunc.c: New file.
59130         * benchtests/bench-strncat.c: New file.
59131         * benchtests/bench-strncmp-ifunc.c: New file.
59132         * benchtests/bench-strncmp.c: New file.
59133         * benchtests/bench-strncpy-ifunc.c: New file.
59134         * benchtests/bench-strncpy.c: New file.
59135         * benchtests/bench-strnlen-ifunc.c: New file.
59136         * benchtests/bench-strnlen.c: New file.
59137         * benchtests/bench-strpbrk-ifunc.c: New file.
59138         * benchtests/bench-strpbrk.c: New file.
59139         * benchtests/bench-strrchr-ifunc.c: New file.
59140         * benchtests/bench-strrchr.c: New file.
59141         * benchtests/bench-strspn-ifunc.c: New file.
59142         * benchtests/bench-strspn.c: New file.
59143         * benchtests/bench-strstr-ifunc.c: New file.
59144         * benchtests/bench-strstr.c: New file.
59146         * benchtests/Makefile: Disable parallel execution of targets.
59147         (string-bench): Add memcpy.
59148         (benchset): New variable to store a list of benchmark sets.
59149         (bench-func): Renamed from bench.
59150         (bench-set): New target.
59151         (bench): Depend on bench-func and bench-set.
59152         * benchtests/README: Add section on benchmark sets.
59153         * benchtests/bench-memcpy-ifunc.c: New file.
59154         * benchtests/bench-memcpy.c: New file.
59155         * benchtests/bench-string.h: New file.
59157 2013-06-11  Andreas Schwab  <schwab@suse.de>
59159         [BZ #15577]
59160         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59161         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59162         values in the triple.
59163         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59164         terminator in the group key.
59166 2013-06-11  Andreas Jaeger  <aj@suse.de>
59168         * po/zh_TW.po: Update Chinese (traditional) translation from
59169         translation project.
59171 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59173         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59174         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59175         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59176         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59177         (clock_getcpuclockid): Likewise.
59178         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59179         Add weak_alias and libc_hidden_def.
59180         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59181         * rt/clock_gettime.c (clock_gettime): Rename to
59182         __clock_gettime.  Add weak_alias and libc_hidden_def.
59183         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59184         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59185         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59186         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59187         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59188         Likewise.
59189         * rt/clock_settime.c (clock_settime): Rename to
59190         __clock_settime.  Add weak_alias and libc_hidden_def.
59191         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59193 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59195         * mach/err_boot.sub: Remove trailing whitespace.
59196         * mach/err_ipc.sub: Likewise.
59197         * mach/err_mach.sub: Likewise.
59199         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59200         (ROUNDING_TESTS_double): Likewise.
59201         (ROUNDING_TESTS_long_double): Likewise.
59202         (ROUNDING_TESTS): Likewise.
59203         * math/libm-test.inc: Include <math-tests.h>.
59204         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59205         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59206         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59207         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59209 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59211         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59212         of assigning.
59214 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59216         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59217         otherwise empty TRANS lines.
59218         * sysdeps/gnu/errlist.c: Regenerated.
59220         * catgets/gencat.c (error_print): Use (void) in function
59221         definition.
59222         * crypt/crypt_util.c (__init_des): Likewise.
59223         * crypt/speeds.c (Stop): Likewise.
59224         (main): Likewise.
59225         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59226         * inet/ruserpass.c (token): Likewise.
59227         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59228         * intl/localealias.c (extend_alias_table): Likewise.
59229         * intl/plural-exp.c (init_germanic_plural): Likewise.
59230         * libio/fcloseall.c (__fcloseall): Likewise.
59231         * libio/genops.c (_IO_flush_all): Likewise.
59232         (_IO_flush_all_linebuffered): Likewise.
59233         (_IO_cleanup): Likewise.
59234         (_IO_iter_begin): Likewise.
59235         (_IO_iter_end): Likewise.
59236         (_IO_list_lock): Likewise.
59237         (_IO_list_unlock): Likewise.
59238         (_IO_list_resetlock): Likewise.
59239         * libio/getchar.c (getchar): Likewise.
59240         * libio/getchar_u.c (getchar_unlocked): Likewise.
59241         * libio/getwchar.c (getwchar): Likewise.
59242         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59243         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59244         * login/getpt.c (__getpt): Likewise.
59245         * login/tst-utmp.c (main): Likewise.
59246         * malloc/hooks.c (__malloc_check_init): Likewise.
59247         * malloc/malloc.c (__malloc_stats): Likewise.
59248         * malloc/mtrace.c (tr_break): Likewise.
59249         (mtrace): Likewise.
59250         (muntrace): Likewise.
59251         * misc/fstab.c (endfsent): Likewise.
59252         * misc/getclktck.c (__getclktck): Likewise.
59253         * misc/getdtsz.c (__getdtablesize): Likewise.
59254         * misc/gethostid.c (gethostid): Likewise.
59255         * misc/getpagesize.c (__getpagesize): Likewise.
59256         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59257         (__get_nprocs): Likewise.
59258         (__get_phys_pages): Likewise.
59259         (__get_avphys_pages): Likewise.
59260         * misc/getttyent.c (getttyent): Likewise.
59261         (setttyent): Likewise.
59262         (endttyent): Likewise.
59263         * misc/getusershell.c (getusershell): Likewise.
59264         (endusershell): Likewise.
59265         (setusershell): Likewise.
59266         (initshells): Likewise.
59267         * misc/hsearch.c (__hdestroy): Likewise.
59268         * misc/sync.c (sync): Likewise.
59269         * misc/syslog.c (closelog_internal): Likewise.
59270         (closelog): Likewise.
59271         * misc/ttyslot.c (ttyslot): Likewise.
59272         * misc/vhangup.c (vhangup): Likewise.
59273         * posix/fork.c (__fork): Likewise.
59274         * posix/getegid.c (__getegid): Likewise.
59275         * posix/geteuid.c (__geteuid): Likewise.
59276         * posix/getgid.c (__getgid): Likewise.
59277         * posix/getpid.c (__getpid): Likewise.
59278         * posix/getppid.c (__getppid): Likewise.
59279         * posix/getuid.c (__getuid): Likewise.
59280         * posix/pause.c (pause): Likewise.
59281         * posix/setpgrp.c (setpgrp): Likewise.
59282         * posix/setsid.c (__setsid): Likewise.
59283         * posix/test-vfork.c (noop): Likewise.
59284         * resolv/gethnamaddr.c (_endhtent): Likewise.
59285         (_gethtent): Likewise.
59286         (ht_endhostent): Likewise.
59287         (gethostent): Likewise.
59288         (dns_service): Likewise.
59289         * stdlib/drand48.c (drand48): Likewise.
59290         * stdlib/lrand48.c (lrand48): Likewise.
59291         * stdlib/mrand48.c (mrand48): Likewise.
59292         * stdlib/rand.c (rand): Likewise.
59293         * stdlib/random.c (__random): Likewise.
59294         * stdlib/setenv.c (clearenv): Likewise.
59295         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59296         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59297         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59298         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59299         (__get_nprocs): Likewise.
59300         (__get_phys_pages): Likewise.
59301         (__get_avphys_pages): Likewise.
59302         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59303         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59304         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59305         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59306         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59307         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59308         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59309         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59310         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59311         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59312         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59313         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59314         * sysdeps/posix/clock.c (clock): Likewise.
59315         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59316         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59317         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59318         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59319         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59320         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59321         (__get_nprocs_conf): Likewise.
59322         (__get_phys_pages): Likewise.
59323         (__get_avphys_pages): Likewise.
59324         * time/clock.c (clock): Likewise.
59325         * time/tzset.c (__tzname_max): Likewise.
59327 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59329         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59330         (__bswap_32): Do not use "register".
59331         * crypt/crypt.c (_ufc_doit_r): Likewise.
59332         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59333         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59334         * gmon/gmon.c (__monstartup): Likewise.
59335         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59336         * hurd/hurdmalloc.c (more_memory): Likewise.
59337         (malloc): Likewise.
59338         (free): Likewise.
59339         (realloc): Likewise.
59340         (malloc_fork_prepare): Likewise.
59341         (malloc_fork_parent): Likewise.
59342         (malloc_fork_child): Likewise.
59343         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59344         (_svcauth_des): Likewise.
59345         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59346         * inet/inet_net.c (inet_network): Likewise.
59347         * inet/inet_netof.c (inet_netof): Likewise.
59348         * inet/rcmd.c (__validuser2_sa): Likewise.
59349         * io/fts.c (fts_open): Likewise.
59350         (fts_load): Likewise.
59351         (fts_close): Likewise.
59352         (fts_read): Likewise.
59353         (fts_children): Likewise.
59354         (fts_build): Likewise.
59355         (fts_stat): Likewise.
59356         (fts_sort): Likewise.
59357         (fts_alloc): Likewise.
59358         (fts_lfree): Likewise.
59359         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59360         (_IO_file_xsgetn): Likewise.
59361         (_IO_file_xsgetn_mmap): Likewise.
59362         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59363         (_IO_cookie_write): Likewise.
59364         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59365         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59366         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59367         * malloc/obstack.c (_obstack_begin): Likewise.
59368         (_obstack_begin_1): Likewise.
59369         (_obstack_newchunk): Likewise.
59370         (_obstack_allocated_p): Likewise.
59371         (obstack_free): Likewise.
59372         (_obstack_memory_used): Likewise.
59373         * misc/getttyent.c (getttynam): Likewise.
59374         (getttyent): Likewise.
59375         (skip): Likewise.
59376         (value): Likewise.
59377         * misc/getusershell.c (initshells): Likewise.
59378         * misc/syslog.c (__vsyslog_chk): Likewise.
59379         * misc/ttyslot.c (ttyslot): Likewise.
59380         * nis/nis_hash.c (__nis_hash): Likewise.
59381         * posix/fnmatch_loop.c (FCT): Likewise.
59382         * posix/getconf.c (print_all): Likewise.
59383         (main): Likewise.
59384         * posix/getopt.c (exchange): Likewise.
59385         * posix/glob.c (globfree): Likewise.
59386         (prefix_array): Likewise.
59387         (__glob_pattern_type): Likewise.
59388         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59389         (NS_GET32): Likewise.
59390         (NS_PUT16): Likewise.
59391         (NS_PUT32): Likewise.
59392         * resolv/gethnamaddr.c (getanswer): Likewise.
59393         (gethostbyname2): Likewise.
59394         (gethostbyaddr): Likewise.
59395         (_gethtent): Likewise.
59396         (_gethtbyname2): Likewise.
59397         (_gethtbyaddr): Likewise.
59398         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59399         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59400         * resolv/res_init.c (__res_vinit): Likewise.
59401         (net_mask): Likewise.
59402         * resolv/res_mkquery.c (outchar): Likewise.
59403         (PRINT): Likewise.
59404         * stdio-common/printf_fp.c (outchar): Likewise.
59405         (PRINT): Likewise.
59406         * stdio-common/printf_fphex.c (outchar): Likewise.
59407         (PRINT): Likewise.
59408         * stdio-common/printf_size.c (outchar): Likewise.
59409         (PRINT): Likewise.
59410         * stdio-common/test_rdwr.c (main): Likewise.
59411         * stdio-common/tfformat.c (matches): Likewise.
59412         * stdio-common/vfprintf.c (outchar): Likewise.
59413         (printf_unknown): Likewise.
59414         (buffered_vfprintf): Likewise.
59415         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59416         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59417         (ReadFile): Likewise.
59418         * stdlib/qsort.c (SWAP): Likewise.
59419         (_quicksort): Likewise.
59420         * stdlib/setenv.c (__add_to_environ): Likewise.
59421         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59422         * stdlib/strtol_l.c (__strtol_l): Likewise.
59423         * stdlib/tst-strtod.c (main): Likewise.
59424         * stdlib/tst-strtol.c (main): Likewise.
59425         * stdlib/tst-strtoll.c (main): Likewise.
59426         * string/bits/string2.h (__strcmp_cc): Likewise.
59427         (__strcmp_cg): Likewise.
59428         (__strcspn_c1): Likewise.
59429         (__strcspn_c2): Likewise.
59430         (__strcspn_c3): Likewise.
59431         (__strspn_c1): Likewise.
59432         (__strspn_c2): Likewise.
59433         (__strspn_c3): Likewise.
59434         (__strsep_1c): Likewise.
59435         (__strsep_2c): Likewise.
59436         (__strsep_3c): Likewise.
59437         * string/memccpy.c (__memccpy): Likewise.
59438         * string/stpcpy.c (__stpcpy): Likewise.
59439         * string/strcmp.c (strcmp): Likewise.
59440         * string/strrchr.c (strrchr): Likewise.
59441         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59442         Likewise.
59443         * sysdeps/mach/hurd/getcwd.c
59444         (_hurd_canonicalize_directory_name_internal): Likewise.
59445         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59446         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59447         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59448         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59449         Likewise, in both definitions.
59450         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59451         definitions.
59452         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59453         64] (__bswap_64): Likewise.
59454         * time/test_time.c (main): Likewise.
59455         * time/tzfile.c (__tzfile_read): Likewise.
59456         (__tzfile_compute): Likewise.
59457         * time/tzset.c (__tzset_parse_tz): Likewise.
59458         (tzset_internal): Likewise.
59459         (compute_change): Likewise.
59460         * wcsmbs/wcscat.c (__wcscat): Likewise.
59461         * wcsmbs/wcschr.c (wcschr): Likewise.
59462         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59463         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59464         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59465         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59466         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59467         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59468         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59469         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59470         * wcsmbs/wmemset.c (wmemset): Likewise.
59472 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59474         * scripts/config.guess: Update to version 2013-05-16.
59475         * scripts/config.sub: Update to version 2013-04-24.
59476         * scripts/install-sh: Update to version 2011-11-20.07.
59477         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59478         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59480 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59482         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59483         * elf/sln.c: Likewise.
59484         * hurd/hurd/ioctl.h: Likewise.
59485         * hurd/hurdmalloc.c: Likewise.
59486         * hurd/xattr.c: Likewise.
59487         * include/shlib-compat.h: Likewise.
59488         * inet/ruserpass.c: Likewise.
59489         * libio/iofgets_u.c: Likewise.
59490         * libio/iofgetws_u.c: Likewise.
59491         * locale/programs/ld-identification.c: Likewise.
59492         * locale/programs/ld-time.c: Likewise.
59493         * mach/msg-destroy.c: Likewise.
59494         * nss/nss_files/files-netgrp.c: Likewise.
59495         * resolv/res_data.c: Likewise.
59496         * soft-fp/op-1.h: Likewise.
59497         * soft-fp/op-2.h: Likewise.
59498         * soft-fp/op-4.h: Likewise.
59499         * soft-fp/op-common.h: Likewise.
59500         * stdio-common/printf_fphex.c: Likewise.
59501         * stdlib/strtod_l.c: Likewise.
59502         * sunrpc/rpc/clnt.h: Likewise.
59503         * sysdeps/generic/framestate.c: Likewise.
59504         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59505         * sysdeps/i386/bsd-setjmp.S: Likewise.
59506         * sysdeps/i386/__longjmp.S: Likewise.
59507         * sysdeps/i386/setjmp.S: Likewise.
59508         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59509         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59510         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59511         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59512         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59513         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59514         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59515         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59516         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59517         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59518         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59519         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59520         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59521         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59522         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59523         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59524         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59525         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59526         * sysdeps/ieee754/support.c: Likewise.
59527         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59528         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59529         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59530         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59531         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59532         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59533         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59534         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59535         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59536         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59537         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59538         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59539         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59540         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59541         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59542         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59543         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59546 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59548         * posix/transbug.c: Remove executable mode.
59550 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59552         * crypt/speeds.c: Remove trailing whitespace.
59553         * dlfcn/default.c: Likewise.
59554         * elf/ifuncdep2.c: Likewise.
59555         * elf/ifuncmain1.c: Likewise.
59556         * elf/ifuncmain1vis.c: Likewise.
59557         * elf/testobj.h: Likewise.
59558         * elf/tst-stackguard1.c: Likewise.
59559         * gmon/sys/gmon.h: Likewise.
59560         * hurd/hurdmsg.c: Likewise.
59561         * hurd/new-fd.c: Likewise.
59562         * hurd/ports-get.c: Likewise.
59563         * iconvdata/ibm1008_420.c: Likewise.
59564         * inet/tst-getni1.c: Likewise.
59565         * inet/tst-getni2.c: Likewise.
59566         * libio/ioungetc.c: Likewise.
59567         * libio/wfiledoalloc.c: Likewise.
59568         * manual/libm-err-tab.pl: Likewise.
59569         * math/w_dremf.c: Likewise.
59570         * misc/ftruncate.c: Likewise.
59571         * posix/bug-glob2.c: Likewise.
59572         * posix/tst-pcre.c: Likewise.
59573         * posix/wait4.c: Likewise.
59574         * resolv/README: Likewise.
59575         * resolv/res_debug.h: Likewise.
59576         * resolv/tst-inet_ntop.c: Likewise.
59577         * setjmp/bug269-setjmp.c: Likewise.
59578         * soft-fp/extended.h: Likewise.
59579         * soft-fp/op-1.h: Likewise.
59580         * soft-fp/op-2.h: Likewise.
59581         * soft-fp/op-4.h: Likewise.
59582         * soft-fp/op-8.h: Likewise.
59583         * soft-fp/testit.c: Likewise.
59584         * stdio-common/bug16.c: Likewise.
59585         * stdlib/random.c: Likewise.
59586         * sunrpc/rpcsvc/rquota.x: Likewise.
59587         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59588         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59590         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59591         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59592         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59593         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59594         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59595         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59596         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59597         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59598         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59599         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59600         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59601         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59602         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59603         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59604         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59605         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59606         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59607         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59608         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59609         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59610         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59611         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59612         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59613         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59614         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59615         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59616         * sysdeps/ieee754/s_lib_version.c: Likewise.
59617         * sysdeps/mach/hurd/check_fds.c: Likewise.
59618         * sysdeps/mach/hurd/getsockname.c: Likewise.
59619         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59620         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59621         * sysdeps/powerpc/bits/link.h: Likewise.
59622         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59623         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59624         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59625         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59626         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59627         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59628         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59629         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59630         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59631         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59632         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59633         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59634         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59635         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59636         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59637         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59638         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59639         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59640         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59641         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59642         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59643         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59644         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59645         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59646         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59647         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59648         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59649         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59651         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59652         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59653         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59654         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59655         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59656         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59657         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59658         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59659         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59660         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59661         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59662         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59663         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59664         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59665         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59666         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59667         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59668         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59669         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59670         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59671         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59672         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59673         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59674         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59675         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59676         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59677         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59678         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59679         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59680         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59681         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59682         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59683         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59684         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59685         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59686         * sysdeps/powerpc/sysdep.h: Likewise.
59687         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59688         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59689         * sysdeps/sh/dl-trampoline.S: Likewise.
59690         * sysdeps/sh/memset.S: Likewise.
59691         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59692         * sysdeps/sh/strlen.S: Likewise.
59693         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59694         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59695         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59696         * sysdeps/sparc/sparc32/rem.S: Likewise.
59697         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59698         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59699         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59700         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59701         * sysdeps/sparc/sparc32/urem.S: Likewise.
59702         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59703         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59704         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59705         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59706         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59707         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59708         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59709         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59710         * sysdeps/unix/bsd/times.c: Likewise.
59711         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59712         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59716         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59717         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59718         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59719         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59720         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59723         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59724         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59725         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59726         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59727         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59728         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59729         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59730         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59731         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59732         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59733         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59734         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59735         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59736         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59737         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59738         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59739         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59740         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59741         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59742         * sysdeps/x86_64/strcspn.S: Likewise.
59744 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59746         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59747         generated file.  Regenerate properly from gen-translit.pl.
59748         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59749         locale/C-translit.h.
59751 2013-06-05  Andreas Schwab  <schwab@suse.de>
59753         [BZ #15100]
59754         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59755         week as 6 instead of -1.
59756         * time/tst-strptime.c (day_tests): Add test case.
59758 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59760         * sysdeps/generic/math_private.h
59761         (libc_feholdexcept_setround_53bit): Replace with
59762         libc_feholdsetround_53bit.
59763         (libc_feupdateenv_53bit): Replace with
59764         libc_feresetround_53bit.
59765         (SET_RESTORE_ROUND_53BIT): Adjust.
59767 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59769         * string/test-strchrnul.c: Add copyright header.
59771         * posix/tst-getaddrinfo4.c: Increase test timeout.
59773 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59775         [BZ #15536]
59776         * math/libm-test.inc (MAX_EXP): Remove
59777         (MIN_EXP): Define.
59778         (ulp): Use MIN_EXP - MANT_DIG.
59779         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59781 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59783         * po/be.po: Revert last change.
59784         * po/zh_CN.po: Likewise.
59785         * po/header.pot: Likewise.
59787 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59789         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59790         link-libc-deps to empty as target-specific variable.
59791         * Makerules (link-libc-args): New variable.
59792         (libc-for-link): Likewise.
59793         (link-libc-deps): Likewise.
59794         (lib%.so): Depend on $(link-libc-deps).  Link with
59795         $(link-libc-args).
59796         (build-module): Link with $(link-libc-args).
59797         (build-module-asneeded): Likewise.
59798         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59799         list of objects.
59800         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59801         target-specific variable.
59802         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59803         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59804         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59805         libc.
59806         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59807         libc and ld.so.
59808         ($(objpfx)libpcprofile.so): Likewise.
59809         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59810         libc_nonshared.a.
59811         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59812         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59813         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59814         $(link-libc-deps).
59815         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59816         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59817         * login/Makefile ($(objpfx)libutil.so): Likewise.
59818         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59819         * math/Makefile ($(objpfx)libm.so): Likewise.
59820         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59821         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59822         variable instead of depending directly on libc.
59823         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59824         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59825         $(link-libc-deps).
59826         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59827         libc.
59828         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59829         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59830         ($(objpfx)libanl.so): Likewise.
59831         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59832         ld.so.
59833         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59834         $(link-libc-deps).
59835         * sysdeps/i386/fpu/Makefile: Remove file.
59836         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59837         ($(objpfx)libm.so): Remove dependency on ld.so.
59839 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59841         [BZ # 15553]
59842         * nis/yp_xdr.c (XDRMAXNAME): Define.
59843         (XDRMAXRECORD): Define.
59844         (xdr_domainname): Use XDRMAXNAME.
59845         (xdr_mapname): Likewise.
59846         (xdr_peername): Likewise.
59847         (xdr_keydat): Use XDRMAXRECORD.
59848         (xdr_valdat): Likewise.
59850 2013-05-30  Jeff Law  <law@redhat.com>
59852         [BZ #14256]
59853         * manual/errno.texi (ESTALE): Update to account for more than
59854         just NFS file systems.
59855         * sysdeps/gnu/errlist.c: Regenerated.
59857 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59859         [BZ #15465]
59860         * elf/Makefile (tests): Add tst-null-argv.
59861         (modules-names):  Add tst-null-argv-lib.
59862         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59863         (tst-null-argv-ENV): Set environment for tst-null-argv.
59864         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59865         (RTLD_PROGNAME): New macro.
59866         * elf/tst-null-argv.c: New test case.
59867         * elf/tst-null-argv-lib.c: Library for test case.
59868         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59869         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59870         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59871         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59872         * elf/dl-init.c (call_init): Likewise.
59873         (_dl_init): Likewise.
59874         * elf/dl-load.c (print_search_path): Likewise.
59875         (_dl_map_object): Likewise.
59876         * elf/dl-lookup.c (do_lookup_x): Likewise.
59877         (add_dependency): Likewise.
59878         (_dl_lookup_symbol_x): Likewise.
59879         (_dl_debug_bindings): Likewise.
59880         * elf/dl-open.c (_dl_show_scope): Likewise.
59881         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59882         * elf/dl-version.c (match_symbol): Likewise.
59883         (_dl_check_map_versions): Likewise.
59884         * elf/rtld.c (dl_main): Likewise.
59885         (print_unresolved): Use RTLD_PROGNAME.
59886         (print_missing_version): Likewise.
59887         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59888         (elf_machine_rela): Likewise.
59889         * sysdeps/powerpc/powerpc32/dl-machine.c
59890         (__process_machine_rela): Likewise.
59891         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59892         Likewise.
59893         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59894         Likewise.
59895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59896         Likewise.
59897         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59898         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59899         Likewise.
59900         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59901         Likewise.
59902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59904 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59906         * po/be.po: Add descriptive title.
59907         * po/zh_CN.po: Likewise.
59908         * po/header.pot: Likewise.
59910 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59912         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59913         error message.
59914         (enlarge_archive): Likewise.
59916 2013-05-28  Ben North  <ben@redfrontdoor.org>
59918         * manual/arith.texi (frexp): It is the magnitude of the return
59919         value which lies in [0.5, 1), not the return value itself.
59921 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59925 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59927         * stdio-common/bug26.c (main): Correct fscanf template.
59929         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59930         declare _dl_skip_args.
59932         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59933         Don't declare.
59935         * manual/platform.texi: Add missing @end deftypefun.
59937 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59939         [BZ #15529]
59940         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59941         bit of mantissa of 2^16382.
59942         * math/libm-test.inc (hypot_test_data): Add more tests.
59944         * math/libm-test.inc: Add drem and pow10 to list of tested
59945         functions.
59946         (pow10_test): New function.
59947         (drem_test): Likewise.
59948         (drem_test_tonearest): Likewise.
59949         (drem_test_towardzero): Likewise.
59950         (drem_test_downward): Likewise.
59951         (drem_test_upward): Likewise.
59952         (main): Call the new functions.
59954         * math/libm-test.inc (finite_test_data): Remove.
59955         (finite_test): Run tests from isfinite_test_data.
59956         (gamma_test_data): Remove.
59957         (gamma_test): Run tests from lgamma_test_data.
59958         * sysdeps/i386/fpu/libm-test-ulps: Update.
59959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59961 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59963         * manual/platform.texi: Add PowerPC PPR function set documentation.
59964         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59965         implementation.
59967 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59969         * math/libm-test.inc (MAX_EXP): Define.
59970         (ULPDIFF): Define.
59971         (ulp): New function.
59972         (check_float_internal): Use ULPDIFF.
59973         (cpow_test): Disable failing test.
59974         (check_ulp): Test ulp() implementation.
59975         (main): Call check_ulp before starting tests.
59977 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59979         * math/gen-libm-test.pl (generate_testfile): Do not handle
59980         START_DATA and END_DATA.
59981         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59982         END_DATA.
59983         (acos_tonearest_test_data): Likewise.
59984         (acos_towardzero_test_data): Likewise.
59985         (acos_downward_test_data): Likewise.
59986         (acos_upward_test_data): Likewise.
59987         (acosh_test_data): Likewise.
59988         (asin_test_data): Likewise.
59989         (asin_tonearest_test_data): Likewise.
59990         (asin_towardzero_test_data): Likewise.
59991         (asin_downward_test_data): Likewise.
59992         (asin_upward_test_data): Likewise.
59993         (asinh_test_data): Likewise.
59994         (atan_test_data): Likewise.
59995         (atanh_test_data): Likewise.
59996         (atan2_test_data): Likewise.
59997         (cabs_test_data): Likewise.
59998         (cacos_test_data): Likewise.
59999         (cacosh_test_data): Likewise.
60000         (carg_test_data): Likewise.
60001         (casin_test_data): Likewise.
60002         (casinh_test_data): Likewise.
60003         (catan_test_data): Likewise.
60004         (catanh_test_data): Likewise.
60005         (cbrt_test_data): Likewise.
60006         (ccos_test_data): Likewise.
60007         (ccosh_test_data): Likewise.
60008         (ceil_test_data): Likewise.
60009         (cexp_test_data): Likewise.
60010         (cimag_test_data): Likewise.
60011         (clog_test_data): Likewise.
60012         (clog10_test_data): Likewise.
60013         (conj_test_data): Likewise.
60014         (copysign_test_data): Likewise.
60015         (cos_test_data): Likewise.
60016         (cos_tonearest_test_data): Likewise.
60017         (cos_towardzero_test_data): Likewise.
60018         (cos_downward_test_data): Likewise.
60019         (cos_upward_test_data): Likewise.
60020         (cosh_test_data): Likewise.
60021         (cosh_tonearest_test_data): Likewise.
60022         (cosh_towardzero_test_data): Likewise.
60023         (cosh_downward_test_data): Likewise.
60024         (cosh_upward_test_data): Likewise.
60025         (cpow_test_data): Likewise.
60026         (cproj_test_data): Likewise.
60027         (creal_test_data): Likewise.
60028         (csin_test_data): Likewise.
60029         (csinh_test_data): Likewise.
60030         (csqrt_test_data): Likewise.
60031         (ctan_test_data): Likewise.
60032         (ctan_tonearest_test_data): Likewise.
60033         (ctan_towardzero_test_data): Likewise.
60034         (ctan_downward_test_data): Likewise.
60035         (ctan_upward_test_data): Likewise.
60036         (ctanh_test_data): Likewise.
60037         (ctanh_tonearest_test_data): Likewise.
60038         (ctanh_towardzero_test_data): Likewise.
60039         (ctanh_downward_test_data): Likewise.
60040         (ctanh_upward_test_data): Likewise.
60041         (erf_test_data): Likewise.
60042         (erfc_test_data): Likewise.
60043         (exp_test_data): Likewise.
60044         (exp_tonearest_test_data): Likewise.
60045         (exp_towardzero_test_data): Likewise.
60046         (exp_downward_test_data): Likewise.
60047         (exp_upward_test_data): Likewise.
60048         (exp10_test_data): Likewise.
60049         (exp2_test_data): Likewise.
60050         (expm1_test_data): Likewise.
60051         (fabs_test_data): Likewise.
60052         (fdim_test_data): Likewise.
60053         (finite_test_data): Likewise.
60054         (floor_test_data): Likewise.
60055         (fma_test_data): Likewise.
60056         (fma_towardzero_test_data): Likewise.
60057         (fma_downward_test_data): Likewise.
60058         (fma_upward_test_data): Likewise.
60059         (fmax_test_data): Likewise.
60060         (fmin_test_data): Likewise.
60061         (fmod_test_data): Likewise.
60062         (fpclassify_test_data): Likewise.
60063         (frexp_test_data): Likewise.
60064         (gamma_test_data): Likewise.
60065         (hypot_test_data): Likewise.
60066         (ilogb_test_data): Likewise.
60067         (isfinite_test_data): Likewise.
60068         (isgreater_test_data): Likewise.
60069         (isgreaterequal_test_data): Likewise.
60070         (isinf_test_data): Likewise.
60071         (isless_test_data): Likewise.
60072         (islessequal_test_data): Likewise.
60073         (islessgreater_test_data): Likewise.
60074         (isnan_test_data): Likewise.
60075         (isnormal_test_data): Likewise.
60076         (issignaling_test_data): Likewise.
60077         (isunordered_test_data): Likewise.
60078         (j0_test_data): Likewise.
60079         (j1_test_data): Likewise.
60080         (jn_test_data): Likewise.
60081         (ldexp_test_data): Likewise.
60082         (lgamma_test_data): Likewise.
60083         (lrint_test_data): Likewise.
60084         (lrint_tonearest_test_data): Likewise.
60085         (lrint_towardzero_test_data): Likewise.
60086         (lrint_downward_test_data): Likewise.
60087         (lrint_upward_test_data): Likewise.
60088         (llrint_test_data): Likewise.
60089         (llrint_tonearest_test_data): Likewise.
60090         (llrint_towardzero_test_data): Likewise.
60091         (llrint_downward_test_data): Likewise.
60092         (llrint_upward_test_data): Likewise.
60093         (log_test_data): Likewise.
60094         (log10_test_data): Likewise.
60095         (log1p_test_data): Likewise.
60096         (log2_test_data): Likewise.
60097         (logb_test_data): Likewise.
60098         (logb_downward_test_data): Likewise.
60099         (lround_test_data): Likewise.
60100         (llround_test_data): Likewise.
60101         (modf_test_data): Likewise.
60102         (nearbyint_test_data): Likewise.
60103         (nextafter_test_data): Likewise.
60104         (nexttoward_test_data): Likewise.
60105         (pow_test_data): Likewise.
60106         (pow_tonearest_test_data): Likewise.
60107         (pow_towardzero_test_data): Likewise.
60108         (pow_downward_test_data): Likewise.
60109         (pow_upward_test_data): Likewise.
60110         (remainder_test_data): Likewise.
60111         (remainder_tonearest_test_data): Likewise.
60112         (remainder_towardzero_test_data): Likewise.
60113         (remainder_downward_test_data): Likewise.
60114         (remainder_upward_test_data): Likewise.
60115         (remquo_test_data): Likewise.
60116         (rint_test_data): Likewise.
60117         (rint_tonearest_test_data): Likewise.
60118         (rint_towardzero_test_data): Likewise.
60119         (rint_downward_test_data): Likewise.
60120         (rint_upward_test_data): Likewise.
60121         (round_test_data): Likewise.
60122         (scalb_test_data): Likewise.
60123         (scalbn_test_data): Likewise.
60124         (scalbln_test_data): Likewise.
60125         (signbit_test_data): Likewise.
60126         (sin_test_data): Likewise.
60127         (sin_tonearest_test_data): Likewise.
60128         (sin_towardzero_test_data): Likewise.
60129         (sin_downward_test_data): Likewise.
60130         (sin_upward_test_data): Likewise.
60131         (sincos_test_data): Likewise.
60132         (sinh_test_data): Likewise.
60133         (sinh_tonearest_test_data): Likewise.
60134         (sinh_towardzero_test_data): Likewise.
60135         (sinh_downward_test_data): Likewise.
60136         (sinh_upward_test_data): Likewise.
60137         (sqrt_test_data): Likewise.
60138         (tan_test_data): Likewise.
60139         (tan_tonearest_test_data): Likewise.
60140         (tan_towardzero_test_data): Likewise.
60141         (tan_downward_test_data): Likewise.
60142         (tan_upward_test_data): Likewise.
60143         (tanh_test_data): Likewise.
60144         (tgamma_test_data): Likewise.
60145         (trunc_test_data): Likewise.
60146         (y0_test_data): Likewise.
60147         (y1_test_data): Likewise.
60148         (yn_test_data): Likewise.
60149         (significand_test_data): Likewise.
60151         * math/gen-libm-test.pl (@functions): Remove variable.
60152         (generate_testfile): Don't handle START and END lines.
60153         * math/libm-test.inc (START): New macro.
60154         (END): Likewise.
60155         (END_COMPLEX): Likewise.
60156         (acos_test): Use END macro without arguments.
60157         (acos_test_tonearest): Likewise.
60158         (acos_test_towardzero): Likewise.
60159         (acos_test_downward): Likewise.
60160         (acos_test_upward): Likewise.
60161         (acosh_test): Likewise.
60162         (asin_test): Likewise.
60163         (asin_test_tonearest): Likewise.
60164         (asin_test_towardzero): Likewise.
60165         (asin_test_downward): Likewise.
60166         (asin_test_upward): Likewise.
60167         (asinh_test): Likewise.
60168         (atan_test): Likewise.
60169         (atanh_test): Likewise.
60170         (atan2_test): Likewise.
60171         (cabs_test): Likewise.
60172         (cacos_test): Use END_COMPLEX macro without arguments.
60173         (cacosh_test): Likewise.
60174         (carg_test): Use END macro without arguments.
60175         (casin_test): Use END_COMPLEX macro without arguments.
60176         (casinh_test): Likewise.
60177         (catan_test): Likewise.
60178         (catanh_test): Likewise.
60179         (cbrt_test): Use END macro without arguments.
60180         (ccos_test): Use END_COMPLEX macro without arguments.
60181         (ccosh_test): Likewise.
60182         (ceil_test): Use END macro without arguments.
60183         (cexp_test): Use END_COMPLEX macro without arguments.
60184         (cimag_test): Use END macro without arguments.
60185         (clog_test): Use END_COMPLEX macro without arguments.
60186         (clog10_test): Likewise.
60187         (conj_test): Likewise.
60188         (copysign_test): Use END macro without arguments.
60189         (cos_test): Likewise.
60190         (cos_test_tonearest): Likewise.
60191         (cos_test_towardzero): Likewise.
60192         (cos_test_downward): Likewise.
60193         (cos_test_upward): Likewise.
60194         (cosh_test): Likewise.
60195         (cosh_test_tonearest): Likewise.
60196         (cosh_test_towardzero): Likewise.
60197         (cosh_test_downward): Likewise.
60198         (cosh_test_upward): Likewise.
60199         (cpow_test): Use END_COMPLEX macro without arguments.
60200         (cproj_test): Likewise.
60201         (creal_test): Use END macro without arguments.
60202         (csin_test): Use END_COMPLEX macro without arguments.
60203         (csinh_test): Likewise.
60204         (csqrt_test): Likewise.
60205         (ctan_test): Likewise.
60206         (ctan_test_tonearest): Likewise.
60207         (ctan_test_towardzero): Likewise.
60208         (ctan_test_downward): Likewise.
60209         (ctan_test_upward): Likewise.
60210         (ctanh_test): Likewise.
60211         (ctanh_test_tonearest): Likewise.
60212         (ctanh_test_towardzero): Likewise.
60213         (ctanh_test_downward): Likewise.
60214         (ctanh_test_upward): Likewise.
60215         (erf_test): Use END macro without arguments.
60216         (erfc_test): Likewise.
60217         (exp_test): Likewise.
60218         (exp_test_tonearest): Likewise.
60219         (exp_test_towardzero): Likewise.
60220         (exp_test_downward): Likewise.
60221         (exp_test_upward): Likewise.
60222         (exp10_test): Likewise.
60223         (exp2_test): Likewise.
60224         (expm1_test): Likewise.
60225         (fabs_test): Likewise.
60226         (fdim_test): Likewise.
60227         (finite_test): Likewise.
60228         (floor_test): Likewise.
60229         (fma_test): Likewise.
60230         (fma_test_towardzero): Likewise.
60231         (fma_test_downward): Likewise.
60232         (fma_test_upward): Likewise.
60233         (fmax_test): Likewise.
60234         (fmin_test): Likewise.
60235         (fmod_test): Likewise.
60236         (fpclassify_test): Likewise.
60237         (frexp_test): Likewise.
60238         (gamma_test): Likewise.
60239         (hypot_test): Likewise.
60240         (ilogb_test): Likewise.
60241         (isfinite_test): Likewise.
60242         (isgreater_test): Likewise.
60243         (isgreaterequal_test): Likewise.
60244         (isinf_test): Likewise.
60245         (isless_test): Likewise.
60246         (islessequal_test): Likewise.
60247         (islessgreater_test): Likewise.
60248         (isnan_test): Likewise.
60249         (isnormal_test): Likewise.
60250         (issignaling_test): Likewise.
60251         (isunordered_test): Likewise.
60252         (j0_test): Likewise.
60253         (j1_test): Likewise.
60254         (jn_test): Likewise.
60255         (ldexp_test): Likewise.
60256         (lgamma_test): Likewise.
60257         (lrint_test): Likewise.
60258         (lrint_test_tonearest): Likewise.
60259         (lrint_test_towardzero): Likewise.
60260         (lrint_test_downward): Likewise.
60261         (lrint_test_upward): Likewise.
60262         (llrint_test): Likewise.
60263         (llrint_test_tonearest): Likewise.
60264         (llrint_test_towardzero): Likewise.
60265         (llrint_test_downward): Likewise.
60266         (llrint_test_upward): Likewise.
60267         (log_test): Likewise.
60268         (log10_test): Likewise.
60269         (log1p_test): Likewise.
60270         (log2_test): Likewise.
60271         (logb_test): Likewise.
60272         (logb_test_downward): Likewise.
60273         (lround_test): Likewise.
60274         (llround_test): Likewise.
60275         (modf_test): Likewise.
60276         (nearbyint_test): Likewise.
60277         (nextafter_test): Likewise.
60278         (nexttoward_test): Likewise.
60279         (pow_test): Likewise.
60280         (pow_test_tonearest): Likewise.
60281         (pow_test_towardzero): Likewise.
60282         (pow_test_downward): Likewise.
60283         (pow_test_upward): Likewise.
60284         (remainder_test): Likewise.
60285         (remainder_test_tonearest): Likewise.
60286         (remainder_test_towardzero): Likewise.
60287         (remainder_test_downward): Likewise.
60288         (remainder_test_upward): Likewise.
60289         (remquo_test): Likewise.
60290         (rint_test): Likewise.
60291         (rint_test_tonearest): Likewise.
60292         (rint_test_towardzero): Likewise.
60293         (rint_test_downward): Likewise.
60294         (rint_test_upward): Likewise.
60295         (round_test): Likewise.
60296         (scalb_test): Likewise.
60297         (scalbn_test): Likewise.
60298         (scalbln_test): Likewise.
60299         (signbit_test): Likewise.
60300         (sin_test): Likewise.
60301         (sin_test_tonearest): Likewise.
60302         (sin_test_towardzero): Likewise.
60303         (sin_test_downward): Likewise.
60304         (sin_test_upward): Likewise.
60305         (sincos_test): Likewise.
60306         (sinh_test): Likewise.
60307         (sinh_test_tonearest): Likewise.
60308         (sinh_test_towardzero): Likewise.
60309         (sinh_test_downward): Likewise.
60310         (sinh_test_upward): Likewise.
60311         (sqrt_test): Likewise.
60312         (tan_test): Likewise.
60313         (tan_test_tonearest): Likewise.
60314         (tan_test_towardzero): Likewise.
60315         (tan_test_downward): Likewise.
60316         (tan_test_upward): Likewise.
60317         (tanh_test): Likewise.
60318         (tgamma_test): Likewise.
60319         (trunc_test): Likewise.
60320         (y0_test): Likewise.
60321         (y1_test): Likewise.
60322         (yn_test): Likewise.
60323         (significand_test): Likewise.
60325 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60327         [BZ #15381]
60328         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60330 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60332         [BZ #14894]
60333         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60334         __ppc_mdoio and __ppc_mdoom.
60335         * manual/platform.texi: Document new functions __ppc_yield,
60336         __ppc_mdoio and __ppc_mdoom.
60338 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60340         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60341         (main): Mention "tls" pseudo-hwcap is legacy.
60342         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60344 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60346         * math/gen-libm-test.pl (parse_args): Output only string of
60347         arguments as text for test name, not full call or descriptions of
60348         tests for extra outputs.
60349         (generate_testfile): Do not pass function name to parse_args.
60350         Generate this_func variable from START.
60351         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60352         field to arg_str.
60353         (struct test_ff_f_data): Likewise.
60354         (test_ff_f_data_nexttoward): Likewise.
60355         (struct test_fi_f_data): Likewise.
60356         (struct test_fl_f_data): Likewise.
60357         (struct test_if_f_data): Likewise.
60358         (struct test_fff_f_data): Likewise.
60359         (struct test_c_f_data): Likewise.
60360         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60361         (struct test_fF_f1_data): Likewise.
60362         (struct test_ffI_f1_data): Likewise.
60363         (struct test_c_c_data): Rename test_name field to arg_str.
60364         (struct test_cc_c_data): Likewise.
60365         (struct test_f_i_data): Likewise.
60366         (struct test_ff_i_data): Likewise.
60367         (struct test_f_l_data): Likewise.
60368         (struct test_f_L_data): Likewise.
60369         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60370         and extra2_name.
60371         (COMMON_TEST_SETUP): New macro.
60372         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60373         (COMMON_TEST_CLEANUP): Likewise.
60374         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60375         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60376         macros.
60377         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60378         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60379         macros.
60380         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60381         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60382         cleanup macros.
60383         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60384         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60385         macros.
60386         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60387         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60388         macros.
60389         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60390         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60391         cleanup macros.
60392         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60393         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60394         cleanup macros.
60395         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60396         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60397         cleanup macros.
60398         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60399         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60400         macros.
60401         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60402         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60403         macros.
60404         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60405         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60406         macros.
60407         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60408         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60409         cleanup macros.
60410         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60411         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60412         cleanup macros.
60413         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60414         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60415         macros.
60416         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60417         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60418         cleanup macros.
60419         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60420         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60421         macros.
60422         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60423         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60424         macros.
60425         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60426         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60427         cleanup macros.
60428         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60430 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60432         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60433         to _sifields.sigfault.
60434         (si_addr_lsb): Define new macro.
60435         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60436         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60437         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60439 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60441         [BZ #15441]
60442         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60443         returns -1.
60444         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60445         null return -1.
60446         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60447         loading the domain.
60449 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60451         * math/gen-libm-test.pl (parse_args): Do not include expected
60452         result in test name.
60453         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60454         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60455         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60456         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60457         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60460 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60462         * benchtests/Makefile: Sort function entries.
60464         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60465         tanh, asinh, acosh, atanh.
60466         * benchtests/acos-inputs: New file.
60467         * benchtests/acosh-inputs: New file.
60468         * benchtests/asin-inputs: New file.
60469         * benchtests/asinh-inputs: New file.
60470         * benchtests/atanh-inputs: New file.
60471         * benchtests/cosh-inputs: New file.
60472         * benchtests/log-inputs: New file.
60473         * benchtests/sinh-inputs: New file.
60474         * benchtests/tanh-inputs: New file.
60476 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60478         [BZ #15339]
60479         * posix/tst-getaddrinfo4.c: New test.
60480         * posix/Makefile (tests): Add it.
60482 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60484         [BZ #15339]
60485         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60486         when no services were used.
60487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60488         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60490 2013-05-21  Andreas Schwab  <schwab@suse.de>
60492         [BZ #15014]
60493         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60494         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60495         successful.
60496         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60497         redundant variable declarations and reallocation of buffer when
60498         parsing as IPv6 address.  Always set NSS status when called from
60499         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60500         buffer too small.  Correct computation of needed size.
60501         * nss/Makefile (tests): Add test-digits-dots.
60502         * nss/test-digits-dots.c: New test.
60504 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60506         * benchtests/Makefile: Remove instructions for adding
60507         benchmark tests.
60508         * benchtests/README: New file to explain how to execute and
60509         enhance the benchmark tests.
60511 2013-05-21  Andreas Schwab  <schwab@suse.de>
60513         [BZ #15493]
60514         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60515         * setjmp/tst-sigsetjmp.c: New test.
60517 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60519         * sysdeps/x86_64/memset.S (memset): New implementation.
60520         (__bzero): Likewise.
60521         (__memset_tail): New function.
60523 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60525         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60526         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60527         __memcpy_sse2_unaligned ifunc selection.
60528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60529         Add memcpy-sse2-unaligned.S.
60530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60531         Add: __memcpy_sse2_unaligned.
60533 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60535         [BZ #15490]
60536         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60537         math_force_eval before restoring floating-point envrionment.
60538         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60539         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60540         Likewise.
60541         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60542         <math_private.h>.
60543         (__nearbyintl): Use math_force_eval before restoring
60544         floating-point environment.
60545         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60547         * math/gen-libm-test.pl (special_functions): Remove.
60548         (parse_args): Don't handle TEST_extra.  Handle functions with no
60549         return value.
60550         * math/libm-test.inc (struct test_sincos_data): Replace with
60551         struct test_fFF_11_data.
60552         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60553         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60554         (sincos_test_data): Change element type to struct
60555         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60556         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60557         RUN_TEST_LOOP_sincos.
60558         * math/README.libm-test: Don't mention special handling of
60559         individual functions.
60560         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60561         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60562         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60563         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60564         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60567         * math/gen-libm-test.pl (get_variable): Remove function.
60568         (parse_args): Don't show pointer parameters to call in test
60569         names.  Use "extra output N" in test names for extra outputs
60570         rather than naming variables.
60572 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60574         [BZ #15488]
60575         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60576         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60577         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60578         double tests.
60579         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60580         disable.
60581         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60582         check_long_double.
60584         * math/gen-libm-test.pl (@tests): Remove variable.
60585         ($count): Likewise.
60586         (new_test): Remove function.
60587         (show_exceptions): New function.
60588         (special_functions): Use show_exceptions instead of new_test.
60589         (parse_args): Likewise.
60590         (generate_testfile): Pass only function name in generated call to
60591         print_max_error or print_complex_max_error.
60592         (get_ulps): Do not handle complex tests specially.
60593         (output_test): Rename to ...
60594         (get_all_ulps_for_test): ... this.  Return a string rather than
60595         printing to a file.  Require ulps to be present.
60596         (output_ulps): Generate arrays rather than #defines.
60597         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60598         (struct ulp_data): New type.
60599         (BUILD_COMPLEX_ULP): Remove macro.
60600         (compare_ulp_data): New function.
60601         (find_ulps): Likewise.
60602         (find_test_ulps): Likewise.
60603         (find_function_ulps): Likewise.
60604         (find_complex_function_ulps): Likewise.
60605         (print_max_error): Determine allowed ulps using
60606         find_function_ulps.
60607         (print_complex_max_error): Determine allowed ulps using
60608         find_complex_function_ulps.
60609         (check_float_internal): Determine max ulps using find_test_ulps.
60610         (check_float): Do not take max_ulp parameter.  Update call to
60611         check_float_internal.
60612         (check_complex): Likewise.
60613         (check_int): Do not take max_ulp parameter.
60614         (check_long): Likewise.
60615         (check_bool): Likewise.
60616         (check_longlong): Likewise.
60617         (struct test_f_f_data): Remove max_ulp field.
60618         (struct test_ff_f_data): Likewise.
60619         (struct test_ff_f_data_nexttoward): Likewise.
60620         (struct test_fi_f_data): Likewise.
60621         (struct test_fl_f_data): Likewise.
60622         (struct test_if_f_data): Likewise.
60623         (struct test_fff_f_data): Likewise.
60624         (struct test_c_f_data): Likewise.
60625         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60626         (struct test_fF_f1_data): Likewise.
60627         (struct test_ffI_f1_data): Likewise.
60628         (struct test_c_c_data): Remove max_ulp field.
60629         (struct test_cc_c_data): Likewise.
60630         (struct test_f_i_data): Likewise.
60631         (struct test_ff_i_data): Likewise.
60632         (struct test_f_l_data): Likewise.
60633         (struct test_f_L_data): Likewise.
60634         (struct test_sincos_data): Likewise.
60635         (RUN_TEST_f_f): Do not handle ulps.
60636         (RUN_TEST_LOOP_f_f): Likewise.
60637         (RUN_TEST_2_f): Likewise.
60638         (RUN_TEST_LOOP_2_f): Likewise.
60639         (RUN_TEST_fff_f): Likewise.
60640         (RUN_TEST_LOOP_fff_f): Likewise.
60641         (RUN_TEST_c_f): Likewise.
60642         (RUN_TEST_LOOP_c_f): Likewise.
60643         (RUN_TEST_f_f1): Likewise.
60644         (RUN_TEST_LOOP_f_f1): Likewise.
60645         (RUN_TEST_fF_f1): Likewise.
60646         (RUN_TEST_LOOP_fF_f1): Likewise.
60647         (RUN_TEST_fI_f1): Likewise.
60648         (RUN_TEST_LOOP_fI_f1): Likewise.
60649         (RUN_TEST_ffI_f1): Likewise.
60650         (RUN_TEST_LOOP_ffI_f1): Likewise.
60651         (RUN_TEST_c_c): Likewise.
60652         (RUN_TEST_LOOP_c_c): Likewise.
60653         (RUN_TEST_cc_c): Likewise.
60654         (RUN_TEST_LOOP_cc_c): Likewise.
60655         (RUN_TEST_f_i): Likewise.
60656         (RUN_TEST_LOOP_f_i): Likewise.
60657         (RUN_TEST_f_i_tg): Likewise.
60658         (RUN_TEST_LOOP_f_i_tg): Likewise.
60659         (RUN_TEST_ff_i_tg): Likewise.
60660         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60661         (RUN_TEST_f_b): Likewise.
60662         (RUN_TEST_LOOP_f_b): Likewise.
60663         (RUN_TEST_f_b_tg): Likewise.
60664         (RUN_TEST_LOOP_f_b_tg): Likewise.
60665         (RUN_TEST_f_l): Likewise.
60666         (RUN_TEST_LOOP_f_l): Likewise.
60667         (RUN_TEST_f_L): Likewise.
60668         (RUN_TEST_LOOP_f_L): Likewise.
60669         (RUN_TEST_sincos): Likewise.
60670         (RUN_TEST_LOOP_sincos): Likewise.
60672 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60674         [BZ #15480]
60675         [BZ #15485]
60676         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60677         main case of finite arguments, set rounding mode to FE_TONEAREST
60678         and discard exceptions.
60679         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60680         exceptions.
60681         (remainder_tonearest_test_data): New variable.
60682         (remainder_test_tonearest): New function.
60683         (remainder_towardzero_test_data): New variable.
60684         (remainder_test_towardzero): New function.
60685         (remainder_downward_test_data): New variable.
60686         (remainder_test_downward): New function.
60687         (remainder_upward_test_data): New variable.
60688         (remainder_test_upward): New function.
60689         (main): Call the new test functions.
60691         * math/libm-test.inc (struct test_f_f1_data): Remove field
60692         extra_init.
60693         (struct test_fF_f1_data): Likewise.
60694         (struct test_ffI_f1_data): Likewise.
60695         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60696         based on value of EXTRA_EXPECTED.
60697         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60698         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60699         EXTRA_VAR based on value of EXTRA_EXPECTED.
60700         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60701         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60702         EXTRA_VAR based on value of EXTRA_EXPECTED.
60703         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60704         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60705         EXTRA_VAR based on value of EXTRA_EXPECTED.
60706         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60707         * math/gen-libm-test.pl (parse_args): Don't output initializers
60708         for extra output values.
60710         * math/libm-test.inc (check_int): Expect result to be exactly
60711         equal to expected value and do not handle ulps.
60712         (check_long): Likewise.
60713         (check_longlong): Likewise.
60715         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60716         exceptions.
60717         (cimag_test_data): Likewise.
60718         (conj_test_data): Likewise.
60719         (copysign_test_data): Likewise.
60720         (cproj_test_data): Likewise.
60721         (creal_test_data): Likewise.
60722         (fabs_test_data): Likewise.
60723         (fdim_test_data): Likewise.
60724         (finite_test_data): Likewise.
60725         (floor_test_data): Likewise.
60726         (fmax_test_data): Likewise.
60727         (fmin_test_data): Likewise.
60728         (fmod_test_data): Likewise.
60729         (fpclassify_test_data): Likewise.
60730         (frexp_test_data): Likewise.
60731         (ilogb_test_data): Likewise.
60732         (isfinite_test_data): Likewise.
60733         (isgreater_test_data): Likewise.
60734         (isgreaterequal_test_data): Likewise.
60735         (isinf_test_data): Likewise.
60736         (isless_test_data): Likewise.
60737         (islessequal_test_data): Likewise.
60738         (islessgreater_test_data): Likewise.
60739         (isnan_test_data): Likewise.
60740         (isnormal_test_data): Likewise.
60741         (issignaling_test_data): Likewise.
60742         (isunordered_test_data): Likewise.
60743         (ldexp_test_data): Likewise.
60744         (lrint_test_data): Likewise.
60745         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60746         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60747         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60748         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60749         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60750         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60751         test input.
60752         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60753         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60754         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60755         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60756         that test input.
60757         (lrint_downward_test_data): Test for "inexact" exceptions.
60758         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60759         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60760         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60761         test input.
60762         (lrint_upward_test_data): Test for "inexact" exceptions.
60763         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60764         test input.
60765         (llrint_test_data): Test for "inexact" exceptions.
60766         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60767         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60768         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60769         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60770         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60771         (llrint_downward_test_data): Test for "inexact" exceptions.
60772         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60773         (llrint_upward_test_data): Test for "inexact" exceptions.
60774         (logb_test_data): Likewise.
60775         (logb_downward_test_data): Likewise.
60776         (nextafter_test_data): Likewise.
60777         (nexttoward_test_data): Likewise.
60778         (remainder_test_data): Likewise.
60779         (remquo_test_data): Likewise.
60780         (scalbn_test_data): Likewise.
60781         (scalbln_test_data): Likewise.
60782         (signbit_test_data): Likewise.
60783         (sqrt_test_data): Likewise.
60784         (significand_test_data): Likewise.
60786 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60788         [BZ #15424]
60789         * benchtests/bench-modf.c (struct args): Mark arg0 as
60790         volatile.
60791         * scripts/bench.pl: Mark members of struct args as volatile.
60793 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60795         [BZ # 15497]
60796         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60797         negative infinity on POWER6 or lower.
60798         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60800 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60802         [BZ #15442]
60803         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60804         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60805         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60806         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60807         (_FP_SETQNAN): New macro.
60808         (_FP_SETQNAN_SEMIRAW): Likewise.
60809         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60810         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60811         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60812         (FP_EXTEND): Use _FP_FRAC_SNANP.
60813         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60814         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60815         into account.
60816         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60817         New macro.
60818         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60819         Likewise.
60821 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60823         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60824         with DIVIDE_BY_ZERO_EXCEPTION.
60825         (gamma_test_data): Likewise.
60826         (lgamma_test_data): Likewise.
60827         (log_test_data): Likewise.
60828         (log10_test_data): Likewise.
60829         (log2_test_data): Likewise.
60830         (tgamma_test_data): Likewise.
60832         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60833         (acos_test_tonearest): Likewise.
60834         (acos_test_towardzero): Likewise.
60835         (acos_test_downward): Likewise.
60836         (acos_test_upward): Likewise.
60837         (acosh_test): Likewise.
60838         (asin_test): Likewise.
60839         (asin_test_tonearest): Likewise.
60840         (asin_test_towardzero): Likewise.
60841         (asin_test_downward): Likewise.
60842         (asin_test_upward): Likewise.
60843         (asinh_test): Likewise.
60844         (atan_test): Likewise.
60845         (atanh_test): Likewise.
60846         (atan2_test): Likewise.
60847         (cabs_test): Likewise.
60848         (cacos_test): Likewise.
60849         (cacosh_test): Likewise.
60850         (casin_test): Likewise.
60851         (casinh_test): Likewise.
60852         (catan_test): Likewise.
60853         (catanh_test): Likewise.
60854         (cbrt_test): Likewise.
60855         (ccos_test): Likewise.
60856         (ccosh_test): Likewise.
60857         (cexp_test): Likewise.
60858         (clog_test): Likewise.
60859         (clog10_test): Likewise.
60860         (cos_test): Likewise.
60861         (cos_test_tonearest): Likewise.
60862         (cos_test_towardzero): Likewise.
60863         (cos_test_downward): Likewise.
60864         (cos_test_upward): Likewise.
60865         (cosh_test): Likewise.
60866         (cosh_test_tonearest): Likewise.
60867         (cosh_test_towardzero): Likewise.
60868         (cosh_test_downward): Likewise.
60869         (cosh_test_upward): Likewise.
60870         (cpow_test): Likewise.
60871         (csin_test): Likewise.
60872         (csinh_test): Likewise.
60873         (csqrt_test): Likewise.
60874         (ctan_test): Likewise.
60875         (ctan_test_tonearest): Likewise.
60876         (ctan_test_towardzero): Likewise.
60877         (ctan_test_downward): Likewise.
60878         (ctan_test_upward): Likewise.
60879         (ctanh_test): Likewise.
60880         (ctanh_test_tonearest): Likewise.
60881         (ctanh_test_towardzero): Likewise.
60882         (ctanh_test_downward): Likewise.
60883         (ctanh_test_upward): Likewise.
60884         (erf_test): Likewise.
60885         (erfc_test): Likewise.
60886         (exp_test): Likewise.
60887         (exp_test_tonearest): Likewise.
60888         (exp_test_towardzero): Likewise.
60889         (exp_test_downward): Likewise.
60890         (exp_test_upward): Likewise.
60891         (exp10_test): Likewise.
60892         (exp2_test): Likewise.
60893         (expm1_test): Likewise.
60894         (fmod_test): Likewise.
60895         (gamma_test): Likewise.
60896         (hypot_test): Likewise.
60897         (j0_test): Likewise.
60898         (j1_test): Likewise.
60899         (jn_test): Likewise.
60900         (lgamma_test): Likewise.
60901         (log_test): Likewise.
60902         (log10_test): Likewise.
60903         (log1p_test): Likewise.
60904         (log2_test): Likewise.
60905         (logb_test_downward): Likewise.
60906         (pow_test): Likewise.
60907         (pow_test_tonearest): Likewise.
60908         (pow_test_towardzero): Likewise.
60909         (pow_test_downward): Likewise.
60910         (pow_test_upward): Likewise.
60911         (remainder_test): Likewise.
60912         (remquo_test): Likewise.
60913         (sin_test): Likewise.
60914         (sin_test_tonearest): Likewise.
60915         (sin_test_towardzero): Likewise.
60916         (sin_test_downward): Likewise.
60917         (sin_test_upward): Likewise.
60918         (sincos_test): Likewise.
60919         (sinh_test): Likewise.
60920         (sinh_test_tonearest): Likewise.
60921         (sinh_test_towardzero): Likewise.
60922         (sinh_test_downward): Likewise.
60923         (sinh_test_upward): Likewise.
60924         (sqrt_test): Likewise.
60925         (tan_test): Likewise.
60926         (tan_test_tonearest): Likewise.
60927         (tan_test_towardzero): Likewise.
60928         (tan_test_downward): Likewise.
60929         (tan_test_upward): Likewise.
60930         (tanh_test): Likewise.
60931         (tgamma_test): Likewise.
60932         (y0_test): Likewise.
60933         (y1_test): Likewise.
60934         (yn_test): Likewise.
60936         * math/gen-libm-test.pl (adjust_arg): Remove function.
60937         (special_function): Remove argument $in_func.  Only handle
60938         generating output for tables of tests, not inside functions.
60939         (parse_args): Likewise.
60940         (generate_testfile): Remove variable $in_func.  Update call to
60941         parse_args.
60942         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60943         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60944         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60945         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60946         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60947         (MAX_VALUE_INIT): Rename macro to max_value.
60948         (MIN_VALUE_INIT): Rename macro to min_value.
60949         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60950         (plus_zero): Remove variable.
60951         (minus_zero): Likewise.
60952         (plus_infty): Likewise.
60953         (minus_infty): Likewise.
60954         (qnan_value): Likewise.
60955         (max_value): Likewise.
60956         (min_value): Likewise.
60957         (min_subnorm_value): Likewise.
60959 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60961         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60962         uint64_t or uint32_t usage.
60963         * crypt/sha256-block.c: Likewise.
60964         * crypt/sha256-crypt.c: Likewise.
60965         * crypt/sha256.c: Likewise.
60966         * crypt/sha512-block.c: Likewise.
60967         * crypt/sha512-crypt.c: Likewise.
60968         * crypt/sha512.c: Likewise.
60969         * debug/backtrace-tst.c: Likewise.
60970         * debug/pcprofiledump.c: Likewise.
60971         * elf/cache.c: Likewise.
60972         * elf/dl-cache.c: Likewise.
60973         * elf/dl-misc.c: Likewise.
60974         * elf/dl-profile.c: Likewise.
60975         * elf/dl-support.c: Likewise.
60976         * elf/ldconfig.c: Likewise.
60977         * elf/sprof.c: Likewise.
60978         * iconv/dummy-repertoire.c: Likewise.
60979         * iconv/iconv_charmap.c: Likewise.
60980         * iconv/skeleton.c: Likewise.
60981         * iconvdata/8bit-generic.c: Likewise.
60982         * iconvdata/cp737.h: Likewise.
60983         * iconvdata/cp775.h: Likewise.
60984         * iconvdata/ibm1008.h: Likewise.
60985         * iconvdata/ibm1025.h: Likewise.
60986         * iconvdata/ibm1046.h: Likewise.
60987         * iconvdata/ibm1097.h: Likewise.
60988         * iconvdata/ibm1112.h: Likewise.
60989         * iconvdata/ibm1122.h: Likewise.
60990         * iconvdata/ibm1123.h: Likewise.
60991         * iconvdata/ibm1124.h: Likewise.
60992         * iconvdata/ibm1129.h: Likewise.
60993         * iconvdata/ibm1130.h: Likewise.
60994         * iconvdata/ibm1132.h: Likewise.
60995         * iconvdata/ibm1133.h: Likewise.
60996         * iconvdata/ibm1137.h: Likewise.
60997         * iconvdata/ibm1140.h: Likewise.
60998         * iconvdata/ibm1141.h: Likewise.
60999         * iconvdata/ibm1142.h: Likewise.
61000         * iconvdata/ibm1143.h: Likewise.
61001         * iconvdata/ibm1144.h: Likewise.
61002         * iconvdata/ibm1145.h: Likewise.
61003         * iconvdata/ibm1146.h: Likewise.
61004         * iconvdata/ibm1147.h: Likewise.
61005         * iconvdata/ibm1148.h: Likewise.
61006         * iconvdata/ibm1149.h: Likewise.
61007         * iconvdata/ibm1153.h: Likewise.
61008         * iconvdata/ibm1154.h: Likewise.
61009         * iconvdata/ibm1155.h: Likewise.
61010         * iconvdata/ibm1156.h: Likewise.
61011         * iconvdata/ibm1157.h: Likewise.
61012         * iconvdata/ibm1158.h: Likewise.
61013         * iconvdata/ibm1160.h: Likewise.
61014         * iconvdata/ibm1161.h: Likewise.
61015         * iconvdata/ibm1162.h: Likewise.
61016         * iconvdata/ibm1163.h: Likewise.
61017         * iconvdata/ibm1164.h: Likewise.
61018         * iconvdata/ibm1166.h: Likewise.
61019         * iconvdata/ibm1167.h: Likewise.
61020         * iconvdata/ibm12712.h: Likewise.
61021         * iconvdata/ibm1390.h: Likewise.
61022         * iconvdata/ibm1399.h: Likewise.
61023         * iconvdata/ibm16804.h: Likewise.
61024         * iconvdata/ibm4517.h: Likewise.
61025         * iconvdata/ibm4899.h: Likewise.
61026         * iconvdata/ibm4909.h: Likewise.
61027         * iconvdata/ibm4971.h: Likewise.
61028         * iconvdata/ibm5347.h: Likewise.
61029         * iconvdata/ibm803.h: Likewise.
61030         * iconvdata/ibm856.h: Likewise.
61031         * iconvdata/ibm901.h: Likewise.
61032         * iconvdata/ibm902.h: Likewise.
61033         * iconvdata/ibm9030.h: Likewise.
61034         * iconvdata/ibm9066.h: Likewise.
61035         * iconvdata/ibm921.h: Likewise.
61036         * iconvdata/ibm922.h: Likewise.
61037         * iconvdata/ibm9448.h: Likewise.
61038         * iconvdata/isiri-3342.h: Likewise.
61039         * iconvdata/jis0201.h: Likewise.
61040         * include/link.h: Likewise.
61041         * include/netdb.h: Likewise.
61042         * inet/check_native.c: Likewise.
61043         * inet/check_pf.c: Likewise.
61044         * inet/getipv4sourcefilter.c: Likewise.
61045         * inet/getnameinfo.c: Likewise.
61046         * inet/getsourcefilter.c: Likewise.
61047         * inet/htonl.c: Likewise.
61048         * inet/setipv4sourcefilter.c: Likewise.
61049         * inet/setsourcefilter.c: Likewise.
61050         * inet/test-inet6_opt.c: Likewise.
61051         * inet/tst-network.c: Likewise.
61052         * locale/C-collate.c: Likewise.
61053         * locale/C-ctype.c: Likewise.
61054         * locale/C-time.c: Likewise.
61055         * locale/C-translit.h: Likewise.
61056         * locale/loadarchive.c: Likewise.
61057         * locale/programs/3level.h: Likewise.
61058         * locale/programs/charmap.c: Likewise.
61059         * locale/programs/charmap.h: Likewise.
61060         * locale/programs/ld-address.c: Likewise.
61061         * locale/programs/ld-collate.c: Likewise.
61062         * locale/programs/ld-ctype.c: Likewise.
61063         * locale/programs/ld-identification.c: Likewise.
61064         * locale/programs/ld-measurement.c: Likewise.
61065         * locale/programs/ld-messages.c: Likewise.
61066         * locale/programs/ld-monetary.c: Likewise.
61067         * locale/programs/ld-name.c: Likewise.
61068         * locale/programs/ld-numeric.c: Likewise.
61069         * locale/programs/ld-paper.c: Likewise.
61070         * locale/programs/ld-telephone.c: Likewise.
61071         * locale/programs/ld-time.c: Likewise.
61072         * locale/programs/linereader.c: Likewise.
61073         * locale/programs/locale.c: Likewise.
61074         * locale/programs/locarchive.c: Likewise.
61075         * locale/programs/locfile.h: Likewise.
61076         * locale/programs/repertoire.c: Likewise.
61077         * locale/programs/simple-hash.c: Likewise.
61078         * locale/programs/simple-hash.h: Likewise.
61079         * malloc/memusage.c: Likewise.
61080         * malloc/memusagestat.c: Likewise.
61081         * nis/nis_defaults.c: Likewise.
61082         * nis/nis_hash.c: Likewise.
61083         * nis/nis_print.c: Likewise.
61084         * nis/nis_xdr.c: Likewise.
61085         * nscd/connections.c: Likewise.
61086         * nscd/hstcache.c: Likewise.
61087         * nscd/nscd_gethst_r.c: Likewise.
61088         * nscd/nscd_getserv_r.c: Likewise.
61089         * nscd/nscd_helper.c: Likewise.
61090         * nscd/servicescache.c: Likewise.
61091         * nss/makedb.c: Likewise.
61092         * nss/nss_db/db-XXX.c: Likewise.
61093         * nss/nss_db/db-initgroups.c: Likewise.
61094         * nss/nss_db/db-netgrp.c: Likewise.
61095         * nss/nss_files/files-network.c: Likewise.
61096         * nss/nss_files/files-parse.c: Likewise.
61097         * posix/bug-regex5.c: Likewise.
61098         * posix/fnmatch_loop.c: Likewise.
61099         * posix/regcomp.c: Likewise.
61100         * posix/regexec.c: Likewise.
61101         * posix/tst-rfc3484-2.c: Likewise.
61102         * posix/tst-rfc3484-3.c: Likewise.
61103         * posix/tst-rfc3484.c: Likewise.
61104         * resolv/nss_dns/dns-canon.c: Likewise.
61105         * resolv/nss_dns/dns-network.c: Likewise.
61106         * resolv/res_init.c: Likewise.
61107         * resolv/res_mkquery.c: Likewise.
61108         * resolv/tst-aton.c: Likewise.
61109         * stdlib/cxa_atexit.c: Likewise.
61110         * stdlib/cxa_finalize.c: Likewise.
61111         * stdlib/gen-fpioconst.c: Likewise.
61112         * stdlib/strtol_l.c: Likewise.
61113         * string/tst-endian.c: Likewise.
61114         * sunrpc/auth_des.c: Likewise.
61115         * sunrpc/clnt_udp.c: Likewise.
61116         * sunrpc/rtime.c: Likewise.
61117         * sunrpc/svcauth_des.c: Likewise.
61118         * sunrpc/xdr.c: Likewise.
61119         * sunrpc/xdr_intXX_t.c: Likewise.
61120         * sunrpc/xdr_rec.c: Likewise.
61121         * sysdeps/generic/ldconfig.h: Likewise.
61122         * sysdeps/generic/ldsodefs.h: Likewise.
61123         * sysdeps/generic/memusage.h: Likewise.
61124         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61125         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61126         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61127         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61128         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61129         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61130         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61131         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61132         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61133         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61134         * sysdeps/posix/getaddrinfo.c: Likewise.
61135         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61136         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61137         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61138         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61139         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61140         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61141         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61142         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61143         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61144         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61145         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61146         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61147         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61148         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61149         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61150         * sysdeps/x86_64/dl-tls.h: Likewise.
61151         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61152         * time/alt_digit.c: Likewise.
61153         * time/era.c: Likewise.
61154         * wcsmbs/tst-c16c32-1.c: Likewise.
61156 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61158         * math/libm-test.inc (struct test_sincos_data): New type.
61159         (RUN_TEST_LOOP_sincos): New macro.
61160         (sincos_test_data): New variable.
61161         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61163 2013-05-16  Richard Henderson  <rth@redhat.com>
61165         * math/atest-exp2.c (LIMB64): New macro.
61166         (CONSTSZ): New macro.
61167         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61168         (hexdig): Move ...
61169         (print_mpn_fp): ... to function scope.
61170         (read_mpn_hex): Remove.
61171         (get_log2): Remove.
61172         (exp2_mpn): Use mp_log2.
61173         (main): Use mp_exp1.
61175 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61177         * math/libm-test.inc: Remove comment about not testing "inexact"
61178         exceptions.
61179         (INEXACT_EXCEPTION): New macro.
61180         (NO_INEXACT_EXCEPTION): Likewise.
61181         (INVALID_EXCEPTION_OK): Update value.
61182         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61183         (OVERFLOW_EXCEPTION_OK): Likewise.
61184         (UNDERFLOW_EXCEPTION_OK): Likewise.
61185         (IGNORE_ZERO_INF_SIGN): Likewise.
61186         (ERRNO_UNCHANGED): Likewise.
61187         (ERRNO_EDOM): Likewise.
61188         (ERRNO_ERANGE): Likewise.
61189         (test_exceptions): Handle testing "inexact" exceptions.
61190         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61191         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61192         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61193         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61194         INEXACT_EXCEPTION.
61195         (rint_towardzero_test_data): Likewise.
61196         (rint_downward_test_data): Likewise.
61197         (rint_upward_test_data): Likewise.
61199         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61200         with OVERFLOW_EXCEPTION.
61201         (exp10_test_data): Likewise.
61202         (exp2_test_data): Likewise.
61203         (expm1_test_data): Likewise.
61204         (lgamma_test_data): Likewise.
61205         (pow_test_data): Likewise.
61206         (tgamma_test_data): Likewise.
61207         (yn_test_data): Remove duplicate test of overflow.
61209         * math/libm-test.inc (struct test_cc_c_data): New type.
61210         (RUN_TEST_LOOP_cc_c): New macro.
61211         (cpow_test_data): New variable.
61212         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61214         * math/libm-test.inc (struct test_f_L_data): New type.
61215         (RUN_TEST_LOOP_f_L): New macro.
61216         (llrint_test_data): New variable.
61217         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61218         (llrint_tonearest_test_data): New variable.
61219         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61220         (llrint_towardzero_test_data): New variable.
61221         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61222         (llrint_downward_test_data): New variable.
61223         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61224         (llrint_upward_test_data): New variable.
61225         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61226         (llround_test_data): New variable.
61227         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61229 2013-05-13  Peter Collingbourne  <pcc@google.com>
61231         * math/atest-exp2.c (get_log2): Remove const attribute.
61233 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61235         * math/libm-test.inc (struct test_f_l_data): New type.
61236         (RUN_TEST_LOOP_f_l): New macro.
61237         (lrint_test_data): New variable.
61238         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61239         (lrint_tonearest_test_data): New variable.
61240         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61241         (lrint_towardzero_test_data): New variable.
61242         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61243         (lrint_downward_test_data): New variable.
61244         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61245         (lrint_upward_test_data): New variable.
61246         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61247         (lround_test_data): New variable.
61248         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61250 2013-05-15  Peter Collingbourne  <pcc@google.com>
61252         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61253         (EXTRACT_WORDS64) Use where appropriate.
61254         (INSERT_WORDS64) Likewise.
61256         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61257         constraints with x constraints.
61258         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61260         * malloc/obstack.c (_obstack_compat): Add initializer.
61262 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61264         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61265         si_trapno and add si_addr_lsb to _sifields.sigfault.
61266         (si_trapno): Remove macro.
61267         (si_addr_lsb): Define new macro.
61268         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61270 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61272         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61273         instead of TEST_f_l.
61274         (llrint_test_tonearest): Likewise.
61275         (llrint_test_towardzero): Likewise.
61276         (llrint_test_downward): Likewise.
61277         (llrint_test_upward): Likewise.
61278         (llround_test): Likewise.
61280         * math/libm-test.inc (struct test_f_i_data): Add comment.
61281         (RUN_TEST_LOOP_f_b): New macro.
61282         (RUN_TEST_LOOP_f_b_tg): Likewise.
61283         (finite_test_data): New variable.
61284         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61285         (isfinite_test_data): New variable.
61286         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61287         (isinf_test_data): New variable.
61288         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61289         (isnan_test_data): New variable.
61290         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61291         (isnormal_test_data): New variable.
61292         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61293         (issignaling_test_data): New variable.
61294         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61295         (signbit_test_data): New variable.
61296         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61298         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61299         with INVALID_EXCEPTION.
61300         (acosh_test_data): Likewise.
61301         (asin_test_data): Likewise.
61302         (atanh_test_data): Likewise.
61303         (fmod_test_data): Likewise.
61304         (log_test_data): Likewise.
61305         (log10_test_data): Likewise.
61306         (log2_test_data): Likewise.
61307         (pow_test_data): Likewise.
61308         (sqrt_test_data): Likewise.
61309         (y0_test_data): Likewise.
61310         (y1_test_data): Likewise.
61311         (yn_test_data): Likewise.
61313         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61314         function contents.
61316         * math/libm-test.inc (struct test_ff_i_data): New type.
61317         (RUN_TEST_LOOP_ff_i_tg): New macro.
61318         (isgreater_test_data): New variable.
61319         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61320         (isgreaterequal_test_data): New variable.
61321         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61322         (isless_test_data): New variable.
61323         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61324         (islessequal_test_data): New variable.
61325         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61326         (islessgreater_test_data): New variable.
61327         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61328         (isunordered_test_data): New variable.
61329         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61331 2013-05-14  David S. Miller  <davem@davemloft.net>
61333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61335 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61337         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61339         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61340         extra_test to int.
61341         (struct test_f_i_data): Change type of max_ulp to int.
61343         * math/libm-test.inc (test_ffI_f1_data): New type.
61344         (RUN_TEST_LOOP_ffI_f1): New macro.
61345         (remquo_test_data): New variable.
61346         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61348         * setjmp/tst-setjmp-fp.c: New file.
61349         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61350         (link-libm): New variable.
61351         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61353         * math/libm-test.inc (struct test_f_i_data): New type.
61354         (RUN_TEST_LOOP_f_i): New macro.
61355         (RUN_TEST_LOOP_f_i_tg): Likewise.
61356         (fpclassify_test_data): New variable.
61357         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61358         (ilogb_test_data): New variable.
61359         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61361         * math/libm-test.inc (scalbln_test): Correct function name in END
61362         call.
61364         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61365         (RUN_TEST_LOOP_fI_f1): New macro.
61366         (frexp_test_data): New variable.
61367         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61369         * math/libm-test.inc (struct test_fF_f1_data): New type.
61370         (RUN_TEST_LOOP_fF_f1): New macro.
61371         (modf_test_data): New variable.
61372         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61374         * math/libm-test.inc (struct test_f_f1_data): New type.
61375         (RUN_TEST_LOOP_f_f1): New macro.
61376         (gamma_test_data): New variable.
61377         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61378         (lgamma_test_data): New variable.
61379         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61381 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61383         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61384         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61385         (main): Comment "tls" pseudo-hwcap.
61387 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61389         * math/libm-test.inc (struct test_fl_f_data): New type.
61390         (RUN_TEST_LOOP_fl_f): New variable.
61391         (scalbln_test_data): New variable.
61392         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61394         * math/libm-test.inc (struct test_fi_f_data): New type.
61395         (RUN_TEST_LOOP_fi_f): New macro.
61396         (ldexp_test_data): New variable.
61397         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61398         (scalbn_test_data): New variable.
61399         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61401         * math/libm-test.inc (struct test_c_f_data): New type.
61402         (RUN_TEST_LOOP_c_f): New macro.
61403         (cabs_test_data): New variable.
61404         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61405         (carg_test_data): New variable.
61406         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61407         (cimag_test_data): New variable.
61408         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61409         (creal_test_data): New variable.
61410         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61412         * math/libm-test.inc (struct test_if_f_data): New type.
61413         (RUN_TEST_LOOP_if_f): New macro.
61414         (jn_test_data): New variable.
61415         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61416         (yn_test_data): New variable.
61417         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61419         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61421 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61423         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61424         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61426 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61428         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61429         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61430         (bench-deps): Add bench-timing.h.
61431         * benchtests-bench-skeleton.c: Include bench-timing.h.
61432         (main): Use TIMING_* macros instead of clock_gettime.
61433         * benchtests/bench-timing.h: New file.
61435         [BZ #14582]
61436         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61437         Renamed from _LIB_VERSION.
61438         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61440 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61442         * math/libm-test.inc (struct test_fff_f_data): New type.
61443         (RUN_TEST_LOOP_fff_f): New macro.
61444         (fma_test_data): New variable.
61445         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61446         (fma_towardzero_test_data): New variable.
61447         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61448         (fma_downward_test_data): New variable.
61449         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61450         (fma_upward_test_data): New variable.
61451         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61453         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61454         (struct test_c_c_data): New type.
61455         (RUN_TEST_LOOP_c_c): New macro.
61456         (cacos_test_data): New variable.
61457         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61458         (cacosh_test_data): New variable.
61459         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61460         (casin_test_data): New variable.
61461         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61462         (casinh_test_data): New variable.
61463         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61464         (catan_test_data): New variable.
61465         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61466         (catanh_test_data): New variable.
61467         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61468         (ccos_test_data): New variable.
61469         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61470         (ccosh_test_data): New variable.
61471         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61472         (cexp_test_data): New variable.
61473         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61474         (clog_test_data): New variable.
61475         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61476         (clog10_test_data): New variable.
61477         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61478         (conj_test_data): New variable.
61479         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61480         (cproj_test_data): New variable.
61481         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61482         (csin_test_data): New variable.
61483         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61484         (csinh_test_data): New variable.
61485         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61486         (csqrt_test_data): New variable.
61487         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61488         (ctan_test_data): New variable.
61489         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61490         (ctan_tonearest_test_data): New variable.
61491         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61492         (ctan_towardzero_test_data): New variable.
61493         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61494         (ctan_downward_test_data): New variable.
61495         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61496         (ctan_upward_test_data): New variable.
61497         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61498         (ctanh_test_data): New variable.
61499         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61500         (ctanh_tonearest_test_data): New variable.
61501         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61502         (ctanh_towardzero_test_data): New variable.
61503         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61504         (ctanh_downward_test_data): New variable.
61505         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61506         (ctanh_upward_test_data): New variable.
61507         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61508         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61509         of BUILD_COMPLEX.
61511         * math/libm-test.inc (struct test_ff_f_data): New type.
61512         (struct test_ff_f_data_nexttoward): Likewise.
61513         (RUN_TEST_LOOP_2_f): New macro.
61514         (RUN_TEST_LOOP_ff_f): Likewise.
61515         (atan2_test_data): New variable.
61516         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61517         (copysign_test_data): New variable.
61518         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61519         (fdim_test_data): New variable.
61520         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61521         (fmax_test_data): New variable.
61522         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61523         (fmin_test_data): New variable.
61524         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61525         (fmod_test_data): New variable.
61526         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61527         (hypot_test_data): New variable.
61528         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61529         (nextafter_test_data): New variable.
61530         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61531         (nexttoward_test_data): New variable.
61532         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61533         (pow_test_data): New variable.
61534         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61535         (pow_tonearest_test_data): New variable.
61536         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61537         (pow_towardzero_test_data): New variable.
61538         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61539         (pow_downward_test_data): New variable.
61540         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61541         (pow_upward_test_data): New variable.
61542         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61543         (remainder_test_data): New variable.
61544         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61545         (scalb_test_data): New variable.
61546         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61547         * sysdeps/i386/fpu/libm-test-ulps: Update.
61549 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61551         * math/libm-test.inc (fma_test): Use max_value instead of local
61552         variable fltmax.
61553         (nextafter_test): Likewise.
61555         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61556         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61557         (acos_downward_test_data): New variable.
61558         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61559         (acos_upward_test_data): New variable.
61560         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61561         (acosh_test_data): New variable.
61562         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61563         (asin_test_data): New variable.
61564         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61565         (asin_tonearest_test_data): New variable.
61566         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61567         (asin_towardzero_test_data): New variable.
61568         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61569         (asin_downward_test_data): New variable.
61570         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61571         (asin_upward_test_data): New variable.
61572         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61573         (asinh_test_data): New variable.
61574         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61575         (atan_test_data): New variable.
61576         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61577         (atanh_test_data): New variable.
61578         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61579         (cbrt_test_data): New variable.
61580         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61581         (ceil_test_data): New variable.
61582         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61583         (cos_test_data): New variable.
61584         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61585         (cos_tonearest_test_data): New variable.
61586         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61587         (cos_towardzero_test_data): New variable.
61588         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61589         (cos_downward_test_data): New variable.
61590         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61591         (cos_upward_test_data): New variable.
61592         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61593         (cosh_test_data): New variable.
61594         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61595         (cosh_tonearest_test_data): New variable.
61596         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61597         (cosh_towardzero_test_data): New variable.
61598         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61599         (cosh_downward_test_data): New variable.
61600         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61601         (cosh_upward_test_data): New variable.
61602         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61603         (erf_test_data): New variable.
61604         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61605         (erfc_test_data): New variable.
61606         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61607         (exp_test_data): New variable.
61608         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61609         (exp_tonearest_test_data): New variable.
61610         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61611         (exp_towardzero_test_data): New variable.
61612         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61613         (exp_downward_test_data): New variable.
61614         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61615         (exp_upward_test_data): New variable.
61616         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61617         (exp10_test_data): New variable.
61618         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61619         (exp2_test_data): New variable.
61620         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61621         (expm1_test_data): New variable.
61622         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61623         (fabs_test_data): New variable.
61624         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61625         (floor_test_data): New variable.
61626         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61627         (j0_test_data): New variable.
61628         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61629         (j1_test_data): New variable.
61630         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61631         (log_test_data): New variable.
61632         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61633         (log10_test_data): New variable.
61634         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61635         (log1p_test_data): New variable.
61636         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61637         (log2_test_data): New variable.
61638         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61639         (logb_test_data): New variable.
61640         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61641         (logb_downward_test_data): New variable.
61642         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61643         (nearbyint_test_data): New variable.
61644         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61645         (rint_test_data): New variable.
61646         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61647         (rint_tonearest_test_data): New variable.
61648         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61649         (rint_towardzero_test_data): New variable.
61650         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61651         (rint_downward_test_data): New variable.
61652         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61653         (rint_upward_test_data): New variable.
61654         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61655         (round_test_data): New variable.
61656         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61657         (sin_test_data): New variable.
61658         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61659         (sin_tonearest_test_data): New variable.
61660         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61661         (sin_towardzero_test_data): New variable.
61662         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61663         (sin_downward_test_data): New variable.
61664         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61665         (sin_upward_test_data): New variable.
61666         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61667         (sinh_test_data): New variable.
61668         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61669         (sinh_tonearest_test_data): New variable.
61670         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61671         (sinh_towardzero_test_data): New variable.
61672         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61673         (sinh_downward_test_data): New variable.
61674         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61675         (sinh_upward_test_data): New variable.
61676         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61677         (sqrt_test_data): New variable.
61678         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61679         (tan_test_data): New variable.
61680         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61681         (tan_tonearest_test_data): New variable.
61682         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61683         (tan_towardzero_test_data): New variable.
61684         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61685         (tan_downward_test_data): New variable.
61686         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61687         (tan_upward_test_data): New variable.
61688         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61689         (tanh_test_data): New variable.
61690         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61691         (tgamma_test_data): New variable.
61692         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61693         (trunc_test_data): New variable.
61694         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61695         (y0_test_data): New variable.
61696         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61697         (y1_test_data): New variable.
61698         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61699         (significand_test_data): New variable.
61700         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61702 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61704         [BZ #12387]
61705         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61707 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61709         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61711 2013-05-10  Andreas Jaeger  <aj@suse.de>
61713         [BZ #15448]
61714         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61715         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61717 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61719         * math/gen-libm-test.pl (adjust_arg): New function.
61720         (special_functions): Handle generating output in both functions
61721         and arrays.
61722         (parse_args): Likewise.
61723         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61724         $in_func argument to parse_args.
61725         * math/libm-test.inc (struct test_f_f_data): New type.
61726         (IF_ROUND_INIT_): New macro.
61727         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61728         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61729         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61730         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61731         (ROUND_RESTORE_): Likewise.
61732         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61733         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61734         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61735         (ROUND_RESTORE_FE_UPWARD): Likewise.
61736         (RUN_TEST_LOOP_f_f): New macro.
61737         (acos_test_data): New variable.
61738         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61739         (acos_tonearest_test_data): New variable.
61740         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61742 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61744         * benchtests/bench-skeleton.c (startup): Fix coding style.
61746 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61748         [BZ #6809]
61749         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61750         negative infinity argument.
61751         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61752         negative infinity argument.
61753         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61754         negative infinity argument.
61755         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61756         domain errors.
61758 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61760         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61761         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61762         * iconv/iconv_prog.c (main): Likewise.
61763         * locale/programs/charmap-dir.c (charmap_readdir)
61764         (fopen_uncompressed): Likewise.
61765         * locale/programs/locfile.c (siblings_uncached)
61766         (write_locale_data): Use lstat64 instead of lstat.
61767         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61768         stat.
61770 2013-05-10  Andreas Jaeger  <aj@suse.de>
61772         [BZ #15395]
61773         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61774         localization.
61775         Include <locale.h>.
61777 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61779         * elf/dl-close.c (_dl_close_worker): Add comments.
61781 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61783         [BZ #15359]
61784         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61785         high part of pi/2.
61786         (__ieee754_rem_pio2l): Update comments.
61788         [BZ #15429]
61789         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61790         high part of pi/2.
61791         (__ieee754_rem_pio2l): Update comments.
61793         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61794         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61796         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61797         M_PI_4l.
61799         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61800         (M_PI_34_LOG10El): Likewise.
61801         (M_PI2_LOG10El): Likewise.
61802         (M_PI4_LOG10El): Likewise.
61803         (M_PI_LOG10El): Likewise.
61805 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61809 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61811         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61812         (MINUS_ZERO_INIT): Likewise.
61813         (PLUS_INFTY_INIT): Likewise.
61814         (MINUS_INFTY_INIT): Likewise.
61815         (QNAN_VALUE_INIT): Likewise.
61816         (MAX_VALUE_INIT): Likewise.
61817         (MIN_VALUE_INIT): Likewise.
61818         (MIN_SUBNORM_VALUE_INIT): Likewise.
61819         (plus_zero): Initialize with PLUS_ZERO_INIT.
61820         (minus_zero): Initialize with MINUS_ZERO_INIT.
61821         (plus_infty): Initialize with PLUS_INFTY_INIT.
61822         (minus_infty): Initialize with MINUS_INFTY_INIT.
61823         (qnan_value): Initialize with QNAN_VALUE_INIT.
61824         (max_value): Initialize with MAX_VALUE_INIT.
61825         (min_value): Initialize with MIN_VALUE_INIT.
61826         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61828         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61829         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61830         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61831         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61833         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61834         (RUN_TEST_2_f): Likewise.
61835         (RUN_TEST_ff_f): Likewise.
61836         (RUN_TEST_fi_f): Likewise.
61837         (RUN_TEST_fl_f): Likewise.
61838         (RUN_TEST_fff_f): Likewise.
61839         (RUN_TEST_c_f): Likewise.
61840         (RUN_TEST_f_f1): Likewise.
61841         (RUN_TEST_fF_f1): Likewise.
61842         (RUN_TEST_fI_f1): Likewise.
61843         (RUN_TEST_ffI_f1): Likewise.
61844         (RUN_TEST_c_c): Likewise.
61845         (RUN_TEST_cc_c): Likewise.
61846         (RUN_TEST_f_i): Likewise.
61847         (RUN_TEST_f_i_tg): Likewise.
61848         (RUN_TEST_ff_i_tg): Likewise.
61849         (RUN_TEST_f_b): Likewise.
61850         (RUN_TEST_f_b_tg): Likewise.
61851         (RUN_TEST_f_l): Likewise.
61852         (RUN_TEST_f_L): Likewise.
61853         (RUN_TEST_sincos): Likewise.
61854         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61855         whether to show exceptions.  Do not include ");\n" in return
61856         value.
61857         (special_functions): Output call to RUN_TEST_sincos instead of
61858         check_float calls.  Update calls to new_test.
61859         (parse_args): Output call to single RUN_TEST_* macro instead of
61860         check_* calls and other assignments.  Update calls to new_test.
61862         [BZ #2546]
61863         [BZ #2560]
61864         [BZ #5159]
61865         [BZ #15426]
61866         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61867         input to result for tgamma overflow.
61868         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61869         (gamma_coeff): New variable.
61870         (NCOEFF): New macro.
61871         (gamma_positive): New function.
61872         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61873         underflow here.  Use gamma_positive instead of exp (lgamma) for
61874         other arguments.
61875         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61876         (gamma_coeff): New variable.
61877         (NCOEFF): New macro.
61878         (gammaf_positive): New function.
61879         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61880         underflow here.  Use gamma_positive instead of exp (lgamma) for
61881         other arguments.
61882         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61883         (gamma_coeff): New variable.
61884         (NCOEFF): New macro.
61885         (gammal_positive): New function.
61886         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61887         underflow here.  Use gamma_positive instead of exp (lgamma) for
61888         other arguments.
61889         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61890         (gamma_coeff): New variable.
61891         (NCOEFF): New macro.
61892         (gammal_positive): New function.
61893         (__ieee754_gammal_r): Handle positive infinity, overflow and
61894         underflow here.  Handle NaN the same as positive infinity.  Remove
61895         check x < 0xffffffff for negative integers.  Use gamma_positive
61896         instead of exp (lgamma) for other arguments.
61897         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61898         (gamma_coeff): New variable.
61899         (NCOEFF): New macro.
61900         (gammal_positive): New function.
61901         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61902         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61903         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61904         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61905         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61906         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61907         * sysdeps/generic/math_private.h (__gamma_productf): New
61908         prototype.
61909         (__gamma_product): Likewise.
61910         (__gamma_productl): Likewise.
61911         * math/Makefile (libm-calls): Add gamma_product.
61912         * math/libm-test.inc (tgamma_test): Add more tests.
61913         * sysdeps/i386/fpu/libm-test-ulps: Update.
61914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61916 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61918         * benchtests/bench-skeleton.c (main): Preheat CPU.
61920 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61922         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61924 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61926         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61927         and _dl_skip_args_internal.
61929 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61931         * manual/message.texi (Message Translation): Talk about users.
61932         Message to key mapping impacts design.
61934 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61936         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61938         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61940         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61941         * sysdeps/wordsize-64/glob64.c: ... here.
61943         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61944         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61945         New macros.
61947         * debug/getlogin_r_chk.c: Moved to ...
61948         * login/getlogin_r_chk.c: ... here.
61949         * debug/Makefile (routines): Move getlogin_r_chk to ...
61950         * login/Makefile (routines): ... here.
61951         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61952         * login/Versions (libc: GLIBC_2.4): ... here.
61954         * io/poll.c (__poll): Renamed from poll.
61955         Add libc_hidden_def.
61956         (poll): Define as weak alias.
61958         * debug/ptsname_r_chk.c: Moved to ...
61959         * login/ptsname_r_chk.c: ... here.
61960         * debug/Makefile (routines): Move ptsname_r_chk to ...
61961         * login/Makefile (routines): ... here.
61962         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61963         * login/Versions (libc: GLIBC_2.4): ... here.
61965         * posix/getlogin.c: Moved to ...
61966         * login/getlogin.c: ... here.
61967         * posix/getlogin_r.c: Moved to ...
61968         * login/getlogin_r.c: ... here.
61969         * posix/getlogin_r.c: Moved to ...
61970         * login/getlogin_r.c: ... here.
61971         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61972         * login/Makefile (routines): ... here.
61973         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61974         * login/Versions (libc: GLIBC_2.0): ... here.
61976         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61977         (setrlimit): Define as weak alias.
61979         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61980         Call __ names for open, ftruncate, and close.
61981         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61982         (truncate): Define as weak alias.
61984 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61986         * math/gen-libm-test.pl (parse_args): Initialize x before each
61987         test of frexp, modf and remquo.
61989         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61990         test signgam value.
61992 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61994         [BZ #15418]
61995         [BZ #15419]
61996         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61997         internal tests.
61998         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62000 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62002         * elf/dl-writev.h: New file.
62003         * elf/dl-misc.c: Include it.
62004         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62005         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62007 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62009         * math/libm-test.inc (noXFails): Remove variable.
62010         (noXPasses): Likewise.
62011         (BUILD_COMPLEX_INT): Remove macro.
62012         (print_screen): Remove xfail argument.
62013         (print_screen_max_error): Likewise.
62014         (update_stats): Likewise.
62015         (print_max_error): Likewise.  Update calls to other affected
62016         functions.
62017         (print_complex_max_error): Likewise.
62018         (test_single_exception): Update calls to print_screen.
62019         (test_single_errno): Likewise.
62020         (check_float_internal): Remove xfail argument.  Update calls to
62021         other affected functions.
62022         (check_float): Likewise.
62023         (check_complex): Likewise.
62024         (check_int): Likewise.
62025         (check_long): Likewise.
62026         (check_bool): Likewise.
62027         (check_longlong): Likewise.
62028         (main): Don't print noXFails and noXPasses.
62029         * math/gen-libm-test.pl (top level): Don't mention expected
62030         failure handling in comment.
62031         (new_test): Don't handle expected failures.
62032         (parse_args): Don't mention expected failure handling in comment.
62033         (generate_testfile): Don't handle expected failures.
62034         (parse_ulps): Likewise.
62035         (print_ulps_file): Likewise.
62036         (get_failure): Remove function.
62037         (output_test): Don't handle expected failures.
62038         * make/README.libm-test: Don't mention expected failure handling.
62040         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62041         (minus_zero): Likewise.
62042         (plus_infty): Likewise.
62043         (minus_infty): Likewise.
62044         (qnan_value): Likewise.
62045         (max_value): Likewise.
62046         (min_value): Likewise.
62047         (min_subnorm_value): Likewise.
62048         (initialize): Do not initialize those variables dynamically.
62050 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62052         * io/open.c (__open_2): Moved to ...
62053         * io/open_2.c: ... this new file.
62054         * io/open64.c (__open64_2): Moved to ...
62055         * io/open64_2.c: ... this new file.
62056         * io/openat.c (__openat_2): Moved to ...
62057         * io/openat_2.c: ... this new file.
62058         * io/openat64.c (__openat64_2): Moved to ...
62059         * io/openat64_2.c: ... this new file.
62060         * io/Makefile (routines): Add them.
62061         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62062         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62063         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62064         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62065         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62066         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62067         (__openat64): Add hidden_ver.
62068         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62069         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62071         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62072         Separately conditionalize setting of GLRO(dl_sysinfo) so
62073         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62074         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62076 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62078         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62079         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62080         definition.
62081         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62082         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62083         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62084         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62085         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62087 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62089         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62090         test signgam value.
62092         * math/libm-test.inc (hypot_test): Do not use
62093         IGNORE_ZERO_INF_SIGN.
62095 2013-05-03  Andreas Jaeger  <aj@suse.de>
62097         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62098         Linux 3.9.
62099         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62100         (PF_MAX): Adjust for VSOCK change.
62102 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62106 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62108         [BZ #15264]
62109         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62110         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62111         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62113 2013-05-02  David S. Miller  <davem@davemloft.net>
62115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62117 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62119         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62121 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62123         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62125 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62127         [BZ #14952]
62128         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62129         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62130         Use __attribute__ ((__gnu_inline__)).
62131         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62132         Don't use __attribute__ ((__gnu_inline__)).
62134 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62136         [BZ #15423]
62137         * math/s_catan.c (__catan): Handle small real or imaginary part of
62138         input specially to avoid spurious underflow.
62139         * math/s_catanf.c (__catanf): Likewise.
62140         * math/s_catanh.c (__catanh): Likewise.
62141         * math/s_catanhf.c (__catanhf): Likewise.
62142         * math/s_catanhl.c (__catanhl): Likewise.
62143         * math/s_catanl.c (__catanl): Likewise.
62144         * math/libm-test.inc (catan_test): Add more tests.
62145         (catanh_test): Likewise.
62146         * sysdeps/i386/fpu/libm-test-ulps: Update.
62147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62149 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62153 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62155         [BZ #15416]
62156         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62157         accurately for denominator in atan2.
62158         * math/s_catanf.c (__catanf): Likewise.
62159         * math/s_catanh.c (__catanh): Likewise.
62160         * math/s_catanhf.c (__catanhf): Likewise.
62161         * math/s_catanhl.c (__catanhl): Likewise.
62162         * math/s_catanl.c (__catanl): Likewise.
62163         * math/libm-test.inc (catan_test): Add more tests.
62164         (catanh_test): Likewise.
62165         * sysdeps/i386/fpu/libm-test-ulps: Update.
62166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62168 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62170         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62172         * benchtests/Makefile (bench): Remove slow benchmarks.
62173         * benchtests/atan-inputs: Add slow benchmark inputs.
62174         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62175         (BENCH_FUNC): Accept variant offset.
62176         (VARIANT): Define.
62177         * benchtests/bench-skeleton.c (main): Run benchmark for each
62178         variant.
62179         * benchtests/cos-inputs: Add slow benchmark inputs.
62180         * benchtests/exp-inputs: Likewise.
62181         * benchtests/pow-inputs: Likewise.
62182         * benchtests/sin-inputs: Likewise.
62183         * benchtests/slowatan-inputs: Remove.
62184         * benchtests/slowatan.c: Remove.
62185         * benchtests/slowcos-inputs: Remove.
62186         * benchtests/slowcos.c: Remove.
62187         * benchtests/slowexp-inputs: Remove.
62188         * benchtests/slowexp.c: Remove.
62189         * benchtests/slowpow-inputs: Remove.
62190         * benchtests/slowpow.c: Remove.
62191         * benchtests/slowsin-inputs: Remove.
62192         * benchtests/slowsin.c: Remove.
62193         * benchtests/slowtan-inputs: Remove.
62194         * benchtests/slowtan.c: Remove.
62195         * benchtests/tan-inputs: Add slow benchmark inputs.
62196         * scripts/bench.pl: Parse comments and directives.
62198         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62199         in CPPFLAGS.
62200         ($(objpfx)bench-%.c): Remove *-ITER.
62201         * benchtests/bench-modf.c: Remove definition of ITER.
62202         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62203         (main): Loop for DURATION seconds instead of fixed number of
62204         iterations.
62205         * scripts/bench.pl: Don't expect iterations in parameters.
62207 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62209         * io/fchdir.c (__fchdir): Renamed from fchdir.
62210         (fchdir): Define as weak alias.
62212 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62214         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62215         (ERRNO_EDOM): Likewise.
62216         (ERRNO_ERANGE): Likewise.
62217         (noErrnoTests): New variable.
62218         (init_max_error): Set errno to 0.
62219         (test_single_errno): New function.
62220         (test_errno): Likewise.
62221         (check_float_internal): Call test_errno.  Set errno to 0.
62222         (check_complex): Refer to errno tests in comment.
62223         (check_int): Call test_errno.  Set errno to 0.
62224         (check_long): Likewise.
62225         (check_bool): Likewise.
62226         (check_longlong): Likewise.
62227         (cos_test): Use ERRNO_* flags for errno tests instead of
62228         check_int.
62229         (expm1_test): Likewise.
62230         (fmod_test): Likewise.
62231         (ilogb_test): Likewise.
62232         (lgamma_test): Likewise.
62233         (pow_test): Likewise.
62234         (remainder_test): Likewise.
62235         (sin_test): Likewise.
62236         (tan_test): Likewise.
62237         (yn_test): Likewise.
62238         (initialize): Set errno to 0.
62239         (main): Print number of errno tests.
62240         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62242 2013-04-29  Andreas Jaeger  <aj@suse.de>
62244         [BZ #15084]
62245         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62246         and RES_USEVC.
62248         [BZ #15085]
62249         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62250         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62251         unimplemented.
62253         [BZ #15380]
62254         * stdlib/random.c (__initstate): Return NULL if
62255         __initstate fails.
62257         [BZ #15086]
62258         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62259         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62260         RES_SNGLKUPREOP.
62262 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62266 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62268         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62269         of individual tests.
62270         (casin_test): Likewise.
62271         (casinh_test): Likewise.
62273 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62275         [BZ #15409]
62276         * math/s_catan.c (__catan): Handle arguments with large real or
62277         imaginary part separately without squaring.
62278         * math/s_catanf.c (__catanf): Likewise.
62279         * math/s_catanh.c (__catanh): Likewise.
62280         * math/s_catanhf.c (__catanhf): Likewise.
62281         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62282         and redefine.
62283         (__catanhl): Handle arguments with large real or imaginary part
62284         separately without squaring.
62285         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62286         and redefine.
62287         (__catanl): Handle arguments with large real or imaginary part
62288         separately without squaring.
62289         * math/libm-test.inc (catan_test): Add more tests.
62290         (catanh_test): Likewise.
62291         * sysdeps/i386/fpu/libm-test-ulps: Update.
62292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62294 2013-04-27  Andreas Jaeger  <aj@suse.de>
62296         [BZ #15007]
62297         * stdlib/stdlib.h: Update guards for qecvt.
62298         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62299         <stdlib.h>.
62301 2013-04-27  Allan McRae  <allan@archlinux.org>
62303         * sysdeps/i386/fpu/libm-test-ulps: Update.
62305 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62307         [BZ #15406]
62308         * math/s_catan.c: Include <float.h>.
62309         (__catan): Ensure underflow exception occurs for underflowed
62310         result.
62311         * math/s_catanf.c: Include <float.h>.
62312         (__catanf): Ensure underflow exception occurs for underflowed
62313         result.
62314         * math/s_catanh.c: Include <float.h>.
62315         (__catanh): Ensure underflow exception occurs for underflowed
62316         result.
62317         * math/s_catanhf.c: Include <float.h>.
62318         (__catanhf): Ensure underflow exception occurs for underflowed
62319         result.
62320         * math/s_catanhl.c: Include <float.h>.
62321         (__catanhl): Ensure underflow exception occurs for underflowed
62322         result.
62323         * math/s_catanl.c: Include <float.h>.
62324         (__catanl): Ensure underflow exception occurs for underflowed
62325         result.
62326         * math/libm-test.inc (catan_test): Add more tests.
62327         (catanh_test): Likewise.
62329         [BZ #15405]
62330         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62331         underflowed result.
62332         * math/s_ccoshf.c (__ccoshf): Likewise.
62333         * math/s_ccoshl.c (__ccoshl): Likewise.
62334         * math/s_csin.c (__csin): Likewise.
62335         * math/s_csinf.c (__csinf): Likewise.
62336         * math/s_csinh.c (__csinh): Likewise.
62337         * math/s_csinhf.c (__csinhf): Likewise.
62338         * math/s_csinhl.c (__csinhl): Likewise.
62339         * math/s_csinl.c (__csinl): Likewise.
62340         * math/libm-test.inc (ccos_test): Add more tests.
62341         (ccosh_test): Likewise.
62342         (csin_test): Likewise.
62343         (csinh_test): Likewise.
62345 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62347         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62348         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62349         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62350         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62351         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62352         powerpc/power5+/fpu folders.
62353         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62356 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62360 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62362         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62363         additions to variable.
62364         [$(config-machine) = x86_64] (modules-names): Likewise.
62365         ($(objpfx)tst-audit3): Remove dependency.
62366         ($(objpfx)tst-audit3.out): Likewise.
62367         ($(objpfx)tst-audit4): Likewise.
62368         ($(objpfx)tst-audit4.out): Likewise.
62369         ($(objpfx)tst-audit5): Likewise.
62370         ($(objpfx)tst-audit5.out): Likewise.
62371         ($(objpfx)tst-audit6): Likewise.
62372         ($(objpfx)tst-audit6.out): Likewise.
62373         ($(objpfx)tst-audit7): Likewise.
62374         ($(objpfx)tst-audit7.out): Likewise.
62375         (tst-audit3-ENV): Remove variable.
62376         (tst-audit4-ENV): Likewise.
62377         (tst-audit5-ENV): Likewise.
62378         (tst-audit6-ENV): Likewise.
62379         (tst-audit7-ENV): Likewise.
62380         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62381         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62382         addition to variable.
62383         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62384         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62385         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62386         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62387         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62388         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62389         tst-audit3, tst-audit4 and tst-audit5.
62390         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62391         tst-audit6 and tst-audit7.
62392         [$(subdir) = elf] (modules-names): Add audit modules for those
62393         tests.
62394         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62395         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62396         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62397         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62398         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62399         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62400         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62401         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62402         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62403         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62404         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62405         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62406         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62407         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62408         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62409         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62410         Likewise.
62411         [$(subdir) = elf && $(config-cflags-avx) = yes]
62412         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62413         [$(subdir) = elf && $(config-cflags-avx) = yes]
62414         (CFLAGS-tst-auditmod4a.c): Likewise.
62415         [$(subdir) = elf && $(config-cflags-avx) = yes]
62416         (CFLAGS-tst-auditmod4b.c): Likewise.
62417         [$(subdir) = elf && $(config-cflags-avx) = yes]
62418         (CFLAGS-tst-auditmod6b.c): Likewise.
62419         [$(subdir) = elf && $(config-cflags-avx) = yes]
62420         (CFLAGS-tst-auditmod6c.c): Likewise.
62421         [$(subdir) = elf && $(config-cflags-avx) = yes]
62422         (CFLAGS-tst-auditmod7b.c): Likewise.
62423         * elf/tst-audit3.c: Move to ...
62424         * sysdeps/x86_64/tst-audit3.c: ... here.
62425         * elf/tst-audit4.c: Move to ...
62426         * sysdeps/x86_64/tst-audit4.c: ... here.
62427         * elf/tst-audit5.c: Move to ...
62428         * sysdeps/x86_64/tst-audit5.c: ... here.
62429         * elf/tst-audit6.c: Move to ...
62430         * sysdeps/x86_64/tst-audit6.c: ... here.
62431         * elf/tst-audit7.c: Move to ...
62432         * sysdeps/x86_64/tst-audit7.c: ... here.
62433         * elf/tst-auditmod3a.c: Move to ...
62434         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62435         * elf/tst-auditmod3b.c: Move to ...
62436         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62437         * elf/tst-auditmod4a.c: Move to ...
62438         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62439         * elf/tst-auditmod4b.c: Move to ...
62440         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62441         * elf/tst-auditmod5a.c: Move to ...
62442         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62443         * elf/tst-auditmod5b.c: Move to ...
62444         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62445         * elf/tst-auditmod6a.c: Move to ...
62446         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62447         * elf/tst-auditmod6b.c: Move to ...
62448         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62449         * elf/tst-auditmod6c.c: Move to ...
62450         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62451         * elf/tst-auditmod7a.c: Move to ...
62452         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62453         * elf/tst-auditmod7b.c: Move to ...
62454         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62456 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62458         [BZ #15366]
62459         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62460         define unconditionally.
62461         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62462         define unconditionally.
62463         (INT8_C, INT16_C, etc.): Likewise.
62465 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62467         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62468         __ehdr_start with hidden visibility.
62470         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62472 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62474         * math/libm-test.inc (cos_test): Use accurate hex constants.
62475         (sincost_test): Likewise.
62477 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62479         * math/libm-test.inc (catan_test): Add more tests.
62480         (catanh_test): Likewise.
62482         * math/s_catanf.c (__catanf): Use suffixed floating-point
62483         constants.
62484         * math/s_catanhf.c (__catanhf): Likewise.
62485         * math/s_catanhl.c (__catanhl): Likewise.
62486         * math/s_catanl.c (__catanl): Likewise.
62488         [BZ #15394]
62489         * math/s_catan.c (__catan): Calculate imaginary part of result
62490         with log1p not log unless computing log of number close to 0.
62491         * math/s_catanf.c (__catanf): Likewise.
62492         * math/s_catanl.c (__catanl): Likewise.
62493         * math/s_catanh.c (__catanh): Calculate real part of result with
62494         log1p not log unless computing log of number close to 0.
62495         * math/s_catanhf.c (__catanhf): Likewise.
62496         * math/s_catanhl.c (__catanhl): Likewise.
62497         * math/libm-test.inc (catan_test): Add more tests.
62498         (catanh_test): Likewise.
62499         * sysdeps/i386/fpu/libm-test-ulps: Update.
62500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62502 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62504         * benchtests/Makefile: Mention files in which fast and slow
62505         paths of math functions are implemented.
62507 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62509         * sysdeps/posix/timespec_get.c: New file.
62511 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62513         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62514         POWER.
62515         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62516         for POWER.
62517         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62518         powerpc/power5/fpu folders.
62519         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62520         * benchtests/Makefile: Add modf testcase.
62521         * benchtests/bench-modf.c: New file: Benchmark test for mo
62523 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62525         [BZ #14888]
62526         * time/Makefile (tests): Add tst-strptime-whitespace.
62527         * time/strptime_l.c (get_number): Use ISSPACE.
62528         (__strptime_internal): Likewise.
62529         * time/tst-strptime-whitespace.c: New test case.
62531 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62533         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62534         member.
62535         (_nss_files_init): Set it here.
62537 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62539         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62540         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62541         unsigned.
62543 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62545         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62547 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62550         size just once.
62552 2013-04-21  David S. Miller  <davem@davemloft.net>
62554         * po/ru.po: Update Russion translation from translation project.
62556 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62558         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62559         and setfsgid.
62561 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62563         * configure.in: Remove i386 configure warning. Remove i386 case.
62564         * configure: Regenerate.
62565         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62566         Add example to error message.
62567         * sysdeps/i386/configure: Regenerate.
62569 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62571         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62572         slowtan.
62573         * benchtests/cos-inputs: New file.
62574         * benchtests/slowcos-inputs: New file.
62575         * benchtests/slowcos.c: New file.
62576         * benchtests/slowtan-inputs: New file.
62577         * benchtests/slowtan.c: New file.
62578         * benchtests/tan-inputs: New file.
62580 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62582         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62583         considered kosher.
62585 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62587         * benchtests/Makefile: Include cppflags-iterator.mk to add
62588         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62590         * Makefile.in (bench-clean): New target.
62591         * benchtests/Makefile (bench-clean): Likewise.
62593 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62595         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62597 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62599         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62601 2013-04-15  Andreas Schwab  <schwab@suse.de>
62603         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62604         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62605         * nscd/pwdcache.c (cache_addpw): Likewise.
62606         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62607         more than recsize.
62609 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62611         * benchtests/Makefile (bench): Write all output to
62612         bench-out.tmp together.
62614 2013-04-15  Andreas Schwab  <schwab@suse.de>
62616         * nscd/nscd.c (main): Don't fork again after closing files.
62618 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62620         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62622         * benchtests/Rules (bench-deps): Collect dependencies into a
62623         single variable.  Add Makefile to dependencies.
62624         ($(objpfx)bench-%.c): Depend on bench-deps.
62626 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62627             Xavier Roche  <roche+kml2@exalead.com>
62629         [BZ #15361]
62630         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62631         just that it's a file descriptor.
62632         * manual/llio.texi (Synchronizing AIO Operations): Update description
62633         for EBADF error from aio_fsync.
62635 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62637         * Rules (bench): Move target definition...
62638         * benchtests/Makefile: ... here.
62640 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62642         * math/libm-test.inc (cos_test): Fix PI/2 test.
62643         (sincos_test): Likewise.
62644         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62645         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62647 2013-04-11  Andreas Schwab  <schwab@suse.de>
62649         [BZ #13988]
62650         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62651         accept exponent character only when digits were seen.
62652         * stdio-common/Makefile (tests): Add bug26.
62653         * stdio-common/bug26.c: New file.
62655         [BZ #14293]
62656         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62657         non-freeable.
62659 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62661         * Makeconfig (rtld-prefix): Define built linker prefix.
62662         * Rules (run-bench): Use it.
62663         * math/Makefile (run-regen-ulps): Likewise.
62665         * Rules (bench): Remove eval.
62667 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62668             Roland McGrath  <roland@hack.frob.com>
62669             Ondrej Bilka  <neleai@seznam.cz>
62671         [BZ #15346]
62672         * time/getdate.c: Include ctype.h and alloca.h.
62673         (__getdate_r): Trim leading and trailing spaces of input.
62674         * time/tst-getdate.c (tests): Add tests with leading and
62675         trailing spaces.
62677 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62679         [BZ #14280]
62680         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62681         when computing value.
62683 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62685         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62686         Use testrun.sh to run libm tests.
62688         [BZ #15309]
62689         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62691 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62693         [BZ #15264]
62694         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62696 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62698         * Makefile.in (regen-ulps): New target.
62699         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62700         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62701         [ifneq (no,$(PERL)] (regen-ulps): New target.
62702         [ifeq (no,$(PERL)] (regen-ulps): New target.
62703         * math/libm-test.inc (ulps_file_name): Define.
62704         (output_dir): New variable.
62705         (options): Add "output-dir" option.
62706         (parse_opt): Handle 'o' case.
62707         (main): If output_dir is non-NULL use it as a prefix
62708         otherwise use "".
62709         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62711 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62713         [BZ #10060, #10062]
62714         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62715         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62716         fail configure if __sync_val_compare_and_swap is not inlined.
62717         * sysdeps/i386/configure: Regenerate.
62718         * configure.in: Build for i686 when configured for i386.
62719         * configure: Regenerate.
62720         * README: Remove i386 reference.
62722 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62724         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62725         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62727 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62729         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62730         (lmsnanval): New variables.
62731         (F): Add conversion tests.
62732         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62733         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62735         * stdio-common/tstdiomisc.c (F): Properly collect individual
62736         tests' results.
62738         [BZ #14686, #15336]
62739         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62740         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62741         Instead, use input NaN values or generate a qNaN by arithmetic
62742         operation.  Also fix bugs to comply with the standard.
62743         * math/libm-test.inc (remainder_test): Add more tests.
62745         [BZ #15335, #15342]
62746         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62748         input NaN values or generate a qNaN by arithmetic operation.
62750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62751         unreachable code.
62753         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62754         definitions.
62756 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62758         [BZ #14478]
62759         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62760         underflowed result.
62761         * math/s_cexpf.c (__cexpf): Likewise.
62762         * math/s_cexpl.c (__cexpl): Likewise.
62763         * math/libm-test.inc (cexp_test): Add more tests.
62765 2013-04-03  Andreas Schwab  <schwab@suse.de>
62767         [BZ #15330]
62768         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62769         order arrays from heap if bigger than alloca cutoff.
62771 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62773         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62774         (SNAN_TESTS_double): Refer to GCC PR56831.
62775         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62776         GCC PR56828.
62778 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62780         * Rules (bench): Move bench.out after the run is complete.
62782         * Rules (bench): Echo currently running benchmark.
62784         * benchtests/Makefile (bench): Add atan and slowatan.
62785         * benchtests/atan-inputs: New file.
62786         * benchtests/slowatan-inputs: New file.
62787         * benchtests/slowatan.c: New file.
62789         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62791         its value.
62793         [BZ #15305]
62794         * sysdeps/unix/sysv/linux/kernel-features.h
62795         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62796         __ASSUME_XFS_RESTRICTED_CHOWN.
62797         * sysdeps/unix/sysv/linux/pathconf.c
62798         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62799         Save and restore errno.
62801 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62803         [BZ #15327]
62804         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62805         arguments using __kernel_casinh.
62806         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62807         arguments using __kernel_casinhf.
62808         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62809         arguments using __kernel_casinhl.
62810         * math/libm-test.inc (cacosh_test): Add more tests.
62811         * sysdeps/i386/fpu/libm-test-ulps: Update.
62812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62814 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62816         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62819         * bench/Makefile (bench): Add sin and slowsin.
62820         * benchtests/sin-inputs: New file.
62821         * benchtests/slowsin-inputs: New file.
62822         * benchtests/slowsin.c: New file.
62824         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62825         (bench): Add slowexp and slowpow.
62826         (exp-ITER): Increase iterations.
62827         (pow-ITER): Likewise.
62828         * benchtests/exp-inputs: Change input.
62829         * benchtests/pow-inputs: Likewise.
62830         * benchtests/slowexp-inputs: New file.
62831         * benchtests/slowexp.c: New file.
62832         * benchtests/slowpow-inputs: New file.
62833         * benchtests/slowpow.c: New file.
62835 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62837         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62838         instructions.
62839         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62840         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62841         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62842         * benchtests/Makefile: Add rint benchtest.
62843         * benchtests/rint-inputs: Input for rint benchtest.
62845 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62847         * Versions.def (libm): Add GLIBC_2.18.
62848         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62849         hidden libm prototypes.
62850         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62851         * math/Makefile (libm-calls): Add s_issignaling.
62852         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62853         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62854         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62855         declaration.
62856         * math/math.h [__USE_GNU] (issignaling): New macro.
62857         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62858         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62859         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62860         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62861         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62862         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62863         * manual/arith.texi (issignaling): New section.
62864         * manual/libm-err-tab.pl (@all_functions): Update comment.
62865         * math/gen-libm-test.pl (parse_args): Apply special handling for
62866         issignaling.
62867         * math/libm-test.inc (print_float, issignaling_test): New
62868         functions.
62869         (check_float_internal): Add issignaling checks.
62870         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62871         default definition.
62872         * sysdeps/powerpc/math-tests.h: New file.
62873         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62874         tests.
62875         * math/test-snan.c (TEST_FUNC): Likewise.
62877 2013-03-30  David S. Miller  <davem@davemloft.net>
62879         * po/de.po: Update from translation team.
62881 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62883         [BZ #10357]
62884         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62885         imaginary part less than 1.0 and real part less than 0.5
62886         specially.
62887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62889         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62890         (cacos_test): Add more tests.
62891         (casin_test): Likewise.
62892         (casinh_test): Likewise.
62893         * sysdeps/i386/fpu/libm-test-ulps: Update.
62894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62896 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62898         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62899         ONE with its value.
62901         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62902         (__pow_mp): Replace ONE and MONE with their values.
62903         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62905         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62907         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62908         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62910         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62912         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62913         (__pow_mp): Replace ZERO and MZERO with their values.
62914         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62915         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62916         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62918         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62919         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62920         (__sqr): Likewise.
62922         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62924         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62926 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62928         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62929         Declare with __attribute__ ((weak)).
62930         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62931         Call __call_tls_dtors only if it's not NULL.
62933 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62935         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62936         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62937         magic __ehdr_start linker symbol if it's defined.
62938         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62939         them up here if it was already done.
62941         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62942         (_dl_aux_init): Use const in cast when setting it.
62943         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62944         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62945         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62947         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62948         Declare them here.
62949         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62950         * csu/libc-tls.c: Nor here.
62951         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62953         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62954         (__libc_message): Never call vsyslog.
62956 2013-03-28  Alan Modra  <amodra@gmail.com>
62958         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62959         Define as empty.
62960         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62961         Likewise.
62963 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62965         [BZ #15214]
62966         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62967         underflow.
62968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62970 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62972         [BZ #15304]
62973         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62974         Don't add gid passed as argument.
62976         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62978 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62980         [BZ #15307]
62981         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62982         imaginary part between 1.0 and 1.5 and real part less than 0.5
62983         specially.
62984         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62985         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62986         * math/libm-test.inc (cacos_test): Add more tests.
62987         (casin_test): Likewise.
62988         (casinh_test): Likewise.
62989         * sysdeps/i386/fpu/libm-test-ulps: Update.
62990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62992 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62994         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62995         constants.
62996         (norm): Likewise.
62997         (denorm): Likewise.
62998         (__dbl_mp): Likewise.
62999         (add_magnitudes): Likewise.
63000         (sub_magnitudes): Likewise.
63001         (__add): Likewise.
63002         (__sub): Likewise.
63003         (__mul): Likewise.
63004         (__sqr): Likewise.
63005         (__inv): Likewise.
63006         (__dvd): Likewise.
63008         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63009         commented code.
63010         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63011         (__dubcos): Likewise.
63012         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63013         (__ieee754_acos): Likewise.
63014         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63015         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63016         (__exp1): Likewise.
63017         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63019         (log1): Likewise.
63020         (my_log2): Likewise.
63021         (checkint): Likewise.
63022         * sysdeps/ieee754/dbl-64/e_remainder.c
63023         (__ieee754_remainder): Likewise.
63024         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63025         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63026         (bsloww): Likewise.
63027         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63029         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63030         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63031         MANTISSA_STORE_T to store computations on mantissa.  Use
63032         macros for rounding and division.
63033         (denorm): Likewise.
63034         (__dbl_mp): Likewise.
63035         (add_magnitudes): Likewise.
63036         (sub_magnitudes): Likewise.
63037         (__mul): Likewise.
63038         (__sqr): Likewise.
63039         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63040         powers of two in terms of TWOPOW macro.
63041         (mp_no): Make type of mantissa as MANTISSA_T.
63042         [!RADIXI]: Define RADIXI.
63043         [!TWO52]: Define TWO52.
63044         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63046 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63048         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63049         llroundl symbol when building for PPC32.
63051 2013-03-24  Mark H Weaver  <mhw@netris.org>
63053         * manual/arith.texi (Normalization Functions): Fix prototypes for
63054         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63056 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63058         [BZ #13889]
63059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63060         high value to check if expl overflow.
63061         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63062         to check for underflow and overflow.
63063         * math/libm-test.inc: Add exp test.
63065 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63067         [BZ #11120]
63068         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63069         with NOT_IN_libc.
63071 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63073         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63074         symbol.
63076 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63078         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63079         wrap blocks consisting of several statements.
63081         * sysdeps/generic/math-tests.h: New file.
63082         * sysdeps/i386/fpu/math-tests.h: Likewise.
63083         * math/test-snan.c: Include it.
63084         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63086 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63088         [BZ #15285]
63089         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63090         (__ieee754_j0l): Do not improve calculations using cos of twice
63091         input for inputs above LDBL_MAX / 2.0L.
63092         (__ieee754_y0l): Likewise.
63093         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63094         (__ieee754_j1l): Do not improve calculations using cos of twice
63095         input for inputs above LDBL_MAX / 2.0L.
63096         (__ieee754_y1l): Likewise.
63097         * math/libm-test.inc (j0_test): Add another test.
63098         (j1_test): Likewise.
63099         (y0_test): Likewise.
63100         (y1_test): Likewise.
63101         * sysdeps/i386/fpu/libm-test-ulps: Update.
63103 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63105         * Rules ($(objpfx)bench-%.c): Include code from a C source
63106         file.
63108 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63110         [BZ #15287]
63111         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63112         imaginary part 1.0 and real part less than 0.5 specially.
63113         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63114         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63115         * math/libm-test.inc (cacos_test): Add more tests.
63116         (casin_test): Likewise.
63117         (casinh_test): Likewise.
63118         * sysdeps/i386/fpu/libm-test-ulps: Update.
63119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63121 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63123         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63124         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63126 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63128         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63129         * config.make.in (config-cflags-sse4): Remove variable.
63130         (config-cflags-avx): Likewise.
63131         (config-cflags-sse2avx): Likewise.
63132         (config-cflags-novzeroupper): Likewise.
63133         (config-asflags-i686): Likewise.
63134         (have-mfma4): Likewise.
63135         (have-as-vis3): Likewise.
63136         (MIG): Likewise.
63137         * configure.in (MIG): Do not AC_SUBST.
63138         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63139         (libc_cv_cc_sse4): Do not AC_SUBST.
63140         (libc_cv_cc_avx): Likewise.
63141         (libc_cv_cc_sse2avx): Likewise.
63142         (libc_cv_cc_novzeroupper): Likewise.
63143         (libc_cv_cc_fma4): Likewise.
63144         (libc_cv_as_i686): Likewise.
63145         (libc_cv_sparc_as_vis3): Likewise.
63146         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63147         LIBC_CONFIG_VAR.
63148         (config-asflags-i686): Likewise.
63149         (config-cflags-avx): Likewise.
63150         (config-cflags-sse2avx): Likewise.
63151         (have-mfma4): Likewise.
63152         (config-cflags-novzeroupper): Likewise.
63153         * sysdeps/mach/configure.in (MIG): Likewise.
63154         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63155         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63156         LIBC_CONFIG_VAR.
63157         (config-cflags-avx): Likewise.
63158         (config-cflags-sse2avx): Likewise.
63159         (have-mfma4): Likewise.
63160         (config-cflags-novzeroupper): Likewise.
63161         * configure: Regenerated.
63162         * sysdeps/i386/configure: Likewise.
63163         * sysdeps/mach/configure: Likewise.
63164         * sysdeps/sparc/configure: Likewise.
63165         * sysdeps/x86_64/configure: Likewise.
63167 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63169         [BZ #14812]
63170         * locale/programs/localedef.c (options): Put N_ translation marker
63171         on argument names, not just descriptions.
63173 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63175         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63177 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63179         [BZ #14176]
63180         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63182 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63184         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63185         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63186         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63187         [!BEFORE_ABORT] (before_abort): New function.
63188         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63189         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63190         (writev_for_fatal): New function.
63191         (WRITEV_FOR_FATAL): New macro; call that.
63192         (backtrace_and_maps): New function.
63193         (BEFORE_ABORT): New macro; call that.
63194         (struct str_list): Type removed.
63195         (__libc_message, __libc_fatal): Functions removed.
63196         Include <sysdeps/posix/libc_fatal.c> instead.
63198 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63200         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63201         constants.
63202         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63203         double constants.
63205 2013-03-19  Andreas Schwab  <schwab@suse.de>
63207         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63208         * sysdeps/gnu/configure: Regenerate.
63210         * configure.in: Substitute libc_cv_rtlddir.
63211         * configure: Regenerate.
63212         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63213         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63214         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63215         * elf/Makefile (install-others, CFLAGS-interp.c)
63216         (ldso_install, common-ldd-rewrite): Likewise.
63217         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63218         $(inst_slibdir)/$(rtld-installed-name).
63219         * scripts/rellns-sh: Add -p option.
63220         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63221         for source.
63223 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63225         * manual/nptl.texi: Renamed to ...
63226         * manual/threads.texi: ... this.
63227         * manual/Makefile (chapters): Update.
63229 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63231         [BZ #14812]
63232         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63233         on argument names, not just descriptions.
63234         * malloc/memusagestat.c (options): Likewise.
63235         * nss/getent.c (options): Likewise.
63237 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63239         [BZ #14812]
63240         * iconv/iconv_prog.c (options): Put N_ translation marker
63241         on argument names, not just descriptions.
63242         * iconv/iconvconfig.c (options): Likewise.
63244 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63246         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63247         implementation which is faster on all x86_64 architectures.
63248         Tested on AMD, Intel Nehalem, SNB, IVB.
63249         * sysdeps/x86_64/strnlen.S: Likewise.
63251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63252         Remove all multiarch strlen and strnlen versions.
63253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63254         Remove strlen and strnlen related parts.
63256         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63257         Inline strlen part.
63258         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63260         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63261         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63262         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63263         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63264         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63265         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63267 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63269         * manual/memory.texi (Malloc Tunable Parameters):
63270         Sort parameters alphabetically. Add comments for missing entries.
63272 2013-03-17  David S. Miller  <davem@davemloft.net>
63274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63276 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63278         [BZ #15283]
63279         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63280         for arguments at most half maximum finite value.
63281         * math/libm-test.inc (j0_test): Add more tests.
63282         (j1_test): Likewise.
63283         (y0_test): Likewise.
63284         (y1_test): Likewise.
63285         * sysdeps/i386/fpu/libm-test-ulps: Update.
63286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63288         [BZ #14155]
63289         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63290         1 / x and functions P and Q for arguments above 0x1p256L.
63291         (__ieee754_y0l): Likewise.
63292         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63293         (__ieee754_y1l): Likewise.
63294         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63295         (j1_test): Likewise.
63296         (y0_test): Likewise.
63297         (y1_test): Likewise.
63299 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63301         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63302         variable.
63304 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63306         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63307         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63308         zero since it's initialized to EXEC_PAGESIZE.
63310         * sysdeps/unix/sysv/linux/ldsodefs.h
63311         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63312         * sysdeps/generic/ldsodefs.h: ... here.
63314 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63316         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63318         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63319         math/test-snan.c.
63320         * math/test-snan.c: Renamed from
63321         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63322         * math/Makefile (tests): Add test-snan.
63323         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63324         test-powerpc-snan.
63326         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63327         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63328         functions.
63329         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63330         __builtin_nan family of functions.
63331         * math/libm-test.inc (initialize): Initialize qnan_value with
63332         __builtin_nan family of functions.
63333         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63334         Remove variables.
63335         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63336         Remove functions.
63337         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63338         storage class.  Initialize qNaN_var and sNaN_var with
63339         __builtin_nan and __builtin_nans families of functions,
63340         respectively.
63342         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63343         (sqrt_test): Remove duplicate test with qNaN input.
63344         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63345         (round_test, signbit_test, significand_test): Note missing +/-Inf
63346         as well as qNaN tests.
63348         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63349         qNaN_var.  Fix a few strings, too.
63350         * math/libm-test.inc (nan_value): Rename to qnan_value.
63351         * math/gen-libm-test.pl (%beautify): Adjust to that.
63352         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63353         * math/test-misc.c (main): Likewise.
63354         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63355         to __qnan_bytes, and __qnan_union, respectively.
63356         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63357         Likewise.
63358         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63359         and lqnanval, respectively.
63360         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63361         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63362         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63363         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63365         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63366         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63367         doubles.
63369         * math/test-misc.c (main): Fix copy'n'pastos.
63370         * misc/tst-efgcvt.c (special): Likewise.
63372         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63373         Remove declarations.
63375 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63377         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63378         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63379         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63380         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63382 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63384         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63385         macro to return vdso values correctly in IFUNC implementations.
63386         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63387         Optimization by using IFUNC.
63389 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63390             Richard Henderson  <rth@redhat.com>
63391             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63393         * Makefile.in (bench): New target.
63394         * NEWS: Mention the benchmark framework.
63395         * Rules (bench): Likewise.
63396         (binaries-bench): Generate binaries for functions to
63397         benchmark.
63398         * benchtests/Makefile: New makefile for benchmark tests.
63399         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63400         programs.
63401         * benchtests/exp-inputs: New input file for EXP function.
63402         * benchtests/pow-inputs: New input file for POW function.
63403         * scripts/bench.pl: New script to generate source files for
63404         benchmark programs.
63406 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63408         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63409         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63410         computations on mantissa.  Use macros for rounding and
63411         division.
63412         (denorm): Likewise.
63413         (__dbl_mp): Likewise.
63414         (add_magnitudes): Likewise.
63415         (sub_magnitudes): Likewise.
63416         (__mul): Likewise.
63417         (__sqr): Likewise.
63418         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63419         powers of two in terms of TWOPOW macro.
63420         (mp_no): Make type of mantissa as MANTISSA_T.
63421         [!RADIXI]: Define RADIXI.
63422         [!TWO52]: Define TWO52.
63423         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63425         * manual/nptl.texi (cindex): Modify threads to pthreads.
63427 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63429         * sysdeps/x86_64/preconfigure: Regenerated.
63431 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63433         [BZ #14155]
63434         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63435         0x1p28 and above.
63436         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63437         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63438         0x1p28 and above.
63439         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63440         * math/libm-test.inc (j0_test): Do not allow one spurious
63441         underflow exception.
63442         (y1_test): Likewise.
63444 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63446         * manual/Makefile (chapters): Add nptl.
63447         * manual/debug.texi (Debugging Support): Add link to Threads
63448         chapter.
63449         * manual/nptl.texi: New file.
63451         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63453 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63455         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63456         for non-NULL pointer before the memory validity test. Pointed
63457         out by Holger Brunck <holger.brunck@keymile.com>.
63459 2013-03-13  Andreas Schwab  <schwab@suse.de>
63461         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63462         instead of .os.
63464 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63466         * timezone/zic.c: Update from tzcode 2013b.
63468 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63470         * manual/install.texi (Configuring and compiling):
63471         Mention i686 and i586.
63472         * INSTALL: Regenerate.
63474 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63476         * sysdeps/init_array/elf-init.c: New file.
63477         * csu/elf-init.c
63478         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63479         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63481         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63482         __gmon_start__ as global, but as static with a .preinit_array pointer.
63483         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63484         * sysdeps/init_array/crti.S: New file, empty except for comments.
63485         * sysdeps/init_array/crtn.S: Likewise.
63487 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63489         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63490         definining bcopy.
63491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63492         Remove Prefer_SSE_for_memop.
63493         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63494         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63495         HAS_PREFER_SSE_FOR_MEMOP.
63496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63497         memset-x86-64.
63498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63499         Remove bzero, memset ifunc support.
63500         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63501         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63502         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63503         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63505 2013-03-11  Andreas Schwab  <schwab@suse.de>
63507         [BZ #15234]
63508         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63509         by SHLIB_COMPAT.
63510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63511         (GLIBC_2.16): Remove pthread_atfork.
63513 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63515         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63516         (ptestcases.h): Likewise.
63518 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63520         * Makeconfig ($(common-objpfx)config.status): Depend on
63521         sysdeps/*/preconfigure{,.in} too.
63523 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63525         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63526         (__free_hook): Use void * instead of __malloc_ptr_t.
63527         (__malloc_hook): Likewise.
63528         (__realloc_hook): Likewise.
63529         (__memalign_hook): Likewise.
63530         (__after_morecore_hook): Likewise.
63531         * malloc/arena.c (save_malloc_hook): Likewise.
63532         (save_free_hook): Likewise.
63533         * malloc/hooks.c (malloc_hook_ini): Likewise.
63534         (realloc_hook_ini): Likewise.
63535         (memalign_hook_ini): Likewise.
63536         * malloc/malloc.c (malloc_hook_ini): Likewise.
63537         (realloc_hook_ini): Likewise.
63538         (memalign_hook_ini): Likewise.
63539         (__free_hook): Likewise.
63540         (__malloc_hook): Likewise.
63541         (__realloc_hook): Likewise.
63542         (__memalign_hook): Likewise.
63543         (__libc_malloc): Likewise.
63544         (__libc_free): Likewise.
63545         (__libc_realloc): Likewise.
63546         (__libc_memalign): Likewise.
63547         (__libc_valloc): Likewise.
63548         (__libc_pvalloc): Likewise.
63549         (__libc_calloc): Likewise.
63550         (__posix_memalign): Likewise.
63551         * malloc/morecore.c (__sbrk): Likewise.
63552         (__default_morecore): Likewise.
63554         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63556         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63557         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63558         __malloc_ptrdiff_t.
63560         * malloc/malloc.h (__malloc_size_t): Remove macro.
63561         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63562         __malloc_size_t.
63563         (old_memalign_hook): Likewise.
63564         (old_realloc_hook): Likewise.
63565         (struct hdr): Likewise.
63566         (flood): Likewise.
63567         (mallochook): Likewise.
63568         (memalignhook): Likewise.
63569         (reallochook): Likewise.
63570         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63571         (tr_old_realloc_hook): Likewise.
63572         (tr_old_memalign_hook): Likewise.
63573         (tr_mallochook): Likewise.
63574         (tr_reallochook): Likewise.
63575         (tr_memalignhook): Likewise.
63577 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63580         default_ldbl_pack and using as default implementation.
63581         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63582         implementation.
63583         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63584         redundant definition.
63585         (ldbl_insert_mantissa): Likewise.
63586         (ldbl_canonicalize): Likewise.
63587         (ldbl_nearbyint): Likewise.
63588         (ldbl_pack): Rename to ldbl_pack_ppc.
63589         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63590         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63591         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63593 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63596         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63597         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63598         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63600         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63601         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63602         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63604 2013-03-07  Andreas Jaeger  <aj@suse.de>
63606         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63607         bits/mman-linux.h.
63609 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63611         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63612         Include mpa.h and declare __MPEXP.
63613         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63614         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63615         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63616         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63617         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63618         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63619         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63621         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63622         (__slowpow): Use long double EXPL and LOGL functions to
63623         compute POW.
63624         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63625         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63626         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63627         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63628         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63629         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63632         intermediate variable to calculate exponent.
63633         (__sqr): Likewise.
63634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63635         Likewise.
63636         (__sqr): Likewise.
63638         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63639         [!NO__SQR]: Define __sqr.
63640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63641         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63642         sysdeps/ieee754/dbl-64/mpa.c.
63643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63645         [BZ #12723]
63646         * posix/Makefile (tests): Add tst-pathconf.
63647         * posix/tst-pathconf.c: New test case.
63648         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63649         _PC_PIPE_BUF.
63650         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63652 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63654         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63656 2013-03-06  Andreas Jaeger  <aj@suse.de>
63658         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63659         definition via __MAP_ANONYMOUS.
63661         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63662         it's not part of Linux headers.
63664         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63665         (MAP_HUGE_MASK): Define.
63667         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63668         Define.
63669         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63671         Define.
63672         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63673         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63674         Define.
63675         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63677         Define.
63678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63680         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63681         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63682         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63683         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63684         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63685         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63687         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63688         Handle f2fs.
63690         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63691         Handle f2fs and efivarfs.
63693         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63694         f2fs.
63696         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63697         (EFIVARFS_MAGIC): Add.
63698         (F2FS_LINK_MAX): Add.
63700 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63702         * stdio-common/vfprintf.c: Replace __builtin_expect with
63703         __glibc_unlikely.
63705 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63707         [BZ #13550]
63708         * sysdeps/generic/bp-sym.h: Remove file.
63709         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63710         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63711         <bp-sym.h> and <bp-asm.h>.
63712         (__longjmp): Don't use BP_SYM.
63713         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63714         and <bp-asm.h>.
63715         (memcpy): Don't use BP_SYM.
63716         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63717         <bp-sym.h> and <bp-asm.h>.
63718         (memcpy): Don't use BP_SYM.
63719         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63720         <bp-asm.h>.
63721         (memcpy): Don't use BP_SYM.
63722         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63723         <bp-asm.h>.
63724         (memset): Don't use BP_SYM.
63725         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63726         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63727         (__bzero): Don't use BP_SYM.
63728         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63729         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63730         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63731         <bp-sym.h> and <bp-asm.h>.
63732         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63733         pointers.
63734         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63735         <bp-sym.h> and <bp-asm.h>.
63736         (memcpy): Don't use BP_SYM.
63737         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63738         <bp-sym.h> and <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/strncmp.S: Don't include
63746         <bp-sym.h> and <bp-asm.h>.
63747         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63748         pointers.
63749         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63750         <bp-sym.h> and <bp-asm.h>.
63751         (memcpy): Don't use BP_SYM.
63752         * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
63761         <bp-sym.h> and <bp-asm.h>.
63762         (__memchr): Don't use BP_SYM.
63763         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63764         <bp-sym.h> and <bp-asm.h>.
63765         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63766         pointers.
63767         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63768         <bp-sym.h> and <bp-asm.h>.
63769         (memcpy): Don't use BP_SYM.
63770         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63771         <bp-sym.h> and <bp-asm.h>.
63772         (__mempcpy): Don't use BP_SYM.
63773         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63774         <bp-sym.h> and <bp-asm.h>.
63775         (__memrchr): Don't use BP_SYM.
63776         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63777         <bp-sym.h> and <bp-asm.h>.
63778         (memset): Don't use BP_SYM.
63779         (__bzero): Likewise.
63780         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63781         <bp-sym.h> and <bp-asm.h>.
63782         (__rawmemchr): Don't use BP_SYM.
63783         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63784         <bp-sym.h> and <bp-asm.h>.
63785         (__STRCMP): Don't use BP_SYM.
63786         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63787         <bp-sym.h> and <bp-asm.h>.
63788         (strchr): Don't use BP_SYM.
63789         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63790         <bp-sym.h> and <bp-asm.h>.
63791         (__strchrnul): Don't use BP_SYM.
63792         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63793         <bp-sym.h> and <bp-asm.h>.
63794         (strlen): Don't use BP_SYM.
63795         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63796         <bp-sym.h> and <bp-asm.h>.
63797         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63798         pointers.
63799         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63800         <bp-sym.h> and <bp-asm.h>.
63801         (__strnlen): Don't use BP_SYM.
63802         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63803         <bp-sym.h> and <bp-asm.h>.
63804         (__GI__setjmp): Don't use BP_SYM.
63805         (_setjmp): Likewise.
63806         (__sigsetjmp): Likewise.
63807         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63808         (L(start_addresses)): Don't use BP_SYM.
63809         (_start): Likewise.
63810         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63811         <bp-asm.h>.
63812         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63813         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63814         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63815         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63816         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63817         <bp-asm.h>.
63818         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63819         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63820         about bounded pointers.
63821         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63822         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63823         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63824         <bp-asm.h>.
63825         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63826         about bounded pointers.  Remove GKM FIXME comments.
63827         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63828         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63829         <bp-asm.h>.
63830         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63831         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63832         Remove GKM FIXME comments.
63833         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63834         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63835         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63836         <bp-asm.h>.
63837         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63838         about bounded pointers.  Remove GKM FIXME comment.
63839         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63840         and <bp-asm.h>.
63841         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63842         pointers.
63843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63844         <bp-sym.h> and <bp-asm.h>.
63845         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63847         <bp-sym.h> and <bp-asm.h>.
63848         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63849         comment.
63851 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63853         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63854         call free(NULL).
63856 2013-03-05  David S. Miller  <davem@davemloft.net>
63858         * po/es.po: Update from translation team.
63860 2013-03-05  Andreas Jaeger  <aj@suse.de>
63862         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63863         <bits/mman-linux.h>.
63864         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63865         is fine.
63866         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63867         <bits/mman-linux.h> to end of file.
63868         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63869         is fine.
63870         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63871         <bits/mman-linux.h> to end of file.
63872         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63873         is fine.
63874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63875         <bits/mman-linux.h> to end of file.
63877         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63878         (MCL_CURRENT, MCL_FUTURE): Define here.
63880 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63882         [BZ #15232]
63883         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63884         attribute_hidden.
63885         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63887 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63889         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63890         fourth parameter needed for rt_sigprocmask syscall.
63891         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63892         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63893         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63894         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63895         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63896         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63898 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63900         [BZ #13550]
63901         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63902         comment about bounded pointers.
63903         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63904         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63906 2013-03-04  Andreas Jaeger  <aj@suse.de>
63908         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63909         common definitions.
63911         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63912         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63913         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63914         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63915         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63916         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63918 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63920         [BZ #15055]
63921         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63922         __ieee754_sqrl instead of __sqrl.
63924 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63926         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63927         * sysdeps/powerpc/fpu_control.h: ... here.
63928         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63929         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63930         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63931         * sysdeps/powerpc/bits/mathinline.h: ... here.
63933 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63935         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63936         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63937         to just [NEED_DL_SYSINFO_DSO].
63938         * elf/dl-support.c: Likewise.
63939         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63940         * elf/rtld.c (dl_main): Likewise.
63941         * elf/setup-vdso.h (setup_vdso): Likewise.
63942         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63943         * sysdeps/unix/sysv/linux/dl-sysdep.c
63944         (_dl_discover_osversion): Likewise.
63946 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63948         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63949         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63951 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63953         * NEWS: Mention libm performance improvements and non-x86 PI
63954         futex support.
63956         * csu/libc-start.c (__pthread_initialize_minimal): Change
63957         function arguments.
63958         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63960 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63962         [BZ #13550]
63963         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63964         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63965         <bp-sym.h> and <bp-asm.h>.
63966         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63967         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63968         and <bp-asm.h>.
63969         (memcpy): Don't use BP_SYM.
63970         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63971         <bp-asm.h>.
63972         (__mpn_add_n): Don't use BP_SYM.
63973         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63974         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63975         and <bp-asm.h>.
63976         (__mpn_addmul_1): Don't use BP_SYM.
63977         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63978         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63979         <bp-sym.h>.
63980         (_setjmp): Don't use BP_SYM.
63981         (__novmx_setjmp): Likewise.
63982         (__GI__setjmp): Likewise.
63983         (__vmx_setjmp): Likewise.
63984         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63985         <bp-sym.h>.
63986         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63987         (__bzero): Don't use BP_SYM.
63988         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63989         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63990         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63991         <bp-sym.h> and <bp-asm.h>.
63992         (memcpy): Don't use BP_SYM.
63993         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63994         <bp-sym.h> and <bp-asm.h>.
63995         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63996         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63997         <bp-sym.h> and <bp-asm.h>.
63998         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63999         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64000         <bp-asm.h>.
64001         (__mpn_lshift): Don't use BP_SYM.
64002         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64003         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64004         <bp-asm.h>.
64005         (memset): Don't use BP_SYM.
64006         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64007         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64008         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64009         <bp-asm.h>.
64010         (__mpn_mul_1): Don't use BP_SYM.
64011         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64012         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64013         <bp-sym.h> and <bp-asm.h>.
64014         (memcmp): Don't use BP_SYM.
64015         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64016         <bp-sym.h> and <bp-asm.h>.
64017         (memcpy): Don't use BP_SYM.
64018         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64019         <bp-sym.h> and <bp-asm.h>.
64020         (memset): Don't use BP_SYM.
64021         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64022         <bp-sym.h> and <bp-asm.h>.
64023         (strncmp): Don't use BP_SYM.
64024         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64025         <bp-sym.h> and <bp-asm.h>.
64026         (memcpy): Don't use BP_SYM.
64027         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64028         <bp-sym.h> and <bp-asm.h>.
64029         (memset): Don't use BP_SYM.
64030         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64031         <bp-sym.h> and <bp-asm.h>.
64032         (__memchr): Don't use BP_SYM.
64033         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64034         <bp-sym.h> and <bp-asm.h>.
64035         (memcmp): Don't use BP_SYM.
64036         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64037         <bp-sym.h> and <bp-asm.h>.
64038         (memcpy): Don't use BP_SYM.
64039         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64040         <bp-sym.h> and <bp-asm.h>.
64041         (__mempcpy): Don't use BP_SYM.
64042         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64043         <bp-sym.h> and <bp-asm.h>.
64044         (__memrchr): Don't use BP_SYM.
64045         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64046         <bp-sym.h> and <bp-asm.h>.
64047         (memset): Don't use BP_SYM.
64048         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64049         <bp-sym.h> and <bp-asm.h>.
64050         (__rawmemchr): Don't use BP_SYM.
64051         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64052         <bp-sym.h> and <bp-asm.h>.
64053         (__STRCMP): Don't use BP_SYM.
64054         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64055         <bp-sym.h> and <bp-asm.h>.
64056         (strchr): Don't use BP_SYM.
64057         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64058         <bp-sym.h> and <bp-asm.h>.
64059         (__strchrnul): Don't use BP_SYM.
64060         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64061         <bp-sym.h> and <bp-asm.h>.
64062         (strlen): Don't use BP_SYM.
64063         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64064         <bp-sym.h> and <bp-asm.h>.
64065         (strncmp): Don't use BP_SYM.
64066         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64067         <bp-sym.h> and <bp-asm.h>.
64068         (__strnlen): Don't use BP_SYM.
64069         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64070         <bp-asm.h>.
64071         (__mpn_rshift): Don't use BP_SYM.
64072         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64073         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64074         <bp-sym.h> and <bp-asm.h>.
64075         (__sigsetjmp): Don't use BP_SYM.
64076         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64077         (L(start_addresses)): Don't use BP_SYM.
64078         (_start): Likewise.
64079         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64080         <bp-asm.h>.
64081         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64082         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64083         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64084         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64085         <bp-asm.h>.
64086         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64087         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64088         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64089         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64090         <bp-asm.h>.
64091         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64092         comments.
64093         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64094         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64095         <bp-asm.h>.
64096         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64097         FIXME comments.
64098         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64099         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64100         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64101         <bp-asm.h>.
64102         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64103         comment.
64104         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64105         and <bp-asm.h>.
64106         (strncmp): Don't use BP_SYM,
64107         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64108         <bp-asm.h>.
64109         (__mpn_sub_n): Don't use BP_SYM.
64110         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64111         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64112         and <bp-asm.h>.
64113         (__mpn_submul_1): Don't use BP_SYM.
64114         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64116         <bp-sym.h> and <bp-asm.h>.
64117         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64119         <bp-sym.h> and <bp-asm.h>.
64120         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64121         comment.
64123 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64126         Use ZK to minimize writes to Z.
64127         (sub_magnitudes): Simplify code a bit.
64128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64129         Use ZK to minimize writes to Z.
64130         (sub_magnitudes): Simplify code a bit.
64132 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64134         * csu/gmon-start.c: Add special exception to license text.
64136 2013-02-27  Richard Henderson  <rth@redhat.com>
64138         * scripts/config.guess: Update from config.git.
64139         * scripts/config.sub: Likewise.
64141 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64143         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64145         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64147         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64149         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64151         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64153 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64155         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64156         [$(build-shared = yes].
64158 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64160         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64161         (__mul): Reduce iterations for calculating mantissa.
64163         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64164         MPTWO.
64165         (__mpranred): Likewise.
64167         [BZ #15160]
64168         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64169         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64171 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64173         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64174         Define __attribute__.
64176 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64178         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64179         unused.
64180         * posix/regex_internal.h (__attribute): Remove.
64181         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64182         (re_string_context_at): Likewise.
64183         (bitset_not): Use __attribute__ and mark function as possibly
64184         unused.
64185         (bitset_merge): Likewise.
64186         (bitset_mask): Likewise.
64187         (re_string_char_size_at): Likewise.
64188         (re_string_wchar_at): Likewise.
64189         (re_string_elem_size_at): Likewise.
64191 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64193         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64194         code.
64195         (cc32): Likewise.
64197         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64198         (__acr): Likewise.
64199         (__cpy): Likewise.
64200         (norm): Likewise.
64201         (denorm): Likewise.
64202         (__dbl_mp): Likewise.
64203         (add_magnitudes): Likewise.
64204         (sub_magnitudes): Likewise.
64205         (__mul): Likewise.
64206         (__inv): Likewise.
64208         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64209         style.
64211         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64212         style.
64214         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64215         code.
64217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64218         up changes with default code.
64219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64220         Likewise.
64222 2013-02-24  Allan McRae  <allan@archlinux.org>
64224         * manual/socket.texi (The Internet Namespace): Order menu items
64225         to match that in the file.
64227         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64228         node listing of the info page menu.
64230 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64232         [BZ #13550]
64233         * sysdeps/i386/bp-asm.h: Remove file.
64234         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64235         (PARMS): Do not use macros from bp-asm.h.
64236         (S1): Likewise.
64237         (S2): Likewise.
64238         (SIZE): Likewise.
64239         (__mpn_add_n): Do not use BP_SYM
64240         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64241         "bp-asm.h".
64242         (PARMS): Do not use macros from bp-asm.h.
64243         (S1): Likewise.
64244         (SIZE): Likewise.
64245         (__mpn_addmul_1): Do not use BP_SYM
64246         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64247         "bp-asm.h".
64248         (PARMS): Do not use macros from bp-asm.h.
64249         (SIGMSK): Likewise.
64250         (_setjmp): Likewise.  Do not use BP_SYM.
64251         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64252         "bp-asm.h".
64253         (PARMS): Do not use macros from bp-asm.h.
64254         (SIGMSK): Likewise.
64255         (setjmp): Likewise.  Do not use BP_SYM.
64256         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64257         "bp-asm.h".
64258         (PARMS): Do not use macros from bp-asm.h.
64259         (__frexp): Do not use BP_SYM.
64260         (frexp): Likewise.
64261         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64262         "bp-asm.h".
64263         (PARMS): Do not use macros from bp-asm.h.
64264         (__frexpf): Do not use BP_SYM.
64265         (frexpf): Likewise.
64266         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64267         "bp-asm.h".
64268         (PARMS): Do not use macros from bp-asm.h.
64269         (__frexpl): Do not use BP_SYM.
64270         (frexpl): Likewise.
64271         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64272         "bp-asm.h".
64273         (PARMS): Do not use macros from bp-asm.h.
64274         (__remquo): Do not use BP_SYM.
64275         (remquo): Likewise.
64276         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64277         "bp-asm.h".
64278         (PARMS): Do not use macros from bp-asm.h.
64279         (__remquof): Do not use BP_SYM.
64280         (remquof): Likewise.
64281         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64282         "bp-asm.h".
64283         (PARMS): Do not use macros from bp-asm.h.
64284         (__remquol): Do not use BP_SYM.
64285         (remquol): Likewise.
64286         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64287         "bp-asm.h".
64288         (PARMS): Do not use macros from bp-asm.h.
64289         (DEST): Likewise.
64290         (SRC): Likewise.
64291         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64292         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64293         "bp-asm.h".
64294         (PARMS): Do not use macros from bp-asm.h.
64295         (strlen): Do not use BP_SYM.
64296         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64297         "bp-asm.h".
64298         (PARMS): Do not use macros from bp-asm.h.
64299         (S1): Likewise.
64300         (S2): Likewise.
64301         (SIZE): Likewise.
64302         (__mpn_add_n): Do not use BP_SYM.
64303         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64304         "bp-asm.h".
64305         (PARMS): Do not use macros from bp-asm.h.
64306         (S1): Likewise.
64307         (SIZE): Likewise.
64308         (__mpn_addmul_1): Do not use BP_SYM.
64309         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64310         weak_alias.
64311         (bzero): Likewise.
64312         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64313         "bp-asm.h".
64314         (PARMS): Do not use macros from bp-asm.h.
64315         (S): Likewise.
64316         (SIZE): Likewise.
64317         (__mpn_lshift): Do not use BP_SYM.
64318         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64319         "bp-asm.h".
64320         (PARMS): Do not use macros from bp-asm.h.
64321         (DEST): Likewise.
64322         (SRC): Likewise.
64323         (LEN): Likewise.
64324         (memcpy): Likewise.  Do not use BP_SYM.
64325         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64326         libc_hidden_def and weak_alias.
64327         (mempcpy): Do not use BP_SYM in weak_alias.
64328         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64329         "bp-asm.h".
64330         (PARMS): Do not use macros from bp-asm.h.
64331         (DEST): Likewise.
64332         (LEN): Likewise.
64333         [!BZERO_P] (CHR): Likewise.
64334         (memset): Likewise.  Do not use BP_SYM.
64335         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64336         "bp-asm.h".
64337         (PARMS): Do not use macros from bp-asm.h.
64338         (S1): Likewise.
64339         (SIZE): Likewise.
64340         (__mpn_mul_1): Do not use BP_SYM.
64341         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64342         "bp-asm.h".
64343         (PARMS): Do not use macros from bp-asm.h.
64344         (S): Likewise.
64345         (SIZE): Likewise.
64346         (__mpn_rshift): Do not use BP_SYM.
64347         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64348         "bp-asm.h".
64349         (PARMS): Do not use macros from bp-asm.h.
64350         (STR): Likewise.
64351         (CHR): Likewise.
64352         (strchr): Likewise.  Do not use BP_SYM.
64353         (index): Do not use BP_SYM in weak_alias.
64354         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64355         "bp-asm.h".
64356         (PARMS): Do not use macros from bp-asm.h.
64357         (DEST): Likewise.
64358         (SRC): Likewise.
64359         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64360         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64361         "bp-asm.h".
64362         (PARMS): Do not use macros from bp-asm.h.
64363         (strlen): Do not use BP_SYM.
64364         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64365         "bp-asm.h".
64366         (PARMS): Do not use macros from bp-asm.h.
64367         (S1): Likewise.
64368         (S2): Likewise.
64369         (SIZE): Likewise.
64370         (__mpn_sub_n): Do not use BP_SYM.
64371         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64372         "bp-asm.h".
64373         (PARMS): Do not use macros from bp-asm.h.
64374         (S1): Likewise.
64375         (SIZE): Likewise.
64376         (__mpn_submul_1): Do not use BP_SYM.
64377         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64378         "bp-asm.h".
64379         (PARMS): Do not use macros from bp-asm.h.
64380         (S1): Likewise.
64381         (S2): Likewise.
64382         (SIZE): Likewise.
64383         (__mpn_add_n): Do not use BP_SYM.
64384         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64385         weak_alias.
64386         (bzero): Likewise.
64387         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64388         "bp-asm.h".
64389         (PARMS): Do not use macros from bp-asm.h.
64390         (BLK2): Likewise.
64391         (LEN): Likewise.
64392         (memcmp): Do not use BP_SYM.
64393         (bcmp): Do not use BP_SYM in weak_alias.
64394         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64395         "bp-asm.h".
64396         (PARMS): Do not use macros from bp-asm.h.
64397         (DEST): Likewise.
64398         (SRC): Likewise.
64399         (LEN): Likewise.
64400         (memcpy): Likewise.  Do not use BP_SYM.
64401         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64402         "bp-asm.h".
64403         (PARMS): Do not use macros from bp-asm.h.
64404         (DEST): Likewise.
64405         (SRC): Likewise.
64406         (LEN): Likewise.
64407         (memmove): Likewise.  Do not use BP_SYM.
64408         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64409         "bp-asm.h".
64410         (PARMS): Do not use macros from bp-asm.h.
64411         (DEST): Likewise.
64412         (SRC): Likewise.
64413         (LEN): Likewise.
64414         (__mempcpy): Likewise.  Do not use BP_SYM.
64415         (mempcpy): Do not use BP_SYM in weak_alias.
64416         * sysdeps/i386/i686/memset.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         (LEN): Likewise.
64421         [!BZERO_P] (CHR): Likewise.
64422         (memset): Likewise.  Do not use BP_SYM.
64423         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64424         "bp-asm.h".
64425         (PARMS): Do not use macros from bp-asm.h.
64426         (STR2): Likewise.
64427         (strcmp): Do not use BP_SYM.
64428         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64429         "bp-asm.h".
64430         (PARMS): Do not use macros from bp-asm.h.
64431         (STR): Likewise.
64432         (DELIM): Likewise.
64433         [USE_AS_STRTOK_R] (SAVE): Likewise.
64434         (FUNCTION): Likewise.  Do not use BP_SYM.
64435         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64436         aliases.
64437         (strtok_r): Likewise.
64438         (__GI___strtok_r): Likewise.
64439         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64440         (PARMS): Do not use macros from bp-asm.h.
64441         (S): Likewise.
64442         (SIZE): Likewise.
64443         (__mpn_lshift): Do not use BP_SYM.
64444         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64445         (PARMS): Do not use macros from bp-asm.h.
64446         (STR): Likewise.
64447         (CHR): Likewise.
64448         (__memchr): Do not use BP_SYM.
64449         (memchr): Do not use BP_SYM in weak_alias.
64450         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64451         (PARMS): Do not use macros from bp-asm.h.
64452         (BLK2): Likewise.
64453         (LEN): Likewise.
64454         (memcmp): Do not use BP_SYM.
64455         (bcmp): Do not use BP_SYM in weak_alias.
64456         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64457         (PARMS): Do not use macros from bp-asm.h.
64458         (S1): Likewise.
64459         (SIZE): Likewise.
64460         (__mpn_mul_1): Do not use BP_SYM.
64461         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64462         "bp-asm.h".
64463         (PARMS): Do not use macros from bp-asm.h.
64464         (STR): Likewise.
64465         (CHR): Likewise.
64466         (__rawmemchr): Do not use BP_SYM.
64467         (rawmemchr): Do not use BP_SYM in weak_alias.
64468         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64469         (PARMS): Do not use macros from bp-asm.h.
64470         (S): Likewise.
64471         (SIZE): Likewise.
64472         (__mpn_rshift): Do not use BP_SYM.
64473         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64474         (PARMS): Do not use macros from bp-asm.h.
64475         (SIGMSK): Likewise.
64476         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64477         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64478         (_start): Do not use BP_SYM.
64479         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64480         (PARMS): Do not use macros from bp-asm.h.
64481         (DEST): Likewise.
64482         (SRC): Likewise.
64483         (__stpcpy): Likewise.  Do not use BP_SYM.
64484         (stpcpy): Do not use BP_SYM in weak_alias.
64485         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64486         "bp-asm.h".
64487         (PARMS): Do not use macros from bp-asm.h.
64488         (DEST): Likewise.
64489         (SRC): Likewise.
64490         (LEN): Likewise.
64491         (__stpncpy): Likewise.  Do not use BP_SYM.
64492         (stpncpy): Do not use BP_SYM in weak_alias.
64493         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64494         (PARMS): Do not use macros from bp-asm.h.
64495         (STR): Likewise.
64496         (CHR): Likewise.
64497         (strchr): Likewise.  Do not use BP_SYM.
64498         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64499         "bp-asm.h".
64500         (PARMS): Do not use macros from bp-asm.h.
64501         (STR): Likewise.
64502         (CHR): Likewise.
64503         (__strchrnul): Likewise.  Do not use BP_SYM.
64504         (strchrnul): Do not use BP_SYM in weak_alias.
64505         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64506         "bp-asm.h".
64507         (PARMS): Do not use macros from bp-asm.h.
64508         (STOP): Likewise.
64509         (strcspn): Do not use BP_SYM.
64510         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64511         "bp-asm.h".
64512         (PARMS): Do not use macros from bp-asm.h.
64513         (STR): Likewise.
64514         (STOP): Likewise.
64515         (strpbrk): Likewise.  Do not use BP_SYM.
64516         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64517         "bp-asm.h".
64518         (PARMS): Do not use macros from bp-asm.h.
64519         (STR): Likewise.
64520         (CHR): Likewise.
64521         (strrchr): Likewise.  Do not use BP_SYM.
64522         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64523         (PARMS): Do not use macros from bp-asm.h.
64524         (SKIP): Likewise.
64525         (strspn): Do not use BP_SYM.
64526         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64527         (PARMS): Do not use macros from bp-asm.h.
64528         (STR): Likewise.
64529         (DELIM): Likewise.
64530         (SAVE): Likewise.
64531         (FUNCTION): Likewise.  Do not use BP_SYM.
64532         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64533         aliases.
64534         (strtok_r): Likewise.
64535         (__GI___strtok_r): Likewise.
64536         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64537         (PARMS): Do not use macros from bp-asm.h.
64538         (S1): Likewise.
64539         (S2): Likewise.
64540         (SIZE): Likewise.
64541         (__mpn_sub_n): Do not use BP_SYM.
64542         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64543         "bp-asm.h".
64544         (PARMS): Do not use macros from bp-asm.h.
64545         (S1): Likewise.
64546         (SIZE): Likewise.
64547         (__mpn_submul_1): Do not use BP_SYM.
64548         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64549         <bp-sym.h>.
64550         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64551         and <bp-asm.h>.
64552         (PARMS): Do not use macros from bp-asm.h.
64553         (FLAGS): Likewise.
64554         (PTID): Likewise.
64555         (TLS): Likewise.
64556         (CTID): Likewise.
64557         (__clone): Do not use BP_SYM.
64558         (clone): Do not use BP_SYM in weak_alias.
64559         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64560         and <bp-asm.h>.
64561         (PARMS): Do not use macros from bp-asm.h.
64562         (LEN): Likewise.
64563         (__mmap64): Do not use BP_SYM.
64564         (mmap64): Do not use BP_SYM in weak_alias.
64565         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64566         <bp-sym.h> and <bp-asm.h>.
64567         (PARMS): Do not use macros from bp-asm.h.
64568         (__posix_fadvise64_l64): Do not use BP_SYM.
64569         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64570         (PARMS): Do not use macros from bp-asm.h.
64571         (NSOPS): Likewise.
64572         (semtimedop): Do not use BP_SYM.
64573         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64574         and <bp-asm.h>.
64576 2013-02-21  Allan McRae  <allan@archlinux.org>
64578         * manual/message.texi (Charset conversion in gettext):
64579         Move @end statement to beginning of line.
64581 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64584         static.
64585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64586         Likewise.
64588         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64589         (denorm): Likewise.
64590         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64593 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64595         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64596         tail-call to the resolved function if pltexit isn't needed.
64598 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64601         or Y being zero as being unlikely.
64602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64603         Likewise.
64605 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64607         * manual/nss.texi (System Databases and Name Service Switch):
64608         Remove frobnicate @pxref.
64610 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64612         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64613         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64615 2013-02-20  Petr Machata  <pmachata@redhat.com>
64617         * elf/elf.h (R_ARM_TARGET1): New macro.
64618         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64619         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64620         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64621         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64622         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64623         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64624         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64625         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64626         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64627         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64628         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64629         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64630         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64631         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64632         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64633         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64634         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64635         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64636         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64637         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64638         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64639         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64640         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64641         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64642         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64643         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64644         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64645         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64646         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64647         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64648         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64649         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64650         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64651         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64652         (R_ARM_THM_GOT_BREL12): Likewise.
64653         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64654         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64655         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64656         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64657         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64658         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64659         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64660         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64661         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64663 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64665         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64666         __attribute_used__ to __attribute__ ((unused)).
64668 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64670         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64671         powerpc mpa.c.
64672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64673         comment formatting.
64674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64676 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64678         [BZ #13550]
64679         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64680         Remove macro.
64681         (ENTER): Remove both macro definitions.
64682         (LEAVE): Likewise.
64683         (CHECK_BOUNDS_LOW): Likewise.
64684         (CHECK_BOUNDS_HIGH): Likewise.
64685         (CHECK_BOUNDS_BOTH): Likewise.
64686         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64687         (RETURN_BOUNDED_POINTER): Likewise.
64688         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64689         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64690         (POP_ERRNO_LOCATION_RETURN): Likewise.
64691         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64692         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64693         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64694         macros.
64695         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64696         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64697         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64698         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64699         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64700         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64701         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64702         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64703         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64704         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64705         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64706         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64707         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64708         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64709         removed macros.
64710         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64711         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64712         macros.
64713         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64714         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64715         * sysdeps/i386/i586/memset.S (memset): Likewise.
64716         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64717         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64718         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64719         macros.
64720         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64721         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64722         Change uses of L(2) to L(out).
64723         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64724         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64725         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64726         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64727         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64728         removed macros.
64729         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64730         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64731         macros.
64732         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64733         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64734         (RETURN): Do not use macro LEAVE.
64735         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64736         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64737         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64738         * sysdeps/i386/i686/memset.S (memset): Likewise.
64739         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64740         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64741         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64742         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64743         Likewise.
64744         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64745         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64746         L(1_2) and L(1_3) into L(1).
64747         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64748         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64749         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64750         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64751         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64752         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64753         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64754         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64755         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64756         macros.
64757         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64758         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64759         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64760         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64761         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64762         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64763         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64764         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64765         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64766         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64767         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64768         * sysdeps/i386/strspn.S (strspn): Likewise.
64769         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64770         conditional code.
64771         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64772         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64773         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64774         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64775         L(1_3) into L(1_1).
64776         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64777         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64778         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64779         macros.
64780         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64782 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64784         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64785         macro.
64787 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64789         * math/atest-exp.c (exp_mpn): Remove ROUND.
64790         * math/atest-exp2.c (exp_mpn): Likewise.
64791         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64793         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64794         * stdlib/tst-tls-atexit-lib.c: Likewise.
64795         * stdlib/tst-tls-atexit.c: Likewise.
64797 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64799         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64800         and __attribute_alloc_size__.
64802 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64804         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64805         __attribute_alloc_size__.
64806         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64807         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64809 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64811         * include/programs/xmalloc.h: New file.
64812         * catgets/gencat.c: Include it.
64813         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64814         * elf/pldd.c: Likewise.
64815         * iconv/iconv_charmap.c: Likewise.
64816         * iconv/iconvconfig.c: Likewise.
64817         * iconv/strtab.c: Likewise.
64818         * locale/programs/locale.c: Likewise.
64819         * locale/programs/localedef.h: Likewise.
64820         * locale/programs/simple-hash.c: Likewise.
64821         * nscd/nscd.h: Likewise.
64822         * nss/makedb.c: Likewise.
64823         * sysdeps/generic/ldconfig.h: Likewise.
64825 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64827         * Versions.def: Add GLIBC_2.18.
64828         * include/link.h (struct link_map): New member l_tls_dtor_count.
64829         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64830         (__call_tls_dtors): Likewise.
64831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64832         __cxa_thread_atexit_impl.
64833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64834         Likewise.
64835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64836         Likewise.
64837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64838         Likewise.
64839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64840         Likewise.
64841         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64843         Likewise.
64844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64845         Likewise.
64846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64848         Likewise.
64849         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64850         (tests): Add test case tst-tls-atexit.
64851         (modules-names): Add shared library for tst-tls-atexit.
64852         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64853         (GLIBC_PRIVATE): Add __call_tls_dtors.
64854         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64855         for libstdc++.
64856         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64857         * stdlib/tst-tls-atexit.c: New test case.
64858         * stdlib/tst-tls-atexit-lib.c: New test case.
64860         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64862         * elf/Versions (ld): Add _dl_find_dso_for_object.
64863         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64864         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64865         (dl_open_worker): Use _dl_find_dso_for_object.
64866         * elf/dl-sym.c (do_sym): Likewise.
64867         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64869 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64871         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64872         Syntactic changes only.
64873         (_dl_runtime_profile): Do a tail-call to the resolved function.
64875 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64877         [BZ #13550]
64878         * sysdeps/x86_64/bp-asm.h: Remove file.
64879         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64880         <bp-sym.h> and <bp-asm.h>.
64881         (__clone): Do not use BP_SYM.
64882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64883         <bp-sym.h> and <bp-asm.h>.
64884         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64885         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64886         "bp-asm.h".
64887         (_setjmp): Do not use BP_SYM.
64888         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64889         "bp-asm.h".
64890         (setjmp): Do not use BP_SYM.
64891         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64892         libc_hidden_def.
64893         (mempcpy): Do not use BP_SYM in weak_alias.
64894         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64895         "bp-asm.h".
64896         (strchr): Do not use BP_SYM.
64897         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64898         "bp-asm.h".
64899         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64900         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64901         (_start): Do not use BP_SYM.
64902         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64903         "bp-asm.h".
64904         (strcat): Do not use BP_SYM.
64905         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64906         "bp-asm.h".
64907         (STRCMP): Do not use BP_SYM.
64908         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64909         "bp-asm.h".
64910         (STRCPY): Do not use BP_SYM.
64911         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64912         "bp-asm.h".
64913         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64914         "bp-asm.h".
64915         (FUNCTION): Do not use BP_SYM.
64916         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64917         weak_alias.
64918         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64920 2013-02-17  Andreas Jaeger  <aj@suse.de>
64922         * time/Versions: Sort entries.
64923         * string/Versions: Likewise.
64924         * resolv/Versions: Likewise.
64925         * posix/Versions: Likewise.
64926         * iconv/Versions: Likewise.
64927         * elf/Versions: Likewise.
64928         * wcsmbs/Versions: Likewise.
64930 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64932         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64933         loop termination condition.
64935         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64936         variable to calculate EZ.
64937         (__sqr): Likewise.
64939         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64940         the lower precision input.
64942 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64944         [BZ #13550]
64945         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64946         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64947         (run-via-rtld-prefix): Do not handle %-bp tests.
64948         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64949         (all-object-suffixes): Remove .ob.
64950         (bppfx): Remove variable.
64951         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64952         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64953         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64954         [$(build-bounded) = yes] (libtype.ob): Likewise.
64955         * Makerules (elide-routines.ob): Remove variable.
64956         (do-tests-clean): Do not handle *-bp.out.
64957         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64958         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64959         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64960         (tests): Do not include $(tests-bp.out).
64961         (xtests): Do not include $(xtests-bp.out).
64962         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64963         [$(build-bounded) = yes] ($(addprefix
64964         $(objpfx),$(binaries-bounded))): Remove rule.
64965         ($(objpfx)%-bp.out): Remove rule.
64966         * config.make.in (build-bounded): Remove variable.
64967         * crypt/Makefile [$(build-bounded) = yes]
64968         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64969         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64970         append to variable.
64971         [$(build-bounded) = yes] (install-lib): Likewise.
64972         [$(build-bounded) = yes] (generated): Likewise.
64973         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64974         Remove rule.
64975         * intl/Makefile [$(build-bounded) = yes]
64976         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64977         * math/Makefile [$(build-bounded) = yes]
64978         ($(tests:%=$(objpfx)%-bp): Likewise.
64979         * misc/Makefile [$(build-bounded) = yes]
64980         ($(objpfx)tst-tsearch-bp): Likewise.
64981         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64982         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64983         Remove dependency.
64984         * string/Makefile (o-objects.ob): Remove variable.
64985         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64986         (CFLAGS-.ob): Remove variable.
64987         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64988         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64989         both definitions of variable.
64990         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64991         (ASFLAGS-.ob): Remove variable.
64993 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64995         [BZ #13550]
64996         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64997         Remove __BOUNDED_POINTERS__ from condition.
64998         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64999         * string/bits/string2.h [!__NO_STRING_INLINES &&
65000         !__BOUNDED_POINTERS__]: Likewise.
65001         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65002         Likewise.
65003         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65004         Remove conditional code.
65005         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65006         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65007         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65008         condition.
65010         [BZ #13550]
65011         * csu/libc-start.c: Do not include <bp-sym.h>.
65012         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65013         * elf/dl-open.c: Do not include <bp-sym.h>.
65014         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65015         * math/fegetenv.c: Do not include <bp-sym.h>.
65016         (fegetenv): Do not use BP_SYM in versioned symbols.
65017         * nptl/sysdeps/pthread/bits/libc-lockP.h
65018         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65019         <bp-sym.h>.
65020         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65021         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65022         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65023         (__pthread_mutex_destroy): Likewise.
65024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65025         (__pthread_mutex_lock): Likewise.
65026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65027         (__pthread_mutex_trylock): Likewise.
65028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65029         (__pthread_mutex_unlock): Likewise.
65030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65031         (__pthread_mutexattr_init): Likewise.
65032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65033         (__pthread_mutexattr_destroy): Likewise.
65034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65035         (__pthread_mutexattr_settype): Likewise.
65036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65037         (__pthread_rwlock_init): Likewise.
65038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65039         (__pthread_rwlock_destroy): Likewise.
65040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65041         (__pthread_rwlock_rdlock): Likewise.
65042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65043         (__pthread_rwlock_tryrdlock): Likewise.
65044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65045         (__pthread_rwlock_wrlock): Likewise.
65046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65047         (__pthread_rwlock_trywrlock): Likewise.
65048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65049         (__pthread_rwlock_unlock): Likewise.
65050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65051         (__pthread_key_create): Likewise.
65052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65053         (__pthread_setspecific): Likewise.
65054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65055         (__pthread_getspecific): Likewise.
65056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65057         Likewise.
65058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65059         (_pthread_cleanup_push_defer): Likewise.
65060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65061         (_pthread_cleanup_pop_restore): Likewise.
65062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65063         (pthread_setcancelstate): Likewise.
65064         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65065         <bp-sym.h>.
65066         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65067         (memchr): Do not use BP_SYM in weak_alias.
65068         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65069         (fegetenv): Do not use BP_SYM in versioned symbols.
65070         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65071         (fesetenv): Do not use BP_SYM in versioned symbols.
65072         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65073         (feupdateenv): Do not use BP_SYM in versioned symbols.
65074         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65075         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65076         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65077         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65078         (open64): Do not use BP_SYM in weak_alias.
65079         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65080         (fegetenv): Do not use BP_SYM in versioned symbols.
65081         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65082         (fesetenv): Do not use BP_SYM in versioned symbols.
65083         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65084         (feupdateenv): Do not use BP_SYM in versioned symbols.
65085         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65086         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65087         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65088         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65089         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65090         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65091         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65092         <bp-sym.h>.
65093         (__libc_start_main): Do not use BP_SYM.
65095 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65098         redundant return line.
65099         (norm): Likewise.
65100         (denorm): Likewise.
65101         (dbl_mp): Likewise.
65102         (sub_magnitudes): Likewise.
65103         (__add): Likewise.
65104         (__sub): Likewise.
65105         (__mul): Likewise.
65106         (__inv): Likewise.
65107         (__dvd): Likewise.
65108         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65109         (norm): Likewise.
65110         (denorm): Likewise.
65111         (dbl_mp): Likewise.
65112         (sub_magnitudes): Likewise.
65113         (__add): Likewise.
65114         (__sub): Likewise.
65115         (__mul): Likewise.
65116         (__inv): Likewise.
65117         (__dvd): Likewise.
65119         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65120         instead of __mul.
65121         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65122         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65123         (cc32): Likewise.
65125         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65126         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65127         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65128         of __mul for squares.
65129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65130         function
65131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65132         Likewise.
65133         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65134         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65136 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65138         [BZ #13550]
65139         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65140         code.
65141         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65142         prototype or function definition.  Rename ubp_* variables and
65143         parameters.  Remove argv definitions conditional on
65144         [__BOUNDED_POINTERS__].
65145         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65146         * elf/dl-runtime.c (_dl_fixup): Likewise.
65147         * include/set-hooks.h (RUN_HOOK): Likewise.
65148         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65149         definition.
65150         * string/strcpy.c (strcpy): Do not use __unbounded.
65151         * sysdeps/generic/frame.h (struct layout): Likewise.
65152         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65153         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65154         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65155         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65156         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65157         (__backtrace): Likewise.
65158         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65159         use __ptrvalue.
65160         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65161         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65162         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65163         Likewise.
65164         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65165         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65166         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65167         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65168         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65169         Do not use __unbounded.
65170         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65171         Rename __unboundedrlimits parameter to rlimits in prototype.
65172         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65173         Do not use __unbounded.
65174         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65175         not use __ptrvalue.
65176         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65177         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65178         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65179         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65180         __ptrvalue or __unbounded.
65181         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65182         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65183         use __unbounded.
65184         (__new_msgctl): Do not use __ptrvalue.
65185         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65186         __unbounded.
65187         (__libc_msgrcv): Do not use __ptrvalue.
65188         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65189         startup_info): Do not use __unbounded.
65190         (__libc_start_main): Likewise.  Rename ubp_* variables and
65191         parameters.  Remove argv definitions conditional on
65192         [__BOUNDED_POINTERS__].
65193         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65194         __ptrvalue.
65195         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65196         use __unbounded.
65197         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65198         or __ptrvalue.
65199         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65200         use __unbounded.
65201         (__new_shmctl): Do not use __ptrvalue.
65202         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65203         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65204         Likewise.
65205         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65207         (__libc_sigaction): Likewise.
65208         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65209         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65210         Likewise.
65211         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65213 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65215         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65217         * string/mempcpy.c: Implement by calling memcpy.
65219 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65221         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65224         evaluation.
65226         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65227         values in the mantissa.
65229         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65230         minimize writes to Z.
65231         (sub_magnitudes): Simplify code a bit.
65233 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65235         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65236         from the message.  The linker prefixes all warnings with that already.
65238 2013-02-12  Andreas Schwab  <schwab@suse.de>
65240         [BZ #15078]
65241         * posix/regexec.c (extend_buffers): Add parameter min_len.
65242         (check_matching): Pass minimum needed length.
65243         (clean_state_log_if_needed): Likewise.
65244         (get_subexp): Likewise.
65245         * posix/Makefile (tests): Add bug-regex34.
65246         (bug-regex34-ENV): Define.
65247         * posix/bug-regex34.c: New file.
65249         [BZ #11561]
65250         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65251         elements compare against the byte sequence of it, not its name.
65252         * posix/Makefile (tests): Add bug-regex35.
65253         (bug-regex35-ENV): Define.
65254         * posix/bug-regex35.c: New file.
65256 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65258         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65259         comment.
65260         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65261         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65262         (CHECK_EOL): Add undef.
65264 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65266         * bits/stdlib-bsearch.h: New file.
65267         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65268         * stdlib/stdlib.h: Likewise.
65270 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65272         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65273         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65274         declaration.
65275         * manual/search.texi (Array Search Function): Add missing const in
65276         lfind prototype.
65277         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65278         declaration to use rlim_t.
65279         (Basic Scheduling Functions): Remove erroneous const from
65280         sched_getparam prototype.  Remove erroneous * from
65281         sched_get_priority_max and sched_get_priority_min prototypes.
65282         (Resource Usage): Fix summary @comment on vtimes to refer to
65283         sys/vtimes.h rather than vtimes.h.
65284         Add missing *s in vtimes prototype.
65285         (Limits on Resources): Fix ulimit prototype to return long int.
65286         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65287         prototypes to use long int rather than double.
65288         (BSD Random): Fix initstate and setstate to use char *, not void *.
65289         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65290         prototype to make second argument 'struct aiocb64 *const[]'.
65291         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65292         (Status of AIO Operations): Remove erroneous const in aio_return and
65293         aio_return64 prototypes.
65294         (Synchronizing I/O): Fix sync prototype to return void.
65295         * manual/startup.texi (Suboptions): Remove an erroneous const in
65296         getsubopt prototype.
65297         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65298         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65299         use size_t rather than int.
65300         (Scanning All Users): Likewise for getpwent_r.
65301         (Setting Groups): Add missing const to setgroups prototype.
65302         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65303         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65304         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65305         'const void *' rather than 'const char *'.
65306         (Host Address Functions): Likewise for inet_ntop.
65307         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65308         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65309         ssize_t for return value.
65310         (Sending Data): Likewise for send, sendto, sendmsg.
65311         (Socket Option Functions): Add a missing const in setsockopt prototype.
65312         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65313         use wchar_t for the argument.
65314         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65315         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65316         take no arguments.
65317         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65318         double/float/long double for second argument.
65319         Fix return types of significand, significandf, significandl.
65320         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65321         argument in fchmod prototype.
65322         (File Owner): Use uid_t and gid_t in fchown prototype.
65323         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65324         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65325         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65326         use 'const struct dirent **' as argument types to CMP function pointer
65327         argument.
65328         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65329         (File Times): Fix summary magic @comment for struct utimbuf and utime
65330         to refer to utime.h, not time.h.
65331         * manual/string.texi (Argz Functions): Add missing const in
65332         argz_extract and argz_next prototypes.
65333         (Finding Tokens in a String): Likewise for basename.
65334         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65335         (Copying and Concatenation): Fix typo in wmemmove prototype.
65336         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65337         (Signal Stack): Remove erroneous const in sigstack prototype.
65338         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65339         prototype.
65340         (Simple Calendar Time): Likewise for stime.
65341         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65342         prototype.
65343         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65344         say sys/sysctl.h instead.
65345         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65346         and vsyslog prototypes.
65348 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65350         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65351         Remove.
65353 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65355         * misc/sys/mman.h: Fix typo in mremap comment.
65357 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65359         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65360         the '\0' terminator.
65362 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65364         [BZ #13550]
65365         * debug/segfault.c: Don't include <bp-checks.h>.
65366         * sysdeps/generic/bp-checks.h: Remove file.
65367         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65368         (__GETDENTS): Don't use CHECK_N.
65369         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65370         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65371         (__getgroups): Don't use CHECK_N.
65372         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65373         (setgroups): Don't use CHECK_N.
65374         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65375         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65376         (__libc_msgrcv): Don't use CHECK_N.
65377         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65378         (__libc_msgsnd): Don't use CHECK_N.
65379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65380         <bp-checks.h>.
65381         (__libc_pread): Don't use CHECK_N.
65382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65383         include <bp-checks.h>.
65384         (__libc_pread64): Don't use CHECK_N.
65385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65386         include <bp-checks.h>.
65387         (__libc_pwrite): Don't use CHECK_N.
65388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65389         include <bp-checks.h>.
65390         (__libc_pwrite64): Don't use CHECK_N.
65391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65392         <bp-checks.h>.
65393         (__libc_pread): Don't use CHECK_N.
65394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65395         include <bp-checks.h>.
65396         (__libc_pread64): Don't use CHECK_N.
65397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65398         include <bp-checks.h>.
65399         (__libc_pwrite): Don't use CHECK_N.
65400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65401         include <bp-checks.h>.
65402         (__libc_pwrite64): Don't use CHECK_N.
65403         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65404         (do_pread): Don't use CHECK_N.
65405         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65406         (do_pread64): Don't use CHECK_N.
65407         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65408         (do_pwrite): Don't use CHECK_N.
65409         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65410         (do_pwrite64): Don't use CHECK_N.
65411         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65412         (__libc_readv): Don't use CHECK_N.
65413         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65414         (semop): Don't use CHECK_N.
65415         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65416         <bp-checks.h>.
65417         (semtimedop): Don't use CHECK_N.
65418         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65419         (__libc_pread): Don't use CHECK_N.
65420         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65421         <bp-checks.h>.
65422         (__libc_pread64): Don't use CHECK_N.
65423         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65424         <bp-checks.h>.
65425         (__libc_pwrite): Don't use CHECK_N.
65426         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65427         <bp-checks.h>.
65428         (__libc_pwrite64): Don't use CHECK_N.
65429         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65430         <bp-checks.h>.
65431         (__libc_msgrcv): Don't use CHECK_N.
65432         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65433         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65434         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65435         (__libc_writev): Don't use CHECK_N.
65437 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65439         * string/strcpy.c: Removed unused variable.
65441         * Makeconfig (+sysdep-includes): Define with := rather than =.
65442         Use an existing include/ subdir of each sysdeps dir before it.
65444 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65446         * nscd/connection.c (register_traced_file): Comment function.
65447         [HAVE_INOTIFY] (union __inev): Define.
65448         [HAVE_INOTIFY] (inotify_check_files): New function.
65449         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65450         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65451         clear_db_cache.
65452         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65454 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65456         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65457         loaded if not already and that a failure is permanent.
65459 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65461         [BZ #15006]
65462         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65463         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65465 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65467         [BZ #13550]
65468         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65469         (CHECK_1_NULL_OK): Likewise.
65470         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65471         (__fxstat): Do not use CHECK_1.
65472         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65473         <bp-checks.h>.
65474         (___fxstat64): Do not use CHECK_1.
65475         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65476         <bp-checks.h>.
65477         (__fxstatat): Do not use CHECK_1.
65478         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65479         <bp-checks.h>.
65480         (__fxstatat64): Do not use CHECK_1.
65481         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65482         <bp-checks.h>.
65483         (__fxstat): Do not use CHECK_1.
65484         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65485         <bp-checks.h>.
65486         (__fxstatat): Do not use CHECK_1.
65487         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65488         <bp-checks.h>.
65489         (__getresgid): Do not use CHECK_1.
65490         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65491         <bp-checks.h>.
65492         (__getresuid): Do not use CHECK_1.
65493         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65494         <bp-checks.h>.
65495         (__lxstat): Do not use CHECK_1.
65496         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65497         <bp-checks.h>.
65498         (__old_msgctl): Do not use CHECK_1.
65499         (__new_msgctl): Likewise.
65500         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65501         <bp-checks.h>.
65502         (__new_setrlimit): Do not use CHECK_1.
65503         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65504         <bp-checks.h>.
65505         (__old_shmctl): Do not use CHECK_1.
65506         (__new_shmctl): Likewise.
65507         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65508         <bp-checks.h>.
65509         (__xstat): Do not use CHECK_1.
65510         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65511         (__lxstat): Do not use CHECK_1.
65512         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65513         <bp-checks.h>.
65514         (___lxstat64): Do not use CHECK_1.
65515         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65516         (__old_msgctl): Do not use CHECK_1.
65517         (__new_msgctl): Likewise.
65518         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65519         <bp-checks.h>.
65520         (__gettimeofday): Do not use CHECK_1.
65521         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65522         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65523         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65524         <bp-checks.h>.
65525         (__gettimeofday): Do not use CHECK_1.
65526         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65527         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65528         (__new_shmctl): Do not use CHECK_1.
65529         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65530         <bp-checks.h>.
65531         (do_sigtimedwait): Do not use CHECK_1.
65532         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65533         <bp-checks.h>.
65534         (do_sigwaitinfo): Do not use CHECK_1.
65535         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65536         <bp-checks.h>.
65537         (msgctl): Do not use CHECK_1.
65538         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65539         <bp-checks.h>.
65540         (shmctl): Do not use CHECK_1.
65541         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65542         (ustat): Do not use CHECK_1.
65543         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65544         <bp-checks.h>.
65545         (__fxstat): Do not use CHECK_1.
65546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65547         <bp-checks.h>.
65548         (__fxstatat): Do not use CHECK_1.
65549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65550         <bp-checks.h>.
65551         (__lxstat): Do not use CHECK_1.
65552         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65553         <bp-checks.h>.
65554         (__xstat): Do not use CHECK_1.
65555         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65556         (__xstat): Do not use CHECK_1.
65557         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65558         (___xstat64): Do not use CHECK_1.
65560         [BZ #13550]
65561         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65562         definitions.
65563         (CHECK_BOUNDS_HIGH): Likewise.
65564         * string/strcpy.c: Do not include <bp-checks.h>.
65565         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65567 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65569         * nscd/nscd-client.h (__nscd_drop_map_ref):
65570         Add __attribute__ ((unused)).
65571         * nis/nss-nisplus.h (niserr2nss): Likewise.
65573         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65574         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65576         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65577         Remove inline keyword.
65578         * include/rounding-mode.h (round_away): Likewise.
65579         * libio/wfileops.c (adjust_wide_data): Likewise.
65580         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65581         (__m128i_strloadu_tolower): Likewise.
65582         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65583         (__m128i_strloadu_tolower): Likewise.
65584         * time/mktime.c (ydhms_diff): Likewise.
65585         * locale/elem-hash.h (elem_hash): Likewise.
65586         * locale/setlocale.c (setdata): Likewise.
65587         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65588         (re_string_wchar_at): Likewise.
65589         (bitset_not, bitset_merge, bitset_mask): Likewise.
65590         [!(__GNUC__ > 3)] (inline): Remove macro.
65591         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65592         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65593         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65594         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65595         * string/memcmp.c (memcmp_bytes): Likewise.
65596         * locale/programs/locarchive.c (compute_hashval): Likewise.
65597         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65598         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65599         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65600         * nss/getent.c (print_rpc, print_protocols): Likewise.
65601         (print_passwd, print_group, print_aliases): Likewise.
65602         * nis/nss-nisplus.h (niserr2nss): Likewise.
65603         * nscd/connections.c (restart_p): Likewise.
65604         Change return type to bool.
65606 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65608         * Makeconfig (all-Depend-files): Add existing
65609         $(sorted-subdirs:=/Depend) files.
65610         (all-subdirs): Remove nss.
65611         * sysdeps/unix/inet/Subdirs: Add it here instead.
65612         * hesiod/Depend: New file.
65614         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65615         instead of calling alloca.
65617         * io/lseek.c (__lseek): Rename to __libc_lseek.
65618         Define __lseek as an alias.
65620         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65622 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65624         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65625         else clause and remove check for non-standard endianness.
65627 2013-02-04  David S. Miller  <davem@davemloft.net>
65629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65631 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65633         [BZ #13550]
65634         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65635         (__ubp_memchr): Remove prototype.
65636         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65637         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65638         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65639         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65640         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65641         Remove alias.
65642         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65643         (__ubp_memchr): Likewise.
65644         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65645         (__ubp_memchr): Likewise.
65646         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65647         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65648         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65649         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65650         CHECK_STRING.
65651         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65652         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65653         (__getcwd): Do not use CHECK_STRING.
65654         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65655         <bp-checks.h>.
65656         (__real_chown): Do not use CHECK_STRING.
65657         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65658         <bp-checks.h>.
65659         (fchownat): Do not use CHECK_STRING.
65660         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65661         CHECK_STRING.
65662         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65663         <bp-checks.h>.
65664         (__lchown): Do not use CHECK_STRING.
65665         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65666         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65667         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65668         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65670         include <bp-checks.h>.
65671         (truncate64): Do not use CHECK_STRING.
65672         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65673         <bp-checks.h>.
65674         (__real_chown): Do not use CHECK_STRING.
65675         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65676         <bp-checks.h>.
65677         (__lchown): Do not use CHECK_STRING.
65678         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65679         <bp-checks.h>.
65680         (__chown): Do not use CHECK_STRING.
65681         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65682         <bp-checks.h>.
65683         (truncate64): Do not use CHECK_STRING.
65684         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65685         Likewise.
65686         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65687         (__xmknod): Do not use CHECK_STRING.
65688         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65689         <bp-checks.h>.
65690         (__xmknodat): Do not use CHECK_STRING.
65691         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65692         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65694 2013-02-04  Andreas Schwab  <schwab@suse.de>
65696         [BZ #14142]
65697         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65698         * include/netdb.h: Likewise for h_errno.
65699         * elf/tst-stackguard1.c: Include <tls.h>.
65701 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65703         * elf/link.h (struct link_map): Extend the l_addr comment.
65704         * include/link.h (struct link_map): Likewise.
65706 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65708         [BZ #13550]
65709         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65710         (BOUNDED_1): Remove macro.
65711         * debug/backtrace.c: Don't include <bp-checks.h>.
65712         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65713         (__backtrace): Likewise.
65714         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65715         <bp-checks.h>.
65716         (__backtrace): Don't use BOUNDED_1.
65717         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65718         <bp-checks.h>.
65719         (__backtrace): Don't use BOUNDED_1.
65720         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65721         (__backtrace): Don't use BOUNDED_1.
65722         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65723         (shmat): Don't use BOUNDED_N.
65725 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65727         [BZ #13550]
65728         * sysdeps/generic/bp-start.h: Remove file.
65729         * csu/libc-start.c: Don't include <bp-start.h>.
65730         (LIBC_START_MAIN): Set up __environ directly instead of using
65731         INIT_ARGV_and_ENVIRON.
65732         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65733         <bp-start.h>.
65735         [BZ #13550]
65736         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65737         definitions.
65738         (CHECK_FCNTL): Likewise.
65739         (CHECK_N_PAGES): Likewise.
65741         [BZ #13550]
65742         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65743         definitions.
65744         (CHECK_SIGSET_NULL_OK): Likewise.
65745         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65746         <bp-checks.h>.
65747         (sigpending): Don't use CHECK_SIGSET.
65748         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65749         <bp-checks.h>.
65750         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65751         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65752         <bp-checks.h>.
65753         (do_sigsuspend): Don't use CHECK_SIGSET.
65754         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65755         use CHECK_SIGSET.
65756         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65757         (do_sigwait): Don't use CHECK_SIGSET.
65758         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65759         use CHECK_SIGSET.
65760         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65761         include <bp-checks.h>.
65762         (sigpending): Don't use CHECK_SIGSET.
65763         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65764         include <bp-checks.h>.
65765         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65766         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65767         <bp-checks.h>.
65768         (sigpending): Don't use CHECK_SIGSET.
65769         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65770         <bp-checks.h>.
65771         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65773         [BZ #13550]
65774         * sysdeps/generic/bp-semctl.h: Remove file.
65775         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65776         <bp-checks.h> and <bp-semctl.h>.
65777         (__old_semctl): Don't use CHECK_SEMCTL.
65778         (__new_semctl): Likewise.
65779         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65780         and <bp-semctl.h>.
65781         (__old_semctl): Don't use CHECK_SEMCTL.
65782         (__new_semctl): Likewise.
65783         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65784         <bp-checks.h> and <bp-semctl.h>.
65785         (__old_semctl): Don't use CHECK_SEMCTL.
65786         (__new_semctl): Likewise.
65787         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65788         <bp-checks.h> and <bp-semctl.h>.
65789         (semctl): Don't use CHECK_SEMCTL.
65791         [BZ #13550]
65792         * Makerules (elide-bp-thunks): Remove variable.
65793         (elide-routines.oS): Don't use $(elide-bp-thunks).
65794         (elide-routines.os): Likewise.
65795         (elide-routines.o): Likewise.
65796         (elide-routines.op): Likewise.
65797         (elide-routines.og): Likewise.
65798         (objects): Don't use $(bp-thunks).
65799         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65800         include.
65801         (common-generated): Do not add s-proto-bp.d.
65802         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65803         (int): Likewise.
65804         (typ): Likewise.
65805         Do not generate makefile rules for bounded-pointer thunks.
65806         * sysdeps/generic/bp-thunks.h: Remove file.
65807         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65808         * sysdeps/unix/s-proto-bp.S: Likewise.
65810         [BZ #15062]
65811         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65812         parts of result separately when argument is not close to line from
65813         -i to i and one part of argument is small.
65814         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65815         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65816         * math/libm-test.inc (cacos_test): Add more tests.
65817         (casin_test): Likewise.
65818         (casinh_test): Likewise.
65819         * sysdeps/i386/fpu/libm-test-ulps: Update.
65820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65822 2013-01-31  David S. Miller  <davem@davemloft.net>
65824         * po/de.po: Update from translation team.
65826 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65828         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65830 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65832         * configure.in (_AC_PROG_CC_C89): New definition.
65833         * configure: Regenerate.
65835         * configure.in (AC_PROG_CPP): New definition.
65836         * configure: Regenerate.
65838 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65840         * debug/tst-backtrace.h: New file.
65841         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65842         (ret): Remove variable.
65843         (x): Likewise.
65844         (FAIL): Remove macro.
65845         (NO_INLINE): Likewise.
65846         (fn1): Use match function instead of strstr.
65847         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65848         (ret): Remove variable.
65849         (x): Likewise.
65850         (FAIL): Remove macro.
65851         (NO_INLINE): Likewise.
65852         (fn): Use match function instead of strstr.
65853         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65854         (ret): Remove variable.
65855         (x): Likewise.
65856         (FAIL): Remove macro.
65857         (NO_INLINE): Likewise.
65858         (handle_signal): Use match function instead of strstr.
65859         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65860         (ret): Remove variable.
65861         (x): Likewise.
65862         (FAIL): Remove macro.
65863         (NO_INLINE): Likewise.
65864         (handle_signal): Use match function instead of strstr.
65866 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65868         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65870 2013-01-23  David S. Miller  <davem@davemloft.net>
65872         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65873         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65874         argument of CAS if possible.
65875         * sysdeps/sparc/sparc64/bits/atomic.h
65876         (__arch_compare_and_exchange_val_32_acq): Likewise.
65877         (__arch_compare_and_exchange_val_64_acq): Likewise.
65879 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65881         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65882         * sysdeps/posix/ulimit.c: ... this.
65883         Include <limits.h>.
65884         * sysdeps/unix/bsd/ulimit.c: Remove file.
65886 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65888         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65889         (LDFLAGS-tst-array5): Likewise.
65891 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65893         [BZ #15036]
65894         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65895         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65896         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65897         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65899 2013-01-21  David S. Miller  <davem@davemloft.net>
65901         * sysdeps/sparc/backtrace.c: New file.
65902         * sysdeps/sparc/sparc32/backtrace.h: New file.
65903         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65904         * sysdeps/sparc/sparc64/backtrace.h: New file.
65905         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65906         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65907         -funwind-tables.
65909 2013-01-21  Andreas Schwab  <schwab@suse.de>
65911         [BZ #15020]
65912         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65913         closed its stdout.
65915 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65918         "mpa2.h".
65919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65921 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65922             Mark Mitchell  <mark@codesourcery.com>
65923             Tom de Vries  <tom@codesourcery.com>
65924             Paul Pluzhnikov  <ppluzhnikov@google.com>
65926         * debug/tst-backtrace2.c: New file.
65927         * debug/tst-backtrace3.c: Likewise.
65928         * debug/tst-backtrace4.c: Likewise.
65929         * debug/tst-backtrace5.c: Likewise.
65930         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65931         (CFLAGS-tst-backtrace3.c): Likewise.
65932         (CFLAGS-tst-backtrace4.c): Likewise.
65933         (CFLAGS-tst-backtrace5.c): Likewise.
65934         (LDFLAGS-tst-backtrace2): Likewise.
65935         (LDFLAGS-tst-backtrace3): Likewise.
65936         (LDFLAGS-tst-backtrace4): Likewise.
65937         (LDFLAGS-tst-backtrace5): Likewise.
65938         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65939         tst-backtrace4 and tst-backtrace5.
65941 2013-01-18  Anton Blanchard  <anton@samba.org>
65942             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65944         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65945         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65946         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65947         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65949         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65950         "+r" and remove output regs list as redundant.  Add explicit inline
65951         asm to specify register of return val to work around compiler codegen
65952         bug.  Remove (int) cast on return value.  Add return type parameter to
65953         use in macro so that this macro does not truncate return value for
65954         64-bit values.
65955         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65956         pass to INTERNAL_VSYSCALL_NCS.
65957         (INLINE_VSYSCALL): Add 'long int' as return type to
65958         INTERNAL_VSYSCALL_NCS macro invocation.
65959         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65960         INTERNAL_VSYSCALL_NCS macro invocation.
65961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65963 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65965         [BZ #14496]
65966         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65967         Fix application of SIMD FP exception mask.
65969         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65970         mp_no from a power of two.
65971         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65972         __mpexp_twomm1.  Use __pow_mp.
65974         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65975         multiplication.
65977 2013-01-17  David S. Miller  <davem@davemloft.net>
65979         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65981 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65983         [BZ #15023]
65984         * include/complex.h: Condition contents on [!_COMPLEX_H].
65985         (__kernel_casinhf): New prototype.
65986         (__kernel_casinh): Likewise.
65987         (__kernel_casinhl): Likewise.
65988         * math/Makefile (libm_calls): Add k_casinh.
65989         * math/k_casinh.c: New file.
65990         * math/k_casinhf.c: Likewise.
65991         * math/k_casinhl.c: Likewise.
65992         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65993         finite nonzero arguments.
65994         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65995         finite nonzero arguments.
65996         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65997         finite nonzero arguments.
65998         * math/s_casinh.c: Do not include <float.h>.
65999         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66000         * math/s_casinhf.c: Do not include <float.h>.
66001         (__casinhf): Move code for finite nonzero arguments to
66002         k_casinhf.c.
66003         * math/s_casinhl.c: Do not include <float.h>.
66004         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66005         redefine.
66006         (__casinhl): Move code for finite nonzero arguments to
66007         k_casinhl.c.
66008         * math/libm-test.inc (cacos_test): Add more tests.
66009         * sysdeps/i386/fpu/libm-test-ulps: Update.
66010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66012 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66014         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66015         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66016         [!HAVE_MREMAP]: Remove [defined linux] case.
66017         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66019 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66021         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66023 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66025         * elf/elf.h (R_386_SIZE32): New relocation.
66026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66027         R_386_SIZE32.
66028         (elf_machine_rela): Likewise.
66029         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66030         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66032 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66034         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66035         (FP_FAST_FMA): Do not define.
66036         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66037         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66038         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66039         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66040         !_SOFT_FLOAT]: Likewise.
66041         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66042         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66043         value.
66044         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66045         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66046         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66047         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66048         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66049         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66050         file.
66052 2013-01-16  Andreas Schwab  <schwab@suse.de>
66054         [BZ #14327]
66055         * include/stdlib.h (__mktemp): Add declaration.
66056         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66057         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66059 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66061         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66062         definitions.
66063         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66064         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66065         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66066         definitions here.
66067         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66068         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66069         definitions.
66070         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66071         and ONE.
66072         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66073         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66074         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66075         definitions.
66076         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66077         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66078         definitions.
66079         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66081         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66083 2013-01-15  David S. Miller  <davem@davemloft.net>
66085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66086         trunc{,f} to libm-sysdep_routes.
66087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66089         file.
66090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66092         file.
66093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66094         file.
66095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66097         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66098         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66099         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66100         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66101         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66102         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66105         nearbyint{,f} to libm-sysdep_routes.
66106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66108         New file.
66109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66110         file.
66111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66112         New file.
66113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66114         file.
66115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66117         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66118         file.
66119         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66120         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66121         file.
66122         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66123         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66124         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66126         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66127         libc_feholdexcept and libc_fesetenv.
66129 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66131         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66133 2013-01-14  David S. Miller  <davem@davemloft.net>
66135         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66136         (SPARC_ASM_VIS2_IFUNC): Likewise.
66137         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66139         use of 'siam' instruction.
66140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66141         Likewise.
66142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66143         Likewise.
66144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66145         Likewise.
66146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66148         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66149         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66151         file.
66152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66153         file.
66154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66155         file.
66156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66157         file.
66158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66163         new VIS2 routines.
66164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66167         Likewise.
66168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66170         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66173         routines to libm-sysdep_routines.
66174         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66177         fdim/fdimf to libm-sysdep_routines.
66178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66179         file.
66180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66182         file.
66183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66186         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66187         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66188         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66189         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66191 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66194         to optimize copies.
66196         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66201         local variable MPTWO.
66202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66203         Likewise.
66205 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66207         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66208         GLOB_NOESCAPE.
66210 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66212         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66214 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66216         * manual/pattern.texi (glob_t): Document gl_flags.
66217         (glob64_t): Likewise.
66219 2013-01-11  David S. Miller  <davem@davemloft.net>
66221         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66222         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66223         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66224         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66225         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66226         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66227         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66228         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66229         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66230         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66231         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66232         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66233         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66235         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66236         sparc V9 rather than using V8 code.
66237         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66238         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66240         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66241         Move to...
66242         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66243         Here.
66245 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66247         [BZ #14941]
66248         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66249         not in the main loop.
66250         * configure: Regenerated.
66252 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66254         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66255         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66256         to just #else.
66257         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66258         [!__GLIBC_HAVE_LONG_LONG] case.
66259         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66260         condition to just #else.
66261         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66262         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66263         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66264         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66265         unconditional.
66266         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66267         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66268         #elif condition to just #else.
66269         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66270         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66271         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66272         #elif condition to just #else.
66274 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66276         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66277         (EF_MIPS_ARCH_64): Fix value.
66278         (EF_MIPS_ARCH_32R2): New.
66279         (EF_MIPS_ARCH_64R2): New.
66281 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66283         * Makeconfig (+link-pie-before-libc): New.
66284         (+link-pie-after-libc): Likewise.
66285         (+link-pie-tests): Likewise.
66286         (+link-pie): Rewritten.
66287         (link-before-libc): Remove $(config-LDFLAGS).
66288         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66289         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66290         (config-LDFLAGS): Renamed to ...
66291         (rtld-LDFLAGS): This.
66292         (rtld-tests-LDFLAGS): New macro.
66293         (link-libc-rpath-link): Likewise.
66294         (link-libc-tests-rpath-link): Likewise.
66295         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66296         (link-libc): Prepand $(link-libc-rpath-link).
66297         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66298         (test-program-prefix): New macro.
66299         (test-via-rtld-prefix): Likewise.
66300         (test-program-cmd): Likewise.
66301         (host-test-program-cmd): Likewise.
66302         * Makefile ($(common-objpfx)testrun.sh): Replace
66303         $(run-program-prefix) with $(test-program-prefix).
66304         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66305         $(rtld-LDFLAGS).
66306         ($(common-objpfx)shlib.lds): Likewise.
66307         (build-module-helper): Likewise.
66308         ($(common-objpfx)format.lds): Likewise.
66309         * Rules (binaries-pie-tests): New.
66310         (binaries-pie-notests): Likewise.
66311         (binaries-pie): Rewritten.
66312         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66313         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66314         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66315         (make-test-out): Replace $(host-built-program-cmd) with
66316         $(host-test-program-cmd).
66317         * config.make.in (build-hardcoded-path-in-tests): New variable.
66318         * configure.in (--enable-hardcoded-path-in-tests): New configure
66319         option.
66320         (hardcoded_path_in_tests): New AC_SUBST.
66321         * configure: Regenerated.
66322         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66323         $(built-program-cmd) with $(test-program-cmd).
66324         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66325         (test_program_cmd): This.
66326         * elf/Makefile ($(objpfx)order.out): Run test with
66327         $(test-program-prefix).
66328         ($(objpfx)order2.out): Likewise.
66329         ($(objpfx)tst-initorder.out): Likewise.
66330         ($(objpfx)tst-initorder2.out): Likewise.
66331         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66332         $(test-program-cmd).
66333         ($(objpfx)tst-array1-static.out): Likewise.
66334         ($(objpfx)tst-array2.out): Likewise.
66335         ($(objpfx)tst-array3.out): Likewise.
66336         ($(objpfx)tst-array4.out): Likewise.
66337         ($(objpfx)tst-array5.out): Likewise.
66338         ($(objpfx)tst-array5-static.out): Likewise.
66339         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66340         $(test-program-cmd).
66341         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66342         $(run-program-prefix) with $(test-program-prefix).
66343         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66344         (test_program_prefix): This.
66345         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66346         $(run-program-prefix) with $(test-program-prefix).
66347         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66348         (test_program_prefix): This.
66349         * iconvdata/tst-tables.sh: Likewise.
66350         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66351         $(run-program-prefix) with $(test-program-prefix).
66352         ($(objpfx)tst-translit.out): Likewise.
66353         ($(objpfx)tst-gettext2.out): Likewise.
66354         ($(objpfx)tst-gettext4.out): Likewise.
66355         ($(objpfx)tst-gettext6.out): Likewise.
66356         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66357         (test_program_prefix): This.
66358         * intl/tst-gettext2.sh: Likewise.
66359         * intl/tst-gettext4.sh  Likewise.
66360         * intl/tst-gettext6.sh: Likewise.
66361         * intl/tst-translit.sh: Likewise.
66362         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66363         with $(test-program-cmd).
66364         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66365         $(run-program-prefix) with $(test-program-prefix).
66366         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66367         (test_program_prefix): This.
66368         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66369         $(run-program-prefix) with $(test-program-prefix).
66370         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66371         (test_program_prefix): This.
66372         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66373         * posix/Makefile ($(objpfx)globtest.out): Replace
66374         $(run-via-rtld-prefix) and $(test-wrapper) with
66375         $(test-program-prefix) and $(test-via-rtld-prefix).
66376         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66377         $(test-program-prefix).
66378         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66379         $(host-test-program-cmd).
66380         (tst-spawn-ARGS): Likewise.
66381         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66382         $(test-program-prefix).
66383         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66384         (test_via_rtld_prefix): This.
66385         (test_wrapper): Renamed to ...
66386         (test_program_prefix): This.
66387         (run_program_prefix): Replaced by test_program_prefix.
66388         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66389         (test_program_prefix): This.
66390         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66391         with $(host-test-program-cmd).
66392         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66393         $(run-program-prefix) with $(test-program-prefix).
66394         ($(objpfx)tst-printf.out): Likewise.
66395         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66396         $(test-program-cmd).
66397         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66398         (test_program_prefix): This.
66399         * stdio-common/tst-unbputc.sh: Likewise.
66400         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66401         $(run-program-prefix) with $(test-program-prefix).
66402         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66403         (test_program_prefix): This.
66404         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66405         $(built-program-cmd) with $(test-program-cmd).
66407 2013-01-11  Andreas Jaeger  <aj@suse.de>
66409         [BZ #15003]
66410         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66411         value. Sync with Linux 3.7.
66413 2013-01-10  David S. Miller  <davem@davemloft.net>
66415         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66416         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66417         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66419 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66421         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66422         never set.
66423         * configure: Regenerated.
66425 2013-01-10  David S. Miller  <davem@davemloft.net>
66427         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66428         sparc V9 rather than using V8 code.
66429         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66430         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66432 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66434         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66435         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66436         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66437         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66438         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66439         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66440         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66441         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66442         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66443         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66444         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66445         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66446         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66447         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66448         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66449         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66450         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66451         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66452         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66453         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66454         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66455         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66456         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66457         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66458         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66459         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66460         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66462 2013-01-10  David S. Miller  <davem@davemloft.net>
66464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66466 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66468         * posix/Makefile (tests-static): New variable.
66469         (tests): Add $(tests-static).
66470         (tst-exec-static-ARGS): New variable.
66471         (tst-spawn-static-ARGS): Likewise.
66472         * posix/tst-exec-static.c: New file.
66473         * posix/tst-spawn-static.c: Likewise.
66474         * posix/tst-exec.c: Support run directly.
66475         * posix/tst-spawn.c: Likewise.
66477 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66479         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66480         long.
66481         * math/bits/mathcalls.h (llrint): Likewise.
66482         (llround): Likewise.
66483         * stdlib/stdlib.h (struct drand48_data): Likewise.
66484         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66485         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66486         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66487         Likewise.
66488         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66489         Likewise.
66490         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66491         (elf_greg_t): Likewise.
66492         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66493         (__jmp_buf): Likewise.
66494         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66495         definitions.
66496         (llrint): Likewise, for all definitions.
66497         (llrintl): Likewise.
66499         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66500         Remove [__GNUC__] condition.
66501         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66502         condition to just [__USE_ISOC99].
66503         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66505 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66507         [BZ #14200]
66508         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66509         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66510         defined.
66511         (_POSIX_V6_ILP32_OFF32): Likewise.
66512         (_XBS5_ILP32_OFF32): Likewise.
66513         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66514         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66516 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66518         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66521         doubles __mpexp_twomm1.  Adjust usage.
66522         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66523         Remove.
66525 2013-01-10  Andreas Schwab  <schwab@suse.de>
66527         [BZ #14964]
66528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66529         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66531 2013-01-09  David S. Miller  <davem@davemloft.net>
66533         [BZ #15003]
66534         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66535         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66536         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66537         (TCP_FASTOPEN): Define.
66538         (tcp_repair_opt): New structure.
66539         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66540         enum values.
66541         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66542         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66543         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66544         (tcp_cookie_transactions): New structure.
66546 2013-01-09  Anton Blanchard  <anton@samba.org>
66548         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66549         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66551         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66553 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66555         * include/features.h (__USE_ANSI): Remove.
66557 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66559         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66561         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66563 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66565         * sysdeps/s390/fpu/libm-test-ulps: Update.
66567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66569         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66570         (__acr): Likewise.
66571         (__cpy): Likewise.
66572         (norm): Likewise.
66573         (denorm): Likewise.
66574         (__mp_dbl): Likewise.
66575         (__dbl_mp): Likewise.
66576         (add_magnitudes): Likewise.
66577         (sub_magnitudes): Likewise.
66578         (__add): Likewise.
66579         (__sub): Likewise.
66580         (__mul): Likewise.
66581         (__inv): Likewise.
66582         (__dvd): Likewise.
66583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66584         (__acr): Likewise.
66585         (__cpy): Likewise.
66586         (norm): Likewise.
66587         (denorm): Likewise.
66588         (__mp_dbl): Likewise.
66589         (__dbl_mp): Likewise.
66590         (add_magnitudes): Likewise.
66591         (sub_magnitudes): Likewise.
66592         (__add): Likewise.
66593         (__sub): Likewise.
66594         (__mul): Likewise.
66595         (__inv): Likewise.
66596         (__dvd): Likewise.
66597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66598         (__acr): Likewise.
66599         (__cpy): Likewise.
66600         (norm): Likewise.
66601         (denorm): Likewise.
66602         (__mp_dbl): Likewise.
66603         (__dbl_mp): Likewise.
66604         (add_magnitudes): Likewise.
66605         (sub_magnitudes): Likewise.
66606         (__add): Likewise.
66607         (__sub): Likewise.
66608         (__mul): Likewise.
66609         (__inv): Likewise.
66610         (__dvd): Likewise.
66612 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66614         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66615         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66616         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66617         2 && __USE_EXTERN_INLINES]: Likewise.
66619 2013-01-08  Andreas Jaeger  <aj@suse.de>
66621         [BZ #14985]
66622         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66623         Remove.
66624         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66625         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66627 2013-01-07  Anton Blanchard  <anton@samba.org>
66629         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66630         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66631         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66632         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66633         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66634         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66635         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66636         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66638         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66639         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66640         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66642         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66643         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66644         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66645         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66647         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66648         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66649         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66650         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66651         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66652         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66653         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66654         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66655         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66656         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66657         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66658         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66659         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66661         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66662         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66663         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66664         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66665         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66667         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66668         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66669         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66670         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66671         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66673 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66675         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66676         (__MALLOC_PMT): Likewise.
66677         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66678         [__GNUC__], only on [_LIBC].
66679         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66680         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66681         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66682         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66683         forward declaration.
66684         (realloc_hook_ini): Likewise.
66685         (memalign_hook_ini): Likewise.
66686         (__libc_memalign): Do not use __MALLOC_PMT in variable
66687         declaration.
66688         (__libc_valloc): Likewise.
66689         (__libc_pvalloc): Likewise.
66690         (__libc_calloc): Likewise.
66691         (__posix_memalign): Likewise.
66693         [BZ #14996]
66694         * math/s_casinh.c: Include <float.h>.
66695         (__casinh): Do not do computation with squaring and square root
66696         for large arguments.
66697         * math/s_casinhf.c: Include <float.h>.
66698         (__casinhf): Do not do computation with squaring and square root
66699         for large arguments.
66700         * math/s_casinhl.c: Include <float.h>.
66701         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66702         (__casinhl): Do not do computation with squaring and square root
66703         for large arguments.
66704         * math/libm-test.inc (casin_test): Add more tests.
66705         (casinh_test): Likewise.
66706         * sysdeps/i386/fpu/libm-test-ulps: Update.
66707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66709 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66711         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66712         (__x86_64_raw_data_cache_size): Likewise.
66713         (__x86_64_data_cache_size_half): Likewise.
66714         (__x86_64_raw_data_cache_size_half): Likewise.
66715         (__x86_64_shared_cache_size): Likewise.
66716         (__x86_64_raw_shared_cache_size): Likewise.
66717         (__x86_64_shared_cache_size_half): Likewise.
66718         (__x86_64_raw_shared_cache_size_half): Likewise.
66719         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66720         to ...
66721         (__x86_data_cache_size): This.
66722         (__x86_64_raw_data_cache_size): Renamed to ...
66723         (__x86_raw_data_cache_size): This.
66724         (__x86_64_data_cache_size_half): Renamed to ...
66725         (__x86_data_cache_size_half): This.
66726         (__x86_64_raw_data_cache_size_half): Renamed to ...
66727         (__x86_raw_data_cache_size_half): This.
66728         (__x86_64_shared_cache_size): Renamed to ...
66729         (__x86_shared_cache_size): This.
66730         (__x86_64_raw_shared_cache_size): Renamed to ...
66731         (__x86_raw_shared_cache_size): This.
66732         (__x86_64_shared_cache_size_half): Renamed to ...
66733         (__x86_shared_cache_size_half): This.
66734         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66735         (__x86_raw_shared_cache_size_half): This.
66736         * sysdeps/x86_64/memcpy.S: Updated.
66737         * sysdeps/x86_64/memset.S: Likewise.
66738         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66739         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66740         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66742 2013-01-04  David S. Miller  <davem@davemloft.net>
66744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66746 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66748         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66749         1 to avoid redefinition warning.
66750         (__USE_GNU): Don't define.
66751         (init_signaling_nan): Protoize.
66753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66755 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66757         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66758         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66759         (__cpymn): Likewise.
66760         (norm): Remove commented code.
66761         (denorm): Likewise.
66762         (__mp_dbl): Likewise.
66763         (__inv): Likewise.
66764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66765         (__cpymn): Likewise.
66766         (norm): Remove commented code.
66767         (denorm): Likewise.
66768         (__mp_dbl): Likewise.
66769         (__inv): Likewise.
66771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66772         mp_no value for 1.0 and 2.0.
66773         (norm): Use RADIXI instead of radixi.d.
66774         (denorm): Likewise.
66775         (__mul): Use 0.0 instead of zero.d.
66776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66777         mp_no value for 1.0 and 2.0.
66778         (norm): Use RADIXI instead of radixi.d.
66779         (denorm): Likewise.
66780         (__mul): Use 0.0 instead of zero.d.
66782 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66784         [BZ #14994]
66785         * math/s_casinh.c (__casinh): Reduce finite argument to first
66786         quadrant then set signs of results at the end.
66787         * math/s_casinhf.c (__casinhf): Likewise.
66788         * math/s_casinhl.c (__casinhl): Likewise.
66789         * math/libm-test.inc (casin_test): Add more tests.
66790         (casinh_test): Likewise.
66791         * sysdeps/i386/fpu/libm-test-ulps: Update.
66792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66794 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66796         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66798         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66800         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66801         declarations.
66802         (denorm): Likewise.
66803         (__mp_dbl): Likewise.
66804         (__inv): Likewise.
66806         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66807         and adjust the header comment.
66809         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66810         variable name from declaration.
66812 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66815         Initialize COMMON_CPUID_INDEX_7 element.
66816         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66817         (CPUID_RTM): Likewise.
66818         (HAS_RTM): Likewise.
66819         (COMMON_CPUID_INDEX_7): New enum.
66821 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66823         [BZ #14981]
66824         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66825         size is zero, record memory as freed.
66827 2013-01-03  Andreas Jaeger  <aj@suse.de>
66829         * po/ia.po: Add new Interlingua translation.
66831 2012-01-03  Allan McRae  <allan@archlinux.org>
66833         * locale/programs/localedef.c: Fix description of '--posix' flag.
66835 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66837         * NEWS: Update dates in second copyright notice.
66838         * README: Update copyright dates in example.
66839         * manual/libc.texinfo: Update copyright dates.
66840         * scripts/test-installation.pl: Update copyright date in --version
66841         output.
66843         * hurd/ctty-input.c: Fix copyright notice formatting.
66844         * hurd/ctty-output.c: Likewise.
66845         * hurd/dtable.c: Likewise.
66846         * hurd/hurd-raise.c: Likewise.
66847         * hurd/hurdprio.c: Likewise.
66848         * hurd/msgportdemux.c: Likewise.
66849         * misc/sys/file.h: Likewise.
66850         * misc/sys/ioctl.h: Likewise.
66851         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66852         * sysdeps/mach/hurd/chdir.c: Likewise.
66853         * sysdeps/mach/hurd/fchdir.c: Likewise.
66854         * sysdeps/mach/hurd/rename.c: Likewise.
66855         * sysdeps/mach/hurd/rmdir.c: Likewise.
66856         * sysdeps/mach/hurd/seekdir.c: Likewise.
66857         * sysdeps/mach/hurd/setsid.c: Likewise.
66858         * sysdeps/posix/wait3.c: Likewise.
66860         * All files with FSF copyright notices: Update copyright dates
66861         using scripts/update-copyrights.
66862         * intl/plural.c: Regenerated.
66863         * locale/programs/charmap-kw.h: Likewise.
66864         * locale/programs/locfile-kw.h: Likewise.
66866 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66868         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66869         four values.
66871         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66872         calculation loop and add branch prediction.
66874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66875         check access beyond bounds of m1np.
66877         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66878         MPTWO.
66879         (__inv): Remove local variable MPTWO to use the global
66880         constant.
66881         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66882         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66883         variable MPTWO.
66884         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66885         MP3HALFS static const.
66887 2013-01-01  David S. Miller  <davem@davemloft.net>
66889         * po/ca.po: Update from translation team.
66891 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66893         * scripts/update-copyrights: New file.
66894         * Makeconfig: Reformat copyright notice.
66895         * ctype/ctype.h: Likewise.
66896         * debug/swprintf_chk.c: Likewise.
66897         * elf/dl-cache.c: Likewise.
66898         * elf/dl-debug.c: Likewise.
66899         * elf/dl-object.c: Likewise.
66900         * grp/initgroups.c: Likewise.
66901         * hurd/Makefile: Likewise.
66902         * hurd/hurd/signal.h: Likewise.
66903         * hurd/hurdfault.c: Likewise.
66904         * hurd/hurdioctl.c: Likewise.
66905         * hurd/hurdlookup.c: Likewise.
66906         * hurd/intr-msg.c: Likewise.
66907         * iconv/gconv_open.c: Likewise.
66908         * libio/swprintf.c: Likewise.
66909         * locale/lc-ctype.c: Likewise.
66910         * locale/nl_langinfo.c: Likewise.
66911         * mach/Machrules: Likewise.
66912         * mach/Makefile: Likewise.
66913         * malloc/obstack.h: Likewise.
66914         * manual/Makefile: Likewise.
66915         * manual/tsort.awk: Likewise.
66916         * misc/bits/stab.def: Likewise.
66917         * nis/nis_print_group_entry.c: Likewise.
66918         * nis/nis_table.c: Likewise.
66919         * nis/nss_compat/compat-pwd.c: Likewise.
66920         * nis/nss_compat/compat-spwd.c: Likewise.
66921         * po/Makefile: Likewise.
66922         * posix/fnmatch.c: Likewise.
66923         * posix/regex.h: Likewise.
66924         * resolv/Makefile: Likewise.
66925         * resolv/nss_dns/dns-network.c: Likewise.
66926         * resolv/res_hconf.c: Likewise.
66927         * scripts/gen-sorted.awk: Likewise.
66928         * soft-fp/soft-fp.h: Likewise.
66929         * stdio-common/printf.h: Likewise.
66930         * stdlib/monetary.h: Likewise.
66931         * stdlib/random.c: Likewise.
66932         * stdlib/random_r.c: Likewise.
66933         * sysdeps/generic/Makefile: Likewise.
66934         * sysdeps/gnu/Makefile: Likewise.
66935         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66936         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66937         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66939         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66940         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66941         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66942         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66943         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66945         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66946         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66947         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66948         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66949         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66950         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66951         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66952         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66953         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66954         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66955         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66956         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66957         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66958         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66959         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66960         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66961         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66962         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66963         * sysdeps/mach/hurd/errnos.awk: Likewise.
66964         * sysdeps/mach/hurd/fork.c: Likewise.
66965         * sysdeps/mach/hurd/getcwd.c: Likewise.
66966         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66967         * sysdeps/mach/hurd/mmap.c: Likewise.
66968         * sysdeps/mach/hurd/utimes.c: Likewise.
66969         * sysdeps/mach/hurd/xmknod.c: Likewise.
66970         * sysdeps/posix/profil.c: Likewise.
66971         * sysdeps/posix/readdir_r.c: Likewise.
66972         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66973         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66974         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66975         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66976         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66977         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66979         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66981         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66982         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66983         * sysdeps/pthread/lio_listio.c: Likewise.
66984         * sysdeps/sparc/dl-procinfo.h: Likewise.
66985         * sysdeps/unix/i386/sysdep.S: Likewise.
66986         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66987         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66988         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66989         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66991         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66992         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66993         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66994         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66995         * sysdeps/wordsize-32/divdi3.c: Likewise.
66996         * time/sys/time.h: Likewise.
66997         * wcsmbs/Makefile: Likewise.
66999 2013-01-01  David S. Miller  <davem@davemloft.net>
67001         * po/fr.po: Update from translation team.
67003         * catgets/gencat.c: Update copyright year.
67004         * csu/version.c: Likewise.
67005         * debug/catchsegv.sh: Likewise.
67006         * debug/pcprofiledump.c: Likewise.
67007         * debug/xtrace.sh: Likewise.
67008         * elf/ldconfig.c: Likewise.
67009         * elf/ldd.bash.in: Likewise.
67010         * elf/pldd.c: Likewise.
67011         * elf/sotruss.ksh: Likewise.
67012         * elf/sprof.c: Likewise.
67013         * iconv/iconv_prog.c: Likewise.
67014         * iconv/iconvconfig.c: Likewise.
67015         * locale/programs/locale.c: Likewise.
67016         * locale/programs/localedef.c: Likewise.
67017         * login/programs/pt_chown.c: Likewise.
67018         * malloc/memusage.sh: Likewise.
67019         * malloc/memusagestat.c: Likewise.
67020         * malloc/mtrace.pl: Likewise.
67021         * nscd/nscd.c: Likewise.
67022         * nss/getent.c: Likewise.
67023         * nss/makedb.c: Likewise.
67024         * posix/getconf.c: Likewise.
67026 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67028         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67029         numbers.
67031 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67033         * math/bits/mathcalls.h (modf): Use __nonnull.
67035 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67037         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67038         (split): Use macro CN instead of the bare value.
67039         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67040         could be used.
67041         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67042         instead of the bare value.
67043         (power1): Likewise.
67045 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67047         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67048         __ATAN_TWOM.
67049         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67051         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67052         their values.
67053         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67054         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67055         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67056         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67058 2012-12-28  Andreas Jaeger  <aj@suse.de>
67060         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67061         values are from Linux 3.7.
67063         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67064         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67066 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67068         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67069         TRUE case.
67071         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67072         (norm): Likewise.
67073         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67074         variables with preprocessor constants.
67075         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67076         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67077         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67079 2012-12-27  Bruno Haible  <bruno@clisp.org>
67081         [BZ #14317]
67082         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67083         only if needed.
67085 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67088         and use variable directly.
67089         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67091         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67092         MPONE.
67093         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67094         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67095         variable MPONE.
67096         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67098         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67099         include directive.  Remove local variable MPONE.
67100         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67101         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67104 2012-12-25  David S. Miller  <davem@davemloft.net>
67106         * version.h (RELEASE): Set to "development".
67107         (VERSION): Set to "2.17.90".
67108         * NEWS: Add 2.18 section.
67110 2012-12-21  David S. Miller  <davem@davemloft.net>
67112         * po/hr.po: Update from translation team.
67114 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67116         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67118 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67120         * NEWS:  Mention new memcpy for MIPS.
67122 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67124         * manual/contrib.texi (Contributors): Spelling correction.
67126 2012-12-15  David S. Miller  <davem@davemloft.net>
67128         * po/ru.po: Update from translation team.
67130 2012-12-13  David S. Miller  <davem@davemloft.net>
67132         * NEWS: Mention IFUNC testsuite enhancements.
67134         * po/pl.po: Update from translation team.
67135         * po/bg.po: Likewise.
67137         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67138         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67140 2012-12-11  David S. Miller  <davem@davemloft.net>
67142         * po/sv.po: Update from translation team.
67144         * po/vi.po: Update from translation team.
67146         * po/cs.po: Update from translation team.
67148         * po/de.po: Update from translation team.
67149         * po/eo.po: Likewise.
67150         * po/nl.po: Likewise.
67152 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67154         [BZ #14246]
67155         * manual/argp.texi (Argp Helper Functions): Move node to follow
67156         Argp Parsing State.
67158         [BZ #14872]
67159         * manual/conf.texi (Limits on File System Capacity): Mention if
67160         terminating null is included in the max size.
67162 2012-12-10  Andreas Jaeger  <aj@suse.de>
67164         * po/cs.po: Update from translation team.
67166 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67168         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67169         void pointer and cast to uintptr_t.
67170         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67171         path.
67172         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67173         * sysdeps/s390/s390-64/memset.S: Likewise.
67175 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67177         [BZ #14833]
67178         * menual/message.texi (Message Translation): Fix typos.
67179         (Helper programs for gettext): Likewise.
67181 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67183         [BZ #14898]
67184         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67185         Change to -1.
67187 2012-12-07  David S. Miller  <davem@davemloft.net>
67189         * po/libc.pot: Update.
67191 2012-12-07  Richard Henderson  <rth@redhat.com>
67193         [BZ #10114]
67194         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67195         normal/normal case to before the switch.
67196         (_FP_DIV): Likewise.
67198 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67199             Mike Frysinger  <vapier@gentoo.org>
67201         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67202         check for __NR_fadvise64_64.
67204 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67206         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67207         0, not just to plain "0" as a statement.
67208         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67209         with cw.
67211 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67213         * NEWS: Use sourceware.org in Bugzilla URL.
67215 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67218         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67220         * stdio-common/tst-put-error.c (do_test): Add newline to the
67221         padded test to ensure flush.
67223 2012-12-05  Jeff Law  <law@redhat.com>
67225         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67227 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67229         * README: Don't refer to ports add-on as distributed separately.
67230         Mention AArch64 in list of systems supported in the ports add-on.
67232         * LICENSES: Add more non-FSF copyright and license notices.
67234         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67235         ((unused)).
67237         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67239         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67240         10000 as width of padded output.
67242 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67244         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67246         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67247         variable LX with __attribute__ ((unused)).
67248         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67249         Likewise.
67250         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67252         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67253         with __attribute__ ((unused)).
67255 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67257         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67259 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67261         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67262         (CFLAGS-nldbl-acos.c): New variable.
67263         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67264         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67265         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67266         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67267         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67268         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67269         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67270         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67271         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67272         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67273         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67274         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67275         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67276         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67277         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67278         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67279         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67280         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67281         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67282         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67283         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67284         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67285         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67286         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67287         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67288         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67289         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67290         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67291         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67292         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67293         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67294         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67295         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67296         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67297         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67298         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67299         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67300         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67301         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67302         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67303         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67304         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67305         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67306         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67307         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67308         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67309         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67310         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67311         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67312         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67313         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67314         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67315         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67316         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67317         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67318         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67319         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67320         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67321         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67322         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67323         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67324         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67325         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67326         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67327         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67328         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67329         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67330         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67331         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67332         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67333         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67334         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67335         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67336         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67337         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67338         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67339         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67340         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67341         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67342         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67343         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67344         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67345         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67346         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67347         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67348         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67349         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67350         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67351         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67352         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67353         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67354         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67355         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67356         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67357         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67358         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67359         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67362         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67364         [BZ #14914]
67365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67366         whole low double instead of just low 47 bits when splitting values
67367         into two parts.
67369 2012-12-03  Allan McRae  <allan@archlinux.org>
67371         * manual/stdio.texi (Predefined Printf Handlers): Remove
67372         @hsep and @vsep usage.
67374 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67376         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67377         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67379 2012-12-03  Jeff Law  <law@redhat.com>
67381         * time/sys/time.h (settimeofday): Do not mark TV argument
67382         as __nonnull.
67384 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67386         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67387         when currently writing and seek to current position when not.
67388         * libio/Makefile (tests): Remove bug-fclose1.
67389         * libio/bug-fclose1.c: Delete.
67391 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67393         * manual/arith.texi (feenableexcept): Fix typo.
67394         (fedisableexcept): Likewise.
67396 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67398         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67399         second, differently-typed declaration, rather than a cast.
67401 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67403         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67404         * include/rpc/svc.h: ... here.
67406 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67408         [BZ #13013]
67409         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67410         depending n and resplen2 to catch cases where answer
67411         equals answerp2.
67413 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67415         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67416         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67418 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67422 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67424         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67426 2012-11-28  Jeff Law  <law@redhat.com>
67428         [BZ #13761]
67429         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67430         dataset_temporary.  Track alloca usage into alloca_used.
67431         If dataset is large allocate and release it via malloc/free.
67433 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67435         [BZ #14197]
67436         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67438 2012-11-28  David S. Miller  <davem@davemloft.net>
67440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67442 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67444         [BZ #14803]
67445         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67446         of pi/2 rounded to nearest to 64 bits.
67447         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67448         nearest to 64 bits.
67449         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67450         bits.
67452 2012-11-28  Jeff Law <law@redhat.com>
67453             Martin Osvald <mosvald@redhat.com>
67455         [BZ #14889]
67456         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67457         * sunrpc/svc.c: Include time.h.
67458         (__svc_accept_failed): New function.
67459         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67460         any reason other than EINTR, call __svc_accept_failed.
67461         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67462         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67464 2012-11-28  Andreas Schwab  <schwab@suse.de>
67466         * scripts/abilist.awk: Also handle indirect functions in .opd
67467         section.
67469 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67471         [BZ #13881]
67472         * sysdeps/x86/fpu/powl_helper.c: New file.
67473         * sysdeps/x86/fpu/Makefile: Likewise.
67474         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67475         (p3): New object.
67476         (__ieee754_powl): Use __powl_helper for finite arguments except
67477         integer exponents below 8.
67478         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67479         (p3): New object.
67480         (__ieee754_powl): Use __powl_helper for finite arguments except
67481         integer exponents below 8.
67482         * math/libm-test.inc (pow_test): Add more tests and enable some
67483         previously disabled tests.
67484         * sysdeps/i386/fpu/libm-test-ulps: Update.
67485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67487 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67488             Carlos O'Donell  <carlos_odonell@mentor.com>
67490         * nss/makedb.c (is_prime): Assert that input is odd and greater
67491         than 4.  Note that fact in a comment too.
67492         (next_prime): Add 4 to input.
67494 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67496         [BZ #11741]
67497         * libio/Makefile (tests): Add test case tst-fwrite-error.
67498         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67499         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67500         * libio/tst-fwrite-error.c: New test case.
67502 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67504         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67505         before casting to void *.
67506         * include/libc-internal.h (__pointer_type): New macro.
67507         (__integer_if_pointer_type_sub): Likewise.
67508         (__integer_if_pointer_type): Likewise.
67509         (cast_to_integer): Likewise.
67510         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67511         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67512         before casting to atomic64_t.
67513         (atomic_exchange_acq): Likewise.
67514         (__arch_exchange_and_add_body): Likewise.
67515         (__arch_add_body): Likewise.
67516         (atomic_add_negative): Likewise.
67517         (atomic_add_zero): Likewise.
67519 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67521         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67522         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67523         (add_fdes): Likewise.
67524         (linear_search_fdes): Likewise.
67525         (binary_search_unencoded_fdes): Likewise.
67527 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67529         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67531 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67533         * configure.in: Autodetect C++ header directories.
67534         * configure: Regenerated.
67536 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67538         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67540 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67544 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67546         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67547         LDBL_MANT_DIG == 106]: Disable some tests.
67548         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67549         Likewise.
67550         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67551         Likewise.
67553         [BZ #14871]
67554         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67555         input for small inputs.  Return +/- pi/2 for large inputs.
67556         * math/libm-test.inc (atan_test): Add more tests.
67558         * sysdeps/generic/unwind-dw2-fde-glibc.c
67559         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67560         __attribute__ ((unused)).
67562         [BZ #14645]
67563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67564         x * y if x and y are nonzero and z is zero.
67566         [BZ #14811]
67567         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67568         nonzero exponents with absolute value below 0x1p-117 to +/-
67569         0x1p-117.
67571         [BZ #14869]
67572         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67573         up arguments below 2**-450, not just those below 2**-500.
67574         * math/libm-test.inc (hypot_test): Add another test.
67576         [BZ #14868]
67577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67578         Return a+b for ratio over 2**120, not 2**60.
67579         * math/libm-test.inc (hypot_test): Add another test.
67581         * math/libm-test.inc (clog_test): Use
67582         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67583         (clog10_test): Likewise.
67585         [BZ #6778]
67586         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67588 2012-11-22  Andreas Schwab  <schwab@suse.de>
67590         * sysdeps/i386/fpu/libm-test-ulps: Update.
67592 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67594         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67595         printf output with newline.
67597 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67599         [BZ #14865]
67600         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67601         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67602         -z nodlopen, -z initfirst and -z execstack support.
67603         * configure: Regenerated.
67605         * elf/elf.h (DF_1_NODIRECT): New macro.
67606         (DF_1_IGNMULDEF): Likewise.
67607         (DF_1_NOKSYMS): Likewise.
67608         (DF_1_NOHDR): Likewise.
67609         (DF_1_EDITED): Likewise.
67610         (DF_1_NORELOC): Likewise.
67611         (DF_1_SYMINTPOSE): Likewise.
67612         (DF_1_GLOBAUDIT): Likewise.
67613         (DF_1_SINGLETON): Likewise.
67614         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67615         DT_1_SUPPORTED_MASK bits.
67616         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67618 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67620         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67622 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67624         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67625         macro.
67627         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67628         (sendmmsg): Move declarations...
67629         * socket/sys/socket.h: ... here.
67630         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67631         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67632         include it from...
67633         * socket/recvmmsg.c: ... this new file.
67634         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67635         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67636         definition of __sendmmsg hidden.
67637         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67638         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67639         Move ENOSYS stub into and include it from...
67640         * socket/sendmmsg.c: ... this new file.
67641         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67642         (sysdep_routines): Move recvmmsg and sendmmsg...
67643         * socket/Makefile (routines): ... here.
67644         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67645         (GLIBC_PRIVATE): Add __sendmmsg.
67646         * include/sys/socket.h (__sendmmsg): Add declarations.
67647         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67648         sendmmsg.
67650 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67652         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67653         variable I1 with __attribute__ ((unused)).
67654         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67656 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67658         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67659         DUMMY variables with __attribute__ ((unused)).
67661         * bits/byteswap.h: Include <bits/types.h>.
67662         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67664 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67666         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67667         string_t.  Do not manually set errno.
67668         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67669         length with __strnlen.  Make sure to both set errno and return it on
67670         failure.
67672 2012-11-19  David S. Miller  <davem@davemloft.net>
67674         With help from Joseph Myers.
67675         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67676         very large arguments properly.
67677         * math/libm-test.inc (atan_test): New tests.
67678         (atan2_test): New tests.
67679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67682 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67684         [BZ #14856]
67685         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67686         Define to 3.
67688         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67689         [POSIX] (EADDRNOTAVAIL): Likewise.
67690         [POSIX] (EAFNOSUPPORT): Likewise.
67691         [POSIX] (EALREADY): Likewise.
67692         [POSIX] (ECONNABORTED): Likewise.
67693         [POSIX] (ECONNREFUSED): Likewise.
67694         [POSIX] (ECONNRESET): Likewise.
67695         [POSIX] (EDESTADDRREQ): Likewise.
67696         [POSIX] (EDQUOT): Likewise.
67697         [POSIX] (EHOSTUNREACH): Likewise.
67698         [POSIX] (EIDRM): Likewise.
67699         [POSIX] (EISCONN): Likewise.
67700         [POSIX] (ELOOP): Likewise.
67701         [POSIX] (EMULTIHOP): Likewise.
67702         [POSIX] (ENETDOWN): Likewise.
67703         [POSIX] (ENETUNREACH): Likewise.
67704         [POSIX] (ENOBUFS): Likewise.
67705         [POSIX] (ENODATA): Likewise.
67706         [POSIX] (ENOLINK): Likewise.
67707         [POSIX] (ENOMSG): Likewise.
67708         [POSIX] (ENOPROTOOPT): Likewise.
67709         [POSIX] (ENOSR): Likewise.
67710         [POSIX] (ENOSTR): Likewise.
67711         [POSIX] (ENOTCONN): Likewise.
67712         [POSIX] (ENOTSOCK): Likewise.
67713         [POSIX] (EOPNOTSUPP): Likewise.
67714         [POSIX] (EOVERFLOW): Likewise.
67715         [POSIX] (EPROTO): Likewise.
67716         [POSIX] (EPROTONOSUPPORT): Likewise.
67717         [POSIX] (EPROTOTYPE): Likewise.
67718         [POSIX] (ESTALE): Likewise.
67719         [POSIX] (ETIME): Likewise.
67720         [POSIX] (ETXTBSY): Likewise.
67721         [POSIX] (EWOULDBLOCK): Likewise.
67722         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67723         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67724         [POSIX] (SEEK_CUR): Likewise.
67725         [POSIX] (SEEK_END): Likewise.
67726         [POSIX || UNIX98] (mode_t): Do not require.
67727         [POSIX] (off_t): Likewise.
67728         [POSIX] (pid_t): Likewise.
67729         [POSIX] (sys/stat.h): Do not allow header.
67730         [POSIX] (unistd.h): Likewise.
67731         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67732         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67733         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67734         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67735         require.
67736         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67737         sigevent): Specify elements.
67738         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67739         entry.
67740         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67741         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67743         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67744         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67745         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67746         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67747         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67748         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67749         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67750         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67751         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67752         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67753         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67754         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67755         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67756         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67757         Likewise.
67758         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67759         Likewise.
67760         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67761         Likewise.
67762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67763         Likewise.
67764         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67765         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67766         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67767         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67768         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67769         Specify lower bound on value.
67770         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67771         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67772         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67773         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67774         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67775         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67776         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67777         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67778         value.
67779         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67780         as optional.
67781         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67782         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67783         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67784         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67785         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67786         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67787         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67788         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67789         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67790         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67791         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67792         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67793         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67794         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67795         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67796         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67797         entry.
67798         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67799         optional.
67800         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67801         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67802         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67803         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67804         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67805         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67806         Likewise.
67807         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67808         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67809         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67810         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67811         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67812         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67813         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67814         as optional.
67815         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67816         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67817         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67818         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67819         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67820         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67821         specify as optional.
67822         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67823         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67824         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67825         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67826         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67827         [XPG3] (NL_LANGMAX): Likewise.
67828         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67829         [POSIX || XPG3] (NL_NMAX): Likewise.
67830         [POSIX || XPG3] (NL_SETMAX): Likewise.
67831         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67832         [XPG3] (NZERO): Likewise.
67833         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67834         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67835         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67836         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67837         (REG_ERANGE): Expect.
67838         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67839         optional-constant.
67840         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67841         Use (void) in prototype.
67842         [POSIX] (*_t): Allow.
67843         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67844         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67845         (WRDE_BADVAL): Expect.
67847         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67848         expect.
67849         [XPG3 || XPG4] (O_RSYNC): Likewise.
67850         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67851         Likewise.
67852         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67853         [XPG3 || XPG4] (sigqueue): Likewise.
67854         [XPG3 || XPG4] (sigtimedwait): Likewise.
67855         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67856         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67857         [XPG3 || XPG4] (vsnprintf): Likewise.
67858         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67859         Likewise.
67860         [XPG3 || XPG4] (blksize_t): Likewise.
67861         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67862         Likewise.
67863         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67864         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67865         [XPG3 || XPG4] (struct itimerspec): Likewise.
67866         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67867         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67868         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67869         [XPG3 || XPG4] (clockid_t): Likewise.
67870         [XPG3 || XPG4] (timer_t): Likewise.
67871         [XPG3 || XPG4] (clock_getres): Likewise.
67872         [XPG3 || XPG4] (clock_gettime): Likewise.
67873         [XPG3 || XPG4] (clock_settime): Likewise.
67874         [XPG3 || XPG4] (nanosleep): Likewise.
67875         [XPG3 || XPG4] (timer_create): Likewise.
67876         [XPG3 || XPG4] (timer_delete): Likewise.
67877         [XPG3 || XPG4] (timer_gettime): Likewise.
67878         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67879         [XPG3 || XPG4] (timer_settime): Likewise.
67880         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67881         [XPG3 || XPG4] (getlogin_r): Likewise.
67882         [XPG3 || XPG4] (pread): Likewise.
67883         [XPG3 || XPG4] (pthread_atfork): Likewise.
67884         [XPG3 || XPG4] (pwrite): Likewise.
67886         [BZ #14835]
67887         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67888         <bits/siginfo.h>.
67890 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67892         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67893         finalizing MALLSTREAM.
67895         * sysdeps/mach/hurd/syncfs.c: New file.
67897 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67899         [BZ #14719]
67900         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67901         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67902         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67903         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67904         (_nss_dns_gethostbyname4_r): Likewise.
67905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67906         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67908 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67910         [BZ #13763]
67911         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67913 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67915         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67916         * elf/cache.c (print_entry): Print ",AArch64" for
67917         FLAG_AARCH64_LIB64
67919         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67920         * elf/cache.c (print_entry): Print ",hard-float" for
67921         FLAG_ARM_LIBHF.
67923 2012-11-18  David S. Miller  <davem@davemloft.net>
67925         With help from Joseph Myers.
67926         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67927         cutoff to 2**-13.
67928         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67929         cutoff to 2**-25.
67930         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67931         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67932         small.
67933         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67934         * math/libm-test.inc (y0_test): New tests.
67935         (y1_test): New tests.
67936         * sysdeps/i386/fpu/libm-test-ulps: Update.
67937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67940 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67942         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67943         64-bit targets.
67944         * configure: Regenerated.
67946 2012-11-17  David S. Miller  <davem@davemloft.net>
67948         [BZ #14811]
67949         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67950         nonzero exponents with absolute value below 0x1p-128 to +/-
67951         0x1p-128.
67953 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67955         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67957         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67959         * posix/getconf-speclist.c: New file.
67960         * posix/posix-envs.def: Likewise.
67961         * posix/confstr.c (START_ENV_GROUP): New macro.
67962         (END_ENV_GROUP): Likewise.
67963         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67964         (KNOWN_PRESENT_ENV_STRING): Likewise.
67965         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67966         (UNKNOWN_ENVIRONMENT): Likewise.
67967         (confstr): Include posix-envs.def instead of handling
67968         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67969         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67970         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67971         (END_ENV_GROUP): Likewise.
67972         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67973         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67974         (UNKNOWN_ENVIRONMENT): Likewise.
67975         (__sysconf): Include posix-envs.def instead of handling associated
67976         cases directly here.
67977         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67978         preprocessing getconf-speclist.c rather than running getconf or
67979         generating empty file.
67981 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67983         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67985 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67987         [BZ #14672]
67988         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67990 2012-11-16  David S. Miller  <davem@davemloft.net>
67992         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67993         smaller than LDBL_EPSILON/2.0L, just return xm1.
67995 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67997         * elf/tst-array1.c (init): Set constructor priority to 1000.
67998         (fini): Set destructor priority to 1000.
67999         * elf/tst-array2dep.c: Likewise.
68001 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68003         [BZ #11741]
68004         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68005         (_IO_new_file_xsputn): Also return EOF if none of the input
68006         data was written when overflow failed.
68007         * libio/iopadn.c (_IO_padn): Likewise.
68008         * libio/iowpadn.c (_IO_wpadn): Likewise.
68009         * stdio-common/tst-put-error.c: Add copyright notice.
68010         (do_test): Add case for printing padded string.
68011         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68012         _IO_padn returned error.
68013         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68014         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68015         return EOF.
68017 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68019         * libio/libioP.h: Add comment note that the references to C++
68020         bits are now obsolete.
68022 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68024         * math/libm-test.inc (check_complex): Use asprintf.
68026 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68028         * debug/pcprofiledump.c (print_version): Update copyright year.
68029         * malloc/memusagestat.c (print_version): Likewise.
68031 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68033         [BZ #14831]
68034         * elf/Makefile (tests): Add tst-audit8.
68035         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68036         ($(objpfx)tst-audit8.out): New target.
68037         (tst-audit8-ENV): New variable.
68038         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68039         audit if l_reloc_result is NULL.
68040         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68041         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68042         * elf/tst-audit8.c: New file.
68044 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68046         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68047         * misc/Makefile (CFLAGS-select.c): Define.
68048         * posix/Makefile (CFLAGS-pause.c): Define.
68050 2012-11-13  David S. Miller  <davem@davemloft.net>
68052         * crypt/Makefile: Move test targets after toplevel Rules
68053         inclusion.  Grab any necessary sysdep routines when linking.
68054         * crypt/md5.c (md5_process_block): Remove define, we will always
68055         name it __md5_process_block.
68056         (md5_finish_ctx): Update md5_process_block call.
68057         (md5_stream): Likewise.
68058         (md5_process_bytes): Likewise.
68059         (md5_process_block): Rename to __md5_process_block and move to ...
68060         * crypt/md5-block.c: ... here.
68061         * crypt/sha256.c (sha256_process_block): Move to ...
68062         * crypt/sha256-block.c: ... here.
68063         * crypt/sha512.c (sha512_process_block): Move to ...
68064         * crypt/sha512-block.c: ... here.
68065         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68066         path.
68067         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68068         * sysdeps/sparc/sparc64/multiarch/Makefile
68069         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68070         crypt subdir.
68071         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68072         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68073         multiarch changes.
68074         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68075         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68076         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68077         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68078         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68079         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68080         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68081         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68082         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68083         file.
68084         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68085         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68086         file.
68087         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68089 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68091         * timezone/tzselect.ksh: Update from tzcode git revision
68092         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68093         * timezone/zdump.c: Likewise.
68094         * timezone/zic.c: Likewise.
68095         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68096         in TZVERSION setting, not $(PKGVERSION).
68097         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68098         REPORT_BUGS_TO settings.
68100         [BZ #14838]
68101         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68102         macro.
68104 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68106         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68107         detection to immediately after _FP_ROUND().
68108         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68109         bits are 0.
68111 2012-11-11  David S. Miller  <davem@davemloft.net>
68113         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68114         inttypes.h
68115         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68116         __close rather than their public counterparts.
68118 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68120         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68121         file.
68122         [UNIX98] (sem_timedwait): Do not expect.
68123         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68124         [XPG4 || UNIX98] (sockatmark): Do not expect.
68125         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68126         (clock_getcpuclockid): Do not expect.
68127         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68128         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68129         Do not expect.
68130         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68131         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68132         [UNIX98] (vwscanf): Likewise.
68133         [UNIX98] (vswscanf): Likewise.
68135 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68137         * timezone/version.h: Remove file.
68138         * timezone/README: Do not refer to version.h.
68139         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68140         $(objpfx)version.h.
68141         ($(objpfx)zdump.o): Likewise.
68142         ($(objpfx)version.h): New target.
68144         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68145         2012i.
68146         * timezone/README: Don't mention modification to tzselect.ksh.
68147         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68148         work on unmodified tzselect.ksh.  Substitute version numbers in
68149         tzselect.ksh.
68151         * Makefile (format-me): Remove.
68152         (INSTALL): Adjust indentation.  Use commands directly instead of
68153         using $(format-me).
68155         * aclocal.m4 (ACX_PKGVERSION): New macro.
68156         (ACX_BUGURL): Likewise.
68157         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68158         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68159         (REPORT_BUGS_TO): Likewise.
68160         * configure: Regenerated.
68161         * config.h.in (PKGVERSION): New macro.
68162         (REPORT_BUGS_TO): Likewise.
68163         * config.make.in (PKGVERSION): New variable.
68164         (PKGVERSION_TEXI): Likewise.
68165         (REPORT_BUGS_TO): Likewise.
68166         (REPORT_BUGS_TEXI): Likewise.
68167         * Makefile (format-me): Use -I$(common-objpfx)manual.
68168         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68169         ($(common-objpfx)manual/%): New target.
68170         (manual/%): Remove target.
68171         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68172         (print_version): Use PKGVERSION.
68173         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68174         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68175         and REPORT_BUGS_TO.
68176         ($(objpfx)xtrace): Likewise.
68177         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68178         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68179         (print_version): Use PKGVERSION.
68180         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68181         (do_version): Use PKGVERSION.
68182         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68183         REPORT_BUGS_TO.
68184         (common-ldd-rewrite): Likewise.
68185         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68186         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68187         (print_version): Use PKGVERSION.
68188         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68189         * elf/pldd.c (argp_program_bug_address): Remove variable.
68190         (more_help): New function.
68191         (argp): Use more_help.
68192         (print_version): Use PKGVERSION.
68193         * elf/sln.c (main): Use PKGVERSION.
68194         (usage): Use REPORT_BUGS_TO.
68195         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68196         (top level): Use PKGVERSION.
68197         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68198         (print_version): Use PKGVERSION.
68199         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68200         (print_version): Use PKGVERSION.
68201         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68202         (print_version): Use PKGVERSION.
68203         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68204         (print_version): Use PKGVERSION.
68205         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68206         (print_version): Use PKGVERSION.
68207         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68208         (print_version): Use PKGVERSION.
68209         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68210         and BUGURL.
68211         ($(objpfx)memusage): Likewise.
68212         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68213         (do_version): Use PKGVERSION.
68214         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68215         (print_version): Use PKGVERSION.
68216         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68217         ($PKGVERSION): New variable.
68218         ($REPORT_BUGS_TO): Likewise.
68219         (usage): Use $REPORT_BUGS_TO.
68220         (top level): Use $PKGVERSION.
68221         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68222         ($(objpfx)pkgvers.texi): New rule.
68223         ($(objpfx)stamp-pkgvers): Likewise.
68224         * manual/install.texi: Include pkgvers.texi.
68225         (--with-pkgversion): Document new configure option.
68226         (--with-bugurl): Likewise.
68227         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68228         than necessarily for this particular distribution.  Use
68229         REPORT_BUGS_TO for where to report bugs.
68230         * INSTALL: Regenerated.
68231         * manual/libc.texinfo: Include pkgvers.texi.
68232         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68233         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68234         (print_version): Use PKGVERSION.
68235         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68236         (print_version): Use PKGVERSION.
68237         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68238         (print_version): Use PKGVERSION.
68239         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68240         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68241         macro.
68242         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68243         (print_version): Use PKGVERSION.
68244         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68245         (print_version): Use PKGVERSION.
68246         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68247         and PKGVERSION.
68249         * timezone/checktab.awk: Update from tzcode 2012i.
68250         * timezone/ialloc.c: Likewise.
68251         * timezone/private.h: Likewise.
68252         * timezone/scheck.c: Likewise.
68253         * timezone/tzfile.h: Likewise.
68254         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68255         (TZVERSION): Hardcode tzcode version number.
68256         * timezone/zdump.c: Update from tzcode 2012i.
68257         * timezone/zic.c: Likewise.
68258         * timezone/version.h: New file.
68259         * timezone/README: Describe version.h.  Update upstream location.
68261         [BZ #14824]
68262         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68263         (mktemp): Enable declaration.
68264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68265         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68267         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68268         Likewise.
68269         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68270         Likewise.
68271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68272         Likewise.
68273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68274         Likewise.
68275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68276         Likewise.
68277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68278         Likewise.
68280         [BZ #14821]
68281         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68282         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68283         for copies of such integer values.
68284         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68285         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68287 2012-11-09  Andreas Jaeger  <aj@suse.de>
68289         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68290         definitions and declarations that are provided by
68291         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68293 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68295         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68296         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68297         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68298         definition.
68300 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68302         * elf/elf.h: Update comment before AArch64 relocations.
68304 2012-11-07  David S. Miller  <davem@davemloft.net>
68306         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68307         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68308         (__start_context): Declare.
68309         (__makecontext_ret): Delete.
68310         (__makecontext): Hook up __start_context instead of
68311         __makecontext_ret.
68312         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68313         (sysdep_routines): Add __start_context when in stdlib.
68315 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68317         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68318         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68319         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68320         hardcoded "nm".
68321         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68322         (READELF): New variable.  Use it instead of hardcoded "readelf".
68324 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68326         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68327         * sysdeps/x86/Makefile: Here.
68328         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68329         * sysdeps/x86/tst-xmmymm.sh: This.
68331 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68333         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68334         expectations.
68335         [UNIX98] (pthread_barrier_t): Do not expect.
68336         [UNIX98] (pthread_barrierattr_t): Likewise.
68337         [UNIX98] (pthread_spinlock_t): Likewise.
68338         [UNIX98] (pthread_barrier_destroy): Likewise.
68339         [UNIX98] (pthread_barrier_init): Likewise.
68340         [UNIX98] (pthread_barrier_wait): Likewise.
68341         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68342         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68343         [UNIX98] (pthread_barrierattr_init): Likewise.
68344         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68345         [UNIX98] (pthread_getcpuclockid): Likewise.
68346         [UNIX98] (pthread_mutex_timedlock): Likewise.
68347         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68348         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68349         [UNIX98] (pthread_sigmask): Likewise.
68350         [UNIX98] (pthread_spin_destroy): Likewise.
68351         [UNIX98] (pthread_spin_init): Likewise.
68352         [UNIX98] (pthread_spin_lock): Likewise.
68353         [UNIX98] (pthread_spin_trylock): Likewise.
68354         [UNIX98] (pthread_spin_unlock): Likewise.
68355         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68356         Do not expect.
68357         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68358         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68359         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68360         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68361         [XPG3 || XPG4] (pthread_key_t): Likewise.
68362         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68363         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68364         [XPG3 || XPG4] (pthread_once_t): Likewise.
68365         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68366         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68367         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68368         [XPG3 || XPG4] (pthread_t): Likewise.
68370         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68371         not expect.
68372         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68374         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68375         Change function return type to int.
68377         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68378         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68379         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68380         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68381         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68382         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68383         [!POSIX] (posix_madvise): Likewise.
68384         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68385         && !UNIX98].
68386         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68387         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68388         (mode_t): Likewise.
68389         (posix_mem_offset): Likewise.
68390         (posix_typed_mem_get_info): Likewise.
68391         (posix_typed_mem_open): Likewise.
68393         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68394         Change condition to [XOPEN2K8].
68396         * conform/conformtest.pl: Preprocess allow-header data with -x c
68397         instead of from stdin.
68398         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68399         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68400         [C99-based standards] (cerfc): Likewise.
68401         [C99-based standards] (cexp2): Likewise.
68402         [C99-based standards] (cexpm1): Likewise.
68403         [C99-based standards] (clog10): Likewise.
68404         [C99-based standards] (clog1p): Likewise.
68405         [C99-based standards] (clog2): Likewise.
68406         [C99-based standards] (clgamma): Likewise.
68407         [C99-based standards] (ctgamma): Likewise.
68408         [C99-based standards] (cerff): Likewise.
68409         [C99-based standards] (cerfcf): Likewise.
68410         [C99-based standards] (cexp2f): Likewise.
68411         [C99-based standards] (cexpm1f): Likewise.
68412         [C99-based standards] (clog10f): Likewise.
68413         [C99-based standards] (clog1pf): Likewise.
68414         [C99-based standards] (clog2f): Likewise.
68415         [C99-based standards] (clgammaf): Likewise.
68416         [C99-based standards] (ctgammaf): Likewise.
68417         [C99-based standards] (cerfl): Likewise.
68418         [C99-based standards] (cerfcl): Likewise.
68419         [C99-based standards] (cexp2l): Likewise.
68420         [C99-based standards] (cexpm1l): Likewise.
68421         [C99-based standards] (clog10l): Likewise.
68422         [C99-based standards] (clog1pl): Likewise.
68423         [C99-based standards] (clog2l): Likewise.
68424         [C99-based standards] (clgammal): Likewise.
68425         [C99-based standards] (ctgammal): Likewise.
68426         * conform/data/inttypes.h-data [C99-based standards]: Include
68427         stdint.h-data.  Remove all expectations for stdint.h contents.
68428         [C99-based standards] (PRI*): Do not allow.
68429         [C99-based standards] (SCN*): Likewise.
68430         [C99-based standards] (*_t): Likewise.
68431         [C99-based-standards] (PRId8): Expect macro.
68432         [C99-based-standards] (PRIi8): Likewise.
68433         [C99-based-standards] (PRIo8): Likewise.
68434         [C99-based-standards] (PRIu8): Likewise.
68435         [C99-based-standards] (PRIx8): Likewise.
68436         [C99-based-standards] (PRIX8): Likewise.
68437         [C99-based-standards] (SCNd8): Likewise.
68438         [C99-based-standards] (SCNi8): Likewise.
68439         [C99-based-standards] (SCNo8): Likewise.
68440         [C99-based-standards] (SCNu8): Likewise.
68441         [C99-based-standards] (SCNx8): Likewise.
68442         [C99-based-standards] (PRIdLEAST8): Likewise.
68443         [C99-based-standards] (PRIiLEAST8): Likewise.
68444         [C99-based-standards] (PRIoLEAST8): Likewise.
68445         [C99-based-standards] (PRIuLEAST8): Likewise.
68446         [C99-based-standards] (PRIxLEAST8): Likewise.
68447         [C99-based-standards] (PRIXLEAST8): Likewise.
68448         [C99-based-standards] (SCNdLEAST8): Likewise.
68449         [C99-based-standards] (SCNiLEAST8): Likewise.
68450         [C99-based-standards] (SCNoLEAST8): Likewise.
68451         [C99-based-standards] (SCNuLEAST8): Likewise.
68452         [C99-based-standards] (SCNxLEAST8): Likewise.
68453         [C99-based-standards] (PRIdFAST8): Likewise.
68454         [C99-based-standards] (PRIiFAST8): Likewise.
68455         [C99-based-standards] (PRIoFAST8): Likewise.
68456         [C99-based-standards] (PRIuFAST8): Likewise.
68457         [C99-based-standards] (PRIxFAST8): Likewise.
68458         [C99-based-standards] (PRIXFAST8): Likewise.
68459         [C99-based-standards] (SCNdFAST8): Likewise.
68460         [C99-based-standards] (SCNiFAST8): Likewise.
68461         [C99-based-standards] (SCNoFAST8): Likewise.
68462         [C99-based-standards] (SCNuFAST8): Likewise.
68463         [C99-based-standards] (SCNxFAST8): Likewise.
68464         [C99-based-standards] (PRId16): Likewise.
68465         [C99-based-standards] (PRIi16): Likewise.
68466         [C99-based-standards] (PRIo16): Likewise.
68467         [C99-based-standards] (PRIu16): Likewise.
68468         [C99-based-standards] (PRIx16): Likewise.
68469         [C99-based-standards] (PRIX16): Likewise.
68470         [C99-based-standards] (SCNd16): Likewise.
68471         [C99-based-standards] (SCNi16): Likewise.
68472         [C99-based-standards] (SCNo16): Likewise.
68473         [C99-based-standards] (SCNu16): Likewise.
68474         [C99-based-standards] (SCNx16): Likewise.
68475         [C99-based-standards] (PRIdLEAST16): Likewise.
68476         [C99-based-standards] (PRIiLEAST16): Likewise.
68477         [C99-based-standards] (PRIoLEAST16): Likewise.
68478         [C99-based-standards] (PRIuLEAST16): Likewise.
68479         [C99-based-standards] (PRIxLEAST16): Likewise.
68480         [C99-based-standards] (PRIXLEAST16): Likewise.
68481         [C99-based-standards] (SCNdLEAST16): Likewise.
68482         [C99-based-standards] (SCNiLEAST16): Likewise.
68483         [C99-based-standards] (SCNoLEAST16): Likewise.
68484         [C99-based-standards] (SCNuLEAST16): Likewise.
68485         [C99-based-standards] (SCNxLEAST16): Likewise.
68486         [C99-based-standards] (PRIdFAST16): Likewise.
68487         [C99-based-standards] (PRIiFAST16): Likewise.
68488         [C99-based-standards] (PRIoFAST16): Likewise.
68489         [C99-based-standards] (PRIuFAST16): Likewise.
68490         [C99-based-standards] (PRIxFAST16): Likewise.
68491         [C99-based-standards] (PRIXFAST16): Likewise.
68492         [C99-based-standards] (SCNdFAST16): Likewise.
68493         [C99-based-standards] (SCNiFAST16): Likewise.
68494         [C99-based-standards] (SCNoFAST16): Likewise.
68495         [C99-based-standards] (SCNuFAST16): Likewise.
68496         [C99-based-standards] (SCNxFAST16): Likewise.
68497         [C99-based-standards] (PRId32): Likewise.
68498         [C99-based-standards] (PRIi32): Likewise.
68499         [C99-based-standards] (PRIo32): Likewise.
68500         [C99-based-standards] (PRIu32): Likewise.
68501         [C99-based-standards] (PRIx32): Likewise.
68502         [C99-based-standards] (PRIX32): Likewise.
68503         [C99-based-standards] (SCNd32): Likewise.
68504         [C99-based-standards] (SCNi32): Likewise.
68505         [C99-based-standards] (SCNo32): Likewise.
68506         [C99-based-standards] (SCNu32): Likewise.
68507         [C99-based-standards] (SCNx32): Likewise.
68508         [C99-based-standards] (PRIdLEAST32): Likewise.
68509         [C99-based-standards] (PRIiLEAST32): Likewise.
68510         [C99-based-standards] (PRIoLEAST32): Likewise.
68511         [C99-based-standards] (PRIuLEAST32): Likewise.
68512         [C99-based-standards] (PRIxLEAST32): Likewise.
68513         [C99-based-standards] (PRIXLEAST32): Likewise.
68514         [C99-based-standards] (SCNdLEAST32): Likewise.
68515         [C99-based-standards] (SCNiLEAST32): Likewise.
68516         [C99-based-standards] (SCNoLEAST32): Likewise.
68517         [C99-based-standards] (SCNuLEAST32): Likewise.
68518         [C99-based-standards] (SCNxLEAST32): Likewise.
68519         [C99-based-standards] (PRIdFAST32): Likewise.
68520         [C99-based-standards] (PRIiFAST32): Likewise.
68521         [C99-based-standards] (PRIoFAST32): Likewise.
68522         [C99-based-standards] (PRIuFAST32): Likewise.
68523         [C99-based-standards] (PRIxFAST32): Likewise.
68524         [C99-based-standards] (PRIXFAST32): Likewise.
68525         [C99-based-standards] (SCNdFAST32): Likewise.
68526         [C99-based-standards] (SCNiFAST32): Likewise.
68527         [C99-based-standards] (SCNoFAST32): Likewise.
68528         [C99-based-standards] (SCNuFAST32): Likewise.
68529         [C99-based-standards] (SCNxFAST32): Likewise.
68530         [C99-based-standards] (PRId64): Likewise.
68531         [C99-based-standards] (PRIi64): Likewise.
68532         [C99-based-standards] (PRIo64): Likewise.
68533         [C99-based-standards] (PRIu64): Likewise.
68534         [C99-based-standards] (PRIx64): Likewise.
68535         [C99-based-standards] (PRIX64): Likewise.
68536         [C99-based-standards] (SCNd64): Likewise.
68537         [C99-based-standards] (SCNi64): Likewise.
68538         [C99-based-standards] (SCNo64): Likewise.
68539         [C99-based-standards] (SCNu64): Likewise.
68540         [C99-based-standards] (SCNx64): Likewise.
68541         [C99-based-standards] (PRIdLEAST64): Likewise.
68542         [C99-based-standards] (PRIiLEAST64): Likewise.
68543         [C99-based-standards] (PRIoLEAST64): Likewise.
68544         [C99-based-standards] (PRIuLEAST64): Likewise.
68545         [C99-based-standards] (PRIxLEAST64): Likewise.
68546         [C99-based-standards] (PRIXLEAST64): Likewise.
68547         [C99-based-standards] (SCNdLEAST64): Likewise.
68548         [C99-based-standards] (SCNiLEAST64): Likewise.
68549         [C99-based-standards] (SCNoLEAST64): Likewise.
68550         [C99-based-standards] (SCNuLEAST64): Likewise.
68551         [C99-based-standards] (SCNxLEAST64): Likewise.
68552         [C99-based-standards] (PRIdFAST64): Likewise.
68553         [C99-based-standards] (PRIiFAST64): Likewise.
68554         [C99-based-standards] (PRIoFAST64): Likewise.
68555         [C99-based-standards] (PRIuFAST64): Likewise.
68556         [C99-based-standards] (PRIxFAST64): Likewise.
68557         [C99-based-standards] (PRIXFAST64): Likewise.
68558         [C99-based-standards] (SCNdFAST64): Likewise.
68559         [C99-based-standards] (SCNiFAST64): Likewise.
68560         [C99-based-standards] (SCNoFAST64): Likewise.
68561         [C99-based-standards] (SCNuFAST64): Likewise.
68562         [C99-based-standards] (SCNxFAST64): Likewise.
68563         [C99-based-standards] (PRIdMAX): Likewise.
68564         [C99-based-standards] (PRIiMAX): Likewise.
68565         [C99-based-standards] (PRIoMAX): Likewise.
68566         [C99-based-standards] (PRIuMAX): Likewise.
68567         [C99-based-standards] (PRIxMAX): Likewise.
68568         [C99-based-standards] (PRIXMAX): Likewise.
68569         [C99-based-standards] (SCNdMAX): Likewise.
68570         [C99-based-standards] (SCNiMAX): Likewise.
68571         [C99-based-standards] (SCNoMAX): Likewise.
68572         [C99-based-standards] (SCNuMAX): Likewise.
68573         [C99-based-standards] (SCNxMAX): Likewise.
68574         [C99-based-standards] (PRIdPTR): Likewise.
68575         [C99-based-standards] (PRIiPTR): Likewise.
68576         [C99-based-standards] (PRIoPTR): Likewise.
68577         [C99-based-standards] (PRIuPTR): Likewise.
68578         [C99-based-standards] (PRIxPTR): Likewise.
68579         [C99-based-standards] (PRIXPTR): Likewise.
68580         [C99-based-standards] (SCNdPTR): Likewise.
68581         [C99-based-standards] (SCNiPTR): Likewise.
68582         [C99-based-standards] (SCNoPTR): Likewise.
68583         [C99-based-standards] (SCNuPTR): Likewise.
68584         [C99-based-standards] (SCNxPTR): Likewise.
68585         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68586         allow.
68587         * conform/data/stdint.h-data: Update comments to clarify
68588         requirements.
68589         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68590         type.
68591         [C99-based standards] (INT8_MAX): Likewise.
68592         [C99-based standards] (INT16_MIN): Likewise.
68593         [C99-based standards] (INT16_MAX): Likewise.
68594         [C99-based standards] (INT32_MIN): Likewise.
68595         [C99-based standards] (INT32_MAX): Likewise.
68596         [C99-based standards] (INT64_MIN): Likewise.
68597         [C99-based standards] (INT64_MAX): Likewise.
68598         [C99-based standards] (UINT8_MAX): Likewise.
68599         [C99-based standards] (UINT16_MAX): Likewise.
68600         [C99-based standards] (UINT32_MAX): Likewise.
68601         [C99-based standards] (UINT64_MAX): Likewise.
68602         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68603         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68604         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68605         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68606         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68607         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68608         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68609         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68610         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68611         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68612         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68613         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68614         [C99-based standards] (INT_FAST8_MIN): Likewise.
68615         [C99-based standards] (INT_FAST8_MAX): Likewise.
68616         [C99-based standards] (INT_FAST16_MIN): Likewise.
68617         [C99-based standards] (INT_FAST16_MAX): Likewise.
68618         [C99-based standards] (INT_FAST32_MIN): Likewise.
68619         [C99-based standards] (INT_FAST32_MAX): Likewise.
68620         [C99-based standards] (INT_FAST64_MIN): Likewise.
68621         [C99-based standards] (INT_FAST64_MAX): Likewise.
68622         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68623         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68624         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68625         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68626         [C99-based standards] (INTPTR_MIN): Likewise.
68627         [C99-based standards] (INTPTR_MAX): Likewise.
68628         [C99-based standards] (UINTPTR_MAX): Likewise.
68629         [C99-based standards] (INTMAX_MIN): Likewise.
68630         [C99-based standards] (INTMAX_MAX): Likewise.
68631         [C99-based standards] (UINTMAX_MAX): Likewise.
68632         [C99-based standards] (PTRDIFF_MIN): Likewise.
68633         [C99-based standards] (PTRDIFF_MAX): Likewise.
68634         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68635         [C99-based standards] (SIZE_MAX): Likewise.
68636         [C99-based standards] (WCHAR_MAX): Likewise.
68637         [C99-based standards] (WINT_MAX): Likewise.
68638         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68639         constraint on value.
68640         [C99-based standards] (WCHAR_MIN): Likewise.
68641         [C99-based standards] (WINT_MIN): Likewise.
68642         [C99-based standards] (*_t): Allow.
68643         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68644         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68645         Include math.h-data and complex.h-data.  Remove all expectations
68646         of math.h and complex.h contents.
68647         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68648         at end of line.
68649         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68650         (struct tm): Expect tag.
68651         [C99-based-standards] (wcstof): Expect function.
68652         [C99-based-standards] (wcstold): Likewise.
68653         [C99-based-standards] (wcstoll): Likewise.
68654         [C99-based-standards] (wcstoull): Likewise.
68655         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68656         macro-int-constant.  Specify type.
68657         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68658         constraint on value.
68659         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68660         Specify type.
68661         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68662         Specify value.
68663         [ISO C standards]: Do not allow headers.
68664         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68665         wcs[abcdefghijklmnopqrstuvwxyz]*.
68666         [ISO C standards] (*_t): Do not allow.
68667         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68668         Expect function.
68669         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68670         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68671         Specify type.
68672         [ISO C standards]: Do not allow headers.
68673         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68674         is[abcdefghijklmnopqrstuvwxyz]*.
68675         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68676         to[abcdefghijklmnopqrstuvwxyz]*.
68677         [ISO C standards] (*_t): Do not allow.
68678         * conform/data/stdalign.h-data: New file.
68679         * conform/data/stdbool.h-data: Likewise.
68680         * conform/data/stdnoreturn.h-data: Likewise.
68682 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68684         [BZ #14815]
68685         * manual/filesys.texi (Directory Entries): Typo fix.
68686         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68688 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68690         * elf/elf.h (EM_AARCH64): New macro.
68691         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68692         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68693         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68694         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68695         (R_AARCH64_TLSDESC): Likewise.
68696         (NT_ARM_TLS): Likewise.
68697         (NT_ARM_HW_BREAK): Likewise.
68698         (NT_ARM_HW_WATCH): Likewise.
68700 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68702         [BZ #14811]
68703         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68704         (__ieee754_powl): Saturate nonzero exponents with absolute value
68705         below 0x1p-79 to +/- 0x1p-79.
68706         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68707         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68708         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68709         nonzero exponents with absolute value below 0x1p-32 to +/-
68710         0x1p-32.
68711         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68712         (__ieee754_powl): Saturate nonzero exponents with absolute value
68713         below 0x1p-79 to +/- 0x1p-79.
68714         * math/libm-test.inc (pow_test): Add more tests.
68716 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68718         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68719         _dl_s390_cap_flags with kernel. Increase string length.
68720         (_dl_s390_platforms): Add z196 and zEC12.
68722 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68724         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68725         Change XOPEN21K to XOPEN2K.
68727 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68729         * string/memmove.c: Use memcpy when possible.
68731 2012-11-06  Andreas Jaeger  <aj@suse.de>
68733         * po/eo.po: Update from translation team.
68735 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68737         [BZ #14793]
68738         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68739         exponent and small x and y exponents, scale x or y up.  Increase
68740         by 2 the exponent used in scaling up.
68741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68742         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68743         * math/libm-test.inc (fma_test): Add more tests.
68744         (fma_test_towardzero): Likewise.
68745         (fma_test_downward): Likewise.
68746         (fma_test_upward): Likewise.
68748 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68750         [BZ #14805]
68751         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68752         fenv_t *.
68754         [BZ #14801]
68755         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68756         namespace for names of struct fields.
68757         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68758         fenv_t fields.
68759         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68760         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68762 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68764         [BZ #3665]
68765         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68767 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68769         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68770         PTR_DEMANGLE.
68772         [BZ #5246]
68773         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68774         PTR_DEMANGLE.
68776 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68778         [BZ #14797]
68779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68780         definitely overflow as x * y not x * y + z.
68781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68782         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68783         * math/libm-test.inc (fma_test): Add more tests.
68784         (fma_test_towardzero): Likewise.
68785         (fma_test_downward): Likewise.
68786         (fma_test_upward): Likewise.
68788 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68790         [BZ #157]
68792         * include/stub-tag.h: Remove file.
68793         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68794         '#include' of it.
68795         * manual/maint.texi (Porting): Don't reference it.
68796         * Makerules ($(objpfx)stubs): Likewise.
68797         * dirent/closedir.c: Don't include <stub-tag.h>.
68798         * dirent/dirfd.c: Likewise.
68799         * dirent/fdopendir.c: Likewise.
68800         * dirent/getdents.c: Likewise.
68801         * dirent/getdents64.c: Likewise.
68802         * dirent/opendir.c: Likewise.
68803         * dirent/readdir.c: Likewise.
68804         * dirent/readdir64.c: Likewise.
68805         * dirent/readdir64_r.c: Likewise.
68806         * dirent/readdir_r.c: Likewise.
68807         * dirent/rewinddir.c: Likewise.
68808         * dirent/seekdir.c: Likewise.
68809         * dirent/telldir.c: Likewise.
68810         * gmon/profil.c: Likewise.
68811         * grp/setgroups.c: Likewise.
68812         * inet/if_index.c: Likewise.
68813         * io/access.c: Likewise.
68814         * io/chdir.c: Likewise.
68815         * io/chmod.c: Likewise.
68816         * io/chown.c: Likewise.
68817         * io/close.c: Likewise.
68818         * io/dup.c: Likewise.
68819         * io/dup2.c: Likewise.
68820         * io/dup3.c: Likewise.
68821         * io/euidaccess.c: Likewise.
68822         * io/faccessat.c: Likewise.
68823         * io/fchdir.c: Likewise.
68824         * io/fchmod.c: Likewise.
68825         * io/fchmodat.c: Likewise.
68826         * io/fchown.c: Likewise.
68827         * io/fchownat.c: Likewise.
68828         * io/fcntl.c: Likewise.
68829         * io/flock.c: Likewise.
68830         * io/fstatfs.c: Likewise.
68831         * io/fstatfs64.c: Likewise.
68832         * io/fstatvfs.c: Likewise.
68833         * io/fstatvfs64.c: Likewise.
68834         * io/futimens.c: Likewise.
68835         * io/fxstat.c: Likewise.
68836         * io/fxstat64.c: Likewise.
68837         * io/fxstatat.c: Likewise.
68838         * io/fxstatat64.c: Likewise.
68839         * io/getcwd.c: Likewise.
68840         * io/isatty.c: Likewise.
68841         * io/lchmod.c: Likewise.
68842         * io/lchown.c: Likewise.
68843         * io/link.c: Likewise.
68844         * io/linkat.c: Likewise.
68845         * io/lseek.c: Likewise.
68846         * io/lseek64.c: Likewise.
68847         * io/lxstat64.c: Likewise.
68848         * io/mkdir.c: Likewise.
68849         * io/mkdirat.c: Likewise.
68850         * io/mkfifo.c: Likewise.
68851         * io/mkfifoat.c: Likewise.
68852         * io/open.c: Likewise.
68853         * io/open64.c: Likewise.
68854         * io/openat.c: Likewise.
68855         * io/openat64.c: Likewise.
68856         * io/pipe.c: Likewise.
68857         * io/pipe2.c: Likewise.
68858         * io/poll.c: Likewise.
68859         * io/posix_fadvise.c: Likewise.
68860         * io/posix_fadvise64.c: Likewise.
68861         * io/posix_fallocate.c: Likewise.
68862         * io/posix_fallocate64.c: Likewise.
68863         * io/read.c: Likewise.
68864         * io/readlink.c: Likewise.
68865         * io/readlinkat.c: Likewise.
68866         * io/rmdir.c: Likewise.
68867         * io/sendfile.c: Likewise.
68868         * io/sendfile64.c: Likewise.
68869         * io/statfs.c: Likewise.
68870         * io/statfs64.c: Likewise.
68871         * io/statvfs.c: Likewise.
68872         * io/statvfs64.c: Likewise.
68873         * io/symlink.c: Likewise.
68874         * io/symlinkat.c: Likewise.
68875         * io/ttyname.c: Likewise.
68876         * io/ttyname_r.c: Likewise.
68877         * io/umask.c: Likewise.
68878         * io/unlink.c: Likewise.
68879         * io/unlinkat.c: Likewise.
68880         * io/utime.c: Likewise.
68881         * io/utimensat.c: Likewise.
68882         * io/write.c: Likewise.
68883         * io/xmknod.c: Likewise.
68884         * io/xmknodat.c: Likewise.
68885         * io/xstat.c: Likewise.
68886         * io/xstat64.c: Likewise.
68887         * login/getpt.c: Likewise.
68888         * login/grantpt.c: Likewise.
68889         * login/unlockpt.c: Likewise.
68890         * math/e_acoshl.c: Likewise.
68891         * math/e_acosl.c: Likewise.
68892         * math/e_asinl.c: Likewise.
68893         * math/e_atan2l.c: Likewise.
68894         * math/e_atanhl.c: Likewise.
68895         * math/e_coshl.c: Likewise.
68896         * math/e_expl.c: Likewise.
68897         * math/e_fmodl.c: Likewise.
68898         * math/e_gammal_r.c: Likewise.
68899         * math/e_hypotl.c: Likewise.
68900         * math/e_j0l.c: Likewise.
68901         * math/e_j1l.c: Likewise.
68902         * math/e_jnl.c: Likewise.
68903         * math/e_lgammal_r.c: Likewise.
68904         * math/e_log10l.c: Likewise.
68905         * math/e_log2l.c: Likewise.
68906         * math/e_logl.c: Likewise.
68907         * math/e_powl.c: Likewise.
68908         * math/e_rem_pio2l.c: Likewise.
68909         * math/e_sinhl.c: Likewise.
68910         * math/e_sqrtl.c: Likewise.
68911         * math/fclrexcpt.c: Likewise.
68912         * math/fedisblxcpt.c: Likewise.
68913         * math/feenablxcpt.c: Likewise.
68914         * math/fegetenv.c: Likewise.
68915         * math/fegetexcept.c: Likewise.
68916         * math/fegetround.c: Likewise.
68917         * math/feholdexcpt.c: Likewise.
68918         * math/fesetenv.c: Likewise.
68919         * math/fesetround.c: Likewise.
68920         * math/feupdateenv.c: Likewise.
68921         * math/fgetexcptflg.c: Likewise.
68922         * math/fraiseexcpt.c: Likewise.
68923         * math/fsetexcptflg.c: Likewise.
68924         * math/ftestexcept.c: Likewise.
68925         * math/k_cosl.c: Likewise.
68926         * math/k_rem_pio2l.c: Likewise.
68927         * math/k_sinl.c: Likewise.
68928         * math/k_tanl.c: Likewise.
68929         * math/s_asinhl.c: Likewise.
68930         * math/s_atanl.c: Likewise.
68931         * math/s_cbrtl.c: Likewise.
68932         * math/s_erfl.c: Likewise.
68933         * math/s_expm1l.c: Likewise.
68934         * math/s_log1pl.c: Likewise.
68935         * math/s_tanhl.c: Likewise.
68936         * misc/acct.c: Likewise.
68937         * misc/brk.c: Likewise.
68938         * misc/chflags.c: Likewise.
68939         * misc/chroot.c: Likewise.
68940         * misc/fchflags.c: Likewise.
68941         * misc/fgetxattr.c: Likewise.
68942         * misc/flistxattr.c: Likewise.
68943         * misc/fremovexattr.c: Likewise.
68944         * misc/fsetxattr.c: Likewise.
68945         * misc/fsync.c: Likewise.
68946         * misc/ftruncate.c: Likewise.
68947         * misc/futimes.c: Likewise.
68948         * misc/futimesat.c: Likewise.
68949         * misc/getdomain.c: Likewise.
68950         * misc/getdtsz.c: Likewise.
68951         * misc/gethostid.c: Likewise.
68952         * misc/gethostname.c: Likewise.
68953         * misc/getloadavg.c: Likewise.
68954         * misc/getpagesize.c: Likewise.
68955         * misc/getsysstats.c: Likewise.
68956         * misc/getxattr.c: Likewise.
68957         * misc/gtty.c: Likewise.
68958         * misc/ioctl.c: Likewise.
68959         * misc/lgetxattr.c: Likewise.
68960         * misc/listxattr.c: Likewise.
68961         * misc/llistxattr.c: Likewise.
68962         * misc/lremovexattr.c: Likewise.
68963         * misc/lsetxattr.c: Likewise.
68964         * misc/lutimes.c: Likewise.
68965         * misc/madvise.c: Likewise.
68966         * misc/mincore.c: Likewise.
68967         * misc/mlock.c: Likewise.
68968         * misc/mlockall.c: Likewise.
68969         * misc/mmap.c: Likewise.
68970         * misc/mprotect.c: Likewise.
68971         * misc/msync.c: Likewise.
68972         * misc/munlock.c: Likewise.
68973         * misc/munlockall.c: Likewise.
68974         * misc/munmap.c: Likewise.
68975         * misc/preadv.c: Likewise.
68976         * misc/preadv64.c: Likewise.
68977         * misc/ptrace.c: Likewise.
68978         * misc/pwritev.c: Likewise.
68979         * misc/pwritev64.c: Likewise.
68980         * misc/readv.c: Likewise.
68981         * misc/reboot.c: Likewise.
68982         * misc/remap_file_pages.c: Likewise.
68983         * misc/removexattr.c: Likewise.
68984         * misc/revoke.c: Likewise.
68985         * misc/select.c: Likewise.
68986         * misc/setdomain.c: Likewise.
68987         * misc/setegid.c: Likewise.
68988         * misc/seteuid.c: Likewise.
68989         * misc/sethostid.c: Likewise.
68990         * misc/sethostname.c: Likewise.
68991         * misc/setregid.c: Likewise.
68992         * misc/setreuid.c: Likewise.
68993         * misc/setxattr.c: Likewise.
68994         * misc/sstk.c: Likewise.
68995         * misc/stty.c: Likewise.
68996         * misc/swapoff.c: Likewise.
68997         * misc/swapon.c: Likewise.
68998         * misc/sync.c: Likewise.
68999         * misc/syncfs.c: Likewise.
69000         * misc/syscall.c: Likewise.
69001         * misc/truncate.c: Likewise.
69002         * misc/ualarm.c: Likewise.
69003         * misc/usleep.c: Likewise.
69004         * misc/ustat.c: Likewise.
69005         * misc/utimes.c: Likewise.
69006         * misc/vhangup.c: Likewise.
69007         * misc/writev.c: Likewise.
69008         * posix/_exit.c: Likewise.
69009         * posix/alarm.c: Likewise.
69010         * posix/execve.c: Likewise.
69011         * posix/fexecve.c: Likewise.
69012         * posix/fork.c: Likewise.
69013         * posix/fpathconf.c: Likewise.
69014         * posix/getaddrinfo.c: Likewise.
69015         * posix/getegid.c: Likewise.
69016         * posix/geteuid.c: Likewise.
69017         * posix/getgid.c: Likewise.
69018         * posix/getgroups.c: Likewise.
69019         * posix/getlogin.c: Likewise.
69020         * posix/getlogin_r.c: Likewise.
69021         * posix/getpgid.c: Likewise.
69022         * posix/getpid.c: Likewise.
69023         * posix/getppid.c: Likewise.
69024         * posix/getresgid.c: Likewise.
69025         * posix/getresuid.c: Likewise.
69026         * posix/getsid.c: Likewise.
69027         * posix/getuid.c: Likewise.
69028         * posix/glob64.c: Likewise.
69029         * posix/nanosleep.c: Likewise.
69030         * posix/pathconf.c: Likewise.
69031         * posix/pause.c: Likewise.
69032         * posix/posix_madvise.c: Likewise.
69033         * posix/pread.c: Likewise.
69034         * posix/pread64.c: Likewise.
69035         * posix/pwrite.c: Likewise.
69036         * posix/pwrite64.c: Likewise.
69037         * posix/sched_getaffinity.c: Likewise.
69038         * posix/sched_getp.c: Likewise.
69039         * posix/sched_gets.c: Likewise.
69040         * posix/sched_primax.c: Likewise.
69041         * posix/sched_primin.c: Likewise.
69042         * posix/sched_rr_gi.c: Likewise.
69043         * posix/sched_setaffinity.c: Likewise.
69044         * posix/sched_setp.c: Likewise.
69045         * posix/sched_sets.c: Likewise.
69046         * posix/sched_yield.c: Likewise.
69047         * posix/setgid.c: Likewise.
69048         * posix/setlogin.c: Likewise.
69049         * posix/setpgid.c: Likewise.
69050         * posix/setresgid.c: Likewise.
69051         * posix/setresuid.c: Likewise.
69052         * posix/setsid.c: Likewise.
69053         * posix/setuid.c: Likewise.
69054         * posix/sleep.c: Likewise.
69055         * posix/spawni.c: Likewise.
69056         * posix/sysconf.c: Likewise.
69057         * posix/times.c: Likewise.
69058         * posix/wait.c: Likewise.
69059         * posix/wait3.c: Likewise.
69060         * posix/wait4.c: Likewise.
69061         * posix/waitpid.c: Likewise.
69062         * resolv/gai_sigqueue.c: Likewise.
69063         * resource/getpriority.c: Likewise.
69064         * resource/getrlimit.c: Likewise.
69065         * resource/getrusage.c: Likewise.
69066         * resource/nice.c: Likewise.
69067         * resource/setpriority.c: Likewise.
69068         * resource/setrlimit.c: Likewise.
69069         * resource/ulimit.c: Likewise.
69070         * rt/aio_cancel.c: Likewise.
69071         * rt/aio_fsync.c: Likewise.
69072         * rt/aio_read.c: Likewise.
69073         * rt/aio_sigqueue.c: Likewise.
69074         * rt/aio_suspend.c: Likewise.
69075         * rt/aio_write.c: Likewise.
69076         * rt/clock_getres.c: Likewise.
69077         * rt/clock_gettime.c: Likewise.
69078         * rt/clock_nanosleep.c: Likewise.
69079         * rt/clock_settime.c: Likewise.
69080         * rt/lio_listio.c: Likewise.
69081         * rt/mq_close.c: Likewise.
69082         * rt/mq_getattr.c: Likewise.
69083         * rt/mq_notify.c: Likewise.
69084         * rt/mq_open.c: Likewise.
69085         * rt/mq_receive.c: Likewise.
69086         * rt/mq_send.c: Likewise.
69087         * rt/mq_setattr.c: Likewise.
69088         * rt/mq_timedreceive.c: Likewise.
69089         * rt/mq_timedsend.c: Likewise.
69090         * rt/mq_unlink.c: Likewise.
69091         * rt/shm_open.c: Likewise.
69092         * rt/shm_unlink.c: Likewise.
69093         * rt/timer_create.c: Likewise.
69094         * rt/timer_delete.c: Likewise.
69095         * rt/timer_getoverr.c: Likewise.
69096         * rt/timer_gettime.c: Likewise.
69097         * rt/timer_settime.c: Likewise.
69098         * setjmp/__longjmp.c: Likewise.
69099         * setjmp/setjmp.c: Likewise.
69100         * signal/kill.c: Likewise.
69101         * signal/killpg.c: Likewise.
69102         * signal/raise.c: Likewise.
69103         * signal/sigaction.c: Likewise.
69104         * signal/sigaltstack.c: Likewise.
69105         * signal/sigblock.c: Likewise.
69106         * signal/sigignore.c: Likewise.
69107         * signal/sigintr.c: Likewise.
69108         * signal/signal.c: Likewise.
69109         * signal/sigpause.c: Likewise.
69110         * signal/sigpending.c: Likewise.
69111         * signal/sigqueue.c: Likewise.
69112         * signal/sigreturn.c: Likewise.
69113         * signal/sigset.c: Likewise.
69114         * signal/sigsetmask.c: Likewise.
69115         * signal/sigstack.c: Likewise.
69116         * signal/sigsuspend.c: Likewise.
69117         * signal/sigtimedwait.c: Likewise.
69118         * signal/sigvec.c: Likewise.
69119         * signal/sigwait.c: Likewise.
69120         * signal/sigwaitinfo.c: Likewise.
69121         * signal/sysv_signal.c: Likewise.
69122         * socket/accept.c: Likewise.
69123         * socket/accept4.c: Likewise.
69124         * socket/bind.c: Likewise.
69125         * socket/connect.c: Likewise.
69126         * socket/getpeername.c: Likewise.
69127         * socket/getsockname.c: Likewise.
69128         * socket/getsockopt.c: Likewise.
69129         * socket/isfdtype.c: Likewise.
69130         * socket/listen.c: Likewise.
69131         * socket/recv.c: Likewise.
69132         * socket/recvfrom.c: Likewise.
69133         * socket/recvmsg.c: Likewise.
69134         * socket/send.c: Likewise.
69135         * socket/sendmsg.c: Likewise.
69136         * socket/sendto.c: Likewise.
69137         * socket/setsockopt.c: Likewise.
69138         * socket/shutdown.c: Likewise.
69139         * socket/sockatmark.c: Likewise.
69140         * socket/socket.c: Likewise.
69141         * socket/socketpair.c: Likewise.
69142         * stdio-common/ctermid.c: Likewise.
69143         * stdio-common/cuserid.c: Likewise.
69144         * stdio-common/remove.c: Likewise.
69145         * stdio-common/rename.c: Likewise.
69146         * stdio-common/renameat.c: Likewise.
69147         * stdio-common/tempname.c: Likewise.
69148         * stdlib/getcontext.c: Likewise.
69149         * stdlib/makecontext.c: Likewise.
69150         * stdlib/setcontext.c: Likewise.
69151         * stdlib/swapcontext.c: Likewise.
69152         * stdlib/system.c: Likewise.
69153         * streams/fattach.c: Likewise.
69154         * streams/fdetach.c: Likewise.
69155         * streams/getmsg.c: Likewise.
69156         * streams/getpmsg.c: Likewise.
69157         * streams/putmsg.c: Likewise.
69158         * streams/putpmsg.c: Likewise.
69159         * sysdeps/unix/bsd/getpt.c: Likewise.
69160         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69161         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69162         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69164         Likewise.
69165         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69166         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69167         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69168         * sysvipc/msgctl.c: Likewise.
69169         * sysvipc/msgget.c: Likewise.
69170         * sysvipc/msgrcv.c: Likewise.
69171         * sysvipc/msgsnd.c: Likewise.
69172         * sysvipc/semctl.c: Likewise.
69173         * sysvipc/semget.c: Likewise.
69174         * sysvipc/semop.c: Likewise.
69175         * sysvipc/semtimedop.c: Likewise.
69176         * sysvipc/shmat.c: Likewise.
69177         * sysvipc/shmctl.c: Likewise.
69178         * sysvipc/shmdt.c: Likewise.
69179         * sysvipc/shmget.c: Likewise.
69180         * termios/tcdrain.c: Likewise.
69181         * termios/tcflow.c: Likewise.
69182         * termios/tcflush.c: Likewise.
69183         * termios/tcgetattr.c: Likewise.
69184         * termios/tcgetpgrp.c: Likewise.
69185         * termios/tcsendbrk.c: Likewise.
69186         * termios/tcsetattr.c: Likewise.
69187         * termios/tcsetpgrp.c: Likewise.
69188         * time/adjtime.c: Likewise.
69189         * time/clock.c: Likewise.
69190         * time/getitimer.c: Likewise.
69191         * time/gettimeofday.c: Likewise.
69192         * time/setitimer.c: Likewise.
69193         * time/settimeofday.c: Likewise.
69194         * time/stime.c: Likewise.
69195         * time/time.c: Likewise.
69197 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69199         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69200         /usr/old/bin.
69202         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69203         instead of spaces.
69204         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69206 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69208         [BZ #14796]
69209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69210         FE_TONEAREST before applying Dekker multiplication and Knuth
69211         addition.  Clear inexact exceptions and check for exact zero
69212         results afterwards.
69213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69214         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69216         * math/libm-test.inc (fma_test): Add more tests.
69217         (fma_test_towardzero): Likewise.
69218         (fma_test_downward): Likewise.
69219         (fma_test_upward): Likewise.
69220         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69221         function.
69222         (libc_fesetround): New macro.
69223         (libc_fesetroundf): Likewise.
69224         (libc_fesetroundl): Likewise.
69225         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69226         function.
69227         (libc_fesetround_387): Likewise.
69228         (libc_fesetroundf): New macro.
69229         (libc_fesetround): Likewise.
69230         (libc_fesetroundl): Likewise.
69231         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69232         function.
69233         (libc_fesetroundf): New macro.
69234         (libc_fesetround): Likewise.
69235         (libc_fesetroundl): Likewise.
69236         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69237         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69238         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69239         libm_hidden_ver.
69240         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69241         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69242         libm_hidden_def.
69243         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69244         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69245         libm_hidden_ver.
69246         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69247         libm_hidden_def.
69249         [BZ #3439]
69250         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69251         integer constant usable in #if and use that to give value to enum
69252         constant.
69253         (FE_DIVBYZERO): Likewise.
69254         (FE_UNDERFLOW): Likewise.
69255         (FE_OVERFLOW): Likewise.
69256         (FE_INVALID): Likewise.
69257         (FE_INVALID_SNAN): Likewise.
69258         (FE_INVALID_ISI): Likewise.
69259         (FE_INVALID_IDI): Likewise.
69260         (FE_INVALID_ZDZ): Likewise.
69261         (FE_INVALID_IMZ): Likewise.
69262         (FE_INVALID_COMPARE): Likewise.
69263         (FE_INVALID_SOFTWARE): Likewise.
69264         (FE_INVALID_SQRT): Likewise.
69265         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69266         (FE_TONEAREST): Likewise.
69267         (FE_TOWARDZERO): Likewise.
69268         (FE_UPWARD): Likewise.
69269         (FE_DOWNWARD): Likewise.
69270         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69271         (FE_DIVBYZERO): Likewise.
69272         (FE_OVERFLOW): Likewise.
69273         (FE_UNDERFLOW): Likewise.
69274         (FE_INEXACT): Likewise.
69275         (FE_TONEAREST): Likewise.
69276         (FE_DOWNWARD): Likewise.
69277         (FE_UPWARD): Likewise.
69278         (FE_TOWARDZERO): Likewise.
69279         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69280         (FE_UNDERFLOW): Likewise.
69281         (FE_OVERFLOW): Likewise.
69282         (FE_DIVBYZERO): Likewise.
69283         (FE_INVALID): Likewise.
69284         (FE_TONEAREST): Likewise.
69285         (FE_TOWARDZERO): Likewise.
69286         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69287         (FE_OVERFLOW): Likewise.
69288         (FE_UNDERFLOW): Likewise.
69289         (FE_DIVBYZERO): Likewise.
69290         (FE_INEXACT): Likewise.
69291         (FE_TONEAREST): Likewise.
69292         (FE_TOWARDZERO): Likewise.
69293         (FE_UPWARD): Likewise.
69294         (FE_DOWNWARD): Likewise.
69295         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69296         (FE_DIVBYZERO): Likewise.
69297         (FE_OVERFLOW): Likewise.
69298         (FE_UNDERFLOW): Likewise.
69299         (FE_INEXACT): Likewise.
69300         (FE_TONEAREST): Likewise.
69301         (FE_DOWNWARD): Likewise.
69302         (FE_UPWARD): Likewise.
69303         (FE_TOWARDZERO): Likewise.
69305 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69307         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69309 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69311         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69312         commands.  Quote $PWD.
69313         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69314         -x" by "export".
69315         (remove_newlines): Remove.
69317 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69319         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69320         * stdlib/stdlib.h (atof): Moved to ...
69321         * include/bits/stdlib-float.h: Here.  New file.
69322         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69323         * stdlib/bits/stdlib-float.h: New file.
69324         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69325         -mno-sse -mno-mmx.
69326         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69327         <xmmintrin.h>.
69329 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69331         * conform/conformtest.pl (@headers): Add fenv.h.
69332         * conform/data/fenv.h-data: New file.
69333         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69334         include of <math/fenv.h>.
69336         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69337         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69338         && !UNIX98].  Enables tests for XOPEN2K8.
69339         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69340         POSIX2008]: Likewise.
69342         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69343         (struct rusage): Do not expect type or its members.
69345         [BZ #3439]
69346         * math/math.h (FP_NAN): Define macro to integer constant usable in
69347         #if and use that to give value to enum constant.
69348         (FP_INFINITE): Likewise.
69349         (FP_ZERO): Likewise.
69350         (FP_SUBNORMAL): Likewise.
69351         (FP_NORMAL): Likewise.
69353 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69355         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69356         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69357         arguments.
69359 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69361         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69362         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69363         autoconf-time if not.
69364         * configure.in: Remove AC_PREREQ.
69366 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69368         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69369         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69370         of the internal implementation.
69372 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69374         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69375         except include of <misc/sys/syslog.h>.
69377 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69380         function returns with a NULL context exit with zero.
69382 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69384         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69386 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69388         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69389         (run_program_cmd): This.
69390         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69391         (tst_langinfo): New variable.  Use it.
69393 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69395         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69396         floating point opcodes.
69398 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69400         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69401         variable.
69403         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69405         * sysdeps/mach/hurd/powerpc: Remove directory.
69406         * sysdeps/mach/powerpc: Likewise.
69408 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69410         * scripts/check-local-headers.sh: Ignore c++ headers.
69412 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69414         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69415         __libc_cleanup_region_start argument.
69417 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69419         [BZ #14784]
69420         [BZ #14785]
69421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69422         x * y using scaling, not as x * y + z.
69423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69425         * math/libm-test.inc (fma_test): Add more tests.
69426         (fma_test_towardzero): Likewise.
69427         (fma_test_downward): Likewise.
69428         (fma_test_upward): Likewise.
69430 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69432         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69434 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69436         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69437         New variable.
69439 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69441         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69443 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69446         Fix sort order.
69447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69448         Likewise.
69450 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69453         Fix the order of the list for glibc 2.17.
69454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69455         Likewise.
69457 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69461 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69463         [BZ #14610]
69464         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69465         for low part of x being zero before using __atanl (y).
69466         * math/libm-test.inc (atan2_test): Add another test.
69468         * manual/install.texi (Configuring and compiling): Document
69469         general use of test-wrapper and test-wrapper-env.
69470         * INSTALL: Regenerated.
69472         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69473         (__fma): Do not extract and scale down low bits on after-rounding
69474         systems when result rounded to normal precision would have normal
69475         exponent.
69476         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69477         (__fmal): Do not extract and scale down low bits on after-rounding
69478         systems when result rounded to normal precision would have normal
69479         exponent.
69480         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69481         (__fmal): Do not extract and scale down low bits on after-rounding
69482         systems when result rounded to normal precision would have normal
69483         exponent.
69484         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69485         macro.
69486         (fma_test): Add more tests.
69487         (fma_test_towardzero): Likewise.
69488         (fma_test_downward): Likewise.
69489         (fma_test_upward): Likewise.
69491 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69493         * sysdeps/i386/tininess.h: Renamed to ...
69494         * sysdeps/x86/tininess.h: This.
69495         * sysdeps/x86_64/tininess.h: Removed.
69497 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69499         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69500         input.  Use $(build-program-cmd).
69501         ($(objpfx)tst-array1-static.out): Likewise.
69502         ($(objpfx)tst-array2.out): Likewise.
69503         ($(objpfx)tst-array3.out): Likewise.
69504         ($(objpfx)tst-array4.out): Likewise.
69505         ($(objpfx)tst-array5.out): Likewise.
69506         ($(objpfx)tst-array5-static.out): Likewise.
69508 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69510         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69511         if defined.
69513         * nss/nsswitch.h (nss_interface_function): Provide new
69514         macro for use with NSS functions.
69515         * grp/initgroups.c: Use new macro.
69516         * nss/getXXbyYY.c: Likewise.
69517         * nss/getXXbyYY_r.c: Likewise.
69518         * nss/getXXent.c: Likewise.
69519         * nss/getXXent_r.c: Likewise.
69520         * sysdeps/posix/getaddrinfo.c: Likewise.
69522 2012-10-30  Andreas Jaeger  <aj@suse.de>
69524         * po/ru.po: Update Russion translation from translation project.
69526 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69528         [BZ #14152]
69529         [BZ #14783]
69530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69531         result and shift together with sticky bit instead of replicating
69532         round-to-nearest rounding.
69533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69535         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69536         missing underflow exceptions.
69537         (fma_test_towardzero): Add more tests.
69538         (fma_test_downward): Likewise.
69539         (fma_test_upward): Likewise.
69541         [BZ #14047]
69542         * sysdeps/generic/tininess.h: New file.
69543         * sysdeps/i386/tininess.h: Likewise.
69544         * sysdeps/sh/tininess.h: Likewise.
69545         * sysdeps/x86_64/tininess.h: Likewise.
69546         * stdlib/tst-strtod-underflow.c: Likewise.
69547         * stdlib/tst-tininess.c: Likewise.
69548         * stdlib/strtod_l.c: Include <tininess.h>.
69549         (round_and_return): Do not set errno for exact underflow cases.
69550         Force an underflow exception when setting errno for underflow.
69551         Determine underflow based on rounding to normal precision if
69552         TININESS_AFTER_ROUNDING.
69553         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69554         ERANGE for exact underflow cases.
69555         * stdlib/Makefile (tests): Add tst-tininess and
69556         tst-strtod-underflow.
69557         ($(objpfx)tst-tininess): Use $(link-libm).
69558         ($(objpfx)tst-strtod-underflow): Likewise.
69560 2012-10-30  Andreas Jaeger  <aj@suse.de>
69562         [BZ #14767]
69563         * elf/Makefile (tests): Remove conditional for have-initfini-array
69564         since this is now always required and the variable does not exist
69565         anymore.
69566         (tests-static): Likewise.
69567         (modules-names): Likewise.
69569         * po/eo.po: Add Esperanto translation from translation project.
69571         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69572         merged with constructor/destructor.
69573         (init_array): Likewise.
69574         * elf/tst-array2dep.c (fini_array): Likewise.
69575         (init_array): Likewise.
69577 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69579         * manual/message.texi: Delete @cartouche tags.
69581 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69583         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69584         EOPNOTSUPP.
69585         * sysdeps/mach/hurd/fsync.c: Likewise.
69587         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69588         [_POSIX_REALTIME_SIGNALS]: Change condition to
69589         [_POSIX_REALTIME_SIGNALS > 0].
69591 2012-10-27  Andreas Jaeger  <aj@suse.de>
69593         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69594         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69596         [__WORDSIZE != 64]: Likewise.
69598 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69600         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69601         *  iconvdata/tst-tables.sh: Likewise.
69603 2012-10-25  David S. Miller  <davem@davemloft.net>
69605         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69606         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69607         of strtoull.
69609         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69610         ifunc-impl-list.c
69611         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69612         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69613         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69614         file.
69616 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69618         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69619         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69620         __getdirentries.
69622 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69623             Jim Blandy  <jimb@codesourcery.com>
69625         * scripts/cross-test-ssh.sh: New file.
69626         * manual/install.texi (Configuring and compiling): Document use of
69627         cross-test-ssh.sh.
69628         * INSTALL: Regenerated.
69630 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69632         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69633         EOPNOTSUPP.
69635 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69637         * Makeconfig (run-program-prefix): Fix comment.
69639 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69640             Jim Blandy  <jimb@codesourcery.com>
69642         * Makeconfig (test-wrapper): New variable,
69643         (test-wrapper-env): Likewise.
69644         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69645         (run-built-tests): Define to yes.
69646         (run-program-prefix): Use $(test-wrapper).
69647         (built-program-cmd): Likewise.
69648         * Rules (make-test-out): Use $(test-wrapper-env) and
69649         $(host-built-program-cmd).
69650         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69651         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69652         tst-pathopt.sh.
69653         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69654         $(test-wrapper-env) to tst-rtld-load-self.sh.
69655         ($(objpfx)order2.out): Use $(test-wrapper).
69656         ($(objpfx)tst-initorder.out): Likewise.
69657         ($(objpfx)tst-initorder2.out): Likewise.
69658         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69659         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69660         (test_wrapper_env): New variable.  Use it to run ld.so.
69661         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69662         Use it to run ld.so.
69663         (test_wrapper_env): Likewise.
69664         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69665         $(test-wrapper) to run-iconv-test.sh.
69666         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69667         (ICONV): Use $test_wrapper.
69668         * posix/Makefile ($(objpfx)globtest.out): Pass
69669         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69670         globtest.sh, not $(run-program-prefix).
69671         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69672         (test_wrapper): Likewise.
69673         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69674         set together with run_via_rtld_prefix.
69675         (run_program_prefix): Define in terms of test_wrapper and
69676         run_via_rtld_prefix.
69678 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69680         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69681         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69682         Targets removed.
69684         [BZ #14743]
69685         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69686         Declare __clock_getres, __clock_gettime, __clock_settime,
69687         __clock_nanosleep, and __clock_getcpuclockid.
69688         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69689         Remove librt_hidden_def (clock_gettime).
69690         * sysdeps/unix/clock_gettime.c: Likewise.
69691         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69692         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69693         * rt/clock_getres.c: Define __clock_getres as an alias.
69694         * sysdeps/posix/clock_getres.c: Likewise.
69695         * rt/clock_settime.c: Define __clock_settime as an alias.
69696         * sysdeps/unix/clock_settime.c: Likewise.
69697         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69698         * sysdeps/unix/clock_nanosleep.c: Likewise.
69699         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69700         * rt/clock-compat.c: New file.
69701         * rt/Makefile (librt-routines): Add clock-compat and move
69702         $(clock-routines) to ...
69703         (routines): ... here, new variable.
69704         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69705         Don't add get_clockfreq here.
69706         * rt/Versions (libc: GLIBC_2.17): New version set.
69707         Add clock_* symbols here.
69708         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69709         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69710         (GLIBC_2.17): Add clock_* symbols.
69711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69715         Likewise.
69716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69717         Likewise.
69718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69722         * NEWS: Mention the move.
69724         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69725         Use __open, __read, __close rather than their public counterparts.
69726         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69727         (__get_clockfreq_via_cpuinfo): Likewise.
69728         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69729         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69731         * config.h.in (HAVE_IFUNC): New #undef.
69732         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69733         was successful.
69734         * configure: Regenerated.
69736 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69738         * configure.in: Move READELF check to start of file.
69739         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69740         libc_cv_asm_gnu_indirect_function in the process.
69741         * configure: Regenerated.
69743 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69745         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69746         send the output to /dev/null.
69747         (libc_cv_cc_with_libunwind): Likewise.
69748         (libc_cv_as_noexecstack): Likewise.
69749         * configure: Regenerate.
69751 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69753         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69755         * posix/globtest.sh (TMPDIR): Do not set.
69756         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69757         (testout): Likewise.
69759 2012-10-24  Andreas Jaeger  <aj@suse.de>
69761         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69762         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69763         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69764         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69765         posix_fadvise64, posix_fallocate64.
69767         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69768         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69769         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69770         Likewise.
69771         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69772         Likewise.
69773         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69776         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69777         <bits/fcntl-linux.h>.
69778         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69780         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69781         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69782         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69783         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69784         [__WORDSIZE != 64]: Likewise.
69786 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69788         * Makeconfig (run-built-tests): New variable.
69789         * Rules [$(cross-compiling) = yes]: Change condition to
69790         [$(run-built-tests) = no].
69791         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69792         to [$(run-built-tests) = yes].
69793         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69794         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69795         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69796         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69797         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69798         * io/Makefile [$(cross-compiling) = no]: Likewise.
69799         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69800         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69801         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69802         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69803         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69804         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69805         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69806         * string/Makefile [$(cross-compiling) = no]: Likewise.
69808         * posix/Makefile ($(objpfx)globtest.out): Pass
69809         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69810         $(rtld-installed-name).
69811         * posix/globtest.sh (elf_objpfx): Remove variable.
69812         (rtld_installed_name): Likewise.
69813         (library_path): Likewise.
69814         (run_program_prefix): New variable.  Use for running globtest
69815         binary.
69817 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69818             Joseph Myers  <joseph@codesourcery.com>
69820         * Makeconfig (host-built-program-cmd): New variable.
69821         * elf/Makefile (tst-stackguard1-ARGS): Use
69822         $(host-built-program-cmd).
69823         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69824         (tst-spawn-ARGS): Likewise.
69825         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69827 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69828             Jim Blandy  <jimb@codesourcery.com>
69830         * Makeconfig (run-via-rtld-prefix): New variable.
69831         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69832         (built-program-cmd): Likewise.
69834 2012-10-22  Andreas Jaeger  <aj@suse.de>
69836         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69837         __O_RSYNC if it exists, otherwise to O_SYNC.
69839 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69840             Joseph Myers  <joseph@codesourcery.com>
69842         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69843         /dev/null.
69844         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69845         from /dev/null
69846         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69847         /dev/null.
69849 2012-10-22  Andreas Jaeger  <aj@suse.de>
69851         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69852         Define always.
69853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69856         bits/fcntl-linux.h.
69858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69859         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69861         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69862         to __O_LARGEFILE.
69863         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69864         to __O_LARGEFILE.
69866 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69867             Joseph Myers  <joseph@codesourcery.com>
69869         * config.make.in (NM): New variable.
69871 2012-10-21  Andreas Jaeger  <aj@suse.de>
69873         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69874         definitions and declarations that are provided by
69875         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69877 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69879         [BZ #14683]
69880         * elf/Makefile (tests-static): Add tst-leaks1-static.
69881         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69882         ($(objpfx)tst-leaks1-static): New rule.
69883         ($(objpfx)tst-leaks1-static-mem): Likewise.
69884         (tst-leaks1-static-ENV): New macro.
69885         * elf/dl-open.c (dl_open_worker): Check the main application
69886         only if SHARED is defined.
69887         * elf/tst-leaks1-static.c: New file.
69889 2012-10-20  Andreas Jaeger  <aj@suse.de>
69891         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69892         generic values for Linux.
69893         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69894         and declarations that are provided by <bits/fcntl-linux.h> and
69895         include <bits/fcntl-linux.h>.
69896         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69897         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69899 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69901         * io/fcntl.h: Move include of <bits/types.h> to the top and
69902         include it unconditionally.
69904 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69906         * wcsmbs/Makefile (tests-ifunc): New variable.
69907         (tests): Add $(tests-ifunc).
69908         * wcsmbs/test-wcschr-ifunc.c: New file.
69909         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69910         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69911         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69912         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69913         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69915         * string/Makefile (tests-ifunc): New variable.
69916         (tests): Add $(tests-ifunc).
69917         * string/test-memccpy.c (TEST_NAME): New macro.
69918         * string/test-memchr.c (TEST_NAME): Likewise.
69919         * string/test-memcmp.c (TEST_NAME): Likewise.
69920         * string/test-memcpy.c (TEST_NAME): Likewise.
69921         * string/test-memmem.c (TEST_NAME): Likewise.
69922         * string/test-memmove.c (TEST_NAME): Likewise.
69923         * string/test-memset.c (TEST_NAME): Likewise.
69924         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69925         * string/test-stpcpy.c (TEST_NAME): Likewise.
69926         * string/test-stpncpy.c (TEST_NAME): Likewise.
69927         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69928         * string/test-strcasestr.c (TEST_NAME): Likewise.
69929         * string/test-strcat.c (TEST_NAME): Likewise.
69930         * string/test-strchr.c (TEST_NAME): Likewise.
69931         * string/test-strcmp.c(TEST_NAME): Likewise.
69932         * string/test-strcpy.c (TEST_NAME): Likewise.
69933         * string/test-strcspn.c (TEST_NAME): Likewise.
69934         * string/test-strlen.c (TEST_NAME): Likewise.
69935         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69936         * string/test-strncmp.c (TEST_NAME): Likewise.
69937         * string/test-strncpy.c (TEST_NAME): Likewise.
69938         * string/test-strnlen.c (TEST_NAME): Likewise.
69939         * string/test-strpbrk.c (TEST_NAME): Likewise.
69940         * string/test-strrchr.c (TEST_NAME): Likewise.
69941         * string/test-strspn.c (TEST_NAME): Likewise.
69942         * string/test-strstr.c (TEST_NAME): Likewise.
69943         * string/test-bcopy-ifunc.c: New file.
69944         * string/test-bzero-ifunc.c: Likewise.
69945         * string/test-memccpy-ifunc.c: Likewise.
69946         * string/test-memchr-ifunc.c: Likewise.
69947         * string/test-memcmp-ifunc.c: Likewise.
69948         * string/test-memcpy-ifunc.c: Likewise.
69949         * string/test-memmem-ifunc.c: Likewise.
69950         * string/test-memmove-ifunc.c: Likewise.
69951         * string/test-mempcpy-ifunc.c: Likewise.
69952         * string/test-memset-ifunc.c: Likewise.
69953         * string/test-rawmemchr-ifunc.c: Likewise.
69954         * string/test-stpcpy-ifunc.c: Likewise.
69955         * string/test-stpncpy-ifunc.c: Likewise.
69956         * string/test-strcasecmp-ifunc.c: Likewise.
69957         * string/test-strcasestr-ifunc.c: Likewise.
69958         * string/test-strcat-ifunc.c: Likewise.
69959         * string/test-strchr-ifunc.c: Likewise.
69960         * string/test-strchrnul-ifunc.c: Likewise.
69961         * string/test-strcmp-ifunc.c: Likewise.
69962         * string/test-strcpy-ifunc.c: Likewise.
69963         * string/test-strcspn-ifunc.c: Likewise.
69964         * string/test-strlen-ifunc.c: Likewise.
69965         * string/test-strncasecmp-ifunc.c: Likewise.
69966         * string/test-strncat-ifunc.c: Likewise.
69967         * string/test-strncmp-ifunc.c: Likewise.
69968         * string/test-strncpy-ifunc.c: Likewise.
69969         * string/test-strnlen-ifunc.c: Likewise.
69970         * string/test-strpbrk-ifunc.c: Likewise.
69971         * string/test-strrchr-ifunc.c: Likewise.
69972         * string/test-strspn-ifunc.c: Likewise.
69973         * string/test-strstr-ifunc.c: Likewise.
69975         * debug/Makefile (tests-ifunc): New variable.
69976         (tests): Add $(tests-ifunc).
69977         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69978         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69979         * debug/test-stpcpy_chk-ifunc.c: New file.
69980         * debug/test-strcpy_chk-ifunc.c: Likewise.
69982 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69984         [BZ #13601]
69985         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69986         header is not read in.
69988 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69990         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69991         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69992         directly.  Pass built executable to script as
69993         $(built-program-cmd).
69994         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69995         $testprogram without using LD_LIBRARY_PATH and $ldso.
69997         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69998         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69999         $(rtld-installed-name).
70000         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70001         (rtld_installed_name): Likewise.
70002         (library_path): Likewise.
70003         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70004         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70005         $(run-program-prefix) to tst-tables.sh.
70006         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70007         it to run tst-table-from and tst-table-to.
70008         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70009         Pass it to tst-table.sh.
70010         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70011         $(run-program-prefix) to tst-gettext.sh.
70012         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70013         tst-translit.sh.
70014         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70015         tst-gettext2.sh.
70016         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70017         to run tst-gettext.
70018         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70019         to run tst-gettext2.
70020         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70021         to run tst-translit.
70022         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70023         $(run-program-prefix) to tst-mtrace.sh.
70024         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70025         to run tst-mtrace.
70026         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70027         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70028         $(rtld-installed-name).
70029         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70030         (rtld_installed_name): Likewise.
70031         (run_program_prefix): New variable.  Use it to run wordexp-test.
70033         * Makeconfig (ARCH): Remove all definitions.
70034         (machine): Likewise.
70035         [ARCH]: Remove conditional code.
70036         [!objdir]: Give error.
70037         [!objdir] (objpfx): Remove.
70038         [!objdir] (common-objpfx): Likewise.
70039         [!objdir] (common-objdir): Likewise.
70040         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70041         AC_CONFIG_FILES call.
70042         * configure: Regenerated.
70044         [BZ #13888]
70045         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70046         or TMPDIR.
70047         (testout): Likewise.
70049         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70050         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70051         $(rtld-installed-name).
70052         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70053         (rtld_installed_name): Likewise.
70054         (runit): Remove function.
70055         (run_getconf): New variable,  Use it for running getconf binary.
70057 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70059         [BZ #14716]
70060         * string/test-memmem.c (check_result): New function.
70061         (do_one_test): Use it.
70062         (check1): New function.
70063         (test_main): Use it.
70065 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70067         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70069 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70071         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70072         (_G_LSEEK64): Likewise.
70073         (_G_MMAP64): Likewise.
70074         (_G_FSTAT64): Likewise.
70075         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70076         (_G_LSEEK64): Likewise.
70077         (_G_MMAP64): Likewise.
70078         (_G_FSTAT64): Likewise.
70079         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70080         unconditional.  Call __mmap64 directly.
70081         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70082         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70083         __lseek64 directly.
70084         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70085         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70086         __mmap64 directly.
70087         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70088         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70089         __lseek64 directly.
70090         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70091         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70092         __lseek64 directly.
70093         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70094         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70095         __lseek64 directly.
70096         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70097         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70098         __fxstat64 directly.
70099         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70100         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70101         unconditional.
70102         (freopen64) [!_G_OPEN64]: Remove conditional code.
70103         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70104         unconditional.
70105         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70106         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70107         unconditional.
70108         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70109         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70110         unconditional.
70111         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70112         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70113         unconditional.
70114         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70115         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70116         unconditional.
70117         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70118         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70119         unconditional.
70120         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70121         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70122         unconditional.
70123         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70125 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70127         [BZ #12140]
70128         * manual/memory.texi (Malloc Tunable Parameters): Add note
70129         about free list pointers overwriting some perturb bytes.
70130         Wording suggested by Roland McGrath.
70132 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70134         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70135         (lgamma_test): Likewise.
70136         (tgamma_test): Likewise.
70138 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70140         [BZ #14700]
70141         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70142         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70144 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70146         * NEWS: Mention BZ #14716.
70147         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70148         when removing AVAILABLE1_USES_J macro.
70150 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70152         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70153         (__bswap_64): __uint64_t for unsigned 64-bit int.
70155 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70157         * include/string.h (memmem): Declare libc hidden alias.
70158         * string/memmem.c (memmem): Define libc hidden alias.
70159         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70160         __read, __close instead of open, read, close.
70162 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70164         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70165         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70166         global and hidden.
70167         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70168         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70169         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70170         Likewise.
70171         (__rawmemchr_sse2): Likewise.
70172         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70173         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70174         (__strchr_sse2): Likewise.
70175         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70176         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70177         (__strcasecmp_sse2): Likewise.
70178         (__strncasecmp_sse2): Likewise.
70179         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70180         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70181         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70182         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70183         (__strrchr_sse2): Likewise.
70184         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70185         ifunc-impl-list.c.
70186         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70187         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70188         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70189         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70190         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70191         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70192         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70193         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70194         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70195         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70196         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70197         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70198         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70199         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70200         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70201         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70202         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70203         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70204         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70205         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70206         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70207         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70208         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70209         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70210         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70211         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70212         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70213         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70214         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70215         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70217         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70218         global and hidden.
70219         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70220         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70221         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70222         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70223         Likewise.
70224         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70225         Likewise.
70226         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70227         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70228         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70229         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70230         ifunc-impl-list.c.
70231         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70232         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70233         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70234         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70235         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70236         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70237         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70238         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70239         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70240         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70241         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70242         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70243         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70244         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70245         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70246         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70247         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70248         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70249         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70250         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70251         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70252         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70253         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70254         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70255         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70256         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70257         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70258         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70259         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70260         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70261         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70262         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70263         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70264         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70265         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70266         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70267         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70268         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70269         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70270         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70271         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70273         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70274         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70275         * include/ifunc-impl-list.h: New file.
70276         * misc/ifunc-impl-list.c: Likewise.
70277         * misc/Makefile (routines): Add ifunc-impl-list.
70278         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70279         * string/test-string.h: Include <ifunc-impl-list.h>.
70280         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70281         TEST_NAME]: New variables.
70282         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70283         are defined.
70284         (test_init): Call __libc_ifunc_impl_list to initialize
70285         func_list if TEST_IFUNC and TEST_NAME are defined.
70287         * string/Makefile (strop-tests): Add bcopy and bzero.
70288         * string/test-bcopy.c: New file.
70289         * string/test-bzero.c: Likewise.
70290         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70291         defined.
70292         * string/test-memset.c: Support bzero test if TEST_BZERO is
70293         defined.
70294         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70295         __libc_memmove.
70296         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70297         __libc_memset.
70298         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70299         of memset.
70301 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70303         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70304         * configure: Regenerated.
70306         * Makeconfig (+link-static-before-libc): Don't include
70307         $(link-static-libc).
70309         * libio/libio.h (_IO_pos_t): Remove.
70311 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70313         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70314         McGrath.
70316 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70318         * crypt/crypt-entry.c: Include fips-private.h.
70319         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70320         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70321         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70322         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70324 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70326         * crypt/crypt-private.h: Include stdbool.h.
70327         (_ufc_setup_salt_r): Return bool.
70328         * crypt/crypt-entry.c: Include errno.h.
70329         (__crypt_r): Return NULL with EINVAL for bad salt.
70330         * crypt/crypt_util.c (bad_for_salt): New.
70331         (_ufc_setup_salt_r): Check that salt is long enough and within
70332         the specified alphabet.
70333         * crypt/badsalttest.c: New file.
70334         * crypt/Makefile (tests): Add it.
70335         ($(objpfx)badsalttest): New.
70337 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70339         * NEWS: Add entry for BZ #14602.
70341 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70343         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70344         type-generic.
70345         * math/libm-test.inc: Update comment listing what functions and
70346         macros are tested.
70347         (isgreater_test): New function.
70348         (isgreaterequal_test): Likewise.
70349         (isless_test): Likewise.
70350         (islessequal_test): Likewise.
70351         (islessgreater_test): Likewise.
70352         (isunordered_test): Likewise.
70353         (main): Call the new functions.
70355 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70357         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70358         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70359         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70360         * sysdeps/i386/configure: Regenerated.
70361         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70362         * sysdeps/mach/configure: Regenerated.
70363         * sysdeps/mach/hurd/configure: Regenerated.
70364         * sysdeps/powerpc/configure: Regenerated.
70365         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70366         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70367         * sysdeps/s390/s390-32/configure: Regenerated.
70368         * sysdeps/s390/s390-64/configure: Regenerated.
70369         * sysdeps/sh/configure: Regenerated.
70370         * sysdeps/sparc/configure: Regenerated.
70371         * sysdeps/unix/sysv/linux/configure: Regenerated.
70372         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70373         * sysdeps/x86_64/configure: Regenerated.
70375         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70376         defined.  Don't check if MAP is NULL.
70378 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70380         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70381         (_G_stat64): Likewise.
70382         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70383         (_G_stat64): Likewise.
70384         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70385         instead of struct _G_stat64.
70386         * libio/fileops.c (mmap_remap_check): Likewise.
70387         (decide_maybe_mmap): Likewise.
70388         (_IO_new_file_seekoff): Likewise.
70389         (_IO_file_stat): Likewise.
70390         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70391         _G_off64_t.
70392         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70393         instead of struct _G_stat64.
70394         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70396 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70398         [BZ #14602]
70399         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70400         Replace with ...
70401         (CHECK_EOL): New macro.
70402         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70403         CHECK_EOL.
70404         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70405         Replace with CHECK_EOL.
70406         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70407         Replace with CHECK_EOL.
70409 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70411         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70412         type-generic.
70413         * math/libm-test.inc: Update comment listing what functions and
70414         macros are tested.
70415         (finite_test): New function.
70416         (isinf_test): Likewise.
70417         (isnan_test): Likewise.
70418         (fpclassify_test): Test subnormal input.
70419         (isfinite_test): Likewise.
70420         (isnormal_test): Likewise.
70421         (main): Call the new functions.
70423 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70425         [BZ #14660]
70426         * Makerules (%.dynsym): Force C locale when running
70427         $(OBJDUMP) --dynamic-syms.
70429 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70431         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70432         <stdint.h>.
70434 2012-10-06  David S. Miller  <davem@davemloft.net>
70436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70437         upper 32-bits of the length value in %o2 since we use branch-on-register
70438         tests which consider the entire 64-bit register.
70440 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70442         * string/test-strstr.c (check2): Add a test for page boundary.
70444 2012-10-05  David S. Miller  <davem@davemloft.net>
70446         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70447         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70448         file.
70449         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70450         sysdep_routines.
70451         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70452         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70453         and bzero when HWCAP_SPARC_CRYPTO is present.
70455 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70457         [BZ #14602]
70458         * string/test-strstr.c (check2): New function.
70459         (test_main): Call check2.
70461         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70462         and bug-strchr1.
70463         * string/bug-strcasestr1.c (do_test): Moved to ...
70464         * string/test-strcasestr.c (check1): Here.  New function.
70465         (do_one_test): Break out result checking code into ...
70466         (check_result): This.  New function.
70467         (do_one_test): Call check_result.
70468         (test_main): Call check1.
70469         * string/bug-strchr1.c (do_test): Moved to ...
70470         * string/test-strchr.c (check1): Here.  New function.
70471         (do_one_test): Break out result checking code into ...
70472         (check_result): This.  New function.
70473         (do_one_test): Call check_result.
70474         (test_main): Call check1.
70475         * string/bug-strstr1.c (main): Moved to ...
70476         * string/test-strstr.c (check1): Here.  New function.
70477         (do_one_test): Break out result checking code into ...
70478         (check_result): This.  New function.
70479         (do_one_test): Call check_result.
70480         (test_main): Call check1.
70481         * string/bug-strcasestr1.c: Removed.
70482         * string/bug-strchr1.c: Likewise.
70483         * string/bug-strstr1.c: Likewise.
70485         * elf/Makefile (dl-routines): Add hwcaps.
70486         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70487         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70488         (_dl_important_hwcaps): Moved to ...
70489         * elf/dl-hwcaps.c: Here.  New file.
70490         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70492         [BZ #14557]
70493         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70494         if IS_IN_rtld isn't defined.
70496         * elf/dl-support.c (_dl_sysinfo_map): New.
70497         Include "get-dynamic-info.h" and "setup-vdso.h".
70498         (_dl_non_dynamic_init): Call setup_vdso.
70499         * elf/dynamic-link.h: Don't include <assert.h>.
70500         (elf_get_dynamic_info): Moved to ...
70501         * elf/get-dynamic-info.h: Here.  New file.
70502         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70503         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70504         * elf/setup-vdso.h: Here.  New file.
70505         * elf/rtld.c: Include "setup-vdso.h".
70506         (dl_main): Call setup_vdso.
70508 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70510         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70511         creal in comment listing functions tested.  List finite, isinf,
70512         isnan, isless, islessequal, isgreater, isgreaterequal,
70513         islessgreater, isunordered, lgamma_r and pow10 as functions and
70514         macros not tested.  Mention which functions not tested are aliases
70515         for other functions.  Fix typo.  Note that signs of NaNs are not
70516         tested.
70518         * scripts/config.guess: Update from config.git.
70519         * scripts/config.sub: Likewise.
70521 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70523         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70524         * misc/madvise.c (madvise): Renamed to __madvise.
70525         Make madvise a weak alias.
70526         * include/sys/mman.h: Declare __madvise.
70527         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70528         * sysdeps/unix/syscalls.list
70529         (madvise): Make __madvise the strong name, and madvise a weak alias.
70530         * sysdeps/unix/sysv/linux/syscalls.list
70531         (madvise, mmap): Remove redundant entries.
70532         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70533         * malloc/malloc.c (mtrim): Likewise.
70534         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70536 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70538         * sysdeps/mach/hurd/dl-cache.c: File removed.
70539         * config.h.in (USE_LDCONFIG): New #undef.
70540         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70541         * configure: Regenerated.
70542         * elf/Makefile (dl-routines): Add dl-cache only under
70543         [$(use-ldconfig) = yes].
70544         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70545         cache on [USE_LDCONFIG].
70546         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70547         [USE_LDCONFIG].
70548         * elf/rtld.c (dl_main): Likewise.
70550 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70552         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70553         _SC_LEVEL4_CACHE_LINESIZE.
70555 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70557         * sysdeps/unix/bsd/confstr.h: File removed.
70559 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70561         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70562         sys/sdt-config.h.
70564 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70566         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70567         Make 'mapoff' field ElfW(Off) rather than off_t.
70569 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70571         * nscd/Makefile: Remove nscd-cflags and all its users.
70572         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70573         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70575         [BZ #10631]
70576         * malloc.c (malloc_printerr): Clarify error message.
70578 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70580         [BZ #14648]
70581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70582         Set bit_FMA_Usable if FMA is supported.
70583         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70584         macro.
70585         (bit_FMA4_Usable): Updated.
70586         (index_FMA_Usable): New macro.
70587         (CPUID_FMA): Likewise.
70588         (HAS_FMA): Defined with bit_FMA_Usable.
70590 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70592         * bits/types.h (__swblk_t): Type removed.
70593         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70594         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70596         (__SWBLK_T_TYPE): Likewise.
70597         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70598         (__SWBLK_T_TYPE): Likewise.
70599         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70600         (__SWBLK_T_TYPE): Likewise.
70601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70602         (__SWBLK_T_TYPE): Likewise.
70604 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70605             Honza Horak <hhorak@redhat.com>
70607         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70608         (xdr_mapname): Use YPMAXMAP as maxsize.
70609         (xdr_peername): Use YPMAXPEER as maxsize.
70610         (xdr_keydat): Use YPAXRECORD as maxsize.
70611         (xdr_valdat): Use YPMAXRECORD as maxsize.
70613 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70615         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70617         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70618         * csu/init-first.c: ... here.
70619         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70620         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70621         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70622         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70623         * sysdeps/i386/init-first.c: File removed.
70624         * sysdeps/sh/init-first.c: File removed.
70626 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70628         [BZ #14645]
70629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70630         if x * y might underflow to zero and z is zero.
70631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70632         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70633         * math/libm-test.inc (min_subnorm_value): New variable.
70634         (fma_test): Add more tests.
70635         (fma_test_towardzero): Likewise.
70636         (fma_test_downward): Likewise.
70637         (fma_test_upward): Likewise.
70638         (initialize): Set min_subnorm_value.
70640 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70642         [BZ #14638]
70643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70644         0 + 0.
70645         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70646         mode for addition resulting in exact zero.
70647         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70649         exact 0 + 0.
70650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70652         * math/libm-test.inc (fma_test): Add more tests.
70653         (fma_test_towardzero): New function.
70654         (fma_test_downward): Likewise.
70655         (fma_test_upward): Likewise.
70656         (main): Call the new functions.
70658 2012-09-28  David S. Miller  <davem@davemloft.net>
70660         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70662 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70664         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70665         instead of SIGALRM.
70667         * sysdeps/gnu/_G_config.h: Moved to ...
70668         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70669         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70670         * sysdeps/generic/_G_config.h: ... here.
70672         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70674         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70676         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70677         Conditionalize target on [libnss_test1.so-version].
70679         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70681         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70682         (elfobjdir): Move out of conditionals.
70684         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70685         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70686         (__nss_lookup_function): Conditionalize label remove_from_tree on
70687         [!DO_STATIC_NSS || SHARED], matching its only use.
70689 2012-09-28  David S. Miller  <davem@davemloft.net>
70691         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70692         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70693         file.
70694         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70695         sysdep_routines.
70696         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70697         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70698         when HWCAP_SPARC_CRYPTO is present.
70700 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70702         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70704 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70706         [BZ #6530]
70707         * stdio-common/vfprintf.c (process_string_arg): Revert
70708         2000-07-22 change.
70710 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70712         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70713         for testcase.
70714         * stdio-common/tst-sprintf.c: Include <locale.h>
70715         (main): Test sprintf's handling of incomplete multibyte
70716         characters.
70718 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70720         * elf/dl-runtime.c (VERSYMIDX): Removed.
70721         * elf/dl-version.c (VERSYMIDX): Likewise.
70722         * elf/do-rel.h (VERSYMIDX): Likewise.
70723         (VALIDX): Likewise.
70724         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70725         * elf/rtld.c (VALIDX): Likewise.
70726         (ADDRIDX): Likewise.
70727         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70728         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70729         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70730         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70731         (VALIDX): Likewise.
70732         (ADDRIDX): Likewise.
70734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70736         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70738 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70740         [BZ #11438]
70741         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70742         to global scope.
70743         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70744         addresses are in the same scope as 192.0.2/24.
70745         * posix/gai.conf: Document new scope table defaults.
70747 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70749         [BZ #5298]
70750         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70751         for ftell.  Compute offsets from write pointers instead.
70752         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70754 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70756         [BZ #14543]
70757         * libio/Makefile (tests): New test case tst-fseek.
70758         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70759         combination works in wide mode.
70760         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70761         state when the external buffer state changes.
70763 2012-09-27  David S. Miller  <davem@davemloft.net>
70765         [BZ #14376]
70766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70767         pass reloc->r_addend in as the 'high' argument to
70768         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70772 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70774         * rt/tst-aio2.c: Include <pthread.h>.
70775         * rt/tst-aio3.c: Likewise.
70777 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70779         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70781 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70783         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70784         contents on [SHARED].
70786 2012-09-26  Marek Polacek  <polacek@redhat.com>
70788         [BZ #14530]
70789         [BZ #13741]
70790         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70791         for C++ and GCC <4.3 as well as for non GCC compilers.
70793 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70797 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70799         * Makefile.in (all, install): Declare with .PHONY.
70800         Reported by Michael Hope <michael.hope@linaro.org>.
70802 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70804         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70805         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70806         system header.
70807         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70808         Likewise.
70809         (sydep_routines): Add the new and the internal functions.
70810         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70811         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70813         (GLIBC_2.17): Add the new function.
70814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70815         (GLIBC_2.17): Likewise.
70816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70817         (GLIBC_2.17): Likewise.
70818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70819         (GLIBC_2.17): Likewise.
70820         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70822 2012-09-25  Alan Modra  <amodra@gmail.com>
70824         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70825         Add release barrier before setting once_control to say
70826         initialisation is done.  Add hints on lwarx.  Use macro in
70827         place of isync.
70828         (clear_once_control): Add release barrier.
70830 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70832         [BZ #13629]
70833         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70834         specially.
70835         * math/s_clog10.c (__clog10): Likewise.
70836         * math/s_clog10f.c (__clog10f): Likewise.
70837         * math/s_clog10l.c (__clog10l): Likewise.
70838         * math/s_clogf.c (__clogf): Likewise.
70839         * math/s_clogl.c (__clogl): Likewise.
70840         * math/Makefile (libm-calls): Add x2y2m1.
70841         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70842         (__x2y2m1): Likewise.
70843         (__x2y2m1l): Likewise.
70844         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70845         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70846         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70847         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70848         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70849         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70850         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70851         * sysdeps/i386/fpu/libm-test-ulps: Update.
70852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70854         [BZ #14621]
70855         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70856         int as type of variable DEPTH.
70857         (glob): Use size_t instead of int as type of variables NEWCOUNT
70858         and OLD_PATHC.
70860 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70862         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70863         Add s_sincosf-sse2.
70864         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70865         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70866         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70867         macros for using routine as __sincosf_ia32.
70868         Use macro for function declaration and weak_alias.
70869         * sysdeps/i386/fpu/libm-test-ulps: Update.
70871         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70874         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70875         subnormal argument.
70876         * math/s_cexpf.c (__cexpf): Likewise.
70877         * math/s_csinf.c (__csinf): Likewise.
70878         * math/s_csinhf.c (__csinhf): Likewise.
70879         * math/s_ctanf.c (__ctanf): Likewise.
70880         * math/s_ctanhf.c (__ctanhf): Likewise.
70881         * math/s_ccosh.c (__ccoshf): Likewise.
70882         * math/s_cexp.c (__cexpl): Likewise.
70883         * math/s_csin.c (__csin): Likewise.
70884         * math/s_csinh.c (__csinh): Likewise.
70885         * math/s_ctan.c (__ctan): Likewise.
70886         * math/s_ctanh.c (ctanh): Likewise.
70887         * math/s_ccoshl.c (__ccoshl): Likewise.
70888         * math/s_cexpl.c (__cexpl): Likewise.
70889         * math/s_csinl.c (__csinl): Likewise.
70890         * math/s_csinhl.c (__csinhl): Likewise.
70891         * math/s_ctanl.c (__ctanl): Likewise.
70892         * math/s_ctanhl.c (__ctanhl): Likewise.
70894 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70896         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70897         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70898         (_IO_off_t): Define to __off_t, not _G_off_t.
70899         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70900         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70901         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70902         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70903         type of __dummy and __dummy2 fields.
70904         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70905         (_G_ssize_t): Likewise.
70906         (_G_off_t): Likewise.
70907         (_G_pid_t): Likewise.
70908         (_G_uid_t): Likewise.
70909         (_G_wchar_t): Likewise.
70910         (_G_wint_t): Likewise.
70911         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70912         (_G_ssize_t): Likewise.
70913         (_G_off_t): Likewise.
70914         (_G_pid_t): Likewise.
70915         (_G_uid_t): Likewise.
70916         (_G_wchar_t): Likewise.
70917         (_G_wint_t): Likewise.
70918         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70919         (_G_ssize_t): Likewise.
70920         (_G_off_t): Likewise.
70921         (_G_pid_t): Likewise.
70922         (_G_uid_t): Likewise.
70923         (_G_wchar_t): Likewise.
70924         (_G_wint_t): Likewise.
70926 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70928         * malloc/arena.c: Include malloc-sysdep.h.
70929         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70930         is sufficient to shrink the heap or an unmap is needed.
70931         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70932         new function check_may_shrink_heap.
70933         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70934         new function check_may_shrink_heap.
70936 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70938         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70939         comments.
70941 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70943         * catgets/test-gencat.sh: Add "set -e".
70944         * elf/tst-pathopt.sh: Likewise.
70945         * grp/tst_fgetgrent.sh: Likewise.
70946         * iconvdata/run-iconv-test.sh: Likewise.
70947         * intl/tst-gettext.sh: Likewise.
70948         * intl/tst-gettext2.sh: Likewise.
70949         * intl/tst-gettext4.sh: Likewise.
70950         * intl/tst-gettext6.sh: Likewise.
70951         * intl/tst-translit.sh: Likewise.
70952         * io/ftwtest-sh: Likewise.
70953         * libio/test-freopen.sh: Likewise.
70954         * malloc/tst-mtrace.sh: Likewise.
70955         * posix/globtest.sh: Likewise.
70956         * posix/tst-getconf.sh: Likewise.
70957         * posix/wordexp-tst.sh: Likewise.
70958         * stdio-common/tst-printf.sh: Likewise.
70959         * stdio-common/tst-unbputc.sh: Likewise.
70960         * stdlib/tst-fmtmsg.sh: Likewise.
70961         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70962         * catgets/Makefile: Do not specify -e option when running
70963         testsuite shell scripts.
70964         * elf/Makefile: Likewise.
70965         * grp/Makefile: Likewise.
70966         * iconvdata/Makefile: Likewise.
70967         * intl/Makefile: Likewise.
70968         * io/Makefile: Likewise.
70969         * libio/Makefile: Likewise.
70970         * malloc/Makefile: Likewise.
70971         * posix/Makefile: Likewise.
70972         * stdio-common/Makefile: Likewise.
70973         * stdlib/Makefile: Likewise.
70974         * sysdeps/x86_64/Makefile: Likewise.
70976         * io/ftwtest-sh: Add copyright header.
70977         * posix/globtest.sh: Likewise.
70978         * posix/tst-getconf.sh: Likewise.
70979         * posix/wordexp-tst.sh: Likewise.
70980         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70982 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70984         [BZ #13679]
70985         * Makeconfig (+link): Defined as $(+link-static) if
70986         $(build-shared) isn't yes.
70987         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70988         isn't yes.
70989         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70991         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70993         [BZ #14562]
70994         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70995         new chunk size with MALLOC_ALIGN_MASK.
70997 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70999         [BZ #5044]
71000         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71001         <rounding-mode.h>.
71002         (__printf_fphex): Determine rounding using get_rounding_mode and
71003         round_away.
71004         * stdio-common/tst-printf-round.c (struct hex_test): New
71005         structure.
71006         (hex_tests): New variable.
71007         (test_hex_in_one_mode): New function.
71008         (do_test): Also run tests for hex float output.
71010 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71012         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71013         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71014         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71015         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71016         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71017         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71018         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71019         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71021 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71023         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71024         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71025         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71026         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71028 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71030         [BZ #14579]
71031         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71032         mode only.
71033         * elf/tst-rtld-load-self.sh: New test.
71034         * elf/Makefile: Run it.
71036 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71038         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71039         (tst-writev-ENV): Remove.
71040         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71042 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71044         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71046 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71048         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71049         unconditional.
71050         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71051         Likewise.
71052         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71053         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71054         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71055         Likewise.
71057 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71059         [BZ #14587]
71060         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71061         * config.make.in (have-cpp-asm-debuginfo): Removed.
71062         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71063         * configure: Regenerated.
71065 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71067         [BZ #5044]
71068         * stdio-common/printf_fp.c: Include <stdbool.h> and
71069         <rounding-mode.h>.
71070         (___printf_fp): Determine rounding using get_rounding_mode and
71071         round_away.
71072         * stdio-common/tst-printf-round.c: New file.
71073         * stdio-common/Makefile (tests): Add tst-printf-round.
71074         (link-libm): New variable.
71075         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71077 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71079         [BZ #14576]
71080         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71081         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71082         Likewise.
71083         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71084         Likewise.
71086 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71088         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71089         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71090         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71091         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71093 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71095         [BZ #14518]
71096         * include/rounding-mode.h: New file.
71097         * sysdeps/generic/get-rounding-mode.h: Likewise.
71098         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71099         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71100         (MAX_VALUE): New macro.
71101         (MIN_VALUE): Likewise.
71102         (overflow_value): New function.
71103         (underflow_value): Likewise.
71104         (round_and_return): Use overflow_value and underflow_value to
71105         determine return values in overflow and underflow cases.  Use
71106         round_away to determine rounding depending on rounding mode.
71107         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71108         determine return values in overflow and underflow cases.
71109         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71110         (struct test_results): New structure.
71111         (struct test): Use struct test_results to store expected results
71112         for all rounding modes.
71113         (TEST): Include expected results for all rounding modes.
71114         (test_in_one_mode): New function.
71115         (do_test): Use test_in_one_mode to compute and check results.
71116         Check results for all rounding modes.
71117         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71118         $(link-libm).
71120 2012-12-09  Allan McRae  <allan@archlinux.org>
71122         * sysdeps/i386/fpu/libm-test-ulps: Update
71124 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71126         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71127         (_G_int32_t): Likewise.
71128         (_G_uint16_t): Likewise.
71129         (_G_uint32_t): Likewise.
71130         (_G_HAVE_BOOL): Likewise.
71131         (_G_HAVE_ATEXIT): Likewise.
71132         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71133         (_G_HAVE_IO_FILE_OPEN): Likewise.
71134         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71135         (_G_int32_t): Likewise.
71136         (_G_uint16_t): Likewise.
71137         (_G_uint32_t): Likewise.
71138         (_G_HAVE_BOOL): Likewise.
71139         (_G_HAVE_ATEXIT): Likewise.
71140         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71141         (_G_HAVE_IO_FILE_OPEN): Likewise.
71142         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71143         (_G_int32_t): Likewise.
71144         (_G_uint16_t): Likewise.
71145         (_G_uint32_t): Likewise.
71146         (_G_HAVE_BOOL): Likewise.
71147         (_G_HAVE_ATEXIT): Likewise.
71148         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71149         (_G_HAVE_IO_FILE_OPEN): Likewise.
71151 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71153         * csu/libc-tls.c: Update copyright years.
71155 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71157         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71158         [!_G_USING_THUNKS]: Remove conditional code.
71159         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71160         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71162         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71163         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71164         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71165         (_G_VTABLE_LABEL_PREFIX): Likewise.
71166         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71167         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71168         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71169         (_G_VTABLE_LABEL_PREFIX): Likewise.
71170         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71171         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71172         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71173         (_G_VTABLE_LABEL_PREFIX): Likewise.
71174         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71176 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71178         * libio/Makefile: Include ../Makeconfig before tests.
71179         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71180         only if $(build-shared) is yes.
71182         * iconv/gconv_db.c: Update copyright years.
71184 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71186         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71187         unwind info if defined PIC. Fix special cases description.
71188         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71190         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71191         DP_HI_MASK entry.
71192         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71194 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71196         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71198         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71199         is NULL.
71201         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71202         (LDLIBS-tst-chk4): This.
71203         (LDFLAGS-tst-chk5): Renamed to ...
71204         (LDLIBS-tst-chk5): This.
71205         (LDFLAGS-tst-chk6): Renamed to ...
71206         (LDLIBS-tst-chk6): This.
71207         (LDFLAGS-tst-lfschk4): Renamed to ...
71208         (LDLIBS-tst-lfschk4): This.
71209         (LDFLAGS-tst-lfschk5): Renamed to ...
71210         (LDLIBS-tst-lfschk5): This.
71211         (LDFLAGS-tst-lfschk6): Renamed to ...
71212         (LDLIBS-tst-lfschk6): This.
71214         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71215         on $(common-objpfx)soversions.mk.
71217 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71219         [BZ #10014]
71220         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71221         example host name.
71223 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71225         * malloc/arena.c (arena_get_retry): New function that gets
71226         another arena for the caller to try its request on.
71227         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71228         current arena cannot fulfill the request.
71229         (__libc_memalign): Likewise.
71230         (__libc_memalign): Likewise.
71231         (__libc_pvalloc): Likewise.
71232         (__libc_calloc): Likewise.
71234 2012-09-05  John Tobey  <john.tobey@gmail.com>
71236         [BZ #13542]
71237         * manual/arith.texi (Operations on Complex): Fix description
71238         of carg branch cut.
71240 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71242         [BZ #10014]
71243         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71244         host name.
71246         [BZ #10038]
71247         * manual/memory.texi (Memory): Make order of menu items match
71248         order of sections.
71250 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71252         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71253         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71254         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71256 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71258         * csu/libc-tls.c (static_dtv): Renamed to ...
71259         (_dl_static_dtv): This.  Make it global.
71260         (_dl_initial_dtv): Removed.
71261         (__libc_setup_tls): Updated.
71262         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71263         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71264         DL_INITIAL_DTV.
71266 2012-09-06  Petr Machata  <pmachata@redhat.com>
71268         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71269         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71270         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71271         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71273 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71275         [BZ #14545]
71276         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71277         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71278         freeing dtv[-1].
71280 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71282         [BZ #14544]
71283         * Makeconfig (link-static-before-libc): Replace $(+prector)
71284         with $(+prectorT).
71285         (link-static-after-libc): Replace $(+postctor) with
71286         $(+postctorT).
71287         (link-bounded): Replace $(+prector)/$(+postctor) with
71288         $(+prectorT)/$(+postctorT).
71289         (+prectorT): New macro.
71290         (+postctorT): Likewise.
71292 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71294         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71295         (round_str): Handle values above the maximum for IBM long double
71296         as inexact.
71297         * stdlib/tst-strtod-round.c (tests): Regenerated.
71299 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71301         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71302         assembler flag.
71303         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71304         zarch_nohighgprs around the zarch optimized routines.
71305         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71306         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71307         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71308         for zarch.
71310 2012-09-05  David S. Miller  <davem@davemloft.net>
71312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71314         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71315         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71316         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71317         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71318         entries.
71320 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71322         * malloc/arena.c: Fold copyright years.
71323         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71325 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71327         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71331         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71333 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71335         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71336         change internal state upon failure.
71338 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71340         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71341         * malloc/memusage.c (mmap): Likewise.
71342         (mmap64, mremap): Likewise.  Adjust name in comment.
71344 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71346         * libio/fileops.c: Fix typos in comments.
71347         * libio/oldfileops.c: Likewise.
71348         * libio/wfileops.c: Likewise.
71350 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71352         [BZ #1349]
71353         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71354         (tst-malloc-usable-ENV): Set environment for test case.
71355         * malloc/hooks.c (malloc_check_get_size): New function to get
71356         requested size.
71357         * malloc/malloc.c (musable): Use malloc_check_get_size.
71358         * malloc/tst-malloc-usable.c: New test case.
71360 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71362         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71364 2012-09-05  Allan McRae  <allan@archlinux.org>
71366         [BZ #13966]
71367         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71368         determine header location.
71369         * configure: Regenerated.
71371 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71373         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71374         float format.
71375         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71376         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71377         format.
71378         (test): Regenerate.
71380 2012-09-04  David S. Miller  <davem@davemloft.net>
71382         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71383         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71386 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71388         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71389         failures.
71391         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71393 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71395         [BZ #9914]
71396         * libio/iogetdelim.c: Include <limits.h>.
71397         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71398         + len + 1 would overflow.
71400 2012-09-03  Andreas Jaeger  <aj@suse.de>
71402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71403         * sysdeps/i386/fpu/libm-test-ulps: Update.
71405 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71407         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71408         Add s_sinf-sse2, s_conf-sse2.
71410         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71411         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71412         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71413         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71415         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71416         for using routine as __sinf_ia32.
71417         Use macro for function declaration and weak_alias.
71418         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71419         for using routine as __cosf_ia32.
71420         Use macro for function declaration and weak_alias.
71422         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71423         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71425         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71426         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71429         * math/libm-test.inc (cos_test): Add more test cases.
71430         (sin_test): Likewise.
71431         (sincos_test): Likewise.
71433 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71435         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71436         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71437         hidden.
71438         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71440 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71442         [BZ #14538]
71443         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71444         first element of the GOT.
71445         (elf_machine_load_address): Return the difference between
71446         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71448 2012-09-01  Allan McRae  <allan@archlinux.org>
71450         [BZ #13412]
71451         * configure.in (AWK): Require gawk version 3.0 or later.
71452         * configure: Regenerated.
71454 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71456         * sysdeps/unix/sysv/linux/kernel-features.h
71457         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71458         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71459         [__NR_clock_getres]: Make code unconditional.
71460         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71461         (clock_getcpuclockid): Remove code left unreachable by removal of
71462         conditionals.
71463         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71464         code unconditional.
71465         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71466         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71467         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71468         Make code unconditional.
71469         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71470         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71471         * sysdeps/unix/sysv/linux/clock_settime.c
71472         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71473         conditional code.
71474         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71475         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71477 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71479         [BZ #14476]
71480         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71481         scripts/test-installation.pl.
71483         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71484         and $ld_so_version if it is set.
71486 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71488         [BZ #14516]
71489         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71490         failure if reading from procfs failed.
71491         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71493 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71495         * sysdeps/unix/sysv/linux/kernel-features.h
71496         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71497         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71498         Remove conditional code.
71499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71500         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71501         Remove conditional code.
71502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71503         * sysdeps/unix/sysv/linux/i386/fxstat.c
71504         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71506         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71507         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71509         * sysdeps/unix/sysv/linux/i386/lxstat.c
71510         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71512         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71513         Remove conditional code.
71514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71515         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71516         Remove conditional code.
71517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71518         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71519         <kernel-features.h>.
71520         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71521         Remove.
71522         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71523         Remove conditional code.
71524         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71525         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71526         Remove conditional.
71528 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71530         [BZ #5400]
71531         * NEWS: Add fixed bug number.
71533 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71535         [BZ #14519]
71536         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71537         underflowing exponent in case of negative sign.
71538         * stdlib/tst-strtod-round-data: Add more tests.
71539         * stdlib/tst-strtod-round.c (tests): Regenerated.
71541         [BZ #3479]
71542         * stdlib/strtod_l.c (NDIG): Remove.
71543         (HEXNDIG): Likewise.
71544         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71545         smallest representable value.
71546         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71547         lie within an exact representation of 1/2 ulp of the result.
71548         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71549         unconditionally.
71550         (TENS_P9_IDX): Define unconditionally.
71551         (TENS_P9_SIZE): Likewise.
71552         (TENS_P10_IDX): Likewise.
71553         (TENS_P10_SIZE): Likewise.
71554         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71555         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71556         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71557         entries for 10^2^13 and 10^2^14.
71558         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71559         (TENS_P13_IDX): Define.
71560         (TENS_P13_SIZE): Likewise.
71561         (TENS_P14_IDX): Likewise.
71562         (TENS_P14_SIZE): Likewise.
71563         (_fpioconst_pow10): Change array size to
71564         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71565         unconditional.
71566         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71567         1024]: Add entries for 10^2^13 and 10^2^14.
71568         [LAST_POW10 > _LAST_POW10]: Remove #error.
71569         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71570         (_fpioconst_pow10): Change array size to
71571         FPIOCONST_POW10_ARRAY_SIZE.
71572         * stdlib/gen-fpioconst.c: New file.
71573         * stdlib/gen-tst-strtod-round.c: Likewise.
71574         * stdlib/tst-strtod-round-data: Likewise.
71575         * stdlib/tst-strtod-round.c: Likewise.
71576         * stdlib/Makefile (tests): Add tst-strtod-round.
71578         [BZ #14459]
71579         * stdlib/strtod_l.c: Include <stdint.h>.
71580         (NDEBUG): Do not define.
71581         (round_and_return): Change EXPONENT parameter to type intmax_t.
71582         Rearrange calculations to avoid internal overflow possibilities.
71583         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71584         Rearrange calculations to avoid internal overflow possibilities.
71585         Assert that number fits inside MPNSIZE limbs.
71586         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71587         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71588         calculations and add assertions to avoid internal overflow
71589         possibilities.  Add casts to avoid signed/unsigned operations.
71590         * stdlib/tst-strtod-overflow.c: New file.
71591         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71593 2012-08-25  Marek Polacek  <polacek@redhat.com>
71595         * time/time.h: Fix some typos in comments.
71597 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71599         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71600         * posix/tst-rfc3484-2.c: Likewise.
71601         * posix/tst-rfc3484-3.c: Likewise.
71603 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71605         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71606         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71608 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71610         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71611         #include of fxstatat64.c.
71613 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71615         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71616         * shadow/getspent_r.c: Likewise.
71617         * shadow/getspnam.c: Likewise.
71618         * shadow/getspnam_r.c: Likewise.
71619         * gshadow/getsgent.c: Likewise.
71620         * gshadow/getsgent_r.c: Likewise.
71621         * gshadow/getsgnam.c: Likewise.
71622         * gshadow/getsgnam_r.c: Likewise.
71623         * inet/getnetbyad.c: Likewise.
71624         * inet/getnetbyad_r.c: Likewise.
71625         * inet/getnetbynm.c: Likewise.
71626         * inet/getnetbynm_r.c: Likewise.
71627         * inet/getnetent.c: Likewise.
71628         * inet/getnetent_r.c: Likewise.
71629         * inet/getproto.c: Likewise.
71630         * inet/getproto_r.c: Likewise.
71631         * inet/getprtent.c: Likewise.
71632         * inet/getprtent_r.c: Likewise.
71633         * inet/getprtname.c: Likewise.
71634         * inet/getprtname_r.c: Likewise.
71635         * inet/getrpcbyname.c: Likewise.
71636         * inet/getrpcbyname_r.c: Likewise.
71637         * inet/getrpcbynumber.c: Likewise.
71638         * inet/getrpcbynumber_r.c: Likewise.
71639         * inet/getrpcent.c: Likewise.
71640         * inet/getrpcent_r.c: Likewise.
71641         * inet/getaliasent.c: Likewise.
71642         * inet/getaliasent_r.c: Likewise.
71643         * inet/getaliasname.c: Likewise.
71644         * inet/getaliasname_r.c: Likewise.
71645         * nscd/getgrgid_r.c: Likewise.
71646         * nscd/getgrnam_r.c: Likewise.
71647         * nscd/gethstbyad_r.c: Likewise.
71648         * nscd/gethstbynm3_r.c: Likewise.
71649         * nscd/getpwnam_r.c: Likewise.
71650         * nscd/getpwuid_r.c: Likewise.
71651         * nscd/getsrvbynm_r.c: Likewise.
71652         * nscd/getsrvbypt_r.c: Likewise.
71653         * nscd/gai.c: Likewise.
71655         * configure.in (build_nscd): New substituted variable, set
71656         by --disable-build-nscd and defaults to $use_nscd.
71657         * configure: Regenerated.
71658         * config.make.in (build-nscd): New substituted variable.
71659         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71660         Change conditional to require [$(build-nscd) = yes] as well.
71661         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71663         [BZ #13696]
71664         * configure.in (use_nscd): New substituted variable, set by
71665         --disable-nscd.  If enabled, define USE_NSCD.
71666         * configure: Regenerated.
71667         * config.h.in: Add USE_NSCD.
71668         * config.make.in (use-nscd): New substituted variable.
71669         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71670         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71671         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71672         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71673         (CFLAGS-getgrnam_r.c): Likewise.
71674         (CFLAGS-initgroups.c): Likewise.
71675         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71676         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71677         Variables removed.
71678         * inet/getnetgrent_r.c
71679         (nscd_setnetgrent): New function, broken out of ...
71680         (setnetgrent): ... here.  Call it.
71681         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71682         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71683         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71684         * nscd/Makefile (routines, aux): Move definitions after include of
71685         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71686         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71687         Conditionalize on [USE_NSCD].
71688         (is_nscd, nscd_init_cb): Likewise.
71689         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71690         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71691         * nss/nss_db/db-init.c: Likewise.
71692         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71693         [USE_NSCD].
71694         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71695         (make_request): Use it.
71696         (cache_valid_p): New function.
71697         (__check_pf): Use it.
71698         * NEWS: Add item for --disable-nscd.
71700 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71702         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71703         to support sed >= 4.2.1-20-ga9bf076.
71704         * configure: Regenerated.
71706 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71708         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71709         Conditionalize whole body on [IREL].
71711 2012-08-22  Jeff Law <law@redhat.com>
71713         [BZ #14505]
71714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71715         if the family is PF_UNSPEC.
71717 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71719         * Makerules (lib-version): Rename from V.
71720         (install-lib-nosubdir): Change V to lib-version.
71722 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71724         [BZ #14252]
71725         * powerpc32/power6/wcschr.c: New file.
71726         * powerpc32/power6/wcscpy.c: New file.
71727         * powerpc32/power6/wcsrchr.c: New file.
71728         * powerpc64/power6/wcschr.c: New file.
71729         * powerpc64/power6/wcscpy.c: New file.
71730         * powerpc64/power6/wcsrchr.c: New file.
71732 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71734         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71735         (two_way_short_needle): Use it.
71736         * string/strstr.c (AVAILABLE1_USES_J): Define.
71737         * string/strcasestr.c: Likewise.
71739         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71740         array references.
71741         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71743         [BZ #11607]
71744         * NEWS: Add an entry.
71745         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71746         define their defaults.
71747         (two_way_short_needle): Detect end-of-string on-the-fly.
71748         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71749         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71750         * string/bug-strcasestr1.c: New test.
71751         * string/Makefile: Run it.
71753 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71755         [BZ #11607]
71756         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71757         the first character.
71759 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71761         * csu/elf-init.c (__libc_csu_irel): Function removed.
71762         * csu/libc-start.c (apply_irel): New function.
71763         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71765 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71767         * sysdeps/unix/sysv/linux/kernel-features.h
71768         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71769         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71770         <kernel-features.h>.
71771         [__NR_fadvise64_64]: Make code unconditional.
71772         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71773         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71774         !__NR_fadvise64_64)]: Likewise.
71775         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71776         !__NR_fadvise64_64))]: Likewise.
71777         [__NR_fadvise64]: Make code unconditional.
71778         [!__NR_fadvise64]: Remove conditional code.
71779         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71780         <kernel-features.h>.
71781         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71782         unconditional.
71783         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71784         conditional code.
71785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71786         not include <kernel-features.h>.
71787         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71788         unconditional.
71789         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71790         conditional code.
71791         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71792         include <kernel-features.h>.
71793         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71794         unconditional.
71795         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71796         conditional code.
71798 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71800         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71801         slight instruction rearrangements per scrollpipe analysis.
71802         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71804 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71806         * manual/syslog.texi (syslog; vsyslog, closelog):
71807         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71808         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71810         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71811         DSOCAPS to match condition on defining it.
71813 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71815         * sysdeps/unix/sysv/linux/kernel-features.h
71816         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71818         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71819         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71821         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71822         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71824         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71825         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71827         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71828         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71830         * sysdeps/unix/sysv/linux/kernel-features.h
71831         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71832         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71833         unconditional.
71834         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71835         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71836         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71837         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71838         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71839         Make code unconditional.
71840         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71841         (__mmap64) [!__NR_mmap2]: Likewise.
71842         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71843         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71844         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71845         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71846         [__NR_mmap2]: Make code unconditional.
71847         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71848         (__mmap64) [!__NR_mmap2]: Likewise.
71850 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71852         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71854 2012-08-18  Andreas Jaeger  <aj@suse.de>
71856         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71858 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71860         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71861         * include/unistd.h (__have_sock_cloexec): Likewise.
71862         (__have_pipe2): Likewise.
71863         (__have_dup3): Likewise.
71865 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71867         [BZ #9685]
71868         * include/unistd.h (__have_pipe2): Change define into an extern int.
71869         (__have_dup3): Likewise.
71870         * socket/have_sock_cloexec.c: Include fcntl.h.
71871         (__have_pipe2): New variable.
71872         (__have_dup3): Likewise.
71874 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71876         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71878 2012-08-17  Marek Polacek  <polacek@redhat.com>
71880         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71881         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71883 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71885         * configure.in: Add AC_SUBST for sysheaders.
71886         * configure: Regenerated.
71887         * config.make.in (sysheaders): New substituted variable.
71889         * sysdeps/unix/mkfifo.c: Moved ...
71890         * sysdeps/posix/mkfifo.c: ... here.
71891         * sysdeps/unix/mkfifoat.c: Moved ...
71892         * sysdeps/posix/mkfifoat.c: ... here.
71894         * sysdeps/unix/utime.c: Moved ...
71895         * sysdeps/posix/utime.c: ... here.
71897         * sysdeps/unix/time.c: Moved ...
71898         * sysdeps/posix/time.c: ... here.
71899         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71900         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71902         * sysdeps/unix/nice.c: Moved ...
71903         * sysdeps/posix/nice.c: ... here.
71905         * sysdeps/unix/alarm.c: Moved ...
71906         * sysdeps/posix/alarm.c: ... here.
71908         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71910 2012-08-17  Jeff Law <law@redhat.com>
71912         * intl/Makefile (codeset_mo): New variable.
71913         ($(codeset_mo)): New target.
71914         (tst-codeset.out): Depend on that.  Remove explicit rule.
71915         (tst-gettext3.out, tst-gettext5.out): Likewise.
71916         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71917         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71918         * intl/tst-codeset.sh: Remove.
71919         * intl/tst-gettext3.sh: Likewise.
71920         * intl/tst-gettext5.sh: Likewise.
71922 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71924         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71925         * sysdeps/unix/syscalls.list: ... here.
71927         * sysdeps/posix/getaddrinfo.c
71928         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71929         (gaiconf_init, gaiconf_reload): Use them.
71930         [!_STATBUF_ST_NSEC]
71931         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71932         Define using time_t rather than struct timespec.
71934         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71935         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71936         Macros removed.
71937         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71938         [!NO_THREADS].
71939         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71940         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71941         Likewise.
71943         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71944         __libc_cleanup_push argument.
71946         * bits/param.h: New file.
71947         * misc/sys/param.h: New file.
71948         * include/sys/param.h: New file.
71949         * misc/Makefile (headers): Add bits/param.h.
71950         * sysdeps/generic/sys/param.h: File removed.
71951         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71952         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71953         * sysdeps/mach/hurd/bits/param.h: New file.
71954         * sysdeps/mach/hurd/sys/param.h: File removed.
71956         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71957         last change.
71959         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71960         [_IO_MTSAFE_IO].
71961         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71962         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71963         New macros.
71965         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71966         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71967         rather than -D_IO_MTSAFE_IO conditionally.
71968         * stdio-common/Makefile (CPPFLAGS): Likewise.
71969         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71970         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71971         Use $(libio-mtsafe).
71972         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71973         of -D_IO_MTSAFE_IO.
71974         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71975         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71976         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71977         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71978         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71979         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71980         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71981         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71982         (CFLAGS-fread_u_chk.c): Likewise.
71983         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71984         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71985         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71986         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71987         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71988         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71989         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71990         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71991         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71993         * libio/Makefile: Test [$(libc-reentrant) = yes]
71994         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71996         * Makeconfig
71997         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71998         * sysdeps/pthread/configure: File removed.
71999         * sysdeps/pthread/Makeconfig: New file.
72000         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72001         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72003 2012-08-16  Gary Benson  <gbenson@redhat.com>
72005         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72006         unmapping the first object in a namespace.
72008 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72010         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72011         (__internal_setnetgrent): ... this.  Add internal_function to
72012         definition.  Add libc_hidden_def.
72013         (setnetgrent): Update caller.
72014         (internal_endnetgrent): Renamed to ...
72015         (__internal_endnetgrent): ... this.  Add internal_function to
72016         definition.  Add libc_hidden_def.
72017         (endnetgrent): Update caller.
72018         (internal_getnetgrent_r): Renamed to ...
72019         (__internal_getnetgrent_r): ... this.  Add internal_function to
72020         definition.  Add libc_hidden_def.
72021         (__getnetgrent_r): Update caller.
72022         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72024 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72026         * stdlib/longlong.h: Update from GCC.
72028 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72030         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72031         on _QL, which is set by umul_ppmm but never used.
72032         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72033         variables, which are set by GMP macros but never used.
72034         * stdio-common/_itowa.c (_itowa): Likewise.
72035         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72036         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72038 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72040         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72041         struct La_sh_regs is not constant.
72042         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72043         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72044         and struct La_sparc64_regs are not constant.
72046 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72048         * sysdeps/unix/sysv/linux/kernel-features.h
72049         (__ASSUME_POSIX_TIMERS): Remove.
72050         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72052         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72053         Make code unconditional.
72054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72055         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72056         Make code unconditional.
72057         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72058         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72059         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72061         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72062         Make code unconditional.
72063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72064         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72065         (__libc_missing_posix_timers): Remove.
72067 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72069         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72070         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72072         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72074         * elf/dl-sym.c: Include <stdlib.h>.
72076         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72077         constants, which avoids warnings in 32-bit builds.
72079         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72080         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72082         * misc/lseek.c: File moved to ...
72083         * io/lseek.c: ... here.
72085         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72087         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72088         shifting LEN more than 31 bits at once.
72090 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72092         [BZ #14195]
72093         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72094         segmentation fault for a case of two empty input strings.
72095         * string/test-strncasecmp.c (check1): Renamed to...
72096         (bz12205): ...this.
72097         (bz14195): Add new testcase for two empty input strings and N > 0.
72098         (test_main): Call new testcase, adapt for renamed function.
72100 2012-08-15  Andreas Jaeger  <aj@suse.de>
72102         [BZ #14090]
72103         * crypt/md5test2.c: New test, based on test supplied by Serge
72104         Belyshev <belyshev@depni.sinp.msu.ru>.
72105         * crypt/Makefile (xtests): Add md5test-giant..
72106         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72108 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72110         [BZ #14090]
72111         * crypt/md5.c (md5_process_block): Don't assume the buffer
72112         length is less than 2**32.
72113         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72114         length is less than 2**64.
72116 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72118         * string/str-two-way.h: Include <sys/param.h>.
72119         (MAX): Macro removed.
72121         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72122         Move #define and #undef of memmove to just before and after
72123         including <string.h>.
72125         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72126         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72127         and after including <string.h>.  Move declarations of
72128         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72129         to before #include "string/memmove.c".
72131         * include/dirent.h: Declare __getdirentries.
72133         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72134         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72136 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72138         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72139         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72140         * sysdeps/i386/configure: Regenerated.
72141         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72142         STABS_CURRENT_FILE, and STABS_FUN.
72143         (END): Remove call to STABS_FUN_END.
72144         (STABS_CURRENT_FILE1): Delete.
72145         (STABS_CURRENT_FILE): Likewise.
72146         (STABS_FUN): Likewise.
72147         (STABS_FUN_END): Likewise.
72148         (STABS_FUN2): Likewise.
72149         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72150         * sysdeps/x86_64/configure: Regenerated.
72152 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72154         * elf/dl-open.c: Include <atomic.h>.
72155         * elf/dl-lookup.c: Likewise.
72157 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72159         * sysdeps/unix/sysv/linux/kernel-features.h
72160         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72161         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72162         unconditionally.
72163         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72164         unconditionally.
72165         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72166         condition on __ASSUME_CLONE_THREAD_FLAGS.
72168 2012-08-14  Andreas Jaeger  <aj@suse.de>
72170         * sysdeps/i386/fpu/libm-test-ulps: Update.
72172 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72174         * include/atomic.h (atomic_exchange_and_add): Split into ...
72175         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72176         New atomic macros.
72178 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72182 2012-08-13  Jeff Law <law@redhat.com>
72184         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72185         null byte in the output string.
72187 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72189         * sysdeps/unix/sysv/linux/kernel-features.h
72190         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72191         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72192         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72193         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72194         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72195         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72196         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72198 2012-08-09  Jeff Law <law@redhat.com>
72200         [BZ #13939]
72201         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72202         When avoid_arena is set, don't retry in the that arena.  Pick the
72203         next one, whatever it might be.
72204         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72205         (arena_lock): Pass in new parameter to arena_get2.
72206         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72207         arena_get2.
72208         (__libc_malloc): Unify retrying after main arena failure with
72209         __libc_memalign version.
72210         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72212 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72214         [BZ #14166]
72215         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72216         to __redirect_strstr.
72217         (__strstr_sse42): Use typeof __redirect_strstr.
72218         (__strstr_ia32): Likewise.
72219         (__libc_strstr): New prototype.
72220         (strstr): Renamed to ...
72221         (__libc_strstr): This.
72222         (strstr): New strong alias of __libc_strstr.
72223         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72224         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72225         __redirect_time.
72226         Include <time.h>.
72227         (__libc_time): New prototype.
72228         (time_ifunc): Replace time with __libc_time.
72229         (time): New strong alias and hidden definition of __libc_time.
72230         (__GI_time): Remove strong alias.
72231         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72232         Include <stddef.h>.
72233         (memmove): Redefined to __redirect_memmove.
72234         (__memmove_sse2): Use typeof __redirect_memmove.
72235         (__memmove_ssse3): Likewise.
72236         (__memmove_ssse3_back): Likewise.
72237         (__libc_memmove): New prototype.
72238         (memmove): Renamed to ...
72239         (__libc_memmove): This.
72240         (memmove): New strong alias of __libc_memmove.
72242 2012-08-08  Mark Salter  <msalter@redhat.com>
72244         * elf/elf.h
72245         (R_MN10300_TLS_GD): Define.
72246         (R_MN10300_TLS_LD): Likewise.
72247         (R_MN10300_TLS_LDO): Likewise.
72248         (R_MN10300_TLS_GOTIE): Likewise.
72249         (R_MN10300_TLS_IE): Likewise.
72250         (R_MN10300_TLS_LE): Likewise.
72251         (R_MN10300_TLS_DTPMOD): Likewise.
72252         (R_MN10300_TLS_DTPOFF): Likewise.
72253         (R_MN10300_TLS_TPOFF): Likewise.
72254         (R_MN10300_SYM_DIFF): Likewise.
72255         (R_MN10300_ALIGN): Likewise.
72256         (R_MN10300_NUM): Update.
72258 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72261         Remove.
72263 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72265         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72267         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72268         sysdeps/unix -> sysdeps/posix move.
72269         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72271 2012-08-07      Allan McRae     <allan@archlinux.org>
72273         [BZ #14303]
72274         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72275         (SUNOS_CPP): Likewise.
72276         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72277         not found.
72278         (open_input): Call CPP using execvp.
72280 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72282         * sysdeps/unix/sysv/linux/kernel-features.h
72283         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72284         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72285         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72286         (__ASSUME_WAITID_SYSCALL): Likewise.
72287         * sysdeps/unix/sysv/linux/dl-execstack.c
72288         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72289         code unconditional.
72290         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72291         conditional code.
72292         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72293         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72294         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72295         code.
72296         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72297         unconditional.
72298         [__ASSUME_WAITID_SYSCALL]: Likewise.
72299         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72301 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72303         * sysdeps/unix/closedir.c: Renamed to ...
72304         * sysdeps/posix/closedir.c: ... here.
72305         * sysdeps/unix/dirfd.c: Renamed to ...
72306         * sysdeps/posix/dirfd.c: ... here.
72307         * sysdeps/unix/dirstream.h: Renamed to ...
72308         * sysdeps/posix/dirstream.h: ... here.
72309         * sysdeps/unix/fdopendir.c: Renamed to ...
72310         * sysdeps/posix/fdopendir.c: ... here.
72311         * sysdeps/unix/opendir.c: Renamed to ...
72312         * sysdeps/posix/opendir.c: ... here.
72313         * sysdeps/unix/readdir.c: Renamed to ...
72314         * sysdeps/posix/readdir.c: ... here.
72315         * sysdeps/unix/readdir_r.c: Renamed to ...
72316         * sysdeps/posix/readdir_r.c: ... here.
72317         * sysdeps/unix/rewinddir.c: Renamed to ...
72318         * sysdeps/posix/rewinddir.c: ... here.
72319         * sysdeps/unix/seekdir.c: Renamed to ...
72320         * sysdeps/posix/seekdir.c: ... here.
72321         * sysdeps/unix/telldir.c: Renamed to ...
72322         * sysdeps/posix/telldir.c: ... here.
72323         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72324         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72325         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72326         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72328         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72329         * bits/fcntl.h: ... here.
72331         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72332         not 0.
72333         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72334         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72335         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72336         (struct flock): Move l_start, l_len to the beginning.
72337         Use __pid_t for l_pid.
72338         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72339         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72340         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72341         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72342         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72343         [__USE_LARGEFILE64] (struct flock64): New type.
72344         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72346         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72347         * bits/dirent.h: ... here.
72349         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72350         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72352 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72354         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72355         Change from 2.6.0 to 2.6.16.
72356         * sysdeps/unix/sysv/linux/configure: Regenerated.
72357         * sysdeps/unix/sysv/linux/kernel-features.h
72358         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72359         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72360         version.
72361         (__ASSUME_UTIMES): Likewise.
72362         (__ASSUME_CLONE_STOPPED): Remove.
72363         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72364         architectures, not kernel version.
72365         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72366         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72367         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72368         (__ASSUME_WAITID_SYSCALL): Likewise.
72369         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72370         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72371         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72372         refer to older versions.
72374 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72376         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72377         Define alphasort64 as an alias.
72378         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72379         Define versionsort64 as an alias.
72380         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72381         Define scandir64 as an alias.
72382         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72383         Define scandirat64 as an alias.
72384         * dirent/alphasort64.c (alphasort64):
72385         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72386         * dirent/versionsort64.c: Likewise.
72387         * dirent/scandir64.c: Likewise.
72388         * dirent/scandirat64.c: Likewise.
72389         * sysdeps/wordsize-64/alphasort.c: File removed.
72390         * sysdeps/wordsize-64/alphasort64.c: File removed.
72391         * sysdeps/wordsize-64/scandir.c: File removed.
72392         * sysdeps/wordsize-64/scandir64.c: File removed.
72393         * sysdeps/wordsize-64/scandirat.c: File removed.
72394         * sysdeps/wordsize-64/scandirat64.c: File removed.
72395         * sysdeps/wordsize-64/versionsort.c: File removed.
72396         * sysdeps/wordsize-64/versionsort64.c: File removed.
72397         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72398         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72399         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72400         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72401         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72402         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72403         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72404         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72406         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72407         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72408         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72409         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72410         [defined __arch64__ || defined __sparcv9]
72411         (__INO_T_MATCHES_INO64_T): New macro.
72412         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72413         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72414         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72415         * sysdeps/unix/sysv/linux/bits/dirent.h
72416         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72417         (_DIRENT_MATCHES_DIRENT64): New macro.
72419         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72420         Define lockf64 as an alias.
72421         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72422         Define fseeko64 as an alias.
72423         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72424         Define ftello64 as an alias.
72425         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72426         Define _IO_fgetpos64 and fgetpos64 as aliases.
72427         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72428         Define _IO_fsetpos64 and fsetpos64 as aliases.
72429         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72430         Conditionalize body on this.
72431         * libio/fseeko64.c: Likewise.
72432         * libio/ftello64.c: Likewise.
72433         * libio/iofgetpos64.c: Likewise.
72434         * libio/iofsetpos64.c: Likewise.
72435         * sysdeps/wordsize-64/lockf.c: File removed.
72436         * sysdeps/wordsize-64/lockf64.c: File removed.
72437         * sysdeps/wordsize-64/fseeko.c: File removed.
72438         * sysdeps/wordsize-64/fseeko64.c: File removed.
72439         * sysdeps/wordsize-64/ftello.c: File removed.
72440         * sysdeps/wordsize-64/ftello64.c: File removed.
72441         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72442         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72443         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72444         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72445         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72446         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72447         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72448         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72449         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72450         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72451         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72452         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72453         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72454         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72456         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72457         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72458         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72459         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72460         [defined __arch64__ || defined __sparcv9]
72461         (__OFF_T_MATCHES_OFF64_T): New macro.
72462         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72463         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72465         (__OFF_T_MATCHES_OFF64_T): New macro.
72467 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72469         * stdlib/secure-getenv.c (__secure_getenv): Replace
72470         GLIBC_2_16 with GLIBC_2_17.
72472 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72474         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72475         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72477 2012-08-03  David S. Miller  <davem@davemloft.net>
72479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72481 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72484         Remove.
72485         (__ASSUME_CORRECT_SI_PID): Likewise.
72486         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72487         (__ASSUME_TMPFS_NAME): Likewise.
72488         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72489         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72490         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72491         (HAVE_AUX_SECURE): Make definition unconditional.
72492         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72493         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72495 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72497         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72498         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72499         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72500         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72501         __eloop_threshold instead of SYMLOOP_MAX.
72503         * sysdeps/generic/eloop-threshold.h: New file.
72504         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72505         of MAXSYMLINKS.
72506         * elf/chroot_canon.c (chroot_canon): Likewise.
72508 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72510         [BZ #13717]
72511         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72512         Change to 2.6.0 everywhere.
72513         * sysdeps/unix/sysv/linux/configure: Regenerated.
72514         * sysdeps/unix/sysv/linux/kernel-features.h
72515         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72516         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72517         kernel versions.
72518         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72519         (__ASSUME_FUTEX_REQUEUE): Remove.
72520         (__ASSUME_STATFS64): Define unconditionally.
72521         (__ASSUME_AT_SECURE): Likewise.
72522         (__ASSUME_CORRECT_SI_PID): Likewise.
72523         (__ASSUME_TGKILL): Define without depending on kernel version for
72524         i386.
72525         (__ASSUME_UTIMES): Likewise.
72526         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72527         kernel version.
72528         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72529         (__ASSUME_TMPFS_NAME): Likewise.
72530         * README: Update reference to Linux kernel versions.
72532 2012-08-02  Marek Polacek  <polacek@redhat.com>
72534         [BZ #14150]
72535         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72536         libc_cv_asm_type_prefix with %.
72537         * configure: Regenerated.
72538         * include/libc-symbols.h: Remove comment about
72539         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72540         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72541         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72542         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72543         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72544         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72545         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72546         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72547         * elf/tst-unique2mod1.c: Likewise.
72548         * elf/tst-unique1mod2.c: Likewise.
72549         * elf/tst-unique1mod1.c: Likewise.
72550         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72551         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72552         Replace ASM_TYPE_DIRECTIVE with .type.
72553         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72554         * sysdeps/i386/sysdep.h: Likewise.
72555         * sysdeps/x86_64/sysdep.h: Likewise.
72556         * sysdeps/sh/sysdep.h: Likewise.
72557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72558         Do not define ASM_TYPE_DIRECTIVE.
72559         * sysdeps/powerpc/sysdep.h: Likewise.
72560         * sysdeps/powerpc/powerpc32/sysdep.h:
72561         Replace ASM_TYPE_DIRECTIVE with .type.
72562         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72563         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72564         * sysdeps/i386/fpu/e_powf.S: Likewise.
72565         * sysdeps/i386/fpu/e_expl.S: Likewise.
72566         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72567         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72568         * sysdeps/i386/fpu/e_pow.S: Likewise.
72569         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72570         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72571         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72572         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72573         * sysdeps/i386/fpu/e_log2.S: Likewise.
72574         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72575         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72576         * sysdeps/i386/fpu/e_powl.S: Likewise.
72577         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72578         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72579         * sysdeps/i386/fpu/e_logl.S: Likewise.
72580         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72581         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72582         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72583         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72584         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72585         * sysdeps/i386/fpu/e_log.S: Likewise.
72586         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72587         * sysdeps/i386/fpu/e_logf.S: Likewise.
72588         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72590         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72591         * sysdeps/i386/fpu/e_log10.S: Likewise.
72592         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72593         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72594         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72595         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72596         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72597         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72598         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72599         * sysdeps/i386/i686/strtok.S: Likewise.
72600         * sysdeps/i386/i386-mcount.S: Likewise.
72601         * sysdeps/i386/strtok.S: Likewise.
72602         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72603         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72604         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72605         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72606         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72607         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72608         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72609         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72610         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72611         * sysdeps/x86_64/_mcount.S: Likewise.
72612         * sysdeps/x86_64/strtok.S: Likewise.
72613         * sysdeps/sh/_mcount.S: Likewise.
72615 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72617         * libio/iofopen.c: Include <fcntl.h>.
72618         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72619         (_IO_fopen64, fopen64): Define as aliases.
72620         * libio/iofopen64.c: Include <fcntl.h>.
72621         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72622         Conditionalize body on this.
72623         * sysdeps/wordsize-64/iofopen.c: File removed.
72624         * sysdeps/wordsize-64/iofopen64.c: File removed.
72626 2012-08-01  Marek Polacek  <polacek@redhat.com>
72628         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72629         Use dlfcn directly instead of a variable.
72630         (binfmt-subdir): Do not define.
72631         (dlfcn): Likewise.
72633 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72635         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72636         Remove all definitions.
72637         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72638         <kernel-features.h>.
72639         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72640         (miss_F_GETOWN_EX): Remove all definitions.
72641         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72642         macro definition.
72643         [!__ASSUME_FCNTL64]: Remove conditional code.
72644         [__ASSUME_FCNTL64]: Make code unconditional.
72645         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72646         <kernel-features.h>.
72647         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72648         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72649         (lockf64) [__NR_fcntl64]: Make code unconditional.
72650         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72652         * sysdeps/unix/sysv/linux/kernel-features.h
72653         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72654         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72655         Make code unconditional.
72656         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72657         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72659         [__NR_vfork]: Make code unconditional.
72660         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72661         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72663         [__NR_vfork]: Make code unconditional.
72664         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72665         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72667 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72669         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72670         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72672         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72673         Define mkstemp64 as an alias.
72674         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72675         Define mkstemps64 as an alias.
72676         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72677         Define mkostemp64 as an alias.
72678         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72679         Define mkostemps64 as an alias.
72680         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72681         Conditionalize body on this.
72682         * misc/mkostemp64.c: Likewise.
72683         * misc/mkostemps64.c: Likewise.
72684         * misc/mkstemps64.c: Likewise.
72685         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72686         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72687         * sysdeps/wordsize-64/mkostemp.c: File removed.
72688         * sysdeps/wordsize-64/mkstemp.c: File removed.
72689         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72690         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72691         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72692         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72694         [BZ #14138]
72695         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72696         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72697         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72698         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72700         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72701         compat_symbol macros from <shlib-compat.h> rather than the underlying
72702         default_symbol_version and symbol_version macros, so that DEFAULT
72703         lines in shlib-versions are respected.
72704         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72706 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72708         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72709         Declare with warn_unused_result.
72710         (setgid, setregid, setegid, setresgid): Likewise.
72711         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72712         Likewise.
72713         * WUR-REPORT: Remove set*id functions.
72715 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72717         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72719 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72721         [BZ #10191]
72722         * include/sys/socket.h (__libc_accept, __libc_accept4):
72723         Add attribute_hidden.
72724         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72726         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72727         use of PTR_MANGLE.
72728         * inet/getnetgrent_r.c (setup): Likewise.
72730         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72732 2012-07-31  David S. Miller  <davem@davemloft.net>
72734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72736 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72738         [BZ #13629]
72739         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72740         value between 1.0 and 2.0 and smaller part has absolute value less
72741         than 1.0.
72742         * math/s_clog10.c (__clog10): Likewise.
72743         * math/s_clog10f.c (__clog10f): Likewise.
72744         * math/s_clog10l.c (__clog10l): Likewise.
72745         * math/s_clogf.c (__clogf): Likewise.
72746         * math/s_clogl.c (__clogl): Likewise.
72747         * math/libm-test.inc (clog_test): Add more tests.
72748         (clog10_test): Likewise.
72749         * sysdeps/i386/fpu/libm-test-ulps: Update.
72750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72752 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72754         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72755         Exit with zero in case no suitable GID is found, and write a
72756         message to standard error.
72758 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72760         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72761         rather than to 1.
72762         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72763         (MAXPATHLEN): Removed.
72764         (NOGROUP, NODEV): New macros.
72765         (setbit, clrbit, isset, isclr): New macros.
72766         (howmany, roundup, powerof2): New macros.
72767         (DEV_BSIZE): New macro.
72769         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72770         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72772         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72773         definition on [!__NO_LONG_DOUBLE_MATH].
72775         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72776         PTR_MANGLE and PTR_DEMANGLE.
72778         * socket/accept4.c (accept4): Rename to __libc_accept4.
72779         Define accept4 as a weak alias.
72781         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72782         on [_DIRENT_HAVE_D_TYPE].
72783         * io/ftw.c (ftw_dir): Likewise.
72785         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72787         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72789         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72790         Use the BSD numbers rather than the arbitrary ones we had.
72791         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72792         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72793         (SIGXCPU, SIGXFSZ): New macros.
72794         (_NSIG): Now 32.
72796         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72797         initializer on [_LIBC_REENTRANT].
72799         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72800         definitions inside [_POSIX_MAPPED_FILES].
72802         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72804         * dirent/opendir.c: Include <fcntl.h>.
72806         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72807         (__libc_getspecific): Likewise.
72808         (__libc_key_create): Likewise.
72810         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72811         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72812         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72813         (tmpfile64): Define as alias.
72814         * sysdeps/wordsize-64/tmpfile.c: File removed.
72815         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72816         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72817         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72819         * stdio-common/vfscanf.c: Include <stdbool.h>.
72820         * nss/makedb.c: Likewise.
72821         * stdio-common/_i18n_number.h: Likewise.
72822         * argp/argp-help.c: Likewise.
72823         * posix/wordexp.c: Likewise.
72824         * sysdeps/posix/spawni.c: Likewise.
72825         * nss/nss_files/files-initgroups.c: Likewise.
72826         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72827         * nss/nss_files/files-initgroups.c: Likewise.
72828         * nss/nss_db/db-netgrp.c: Likewise.
72829         * nss/nss_db/db-initgroups.c: Likewise.
72830         * io/fchmodat.c: Include <sys/stat.h>.
72832         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72833         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72835         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72836         [HAVE_MMAP].
72838         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72839         Add multiple inclusion protection.
72841 2012-07-27  David S. Miller  <davem@davemloft.net>
72843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72845 2012-07-27  Gary Benson  <gbenson@redhat.com>
72847         [BZ #14298]
72848         * elf/rtld.c: Include <stap-probe.h>.
72849         (dl_main): Added static probes "init_start" and "init_complete".
72850         * elf/dl-load.c: Include <stap-probe.h>.
72851         (lose): Take new parameter "nsid".
72852         Added static probe "map_failed".
72853         (_dl_map_object_from_fd): Pass namespace id to lose.
72854         Added static probe "map_start".
72855         (open_verify): Pass namespace id to lose.
72856         * elf/dl-open.c: Include <stap-probe.h>.
72857         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72858         and "reloc_complete".
72859         * elf/dl-close.c: Include <stap-probe.h>.
72860         (_dl_close_worker): Added static probes "unmap_start" and
72861         "unmap_complete".
72862         * elf/rtld-debugger-interface.txt: New file documenting the above.
72864 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72866         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72867         rather than a string variable.
72868         * sunrpc/rpc_main.c (h_output): Likewise.
72869         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72871 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72873         * inet/check_native.c: New file.
72875 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72877         [BZ #13629]
72878         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72879         if larger part has absolute value 1.0.
72880         * math/s_clog10.c (__clog10): Likewise.
72881         * math/s_clog10f.c (__clog10f): Likewise.
72882         * math/s_clog10l.c (__clog10l): Likewise.
72883         * math/s_clogf.c (__clogf): Likewise.
72884         * math/s_clogl.c (__clogl): Likewise.
72885         * math/libm-test.inc (clog_test): Add more tests.
72886         (clog10_test): Likewise.
72887         * sysdeps/i386/fpu/libm-test-ulps: Update.
72888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72890         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72891         (pltexit): Likewise.
72892         (La_regs): Likewise.
72893         (La_retval): Likewise.
72894         (int_retval): Likewise.
72895         Update #error for removed macros to refer only to definitions in
72896         tst-audit.h.
72897         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72898         macro.
72899         (pltexit): Likewise.
72900         (La_regs): Likewise.
72901         (La_retval): Likewise.
72902         (int_retval): Likewise.
72903         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72904         macro.
72905         (pltexit): Likewise.
72906         (La_regs): Likewise.
72907         (La_retval): Likewise.
72908         (int_retval): Likewise.
72909         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72910         macro.
72911         (pltexit): Likewise.
72912         (La_regs): Likewise.
72913         (La_retval): Likewise.
72914         (int_retval): Likewise.
72915         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72916         macro.
72917         (pltexit): Likewise.
72918         (La_regs): Likewise.
72919         (La_retval): Likewise.
72920         (int_retval): Likewise.
72921         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72922         macro.
72923         (pltexit): Likewise.
72924         (La_regs): Likewise.
72925         (La_retval): Likewise.
72926         (int_retval): Likewise.
72927         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72928         macro.
72929         (pltexit): Likewise.
72930         (La_regs): Likewise.
72931         (La_retval): Likewise.
72932         (int_retval): Likewise.
72933         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72934         macro definitions in tst-audit.h.
72935         * sysdeps/i386/tst-audit.h: New file.
72936         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72937         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72938         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72939         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72940         * sysdeps/sh/tst-audit.h: Likewise.
72941         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72942         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72943         * sysdeps/x86_64/tst-audit.h: Likewise.
72945 2012-07-26  Andreas Jaeger  <aj@suse.de>
72947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72948         ptrace.
72950         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72951         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72952         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72953         PTRACE_O_MASK.
72954         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72955         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72956         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72958         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72959         value.
72961         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72962         _sigsys.
72963         (si_call_addr, si_syscall, si_arch): Define new macro.
72964         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72965         _sigsys.
72966         (si_call_addr, si_syscall, si_arch): Define new marcro.
72967         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72968         _sigsys.
72969         (si_call_addr, si_syscall, si_arch): Define new macro.
72970         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72971         _sigsys.
72972         (si_call_addr, si_syscall, si_arch): Define new macro.
72974 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72976         [BZ #13717]
72977         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72978         Change to 2.4.21 where previously 2.4.1.
72979         * sysdeps/unix/sysv/linux/configure: Regenerated.
72980         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72981         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72982         Linux kernel version.
72983         (__ASSUME_STD_AUXV): Remove.
72984         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72985         kernel version.
72986         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72987         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72988         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72989         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72990         (__ASSUME_NETLINK_SUPPORT): Likewise.
72991         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72992         (__no_netlink_support): Remove conditional definition.
72993         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72994         Remove.
72995         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72996         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72997         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72998         (if_nameindex_ioctl): Remove.
72999         (if_nameindex_netlink): Do not handle __no_netlink_support.
73000         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73001         code.
73002         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73003         Remove conditional code.
73004         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73005         code.
73006         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73007         unconditional.
73008         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73009         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73010         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73011         Remove.
73012         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73013         [!__ASSUME_STD_AUXV]: Remove conditional code.
73014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73015         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73016         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73018         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73020         code.
73021         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73023         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73024         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73025         conditional code.
73026         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73028         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73029         code.
73030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73031         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73032         conditional code.
73033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73034         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73035         code unconditional.
73036         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73037         conditional code.
73038         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73039         unconditional.
73040         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73041         conditional code.
73042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73043         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73044         unconditional.
73045         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73046         conditional code.
73047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73048         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73049         code unconditional.
73050         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73051         conditional code.
73052         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73053         unconditional.
73054         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73055         conditional code.
73056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73057         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73058         code unconditional.
73059         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73060         conditional code.
73061         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73062         unconditional.
73063         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73064         conditional code.
73066 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73068         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73069         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73070         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73071         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73072         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73073         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73074         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73075         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73076         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73077         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73078         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73079         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73080         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73081         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73082         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73083         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73084         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73085         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73086         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73088         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73089         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73092 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73094         * Versions.def: Add GLIBC_2.17.
73095         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73096         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73097         Introduce __libc_secure_getenv.
73098         * stdlib/Versions (2.17): Add secure_getenv
73099         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73100         * stdlib/secure-getenv.c: Rename __secure_getenv to
73101         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73102         symbol __secure_getenv for GLIBC_2.0.
73103         * stdlib/tst-secure-getenv.c: New.
73104         * stdlib/Makefile (tests): Add testcase.
73105         * manual/startup.texi (Environment Access): Document
73106         secure_getenv.
73107         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73108         __libc_secure_getenv.
73109         * inet/ruserpass.c (ruserpass): Likewise.
73110         * malloc/mtrace.c (mtrace): Likewise.
73111         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73112         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73113         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73114         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73115         HAVE_SECURE_GETENV.
73116         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73117         __secure_getenv to __libc_secure_getenv.
73118         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73120         Likewise.
73121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73122         Likewise.
73123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73125         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73131 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73133         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73134         (struct La_i86_retval): Likewise.
73135         (struct La_x86_64_regs): Likewise.
73136         (struct La_x86_64_retval): Likewise.
73137         (struct La_x32_regs): Likewise.
73138         (struct La_x32_retval): Likewise.
73139         (struct La_ppc32_regs): Likewise.
73140         (struct La_ppc32_retval): Likewise.
73141         (struct La_ppc64_regs): Likewise.
73142         (struct La_ppc64_retval): Likewise.
73143         (struct La_sh_regs): Likewise.
73144         (struct La_sh_retval): Likewise.
73145         (struct La_s390_32_regs): Likewise.
73146         (struct La_s390_32_retval): Likewise.
73147         (struct La_s390_64_regs): Likewise.
73148         (struct La_s390_64_retval): Likewise.
73149         (struct La_sparc32_regs): Likewise.
73150         (struct La_sparc32_retval): Likewise.
73151         (struct La_sparc64_regs): Likewise.
73152         (struct La_sparc64_retval): Likewise.
73153         (struct audit_ifaces): Remove architecture-specific pltenter and
73154         pltexit members.
73155         * sysdeps/i386/ldsodefs.h: New file.
73156         * sysdeps/powerpc/ldsodefs.h: Likewise.
73157         * sysdeps/s390/ldsodefs.h: Likewise.
73158         * sysdeps/sh/ldsodefs.h: Likewise.
73159         * sysdeps/sparc/ldsodefs.h: Likewise.
73160         * sysdeps/x86_64/ldsodefs.h: Likewise.
73162 2012-07-25  Marek Polacek  <polacek@redhat.com>
73164         [BZ #6808]
73165         * math/libm-test.inc (yn_test): Add another test.
73166         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73167         to ERANGE when the result is +-Inf.
73168         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73169         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73170         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73171         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73173 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73175         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73176         equal to 0.
73177         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73178         clock_t.
73179         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73181 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73183         * configure.in <sysdeps resolving>: Correct printing
73184         Implies_before.
73185         * configure: Regenerate.
73187 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73189         * math/w_ilogb.c: Include <limits.h>.
73190         * math/w_ilogbl.c: Likewise.
73192 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73194         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73195         va_copy.  Document allowing for unavailable va_copy only as
73196         pre-C99 compatibility.
73197         * manual/string.texi (Copying and Concatenation): Use va_copy
73198         instead of __va_copy in concat example.
73200 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73202         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73203         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73204         it if not null.
73206         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73207         with O_NOLINK passed to __file_name_lookup.
73209         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73210         with O_NOLINK passed to __file_name_lookup.
73212         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73213         negative N or less than NGIDS.
73215         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73216         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73217         enough.  Use memcpy instead of strncpy.
73219 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73221         * elf/Makefile (check-data): Remove.
73222         (localplt.data): New vpath directive.
73223         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73224         instead of $(check-data).
73225         * scripts/data/localplt-generic.data: Move to ...
73226         * sysdeps/generic/localplt.data: ... here.
73227         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73228         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73229         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73231         ... here.
73232         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73234         ... here.
73235         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73237         ... here.
73238         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73240         ... here.
73241         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73243         ... here.
73244         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73246         ... here.
73248 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73250         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73251         PPC32 and PPC64 files.
73252         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73253         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73255 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73257         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73258         __makecontext_ret to ...
73259         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73260         ... here and call exit if uc_link is NULL.  New file.
73261         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73262         __makecontext_ret.S.
73263         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73264         __makecontext_ret to ...
73265         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73266         ... here and call exit if uc_link is NULL.  New file.
73267         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73268         __makecontext_ret.S.
73270 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73272         * elf/elf.h (R_390_IRELATIVE): New definition.
73273         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73274         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73275         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73276         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73277         (elf_machine_lazy_rel): Likewise.
73278         * sysdeps/s390/dl-irel.h: New file.
73279         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73280         * sysdeps/s390/s390-64/memset.S: New asm code.
73281         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73282         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73284         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73285         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73286         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73287         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73288         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73289         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73290         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73291         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73292         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73293         * sysdeps/s390/s390-32/memset.S: New asm code.
73294         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73296 2012-07-17  Marek Polacek  <polacek@redhat.com>
73298         [BZ #14349]
73299         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73300         * sysdeps/s390/s390-64/configure.in: Likewise.
73301         * sysdeps/sparc/configure.in: Likewise.
73302         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73303         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73304         * sysdeps/i386/configure.in: Likewise.
73305         * sysdeps/x86_64/configure.in: Likewise.
73306         * sysdeps/sh/configure.in: Likewise.
73307         * sysdeps/s390/s390-32/configure: Regenerated.
73308         * sysdeps/s390/s390-64/configure: Likewise.
73309         * sysdeps/x86_64/configure: Likewise.
73310         * sysdeps/sh/configure: Likewise.
73311         * sysdeps/powerpc/powerpc64/configure: Likewise.
73312         * sysdeps/powerpc/powerpc32/configure: Likewise.
73313         * sysdeps/sparc/configure: Likewise.
73314         * sysdeps/i386/configure: Likewise.
73316         * elf/dl-open.c: Comment fixes.
73318 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73320         * Makefile [CXX] (check-data): Remove.
73321         [CXX] (c++-types.data): New vpath directive.
73322         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73323         vpath.  Do not allow for C++ type data being missing.
73324         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73325         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73326         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73327         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73328         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73329         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73330         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73332         ... here.
73333         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73335         ... here.
73336         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73338         ... here.
73339         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73341         ... here.
73342         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73344         ... here.
73345         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73347         ... here.
73348         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73350         ... here.
73351         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73354         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73355         definitions to architecture-specific files.
73356         (TLS_IE): Likewise.
73357         (TLS_LD): Likewise.
73358         (TLS_GD): Likewise.
73359         * sysdeps/i386/tls-macros.h: New file.
73360         * sysdeps/powerpc/tls-macros.h: Likewise.
73361         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73362         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73363         * sysdeps/sh/tls-macros.h: Likewise.
73364         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73365         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73366         * sysdeps/x86_64/tls-macros.h: Likewise.
73368 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73370         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73371         zero value for regular exit case.
73373         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73374         (__start_context): Preserve zero value for regular exit case.
73376 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73377             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73379         * manual/setjmp.texi (setcontext): Clarify normal process
73380         termination when uc_link is the null pointer.
73381         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73382         exit call.
73384 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73386         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73387         preprocessor.  Test for each exception mask separately.
73389 2012-07-16  Andreas Jaeger  <aj@suse.de>
73391         * po/ru.po: Update from translation team.
73393 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73395         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73396         equal to 0.
73397         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73398         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73399         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73400         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73403 2012-07-13  Andreas Jaeger  <aj@suse.de>
73405         * po/fr.po: Update from translation team.
73407 2012-07-12  Marek Polacek  <polacek@redhat.com>
73409         [BZ #14173]
73410         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73411         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73412         loop condition.
73414 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73416         [BZ #13717]
73417         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73418         Change to 2.4.1 where previously 2.4.0.
73419         * sysdeps/unix/sysv/linux/configure: Regenerated.
73420         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73421         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73422         version.
73423         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73424         (__ASSUME_AT_CLKTCK): Remove.
73425         (__ASSUME_AT_PAGESIZE): Likewise.
73426         (__ASSUME_AT_XID): Likewise.
73427         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73428         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73429         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73430         unconditionally.
73431         (HAVE_AUX_PAGESIZE): Likewise.
73432         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73433         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73434         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73436 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73438         [BZ #14307]
73439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73440         the temporary buffer used to invoke __gethostbyname2_r,
73441         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73442         host_data / struct gaih_addrtuple.
73443         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73444         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73445         header file nss/nsswitch.h.
73446         * nss/nsswitch.h (global scope): Add definition of implementation
73447         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73448         resolv/nss_dns/dns-host.c).
73450 2012-07-11  Andreas Jaeger  <aj@suse.de>
73452         * po/fr.po: Update from translation team.
73454         * po/sv.po: Update from translation team
73455         * po/fr.po: Another update from translation team.
73457 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73459         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73460         for subnormals or multiply small sinh result by itself.
73461         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73464 2012-07-11  David S. Miller  <davem@davemloft.net>
73466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73468 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73470         [BZ #14347]
73471         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73472         (INTERNAL_MARK): Shift it here.
73474 2012-07-10  Marek Polacek  <polacek@redhat.com>
73476         [BZ #14151]
73477         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73478         libc_cv_asm_global_directive with .globl.
73479         * configure: Regenerated.
73480         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73481         with .globl.
73482         * sysdeps/i386/configure: Regenerated.
73483         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73484         with .globl.
73485         * sysdeps/x86_64/configure: Regenerated.
73486         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73487         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73488         * elf/tst-unique2mod2.c: Likewise.
73489         * elf/tst-unique2mod1.c: Likewise.
73490         * elf/tst-unique1mod2.c: Likewise.
73491         * elf/tst-unique1mod1.c: Likewise.
73492         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73493         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73494         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73495         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73496         * sysdeps/mach/sysdep.h: Likewise.
73497         * sysdeps/i386/sysdep.h: Likewise.
73498         * sysdeps/i386/i386-mcount.S: Likewise.
73499         * sysdeps/x86_64/_mcount.S: Likewise.
73500         * sysdeps/x86_64/sysdep.h: Likewise.
73501         * sysdeps/sh/_mcount.S: Likewise.
73502         * sysdeps/sh/sysdep.h: Likewise.
73503         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73504         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73505         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73506         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73507         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73508         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73509         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73510         * locale/localeinfo.h: Likewise.
73511         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73512         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73514 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73516         [BZ #14336]
73517         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73518         system".
73519         * manual/message.texi (The Uniforum approach): Likewise.
73520         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73521         (glibc iconv Implementation): Likewise.
73523 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73525         [BZ #14337]
73526         * math/s_clog.c (__clog): Avoid scaling a value down where that
73527         could result in underflow.
73528         * math/s_clog10.c (__clog10): Likewise.
73529         * math/s_clog10f.c (__clog10f): Likewise.
73530         * math/s_clog10l.c (__clog10l): Likewise.
73531         * math/s_clogf.c (__clogf): Likewise.
73532         * math/s_clogl.c (__clogl): Likewise.
73533         * math/libm-test.inc (clog_test): Add more tests.
73534         (clog10_test): Likewise.
73535         * sysdeps/i386/fpu/libm-test-ulps: Update.
73536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73538 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73540         [BZ #14283]
73541         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73542         by 7 not 8 to examine high bit of fractional part.
73544         [BZ #14042]
73545         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73546         for call to __mcount_internal.
73547         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73548         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73549         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73551 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73553         [BZ #14154]
73554         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73555         approximation for values within 0x1p-13f of an odd multiple of
73556         pi/4.
73557         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73558         exception.  Add more tests.
73559         * sysdeps/i386/fpu/libm-test-ulps: Update.
73561         [BZ #6778]
73562         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73563         inputs and return -1 for them.  Do not check for +Inf in case not
73564         reachable for +Inf.
73565         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73566         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73567         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73568         and return -1 for them.  Do not check for +Inf in case not
73569         reachable for +Inf.
73570         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73571         define.
73572         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73573         and return -1 for them.  Do not check for +Inf in case not
73574         reachable for +Inf.
73575         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73576         spurious underflow.
73577         * sysdeps/i386/fpu/libm-test-ulps: Update.
73578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73580 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73582         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73584 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73586         [BZ #14157]
73587         [BZ #14331]
73588         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73589         could result in spurious underflow.  Scale down values above
73590         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73591         * math/s_csqrtf.c (__csqrtf): Likewise.
73592         * math/s_csqrtl.c (__csqrtl): Likewise.
73593         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73594         spurious underflow.
73595         * sysdeps/i386/fpu/libm-test-ulps: Update.
73596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73598 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73600         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73601         xopen-msg.sed.
73602         * catgets/xopen-msg.awk: New file.
73603         * catgets/xopen-msg.sed: Removed.
73605         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73606         po2text.sed.
73607         * intl/po2test.awk: New file.
73608         * intl/po2test.sed: Removed.
73610 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73612         [BZ #14328]
73613         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73614         or multiply small sinh result by itself.
73615         * math/s_ctanf.c (__ctanf): Likewise.
73616         * math/s_ctanh.c (__ctanh): Likewise.
73617         * math/s_ctanhf.c (__ctanhf): Likewise.
73618         * math/s_ctanhl.c (__ctanhl): Likewise.
73619         * math/s_ctanl.c (__ctanl): Likewise.
73620         * math/libm-test.inc (ctan_test_tonearest): New function.
73621         (ctan_test_towardzero): Likewise.
73622         (ctan_test_downward): Likewise.
73623         (ctan_test_upward): Likewise.
73624         (ctanh_test_tonearest): Likewise.
73625         (ctanh_test_towardzero): Likewise.
73626         (ctanh_test_downward): Likewise.
73627         (ctanh_test_upward): Likewise.
73628         (main): Call these new functions.
73629         * sysdeps/i386/fpu/libm-test-ulps: Update.
73630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73632 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73634         * .gitignore: Delete /ports entry.
73636 2012-07-03  Andreas Jaeger  <aj@suse.de>
73638         * po/bg.po: Update from translation team.
73639         * po/cs.po: Likewise.
73640         * po/de.po: Likewise.
73641         * po/hr.po: Likewise.
73642         * po/nl.pl: Likewise.
73643         * po/pl.po: Likewise.
73644         * po/vi.po: Likewise.
73646 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73648         * Makeconfig [!+link] (+link-before-libc): New variable.
73649         [!+link] (+link-after-libc): Likewise.
73650         [!+link] (+link-tests): Likewise.
73651         [!+link] (+link): Define in terms of $(+link-before-libc) and
73652         $(+link-after-libc).
73653         [!+link-static] (+link-static-before-libc): New variable.
73654         [!+link-static] (+link-static-after-libc): Likewise.
73655         [!+link-static] (+link-static-tests): Likewise.
73656         [!+link-static] (+link-static): Define in terms of
73657         $(+link-static-before-libc) and $(+link-static-after-libc).
73658         [build-shared] (link-libc-before-gnulib): New variable.
73659         [build-shared] (link-libc-tests): Likewise.
73660         [build-shared] (link-libc): Define in terms of
73661         $(link-libc-before-gnulib).
73662         [!build-shared] (link-libc-tests): New variable.
73663         (link-libc-static-tests): New variable.
73664         [!gnulib] (gnulib-arch): New variable.
73665         [!gnulib] (gnulib-tests): Likewise.
73666         [!gnulib] (static-gnulib-arch): Likewise.
73667         [!gnulib] (static-gnulib-tests): Likewise.
73668         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73669         Define with "=" instead of ":=".
73670         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73671         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73672         * Rules (binaries-all-notests): New variable.
73673         (binaries-all-tests): Likewise.
73674         (binaries-static-notests): Likewise.
73675         (binaries-static-tests): Likewise.
73676         (binaries-all): Define using $(binaries-all-notests) and
73677         $(binaries-all-tests).
73678         (binaries-static): Define using $(binaries-static-notests) and
73679         $(binaries-static-tests).
73680         (binaries-shared-tests): New variable.
73681         (binaries-shared-notests): Likewise.
73682         (binaries-shared): Remove variable.
73683         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73684         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73685         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73686         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73687         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73688         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73689         * elf/Makefile (sln-modules): New variable.
73690         (extra-objs): Add $(sln-modules:=.o).
73691         (ldconfig-modules): Add static-stubs.
73692         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73693         * elf/static-stubs.c: New file.
73695         [BZ #14283]
73696         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73697         by 7 not 8 to examine high bit of fractional part.  Use volatile
73698         variables when splitting into final array of floats if
73699         __FLT_EVAL_METHOD__ != 0.
73700         * math/libm-test.inc (cos_test): Add another test.
73701         (sin_test): Likewise.
73702         * sysdeps/i386/fpu/libm-test-ulps: Update.
73704         [BZ #14273]
73705         * math/libm-test.inc (cosh_test): Add more tests.
73707         * version.h (RELEASE): Set to "development".
73708         (VERSION): Set to "2.16.90".
73710 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73712         * NEWS: Update copyright. Remove last-updated date.
73713         Mention math library bug fixes and timezone data changes.
73714         * README: Mention GNU/Hurd, x32, and HPPA support status.
73716 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73718         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73720 2012-06-27  Andreas Jaeger  <aj@suse.de>
73722         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73724 2012-06-25  Andreas Jaeger  <aj@suse.de>
73726         * sysdeps/s390/fpu/libm-test-ulps: Update.
73728 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73729             Thomas Schwinge  <thomas@codesourcery.com>
73731         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73732         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73734         fanotify_mark.
73736 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73738         * sysdeps/mach/start.c: Remove file.
73739         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73740         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73741         * sysdeps/sh/init-first.c: Likewise.
73743         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73744         registers for frame unwinding purposes, add CFI directives.
73745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73746         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73747         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73748         Likewise.
73750         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73751         __fortify_fail returning.
73752         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73754         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73755         sysdeps/sh/____longjmp_chk.S.
73756         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73757         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73758         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73759         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73761         * sysdeps/sh/abort-instr.h: New file.
73762         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73763         process in case exit returns.
73765         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73766         initialize the GOT register before use.
73768         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73769         calculation of ARGC > 4.
73771         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73772         meaningful names to some local labels.
73774 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73775             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73777         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73778         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73779         (__arch_compare_and_exchange_val_16_acq): Likewise.
73780         (__arch_compare_and_exchange_val_32_acq): Likewise.
73781         (atomic_exchange_and_add): Fix gUSA sequence.
73782         (atomic_add): Likewise.
73783         (atomic_add_negative): Likewise.
73784         (atomic_add_zero): Likewise.
73785         (atomic_bit_test_set): Likewise.
73787 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73789         [BZ #13579]
73790         * include/link.h (struct link_map): Add l_free_initfini.
73791         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73792         l_initfini.
73793         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73794         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73795         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73796         set.
73798 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73800         * configure.in: Use AC_LANG_SOURCE.
73801         * configure: Regenerate.
73803 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73805         * configure.in (libc_cv_localstatedir): New substituted variable.
73806         * configure: Regenerated.
73807         * config.make.in (localstatedir): New variable, substituted from
73808         libc_cv_localstatedir.
73809         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73810         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73811         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73812         * sysdeps/gnu/configure: Regenerated.
73814 2012-06-21  Jeff Law  <law@redhat.com>
73816         [BZ #14277]
73817         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73818         free.  Simplify list management for _LIBC case.
73820 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73822         [BZ #14273]
73823         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73824         Clear sign bit of 64-bit integer value before comparing against
73825         overflow value.
73827         * sysdeps/mach/configure: Regenerated.
73829 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73831         [BZ #14278]
73832         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73834 2012-06-21  Jeff Law  <law@redhat.com>
73836         [BZ #13882]
73837         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73838         uint16_t for elements in the "seen" array to avoid char overflows.
73839         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73840         * elf/dl-open.c (dl_open_worker): Likewise.
73842 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73844         * scripts/list-sources.sh: Scan PORTS for translations.
73845         * po/libc.pot: Regenerated.
73847 2012-06-21  Andreas Jaeger  <aj@suse.de>
73849         [BZ #12194]
73850         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73851         warning.
73852         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73853         * bits/byteswap-16.h (__bswap_16): Likewise.
73854         * bits/byteswap.h (__bswap_constant_16): Likewise.
73856 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73858         [BZ #14117]
73859         * sysdeps/i386/fpu_control.h: Removed.
73860         * sysdeps/x86_64/fpu_control.h: Moved to ...
73861         * sysdeps/x86/fpu_control.h: Here.
73863         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73864         (_FPU_SETCW): Likewise.
73866 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73868         [BZ #14117]
73869         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73870         * sysdeps/x86/fpu/bits/mathinline.h: This.
73871         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73873         [BZ #14050]
73874         [BZ #14117]
73875         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73876         functions if __x86_64__ is defined.
73878 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73880         * string/endian.h: Add !__ASSEMBLER__ condition for including
73881         conversion interfaces.
73883 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73885         [BZ #14241]
73886         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73887         of ABS(x) in calculating zero to negative powers other than odd
73888         integers.
73889         * math/libm-test.inc (pow_test): Add more tests.
73891 2012-06-15  Andreas Jaeger  <aj@suse.de>
73893         * manual/contrib.texi (Contributors): Update entry of Liubov
73894         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73895         Machado Filho.
73897 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73899         * string/string.h: Add __wur to GNU version of strerror_r.
73901 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73903         [BZ #14229]
73904         * string/Makefile (tests): Add tst-strtok_r.
73905         * string/tst-strtok_r.c: New file.
73906         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73907         RAX_LP/RDX_LP on SAVE_PTR.
73909 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73911         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73913 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73915         * libm_test.inc (csqrt_test): Allow more spurious underflow
73916         exceptions.
73917         (j0_test): Likewise.
73918         (j1_test): Likewise.
73919         (y0_test): Likewise.
73920         (y1_test): Likewise.
73922 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73924         * po/Makefile (libc.pot): Use UTF-8 charset.
73926 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73928         [BZ #14210]
73929         Suppress sign-conversion warning from FD_SET.
73930         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73931         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73932         not unsigned long int.
73933         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73935 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73937         [BZ #14050]
73938         [BZ #14117]
73939         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73940         __extern_always_inline instead of __extern_inline.
73941         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73942         (__signbit): Likewise.
73943         (__signbitl): Support C++ namespace.
73944         (lrintf): New inline function.
73945         (lrint): Likewise.
73946         (llrintf): Likewise.
73947         (llrint): Likewise.
73948         (fmaxf): Likewise.
73949         (fmax): Likewise.
73950         (fminf): Likewise.
73951         (fmin): Likewise.
73952         (rint): Likewise.
73953         (rintf): Likewise.
73954         (ceil): Likewise.
73955         (ceilf): Likewise.
73956         (floor): Likewise.
73957         (floorf): Likewise.
73958         (nearbyint): Likewise.
73959         (nearbyintf): Likewise.
73961 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73963         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73964         non-default versions.
73966 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73968         [BZ #14218]
73969         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73971 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73973         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73974         (FE_UPWARD, FE_DOWNWARD): Don't define.
73975         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73976         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73978         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73979         reading it.
73980         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73981         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73983 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73985         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73986         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73987         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73988         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73990 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73992         [BZ #14117]
73993         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73994         * sysdeps/i386/fpu/Implies: New file.
73995         * sysdeps/x86_64/fpu/Implies: Likewise.
73996         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73997         * sysdeps/x86/fpu/bits/fenv.h: This.
73999         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74000         __SSE_MATH__.
74002 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74004         [BZ #14134]
74005         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74006         character 0xffff that matches the last element of the
74007         conversion table.
74009 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74012         fmodl commit.
74014 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74017         values higher than 25.6283.
74019 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74021         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74022         subnormal exponent extraction and add some __builtin_expect.
74023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74024         Fix for subnormal mantissa calculation.
74026 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74028         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74029         cpu2 is -1 and errno is not ENOSYS.
74031 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74033         [BZ #14117]
74034         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74035         * sysdeps/x86/bits/string.h: This.
74036         * sysdeps/x86_64/bits/string.h: Removed.
74038         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74039         if not compiling for x86-64, but compiling for >= i486.
74041         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74042         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74044         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74045         New macro from Linux kernel 3.4.0.
74046         (FP_XSTATE_MAGIC2): Likewise.
74047         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74048         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74049         (struct _fpx_sw_bytes): New struct.
74050         (struct _xsave_hdr): Likewise.
74051         (struct _ymmh_state): Likewise.
74052         (struct _xstate): Likewise.
74054         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74055         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74056         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74057         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74058         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74059         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74061         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74062         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74063         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74064         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74065         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74066         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74068 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74070         [BZ #13743]
74071         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74072         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74073         (sysdep_headers): Include sys/platform/ppc.h.
74074         * sysdeps/powerpc/test-gettimebase.c: Test for
74075         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74076         * manual/Makefile (appendices): Include platform.texi.
74077         * manual/contrib.texi (Contributors): Update @node pointers.
74078         * manual/maint.texi (Maintenance): Likewise.
74079         (Platform): New node.
74080         * manual/platform.texi: New file.  Document the new features.
74082 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74083             Jakub Jelinek  <jakub@redhat.com>
74085         [BZ #14188]
74086         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74087         where __builtin_expect is unavailable.
74089 2012-06-03  David S. Miller  <davem@davemloft.net>
74091         * stdlib/longlong.h: Updated from GCC.
74093 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74095         [BZ #14042]
74096         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74097         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74098         __mcount_internal.
74099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74100         (GLIBC_2.16): Likewise.
74102 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74104         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74106 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74109         (default-abi): New variable.
74110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74111         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74112         variable.
74113         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74114         Likewise.
74115         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74116         Likewise.
74117         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74118         Likewise.
74120         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74121         definition.  Document in comment.
74123 2012-06-01  David S. Miller  <davem@davemloft.net>
74125         * stdlib/longlong.h: Updated from GCC.
74127 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74129         [BZ #14117]
74130         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74131         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74132         sys/debugreg.h sys/io.h here.
74133         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74134         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74135         sys/io.h.
74136         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74137         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74138         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74139         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74140         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74141         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74143         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74144         Define only if __x86_64__ is defined.
74146 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74148         [BZ #14048]
74149         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74150         Use int64_t for variable i.
74151         * math/libm-test.inc (fmod_test): Add more tests.
74153         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74154         z computation is not scheduled after fetestexcept.
74155         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74156         Use math_force_eval instead of asm to ensure calculation scheduled
74157         before exception test.
74158         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74159         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74161 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74164         computation is not scheduled after fetestexcept.
74166 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74168         [BZ #14117]
74169         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74170         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74172 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74174         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74175         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74177 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74179         [BZ #14117]
74180         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74181         <bits/wordsize.h>.
74182         (__WCHAR_MIN): Support __WORDSIZE == 64.
74183         (__WCHAR_MAX): Likewise.
74185         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74186         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74188         [BZ #14183]
74189         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74190         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74192         [BZ #14117]
74193         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74194         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74196         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74197         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74199         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74200         Defined to 1 if __x86_64__ isn't defined.
74201         (_STAT_VER_LINUX_OLD): New.
74202         (st_atime): Remove duplicate.
74203         (st_mtime): Likewise.
74204         (st_ctime): Likewise.
74206 2012-05-31  David S. Miller  <davem@davemloft.net>
74208         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74209         entries.
74211 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74213         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74214         gen-libm-test.pl.
74216         [BZ #14132]
74217         * elf/dl-reloc.c: Include <_itoa.h>.
74218         (_dl_reloc_bad_type): Remove use of INTUSE.
74219         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74220         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74221         * stdio-common/psiginfo.c (psiginfo): Likewise.
74222         * stdio-common/psignal.c (psignal): Likewise.
74223         * string/strsignal.c (strsignal): Likewise.
74224         * include/signal.h (_sys_siglist): Declare hidden proto.
74225         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74226         INTVARDEF with libc_hidden_data_def.
74227         * stdio-common/itoa-udigits.c: Likewise.
74228         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74229         (_itoa_lower_digits_internal): Remove declaration.
74230         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74231         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74232         (_sys_sigabbrev_internal): Remove aliases.
74233         (_sys_siglist): Define hidden alias.
74235 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74238         bits/sysctl.h.
74240 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74242         [BZ #14117]
74243         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74244         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74246         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74247         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74248         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74249         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74250         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74251         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74253         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74254         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74255         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74257         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74258         with __addr.
74259         (insw): Likewise.
74260         (insl): Likewise.
74261         (outsb): Likewise.
74262         (outsw): Likewise.
74263         (outsl): Likewise.
74265         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74266         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74267         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74269         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74270         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74271         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74272         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74273         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74274         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74276         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74277         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74279         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74280         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74282         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74284         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74286         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74287         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74288         to ...
74289         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74291         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74292         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74293         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74295         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74296         for x86-64.
74297         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74299 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74301         * math/math.h (M_El): Use two more decimal places.
74302         (M_LOG2El): Likewise.
74303         (M_LOG10El): Likewise.
74304         (M_LN2l): Likewise.
74305         (M_LN10l): Likewise.
74306         (M_PIl): Likewise.
74307         (M_PI_2l): Likewise.
74308         (M_PI_4l): Likewise.
74309         (M_1_PIl): Likewise.
74310         (M_2_PIl): Likewise.
74311         (M_2_SQRTPIl): Likewise.
74312         (M_SQRT2l): Likewise.
74313         (M_SQRT1_2l): Likewise.
74315 2012-05-31  David S. Miller  <davem@davemloft.net>
74317         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74318         values between float registers.
74319         * sysdeps/sparc/sparc64/memset.S: Likewise.
74320         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74322 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74324         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74325         -D_FORTIFY_SOURCE=1.
74326         (CPPFLAGS-tst-longjmp_chk.c): Define.
74327         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74328         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74329         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74330         CFLAGS-tst-wchar-h.c.
74332 2012-05-31  Marek Polacek  <polacek@redhat.com>
74334         [BZ #14132]
74335         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74336         __endmntent_internal): Remove declaration.
74337         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74338         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74339         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74341 2012-05-30  David S. Miller  <davem@davemloft.net>
74343         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74344         (___Q_simulate_exceptions): Use real FP ops rather than writing
74345         into the %fsr.
74346         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74347         Likewise.
74349 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74351         [BZ #14117]
74352         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74353         * sysdeps/x86/bits/xtitypes.h: This.
74355         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74356         * sysdeps/x86/bits/wordsize.h: This.
74358         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74359         * sysdeps/x86/bits/huge_vall.h: This.
74361         * sysdeps/i386/bits/select.h: Removed.
74362         * sysdeps/x86_64/bits/select.h: Renamed to ...
74363         * sysdeps/x86/bits/select.h: This.
74365         * sysdeps/i386/bits/setjmp.h: Removed.
74366         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74367         * sysdeps/x86/bits/setjmp.h: This.
74369         * sysdeps/i386/bits/mathdef.h: Removed.
74370         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74371         * sysdeps/x86/bits/mathdef.h: This.
74373 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74375         [BZ #14132]
74376         * include/sys/socket.h (__connect_internal)
74377         (__libc_sa_len_internal): Remove declaration.
74378         (__connect, __libc_sa_len): Declare hidden_proto.
74379         (SA_LEN): Remove use of INTUSE.
74380         * socket/connect.c: Add libc_hidden_def.
74381         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74382         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74383         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74384         alias.
74385         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74386         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74387         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74388         of adding _internal alias.
74390 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74392         [BZ #14117]
74393         * sysdeps/i386/bits/link.h: Removed.
74394         * sysdeps/i386/bits/linkmap.h: Likewise.
74395         * sysdeps/x86_64/bits/link.h: Renamed to ...
74396         * sysdeps/x86/bits/link.h: This.
74397         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74398         * sysdeps/x86/bits/linkmap.h: This.
74400         * sysdeps/i386/bits/endian.h: Removed.
74401         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74402         * sysdeps/x86/bits/endian.h: This.
74404         * sysdeps/i386/bits/byteswap.h: Removed.
74405         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74406         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74407         * sysdeps/x86/bits/byteswap.h: This.
74408         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74409         * sysdeps/x86/bits/byteswap-16.h: This.
74410         * sysdeps/i386/Implies: Add x86.
74411         * sysdeps/x86_64/Implies: Likewise.
74413 2012-05-30  David S. Miller  <davem@davemloft.net>
74415         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74416         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74417         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74418         (FP_TRAPPING_EXCEPTIONS): Define.
74419         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74420         (FP_TRAPPING_EXCEPTIONS): Define.
74421         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74422         subnormals only when inexact has been signalled or underflow
74423         exceptions are enabled.
74424         (_FP_PACK_CANONICAL): Likewise.
74426 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74428         [BZ #14183]
74429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74430         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74432 2012-05-30  Richard Henderson  <rth@twiddle.net>
74434         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74435         with #ifndef NOT_IN_libc.
74437         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74438         marked to avoid plt entry.
74440 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74442         [BZ #14112]
74443         * Makeconfig (default-abi): New macro.
74444         (abi-includes): Likewise.
74445         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74446         $(abi-$(default-abi)-lib-soname) for soname if defined.
74447         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74448         abi-variants.
74449         * Makefile (installed-stubs): Likewise.
74450         * include/stubs-biarch.h: Removed.
74451         * scripts/lib-names.awk: Only handle one library at a time.
74452         * scripts/soversions.awk: Remove WORDSIZE support.
74453         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74454         entries.
74455         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74456         Removed.
74457         (syscall-list-default-condition): Likewise.
74458         (syscall-list-default-condition): Likewise.
74459         (syscall-list-includes): Likewise.
74460         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74461         syscall-list-* with abi-*.  Handle undefined abi-variants.
74462         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74463         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74464         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74465         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74466         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74467         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74468         Removed.
74469         (syscall-list-32-options): Likewise.
74470         (syscall-list-32-condition): Likewise.
74471         (syscall-list-64-options): Likewise.
74472         (syscall-list-64-condition): Likewise.
74473         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74474         macro.
74475         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74476         Renamed to ...
74477         (abi-*): This.
74478         (abi-64-ld-soname): New macro.
74479         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74480         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74481         Renamed to ...
74482         (abi-*): This.
74483         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74484         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74486 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74488         * sysdeps/unix/sysv/linux/kernel-features.h
74489         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74490         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74491         include <kernel-features.h>.
74492         [!__NR_ftruncate64]: Remove conditional code.
74493         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74494         [__NR_ftruncate64]: Make code unconditional.
74495         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74496         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74497         include <kernel-features.h>.
74498         [!__NR_ftruncate64]: Remove conditional code.
74499         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74500         [__NR_ftruncate64]: Make code unconditional.
74501         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74503         include <kernel-features.h>.
74504         [!__NR_ftruncate64]: Remove conditional code.
74505         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74506         [__NR_ftruncate64]: Make code unconditional.
74507         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74509         include <kernel-features.h>.
74510         [!__NR_ftruncate64]: Remove conditional code.
74511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74512         [__NR_ftruncate64]: Make code unconditional.
74513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74515         * configure.in (libc_cv_fpie): Weaken to a compile test using
74516         LIBC_TRY_CC_OPTION.
74517         * configure: Regenerated.
74519 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74525         Refreshed.
74526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74532         Refreshed.
74534 2012-05-27  David S. Miller  <davem@davemloft.net>
74536         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74537         (___Q_zero): New.
74538         (__Q_simulate_exceptions): Return void.  Change to simulate
74539         exceptions by writing into the %fsr.
74540         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74541         (__Qp_handle_exceptions): Likewise.
74542         (numbers): Delete.
74543         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74544         __Qp_handle_exceptions.
74545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74546         __Qp_handle_exceptions.
74547         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74548         as unused and give dummy FP_RND_NEAREST initializer.
74549         (FP_INHIBIT_RESULTS): Define.
74550         (___Q_simulate_exceptions): Update declaration.
74551         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74552         formatting.
74553         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74554         as unused and give dummy FP_RND_NEAREST initializer.
74555         (__Qp_handle_exceptions): Update declaration.
74556         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74557         formatting.
74559 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74561         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74562         the temporary FPU control word.
74563         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74564         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74565         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74566         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74567         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74568         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74569         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74570         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74571         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74572         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74573         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74575 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74577         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74578         fields.
74580 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74582         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74583         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74584         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74585         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74586         Likewise.
74587         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74588         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74589         Likewise.
74591 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74593         * po/h.po: Update from translation team.
74595 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74597         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74599         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74600         handling of denormals.
74601         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74602         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74603         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74604         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74607         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74608         Likewise.
74610 2012-05-26  Marek Polacek  <polacek@redhat.com>
74612         [BZ #14152]
74613         * math/libm-test.inc (fma_test): Don't always expect underflow
74614         exception.
74616 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74618         [BZ #12416]
74619         * elf/tst-execstack.c: Include stackinfo.h.
74620         (do_test): Adjust test case to ensure that pthread_getattr_np
74621         behaviour remains the same after marking stack executable.
74623 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74625         * sysdeps/unix/sysv/linux/kernel-features.h
74626         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74627         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74628         kernel-features.h.
74629         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74630         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74631         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74632         kernel-features.h.
74633         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74634         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74636 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74638         * configure.in: Define the default includes to being none.
74639         * configure: Regenerated.
74641 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74643         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74644         * sysdeps/x86_64/setjmp.S: Likewise.
74645         * sysdeps/i386/bsd-setjmp.S: Likewise.
74646         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74647         * sysdeps/i386/setjmp.S: Likewise.
74648         * sysdeps/i386/__longjmp.S: Likewise.
74649         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74650         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74652         * include/stap-probe.h: New file.
74653         * configure.in: Handle --enable-systemtap.
74654         * configure: Regenerated.
74655         * config.h.in (USE_STAP_PROBE): New #undef.
74656         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74657         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74658         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74660 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74662         [BZ #13717]
74663         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74664         to 2.4.0 where earlier.
74665         * sysdeps/unix/sysv/linux/configure: Regenerated.
74666         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74667         <kernel-features.h>.
74668         [__ASSUME_32BITUIDS]: Make code unconditional.
74669         [!__ASSUME_32BITUIDS]: Remove conditional code.
74670         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74671         <kernel-features.h>.
74672         [__ASSUME_32BITUIDS]: Make code unconditional.
74673         [!__ASSUME_32BITUIDS]: Remove conditional code.
74674         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74675         [__ASSUME_32BITUIDS]: Make code unconditional.
74676         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74677         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74678         <kernel-features.h>.
74679         [__ASSUME_32BITUIDS]: Make code unconditional.
74680         [!__ASSUME_32BITUIDS]: Remove conditional code.
74681         * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
74690         <kernel-features.h>.
74691         [__ASSUME_32BITUIDS]: Make code unconditional.
74692         [!__ASSUME_32BITUIDS]: Remove conditional code.
74693         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74694         <kernel-features.h>.
74695         [__ASSUME_32BITUIDS]: Make code unconditional.
74696         [!__ASSUME_32BITUIDS]: Remove conditional code.
74697         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74698         <kernel-features.h>.
74699         [__ASSUME_32BITUIDS]: Make code unconditional.
74700         [!__ASSUME_32BITUIDS]: Remove conditional code.
74701         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74702         <kernel-features.h>.
74703         [__ASSUME_32BITUIDS]: Make code unconditional.
74704         [!__ASSUME_32BITUIDS]: Remove conditional code.
74705         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74706         <kernel-features.h>.
74707         [__ASSUME_32BITUIDS]: Make code unconditional.
74708         [!__ASSUME_32BITUIDS]: Remove conditional code.
74709         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74710         <kernel-features.h>.
74711         [__ASSUME_32BITUIDS]: Make code unconditional.
74712         [!__ASSUME_32BITUIDS]: Remove conditional code.
74713         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74714         <kernel-features.h>.
74715         [__ASSUME_32BITUIDS]: Make code unconditional.
74716         [!__ASSUME_32BITUIDS]: Remove conditional code.
74717         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74718         <kernel-features.h>.
74719         [__NR_setresgid] (__setresgid): Do not declare.
74720         [__ASSUME_32BITUIDS]: Make code unconditional.
74721         [!__ASSUME_32BITUIDS]: Remove conditional code.
74722         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74723         <kernel-features.h>.
74724         [__NR_setresuid] (__setresuid): Do not declare.
74725         [__ASSUME_32BITUIDS]: Make code unconditional.
74726         [!__ASSUME_32BITUIDS]: Remove conditional code.
74727         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74728         <kernel-features.h>.
74729         [__ASSUME_32BITUIDS]: Make code unconditional.
74730         [!__ASSUME_32BITUIDS]: Remove conditional code.
74731         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74732         <kernel-features.h>.
74733         [__ASSUME_32BITUIDS]: Make code unconditional.
74734         [!__ASSUME_32BITUIDS]: Remove conditional code.
74735         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74736         <kernel-features.h>.
74737         [__ASSUME_32BITUIDS]: Make code unconditional.
74738         [!__ASSUME_32BITUIDS]: Remove conditional code.
74739         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74740         <kernel-features.h>.
74741         [__ASSUME_32BITUIDS]: Make code unconditional.
74742         [!__ASSUME_32BITUIDS]: Remove conditional code.
74743         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74744         <kernel-features.h>.
74745         [__ASSUME_32BITUIDS]: Make code unconditional.
74746         [!__ASSUME_32BITUIDS]: Remove conditional code.
74747         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74748         <kernel-features.h>.
74749         [__ASSUME_32BITUIDS]: Make code unconditional.
74750         [!__ASSUME_32BITUIDS]: Remove conditional code.
74751         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74752         <kernel-features.h>.
74753         [__ASSUME_32BITUIDS]: Make code unconditional.
74754         [!__ASSUME_32BITUIDS]: Remove conditional code.
74755         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74756         <kernel-features.h>.
74757         [__ASSUME_32BITUIDS]: Make code unconditional.
74758         [!__ASSUME_32BITUIDS]: Remove conditional code.
74759         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74760         <kernel-features.h>.
74761         [__ASSUME_32BITUIDS]: Make code unconditional.
74762         [!__ASSUME_32BITUIDS]: Remove conditional code.
74763         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74764         <kernel-features.h>.
74765         [__ASSUME_32BITUIDS]: Make code unconditional.
74766         [!__ASSUME_32BITUIDS]: Remove conditional code.
74767         * sysdeps/unix/sysv/linux/kernel-features.h
74768         (__ASSUME_SETRESUID_SYSCALL): Remove.
74769         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74770         (__ASSUME_32BITUIDS): Likewise.
74771         (__ASSUME_LDT_WORKS): Likewise.
74772         (__ASSUME_O_DIRECTORY): Likewise.
74773         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74774         architecture but not kernel version.
74775         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74776         (__ASSUME_MMAP2_SYSCALL): Likewise.
74777         (__ASSUME_STAT64_SYSCALL): Likewise.
74778         (__ASSUME_IPC64): Likewise.
74779         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74780         <kernel-features.h>.
74781         [__ASSUME_32BITUIDS]: Make code unconditional.
74782         [!__ASSUME_32BITUIDS]: Remove conditional code.
74783         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74784         <kernel-features.h>.
74785         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74786         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74787         132096]: Remove conditional code.
74788         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74789         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74790         <kernel-features.h>.
74791         [__ASSUME_32BITUIDS]: Make code unconditional.
74792         [!__ASSUME_32BITUIDS]: Remove conditional code.
74793         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74794         <kernel-features.h>.
74795         [__ASSUME_32BITUIDS]: Make code unconditional.
74796         [!__ASSUME_32BITUIDS]: Remove conditional code.
74797         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74798         <kernel-features.h>.
74799         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74800         unconditional.
74801         (__setresgid): Do not declare.
74802         [__ASSUME_32BITUIDS]: Make code unconditional.
74803         [!__ASSUME_32BITUIDS]: Remove conditional code.
74804         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74805         <kernel-features.h>.
74806         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74807         unconditional.
74808         (__setresuid): Do not declare.
74809         [__ASSUME_32BITUIDS]: Make code unconditional.
74810         [!__ASSUME_32BITUIDS]: Remove conditional code.
74811         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74812         <kernel-features.h>.
74813         [__ASSUME_32BITUIDS]: Make code unconditional.
74814         [!__ASSUME_32BITUIDS]: Remove conditional code.
74815         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74816         <kernel-features.h>.
74817         [__ASSUME_32BITUIDS]: Make code unconditional.
74818         [!__ASSUME_32BITUIDS]: Remove conditional code.
74820 2012-05-25  Richard Henderson  <rth@twiddle.net>
74822         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74823         dl_hwcap to ifunc resolver.
74824         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74825         elf_ifunc_invoke.
74826         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74827         dl_hwcap to ifunc resolver.
74828         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74830 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74832         [BZ #14153]
74833         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74834         for |x| <= 2**-26, not 2**-57.
74835         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74836         exception.
74838 2012-05-24  Jeff Law  <law@redhat.com>
74840         * stdio-common/Makefile (tests): Add bug25.
74841         * stdio-common/bug25.c: New test.
74843 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74845         [BZ #13576]
74846         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74847         multiple of MALLOC_ALIGNMENT in size.
74848         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74850 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74852         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74853         Require >= 256.
74854         (FILENAME_MAX): Use macro-int-constant.
74855         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74856         (_IOFBF): Use macro-int-constant.
74857         (_IOLBF): Likewise.
74858         (_IONBF): Likewise.
74859         (SEEK_CUR): Likewise.
74860         (SEEK_END): Likewise.
74861         (SEEK_SET): Likewise.
74862         (TMP_MAX): Likewise.
74863         (EOF): Use macro-int-constant.  Require < 0.
74864         (NULL): Use macro-constant.  Require == 0.
74865         (stdin): Require type to be FILE *.
74866         (stdout): Likewise.
74867         (stderr): Likewise.
74868         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74869         macro-int-constant.
74870         (EXIT_SUCCESS): Likewise.
74871         (NULL): Use macro-constant.  Require == 0.
74872         (RAND_MAX): Use macro-int-constant.
74873         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74874         [C99-based standards] (strtof): Require function.
74875         [C99-based standards] (strtold): Likewise.
74876         [C99-based standards] (strtoll): Likewise.
74877         [C99-based standards] (strtoull): Likewise.
74878         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74879         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74880         [ISO || ISO99 || ISO11] (math.h): Likewise.
74881         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74882         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74883         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74885 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74887         [BZ #14132]
74888         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74889         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74890         * intl/dgettext.c (DCGETTEXT): Likewise.
74891         * intl/gettext.c (DCGETTEXT): Likewise.
74892         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74893         * posix/regex_internal.h (gettext): Likewise.
74894         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74895         Remove declaration.
74896         * include/argz.h (__argz_count_internal)
74897         (__argz_stringify_internal): Remove declaration.
74898         (__argz_count, __argz_stringify): Declare hidden proto.
74899         * intl/dcgettext.c: Remove use of INTDEF.
74900         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74901         * string/argz-stringify.c: Likewise.
74902         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74903         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74904         Declare hidden proto.
74905         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74906         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74907         Declare hidden proto.
74908         * include/stdio.h (__asprintf_internal): Don't declare.
74909         (__asprintf): Don't define as macro.  Declare hidden proto.
74910         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74911         (__fsetlocking): Declare hidden proto.
74912         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74913         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74914         hidden proto.
74915         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74916         (_IO_setlinebuf): Remove use of INTUSE.
74917         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74918         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74919         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74920         Remove declaration.
74921         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74922         (_IO_do_flush): Remove use of INTUSE.
74923         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74924         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74925         (_IO_adjust_column, _IO_least_wmarker)
74926         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74927         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74928         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74929         (_IO_default_doallocate, _IO_wdefault_doallocate)
74930         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74931         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74932         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74933         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74934         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74935         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74936         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74937         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74938         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74939         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74940         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74941         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74942         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74943         proto.
74944         (_IO_flush_all_internal, _IO_adjust_column_internal)
74945         (_IO_default_uflow_internal, _IO_default_finish_internal)
74946         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74947         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74948         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74949         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74950         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74951         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74952         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74953         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74954         (_IO_file_close_internal, _IO_file_close_it_internal)
74955         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74956         (_IO_file_init_internal, _IO_file_attach_internal)
74957         (_IO_file_fopen_internal, _IO_file_read_internal)
74958         (_IO_file_sync_internal, _IO_file_seek_internal)
74959         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74960         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74961         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74962         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74963         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74964         (_IO_list_all_internal, _IO_link_in_internal)
74965         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74966         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74967         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74968         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74969         (_IO_do_write_internal, _IO_padn_internal)
74970         (_IO_getline_info_internal, _IO_getline_internal)
74971         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74972         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74973         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74974         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74975         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74976         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74977         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74978         with libc_hidden_ver, remove use of INTUSE.
74979         * libio/genops.c: Likewise.
74980         * libio/freopen.c: Likewise.
74981         * libio/freopen64.c: Likewise.
74982         * libio/iofclose.c: Likewise.
74983         * libio/iofdopen.c: Likewise.
74984         * libio/iofflush.c: Likewise.
74985         * libio/iofflush_u.c: Likewise.
74986         * libio/iofgets.c: Likewise.
74987         * libio/iofgets_u.c: Likewise.
74988         * libio/iofopen.c: Likewise.
74989         * libio/iofopncook.c: Likewise.
74990         * libio/iofread.c: Likewise.
74991         * libio/iofread_u.c: Likewise.
74992         * libio/ioftell.c: Likewise.
74993         * libio/iofwrite.c: Likewise.
74994         * libio/iogetline.c: Likewise.
74995         * libio/iogets.c: Likewise.
74996         * libio/iogetwline.c: Likewise.
74997         * libio/iopadn.c: Likewise.
74998         * libio/iopopen.c: Likewise.
74999         * libio/ioseekoff.c: Likewise.
75000         * libio/ioseekpos.c: Likewise.
75001         * libio/iosetbuffer.c: Likewise.
75002         * libio/iosetvbuf.c: Likewise.
75003         * libio/ioungetc.c: Likewise.
75004         * libio/ioungetwc.c: Likewise.
75005         * libio/iovdprintf.c: Likewise.
75006         * libio/iovsprintf.c: Likewise.
75007         * libio/iovsscanf.c: Likewise.
75008         * libio/memstream.c: Likewise.
75009         * libio/obprintf.c: Likewise.
75010         * libio/oldfileops.c: Likewise.
75011         * libio/oldiofclose.c: Likewise.
75012         * libio/oldiofdopen.c: Likewise.
75013         * libio/oldiofopen.c: Likewise.
75014         * libio/oldiopopen.c: Likewise.
75015         * libio/oldstdfiles.c: Likewise.
75016         * libio/putc.c: Likewise.
75017         * libio/setbuf.c: Likewise.
75018         * libio/setlinebuf.c: Likewise.
75019         * libio/stdfiles.c: Likewise.
75020         * libio/strops.c: Likewise.
75021         * libio/vasprintf.c: Likewise.
75022         * libio/vscanf.c: Likewise.
75023         * libio/vsnprintf.c: Likewise.
75024         * libio/vswprintf.c: Likewise.
75025         * libio/wfiledoalloc.c: Likewise.
75026         * libio/wfileops.c: Likewise.
75027         * libio/wgenops.c: Likewise.
75028         * libio/wmemstream.c: Likewise.
75029         * libio/wstrops.c: Likewise.
75030         * libio/__fpurge.c: Likewise.
75031         * libio/__fsetlocking.c: Likewise.
75032         * assert/assert.c: Likewise.
75033         * debug/fgets_chk.c: Likewise.
75034         * debug/fgets_u_chk.c: Likewise.
75035         * debug/fread_chk.c: Likewise.
75036         * debug/fread_u_chk.c: Likewise.
75037         * debug/gets_chk.c: Likewise.
75038         * debug/obprintf_chk.c: Likewise.
75039         * debug/vasprintf_chk.c: Likewise.
75040         * debug/vdprintf_chk.c: Likewise.
75041         * debug/vsnprintf_chk.c: Likewise.
75042         * debug/vsprintf_chk.c: Likewise.
75043         * malloc/mtrace.c: Likewise.
75044         * misc/error.c: Likewise.
75045         * misc/syslog.c: Likewise.
75046         * stdio-common/asprintf.c: Likewise.
75047         * stdio-common/fxprintf.c: Likewise.
75048         * stdio-common/getw.c: Likewise.
75049         * stdio-common/isoc99_fscanf.c: Likewise.
75050         * stdio-common/isoc99_scanf.c: Likewise.
75051         * stdio-common/isoc99_vfscanf.c: Likewise.
75052         * stdio-common/isoc99_vscanf.c: Likewise.
75053         * stdio-common/isoc99_vsscanf.c: Likewise.
75054         * stdio-common/printf-prs.c: Likewise.
75055         * stdio-common/printf_fp.c: Likewise.
75056         * stdio-common/printf_fphex.c: Likewise.
75057         * stdio-common/printf_size.c: Likewise.
75058         * stdio-common/putw.c: Likewise.
75059         * stdio-common/scanf.c: Likewise.
75060         * stdio-common/sprintf.c: Likewise.
75061         * stdio-common/tmpfile.c: Likewise.
75062         * stdio-common/vfprintf.c: Likewise.
75063         * stdio-common/vfscanf.c: Likewise.
75064         * stdlib/strfmon_l.c: Likewise.
75065         * sunrpc/openchild.c: Likewise.
75066         * sunrpc/xdr_stdio.c: Likewise.
75067         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75068         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75070 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75072         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75074         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75075         in the third column, to generate for the shared library an IFUNC
75076         that uses _dl_vdso_vsym.
75077         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75078         * Makeconfig (object-suffixes-noshared): New variable.
75080         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75081         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75082         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75083         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75085         [BZ #14132]
75086         * include/sys/time.h (__gettimeofday): Remove macro.
75087         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75088         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75089         Remove INTDEF.
75090         (__gettimeofday): Add libc_hidden_def.
75091         (gettimeofday): Add libc_hidden_weak.
75092         * sysdeps/mach/gettimeofday.c: Likewise.
75093         * sysdeps/posix/gettimeofday.c: Likewise.
75094         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75095         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75097         (__gettimeofday_internal): Remove strong_alias.
75098         (__gettimeofday): Add libc_hidden_def.
75099         (gettimeofday): Add libc_hidden_weak.
75100         * sysdeps/unix/syscalls.list (gettimeofday):
75101         Remove __gettimeofday_internal alias.
75103 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75104             H.J. Lu  <hongjiu.lu@intel.com>
75106         [BZ #12495]
75107         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75108         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75109         (largebin_index_32_big): New.
75110         (largebin_index): Use it for 16-byte alignment.
75111         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75112         correction with front_misalign.
75114 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75118         Likewise.
75119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75120         Likewise.
75121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75122         Likewise.
75123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75124         Likewise.
75125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75126         Likewise.
75127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75128         Likewise.
75129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75130         Likewise.
75131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75132         Likewise.
75133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75134         Likewise.
75135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75136         Likewise.
75137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75138         Likewise.
75139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75140         Likewise.
75142         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75143         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75145 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75147         [BZ #10846]
75148         [BZ #14036]
75149         * math/libm-test.inc (exp_test): Add test from bug 14036.
75150         (pow_test): Add test from bug 10846.
75152         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75153         and other flags.
75154         (special_function): Do not include flags in test name.
75155         (parse_args): Likewise.
75156         * sysdeps/i386/fpu/libm-test-ulps: Update.
75157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75158         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75159         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75162         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75163         exceptions.
75164         * math/libm-test.inc ("Philosophy"): Update comment about
75165         exception testing.
75166         (UNDERFLOW_EXCEPTION): New macro.
75167         (UNDERFLOW_EXCEPTION_OK): Likewise.
75168         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75169         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75170         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75171         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75172         (INVALID_EXCEPTION_OK): Update value.
75173         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75174         (OVERFLOW_EXCEPTION_OK): Likewise.
75175         (IGNORE_ZERO_INF_SIGN): Likewise.
75176         (test_exceptions): Handle underflow exceptions.
75177         (acos_test): Update for underflow exception expectations.
75178         (cexp_test): Likewise.
75179         (clog_test): Likewise.
75180         (clog10_test): Likewise.
75181         (csqrt_test): Likewise.
75182         (ctan_test): Likewise.
75183         (ctanh_test): Likewise.
75184         (exp_test): Likewise.
75185         (exp10_test): Likewise.
75186         (exp2_test): Likewise.
75187         (expm1_test): Likewise.
75188         (fma_test): Likewise.
75189         (j0_test): Likewise.
75190         (jn_test): Likewise.
75191         (nexttoward_test): Likewise.
75192         (pow_test): Likewise.
75193         (scalbn_test): Likewise.
75194         (scalbln_test): Likewise.
75195         (tan_test): Likewise.
75196         (y1_test): Likewise.
75197         * sysdeps/i386/fpu/libm-test-ulps: Update.
75198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75200 2012-05-23  David S. Miller  <davem@davemloft.net>
75202         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75203         (__libc_sigaction): Remove unused local variables.
75205 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75207         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75209 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75211         mktime: avoid signed integer overflow
75212         * time/mktime.c (__mktime_internal): Do not mishandle the case
75213         where diff == INT_MIN.
75215         mktime: simplify computation of average
75216         * time/mktime.c (ranged_convert): Use new time_t_avg function
75217         instead of rolling our own (probably-slower) code.
75219         mktime: do not assume signed right shift propagates sign bit
75220         * time/mktime.c (isdst_differ): New static function.
75221         (__mktime_internal): No need to normalize tm_isdst now.
75222         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75223         tm_isdst values.
75225         mktime: merge another wrapv change from gnulib
75226         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75227         from some compilers.
75229         mktime: remove incorrect attempt at unusual arithmetics
75230         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75231         The code didn't really work on such machines anyway.
75232         (TYPE_MINIMUM): Assume two's complement.
75233         (twos_complement_arithmetic): Verify that long_int and time_t
75234         are two's complement (or unsigned, in the latter case).
75236         mktime: check signed shifts on long_int and time_t, too
75237         * time/mktime.c (SHR): Check that shifts work as desired
75238         on the types long_int and time_t too, as SHR is used on
75239         such types.
75241         mktime: do not assume 'long' is wide enough
75242         * time/mktime.c (verify): Move decl up.
75243         (long_int): New type.
75244         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75245         to remove assumption in the code that 'long' is wide enough to
75246         store year values.  This assumption is not true on x32 and on
75247         some non-glibc platforms.
75249         mktime: merge wrapv change from gnulib
75250         * time/mktime.c (WRAPV): New macro.
75251         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75252         (guess_time_tm, __mktime_internal): Do not assume that signed
75253         integer overflow wraps around; modern compilers generate code
75254         where this assumption is no longer valid.
75256 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75258         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75259         Replace "jmp L(pseudo_end)" with "ret".
75260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75261         Likewise.
75263 2012-05-23  Andreas Jaeger  <aj@suse.de>
75265         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75266         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75268 2012-05-23  Andreas Jaeger  <aj@suse.de>
75269             Maximilian Attems  <max@stro.at>
75271         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75272         New macros.
75274 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75276         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75277         code so that pseudo_end is just ret and the stack pointer is
75278         correct also for static library in error case.
75280 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75282         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75283         move to syscalls.list.
75284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75289         * manual/install.texi (Running make install): Do not mention Linux
75290         kernel version for which pt_chown is not needed.
75291         (Linux): Do not mention problems with nscd with 2.0 kernels.
75292         * INSTALL: Regenerated.
75294 2012-05-23  Andreas Jaeger  <aj@suse.de>
75296         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75297         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75298         macro.
75299         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75300         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75301         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75302         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75303         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75304         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75305         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75307         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75309         * sysdeps/unix/sysv/linux/bits/in.h
75310         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75312 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75314         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75315         (PREPARE_VERSION): Just use assert instead, it will be elided
75316         under [NDEBUG] anyway.
75318 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75320         * sysdeps/unix/sysv/linux/Makefile: Include
75321         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75322         (sysdep_routines): Remove sysctl.
75323         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75324         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75325         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75326         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75327         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75329 2012-05-22  Andreas Jaeger  <aj@suse.de>
75331         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75332         that pseudo_end is just ret and the stack pointer is correct also
75333         for static library in error case.
75335 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75337         [BZ #14122]
75338         * nss/nsswitch.c (defconfig_entries): New variable.
75339         (__nss_database_lookup): Don't leak defconfig entries.
75340         (nss_parse_service_list): Don't leak on error paths.
75341         (free_database_entries): New function.
75342         (free_defconfig): New function.
75343         (free_mem): Move common code to free_database_entries.
75345 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75347         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75348         Add arch_prctl.
75349         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75351         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75352         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75354         New macro.
75355         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75356         (INTERNAL_SYSCALL_TYPES): Likewise.
75357         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75358         (LOAD_REGS_TYPES_[1-6]): Likewise.
75359         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75360         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75362 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75364         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75365         copysignl for GLIBC_2_0.
75366         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75367         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75369         logbl for GLIBC_2_0.
75370         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75371         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75373 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75375         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75376         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75378         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75379         Use "neg %eax".
75381         * time/mktime.c: Update copyright years.
75383 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75385         mktime: merge comment-quoting-style change from gnulib
75386         * time/mktime.c: Quote 'like this' in comments.
75387         The GNU coding standards suggest that we no longer quote `like this',
75388         as "`" and "'" are typically rendered asymmetrically nowadays.
75389         The typical gnulib style is to quote 'like this' when quoting
75390         code, and "like this" when quoting English.
75392         * time/mktime.c (compile-command): Add "-I.".
75394         mktime: merge mktime-internal.h change from gnulib
75395         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75397         mktime: merge time_r change from gnulib
75398         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75400         mktime: merge DEBUG change from gnulib
75401         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75402         case system <time.h> has a #define.
75404         mktime: merge <sys/types.h> change from gnulib
75405         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75406         since <time.t> is now guaranteed to define time_t.
75408         mktime: merge HAVE_CONFIG_H change from gnulib
75409         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75411 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75414         Use "neg %eax".
75416         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75417         __rlim_t cast.
75418         (struct rusage): Use anonymous union to pad each field to
75419         __syscall_slong_t.
75421 2012-05-21  David S. Miller  <davem@davemloft.net>
75423         * Makefules (o-iterator): Remove .s cases.
75424         (compile-command.s): Delete.
75425         (COMPILE.s): Delete.
75426         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75428 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75430         * configure.in (libc_cv_predef_stack_protector): Only consider
75431         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75432         * configure: Regenerated.
75434 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75437         New macro.  Use R*LP on int and pointer.
75438         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75439         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75440         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75441         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75443         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75444         [__WORDSIZE_TIME64_COMPAT32] instead of
75445         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75446         (struct utmp): Likewise.
75447         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75448         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75449         Renamed to ...
75450         (__WORDSIZE_TIME64_COMPAT32): This.
75451         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75452         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75453         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75454         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75455         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75456         (__WORDSIZE_TIME64_COMPAT32): New macro.
75458 2012-05-21  Andreas Jaeger  <aj@suse.de>
75460         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75461         only if [SHARED]. Add prototype for __wcschr_ia32.
75463 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75465         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75466         of %rbp unmolested in the jmp_buf while mangling the low bits.
75467         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75468         unmolested high bits of %rbp while demangling the low bits.
75469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75471 2012-05-21  Andreas Jaeger  <aj@suse.de>
75473         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75474         * sunrpc/svc_simple.c: Use it for registerrpc.
75475         * sunrpc/xcrypt.c: Use it for passwd2des.
75477         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75479 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75481         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75482         Don't define if [__SYSCALL_WORDSIZE != 32].
75483         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75484         New macro.
75486 2012-05-21  Bruno Haible  <bruno@clisp.org>
75487             Andreas Jaeger  <aj@suse.de>
75489         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75490         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75491         inptr and inend for must_buffer_ch.
75492         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75493         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75494         * stdio-common/Makefile (tests): Remove bug15.
75495         (bug15-ENV): Remove macro.
75496         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75497         anymore.
75499 2012-05-19  Andreas Jaeger  <aj@suse.de>
75500             Roland McGrath  <roland@hack.frob.com>
75502         * manual/contrib.texi: Completely rewritten. It contains now an
75503         alphabetical list of contributors and their contributions.
75505 2012-05-21  Richard Henderson  <rth@twiddle.net>
75507         * misc/getauxval.c (__getauxval): Use unsigned long int.
75508         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75509         (getauxval): Use unsigned long int.
75511 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75513         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75515 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75517         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75518         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75519         __alignof__ (long double).
75521 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75525 2012-05-20  Richard Henderson  <rth@twiddle.net>
75527         * misc/getauxval.c: New file.
75528         * misc/sys/auxv.h: New file.
75529         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75530         (routines): Add getauxval.
75531         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75532         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75533         * elf/dl-sysdep.c (_dl_auxv): Remove.
75534         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75535         * elf/dl-support.c (_dl_auxv): New variable.
75536         (_dl_aux_init): Initialize it.
75537         * manual/startup.texi (Auxiliary Vector): New node.
75538         * sysdeps/generic/bits/hwcap.h: New file.
75539         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75540         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75541         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75542         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75543         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75544         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75546         Update.
75547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75556 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75560 2012-05-19  David S. Miller  <davem@davemloft.net>
75562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75564 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75566         [BZ #14123]
75567         * math/s_ccosh.c: Include <float.h>
75568         (__ccosh): Avoid internal overflow calculating sinh and cosh
75569         values before multiplying by sin and cos values.
75570         * math/s_ccoshf.c: Likewise.
75571         * math/s_ccoshl.c: Likewise.
75572         * math/s_csin.c: Likewise.
75573         * math/s_csinf.c: Likewise.
75574         * math/s_csinl.c: Likewise.
75575         * math/s_csinh.c: Likewise.
75576         * math/s_csinhf.c: Likewise.
75577         * math/s_csinhl.c: Likewise.
75578         * math/libm-test.inc (ccos_test): Add more tests.
75579         (ccosh_test): Likewise.
75580         (csin_test): Likewise.
75581         (csinh_test): Likewise.
75582         * sysdeps/i386/fpu/libm-test-ulps: Update.
75583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75585 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75587         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75588         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75590         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75592 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75594         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75595         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75596         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75597         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75598         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75599         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75600         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75601         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75602         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75603         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75604         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75605         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75606         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75607         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75608         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75609         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75610         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75611         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75612         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75613         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75614         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75615         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75616         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75617         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75618         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75619         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75620         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75621         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75622         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75623         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75624         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75626 2012-05-18  Andreas Jaeger  <aj@suse.de>
75628         * csu/.gitignore: Delete.
75630 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75632         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75633         (timex): Use __syscall_slong_t.
75635 2012-05-18  Andreas Jaeger  <aj@suse.de>
75636             Carlos O'Donell  <carlos_odonell@mentor.com>
75638         * manual/install.texi (Configuring and compiling): Update
75639         description about files modified in the source directory.
75640         * INSTALL: Regenerated.
75642 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75644         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75645         value.  Use "or" to set return value to -1.
75646         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75647         negate return value.
75649 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75651         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75652         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75653         failure if the compiler has Graphite support disabled.
75654         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75655         Likewise.
75656         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75657         (CFLAGS-memmove.c): Likewise.
75658         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75659         Likewise.
75661 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75663         * sysdeps/x86_64/x32/_itoa.h: New file.
75665         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75666         getdents system call only if kernel and user dirents have the
75667         same d_ino and d_off.
75669         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75670         LLONG_MAX != LONG_MAX.
75671         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75672         (_fitoa_word): Likewise.
75674         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75675         years.
75676         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75677         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75678         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75680         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75681         include <bits/wordsize.h>.  Check __x86_64__ instead of
75682         __WORDSIZE.
75683         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75684         if __x86_64__ is defined.  Use anonymous union on fpstate.
75686         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75687         anonymous union.
75689 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75691         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75692         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75693         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75694         Refer to _rtld_local_ro instead of _rtld_global_ro.
75695         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75696         Likewise.
75697         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75698         Likewise.
75699         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75700         Likewise.
75701         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75702         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75703         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75705         [BZ #10882]
75706         * sysdeps/powerpc/powerpc32/dl-machine.c
75707         (__elf_machine_runtime_setup) [PROF]: Don't reference
75708         _dl_prof_resolve.
75710 2012-05-18  Andreas Jaeger  <aj@suse.de>
75712         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75713         function only available for GCCs before 3.4 since GCC 3.4
75714         introduced a builtin.
75715         (lrint): Likewise.
75716         (llrintf): Likewise.
75717         (llrint): Likewise.
75718         (fmaxf): Likewise.
75719         (fmax): Likewise.
75720         (fminf): Likewise.
75721         (fmin): Likewise.
75722         (rint): Likewise.
75723         (rintf): Likewise.
75724         (nearbyint): Likewise.
75725         (nearbyintf): Likewise.
75726         (ceil): Likewise.
75727         (ceilf): Likewise.
75728         (floor): Likewise.
75729         (floorf): Likewise.
75731 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75733         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75734         on both fields and cast pointer to __syscall_ulong_t.
75736         * bits/types.h (__fsword_t): New type.
75737         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75738         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75739         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75740         (__FSWORD_T_TYPE): Likewise.
75741         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75742         (__FSWORD_T_TYPE): Likewise.
75743         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75744         (__FSWORD_T_TYPE): Likewise.
75745         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75746         (__FSWORD_T_TYPE): Likewise.
75747         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75748         __SWORD_TYPE with __fsword_t.
75749         (statfs64): Likewise.
75751 2012-05-17  David S. Miller  <davem@davemloft.net>
75753         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75755 2012-05-17  Andreas Jaeger  <aj@suse.de>
75757         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75758         warning.
75760 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75762         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75764 2012-05-17  Andreas Jaeger  <aj@suse.de>
75766         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75767         when it is used.
75769 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75771         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75773 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75775         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75776         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75778 2012-05-17  Andreas Jaeger  <aj@suse.de>
75779             Carlos O'Donell  <carlos_odonell@mentor.com>
75781         [BZ #14059]
75782         * sysdeps/x86_64/multiarch/init-arch.h
75783         (bit_YMM_Usable): Rename to...
75784         (bit_AVX_Usable): ... this.
75785         (bit_FMA4_Usable): New macro.
75786         (bit_XMM_state): New macro.
75787         (bit_YMM_state): New macro.
75788         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75789         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75790         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75791         (CPUID_OSXSAVE): New macro.
75792         (CPUID_AVX): New macro.
75793         (CPUID_FMA4): New macro.
75794         (index_YMM_Usable): Rename to...
75795         (index_AVX_Usable): ... this.
75796         (HAS_AVX): Use HAS_ARCH_FEATURE.
75797         (HAS_FMA4): Likewise.
75798         (HAS_YMM_USABLE): Remove.
75799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75800         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75801         are present.
75802         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75803         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75804         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75805         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75806         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75808 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75810         * math/libm-test.c: Support platforms without multiple rounding modes.
75811         * math/bug-nextafter.c: Support platforms without FP exceptions.
75812         * math/bug-nexttoward.c: Likewise.
75813         * math/test-fenv.c: Likewise.
75814         * math/test-misc.c: Likewise.
75815         * stdlib/bug-getcontext.c: Likewise.
75817 2012-05-17  Andreas Jaeger  <aj@suse.de>
75819         * manual/examples/search.c (critter_cmp): Change signature to
75820         avoid warnings.
75821         * manual/string.texi (Collation Functions): Likewise.
75823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75825         * bits/types.h: Fold copyright years.
75826         * bits/typesizes.h: Likewise.
75827         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75828         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75829         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75831         * time/time.h: Likewise.
75833 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75835         [BZ #208]
75836         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75837         in instead of returning them.  Return void.
75838         (__libc_mallinfo): Accumulate over all arenas.
75839         (__malloc_stats): Adjust for change in int_mallinfo interface.
75841 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75843         [BZ #10375]
75844         * configure.in (NM): Add AC_CHECK_TOOL for it.
75845         (libc_extra_cflags): New substituted variable.
75846         Check for -fstack-protector being used implicitly.
75847         * configure: Regenerated.
75848         * config.make.in (config-extra-cflags): New variable,
75849         gets @libc_extra_cflags@.
75850         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75852         [BZ #10375]
75853         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75854         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75855         * configure: Regenerated.
75856         * config.make.in (CPPUNDEFS): New substituted variable.
75857         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75858         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75859         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75861 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75863         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75864         (mq_attr): Use __syscall_slong_t.
75866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75868         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75869         Check __x86_64__ instead of __WORDSIZE.
75870         (_STAT_VER_LINUX): Likewise.
75871         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75872         __syscall_ulong_t and __syscall_slong_t.
75873         (stat64): Likewise.
75875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75877         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75879 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75881         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75885         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75886         __syscall_ulong_t.
75888         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75889         include <bits/wordsize.h>.  Check __x86_64__ instead of
75890         __WORDSIZE.
75891         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75892         defined.
75893         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75895         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75896         include <bits/wordsize.h>.  Check __x86_64__ instead of
75897         __WORDSIZE.
75898         (user_regs_struct): Use "__extension__ unsigned long long"
75899         instead of "unsigned long" if __x86_64__ is defined.
75900         (user): Likewise.  Pad after pointer field if __ILP32__ is
75901         defined.
75903 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75905         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75906         versions 5 to 9.
75907         * configure: Regenerated.
75908         * manual/install.texi (texinfo): Increase version requirement to
75909         4.5 or later.
75910         * INSTALL: Regenerated.
75912         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75914 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75916         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75918         * sysdeps/x86_64/x32/ffs.c: New file.
75920         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75921         __syscall_ulong_t.
75922         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75923         defined.  Use __syscall_ulong_t.
75924         (shminfo): Use __syscall_ulong_t.
75925         (shm_info): Likewise.
75927         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75928         __syscall_ulong_t.
75930         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75931         <bits/wordsize.h>.
75932         (msgqnum_t): Use __syscall_ulong_t.
75933         (msglen_t): Likewise.
75934         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75935         __syscall_ulong_t.
75937         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75938         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75940         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75942         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75943         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75945         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75946         __syscall_slong_t.
75948         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75949         include <bits/wordsize.h>.  Check __x86_64__ instead of
75950         __WORDSIZE.
75952         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75953         "unsigned long long int" if __x86_64__ is defined.
75954         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75956         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75957         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75958         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75960         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75961         <stdint.h>.
75962         (GET_PC): Cast to uintptr_t first.
75963         (GET_FRAME): Likewise.
75964         (GET_STACK): Likewise.
75966         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75968         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75969         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75970         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75971         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75972         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75973         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75974         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75975         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75976         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75977         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75978         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75979         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75980         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75981         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75982         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75983         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75984         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75985         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75986         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75987         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75988         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75989         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75990         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75991         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75992         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75993         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75994         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75996 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75998         * Makerules (+depfiles): Also collect depfiles from .oS in
75999         $(extra-objs).
76000         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76001         .oS, $(libnldbl-routines)).
76003         * Makerules (native-compile-mkdep-flags): Define.
76004         * sunrpc/Makefile (extra-objs): Add $(addprefix
76005         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76006         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76007         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76008         calling $(make-target-directory).
76010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76012         * bits/types.h (__snseconds_t): Removed.
76013         * time/time.h (struct timespec): Replace __snseconds_t with
76014         __syscall_slong_t.
76015         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76016         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76017         Likewise.
76018         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76019         (__SNSECONDS_T_TYPE): Likewise.
76020         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76021         (__SNSECONDS_T_TYPE): Likewise.
76022         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76023         (__SNSECONDS_T_TYPE): Likewise.
76025 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76027         * sysdeps/mach/hurd/bits/typesizes.h
76028         (__SYSCALL_SLONG_TYPE): New macro.
76029         (__SYSCALL_ULONG_TYPE): Likewise.
76031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76033         * bits/types.h (__syscall_slong_t): New type.
76034         (__syscall_ulong_t): Likewise.
76036         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76037         (__SYSCALL_ULONG_TYPE): Likewise.
76038         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76039         (__SYSCALL_SLONG_TYPE): Likewise.
76040         (__SYSCALL_ULONG_TYPE): Likewise.
76041         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76042         (__SYSCALL_SLONG_TYPE): Likewise.
76043         (__SYSCALL_ULONG_TYPE): Likewise.
76044         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76045         (__SYSCALL_SLONG_TYPE): Likewise.
76046         (__SYSCALL_ULONG_TYPE): Likewise.
76048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76050         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76051         Add sigaltstack-offsets.sym.
76052         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76053         <sigaltstack-offsets.h>.
76054         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76055         longjmp_msg pointer.
76056         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76057         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76058         signal stack.
76059         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76061 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76063         * elf/stackguard-macros.h: Remove file.
76064         * sysdeps/generic/stackguard-macros.h: New file.
76065         * sysdeps/i386/stackguard-macros.h: Likewise.
76066         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76067         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76068         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76069         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76070         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76071         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76072         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76073         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76074         <elf/stackguard-macros.h>.
76076         [BZ #14109]
76077         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76078         __aligned__ in attribute.
76079         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76080         (gregset_t): Likewise.
76082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76084         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76085         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76086         * sysdeps/x86_64/x32/Implies-after: New file.
76088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76090         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76091         and access return value for _dl_profile_fixup.  Use R10_LP to
76092         load frame size.
76094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76096         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76100         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76101         * sysdeps/x86_64/x32/sysdep.h: New file.
76103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76105         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76106         * sysdeps/x86_64/setjmp.S: Likewise.
76108 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76110         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76111         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76112         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76113         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76114         remove unused global constant.
76116 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76118         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76119         include of <not-cancel.h>.
76121 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76123         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76125 2012-05-15  Jeff Law  <law@redhat.com>
76126             Andreas Jaeger  <aj@suse.de>
76128         [BZ #13594]
76129         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76130         out from...
76131         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76132         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76133         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76134         code changing __hst_map_handle.map.
76136 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76138         * configure.in (sysnames): Look for Implies-before and Implies-after
76139         files.
76140         * configure: Regenerated.
76142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76144         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76145         8-byte data alignment with LP_SIZE alignment.
76147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76149         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76150         into R10_LP.
76152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76154         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76158         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76159         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76160         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76161         Likewise.
76162         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76166         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76167         (stackinfo_sub_sp): Likewise.
76169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76171         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76172         RAX_LP.
76174 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76176         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76177         into R*_LP.
76179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76181         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76182         sizes into R*_LP.
76184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76186         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76190         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76191         into R11_LP and load __x86_64_shared_cache_size_half into
76192         R8_LP.
76194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76196         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76197         R8_LP.
76199 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76202         logb for POWER7.
76203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76204         logbf for POWER7.
76205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76206         logbl for POWER7.
76207         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76208         powerpc32/power7/fpu/s_logb.c via #include.
76209         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76210         powerpc32/power7/fpu/s_logbf.c via #include.
76211         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76212         powerpc32/power7/fpu/s_logbl.c via #include.
76214 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76216         * README.libm: Remove file.
76218 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76220         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76221         count for x32.  Use R*_LP and omit operand-size suffix.
76223 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76225         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76226         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76227         * sysdeps/x86_64/x32/shlib-versions: New file.
76229 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76231         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76232         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76233         Use _dl_fatal_printf instead.
76235 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76237         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76238         set if not set by the user.  Do not allow for being unset.
76239         * sysdeps/unix/sysv/linux/configure: Regenerated.
76241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76243         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76244         the `q' suffix from lea and replace .quad with ASM_ADDR.
76246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76249         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76250         instead of $17.
76251         (PTR_DEMANGLE): Likewise.
76253 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76255         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76256         (LP_OP): Likewise.
76257         (ASM_ADDR): Likewise.
76258         (RAX_LP): Likewise.
76259         (RBP_LP): Likewise.
76260         (RBX_LP): Likewise.
76261         (RCX_LP): Likewise.
76262         (RDI_LP): Likewise.
76263         (RSI_LP): Likewise.
76264         (RSP_LP): Likewise.
76265         (R8_LP): Likewise.
76266         (R9_LP): Likewise.
76267         (R10_LP): Likewise.
76268         (R10_LP): Likewise.
76269         (R11_LP): Likewise.
76270         (R12_LP): Likewise.
76271         (R13_LP): Likewise.
76272         (R14_LP): Likewise.
76273         (R15_LP): Likewise.
76275 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76277         * sysdeps/x86_64/x32/dl-machine.h: New file.
76279 2012-05-14  Andreas Jaeger  <aj@suse.de>
76281         * manual/Makefile (subdir): Remove export of subdir.
76282         (all): Remove target.
76283         (.PHONY): Remove all from list.
76284         (mkinstalldirs): Remove.
76285         (.PHONY): Remove installdirs from list.
76286         ($(inst_infodir)/libc.info): Use make-target-directory.
76287         (installdirs): Remove.
76288         (subdir_%): Remove.
76289         (glibc-targets): Remove.
76290         (lib): Remove.
76291         (stubs): Remove.
76292         ($(objpfx)stubs ../po/manual.pot): Remove.
76293         ($(objpfx)stamp%): Remove.
76294         (make-target-directory): Remove.
76295         (subdir_install): Remove.
76296         (routines): Remove.
76297         (aux): Remove.
76298         (sources): Remove.
76299         (objects): Remove.
76300         (headers): Remove.
76302         [BZ #13750]
76303         * manual/.gitignore: Remove, it's not needed anymore.
76304         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76305         all files in it.
76306         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76307         directory.
76308         (texis): Renamed to $(objpfx)texis.
76309         (texis-path): New, contains path to generated files.
76310         (chapters.%): Use texis-path for complete path, add extra argument
76311         libc-texinfo.sh.
76312         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76313         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76314         (summary,texi, stamp-summary): Use complete path of
76315         files. Generate files in build dir.
76316         (dir-add.texi): Build in build dir.
76317         (libm-err.texi,stamp-libm-err): Likewise.
76318         (version.texi, stamp-version): Likewise.
76319         (.%c.texi): Likewise.
76320         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76321         (mostlyclean): Remove target.
76322         (realclean): Remove target.
76323         (generated): Add new variable with contents from mostlyclean and
76324         realclean, remove entries duplicated in common-mostlyclean, add
76325         stamp-libm-err and stamp-version.
76326         (generated-dirs): Add libc directory.
76327         ($(inst_infodir)/libc.info): Install files from build dir.
76329         * manual/install.texi (Configuring and compiling): Adjust since
76330         the info files are not part of the tar ball anymore.
76332 2012-05-14  Andreas Jaeger  <aj@suse.de>
76334         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76335         variable.
76337 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76339         [BZ #13717]
76340         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76341         to 2.2.0 where earlier.
76342         * sysdeps/unix/sysv/linux/configure: Regenerated.
76343         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76344         Remove conditional code.
76345         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76346         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76347         Remove conditional code.
76348         [!__NR_lchown]: Likewise.
76349         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76350         [__NR_lchown]: Likewise.
76351         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76352         comment referencing __ASSUME_LCHOWN_SYSCALL.
76353         * sysdeps/unix/sysv/linux/i386/sigaction.c
76354         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76355         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76356         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76357         Remove conditional code.
76358         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76359         (__protocol_available): Remove #if 0 code.
76360         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76361         conditional code.
76362         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76363         * sysdeps/unix/sysv/linux/kernel-features.h
76364         (__ASSUME_GETCWD_SYSCALL): Don't define.
76365         (__ASSUME_REALTIME_SIGNALS): Likewise.
76366         (__ASSUME_PREAD_SYSCALL): Likewise.
76367         (__ASSUME_PWRITE_SYSCALL): Likewise.
76368         (__ASSUME_POLL_SYSCALL): Likewise.
76369         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76370         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76371         non-SPARC.
76372         (__ASSUME_SIOCGIFNAME): Don't define.
76373         (__ASSUME_MSG_NOSIGNAL): Likewise.
76374         (__ASSUME_SENDFILE): Define unconditionally.
76375         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76376         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76377         conditional code.
76378         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76379         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76380         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76381         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76382         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76383         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76384         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76386         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76387         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76389         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76392         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76393         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76398         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76399         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76401         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76404         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76405         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76407         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76408         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76409         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76410         Remove conditional code.
76411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76412         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76413         Remove conditional code.
76414         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76415         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76416         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76417         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76418         Remove conditional code.
76419         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76420         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76421         Remove conditional code.
76422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76423         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76424         Remove conditional code.
76425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76426         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76427         Remove conditional code.
76428         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76429         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76430         Remove conditional code.
76431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76432         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76433         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76434         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76435         * sysdeps/unix/sysv/linux/sigaction.c
76436         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76437         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76438         * sysdeps/unix/sysv/linux/sigpending.c
76439         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76440         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76441         * sysdeps/unix/sysv/linux/sigprocmask.c
76442         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76443         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76444         * sysdeps/unix/sysv/linux/sigsuspend.c
76445         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76446         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76447         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76448         (__libc_missing_rt_sigs): Remove.
76449         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76450         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76451         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76452         Remove conditional code.
76453         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76454         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76455         return 1.
76456         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76457         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76458         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76459         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76461 2012-05-14  Andreas Jaeger  <aj@suse.de>
76463         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76464         it's not used in glibc.
76465         (__coshm1): Likewise.
76466         (__acosh1p): Likewise.
76467         (__sgn): Likewise.
76469         * manual/string.texi (Copying and Concatenation): Add missing
76470         variable in concat example.
76471         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76473 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76475         [BZ #14103]
76476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76477         __builtin_clzl with __builtin_clzll.
76479 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76481         [BZ #14104]
76482         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76483         libc_freeres_ptr.
76485 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76487         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76488         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76489         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76490         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76492 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76494         * NEWS: Update ia64 info.
76496 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76498         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76499         used as bcopy.
76501 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76503         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76504         * sysdeps/unix/syscalls.list (dup3): Likewise.
76505         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76506         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76508 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76510         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76511         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76513 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76515         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76516         thread pointer.
76517         (TLS_IE): Use mov/add instead of movq/addq to load thread
76518         pointer.
76519         (TLS_GD_PREFIX): New.
76520         (TLS_GD): Use it.
76522 2012-05-11  David S. Miller  <davem@davemloft.net>
76524         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76525         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76526         (_FPU_SETCW): Likewise.
76528 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76530         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76531         is 32-byte aligned.
76533 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76535         [BZ #11837]
76536         * iconvdata/gb18030.c: Update tables.
76537         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76538         characters specially.
76539         (BODY for TO_LOOP): Add encoding of missing ranges.
76541 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76543         [BZ #13673]
76544         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76545         * sysdeps/mach/hurd/dup3.c: Likewise.
76546         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76547         * sysdeps/powerpc/memmove.c:: Likewise.
76549 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76552         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76554 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76556         * elf/elf.h (R_X86_64_RELATIVE64): New.
76557         (R_X86_64_NUM): Updated.
76558         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76559         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76560         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76561         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76562         tst-quad1pie tst-quad2pie
76563         (modules-names): Add tst-quadmod1 tst-quadmod2.
76564         ($(objpfx)tst-quad1): New dependency.
76565         ($(objpfx)tst-quad2): Likewise.
76566         ($(objpfx)tst-quad1pie): Likewise.
76567         ($(objpfx)tst-quad2pie): Likewise.
76568         * sysdeps/x86_64/tst-quad1.c: New file.
76569         * sysdeps/x86_64/tst-quad1pie.c: New file.
76570         * sysdeps/x86_64/tst-quad2.c: Likewise.
76571         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76572         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76573         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76574         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76575         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76577 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76579         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76580         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76581         * streams/stropts.h (t_scalar_t): Define type.
76583         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76584         (_PATH_PRESERVE): Set to "/var/lib".
76585         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76587         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76588         instead of int.
76590         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76591         if __dir_mkfile succeeded.
76593         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76594         checking for _hurd_dtablesize.  Unlock it right after having
76595         finished _hurd_dtable allocation.
76597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76599         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76600         * sysdeps/mach/hurd/configure: Regenerated.
76601         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76602         special-casing to...
76603         * sysdeps/gnu/configure.in: ... this new file.
76604         * sysdeps/unix/sysv/linux/configure: Regenerated.
76605         * sysdeps/gnu/configure: New generated file.
76607         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76608         for Linux: use nsec instead of usec, as well as:
76609         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76610         members of type struct timespec.
76611         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76612         New macros.
76613         (struct stat64): Likewise.
76614         (_STATBUF_ST_NSEC): New macro.
76615         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76617         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76618         __strtoul_internal rather than strtoul.
76620 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76622         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76623         and reject them.
76625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76627         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76628         which preserves existing values.
76629         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76631 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76633         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76634         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76635         greater than FD_SETSIZE.
76637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76639         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76640         allocated, call __vm_protect to finish enabling the existing space, and
76641         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76642         allocate the remainder.
76644 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76646         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76647         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76651         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76652         sysdeps/mach/hurd/readlink.c.
76654         * posix/tst-sysconf.c (posix_options): Only use
76655         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76656         _POSIX_SYNCHRONIZED_IO when they are defined
76657         * sysdeps/mach/hurd/bits/posix_opt.h:
76658         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76659         (_XOPEN_REALTIME): Undefine macro.
76660         (_XOPEN_REALTIME_THREADS): Undefine macro.
76661         (_XOPEN_SHM): Undefine macro.
76662         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76663         macro to -1.
76664         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76665         macro to -1.
76666         (_POSIX_ASYNC_IO): Undefine macro.
76667         (_POSIX_PRIORITIZED_IO): Undefine macro.
76668         (_POSIX_SPIN_LOCKS): Define macro to -1.
76670         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76671         SA_NODEFER, SA_RESETHAND.
76672         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76673         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76674         F_DUPFD_CLOEXEC.
76676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76678         * elf/Makefile (pldd-modules): Define unconditionally.
76680 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76682         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76686         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76687         Return ENOENT when name is empty.
76688         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76690 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76692         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76694         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76698         Fix mlock in all cases except non-readable pages.
76699         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76700         instead of VM_PROT_ALL as parameter to __vm_wire function.
76702         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76703         (__mkdir): When path is `/', just fail with EEXIST.
76704         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76706 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76708         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76709         <sys/uio.h> (for writev).
76710         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76711         and <sys/param.h> (for MIN).
76713 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76715         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76716         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76717         if interrupted.
76719 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76721         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76722         Depend on against $(link-rpcuserlibs).
76724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76726         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76727         (__libc_stack_end): Do not use attribute_relro.
76728         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76729         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76730         to libthread-provided value.
76731         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76732         attribute_relro.
76734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76736         [BZ #3748]
76737         * bits/libc-lock.h (__libc_once_get): New macro.
76738         * sysdeps/mach/bits/libc-lock.h: Likewise.
76739         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76740         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76741         instead of using implementation details.
76743         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76744         * libio/freopen.c: Likewise.
76745         * libio/freopen64.c: Likewise.
76746         * misc/syslog.c: Likewise.
76747         * nscd/connections.c: Likewise.
76748         * nscd/netgroupcache.c: Likewise.
76749         * sysdeps/posix/getcwd.c: Likewise.
76751 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76753         * math/w_ilogbf.c: Add #include <limits.h>.
76755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76757         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76758         path instead of returning without unlocking.
76760         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76761         immediate-write ioctls.
76762         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76764 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76766         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76767         __builtin_frame_address instead of making assumptions about the
76768         location of the return address relative to DATA.  Force early load of
76769         the return address.
76770         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76771         __builtin_frame_address.
76773         dup3 for GNU Hurd.
76774         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76775         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76776         implement dup3 and do some further code clean-ups.
76777         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76778         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76780 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76782         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76784         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76785         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76786         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76787         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76788         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76789         d->port.lock.
76791         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76792         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76793         when handler == SIG_ERR, not when handler != SIG_ERR.
76795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76797         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76798         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76799         definitions.
76801         accept4 for GNU Hurd.
76802         * include/sys/socket.h (__libc_accept4): New prototype.
76803         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76804         to implement __libc_accept4.
76805         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76806         __libc_accept4.
76807         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76809         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76810         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76811         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76812         signal-defines.sym.
76814 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76816         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76820         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76821         assertion on O_CLOEXEC flag.
76822         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76823         * hurd/intern-fd.c: Likewise.
76824         * hurd/port2fd.c: Likewise.
76826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76828         [BZ #3906]
76829         * bits/in.h (IPV6_PKTINFO): Define new macro.
76830         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76832 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76834         [BZ #13954]
76835         [BZ #13955]
76836         [BZ #13956]
76837         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76838         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76839         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76840         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76842         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76843         * math/libm-test.inc (logb_test) : Additional logb tests.
76845 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76846             Andreas Jaeger  <aj@suse.de>
76848         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76849         * configure: Regenerated.
76850         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76851         * config.make.in (link-obsolete-rpc): New substituted variable.
76852         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76853         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76854         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76855         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76856         so that libc.a contains the symbols.
76857         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76858         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76859         * sunrpc/auth_none.c: Likewise.
76860         * sunrpc/auth_unix.c: Likewise.
76861         * sunrpc/authdes_prot.c: Likewise.
76862         * sunrpc/authuxprot.c: Likewise.
76863         * sunrpc/clnt_gen.c: Likewise.
76864         * sunrpc/clnt_perr.c: Likewise.
76865         * sunrpc/clnt_raw.c: Likewise.
76866         * sunrpc/clnt_simp.c: Likewise.
76867         * sunrpc/clnt_tcp.c: Likewise.
76868         * sunrpc/clnt_udp.c: Likewise.
76869         * sunrpc/clnt_unix.c: Likewise.
76870         * sunrpc/des_crypt.c: Likewise.
76871         * sunrpc/des_soft.c: Likewise.
76872         * sunrpc/get_myaddr.c: Likewise.
76873         * sunrpc/key_call.c: Likewise.
76874         * sunrpc/key_prot.c: Likewise.
76875         * sunrpc/netname.c: Likewise.
76876         * sunrpc/pm_getmaps.c: Likewise.
76877         * sunrpc/pm_getport.c: Likewise.
76878         * sunrpc/pmap_clnt.c: Likewise.
76879         * sunrpc/pmap_prot.c: Likewise.
76880         * sunrpc/pmap_prot2.c: Likewise.
76881         * sunrpc/pmap_rmt.c: Likewise.
76882         * sunrpc/publickey.c: Likewise.
76883         * sunrpc/rpc_cmsg.c: Likewise.
76884         * sunrpc/rpc_common.c: Likewise.
76885         * sunrpc/rpc_dtable.c: Likewise.
76886         * sunrpc/rpc_prot.c: Likewise.
76887         * sunrpc/rpc_thread.c: Likewise.
76888         * sunrpc/rtime.c: Likewise.
76889         * sunrpc/svc.c: Likewise.
76890         * sunrpc/svc_auth.c: Likewise.
76891         * sunrpc/svc_raw.c: Likewise.
76892         * sunrpc/svc_run.c: Likewise.
76893         * sunrpc/svc_tcp.c: Likewise.
76894         * sunrpc/svc_udp.c: Likewise.
76895         * sunrpc/svc_unix.c: Likewise.
76896         * sunrpc/svcauth_des.c: Likewise.
76897         * sunrpc/xcrypt.c: Likewise.
76898         * sunrpc/xdr.c: Likewise.
76899         * sunrpc/xdr_array.c: Likewise.
76900         * sunrpc/xdr_float.c: Likewise.
76901         * sunrpc/xdr_intXX_t.c: Likewise.
76902         * sunrpc/xdr_mem.c: Likewise.
76903         * sunrpc/xdr_rec.c: Likewise.
76904         * sunrpc/xdr_ref.c: Likewise.
76905         * sunrpc/xdr_sizeof.c: Likewise.
76906         * sunrpc/xdr_stdio.c: Likewise.
76908 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76911         change.  Update copyright years.
76913 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76915         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76917 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76918             Joseph Myers  <joseph@codesourcery.com>
76919             Paul Pluzhnikov  <ppluzhnikov@google.com>
76921         [BZ #14012]
76922         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76923         requiring rpcgen.
76924         [cross-compiling] (extra-libs): Likewise.
76925         [cross-compiling] (extra-libs-others): Likewise.
76926         [cross-compiling] (librpcsvc-routines): Likewise.
76927         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76928         [cross-compiling] (omit-deps): Likewise.
76929         (sunrpc-CPPFLAGS): New variable.
76930         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76931         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76932         (cross-rpcgen-objs): New variable.
76933         (extra-objs): Append $(cross-rpcgen-objs).
76934         ($(cross-rpcgen-objs)): New rule.
76935         ($(objpfx)cross-rpcgen): Likewise.
76936         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76937         comment.
76938         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76939         ($(objpfx)x%.stmp): Likewise.
76940         * sunrpc/proto.h [IS_IN_build] (_): Define.
76941         [IS_IN_build] (_libc_intl_domainname): Likewise.
76943 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76945         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76946         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76947         and R_X86_64_TPOFF64.
76949 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76951         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76952         sysdeps/unix/sysv/syscalls.list.
76953         (stime): Likewise.
76954         (utime): Likewise.
76955         * sysdeps/unix/sysv/syscalls.list: Remove file.
76957 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76959         [BZ #3440]
76960         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76961         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76962         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76963         (__LC_IDENTIFICATION): Make these macros useful in #if
76964         expressions, as required by C99.
76966 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76968         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76969         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76970         after this.
76972 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76974         * stdlib/longlong.h: Updated from GCC.
76976 2012-05-09  Andreas Jaeger  <aj@suse.de>
76978         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76979         default is first entry.
76980         (run_mode): Set type.
76981         (main): Remove informal message about syslog.
76982         (options): Fix typo.
76984         [BZ #14053]
76985         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76986         to asm.
76987         (lrint): Likewise.
76988         (llrintf): Likewise.
76989         (llrint): Likewise.
76990         (rint): Likewise.
76991         (rintf): Likewise.
76992         (nearbyint): Likewise.
76993         (nearbyintf): Likewise.
76995 2012-05-09  Andreas Jaeger  <aj@suse.de>
76996             Pedro Alves  <palves@redhat.com>
76998         * nscd/nscd.c (run_mode): Use enum.
76999         (main): Cleanup coding style issue.
77001 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77002             Andreas Jaeger  <aj@suse.de>
77004         * nscd/nscd.c (go_background): Replaced with...
77005         (run_mode): ... this.
77006         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77007         (options): Add -F --foreground.
77008         (main): Implement it.
77009         (parse_opt): Parse it.
77011 2012-05-09  Andreas Jaeger  <aj@suse.de>
77013         [BZ #14083]
77014         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77015         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77016         -Wconversion warning.
77017         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77018         Likewise.
77020 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77022         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77023         == 0.
77024         (LC_ALL): Use macro-int-constant.
77025         (LC_COLLATE): Likewise.
77026         (LC_CTYPE): Likewise.
77027         (LC_MESSAGES): Likewise.
77028         (LC_MONETARY): Likewise.
77029         (LC_NUMERIC): Likewise.
77030         (LC_TIME): Likewise.
77031         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77032         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77033         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77034         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77035         Specify type.
77036         [C99-based standards] (float_t): Expect type.
77037         [C99-based standards] (double_t): Expect type.
77038         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77039         type.
77040         [C99-based standards] (HUGE_VALL): Likewise.
77041         [C99-based standards] (INFINITY): Likewise.
77042         [C99-based standards] (NAN): Likewise.
77043         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77044         [C99-based standards] (FP_NAN): Likewise.
77045         [C99-based standards] (FP_NORMAL): Likewise.
77046         [C99-based standards] (FP_SUBNORMAL): Likewise.
77047         [C99-based standards] (FP_ZERO): Likewise.
77048         [C99-based standards] (FP_FAST_FMA): Use
77049         optional-macro-int-constant.  Specify type.  Require == 1.
77050         [C99-based standards] (FP_FAST_FMAF): Likewise.
77051         [C99-based standards] (FP_FAST_FMAL): Likewise.
77052         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77053         [C99-based standards] (FP_ILOGBNAN): Likewise.
77054         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77055         Specify type.
77056         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77057         [C99-based standards] (math_errhandling): Specify type.
77058         [ISO99 || ISO11] (signgam): Do not allow.
77059         [non-C99-based standards] (copysignf): Do not allow.
77060         [non-C99-based standards] (exp2f): Likewise.
77061         [non-C99-based standards] (log2f): Likewise.
77062         [non-C99-based standards] (modff): Allow.
77063         [non-C99-based standards] (erff): Do not allow.
77064         [non-C99-based standards] (erfcf): Likewise.
77065         [non-C99-based standards] (gammaf): Likewise.
77066         [non-C99-based standards] (hypotf): Likewise.
77067         [non-C99-based standards] (j0f): Likewise.
77068         [non-C99-based standards] (j1f): Likewise.
77069         [non-C99-based standards] (jnf): Likewise.
77070         [non-C99-based standards] (lgammaf): Likewise.
77071         [non-C99-based standards] (tgammaf): Likewise.
77072         [non-C99-based standards] (y0f): Likewise.
77073         [non-C99-based standards] (y1f): Likewise.
77074         [non-C99-based standards] (ynf): Likewise.
77075         [non-C99-based standards] (isnanf): Likewise.
77076         [non-C99-based standards] (acoshf): Likewise.
77077         [non-C99-based standards] (asinhf): Likewise.
77078         [non-C99-based standards] (atanhf): Likewise.
77079         [non-C99-based standards] (cbrtf): Likewise.
77080         [non-C99-based standards] (expm1f): Likewise.
77081         [non-C99-based standards] (ilogbf): Likewise.
77082         [non-C99-based standards] (log1pf): Likewise.
77083         [non-C99-based standards] (logbf): Likewise.
77084         [non-C99-based standards] (nextafterf): Likewise.
77085         [non-C99-based standards] (remainderf): Likewise.
77086         [non-C99-based standards] (rintf): Likewise.
77087         [non-C99-based standards] (scalbf): Likewise.
77088         [non-C99-based standards] (copysignl): Likewise.
77089         [non-C99-based standards] (exp2l): Likewise.
77090         [non-C99-based standards] (log2l): Likewise.
77091         [non-C99-based standards] (modfl): Allow.
77092         [non-C99-based standards] (erfl): Do not allow.
77093         [non-C99-based standards] (erfcl): Likewise.
77094         [non-C99-based standards] (gammal): Likewise.
77095         [non-C99-based standards] (hypotl): Likewise.
77096         [non-C99-based standards] (j0l): Likewise.
77097         [non-C99-based standards] (j1l): Likewise.
77098         [non-C99-based standards] (jnl): Likewise.
77099         [non-C99-based standards] (lgammal): Likewise.
77100         [non-C99-based standards] (tgammal): Likewise.
77101         [non-C99-based standards] (y0l): Likewise.
77102         [non-C99-based standards] (y1l): Likewise.
77103         [non-C99-based standards] (ynl): Likewise.
77104         [non-C99-based standards] (isnanl): Likewise.
77105         [non-C99-based standards] (acoshl): Likewise.
77106         [non-C99-based standards] (asinhl): Likewise.
77107         [non-C99-based standards] (atanhl): Likewise.
77108         [non-C99-based standards] (cbrtl): Likewise.
77109         [non-C99-based standards] (expm1l): Likewise.
77110         [non-C99-based standards] (ilogbl): Likewise.
77111         [non-C99-based standards] (log1pl): Likewise.
77112         [non-C99-based standards] (logbl): Likewise.
77113         [non-C99-based standards] (nextafterl): Likewise.
77114         [non-C99-based standards] (remainderl): Likewise.
77115         [non-C99-based standards] (rintl): Likewise.
77116         [non-C99-based standards] (scalbl): Likewise.
77117         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77118         [non-C99-based standards] (FP_*): Do not allow.
77119         [C99-based standards] (FP_*): Change to
77120         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77121         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77122         allow.
77123         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77124         (SIG_ERR): Likewise.
77125         [X/Open-based standards] (SIG_HOLD): Likewise.
77126         (SIG_IGN): Likewise.
77127         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77128         positive value.
77129         (SIGFPE): Likewise.
77130         (SIGILL): Likewise.
77131         (SIGINT): Likewise.
77132         (SIGSEGV): Likewise.
77133         (SIGTER): Likewise.
77134         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77135         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77136         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77137         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77138         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77139         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77140         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77141         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77142         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77143         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77144         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77145         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77146         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77147         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77148         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77149         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77150         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77151         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77152         [X/Open-based standards] (SIGTRAP): Likewise.
77153         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77154         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77155         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77156         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77157         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77158         allow.
77160 2012-05-08  Ian Wienand  <ianw@vmware.com>
77162         [BZ #14080]
77163         * time/tzset.c (__tzset_parse_tz): Update default rules for
77164         daylight time changes in the Energy Policy Act of 2005.
77166 2012-05-09  Andreas Jaeger  <aj@suse.de>
77168         [BZ #13983]
77169         * elf/ldconfig.c (parse_conf): Change string to make clear that
77170         ldconfig only issued a warning if ld.so.conf does not exist.
77172 2012-05-08  David S. Miller  <davem@davemloft.net>
77174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77175         movxtod instead of popping the value on the stack.
77177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77179 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77181         * config.h.in: Add HAVE_ARM_PCS_VFP.
77183 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77185         [BZ #13979]
77186         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77187         checking but the checks are disabled for any reason.
77189 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77191         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77192         and ELF64_R_TYPE with ELFW(R_TYPE).
77194 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77196         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77197         (ulimit): Likewise.
77199         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77200         (settimeofday): Likewise.
77202 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77204         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77205         a struct th_u2 inside the union, and move tu_block/tu_code into
77206         a new th_u3 union of tu_block/tu_code inside of that.  Move
77207         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77208         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77209         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77210         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77211         (th_stuff): Change to th_u1.tu_stuff.
77212         (th_data): Define.
77213         (th_msg): Change to th_u1.th_u2.tu_data.
77215 2012-05-07  David S. Miller  <davem@davemloft.net>
77217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77219         [BZ #14074]
77220         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77221         (SETUP_PIC_REG): Use it.
77222         (SETUP_PIC_REG_LEAF): Use it.
77224 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77226         [BZ #13885]
77227         [BZ #13923]
77228         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77229         USE_AS_EXPM1L.
77230         (EXPL_FINITE): Likewise.
77231         (FLDLOG): Likewise.
77232         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77233         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77234         e_expl.S.
77235         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77236         USE_AS_EXPM1L.
77237         (EXPL_FINITE): Likewise.
77238         (FLDLOG): Likewise.
77239         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77240         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77241         e_expl.S.
77242         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77243         test of -max_value argument for long double.
77244         * sysdeps/i386/fpu/libm-test-ulps: Update.
77245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77247 2012-05-06  David S. Miller  <davem@davemloft.net>
77249         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77250         quad soft-float symbols whose references which are compiler
77251         generated.
77252         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77254 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77256         [BZ #13884]
77257         [BZ #13914]
77258         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77259         USE_AS_EXP10L.
77260         (EXPL_FINITE): Likewise.
77261         (FLDLOG): Likewise.
77262         (c0): Likewise.
77263         (c1): Likewise.
77264         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77265         Adjust comments for base varying.
77266         (__expl_finite): Change alias to EXPL_FINITE.
77267         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77268         e_expl.S.
77269         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77270         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77271         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77272         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77273         * sysdeps/x86_64/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         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77283         tests for bugs.
77284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77286         [BZ #14064]
77287         * math/libm-test.inc (check_float_internal): Correct ulp
77288         calculation for subnormal expected results.
77290 2012-05-06  Andreas Jaeger  <aj@suse.de>
77292         * Makeconfig (+math-flags): New, set to -frounding-math.
77293         (+cflags): Add +math-flags so that all of glibc gets compiled with
77294         it.
77296         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77298 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77300         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77301         Disable one test.
77303         [BZ #13787]
77304         [BZ #13922]
77305         [BZ #14036]
77306         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77307         (__ieee754_expl): Allow for and saturate large arguments.
77308         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77309         (u_threshold): Likewise.
77310         (__exp): Call __ieee754_exp before checking for overflow and
77311         underflow.
77312         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77313         (u_threshold): Likewise.
77314         (__expf): Call __ieee754_expf before checking for overflow and
77315         underflow.
77316         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77317         (u_threshold): Likewise.
77318         (__expl): Call __ieee754_expl before checking for overflow and
77319         underflow.
77320         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77321         (__ieee754_expl): Allow for and saturate large arguments.
77322         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77323         missing overflow exception on overflow.
77324         (expm1_test): Do not allow missing overflow exception on overflow.
77326         * sysdeps/i386/fpu/e_expl.c: Move to ...
77327         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77328         rather than using inline asm.
77329         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77330         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77331         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77333         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77334         (nice): Likewise.
77335         (poll): Likewise.
77336         (signal): Likewise.
77337         (time): Likewise.
77338         (times): Likewise.
77340 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77342         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77343         sysdeps/unix/common/syscalls.list.
77344         (fchmod): Likewise.
77345         (fchown): Likewise.
77346         (ftruncate): Likewise.
77347         (getrusage): Likewise.
77348         (gettimeofday): Likewise.
77349         (setpgid): Likewise.
77350         (setregid): Likewise.
77351         (setreuid): Likewise.
77352         (sigaction): Likewise.
77353         (truncate): Likewise.
77354         (vhangup): Likewise.
77355         * sysdeps/unix/common/syscalls.list: Remove file.
77356         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77357         * sysdeps/unix/sysv/linux/Implies: Likewise.
77359 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77361         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77363         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77364         Moved to ...
77365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77366         Here.
77367         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77368         to ...
77369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77370         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77371         to ...
77372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77373         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77374         to ...
77375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77376         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77377         to ...
77378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77379         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77380         to ...
77381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77382         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77383         to ...
77384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77385         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77386         to ...
77387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77388         Here.
77389         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77390         to ...
77391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77392         Here.
77393         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77394         to ...
77395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77396         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77397         Moved to ...
77398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77399         Here.
77400         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77401         to ...
77402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77404 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77406         * sysdeps/unix/common/bits/dirent.h: Remove file.
77407         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77409         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77410         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77411         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77412         * sysdeps/unix/bsd/isatty.c: Likewise.
77413         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77414         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77415         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77417 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77419         [BZ #13563]
77420         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77421         long double comparison inaccuracies.
77422         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77425 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77427         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77428         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77430 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77432         [BZ #14049]
77433         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77434         nonzero digits before rounding a hex value.
77435         * stdlib/tst-strtod.c (tests): Add another test.
77437 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77439         * sysdeps/s390/fpu/libm-test-ulps: Update.
77441 2012-05-03  Andreas Jaeger  <aj@suse.de>
77443         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77444         does not get optimized out.
77445         (malloc_opt_barrier): New.
77447 2012-05-03  Andreas Jaeger  <aj@suse.de>
77448             Roland McGrath  <roland@hack.frob.com>
77450         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77451         intermediate file deletion.
77452         (generated): Add .symlist files.
77454 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77456         [BZ #13775]
77457         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77458         Redirect under this condition.
77459         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77460         [__USE_GNU] (__dprintf_chk): Not under this condition.
77461         [__USE_GNU] (__vdprintf_chk): Likewise.
77462         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77463         under this condition.
77464         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77465         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77466         [__USE_XOPEN2K8] (vdprintf): Likewise.
77467         [__USE_GNU] (__dprintf_chk): Not under this condition.
77468         [__USE_GNU] (__vdprintf_chk): Likewise.
77469         [__USE_GNU] (dprintf): Likewise.
77470         [__USE_GNU] (vdprintf): Likewise.
77472 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77474         * elf/Makefile (common-generated): Set this instead of generated for
77475         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77476         $(all-built-dso)-derived lists.
77478 2012-05-03  Andreas Jaeger  <aj@suse.de>
77480         * sysdeps/i386/fpu/libm-test-ulps: Update.
77482         * FAQ: Removed.
77483         * FAQ.in: Likewise.
77484         * scripts/gen-FAQ.pl: Likewise.
77485         * manual/install.texi (Installation): Point to online location of
77486         FAQ.
77487         * Makefile (files-for-dist): Remove FAQ.
77488         (FAQ): Remove.
77490 2012-05-02  Allan McRae  <allan@archlinux.org>
77492         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77493         (LDFLAGS-reldepmod5.so): Likewise.
77494         (LDFLAGS-reldep6mod1.so): Likewise.
77495         (LDFLAGS-reldep6mod4.so): Likewise.
77496         (LDFLAGS-reldep8mod3.so): Likewise.
77497         (LDFLAGS-unload4mod1.so): Likewise.
77498         (LDFLAGS-unload4mod2.so): Likewise.
77499         (LDFLAGS-tst-initorder): Likewise.
77500         (LDFLAGS-tst-initordera2.so): Likewise.
77501         (LDFLAGS-tst-initordera3.so): Likewise.
77502         (LDFLAGS-tst-initordera4.so): Likewise.
77503         (LDFLAGS-tst-initorderb2.so): Likewise.
77504         (LDFLAGS-noload): Likewise.
77505         (LDFLAGS-next): Likewise.
77506         (LDFLAGS-order2mod1.so): Likewise.
77507         (LDFLAGS-order2mod2.so): Likewise.
77508         (LDFLAGS-tst-initorder2): Likewise.
77509         (LDFLAGS-tst-initorder2a.so): Likewise.
77510         (LDFLAGS-tst-initorder2b.so): Likewise.
77511         (LDFLAGS-tst-initorder2c.so): Likewise.
77512         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77514 2012-05-02  David S. Miller  <davem@davemloft.net>
77516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77518 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77520         [BZ #14055]
77521         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77523 2012-05-02  Andreas Jaeger  <aj@suse.de>
77525         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77526         since we manipulate rounding mode.
77527         (CPPFLAGS-test-idouble.c): Likewise.
77528         (CPPFLAGS-test-ifloat.c): Likewise.
77529         (CFLAGS-test-ldouble.c): Likewise.
77530         (CFLAGS-test-double.c): Likewise.
77531         (CFLAGS-test-float.c): Likewise.
77532         (CFLAGS-test-misc.c): Likewise.
77533         (CFLAGS-test-test-fenv.c): Likewise.
77535 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77537         [BZ #2550]
77538         [BZ #2570]
77539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77540         comparisons to determine direction to adjust input.
77542 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77544         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77545         output to the target.
77547         * scripts/localplt.awk: New file.
77548         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77549         (check-localplt-CFLAGS): Variable removed.
77550         ($(all-built-dso:=.jmprel)): New static pattern rule.
77551         (generated): Add those targets.
77552         (localplt-built-dso): New variable.
77553         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77555         * elf/check-localplt.c: File removed.
77557         * scripts/check-execstack.awk: New file.
77558         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77559         (check-execstack-CFLAGS): Variable removed.
77560         ($(objpfx)check-execstack.h): Target removed.
77561         ($(objpfx)execstack-default): New target.
77562         (generated): Add that instead of check-execstack.h.
77563         ($(all-built-dso:=.phdr)): New static pattern rule.
77564         (generated): Add those targets.
77565         * elf/check-execstack.c: File removed.
77567         * scripts/check-textrel.awk: New file.
77568         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77569         (check-textrel-CFLAGS): Variable removed.
77570         (all-built-dso): Use := to define.o
77571         ($(all-built-dso:=.dyn)): New static pattern rule.
77572         (generated): Add those targets.
77573         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77574         * config.make.in (READELF): New substituted variable.
77575         * elf/check-textrel.c: File removed.
77577 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77579         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77580         allow.
77581         * conform/data/ctype.h-data [C99-based standards] (isblank):
77582         Expect function.
77583         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77584         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77585         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77586         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77587         Specify type.  Require positive value.
77588         (EILSEQ): Likewise.
77589         (ERANGE): Likewise.
77590         [ISO || POSIX] (EILSEQ): Do not expect.
77591         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77592         Specify type.  Require positive value.
77593         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77594         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77595         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77596         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77597         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77598         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77599         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77600         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77601         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77602         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77603         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77604         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77605         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77606         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77607         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77608         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77609         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77610         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77611         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77612         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77613         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77614         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77615         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77616         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77617         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77618         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77619         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77620         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77621         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77622         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77623         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77624         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77625         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77626         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77627         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77628         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77629         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77630         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77631         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77632         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77633         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77634         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77635         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77636         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77637         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77638         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77639         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77640         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77641         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77642         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77643         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77644         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77645         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77646         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77647         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77648         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77649         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77650         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77651         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77652         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77653         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77654         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77655         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77656         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77657         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77658         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77659         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77660         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77661         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77662         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77663         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77664         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77665         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77666         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77667         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77668         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77669         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77670         Require >= 2.
77671         (FLT_ROUNDS): Expect as macro, not constant.
77672         (FLT_MANT_DIG): Use macro-int-constant.
77673         (DBL_MANT_DIG): Likewise.
77674         (LDBL_MANT_DIG): Likewise.
77675         (FLT_DIG): Likewise.
77676         (DBL_DIG): Likewise.
77677         (LDBL_DIG): Likewise.
77678         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77679         (DBL_MIN_EXP): Likewise.
77680         (LDBL_MIN_EXP): Likewise.
77681         (FLT_MAX_EXP): Use macro-int-constant.
77682         (DBL_MAX_EXP): Likewise.
77683         (LDBL_MAX_EXP): Likewise.
77684         (FLT_MAX_10_EXP): Likewise.
77685         (DBL_MAX_10_EXP): Likewise.
77686         (LDBL_MAX_10_EXP): Likewise.
77687         (FLT_MAX): Use macro-constant.
77688         (DBL_MAX): Likewise.
77689         (LDBL_MAX): Likewise.
77690         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77691         (DBL_EPSILON): Likewise.
77692         (LDBL_EPSILON): Likewise.
77693         (FLT_MIN): Likewise.
77694         (DBL_MIN): Likewise.
77695         (LDBL_MIN): Likewise.
77696         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77697         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77698         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77699         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77700         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77701         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77702         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77703         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77704         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77705         [ISO11] (FLT_TRUE_MIN): Likewise.
77706         [ISO11] (LDBL_TRUE_MIN): Likewise.
77707         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77708         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77709         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77710         (SCHAR_MAX): Likewise.
77711         (UCHAR_MAX): Likewise.
77712         (CHAR_MIN): Likewise.
77713         (CHAR_MAX): Likewise.
77714         (MB_LEN_MAX): Use macro-int-constant.
77715         (SHRT_MIN): Use macro-int-constant.  Specify type.
77716         (SHRT_MAX): Likewise.
77717         (USHRT_MAX): Likewise.
77718         (INT_MAX): Likewise.
77719         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77720         bound negative.
77721         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77722         bound with "U".
77723         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77724         bound with "L".
77725         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77726         bound negative.  Suffix upper bound with "L".
77727         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77728         bound with "UL".
77729         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77730         Specify type.
77731         [C99-based standards] (LLONG_MAX): Likewise.
77732         [C99-based standards] (ULLONG_MAX): Likewise.
77733         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77734         == 0.
77735         [ISO11] (max_align_t): Require type.
77736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77738         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77739         from $CFLAGS, without defining away __attribute__ calls.
77740         (checknamespace): Use $CFLAGS_namespace.
77742         * conform/conformtest.pl (@keywords): Only include C99 keywords
77743         for standards based on C99 or C11.
77745         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77746         Disable tests.
77747         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77748         UNIX98]: Likewise.
77750         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77751         usability of symbols in #if.
77753         * conform/conformtest.pl: If macro or constant types start
77754         "promoted:", expect the symbol to be of the following type
77755         promoted by the integer promotions.
77757         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77758         in one place.  Also handle "macro-constant".
77760         * conform/conformtest.pl: Only accept expected macro values with
77761         "==".  Parse all "macro" lines in one place.
77762         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77764         * conform/conformtest.pl: Handle braced types on "constant" lines
77765         instead of handling "typed-constant".
77766         * conform/data/signal.h-data: Use "constant" instead of
77767         "typed-constant".
77769         * conform/conformtest.pl: Handle "optional-" at start of lines in
77770         one place rather than duplicating several cases.  Handle each
77771         format of "macro" line with initial "optional-".
77773         * conform/conformtest.pl: Only accept expected constant or
77774         optional-constant values with "==".  Parse all "constant" lines in
77775         one place.  Parse all "optional-constant" lines in one place.
77776         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77777         * conform/data/fmtmsg.h-data: Likewise.
77778         * conform/data/netinet/in.h-data: Likewise.
77779         * conform/data/tar.h-data: Likewise.
77780         * conform/data/limits.h-data: Use "==" form on "constant" and
77781         "optional-constant" lines.
77783         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77784         Use -std=c99 for XOPEN2K.
77785         (@knownproblems): Remove.
77786         (newtoken): Don't check %isknown.
77788         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77789         Do not expect macro.
77790         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77791         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77792         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77793         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77794         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77795         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77796         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77797         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77798         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77799         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77800         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77801         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77802         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77803         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77804         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77805         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77806         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77807         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77808         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77809         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77810         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77811         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77812         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77813         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77814         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77815         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77816         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77817         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77818         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77819         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77820         [XPG3] (acosh): Likewise.
77821         [XPG3] (asinh): Likewise.
77822         [XPG3] (atanh): Likewise.
77823         [XPG3] (cbrt): Likewise.
77824         [XPG3] (expm1): Likewise.
77825         [XPG3] (ilogb): Likewise.
77826         [XPG3] (log1p): Likewise.
77827         [XPG3] (logb): Likewise.
77828         [XPG3] (nextafter): Likewise.
77829         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77830         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77831         [XPG3] (remainder): Likewise.
77832         [XPG3] (rint): Likewise.
77833         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77834         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77835         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77836         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77837         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77838         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77839         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77840         [UNIX98 || XOPEN2K] (scalb): Expect.
77841         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77842         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77843         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77844         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77845         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77846         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77847         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77848         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77849         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77850         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77851         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77852         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77853         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77854         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77855         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77856         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77857         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77858         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77859         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77860         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77861         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77862         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77863         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77864         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77865         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77866         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77867         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77868         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77869         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77870         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77871         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77872         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77873         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77874         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77875         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77876         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77877         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77878         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77879         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77880         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77881         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77882         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77883         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77884         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77885         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77886         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77887         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77888         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77889         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77890         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77891         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77892         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77893         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77894         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77895         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77896         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77897         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77898         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77899         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77900         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77901         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77902         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77903         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77904         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77905         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77906         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77907         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77908         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77909         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77910         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77911         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77912         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77913         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77914         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77915         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77916         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77917         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77918         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77919         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77920         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77921         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77922         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77923         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77924         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77925         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77926         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77927         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77928         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77929         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77930         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77931         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77932         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77933         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77934         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77935         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77936         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77937         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77938         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77939         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77940         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77941         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77942         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77943         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77944         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77945         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77946         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77947         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77948         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77949         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77950         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77951         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77952         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77953         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77954         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77955         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77956         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77957         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77958         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77959         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77960         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77961         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77962         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77963         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77964         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77965         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77966         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77967         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77968         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77969         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77970         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77971         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77972         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77973         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77974         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77975         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77976         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77977         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77979         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77980         _XOPEN_SOURCE_EXTENDED for XPG4.
77982         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77984         * Makeconfig (localtime): Remove variable.
77985         (inst_localtime-file): Likewise.
77987 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77990         Update.
77991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77992         Update.
77993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77994         Update.
77995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77996         Update.
77997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77998         Update.
77999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78000         Update.
78001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78002         Update.
78003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78004         Update.
78005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78006         Update.
78008 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78010         [BZ #2550]
78011         [BZ #2570]
78012         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78013         comparisons to determine direction to adjust input.
78014         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78015         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78016         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78017         Likewise.
78018         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78019         Likewise.
78020         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78021         Likewise.
78022         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78023         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78024         Likewise.
78025         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78026         Likewise.
78027         * math/libm-test.inc (nexttoward_test): Add more tests.
78029 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78031         [BZ #14040]
78032         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78033         in version GLIBC_2.1, not GLIBC_2.0.
78034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78035         Likewise.
78037 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78039         [BZ #13942]
78040         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78041         (1 - x) * (1 + x).
78042         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78043         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78044         * math/libm-test.inc (acos_test): Add more tests.
78045         (asin_test): Likewise.
78046         * sysdeps/i386/fpu/libm-test-ulps: Update.
78047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78049         [BZ #14034]
78050         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78051         of square root.
78052         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78053         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78054         * math/libm-test.inc (acos_test_tonearest): New function.
78055         (acos_test_towardzero): Likewise.
78056         (acos_test_downward): Likewise.
78057         (acos_test_upward): Likewise.
78058         (asin_test_tonearest): Likewise.
78059         (asin_test_towardzero): Likewise.
78060         (asin_test_downward): Likewise.
78061         (asin_test_upward): Likewise.
78062         (main): Call the new functions.
78063         * sysdeps/i386/fpu/libm-test-ulps: Update.
78064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78066         [BZ #13884]
78067         [BZ #13924]
78068         * math/e_exp10.c: Include <float.h>.
78069         (__ieee754_exp10): Handle underflow here rather than multiplying
78070         large negative argument by M_LN10.
78071         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78072         of __ieee754_expf.
78073         * math/e_exp10l.c: Include <float.h>.
78074         (__ieee754_exp10l): Handle underflow here rather than multiplying
78075         large negative argument by M_LN10l.
78076         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78077         spurious overflow exception on underflow.
78079 2012-04-29  Marek Polacek  <polacek@redhat.com>
78081         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78082         (__fortify_function): New macro.
78083         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78084         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78085         __extern_always_inline.
78086         * libio/bits/stdio2.h: Likewise.
78087         * libio/bits/stdio.h: Likewise.
78088         * string/string.h: Likewise.
78089         * string/bits/string3.h: Likewise.
78090         * include/stdio.h: Likewise.
78091         * stdlib/bits/stdlib.h: Likewise.
78092         * stdlib/stdlib.h: Likewise.
78093         * rt/bits/mqueue2.h: Likewise.
78094         * rt/mqueue.h: Likewise.
78095         * posix/bits/unistd.h: Likewise.
78096         * posix/unistd.h: Likewise.
78097         * io/bits/poll2.h: Likewise.
78098         * io/bits/fcntl2.h: Likewise.
78099         * io/fcntl.h: Likewise.
78100         * io/sys/poll.h: Likewise.
78101         * misc/bits/syslog.h: Likewise.
78102         * misc/bits/syslog-ldbl.h: Likewise.
78103         * misc/sys/syslog.h: Likewise.
78104         * socket/bits/socket2.h: Likewise.
78105         * socket/sys/socket.h: Likewise.
78106         * debug/tst-chk1.c: Likewise.
78107         * wcsmbs/bits/wchar2.h: Likewise.
78108         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78109         * wcsmbs/wchar.h: Likewise.
78111 2012-04-29  Andreas Jaeger  <aj@suse.de>
78113         * Makerules (tests): Remove enable-check-abi protection.
78114         (check-abi-warn): Remove.
78115         (check-abi-%): Remove check-abi-warn usage.
78117         * configure.in: Remove check-abi configure option.
78118         * configure: Regenerated.
78119         * config.make.in (enable-check-abi): Remove.
78121 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78123         [BZ #14033]
78124         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78125         double functions to double *_finite functions.
78127         [BZ #13941]
78128         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78129         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78130         LDBL_MIN_EXP.
78131         * stdio-common/Makefile (tests): Add tst-sprintf3.
78132         * stdio-common/tst-sprintf3.c: New file.
78134         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78135         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78137 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78139         * conform/conformtest.pl: Remove duplicate typed-constant
78140         handling.
78142 2012-04-28  David S. Miller  <davem@davemloft.net>
78144         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78145         (check-abi-%): Remove AWK script prerequisite and explicit
78146         abilist directory.
78147         (check-abi): Rewrite to just diff the symlist with the abilist.
78148         (config-tls, config-abi-config): Delete, no longer used.
78149         (update-abi-%): Remove AWK script and explicit abilist directory.
78150         (update-abi): Rewrite to simply compare and conditionally copy the
78151         symlist and the sysdep abilist file.  Remove update-abi-config
78152         checks.
78153         * abilist/ld.abilist: Remove.
78154         * abilist/libBrokenLocale.abilist: Remove.
78155         * abilist/libanl.abilist: Remove.
78156         * abilist/libcrypt.abilist: Remove.
78157         * abilist/libdl.abilist: Remove.
78158         * abilist/librt.abilist: Remove.
78159         * abilist/libthread_db.abilist: Remove.
78160         * abilist/libutil.abilist: Remove.
78161         * scripts/extract-abilist.awk: Remove.
78162         * scripts/merge-abilist.awk: Remove.
78163         * sysdeps/generic/libcidn.abilist: New file.
78164         * sysdeps/generic/libnss_compat.abilist: New file.
78165         * sysdeps/generic/libnss_db.abilist: New file.
78166         * sysdeps/generic/libnss_dns.abilist: New file.
78167         * sysdeps/generic/libnss_files.abilist: New file.
78168         * sysdeps/generic/libnss_hesiod.abilist: New file.
78169         * sysdeps/generic/libnss_nis.abilist: New file.
78170         * sysdeps/generic/libnss_nisplus.abilist: New file.
78171         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78172         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78173         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78174         file.
78175         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78176         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78177         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78178         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78179         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78180         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78181         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78182         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78183         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78184         file.
78185         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78186         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78187         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78188         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78189         file.
78190         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78191         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78192         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78193         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78194         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78195         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78196         file.
78197         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78198         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78199         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78200         file.
78201         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78202         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78203         New file.
78204         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78205         New file.
78206         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78207         New file.
78208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78209         New file.
78210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78211         New file.
78212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78213         New file.
78214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78215         New file.
78216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78217         New file.
78218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78219         New file.
78220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78221         New file.
78222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78223         New file.
78224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78225         New file.
78226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78227         New file.
78228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78229         file.
78230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78231         New file.
78232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78233         New file.
78234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78235         file.
78236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78237         New file.
78238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78239         New file.
78240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78241         file.
78242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78243         New file.
78244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78245         New file.
78246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78247         New file.
78248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78249         New file.
78250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78251         New file.
78252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78253         New file.
78254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78256         file.
78257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78258         New file.
78259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78260         file.
78261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78262         file.
78263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78264         file.
78265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78266         file.
78267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78268         file.
78269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78270         New file.
78271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78272         file.
78273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78274         file.
78275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78276         New file.
78277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78278         file.
78279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78281         file.
78282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78283         New file.
78284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78285         file.
78286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78287         file.
78288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78289         file.
78290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78291         file.
78292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78293         file.
78294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78295         New file.
78296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78297         file.
78298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78299         file.
78300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78301         New file.
78302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78303         file.
78304         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78305         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78306         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78307         file.
78308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78309         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78310         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78311         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78312         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78313         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78314         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78315         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78316         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78317         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78320         file.
78321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78322         New file.
78323         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78324         file.
78325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78326         file.
78327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78328         file.
78329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78330         file.
78331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78332         file.
78333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78334         New file.
78335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78336         New file.
78337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78338         file.
78339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78340         New file.
78341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78342         file.
78343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78344         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78345         file.
78346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78347         New file.
78348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78349         file.
78350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78351         file.
78352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78353         file.
78354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78355         file.
78356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78357         file.
78358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78359         New file.
78360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78361         New file.
78362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78363         file.
78364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78365         New file.
78366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78367         file.
78369 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78371         * conform/conformtest.pl: Fix typo in handling typed-constant from
78372         allow-header.
78374 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78376         * README: Cut down references to pre-2.6 Linux kernels and
78377         Linuxthreads.  Update lists of configurations in libc and ports
78378         and sort alphabetically.  Say "or newer" with Linux kernel version
78379         requirements.
78381         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78383 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78385         [BZ #887]
78386         * math/libm-test.inc (logb_test_downward): New test to expose
78387         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78388         rounding mode.
78390 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78392         [BZ #14027]
78393         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78394         to be done.
78395         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78396         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78398 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78400         * sysdeps/unix/i386/brk.S: Remove file.
78401         * sysdeps/unix/i386/dl-brk.S: Likewise.
78402         * sysdeps/unix/i386/pipe.S: Likewise.
78403         * sysdeps/unix/i386/sigreturn.S: Likewise.
78404         * sysdeps/unix/i386/syscall.S: Likewise.
78405         * sysdeps/unix/i386/vfork.S: Likewise.
78406         * sysdeps/unix/i386/wait.S: Likewise.
78408         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78409         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78411         * configure.in (arm*-none*): Do not allow without
78412         --enable-hacker-mode.
78413         (netbsd*): Remove case setting base_os.
78414         (386bsd*): Likewise.
78415         (freebsd*): Likewise.
78416         (bsdi*): Likewise.
78417         (osf*): Likewise.
78418         (sunos*): Likewise.
78419         (ultrix*): Likewise.
78420         (newsos*): Likewise.
78421         (dynix*): Likewise.
78422         (*bsd*): Likewise.
78423         (sysv*): Likewise.
78424         (isc*): Likewise.
78425         (esix*): Likewise.
78426         (sco*): Likewise.
78427         (minix*): Likewise.
78428         (irix4*): Likewise.
78429         (irix6*): Likewise.
78430         (solaris[2-9]*): Likewise.
78431         (none): Likewise.
78432         * configure: Regenerated.
78434 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78436         [BZ #11521]
78437         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78438         overflow or cancellation in calculating denominator.
78439         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78440         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78441         down expression to avoid unexpected rounding in newer GCCs.
78442         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78444 2012-04-26  David S. Miller  <davem@davemloft.net>
78446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78447         long-double compat symbols.
78448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78462 2012-04-25  David S. Miller  <davem@davemloft.net>
78464         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78465         HWCAP_* values only after the memory barriers have been defined.
78466         (atomic_full_barrier): Define.
78467         (atomic_read_barrier): Define.
78468         (atomic_write_barrier): Define.
78470 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78472         * shlib-versions: Add libgcc_s version information.
78473         * sysdeps/generic/libgcc_s.h: Remove.
78474         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78475         libgcc_s.h.
78476         * sysdeps/gnu/unwind-resume.c: Likewise.
78477         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78479 2012-04-25  David S. Miller  <davem@davemloft.net>
78481         * sysdeps/unix/sparc/brk.S: Delete.
78482         * sysdeps/unix/sparc/dl-brk.S: Delete.
78483         * sysdeps/unix/sparc/pipe.S: Delete.
78484         * sysdeps/unix/sparc/sysdep.S: Delete.
78485         * sysdeps/unix/sparc/sysdep.h: Delete.
78486         * sysdeps/unix/sparc/vfork.S: Delete.
78487         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78488         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78489         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78490         (ret_ERRVAL, r0, r1, MOVE): Define.
78491         (JUMPTARGET): Remove.
78492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78493         sysdeps/unix/sparc/sysdep.h
78494         (ENTRY, END): Remove.
78495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78497 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78499         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78500         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78501         -DIS_IN_build.
78503         * timezone/README: Update upstream location and email address for
78504         tzcode and tzdata.
78505         * timezone/zdump.c: Update from tzcode 2012b.
78506         * timezone/zic.c: Likewise.
78508         * configure.in (libc_cv_as_needed): Remove test.
78509         * configure: Regenerated.
78510         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78511         conditional definition.
78512         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78513         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78514         * config.make.in (have-as-needed): Remove variable.
78516 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78517             Paul Pluzhnikov  <ppluzhnikov@google.com>
78519         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78520         strings correctly.
78522 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78524         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78525         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78526         * sysdeps/sh/strlen.S: Likewise.
78528 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78530         * sysdeps/unix/fork.S: Remove file.
78531         * sysdeps/unix/i386/fork.S: Likewise.
78532         * sysdeps/unix/sparc/fork.S: Likewise.
78534         * sysdeps/unix/system.c: Remove file.
78535         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78537         * sysdeps/unix/getegid.S: Remove file.
78538         * sysdeps/unix/geteuid.S: Likewise.
78540 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78542         * scripts/check-localplt.awk: New file.
78543         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78544         of diff.
78545         * scripts/data/localplt-generic.data: Add a comment.
78547         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78548         NODE when __dir_mkfile failed.
78549         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78550         Reported by Ludovic Courtès <ludo@gnu.org>.
78552 2012-04-24  Andreas Jaeger  <aj@suse.de>
78554         * Makerules (common-clean): Also remove gen-as-const-headers
78555         files.
78557 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78559         * Makerules (native-compile): Do not change working directory for
78560         build.  Use $(OUTPUT_OPTION) in command.
78561         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78563 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78565         [BZ #13886]
78566         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78567         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78568         * math/libm-test.inc (floor_test): Add more tests.
78569         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78571 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78573         * sysdeps/unix/getdents.c: Remove file.
78574         * sysdeps/unix/sysv/getdents.c: Likewise.
78575         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78577         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78578         sysdeps/unix/mman/syscalls.list.
78579         (mmap): Likewise.
78580         (mprotect): Likewise.
78581         (msync): Likewise.
78582         (munmap): Likewise.
78583         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78584         * sysdeps/unix/mman/syscalls.list: Remove.
78585         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78587         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78588         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78589         * configure: Regenerated.
78590         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78591         $(libgcc_s_suffix).
78592         * config.make.in (libgcc_s_suffix): Remove variable.
78594 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78596         * sysdeps/unix/sysv/gethostname.c: Move to ...
78597         * sysdeps/posix/gethostname.c: ... here.
78599         * sysdeps/unix/execve.S: Remove file.
78601         * sysdeps/unix/_exit.S: Remove file.
78603 2012-04-23  Andreas Jaeger  <aj@suse.de>
78605         [BZ #13739]
78606         * manual/Makefile: Remove make dist support, there's no
78607         need for a stand-alone documentation tar ball.
78608         (TEXI2DVI): Define always, it's not in Makeconfig.
78609         (dist): Removed.
78610         (tar-it): Removed.
78611         (edition): Removed.
78612         (glibc-doc-$(edition).tar): Removed
78613         (%.Z): Removed.
78614         (%.gz): Removed.
78615         (%.uu): Removed.
78616         (ETAGS): Remove, it's in Makeconfig.
78617         (move-if-change): Remove, it's in Makeconfig.
78619 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78621         [BZ #13970]
78622         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78623         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78624         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78625         (strtod_l, strtof_l, strtold_l): Remove __wur.
78626         It is not necessarily an error to ignore strtol's return value.
78627         One can reliably look at the stored endptr to decide whether
78628         the number had valid syntax.
78630 2012-04-21  Andreas Jaeger  <aj@suse.de>
78632         [BZ #13739]
78633         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78635 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78637         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78638         * sysdeps/unix/sysv/Versions: Remove file.
78640 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78642         [BZ #13927]
78643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78645 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78647         [BZ #7064]
78648         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78649         version from __vm86.
78651 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78653         * sysdeps/unix/common/lxstat.c: Remove file.
78654         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78656         * sysdeps/unix/sysv/Makefile: Remove file.
78658         * sysdeps/unix/sysv/direct.h: Remove file.
78660         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78661         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78662         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78663         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78664         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78665         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78666         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78668         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78670         * sysdeps/unix/xmknod.c: Remove file.
78671         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78673         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78675         * sysdeps/unix/sysv/i386/time.S: Remove file.
78677         * sysdeps/unix/fxstat.c: Remove file.
78678         * sysdeps/unix/xstat.c: Likewise.
78679         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78681         * sysdeps/unix/sysv/sigaction.c: Remove file.
78683         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78684         (sysdep_headers): Remove variable.
78685         [termio.h not in sysdep_headers] (generated): Likewise.
78686         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78687         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78688         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78689         * sysdeps/unix/sysv/tcflow.c: Likewise.
78690         * sysdeps/unix/sysv/tcflush.c: Likewise.
78691         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78692         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78693         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78694         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78695         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78697         * sysdeps/unix/siglist.c: Remove file.
78699         * sysdeps/unix/getppid.S: Remove file.
78701         * sysdeps/unix/mkdir.c: Remove file.
78702         * sysdeps/unix/rmdir.c: Likewise.
78704 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78706         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78707         ERR_MAX value.
78708         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78709         errlist-compat value.
78711 2012-04-18  David S. Miller  <davem@davemloft.net>
78713         * sysdeps/generic/memcopy.h (reg_char): Delete.
78714         * debug/strcat_chk.c: Use char, not reg_char.
78715         * debug/strcpy_chk.c: Likewise.
78716         * debug/strncat_chk.c: Likewise.
78717         * debug/strncpy_chk.c: Likewise.
78718         * string/memchr.c: Likewise.
78719         * string/memrchr.c: Likewise.
78720         * string/rawmemchr.c: Likewise.
78721         * string/strcat.c: Likewise.
78722         * string/strchr.c: Likewise.
78723         * string/strchrnul.c: Likewise.
78724         * string/strcmp.c: Likewise.
78725         * string/strcpy.c: Likewise.
78726         * string/strncat.c: Likewise.
78727         * string/strncmp.c: Likewise.
78728         * string/strncpy.c: Likewise.
78730 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78732         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78733         __builtin_memcopy is called when src and dest ranges are known to not
78734         overlap.
78736 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78738         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78739         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78740         fwd_align_merge macro call.
78741         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78742         bwd_align_merge macro call.
78743         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78745 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78747         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78748         bwd_align_merge macros.
78749         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78750         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78751         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78753 2012-04-18  David S. Miller  <davem@davemloft.net>
78755         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78757 2012-04-18  Andreas Jaeger  <aj@suse.de>
78759         [BZ #6794]
78760         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78761         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78762         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78764         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78765         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78766         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78768         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78769         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78770         Adjust for changed ldbl-128 files.
78772         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78773         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78774         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78776 2012-04-17  David S. Miller  <davem@davemloft.net>
78778         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78780 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78782         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78783         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78784         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78785         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78786         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78787         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78789 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78791         [BZ #6794]
78792         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78793         * math/libm-test.inc: Add ilogb errno and exception tests.
78794         * math/w_ilogb.c: New file: ilogb wrapper.
78795         * math/w_ilogbf.c: New file: ilogbf wrapper.
78796         * math/w_ilogbl.c: New file: ilogbl wrapper.
78797         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78798         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78799         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78800         exception being thrown with 0.0 as argument.
78801         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78802         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78803         exception being thrown with 0.0 as argument.
78804         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78805         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78806         exception being thrown with 0.0 as argument.
78807         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78808         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78809         exception being thrown with 0.0 as argument.
78810         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78811         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78812         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78813         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78814         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78815         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78816         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78817         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78818         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78820 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78822         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78823         with altivec.
78825 2012-04-16  Marek Polacek  <polacek@redhat.com>
78827         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78829 2012-04-16  Marek Polacek  <polacek@redhat.com>
78831         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78832         operands of fdivp instruction.
78834 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78836         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78837         * elf/tst-auditmod3b.c: Likewise.
78838         * elf/tst-auditmod4b.c: Likewise.
78839         * elf/tst-auditmod5b.c: Likewise.
78840         * elf/tst-auditmod6b.c: Likewise.
78841         * elf/tst-auditmod6c.c: Likewise.
78842         * elf/tst-auditmod7b.c: Likewise.
78843         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78844         * sysdeps/x86_64/preconfigure.in: Likewise.
78845         * sysdeps/x86_64/preconfigure: Regenerated.
78847 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78849         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78850         __ILP32__.
78852 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78854         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78855         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78857 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78859         [BZ #13973]
78860         * locale/iso-639.def: Fix gl language name. Spotted by
78861         Yaron Shahrabani.
78863 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78865         [BZ #2074]
78866         * libio/libio.h (__io_write_fn): Update comment.
78868 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78870         [BZ #2074]
78871         * stdio.texi (Hook Functions): The user provided writer function
78872         is not allowed to return -1.
78874 2012-04-11  David S. Miller  <davem@davemloft.net>
78876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78878 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78880         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78881         Add a leading slash to rtkaio.
78883 2012-04-11  Jim Meyering  <meyering@redhat.com>
78885         [BZ #11959]
78886         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78887         It is not necessarily an error to ignore fwrite's return
78888         value.  One can reliably use ferror to test for errors after
78889         the fact.
78891 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78893         * bits/types.h (__snseconds_t): New type.
78894         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78896         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78897         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78898         (__SNSECONDS_T_TYPE): Likewise.
78899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78900         (__SNSECONDS_T_TYPE): Likewise.
78901         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78902         (__SNSECONDS_T_TYPE): Likewise.
78904 2012-04-10  Andreas Jaeger  <aj@suse.de>
78906         [BZ #2636]
78907         * manual/time.texi (Processor Time): Return type of times is
78908         elapsed real time since an arbitrary point in the past.
78909         (CPU Time): Move CLK_TCK from here...
78910         (Processor Time): ...to here.  Correct description.
78911         * manual/conf.texi (Constants for Sysconf): Correct description of
78912         _SC_CLK_TCK.
78914 2012-04-10  David S. Miller  <davem@davemloft.net>
78916         [BZ #13967]
78917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78918         where the is a gap between DT_REL(A) and DT_JMPREL.
78920 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78922         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78923         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78924         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78926 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78928         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78929         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78930         (dl_main): Handle --inhibit-cache.
78931         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78932         _dl_inhibit_cache.
78933         * elf/dl-load.c (_dl_map_object): Use it.
78934         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78936 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78938         [BZ #13872]
78939         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78940         (__ieee754_powl): Saturate large exponents rather than testing for
78941         overflow of y*log2(x).
78942         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78943         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78944         exceptions.
78946         [BZ #11521]
78947         * math/s_ctan.c: Include <float.h>.
78948         (__ctan): Avoid internal overflow or cancellation in calculating
78949         denominator.
78950         * math/s_ctanf.c: Likewise.
78951         * math/s_ctanl.c: Likewise.
78952         * math/s_ctanh.c: Likewise.
78953         * math/s_ctanhf.c: Likewise.
78954         * math/s_ctanhl.c: Likewise.
78955         * math/libm-test.inc (ctan_test): Add more tests.
78956         (ctanh_test): Likewise.
78957         * sysdeps/i386/fpu/libm-test-ulps: Update.
78958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78960 2012-04-09  Andreas Jaeger  <aj@suse.de>
78962         [BZ #6894]
78963         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78964         is an optional BSD extension.
78966         [BZ #10254]
78967         * manual/stdio.texi (Opening Streams): Document additional fopen
78968         parameters.
78970 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78972         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78973         %eax without telling the compiler.
78975 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78977         [BZ # 13963]
78978         * manual/install.texi: Use sourceware.org.
78980 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78982         [BZ #13873]
78983         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78984         (__ieee754_pow): Generate overflow and underflow using huge*huge
78985         and tiny*tiny rather than just returning constant infinity or zero
78986         for large exponents.
78987         * math/libm-test.inc (pow_test): Require overflow exceptions for
78988         applicable cases of large exponents.
78990         [BZ #706]
78991         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78992         (__ieee754_pow): Use iterative multiplication algorithm only for
78993         integer exponents with absolute value below 1024.  Check for odd
78994         integer exponents when using algorithm for real exponents.
78995         * math/libm-test.inc (pow_test): Add more tests.
78996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78998 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79000         [BZ #13705]
79001         * math/libm-test.inc (exp_test): Do not allow overflow exception
79002         on underflow test.
79004 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79006         [BZ #13705]
79007         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79008         instead of __kernel_standard_f.
79010 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79012         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79013         * sysdeps/x86_64/memset_chk.S: Likewise.
79015 2012-04-08  Andreas Jaeger  <aj@suse.de>
79017         [BZ #10153]
79018         * manual/startup.texi (Environment Access): Describe return value
79019         for putenv and setenv.
79021         [BZ #6895]
79022         * manual/filesys.texi (Directory Entries): Add description for
79023         DT_LNK.
79025         [BZ #6890]
79026         * manual/filesys.texi (Directory Entries): Clarify that it's file
79027         system not operating system in the description of DT_UNKNOWN.
79029         [BZ #6578]
79030         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79032 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79034         [BZ #6649]
79035         * manual/llio.texi (Opening and Closing Files): Add cross
79036         reference to explain mode argument.
79038 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79040         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79041         * sysdeps/x86_64/memset_chk.S: Likewise.
79043 2012-04-07  David S. Miller  <davem@davemloft.net>
79045         * elf/elf.h (R_SPARC_WDISP10): Define.
79046         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79047         R_SPARC_SIZE32.
79048         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79049         R_SPARC_SIZE64 and R_SPARC_H34.
79051 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79053         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79054         conditions and remove no longer applicable assertion.
79056 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79058         * bits/byteswap.h: Include <features.h>.
79059         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79060         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79062 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79064         * bits/byteswap.h (__bswap_16): Removed.
79065         Include <bits/byteswap-16.h> to get __bswap_16.
79066         * sysdeps/i386/bits/byteswap.h: Likewise.
79067         * sysdeps/s390/bits/byteswap.h: Likewise.
79068         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79069         * bits/byteswap-16.h: New file.
79070         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79071         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79072         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79073         * string/Makefile (headers): Add bits/byteswap-16.h.
79075 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79077         [BZ #13895]
79078         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79079         extra indirection.
79080         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79081         * nss/tst-nss-static.c: New.
79083 2012-04-06  Robert Millan  <rmh@gnu.org>
79085         [BZ #6486]
79086         * manual/llio.texi (File Position Primitive): lseek
79087         refers to WHENCE when it really means OFFSET.
79089 2012-04-06  Andreas Jaeger  <aj@suse.de>
79091         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79092         strncmp declarations.
79094         * abilist/libc.abilist: Add __poll and __ppoll.
79096 2012-04-05  David S. Miller  <davem@davemloft.net>
79098         * scripts/check-local-headers.sh: Accept a host triplet in the
79099         path matched by the exclude regexp.
79101         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79102         definition.
79103         * sysdeps/powerpc/powerpc32/dl-machine.h
79104         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79105         * sysdeps/s390/s390-32/dl-machine.h
79106         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79107         * sysdeps/sparc/sparc32/dl-machine.h
79108         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79109         * sysdeps/sparc/sparc64/dl-machine.h
79110         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79112         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79113         lazy binding.
79114         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79115         undefined symbol errors.
79117         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79118         DT_NEEDED entries.
79120 2012-04-05  Michael Matz  <matz@suse.de>
79122         [BZ #13592]
79123         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79125 2012-04-05  Andreas Jaeger  <aj@suse.de>
79127         [BZ #13908]
79128         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79129         comment.
79131 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79133         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79134         which ROUND is no valid rounding mode.
79136 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79138         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79139         read again.
79140         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79142 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79144         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79145         an exception using FPU order intentionally.
79147 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79149         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79150         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79151         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79152         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79154 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79156         [BZ #12340]
79157         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79158         EINVAL when BUFLEN is too smal.
79160 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79162         [BZ #13553]
79163         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79164         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79166 2012-04-03  Andreas Jaeger  <aj@suse.de>
79168         [BZ #13938]
79169         * manual/setjmp.texi (System V contexts): Fix sentence.
79171         [BZ #13926]
79172         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79173         New macro for this case.
79174         [!__GNUC__] (__bswap_64): New inline function for this case.
79175         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79176         * bits/byteswap.h: Likewise.
79177         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79178         ull, guard with __GLIBC_HAVE_LONG_LONG.
79180         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79181         __GLIBC_HAVE_LONG_LONG.
79183         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79184         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79186 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79188         [BZ #13691]
79189         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79190         inptr and inend, rather than using last_ch.
79192 2012-04-02  David S. Miller  <davem@davemloft.net>
79194         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79195         * stdio-common/printf-parse.h (read_int): Change return type to
79196         'int', return -1 on INT_MAX overflow.
79197         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79198         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79199         overflows INT_MAX.  Check for overflow of in-format-string precision
79200         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79201         SIZE_MAX not INT_MAX for integer overflow test.
79202         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79203         skip the construct in the format string but do not record anything.
79204         * stdio-common/bug22.c: Adjust to test both width/prevision
79205         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79206         explicitly for proper errno values.
79208 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79210         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79211         CHAR_MAX.
79212         * string/test-strcmp.c [! WIDE]: Likewise.
79213         * time/tst-mktime2.c: Likewise for INT_MAX.
79214         * string/test-string.h: #include <sys/param.h> for MIN.
79216         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79217         * sysdeps/i386/init-first.c (init): Likewise.
79218         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79219         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79220         * sysdeps/sh/init-first.c (init): Likewise.
79222 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79224         * po/ru.po: Update from translation team.
79225         * po/vi.po: Likewise.
79227 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79229         * resolv/nss_dns/dns-host.c: Merge copyright years.
79231 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79233         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79234         Optimize memcpy with prefetch if
79235         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79236         src, dst pointers have unequal 16 byte alignments.
79238 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79240         [BZ #13928]
79241         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79242         from a CNAME entry and return the minimum ttl for the query.
79243         (gaih_getanswer_slice): Likewise.
79245 2012-03-30  Jeff Law  <law@redhat.com>
79247         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79248         due to long keys.
79249         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79250         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79252         * resolv/nss_dns/dns-host.c: Update copyright year.
79254 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79256         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79257         requests to save a system call.  Fix check that all bytes are sent.
79259         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79260         comments for sendmmsg.
79262 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79264         [BZ #13691]
79265         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79266         with only 1 character between 0x0041 and 0x01b0.
79267         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79268         * wcsmbs/tst-mbsnrtowcs.c: New file.
79270 2012-03-29  David S. Miller  <davem@davemloft.net>
79272         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79273         small copies by hand.
79275 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79277         [BZ #13761]
79278         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79279         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79280         group memberships.
79282 2012-03-28  David S. Miller  <davem@davemloft.net>
79284         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79285         that branches into memcpy.
79286         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79289         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79290         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79291         bits.
79292         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79293         implementation too.
79294         * sysdeps/sparc/mempcpy.S: New file.
79296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79297         the IFUNC routine in the libc case.
79298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79300         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79301         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79302         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79303         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79304         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79305         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79306         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79307         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79309         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79310         loop to 256 bytes instead of 64 bytes and fix test signedness.
79312         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79313         * sysdeps/sparc/sparc32/Makefile: rather than here...
79314         * sysdeps/sparc/sparc64/Makefile: and here.
79316 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79318         * malloc/mallocbug.c: Avoid warnings about unused variables.
79320 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79322         [BZ #13760]
79323         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79324         in the right place. Discard and retry query if response is
79325         larger than input buffer size.
79327 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79329         [BZ #369]
79330         [BZ #2678]
79331         [BZ #3866]
79332         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79333         x for large integer exponent.
79334         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79335         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79336         sign of result as needed afterwards.
79337         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79338         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79339         result for underflowing pow the same as for overflow.
79340         (__kernel_standard_l): Handle powl overflow and underflow here
79341         rather than calling __kernel_standard.
79342         * math/libm-test.inc (pow_test): Add more tests.
79344         [BZ #3868]
79345         [BZ #13879]
79346         [BZ #13910]
79347         [BZ #13911]
79348         [BZ #13912]
79349         [BZ #13913]
79350         [BZ #13915]
79351         [BZ #13916]
79352         [BZ #13917]
79353         [BZ #13918]
79354         [BZ #13919]
79355         [BZ #13920]
79356         [BZ #13921]
79357         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79358         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79359         (__kernel_standard_l): New function.
79360         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79361         __kernel_standard.
79362         * math/w_acosl.c (__acosl): Likewise.
79363         * math/w_asinl.c (__asinl): Likewise.
79364         * math/w_atan2l.c (__atan2l): Likewise.
79365         * math/w_atanhl.c (__atanhl): Likewise.
79366         * math/w_coshl.c (__coshl): Likewise.
79367         * math/w_exp10l.c (__exp10l): Likewise.
79368         * math/w_exp2l.c (__exp2l): Likewise.
79369         * math/w_fmodl.c (__fmodl): Likewise.
79370         * math/w_hypotl.c (__hypotl): Likewise.
79371         * math/w_j0l.c (__j0l, __y0l): Likewise.
79372         * math/w_j1l.c (__j1l, __y1l): Likewise.
79373         * math/w_jnl.c (__jnl, __ynl): Likewise.
79374         * math/w_lgammal.c (__lgammal): Likewise.
79375         * math/w_log10l.c (__log10l): Likewise.
79376         * math/w_log2l.c (__log2l): Likewise.
79377         * math/w_logl.c (__logl): Likewise.
79378         * math/w_powl.c (__powl): Likewise.
79379         * math/w_remainderl.c (__remainderl): Likewise.
79380         * math/w_scalbl.c (sysv_scalbl): Likewise.
79381         * math/w_sinhl.c (__sinhl): Likewise.
79382         * math/w_sqrtl.c (__sqrtl): Likewise.
79383         * math/w_tgammal.c (__tgammal): Likewise.
79384         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79385         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79386         * math/libm-test.inc (acos_test): Add more tests.
79387         (acosh_test): Likewise.
79388         (asin_test): Likewise.
79389         (atanh_test): Likewise.
79390         (exp_test): Likewise.
79391         (exp10_test): Likewise.
79392         (exp2_test): Likewise.
79393         (expm1_test): Likewise.
79394         (lgamma_test): Likewise.
79395         (log_test): Likewise.
79396         (log10_test): Likewise.
79397         (log1p_test): Likewise.
79398         (log2_test): Likewise.
79399         (pow_test): Do not allow some spurious overflow exceptions.
79400         (sqrt_test): Add more tests.
79401         (tgamma_test): Likewise.
79402         (y0_test): Likewise.
79403         (y1_test): Likewise.
79404         (yn_test): Likewise.
79406 2012-03-27  Anton Blanchard  <anton@samba.org>
79408         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79409         MAP_HUGETLB.
79410         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79411         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79412         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79414 2012-03-27  David S. Miller  <davem@davemloft.net>
79416         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79418         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79419         have-as-vis3 check.
79421 2012-03-27  Andreas Jaeger  <aj@suse.de>
79423         * sysdeps/x86_64/elf/configure.in: Moved to ...
79424         * sysdeps/x86_64/configure.in: ... here.
79425         * sysdeps/x86_64/elf/start.S: Moved to ...
79426         * sysdeps/x86_64/start.S: ... here.
79427         * sysdeps/x86_64/elf/configure: Delete.
79429         * sysdeps/x86_64/configure.in: Merge contents from
79430         sysdeps/i386/configure.in (without i686 check).
79432         * sysdeps/i386/elf/Versions: Merge into ...
79433         * sysdeps/i386/Versions: ... this.
79434         * sysdeps/i386/elf/Versions: Delete file.
79435         * sysdeps/i386/elf/start.S: Moved to ...
79436         * sysdeps/i386/start.S: ...here.
79437         * sysdeps/i386/elf/configure.in: Merge into...
79438         * sysdeps/i386/configure.in: ...here.
79439         * sysdeps/i386/elf/configure.in: Delete file.
79440         * sysdeps/i386/elf/configure: Delete file.
79442         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79443         * debug/backtracesyms.c: ... here.
79444         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79445         * debug/backtracesymsfd.c: ... here.
79446         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79447         * sysdeps/generic/ifunc-sel.h: ... here.
79449         * sysdeps/unix/i386/start.c: Delete file.
79450         * sysdeps/unix/sparc/start.c: Delete file.
79451         * sysdeps/unix/start.c: Delete file.
79453         * sysdeps/sh/elf/configure.in: Moved to ...
79454         * sysdeps/sh/configure.in: ... here.
79455         * sysdeps/sh/elf/start.S: Moved to ...
79456         * sysdeps/sh/start.S: ... here.
79457         * sysdeps/sh/elf/configure: Delete file.
79459         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79460         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79461         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79462         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79463         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79464         * sysdeps/powerpc/powerpc64/start.S: here.
79465         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79466         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79467         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79468         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79469         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79471         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79472         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79473         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79474         * sysdeps/powerpc/powerpc32/start.S: ... here.
79475         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79476         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79477         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79479         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79480         * sysdeps/powerpc/ifunc-sel.h: ... here.
79481         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79482         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79484         * sysdeps/sparc/elf/configure.in: Moved to ...
79485         * sysdeps/sparc/configure.in: ... here.
79486         * sysdeps/sparc/elf/configure: Delete file.
79487         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79488         * sysdeps/sparc/sparc32/start.S: ... here.
79489         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79490         * sysdeps/sparc/sparc64/start.S: ... here.
79491         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79492         * sysdeps/sparc/sparc32/Makefile: ... this.
79493         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79494         * sysdeps/sparc/sparc64/Makefile: ... this.
79496         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79497         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79498         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79499         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79500         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79501         * sysdeps/s390/s390-32/setjmp.S: ... here.
79502         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79503         * sysdeps/s390/s390-32/configure.in: ... here.
79504         * sysdeps/s390/s390-32/elf/configure: Delete file.
79505         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79506         * sysdeps/s390/s390-32/start.S: ... here.
79508         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79509         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79510         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79511         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79512         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79513         * sysdeps/s390/s390-64/setjmp.S: ... here.
79514         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79515         * sysdeps/s390/s390-64/configure.in: ... here
79516         * sysdeps/s390/s390-64/elf/configure: Delete file.
79517         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79518         * sysdeps/s390/s390-64/start.S: ... here.
79519         * sysdeps/s390/s390-64/elf/configure: Delete.
79521         * configure.in: Remove support for elf directories in sysdeps.
79523         * configure: Regenerated.
79524         * sysdeps/i386/configure: Regenerated.
79525         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79526         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79527         * sysdeps/s390/s390-32/configure: Regenerated.
79528         * sysdeps/s390/s390-64/configure: Regenerated.
79529         * sysdeps/sh/configure: Regenerated.
79530         * sysdeps/sparc/configure: Regenerated.
79531         * sysdeps/x86_64/configure: Regenerated.
79533 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79538         denormal result into account.
79540 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79542         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79543         Reported by Allan McRae <allan@archlinux.org>.
79545 2012-03-23  Jeff Law  <law@redhat.com>
79547         * nss/getnssent.c (__nss_getent): Fix typo.
79549 2012-03-23  David S. Miller  <davem@davemloft.net>
79551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79553 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79555         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79556         to pad to uint64_t for each field.
79557         (dl_tls_index): Replace unsigned long with uint64_t.
79559 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79560         Paul Pluzhnikov  <ppluzhnikov@google.com>
79562         [BZ #6528]
79563         * grp/Makefile (otherlibs): Don't set it.
79564         * inet/Makefile (otherlibs): Likewise.
79565         * login/Makefile (otherlibs): Likewise.
79566         * nscd/Makefile (otherlibs): Likewise.
79567         * posix/Makefile (otherlibs): Likewise.
79568         * pwd/Makefile (otherlibs): Likewise.
79569         * rt/Makefile (otherlibs): Likewise.
79570         * sunrpc/Makefile (otherlibs): Likewise.
79571         * nss/Makefile (otherlibs): Likewise.
79572         Add libnss_files to routines and static-only-routines.
79573         ($(objpfx)getent): Remove rule.
79574         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79575         static-only-routines.
79577 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79579         [BZ #13892]
79580         * math/s_cexp.c: Include <float.h>.
79581         (__cexp): Handle exp result overflowing not necessarily
79582         overflowing both real and imaginary parts of result.
79583         * math/s_cexpf.c: Likewise.
79584         * math/s_cexpl.c: Likewise.
79585         * math/libm-test.inc (cexp_test): Add more tests.
79586         * sysdeps/i386/fpu/libm-test-ulps: Update.
79587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79589 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79591         * include/link.h (ELFW): New macro.
79592         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79593         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79595 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79597         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79598         with uint64_t.
79600 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79602         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79603         declaration.
79604         (struct La_x32_retval): Likewise.
79606 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79608         * sysdeps/x86_64/preconfigure.in: New file.
79609         * sysdeps/x86_64/preconfigure: New generated file.
79611 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79613         [BZ #13824]
79614         * math/e_exp2l.c: Include <float.h>.
79615         (__ieee754_exp2l): Handle overflow and underflow cases
79616         separately.  Only pass fractional part of argument to
79617         __ieee754_expl.
79618         * math/libm-test.inc (exp2_test): Add more tests.
79620         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79621         negating x to take absolute value.
79622         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79623         Likewise.
79624         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79625         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79626         Likewise.
79627         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79628         computing low part if x was negated.
79629         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79633         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79634         la_x32_gnu_pltexit.
79635         (pltexit): Cast int_retval to ptrdiff_t.
79636         * elf/tst-auditmod3b.c: Likewise.
79637         * elf/tst-auditmod4b.c: Likewise.
79638         * elf/tst-auditmod5b.c: Likewise.
79639         * elf/tst-auditmod6b.c: Likewise.
79640         * elf/tst-auditmod6c.c: Likewise.
79641         * elf/tst-auditmod7b.c: Likewise.
79643         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79644         and x32_gnu_pltexit.
79646         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79647         __ELF_NATIVE_CLASS.
79648         (La_x32_regs): New macro.
79649         (La_x32_retval): Likewise.
79650         (la_x32_gnu_pltenter): New function prototype.
79651         (la_x32_gnu_pltexit): Likewise.
79653 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79656         exponent.
79658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79660         * configure.in (libc_cv_cc_nofma): Check for option to disable
79661         generation of FMA instructions.
79662         * configure: Regenerate.
79663         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79664         * sysdeps/ieee754/dbl-64/Makefile: New file.
79665         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79666         Remove brandred-fma4.
79667         (CFLAGS-brandred-fma4.c): Remove.
79668         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79669         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79670         define.
79671         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79672         define.
79674 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79676         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79677         LLONG_MAX != LONG_MAX.
79678         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79679         (_fitoa_word): Likewise.
79680         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79681         LLONG_MAX != LONG_MAX.
79682         * stdio-common/_itowa.h: Include <_itoa.h>.
79683         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79684         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79685         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79686         only if not defined.
79687         (_ITOA_WORD_TYPE): Likewise.
79688         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79689         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79691 2012-03-21  David S. Miller  <davem@davemloft.net>
79693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79695 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79697         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79698         of x86_64 when setting libc_cv_slibdir, libdir and
79699         libc_cv_localedir.
79700         * sysdeps/unix/sysv/linux/configure: Regenerated.
79702 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79704         * manual/lang.texi (Old Varargs): Remove section.
79705         (How Variadic): Update menu.
79706         (va_start): Do not mention varargs.h.
79708 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79709             Joseph Myers  <joseph@codesourcery.com>
79711         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79712         link test.
79713         * configure: Regenerated.
79715 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79717         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79718         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79719         conformtest.pl
79721 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79723         * NOTES: Remove.
79724         * Makefile (files-for-dist): Remove NOTES.
79725         (NOTES): Remove rule.
79726         * README: Don't refer to NOTES.
79727         * manual/creature.texi: Don't include macros.texi.
79728         * manual/intro.texi (creature.texi): Remove comment referring to
79729         NOTES.
79731         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79732         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79733         * configure: Regenerated.
79734         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79735         LIBC_TRY_CC_OPTION.
79736         (libc_cv_as_i686): Likewise.
79737         (libc_cv_cc_avx): Likewise.
79738         (libc_cv_cc_sse2avx): Likewise.
79739         (libc_cv_cc_fma4): Likewise.
79740         (libc_cv_cc_novzeroupper): Likewise.
79741         * sysdeps/i386/configure: Regenerated.
79743         [BZ #13883]
79744         * sysdeps/i386/fpu/s_cexp.S: Remove.
79745         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79746         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79747         * math/libm-test.inc (cexp_test): Add more tests.
79748         * sysdeps/i386/fpu/libm-test-ulps: Update.
79749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79751 2012-03-21  Allan McRae  <allan@archlinux.org>
79753         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79755 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79757         [BZ #13871]
79758         * math/w_exp2.c: Do not include <float.h>.
79759         (o_threshold, u_threshold): Remove.
79760         (__exp2): Calculate result before checking finiteness and calling
79761         __kernel_standard.
79762         * math/w_exp2f.c: Likewise.
79763         * math/w_exp2l.c: Likewise.
79764         * math/libm-test.inc (exp2_test): Require overflow exception for
79765         1e6 input.
79767         [BZ #3866]
79768         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79769         range of signed 64-bit integers before using fistpll.  Remove
79770         checks for whether integers fit in mantissa bits.
79771         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79772         the range of signed 32-bit integers before using fistpl.  Remove
79773         checks for whether integers fit in mantissa bits.
79774         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79775         (__ieee754_powl): Test for y outside the range of signed 64-bit
79776         integers before using fistpll.  Reduce 64-bit values to 63-bit
79777         ones as needed.
79778         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79779         divide-by-zero is raised for zero to large negative powers.
79780         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79781         (__ieee754_powl): Test for y outside the range of signed 64-bit
79782         integers before using fistpll.  Reduce 64-bit values to 63-bit
79783         ones as needed.
79784         * math/libm-test.inc (pow_test): Add more tests.
79786 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79788         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79789         <stdio-common/_itoa.h>.
79790         * debug/segfault.c: Likewise.
79791         * elf/dl-cache.c: Likewise.
79792         * elf/dl-minimal.c: Likewise.
79793         * elf/dl-misc.c: Likewise.
79794         * elf/dl-sysdep.c: Likewise.
79795         * elf/dl-version.c: Likewise.
79796         * elf/rtld.c: Likewise.
79797         * hurd/hurdsock.c: Likewise.
79798         * hurd/lookup-retry.c: Likewise.
79799         * malloc/malloc.c: Likewise.
79800         * malloc/mtrace.c: Likewise.
79801         * nscd/nscd_getgr_r.c: Likewise.
79802         * nscd/nscd_getpw_r.c: Likewise.
79803         * nscd/nscd_getserv_r.c: Likewise.
79804         * posix/getopt_init.c: Likewise.
79805         * posix/wordexp.c: Likewise.
79806         * stdio-common/_itoa.c: Likewise.
79807         * stdio-common/printf_fphex.c: Likewise.
79808         * stdio-common/vfprintf.c: Likewise.
79809         * string/_strerror.c: Likewise.
79810         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79811         * sysdeps/i386/i686/hp-timing.h: Likewise.
79812         * sysdeps/mach/_strerror.c: Likewise.
79813         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79814         * sysdeps/mach/hurd/sethostid.c: Likewise.
79815         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79816         * sysdeps/mach/xpg-strerror.c: Likewise.
79817         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79818         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79819         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79820         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79821         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79822         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79823         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79824         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79825         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79826         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79827         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79828         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79829         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79830         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79831         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79832         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79833         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79834         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79835         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79836         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79837         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79839         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79841         * stdio-common/_itoa.h: Moved to ...
79842         * sysdeps/generic/_itoa.h: Here.
79844         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79846         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79847         instead of "_itoa.h" and "_itowa.h".
79848         * stdio-common/vfprintf.: Likewise.
79850 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79852         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79853         <bits/wordsize.h>.
79854         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79855         (__signbit): Likewise.
79856         (llrintf): Likewise.
79857         (llrint): Likewise.
79859 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79861         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79862         __WORDSIZE != 64.
79864 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79866         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79867         OVERFLOW_EXCEPTION_OK.
79868         * math/libm-test.inc ("Philosophy"): Update comment about
79869         exception testing.
79870         (OVERFLOW_EXCEPTION): Define.
79871         (OVERFLOW_EXCEPTION_OK): Likewise.
79872         (INVALID_EXCEPTION_OK): Renumber.
79873         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79874         (IGNORE_ZERO_INF_SIGN): Likewise.
79875         (test_exceptions): Handle FE_OVERFLOW.
79876         (exp10_test): Expect overflow exceptions.
79877         (exp2_test): Likewise.
79878         (expm1_test): Likewise.
79879         (nextafter_test): Likewise.
79880         (pow_test): Likewise.
79881         (scalbn_test): Likewise.
79882         (scalbln_test): Likewise.
79884 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79886         * sysdeps/x86_64/bits/atomic.h
79887         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79888         64bit integer.
79889         (atomic_exchange_acq): Likewise.
79890         (__arch_exchange_and_add_body): Likewise.
79891         (__arch_add_body): Likewise.
79892         (atomic_add_negative): Likewise.
79893         (atomic_add_zero): Likewise.
79895 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79897         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79898         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79900 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79902         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79903         Check __x86_64__ instead of __WORDSIZE.
79905 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79907         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79909 2012-03-19  David S. Miller  <davem@davemloft.net>
79911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79913         * sysdeps/sparc/fpu/fenv_private.h: New file.
79914         * sysdeps/sparc/fpu/math_private.h: Use it.
79915         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79916         Remove.
79917         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79918         (libc_feholdexcept_setroundl): Remove.
79919         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79920         Remove.
79921         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79922         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79924 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79926         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79927         int64_t instead of long int.
79928         (INSERT_WORDS64): Likewise.
79930 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79932         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79933         _Unwind_GetCFA return to _Unwind_Ptr first.
79935 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79937         [BZ #13629]
79938         * math/s_clog.c: Include <float.h>.
79939         (__clog): Scale large or subnormal inputs.
79940         * math/s_clogf.c: Likewise.
79941         * math/s_clogl.c: Likewise.
79942         * math/s_clog10.c: Include <float.h>.
79943         (M_LOG10_2): Define.
79944         (__clog10): Scale large or subnormal inputs.
79945         * math/s_clog10f.c: Likewise.
79946         * math/s_clog10l.c: Likewise.
79947         * math/libm-test.inc (clog_test): Add more tests.
79948         (clog10_test): Likewise.
79949         * sysdeps/i386/fpu/libm-test-ulps: Update.
79950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79952         [BZ #11451]
79953         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79954         x and y.
79955         * math/libm-test.inc (atan2_test): Add another test.
79957         * Makerules (common-objdir-compile): Remove.
79958         * sysdeps/unix/Makefile (config-generated): Do not add
79959         $(unix-generated) to variable.
79960         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79961         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79962         Remove rule.
79963         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79964         Likewise.
79965         [generic bits/local_lim.h] (before-compile): Do not append to
79966         variable.
79967         [generic bits/local_lim.h] (common-generated): Likewise.
79968         [generic sys/param.h] (before-compile): Do not append to variable.
79969         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79970         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79971         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79972         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79973         include.
79974         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79975         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79976         [generic sys/param.h] ($(addprefix
79977         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79978         [generic sys/param.h] (common-generated): Do not append to
79979         variable.
79980         [generic sys/param.h] (sysdep_headers): Likewise.
79981         [generic bits/errno.h] (before-compile): Do not append to
79982         variable.
79983         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79984         rule.
79985         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79986         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79987         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79988         [generic bits/errno.h] (common-generated): Do not append to
79989         variable.
79990         [generic bits/ioctls.h] (before-compile): Do not append to
79991         variable.
79992         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79993         rule.
79994         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79995         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79996         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79997         rule.
79998         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79999         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80000         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80001         [generic bits/ioctls.h] (common-generated): Do not append to
80002         variable.
80003         [generic sys/syscall.h] (syscall.h): Remove variable.
80004         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80005         rule.
80006         [generic sys/syscall.h] (before-compile): Do not append to
80007         variable.
80008         [generic sys/syscall.h] (common-generated): Likewise.
80009         * sysdeps/unix/errnos-tmpl.c: Remove file.
80010         * sysdeps/unix/errnos.awk: Likewise.
80011         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80012         * sysdeps/unix/ioctls.awk: Likewise.
80013         * sysdeps/unix/mk-local_lim.c: Likewise.
80014         * sysdeps/unix/snarf-ioctls: Likewise.
80016 2012-03-19  Richard Henderson  <rth@twiddle.net>
80018         * sysdeps/i386/fpu/fenv_private.h: New file.
80019         * sysdeps/i386/fpu/math_private.h: Use it.
80020         (math_opt_barrier, math_force_eval): Remove.
80021         (libc_feholdexcept_setround_53bit): Remove.
80022         (libc_feupdateenv_53bit): Remove.
80023         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80024         (math_opt_barrier, math_force_eval): Remove.
80025         (libc_feholdexcept): Remove.
80026         (libc_feholdexcept_setround): Remove.
80027         (libc_fetestexcept, libc_fesetenv): Remove.
80028         (libc_feupdateenv_test): Remove.
80029         (libc_feupdateenv, libc_feholdsetround): Remove.
80030         (libc_feresetround): Remove.
80032         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80033         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80035         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80036         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80037         (libc_feupdateenv_testl): New.
80038         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80039         (libc_feupdateenv_testf): New.
80040         (libc_feupdateenv): Use libc_feupdateenv_test.
80041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80042         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80044         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80045         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80046         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80047         (libc_feresetround_noex): New.
80048         (libc_feresetround_noexf): New.
80049         (libc_feresetround_noexl): New.
80050         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80051         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80052         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80053         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80054         SET_RESTORE_ROUND.
80055         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80056         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80057         (__cos): Likewise.
80058         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80059         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80060         SET_RESTORE_ROUND_NOEX.
80061         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80062         SET_RESTORE_ROUND_NOEXF.
80063         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80064         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80065         (libc_feholdsetroundf): New.
80066         (libc_feresetround, libc_feresetroundf): New.
80068         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80069         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80070         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80072         * sysdeps/generic/math_private.h: Include <fenv.h>.
80073         (default_libc_feholdexcept): New.
80074         (default_libc_feholdexcept_setround): New.
80075         (default_libc_fesetenv, default_libc_feupdateenv): New.
80076         (libc_feholdexcept): Only define if undefined.
80077         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80078         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80079         (libc_feholdexcept_setroundl): Likewise.
80080         (libc_feholdexcept_setround_53bit): Likewise.
80081         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80082         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80083         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80084         (libc_feupdateenv_53bit): Likewise.
80085         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80086         (libc_feholdexcept): Convert from macro to inline function.
80087         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80088         (libc_fesetenv, libc_feupdateenv): Likewise.
80090         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80091         not previously defined.
80092         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80093         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80094         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80095         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80096         * sysdeps/ieee754/flt-32/math_private.h: New file.
80097         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80098         math_private.h below SET_FLOAT_WORD.
80099         (__isnan, __isinf_ns, __finite): Remove.
80100         (__isnanf, __isinf_nsf, __finitef): Remove.
80102 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80106 2012-03-17  David S. Miller  <davem@davemloft.net>
80108         [BZ #6471]
80109         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80110         for 2.16.
80112 2012-03-16  David S. Miller  <davem@davemloft.net>
80114         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80115         warnings.
80117         [BZ #6471]
80118         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80119         properly.
80120         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80121         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80122         sysdep_routines when subdir is sysvipc.
80123         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80124         __getshmlba helper.
80126         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80128 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80130         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80131         [__LP64__].
80133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80135         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80136         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80137         (__lround): Renamed to ...
80138         (__llround): This.  Replace long int with long long int.
80139         Define lround functions as aliases of llround functions.
80140         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80144         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80145         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80146         adresses to uintptr_t.  Replace "long int" and "unsigned long
80147         int" with "greg_t" on va_arg.
80149 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80151         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80152         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80154         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80155         Move e_machine check before EI_CLASS check.  Handle x32
80156         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80157         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80158         SKIP_EM_IA_64 and include
80159         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80161         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80162         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80163         (add_system_dir): New macro.
80165         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80166         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80168 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80170         [BZ #2551]
80171         [BZ #2552]
80172         [BZ #2553]
80173         [BZ #2554]
80174         [BZ #2562]
80175         [BZ #2563]
80176         [BZ #2565]
80177         [BZ #2566]
80178         [BZ #2576]
80179         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80180         (y0): Likewise.
80181         * math/w_j0f.c (j0f): Likewise.
80182         (y0f): Likewise.
80183         * math/w_j0l.c (__j0l): Likewise.
80184         (__y0l): Likewise.
80185         * math/w_j1.c (j1): Likewise.
80186         (y1): Likewise.
80187         * math/w_j1f.c (j1f): Likewise.
80188         (y1f): Likewise.
80189         * math/w_j1l.c (__j1l): Likewise.
80190         (__y1l): Likewise.
80191         * math/w_jn.c (jn): Likewise.
80192         (yn): Likewise.
80193         * math/w_jnf.c (jnf): Likewise.
80194         (ynf): Likewise.
80195         * math/w_jnl.c (__jnl): Likewise.
80196         (__ynl): Likewise.
80197         * math/libm-test.inc (j0_test): Add more tests.
80198         (j1_test): Likewise.
80199         (jn_test): Likewise.  Add trailing semicolon to existing test.
80200         (y0_test): Likewise.
80201         (y1_test): Likewise.
80202         * sysdeps/i386/fpu/libm-test-ulps: Update.
80203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80205         [BZ #13851]
80206         [BZ #13854]
80207         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80208         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80209         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80210         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80211         (__tanl): Set errno for infinite argument.
80212         * sysdeps/i386/fpu/mptan.c: Remove.
80213         * sysdeps/i386/fpu/s_tan.S: Likewise.
80214         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80215         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80216         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80217         * math/libm-test.inc (tan_test): Add more tests and enable more
80218         tests for double and long double.
80219         * sysdeps/i386/fpu/libm-test-ulps: Update.
80220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80222 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80224         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80225         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80227 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80229         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80230         * configure.in: Use it for both main tree and add-ons.
80231         * configure: Regenerated.
80233 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80235         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80237 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80239         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80240         in comment.
80242         [BZ #13851]
80243         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80244         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80245         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80246         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80247         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80248         infinite argument.
80249         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80250         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80251         != 0 for prec == 2.
80252         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80253         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80254         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80255         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80256         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80257         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80258         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80259         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80260         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80261         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80262         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80263         * math/libm-test.inc (cos_test): Add more tests and enable more
80264         tests for long double.
80265         (sin_test): Likewise.
80266         (sincos_test): Likewise.
80267         * sysdeps/i386/fpu/libm-test-ulps: Update.
80268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80270 2012-03-16  David S. Miller  <davem@davemloft.net>
80272         * sysdeps/sparc/fpu/math_private.h: New file.
80274 2012-03-15  David S. Miller  <davem@davemloft.net>
80276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80277         file.
80278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80280         file.
80281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80286         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80287         sysdep routines.
80288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80290         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80291         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80293         * sysdeps/sparc/sparc-ifunc.h: New file.
80294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80295         sparc-ifunc.h
80296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80298         Likewise.
80299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80300         Likewise.
80301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80305         Likewise.
80306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80311         Likewise.
80312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80313         Likewise.
80314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80332         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80334         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80335         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80336         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80337         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80339 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80341         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80342         scaling.
80343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80345 2012-03-15  Andreas Jaeger  <aj@suse.de>
80347         [BZ #13852]
80348         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80349         ieee754/flt-32 implementation for sin, cos and sincos.
80350         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80351         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80352         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80353         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80354         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80355         ieee754/flt-32 implementation for tan.
80357         * math/libm-test.inc (cos_test): Enable some large input tests for
80358         float as well
80359         (sin_test): Likewise.
80360         (sincos_test): Likewise.
80361         (tan_test): Add tests for large input.
80363         * sysdeps/i386/fpu/libm-test-ulps: Update.
80365 2012-03-15  Andreas Jaeger  <aj@suse.de>
80367         [BZ #13658]
80368         * math/libm-test.inc (cos_test): Add more test cases.
80369         (sin_test): Likewise.
80370         (sincos_test): Likewise.
80372 2012-03-15  Andreas Jaeger  <aj@suse.de>
80374         [BZ #13837]
80375         * math/libm-test.inc (cos_test): Add a test case for large input
80376         value.
80377         (sin_test): Likewise.
80378         (sincos_test): Likewise.
80380 2012-03-15  Andreas Jaeger  <aj@suse.de>
80381             Joseph Myers  <joseph@codesourcery.com>
80383         [BZ #13658]
80384         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80385         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80386         * sysdeps/i386/fpu/branred.c: Likewise.
80387         * sysdeps/i386/fpu/dosincos.c: Likewise.
80388         * sysdeps/i386/fpu/mpa.c: Likewise.
80389         * sysdeps/i386/fpu/s_cos.S: Likewise.
80390         * sysdeps/i386/fpu/s_sin.S: Likewise.
80391         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80392         * sysdeps/i386/fpu/sincos32.c: Likewise.
80394         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80395         Define.
80396         (libc_feupdateenv_53bit): Define.
80397         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80398         Define.
80399         (libc_feupdateenv_53bit): Define.
80401         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80402         53 bit (without extend i386 double precision).
80404         * math/libm-test.inc (sincos_test): Add tests for large input.
80405         (sin): Likewise.
80406         (cos): Likewise.
80408         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80410 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80414 2012-03-15  David S. Miller  <davem@davemloft.net>
80416         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80417         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80418         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80419         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80424         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80425         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80432         file.
80433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80435         file.
80436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80438         file.
80439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80441         file.
80442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80443         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80444         fmin/fmax sysdep routines.
80445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80447 2012-03-14  David S. Miller  <davem@davemloft.net>
80449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80453         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80455         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80456         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80465         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80469         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80472         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80473         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80474         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80475         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80476         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80477         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80478         routines.
80479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80480         file.
80481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80483         file.
80484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80486         file.
80487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80489         file.
80490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80492         file.
80493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80495         file.
80496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80497         file.
80498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80499         file.
80500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80501         file.
80502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80503         New file.
80504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80505         file.
80506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80507         file.
80508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80510         file.
80511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80513         file.
80514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80516         file.
80517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80519         VIS3 routines.
80521         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80522         New file.
80524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80526         * sysdeps/sparc/configure.in: New file.
80527         * sysdeps/sparc/configure: Generate.
80528         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80529         * configure: Regenerate.
80530         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80531         * config.make.in (have-as-vis3): New.
80532         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80533         available use -Av9d instead of -Av9a.
80534         * sysdeps/sparc/sparc64/Makefile: Likewise.
80535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80537         New file.
80538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80539         file.
80540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80541         New file.
80542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80543         file.
80544         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80545         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80546         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80547         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80550         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80551         fzeros/fnegs to load 0x80000000 into a float register instead of
80552         using the stack.
80553         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80555 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80558         bits/syscall.h.
80559         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80560         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80561         ($(inst_includedir)/bits/syscall.h): Remove rule.
80562         ($(objpfx)bits/syscall.d): Include instead of
80563         $(objpfx)syscall-list.d.
80564         (generated): Change syscall-list.h and syscall-list.d to
80565         bits/syscall.h and bits/syscall.d.
80567 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80569         [BZ #13846]
80570         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80572 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80574         [BZ #13841]
80575         * math/s_csqrt.c: Include <float.h>.
80576         (__csqrt): Scale large or subnormal inputs.
80577         * math/s_csqrtf.c: Likewise.
80578         * math/s_csqrtl.c: Likewise.
80579         * math/libm-test.inc (csqrt_test): Add more tests.
80580         * sysdeps/i386/fpu/libm-test-ulps: Update.
80581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80583         [BZ #13840]
80584         * math/libm-test.inc (hypot_test): Add more tests.
80586 2012-03-13  David S. Miller  <davem@davemloft.net>
80588         [BZ #13840]
80589         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80590         double-precision for the calculation instead of scaling.
80592 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80594         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80595         manipulate bits before adding and subtracting TWO52[sx].
80596         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80597         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80598         Likewise.
80599         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80601 2012-03-13  David S. Miller  <davem@davemloft.net>
80603         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80604         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80606         rtld-global-offsets.h
80607         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80609         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80610         large parameters.
80612         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80614         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80615         'err' in the ifdef scope in which it is actually used.
80617         * nss/nss_db/db-init.c: Include string.h
80619 2012-03-12  David S. Miller  <davem@davemloft.net>
80621         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80622         masking out of the most significant byte of random value used.
80623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80624         Fix coding style in previous change.
80626         * sysdeps/unix/sysv/linux/kernel-features.h
80627         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80628         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80629         expression.
80630         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80631         later.
80633 2012-03-11  David S. Miller  <davem@davemloft.net>
80635         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80636         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80637         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80638         for 'resultvar' otherwise things get truncated on 64-bit.
80640         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80641         Fix masking out of the most significant byte of random value used.
80643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80645 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80649 2012-03-09  David S. Miller  <davem@davemloft.net>
80651         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80652         variables with appropriate CPP guards.
80653         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80654         from the frame pointer, not the stack pointer.  Correct layout
80655         comments.  Fix test on resulting framesize and the management of
80656         the outregs buffer for pltexit.  Preserve floating point return
80657         values across _dl_call_pltexit call.
80658         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80659         framesize and the management of the outregs buffer for pltexit.
80660         Preserve floating point return values across _dl_call_pltexit
80661         call.
80662         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80663         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80664         (la_sparc64_gnu_pltexit): New functions.
80665         (print_exit): Fix format string for return register value.
80667 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80669         * sunrpc/Makefile (others): Add rpcgen.
80670         ($(objpfx)rpcgen): Remove special build rule and dependency on
80671         libc.
80672         * sunrpc/rpcgen.c: New file.
80674 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80676         [BZ #13673]
80677         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80678         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80679         * sysdeps/i386/crti.S: Likewise.
80680         * sysdeps/i386/crtn.S: Likewise.
80681         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80682         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80683         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80684         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80685         * sysdeps/sh/crti.S: Likewise.
80686         * sysdeps/sh/crtn.S: Likewise.
80687         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80689         [BZ #13673]
80690         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80691         with URL.
80692         * locale/programs/locfile-kw.gperf: Likewise.
80693         * locale/programs/charmap-kw.h: Regenerated.
80694         * locale/programs/locfile-kw.h: Likewise.
80696         [BZ #13673]
80697         * intl/plural.y: Replace FSF snail mail address with URL.
80698         * intl/plural.c: Regenerated.
80700 2012-03-09  Richard Henderson  <rth@twiddle.net>
80702         * include/math_private.h: Remove file.
80703         * math/math_private.h: Move file ...
80704         * sysdeps/generic/math_private.h: ... here.
80706         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80707         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80708         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80710         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80711         and <math_private.h>.
80712         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80713         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80714         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80715         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80716         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80717         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80718         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80720         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80721         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80723         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80724         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80725         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80726         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80727         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80728         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80729         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80730         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80731         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80733         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80734         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80736         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80737         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80738         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80739         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80740         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80742         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80743         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80744         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80745         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80746         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80747         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80748         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80749         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80750         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80751         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80752         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80753         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80754         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80755         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80756         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80758         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80759         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80760         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80761         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80762         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80763         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80764         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80765         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80766         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80767         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80768         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80769         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80770         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80771         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80772         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80773         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80774         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80775         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80776         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80777         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80778         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80779         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80780         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80781         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80782         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80783         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80785         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80786         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80787         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80788         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80789         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80790         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80791         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80792         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80793         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80795         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80796         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80797         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80799         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80800         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80801         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80802         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80803         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80804         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80805         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80806         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80807         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80808         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80809         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80810         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80812         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80813         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80814         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80815         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80816         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80817         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80818         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80819         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80820         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80821         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80822         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80823         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80824         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80825         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80826         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80827         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80828         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80829         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80830         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80831         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80832         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80833         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80834         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80835         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80836         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80837         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80838         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80839         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80840         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80841         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80842         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80843         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80844         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80845         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80846         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80847         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80848         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80849         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80850         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80851         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80852         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80853         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80854         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80855         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80856         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80857         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80858         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80859         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80860         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80861         * sysdeps/ieee754/k_standard.c: Likewise.
80862         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80863         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80864         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80865         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80866         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80867         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80868         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80869         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80870         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80871         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80872         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80873         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80874         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80875         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80876         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80877         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80878         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80879         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80880         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80881         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80882         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80883         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80884         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80885         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80886         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80887         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80888         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80889         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80890         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80891         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80892         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80893         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80894         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80895         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80896         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80897         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80898         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80899         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80900         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80901         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80902         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80903         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80904         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80905         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80906         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80907         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80908         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80909         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80910         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80911         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80912         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80913         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80914         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80915         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80916         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80918         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80919         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80920         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80921         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80922         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80923         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80926         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80927         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80928         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80929         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80930         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80932         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80933         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80934         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80935         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80936         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80937         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80939         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80940         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80941         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80942         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80944         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80945         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80946         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80947         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80948         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80949         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80950         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80951         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80952         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80953         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80954         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80955         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80957         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80958         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80959         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80960         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80961         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80962         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80963         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80964         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80965         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80966         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80967         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80968         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80969         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80970         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80971         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80972         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80973         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80974         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80975         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80976         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80977         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80978         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80979         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80980         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80981         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80982         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80983         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80984         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80985         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80986         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80987         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80988         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80989         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80990         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80991         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80992         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80993         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80994         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80995         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80996         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80997         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80998         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80999         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81001         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81002         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81003         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81004         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81005         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81006         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81007         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81008         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81009         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81010         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81011         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81012         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81013         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81014         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81015         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81016         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81017         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81018         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81019         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81020         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81021         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81022         * sysdeps/ieee754/s_lib_version.c: Likewise.
81023         * sysdeps/ieee754/s_matherr.c: Likewise.
81024         * sysdeps/ieee754/s_signgam.c: Likewise.
81025         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81026         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81027         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81028         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81029         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81030         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81031         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81032         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81033         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81034         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81035         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81036         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81037         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81038         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81039         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81040         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81041         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81042         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81043         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81044         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81045         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81047 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81049         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81050         * sunrpc/rpc_main.c: Likewise.
81051         * sunrpc/rpc_svcout.c: Likewise.
81053 2012-03-09  David S. Miller  <davem@davemloft.net>
81055         * include/math_private.h: New file.
81057 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81059         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81060         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81061         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81062         from <bits/socket_type.h>.
81063         (enum __socket_type): Don't define here.
81064         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81065         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81066         bits/socket_type.h.
81068         [BZ #13566]
81069         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81070         checking __USE_GNU.
81072         * Makerules ($(inst_includedir)/%.h): New rule.
81073         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81074         (install-others): Remove variable setting.
81075         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81077 2012-03-08  Richard Henderson  <rth@twiddle.net>
81079         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81080         from macro to inline function; merge with the
81081         !__LIBC_INTERNAL_MATH_INLINES version.
81082         (__ieee754_sqrtf): Likewise.
81084         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81085         to inline function.
81086         (__rintf, __floor, __floorf): Likewise.
81088         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81089         macro to inline function.
81090         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81092         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81093         not <math/math_private.h>.
81095 2012-03-08  David S. Miller  <davem@davemloft.net>
81097         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81098         copyright year.
81099         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81101 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81103         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81104         normalization.
81105         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81106         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81108 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81110         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81111         be defined individually, they must be defined as a block.  Define
81112         S for printing a string instead of hidint the different by using a
81113         macro for adding the 'l'.
81114         * stdio-common/tst-fphex-wide.c: Adjust.
81116 2012-03-07  Marek Polacek  <polacek@redhat.com>
81118         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81120 2012-03-08  Marek Polacek  <polacek@redhat.com>
81122         [BZ #13806]
81123         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81124         * stdio-common/tst-fphex.c: Define a few macros to make the
81125         test reusable.  Use them.
81126         * stdio-common/tst-fphex-wide.c: New file.
81128 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81130         [BZ #6911]
81131         * manual/macros.texi (gnusystems): New macro.
81132         (nongnusystems): Likewise.
81133         (gnulinuxhurdsystems): Likewise.
81134         (gnuhurdsystems): Likewise..
81135         (gnulinuxsystems): Likewise.
81136         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81137         variants of the GNU system, not "GNU system".
81138         * manual/conf.texi: Likewise.
81139         * manual/errno.texi: Likewise.  Update example of errno macro
81140         expansion.
81141         * manual/filesys.texi: Likewise.
81142         (getumask): Document as specific to GNU/Hurd.
81143         * manual/install.texi: Likewise.  Reword some references to
81144         GNU/Linux.
81145         * manual/intro.texi: Likewise.
81146         * manual/io.texi: Likewise.
81147         (File Name Portability): Detail which constraints are inapplicable
81148         to all GNU systems and which are only inapplicable to GNU/Hurd.
81149         * manual/job.texi: Likewise.
81150         * manual/llio.texi: Likewise.
81151         (O_NOCTTY): Document as present on GNU/Linux.
81152         * manual/maint.texi: Likewise.
81153         * manual/memory.texi: Likewise.
81154         * manual/pattern.texi: Likewise.
81155         * manual/pipe.texi: Likewise.
81156         * manual/process.texi: Likewise.
81157         * manual/resource.texi: Likewise.
81158         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81159         child on GNU/Hurd.
81160         * manual/setjmp.texi: Likewise.
81161         * manual/signal.texi: Likewise.
81162         * manual/startup.texi: Likewise.
81163         * manual/stdio.texi: Likewise.
81164         * manual/terminal.texi: Likewise.
81165         (ONLCR): Document as POSIX.
81166         (OXTABS): Document availability on GNU/Linux as XTABS.
81167         (ONOEOT): Document availability separately from other bits.
81168         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81169         * manual/time.texi: Likewise.
81170         * manual/users.texi: Likewise.
81171         * INSTALL: Regenerated.
81172         * sysdeps/gnu/errlist.c: Regenerated.
81174         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81175         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81176         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81177         puts.
81178         * configure: Regenerated.
81180 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81182         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81183         default includes instead of AC_HEADER_CHECK.
81184         * sysdeps/i386/configure: Regenerated.
81186         [BZ #10716]
81187         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81188         * math/s_cacoshf.c (__cacoshf): Likewise.
81189         * math/s_cacoshl.c (__cacoshl): Likewise.
81190         * math/s_casinh.c (__casinh): Set signs of result from argument.
81191         * math/s_casinhf.c (__casinhf): Likewise.
81192         * math/s_casinhl.c (__casinhl): Likewise.
81193         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81194         (casinh_test): Add more tests.
81195         * sysdeps/i386/fpu/libm-test-ulps: Update.
81196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81198 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81200         * po/zh_TW.po: Update from translation team.
81202         * login/Makefile (distribute): Remove variable.
81203         * catgets/Makefile: Likewise.
81204         * mach/Makefile: Likewise.
81205         * malloc/Makefile: Likewise.
81206         * misc/Makefile: Likewise.
81207         * iconv/Makefile: Likewise.
81208         * nscd/Makefile: Likewise.
81209         * hurd/Makefile: Likewise.
81210         * manual/Makefile: Likewise.
81211         * locale/Makefile: Likewise.
81212         * intl/Makefile: Likewise.
81213         * conform/Makefile: Likewise.
81214         * nss/Makefile: Likewise.
81215         * time/Makefile: Likewise.
81216         * soft-fp/Makefile: Likewise.
81217         * dirent/Makefile: Likewise.
81218         * gmon/Makefile: Likewise.
81219         * po/Makefile: Likewise.
81220         * rt/Makefile: Likewise.
81221         * socket/Makefile: Likewise.
81222         * math/Makefile: Likewise.
81223         * signal/Makefile: Likewise.
81224         * debug/Makefile: Likewise.
81225         * elf/Makefile: Likewise.
81226         * timezone/Makefile: Likewise.
81227         * stdlib/Makefile: Likewise.
81228         * iconvdata/Makefile: Likewise.
81229         * sunrpc/Makefile: Likewise.
81230         * io/Makefile: Likewise.
81231         * argp/Makefile: Likewise.
81232         * inet/Makefile: Likewise.
81233         * hesiod/Makefile: Likewise.
81234         * grp/Makefile: Likewise.
81235         * csu/Makefile: Likewise.
81236         * wctype/Makefile: Likewise.
81237         * crypt/Makefile: Likewise.
81238         * libio/Makefile: Likewise.
81239         * string/Makefile: Likewise.
81240         * nis/Makefile: Likewise.
81241         * resolv/Makefile: Likewise.
81242         * stdio-common/Makefile: Likewise.
81243         * wcsmbs/Makefile: Likewise.
81244         * dlfcn/Makefile: Likewise.
81245         * posix/Makefile: Likewise.
81247         [BZ #6959]
81248         * timezone/Makefile: Don't install timezone files, just the programs
81249         and scripts.
81251 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81253         * nss/databases.def: Add missing gshadow entry.
81255         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81257 2012-03-06  Marek Polacek  <polacek@redhat.com>
81259         [BZ #13726]
81260         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81261         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81262         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81263         * stdio-common/tst-long-dbl-fphex.c: New file.
81265 2012-03-06  David S. Miller  <davem@davemloft.net>
81267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81268         (set_obp_int): New function.
81269         (get_obp_int): New function.
81270         (__get_clockfreq_via_dev_openprom): Likewise.
81271         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81272         Avoid unused variable warnings on 'val' and use builtin_expect.
81273         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81274         __builtin_expect.
81275         (INLINE_CLONE_SYSCALL): Likewise.
81277 2012-03-05  David S. Miller  <davem@davemloft.net>
81279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81281 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81285         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81286         only for |x| >= 40.
81287         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81289 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81291         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81292         Replace gettimeofday with __vdso_gettimeofday.
81294         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81295         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81296         __vdso_clock_gettime and __vdso_getcpu.
81298         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81299         time with __vdso_time.
81301 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81303         * manual/lang.texi (size_t): Note types to which size_t may be
81304         equivalent with the GNU C Library, but do not describe when
81305         differences between them are significant.
81307 2012-03-05  Andreas Jaeger  <aj@suse.de>
81309         * sysdeps/i386/fpu/libm-test-ulps: Update.
81311 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81313         [BZ #3976]
81314         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81315         (__ieee754_pow): Save and restore rounding mode and use
81316         round-to-nearest for main computations.
81317         * math/libm-test.inc (pow_test_tonearest): New function.
81318         (pow_test_towardzero): Likewise.
81319         (pow_test_downward): Likewise.
81320         (pow_test_upward): Likewise.
81321         (main): Call the new functions.
81322         * sysdeps/i386/fpu/libm-test-ulps: Update.
81323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81325         [BZ #3976]
81326         * math/libm-test.inc (cosh_test_tonearest): New function.
81327         (cosh_test_towardzero): Likewise.
81328         (cosh_test_downward): Likewise.
81329         (cosh_test_upward): Likewise.
81330         (sinh_test_tonearest): Likewise.
81331         (sinh_test_towardzero): Likewise.
81332         (sinh_test_downward): Likewise.
81333         (sinh_test_upward): Likewise.
81334         (main): Call the new functions.
81335         * sysdeps/i386/fpu/libm-test-ulps: Update.
81336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81338 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81340         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81341         default stack guard is set in last bytes.
81342         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81344 2012-03-05  Kees Cook  <keescook@chromium.org>
81346         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81348         [BZ #13656]
81349         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81350         possibly allocate from heap instead of stack.
81351         * stdio-common/bug-vfprintf-nargs.c: New file.
81352         * stdio-common/Makefile (tests): Add nargs overflow test.
81354 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81358 2012-03-03  Marek Polacek  <polacek@redhat.com>
81360         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81361         * math/math_private.h: Likewise.
81362         * stdlib/tst-strtod.c: Likewise.
81363         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81364         * sysdeps/x86_64/bits/atomic.h: Likewise.
81366 2012-03-02  David S. Miller  <davem@davemloft.net>
81368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81372         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81373         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81374         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81375         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81377 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81379         [BZ #13792]
81380         * manual/examples/README: New file, says the example source files
81381         can be used under GPL>=2.
81382         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81383         line containing just "*/".
81384         * manual/examples/add.c: Add copyright header (GPL>=2).
81385         * manual/examples/argp-ex1.c: Likewise.
81386         * manual/examples/argp-ex2.c: Likewise.
81387         * manual/examples/argp-ex3.c: Likewise.
81388         * manual/examples/argp-ex4.c: Likewise.
81389         * manual/examples/atexit.c: Likewise.
81390         * manual/examples/db.c: Likewise.
81391         * manual/examples/dir.c: Likewise.
81392         * manual/examples/dir2.c: Likewise.
81393         * manual/examples/execinfo.c: Likewise.
81394         * manual/examples/filecli.c: Likewise.
81395         * manual/examples/filesrv.c: Likewise.
81396         * manual/examples/fmtmsgexpl.c: Likewise.
81397         * manual/examples/genpass.c: Likewise.
81398         * manual/examples/inetcli.c: Likewise.
81399         * manual/examples/inetsrv.c: Likewise.
81400         * manual/examples/isockad.c: Likewise.
81401         * manual/examples/longopt.c: Likewise.
81402         * manual/examples/memopen.c: Likewise.
81403         * manual/examples/memstrm.c: Likewise.
81404         * manual/examples/mkfsock.c: Likewise.
81405         * manual/examples/mkisock.c: Likewise.
81406         * manual/examples/mygetpass.c: Likewise.
81407         * manual/examples/pipe.c: Likewise.
81408         * manual/examples/popen.c: Likewise.
81409         * manual/examples/rprintf.c: Likewise.
81410         * manual/examples/search.c: Likewise.
81411         * manual/examples/select.c: Likewise.
81412         * manual/examples/setjmp.c: Likewise.
81413         * manual/examples/sigh1.c: Likewise.
81414         * manual/examples/sigusr.c: Likewise.
81415         * manual/examples/stpcpy.c: Likewise.
81416         * manual/examples/strdupa.c: Likewise.
81417         * manual/examples/strftim.c: Likewise.
81418         * manual/examples/strncat.c: Likewise.
81419         * manual/examples/subopt.c: Likewise.
81420         * manual/examples/swapcontext.c: Likewise.
81421         * manual/examples/termios.c: Likewise.
81422         * manual/examples/testopt.c: Likewise.
81423         * manual/examples/testpass.c: Likewise.
81424         * manual/examples/timeval_subtract.c: Likewise.
81426         [BZ #13792]
81427         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81428         function to ...
81429         * manual/timeval_subtract.c.texi: ... here, new file.
81431 2012-03-02  David S. Miller  <davem@davemloft.net>
81433         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81435 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81437         [BZ #3976]
81438         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81439         (__sin): Save and restore rounding mode and use round-to-nearest
81440         for all computations.
81441         (__cos): Save and restore rounding mode and use round-to-nearest
81442         for all computations.
81443         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81444         <fenv.h>.
81445         (tan): Save and restore rounding mode and use round-to-nearest for
81446         all computations.
81447         * math/libm-test.inc (cos_test_tonearest): New function.
81448         (cos_test_towardzero): Likewise.
81449         (cos_test_downward): Likewise.
81450         (cos_test_upward): Likewise.
81451         (sin_test_tonearest): Likewise.
81452         (sin_test_towardzero): Likewise.
81453         (sin_test_downward): Likewise.
81454         (sin_test_upward): Likewise.
81455         (tan_test_tonearest): Likewise.
81456         (tan_test_towardzero): Likewise.
81457         (tan_test_downward): Likewise.
81458         (tan_test_upward): Likewise.
81459         (main): Call the new functions.
81460         * sysdeps/i386/fpu/libm-test-ulps: Update.
81461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81463         [BZ #10135]
81464         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81465         small n, then large n, before computing and testing k+n.
81466         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81467         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81468         Likewise.
81469         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81470         Likewise.
81471         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81472         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81473         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81474         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81475         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81476         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81477         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81478         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81479         * math/libm-test.inc (scalbn_test): Add more tests.
81480         (scalbln_test): Likewise.
81482         * manual/filesys.texi (mode_t): Describe constraints on size and
81483         signedness, not exact equivalence to a particular type.
81484         (ino_t): Likewise.
81485         (ino64_t): Likewise.
81486         (dev_t): Likewise.
81487         (nlink_t): Likewise.
81488         (blkcnt_t): Likewise.
81489         (blkcnt64_t): Likewise.
81490         * manual/llio.texi (off_t): Likewise.
81492         [BZ #3976]
81493         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81494         (__ieee754_exp): Save and restore rounding mode and use
81495         round-to-nearest for all computations.
81496         * math/libm-test.inc (exp_test_tonearest): New function.
81497         (exp_test_towardzero): Likewise.
81498         (exp_test_downward): Likewise.
81499         (exp_test_upward): Likewise.
81500         (main): Call the new functions.
81501         * sysdeps/i386/fpu/libm-test-ulps: Update.
81502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81504 2012-03-01  Chris Demetriou  <cgd@google.com>
81506         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81507         have predictable order.
81509 2012-03-01  David S. Miller  <davem@davemloft.net>
81511         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81513         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81514         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81515         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81516         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81518         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81519         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81520         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81522         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81523         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81524         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81525         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81526         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81530         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81531         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81532         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81534         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81535         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81536         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81537         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81538         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81539         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81540         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81541         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81542         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81543         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81544         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81545         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81546         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81547         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81548         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81549         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81550         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81551         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81552         * sysdeps/sparc/elf/configure: Regenerated.
81554 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81556         * configure.in (AS, LD): Require binutils 2.20 or later.
81557         * configure: Regenerated.
81558         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81559         as required minimum version.
81560         * INSTALL: Regenerated.
81562         [BZ #2541]
81563         [BZ #4108]
81564         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81565         before squaring exponent.
81566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81567         bottom long double and 27 bits of top long double before squaring
81568         exponent.
81569         * math/libm-test.inc (erfc_test): Add more tests.
81570         * sysdeps/i386/fpu/libm-test-ulps: Update.
81571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81574 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81576         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81577         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81578         containing bit-fields.
81579         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81580         * soft-fp/single.h (_FP_UNION_S): Likewise.
81581         * soft-fp/double.h (_FP_UNION_D): Likewise.
81583 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81585         [BZ #13786]
81586         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81587         not include ../strcmp.S.
81588         [USE_AS_STRNCASECMP_L]: Likewise.
81589         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81590         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81591         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81592         (__strncasecmp_l_ia32): Define as alias to
81593         __strncasecmp_l_nonascii.
81595         [BZ #5794]
81596         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81597         * sysdeps/i386/fpu/libm-test-ulps: Update.
81598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81600         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81603 2012-02-29  Jeff Law  <law@redhat.com>
81605         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81606         out of bounds read.
81608 2012-02-29  Marek Polacek  <polacek@redhat.com>
81610         [BZ #13706]
81611         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81612         * elf/Makefile: Add rules to run tst-unused-dep.out.
81614 2012-02-28  David S. Miller  <davem@davemloft.net>
81616         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81617         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81618         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81619         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81620         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81621         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81623 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81625         * math/libm-test.inc (llround_test): Move one test from
81626         lround_test.  Use TEST_f_L in moved test.
81627         (lround_test): Move misplaced test to llround_test.  Add testcase
81628         from bug 2561.
81630 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81632         * sysdeps/x86_64/fpu/e_expf.S: New file.
81633         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81635 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81637         [BZ #13637]
81638         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81639         of remain_len that may cause incomplete multi-byte character and
81640         false match.
81641         * posix/bug-regex33.c: New file.
81642         * posix/Makefile (tests): Add bug-regex33.
81644 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81646         * manual/macros.texi: New file.
81647         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81648         * manual/libc.texinfo: Include macros.texi.
81649         * manual/creatute.texi: Likewise.
81650         * manual/install.texi: Likewise.
81651         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81652         @glibcadj{} in references to the GNU C Library.
81653         * manual/charset.texi: Likewise.
81654         * manual/conf.texi: Likewise.
81655         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81656         when not using those macros.
81657         * manual/creature.texi: Likewise.
81658         * manual/crypt.texi: Likewise.
81659         * manual/errno.texi: Likewise.
81660         * manual/filesys.texi: Likewise.
81661         * manual/header.texi: Likewise.
81662         * manual/install.texi: Likewise.
81663         * manual/intro.texi: Likewise.
81664         * manual/io.texi: Likewise.
81665         * manual/job.texi: Likewise.
81666         * manual/lang.texi: Likewise.
81667         * manual/libc.texiinfo: Likewise.
81668         * manual/llio.texi: Likewise.
81669         * manual/locale.texi: Likewise.
81670         * manual/maint.texi: Likewise.
81671         * manual/math.texi: Likewise.
81672         * manual/memory.texi: Likewise.
81673         * manual/message.texi: Likewise.
81674         * manual/nss.texi: Likewise.
81675         * manual/pattern.texi: Likewise.
81676         * manual/process.texi: Likewise.
81677         * manual/resource.texi: Likewise.
81678         * manual/search.texi: Likewise.
81679         * manual/setjmp.texi: Likewise.
81680         * manual/signal.texi: Likewise.
81681         * manual/socket.texi: Likewise.
81682         * manual/startup.texi: Likewise.
81683         * manual/stdio.texi: Likewise.
81684         * manual/string.texi: Likewise.
81685         * manual/sysinfo.texi: Likewise.
81686         * manual/syslog.texi: Likewise.
81687         * manual/terminal.texi: Likewise.
81688         * manual/time.texi: Likewise.
81689         * manual/users.texi: Likewise.
81690         * INSTALL: Regenerated.
81691         * NOTES: Regenerated.
81692         * sysdeps/gnu/errlist.c: Regenerated.
81694 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81696         * include/dirent.h: Include <dirstream.h> before
81697         <dirent/dirent.h>.
81699 2012-02-28  David S. Miller  <davem@davemloft.net>
81701         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81702         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81703         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81704         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81706 2012-02-27  David S. Miller  <davem@davemloft.net>
81708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81710         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81711         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81714         frame pointer instead of stack pointer relative arg slot.
81715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81716         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81717         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81719 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81721         [BZ #3992]
81722         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81724 2012-02-27  David S. Miller  <davem@davemloft.net>
81726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81730         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81731         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81732         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81733         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81735 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81737         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81738         later.  Allow versions 5-9.
81739         * configure: Regenerated.
81740         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81741         required minimum version and 4.6 as recommended version.  Do not
81742         mention bugs in GCC 2.7 and 2.8.
81743         * INSTALL: Regenerated.
81745 2012-02-27  David S. Miller  <davem@davemloft.net>
81747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81751         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81752         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81753         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81754         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81756         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81757         manipulate bits before adding and subtracting TWO112[sx].
81758         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81760 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81762         [BZ #13775]
81763         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81764         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81765         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81766         being in POSIX, because they are in 1003.1-2008.
81768         * rt/tst-aio.c: Include <fcntl.h>.
81769         * rt/tst-aio7.c: Likewise.
81770         * rt/tst-aio64.c: Likewise.
81772         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81774 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81776         * manual/install.texi (--with-headers): Describe headers as
81777         interface headers, not private headers.
81778         (Specific advice for GNU/Linux systems): Describe use of headers
81779         from "make headers_install", not private headers from older
81780         kernels.
81781         * INSTALL: Regenerated.
81782         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81783         Change to 2.6.19.
81784         * sysdeps/unix/sysv/linux/configure: Regenerated.
81786         * manual/llio.texi (fclean): Remove documentation.
81788         * manual/Makefile (libc-texi-generated): New variable.  Include
81789         version.texi.
81790         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81791         $(libc-texi-generated), not duplicated list of files.
81792         (version.texi, stamp-version): New rules.
81793         (realclean): Remove $(libc-texi-generated), not individual files
81794         from that list.  Do not remove dir-add.texinfo.
81795         * manual/libc.texinfo: Comment out uses of edition numbers and
81796         references to printed manual.  Remove last-updated dates.
81797         (EDITION): Comment out.
81798         (ISBN): Likewise.
81799         (VERSION, UPDATED): Remove.
81800         (version.texi): Include.
81802 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81804         * sysdeps/posix/spawni.c: Include <signal.h>.
81805         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81806         * sysdeps/pthread/aio_fsync.c: Likewise.
81808 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81810         * conform/Makefile (tests): Run only when not cross-compiling and
81811         when fast-check is not defined.
81813         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81814         * conform/data/limits.h-data: Fixes for POSIX2008.
81815         * conform/run-conformtest.sh: Run all tests.
81816         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81817         headers.
81818         * include/bits/dlfcn.h: Likewise.
81819         * include/langinfo.h: Likewise.
81820         * include/monetary.h: Likewise.
81821         * include/sys/poll.h: Likewise.
81823         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81824         for __USE_GNU.
81825         * posix/spawn.h: Define __need_sigset_t.
81826         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81827         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81828         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81829         to get sigevent_t only.
81830         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81831         only for __USE_GNU.
81832         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81833         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81834         process_vm_writev only for __USE_GNU.
81835         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81837         * conform/Makefile: For now ignore errors from run-conformtest.
81838         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81839         POSIX to avoid namespace pollution.  Don't prepend headers.
81840         * conform/data/aio.h-data: Fixes for POSIX testing.
81841         * conform/data/fcntl.h-data: Likewise.
81842         * conform/data/glob.h-data: Likewise.
81843         * conform/data/grp.h-data: Likewise.
81844         * conform/data/pthread.h-data: Likewise.
81845         * conform/data/pwd.h-data: Likewise.
81846         * conform/data/signal.h-data: Likewise.
81847         * conform/data/spawn.h-data: Likewise.
81848         * conform/data/stdio.h-data: Likewise.
81849         * conform/data/stdlib.h-data: Likewise.
81850         * conform/data/stropts.h-data: Likewise.
81851         * conform/data/sys/mman.h-data: Likewise.
81852         * conform/data/sys/stat.h-data: Likewise.
81853         * conform/data/sys/types.h-data: Likewise.
81854         * conform/data/sys/wait.h-data: Likewise.
81855         * conform/data/time.h-data: Likewise.
81856         * conform/data/unistd.h-data: Likewise.
81857         * conform/data/utime.h-data: Likewise.
81859         * io/sys/stat.h: fchmod was always in POSIX.
81860         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81861         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81862         * rt/aio.h: Define __need_timespec before including <time.h>.
81863         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81864         struct.  Add forward declaration of pthread_attr_t and use it in
81865         sigevent.
81866         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81868         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81869         always remove CLK_TCK definition.
81871 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81873         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81875 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81877         * conform/run-conformtest.sh: New file.
81878         * conform/Makefile: Run run-conformtest for tests.
81879         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81880         support.
81882         * conform/data/uchar.h-data: New file.
81883         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81884         * conform/data/arpa/inet.h-data: Likewise.
81885         * conform/data/assert.h-data: Likewise.
81886         * conform/data/complex.h-data: Likewise.
81887         * conform/data/cpio.h-data: Likewise.
81888         * conform/data/ctype.h-data: Likewise.
81889         * conform/data/dirent.h-data: Likewise.
81890         * conform/data/dlfcn.h-data: Likewise.
81891         * conform/data/errno.h-data: Likewise.
81892         * conform/data/fcntl.h-data: Likewise.
81893         * conform/data/float.h-data: Likewise.
81894         * conform/data/fmtmsg.h-data: Likewise.
81895         * conform/data/fnmatch.h-data: Likewise.
81896         * conform/data/ftw.h-data: Likewise.
81897         * conform/data/glob.h-data: Likewise.
81898         * conform/data/grp.h-data: Likewise.
81899         * conform/data/iconv.h-data: Likewise.
81900         * conform/data/inttypes.h-data: Likewise.
81901         * conform/data/langinfo.h-data: Likewise.
81902         * conform/data/libgen.h-data: Likewise.
81903         * conform/data/limits.h-data: Likewise.
81904         * conform/data/locale.h-data: Likewise.
81905         * conform/data/math.h-data: Likewise.
81906         * conform/data/monetary.h-data: Likewise.
81907         * conform/data/mqueue.h-data: Likewise.
81908         * conform/data/ndbm.h-data: Likewise.
81909         * conform/data/net/if.h-data: Likewise.
81910         * conform/data/netdb.h-data: Likewise.
81911         * conform/data/netinet/in.h-data: Likewise.
81912         * conform/data/nl_types.h-data: Likewise.
81913         * conform/data/poll.h-data: Likewise.
81914         * conform/data/pthread.h-data: Likewise.
81915         * conform/data/pwd.h-data: Likewise.
81916         * conform/data/regex.h-data: Likewise.
81917         * conform/data/sched.h-data: Likewise.
81918         * conform/data/search.h-data: Likewise.
81919         * conform/data/semaphore.h-data: Likewise.
81920         * conform/data/setjmp.h-data: Likewise.
81921         * conform/data/signal.h-data: Likewise.
81922         * conform/data/spawn.h-data: Likewise.
81923         * conform/data/stdarg.h-data: Likewise.
81924         * conform/data/stdio.h-data: Likewise.
81925         * conform/data/stdlib.h-data: Likewise.
81926         * conform/data/string.h-data: Likewise.
81927         * conform/data/strings.h-data: Likewise.
81928         * conform/data/stropts.h-data: Likewise.
81929         * conform/data/sys/ipc.h-data: Likewise.
81930         * conform/data/sys/mman.h-data: Likewise.
81931         * conform/data/sys/msg.h-data: Likewise.
81932         * conform/data/sys/resource.h-data: Likewise.
81933         * conform/data/sys/select.h-data: Likewise.
81934         * conform/data/sys/sem.h-data: Likewise.
81935         * conform/data/sys/shm.h-data: Likewise.
81936         * conform/data/sys/socket.h-data: Likewise.
81937         * conform/data/sys/stat.h-data: Likewise.
81938         * conform/data/sys/statvfs.h-data: Likewise.
81939         * conform/data/sys/time.h-data: Likewise.
81940         * conform/data/sys/timeb.h-data: Likewise.
81941         * conform/data/sys/times.h-data: Likewise.
81942         * conform/data/sys/types.h-data: Likewise.
81943         * conform/data/sys/uio.h-data: Likewise.
81944         * conform/data/sys/un.h-data: Likewise.
81945         * conform/data/sys/utsname.h-data: Likewise.
81946         * conform/data/sys/wait.h-data: Likewise.
81947         * conform/data/syslog.h-data: Likewise.
81948         * conform/data/tar.h-data: Likewise.
81949         * conform/data/termios.h-data: Likewise.
81950         * conform/data/utime.h-data: Likewise.
81951         * conform/data/utmpx.h-data: Likewise.
81952         * conform/data/varargs.h-data: Likewise.
81953         * conform/data/wchar.h-data: Likewise.
81954         * conform/data/wctype.h-data: Likewise.
81955         * conform/data/wordexp.h-data: Likewise.
81957         * include/stropts.h: New file.
81958         * include/uchar.h: New file.
81959         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81960         * include/assert.h: Likewise.
81961         * include/ctype.h: Likewise.
81962         * include/dirent.h: Likewise.
81963         * include/dlfcn.h: Likewise.
81964         * include/fcntl.h: Likewise.
81965         * include/fnmatch.h: Likewise.
81966         * include/glob.h: Likewise.
81967         * include/grp.h: Likewise.
81968         * include/libio.h: Likewise.
81969         * include/locale.h: Likewise.
81970         * include/math.h: Likewise.
81971         * include/net/if.h: Likewise.
81972         * include/netdb.h: Likewise.
81973         * include/netinet/in.h: Likewise.
81974         * include/pthread.h: Likewise.
81975         * include/pwd.h: Likewise.
81976         * include/regex.h: Likewise.
81977         * include/sched.h: Likewise.
81978         * include/search.h: Likewise.
81979         * include/setjmp.h: Likewise.
81980         * include/signal.h: Likewise.
81981         * include/stdio.h: Likewise.
81982         * include/stdlib.h: Likewise.
81983         * include/string.h: Likewise.
81984         * include/sys/cdefs.h: Likewise.
81985         * include/sys/mman.h: Likewise.
81986         * include/sys/msg.h: Likewise.
81987         * include/sys/resource.h: Likewise.
81988         * include/sys/select.h: Likewise.
81989         * include/sys/socket.h: Likewise.
81990         * include/sys/stat.h: Likewise.
81991         * include/sys/statvfs.h: Likewise.
81992         * include/sys/time.h: Likewise.
81993         * include/sys/times.h: Likewise.
81994         * include/sys/uio.h: Likewise.
81995         * include/sys/utsname.h: Likewise.
81996         * include/sys/wait.h: Likewise.
81997         * include/termios.h: Likewise.
81998         * include/time.h: Likewise.
81999         * include/ulimit.h: Likewise.
82000         * include/unistd.h: Likewise.
82001         * include/utime.h: Likewise.
82002         * include/wchar.h: Likewise.
82003         * include/wctype.h: Likewise.
82004         * include/wordexp.h: Likewise.
82006         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82008         * time/time.h: TIME_UTC must be a macro.
82009         Make timespec_get available for ISO C11 only as well.
82011 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82013         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82014         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82016 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82018         * configure.in: Use -o not -a in test for unsupported multi-arch.
82020 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82022         * manual/texinfo.tex: Update to version 2012-01-19.16.
82024 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82026         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82028 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82030         [BZ #13738]
82031         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82032         * manual/fdl-1.3.texi: New file.
82033         * manual/fdl-1.1.texi: File removed.
82035         [BZ #13738]
82036         * manual/libc.texinfo (FDL_VERSION): New @set.
82037         Use it for mention of FDL in cover text.
82038         (Documentation License): Use it in @include file name.
82040 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82041             Roland McGrath  <roland@hack.frob.com>
82043         [BZ #5461]
82044         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82045         (not LONG_LONG_MAX and LONG_LONG_MIN.
82046         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82047         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82048         name.
82049         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82051 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82053         [BZ #2547]
82054         [BZ #11365]
82055         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82056         manipulate bits before adding and subtracting TWO23[sx].
82057         * math/libm-test.inc (nearbyint_test): Add more tests.
82059 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82061         [BZ #2548]
82062         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82063         bits before adding and subtracting TWO23[sx].
82064         * math/libm-test.inc (rint_test): Add more tests.
82065         (rint_test_tonearest): Likewise.
82066         (rint_test_towardzero): Likewise.
82067         (rint_test_downward): Likewise.
82068         (rint_test_upward: Likewise.
82070 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82072         [BZ #10110]
82073         * include/stdc-predef.h: New file.  Extracted from features.h.
82074         * include/features.h: Include stdc-predef.h.
82075         * Makefile (headers): Add stdc-predef.h.
82076         * CONFORMANCE (Compiler limitations): Update.
82078 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82080         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82082 2012-02-21  David S. Miller  <davem@davemloft.net>
82084         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82085         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82087 2012-02-20  David S. Miller  <davem@davemloft.net>
82089         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82090         using a normal save/restore sequence, rather than allocating a
82091         dummy stack frame just to store a frame pointer and restore.
82092         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82094 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82096         * manual/install.texi: Fix stray word in line-wrapped comment.
82098 2012-02-20  David S. Miller  <davem@davemloft.net>
82100         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82101         both binutils and gcc support GOTDATA.
82103         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82104         "rd %pc" in the PIC register setup sequences.
82106         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82107         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82108         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82109         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82110         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82111         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82112         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82113         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82115         (SYSCALL_ERROR_HANDLER): Likewise.
82116         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82117         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82118         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82119         (SYSCALL_ERROR_HANDLER): Likewise.
82121         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82122         (HAVE_GCC_GOTDATA): New.
82123         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82124         relocation support in both binutils and gcc.
82125         * sysdeps/sparc/elf/configure: Regenerate.
82127         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82128         * sysdeps/sparc/sparc32/elf/configure: Delete.
82129         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82130         * sysdeps/sparc/sparc64/elf/configure: Delete.
82131         * sysdeps/sparc/elf/configure.in: New file.
82132         * sysdeps/sparc/elf/configure: Generate.
82134         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82135         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82136         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82137         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82138         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82140 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82142         * manual/install.texi: Do not mention specific glibc version
82143         numbers.
82144         * manual/libc.texinfo (VERSION, UPDATED): Update.
82145         (@copying): Use @copyright{} and range of years.
82147 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82149         [BZ #13695]
82150         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82151         [crti.S not in sysdirs] (generated): Do not append.
82152         [crti.S not in sysdirs] (omit-deps): Likewise.
82153         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82154         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82155         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82156         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82157         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82158         Likewise.
82159         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82160         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82161         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82162         * csu/defs.awk: Remove file.
82163         * sysdeps/generic/initfini.c: Likewise.
82164         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82165         variable.
82166         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82167         Likewise.
82169 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82171         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82172         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82173         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82174         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82175         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82176         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82177         <bits/epoll.h>.
82178         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82179         (__EPOLL_PACKED): Define to empty if not defined by
82180         <bits/epoll.h>.
82181         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82183         bits/epoll.h.
82185 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82187         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82188         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82189         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82190         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82191         <bits/timerfd.h>.
82192         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82193         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82194         bits/timerfd.h.
82196 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82198         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82199         in C locale.
82200         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82201         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82202         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82205 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82207         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82208         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82210 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82212         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82213         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82214         defined.
82215         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82216         Likewise.
82217         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82218         entry for 2.16.
82220 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82222         * math/w_acos.c: Use non-signaling floating-point comparisons.
82223         * math/w_acosf.c: Likewise.
82224         * math/w_acosh.c: Likewise.
82225         * math/w_acoshf.c: Likewise.
82226         * math/w_acoshl.c: Likewise.
82227         * math/w_acosl.c: Likewise.
82228         * math/w_asin.c: Likewise.
82229         * math/w_asinf.c: Likewise.
82230         * math/w_asinl.c: Likewise.
82231         * math/w_atanh.c: Likewise.
82232         * math/w_atanhf.c: Likewise.
82233         * math/w_atanhl.c: Likewise.
82234         * math/w_exp2.c: Likewise.
82235         * math/w_exp2f.c: Likewise.
82236         * math/w_exp2l.c: Likewise.
82237         * math/w_j0.c: Likewise.
82238         * math/w_j0f.c: Likewise.
82239         * math/w_j0l.c: Likewise.
82240         * math/w_j1.c: Likewise.
82241         * math/w_j1f.c: Likewise.
82242         * math/w_j1l.c: Likewise.
82243         * math/w_jn.c: Likewise.
82244         * math/w_jnf.c: Likewise.
82245         * math/w_log.c: Likewise.
82246         * math/w_log10.c: Likewise.
82247         * math/w_log10f.c: Likewise.
82248         * math/w_log10l.c: Likewise.
82249         * math/w_log2.c: Likewise.
82250         * math/w_log2f.c: Likewise.
82251         * math/w_log2l.c: Likewise.
82252         * math/w_logf.c: Likewise.
82253         * math/w_logl.c: Likewise.
82254         * math/w_sqrt.c: Likewise.
82255         * math/w_sqrtf.c: Likewise.
82256         * math/w_sqrtl.c: Likewise.
82257         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82258         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82259         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82260         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82261         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82263 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82265         [BZ #9739]
82266         * manual/string.texi (strnlen): Use correct parameter name in
82267         equivalent expression.
82269 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82271         [BZ #11174]
82272         * manual/users.texi (seteuid): Consistently use neweuid for
82273         argument name.
82275 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82277         [BZ #13704]
82278         * manual/nss.texi (Services in the NSS configuration): Correct
82279         list of services in example configuration file.
82281 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82283         [BZ #11322]
82284         * manual/arith.texi: Remove statements about negative zero
82285         behaving identically to zero.
82287 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82289         [BZ #5993]
82290         * manual/install.texi: Do not document upgrading from libc5.
82292 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82294         [BZ #4596]
82295         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82297 2012-02-18  David S. Miller  <davem@davemloft.net>
82299         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82300         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82301         %o7 across the call.
82302         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82303         instead.
82304         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82305         SETUP_PIC_REG_LEAF.
82306         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82307         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82308         * sysdeps/sparc/crtn.S: Likewise.
82310 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82312         * aout/Makefile: Remove.
82314 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82316         [BZ #13058]
82317         * manual/examples/argp-ex1.c (main): Format definition in GNU
82318         style.
82319         * manual/examples/argp-ex2.c (main): Likewise.
82320         * manual/examples/argp-ex3.c (main): Likewise.
82321         * manual/examples/argp-ex4.c (main): Likewise.
82322         * manual/examples/longopt.c (main): Use new-style prototype
82323         definition.
82324         * manual/examples/strncat.c (main): Specify return type and use
82325         (void) for arguments.
82326         * manual/examples/subopt.c (main): Use char **argv argument.
82328 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82330         [BZ #5077]
82331         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82332         rounding modes.
82334 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82336         [BZ #6907]
82337         * manual/string.texi (strchr): Change when strchrnul is
82338         recommended.
82340 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82342         [BZ #174]
82343         * manual/locale.texi (setlocale): Document LOCPATH.
82345 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82347         [BZ #10210]
82348         * manual/process.texi (execle): Move @dots{} before last argument.
82350 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82352         [BZ #12047]
82353         * manual/charset.texi (Generic Charset Conversion): Fix typo
82354         (LC_TYPE -> LC_CTYPE).
82356 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82358         [BZ #5805]
82359         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82360         (scalbnf): Likewise.
82361         (scalbnl): Likewise.
82362         (scalbln): Likewise.
82363         (scalblnf): Likewise.
82364         (scalblnl): Likewise.
82365         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82366         (vwarnx): Likewise.
82367         (verr): Likewise.
82368         (verrx): Likewise.
82369         * manual/filesys.texi (telldir): Use braces around return type.
82370         * manual/llio.texi (mmap): Add space after comma.
82371         (mmap64): Likewise.
82372         * manual/math.texi (jn): Use @var{} on parameter names.
82373         (jnf): Likewise.
82374         (jnl): Likewise.
82375         (yn): Likewise.
82376         (ynf): Likewise.
82377         (ynl): Likewise.
82378         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82379         line.
82380         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82381         "...".
82382         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82383         (sched_get_priority_max): Likewise.
82384         * manual/signal.texi (sigvec): Add space after comma.
82385         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82386         names.
82387         (if_indextoname): Likewise.
82388         (if_freenameindex): Likewise.
82389         (sendto): Use ',' instead of '.' in prototype.
82390         * manual/startup.texi (syscall): Use @dots{} instead of literal
82391         "...".
82392         * manual/stdio.texi (__fpending): Separate initial words of
82393         paragraph from @deftypefun line.
82394         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82395         "...".
82396         (vsyslog): Use @var{} on parameter names.
82397         * manual/terminal.texi (stty): Use @var{} on parameter names.
82398         * manual/users.texi (getutmp): Use @var{} on parameter names.
82399         (getutmpx): Likewise.
82401 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82403         [BZ #6884]
82404         * manual/stdio.texi (fopen): Fix typos in description of
82405         ",ccs=STRING".
82407 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82409         [BZ #4026]
82410         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82411         get clock_id definition.
82413 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82415         [BZ #4822]
82416         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82417         (madvise): Cast every argument to void on its own.
82419 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82421         [BZ #9902]
82422         * manual/startup.texi (Exit Status): Fix typo.
82424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82426         [BZ #10140]
82427         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82428         * manual/examples/argp-ex2.c: Likewise.
82429         * manual/examples/argp-ex3.c: Likewise.
82431 2012-02-16  Richard Henderson  <rth@redhat.com>
82433         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82434         * sysdeps/s390/s390-32/initfini.c: Remove.
82435         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82436         * sysdeps/s390/s390-64/initfini.c: Remove.
82438 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82440         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82441         compiler output for sysdeps/generic/initfini.c.
82442         * sysdeps/sh/elf/initfini.c: Remove file.
82444 2012-02-16  David S. Miller  <davem@davemloft.net>
82446         [BZ #11494]
82447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82449         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82450         * sysdeps/sparc/crti.S: New file.
82451         * sysdeps/sparc/crtn.S: New file.
82452         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82453         * sysdeps/sparc/sparc64/Makefile: Likewise.
82455 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82457         [BZ #3335]
82458         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82460 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82462         [BZ #4822]
82463         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82465         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82466         (write, read, close): Likewise.
82467         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82469 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82471         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82472         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82473         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82474         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82475         <bits/signalfd.h>.
82476         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82478         bits/signalfd.h.
82480 2012-02-14  Marek Polacek  <polacek@redhat.com>
82482         * sysdeps/x86_64/crti.S: New file.
82483         * sysdeps/x86_64/crtn.S: New file.
82484         * sysdeps/x86_64/elf/initfini.c: Remove file.
82486 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82488         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82489         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82490         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82491         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82492         <bits/inotify.h>.
82493         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82494         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82495         bits/inotify.h.
82497 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82499         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82500         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82501         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82502         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82503         <bits/eventfd.h>.
82504         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82506         bits/eventfd.h.
82508 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82510         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82511         __feraiseexcept instead of feraiseexcept.
82513         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82514         nanosleep invocations.
82515         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82516         strings, and add error checking for a nanosleep invocations.
82518 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82520         Replace FSF snail mail address with URLs, as per GNU coding standards.
82521         Most of the snail mail addresses were wrong anyway, and omitting
82522         them makes the source code easier to maintain.  Almost all of the
82523         changes are to license notices and to locale LC_IDENTIFICATION
82524         addresses, except for this one:
82525         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82526         not its snail mail address.
82528 2012-02-09  Richard Henderson  <rth@twiddle.net>
82530         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82531         of kernel-features.h.
82533         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82535 2012-02-08  Marek Polacek  <polacek@redhat.com>
82537         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82538         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82539         * sysdeps/gnu/_G_config.h: Likewise.
82540         * sysdeps/generic/_G_config.h: Likewise.
82542 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82544         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82545         tests.
82546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82548         * sysdeps/powerpc/powerpc32/crti.S: New file.
82549         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82550         * sysdeps/powerpc/powerpc64/crti.S: New file.
82551         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82553         * Makeconfig (have-initfini): Don't set.
82554         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82555         * configure.in (nopic_initfini): Don't substitute.
82556         * config.h.in (HAVE_INITFINI): Don't #undef.
82557         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82558         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82560 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82562         Support crti.S and crtn.S provided directly by architectures.
82563         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82564         [crti.S in sysdirs] (omit-deps): Likewise.
82565         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82566         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82567         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82568         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82569         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82570         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82571         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82572         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82573         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82574         compiler output for sysdeps/generic/initfini.c.
82575         * sysdeps/i386/elf/Makefile: Remove file.
82576         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82578 2012-02-07  Marek Polacek  <polacek@redhat.com>
82580         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82581         * sysdeps/gnu/_G_config.h: Likewise.
82582         * sysdeps/mach/hurd/_G_config.h: Likewise.
82584 2012-02-07  Marek Polacek  <polacek@redhat.com>
82586         * math/Makefile (tests): Add tst-CMPLX2.
82587         * math/tst-CMPLX2.c: New file.
82589 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82591         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82593         * math/libm-test.inc (jn_test): Add missing L suffix.
82595 2012-02-06  Marek Polacek  <polacek@redhat.com>
82597         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82598         * sysdeps/i386/fpu/e_powf.S: Likewise.
82599         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82600         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82601         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82602         * sysdeps/i386/fpu/e_pow.S: Likewise.
82603         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82604         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82605         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82606         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82607         * sysdeps/i386/fpu/e_log2.S: Likewise.
82608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82609         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82610         * sysdeps/i386/fpu/e_powl.S: Likewise.
82611         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82612         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82613         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82614         * sysdeps/i386/fpu/e_logl.S: Likewise.
82615         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82616         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82617         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82618         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82619         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82620         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82621         * sysdeps/i386/fpu/e_log.S: Likewise.
82622         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82623         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82624         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82625         * sysdeps/i386/fpu/e_logf.S: Likewise.
82626         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82627         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82628         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82629         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82630         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82631         * sysdeps/i386/fpu/e_log10.S: Likewise.
82632         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82633         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82634         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82635         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82636         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82637         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82638         * sysdeps/i386/asm-syntax.h: Likewise.
82639         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82640         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82641         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82642         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82643         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82644         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82645         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82646         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82647         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82648         * sysdeps/powerpc/sysdep.h: Likewise.
82649         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82650         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82652 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82654         [BZ #411]
82655         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82657 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82659         * sysdeps/i386/sysdep.h: Include <features.h>.
82660         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82661         version.
82663 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82665         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82666         Define.
82667         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82668         LOAD_PIC_REG_STR.
82670 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82672         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82673         (SETUP_PIC_REG): Use GET_PC_THUNK.
82674         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82675         macro.
82677 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82679         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82680         for non-PIC compilation.
82681         (SETUP_PIC_REG): Add .p2align directive.
82682         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82683         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82684         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82685         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82686         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82687         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82688         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82689         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82690         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82691         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82692         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82693         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82694         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82695         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82696         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82697         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82698         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82699         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82700         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82701         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82702         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82703         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82704         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82705         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82706         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82707         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82708         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82709         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82710         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82711         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82712         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82713         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82714         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82715         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82716         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82717         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82718         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82719         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82720         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82721         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82722         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82724 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82726         * math/tst-CMPLX.c: Include <stdio.h>.
82728 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82730         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82731         float.
82732         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82733         * sysdeps/sparc/bits/mathdef.h: Likewise.
82735 2012-01-31  Marek Polacek  <polacek@redhat.com>
82737         * libio/libio.h: Don't define _PARAMS.
82738         * locale/programs/config.h: Don't define PARAMS.
82739         * stdlib/strtol_l.c: Likewise.
82740         (__strtol_l): Remove PARAMS from the prototype.
82742 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82744         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82745         names.  Just use the correct names.  Remove unnecessary wrapper
82746         functions.
82747         * malloc/arena.c: Likewise.
82748         * malloc/hooks.c: Likewise.
82750         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82751         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82752         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82754 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82756         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82757         into tail calls.
82758         (update_get_addr): New function.
82759         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82760         GET_ADDR_MODULE parameter.
82762 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82764         * crypt/cert.c: Remove __STDC__ conditionals.
82765         * crypt/crypt-entry.c: Likewise.
82766         * crypt/crypt_util.c: Likewise.
82767         * libio/filedoalloc.c: Likewise.
82768         * libio/fileops.c: Likewise.
82769         * libio/genops.c: Likewise.
82770         * libio/iofclose.c: Likewise.
82771         * libio/iofdopen.c: Likewise.
82772         * libio/iofopen.c: Likewise.
82773         * libio/iofopen64.c: Likewise.
82774         * libio/iogetdelim.c: Likewise.
82775         * libio/iopopen.c: Likewise.
82776         * libio/obprintf.c: Likewise.
82777         * libio/oldfileops.c: Likewise.
82778         * libio/oldiofclose.c: Likewise.
82779         * libio/oldiofdopen.c: Likewise.
82780         * libio/oldiofopen.c: Likewise.
82781         * libio/oldiopopen.c: Likewise.
82782         * libio/wfiledoalloc.c: Likewise.
82783         * libio/wgenops.c: Likewise.
82784         * locale/programs/xmalloc.c: Likewise.
82785         * misc/syslog.c: Likewise.
82786         * stdio-common/xbug.c: Likewise.
82787         * string/memchr.c: Likewise.
82788         * string/memcmp.c: Likewise.
82789         * string/memrchr.c: Likewise.
82790         * string/rawmemchr.c: Likewise.
82791         * sysdeps/posix/getcwd.c: Likewise.
82792         * time/strftime_l.c: Likewise.
82794 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82796         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82797         * config.make.in (config-cflags-sse2avx): Define.
82798         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82799         Fix typo.
82801 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82803         * scripts/config.guess: Update from upstream config git repository.
82804         * scripts/config.sub: Likewise.
82806 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82808         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82809         (EM_NUM): Update.
82810         (R_TILEPRO_*, R_TILEGX_*): New macros.
82812         * scripts/firstversions.awk: Fix bug in version range handling.
82814         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82816         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82818         * include/sys/epoll.h: New file.
82819         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82820         libc_hidden_def.
82822 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82824         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82825         Avoid unnecessary __WORDSIZE == 64 test.
82826         (fmaxf): Use VEX format if possible.
82827         (fmax): Likewise.
82828         (fminf): Likewise.
82829         (fmin): Likewise.
82831         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82832         * math/math_private.h: Remove libc_fegetround* and
82833         libc_fesetround*.
82834         * sysdeps/i386/configure.in: Check for -msse2avx.
82835         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82836         also if SSE2AVX is defined.
82837         Remove libc_fegetround* and libc_fesetround*.
82838         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82839         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82840         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82841         of HAS_YMM_USABLE.
82842         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82843         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82844         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82845         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82846         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82848         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82850 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82852         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82853         size is not set.
82854         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82856 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82858         [BZ #13618]
82859         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82860         relocation.
82861         * Makeconfig (libm): Define.
82862         * elf/Makefile: Add rules to build and run tst-relsort1.
82863         * elf/tst-relsort1.c: New file.
82864         * elf/tst-relsort1mod1.c: New file.
82865         * elf/tst-relsort1mod2.c: New file.
82867 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82869         * math/s_ldexp.c: Remove __STDC__ conditionals.
82870         * math/s_ldexpf.c: Likewise.
82871         * math/s_ldexpl.c: Likewise.
82872         * math/s_nextafter.c: Likewise.
82873         * math/s_nexttowardf.c: Likewise.
82874         * math/s_significand.c: Likewise.
82875         * math/s_significandf.c: Likewise.
82876         * math/s_significandl.c: Likewise.
82877         * math/w_jnl.c: Likewise.
82878         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82879         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82880         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82881         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82882         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82884         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82885         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82886         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82887         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82888         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82889         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82890         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82891         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82892         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82893         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82894         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82895         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82896         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82897         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82898         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82899         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82900         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82901         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82902         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82903         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82904         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82905         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82906         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82907         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82908         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82909         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82910         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82911         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82912         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82913         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82914         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82915         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82916         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82917         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82918         * sysdeps/ieee754/k_standard.c: Likewise.
82919         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82920         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82921         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82922         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82923         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82924         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82925         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82926         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82927         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82928         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82929         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82930         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82931         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82932         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82933         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82934         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82935         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82936         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82937         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82938         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82939         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82940         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82941         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82942         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82943         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82944         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82945         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82946         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82948         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82949         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82950         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82951         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82952         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82953         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82954         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82955         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82956         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82957         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82958         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82959         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82960         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82961         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82962         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82963         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82964         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82966         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82967         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82968         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82969         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82970         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82971         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82972         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82973         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82974         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82975         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82976         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82977         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82980         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82981         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82983         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82984         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82985         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82986         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82987         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82988         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82989         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82990         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82991         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82992         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82993         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82994         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82995         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82996         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82997         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82998         * sysdeps/ieee754/s_matherr.c: Likewise.
82999         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83000         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83004 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83006         * crypt/md5.h: Remove __STDC__ conditionals.
83007         * libio/libioP.h: Likewise.
83008         * locale/programs/config.h: Likewise.
83009         * sysdeps/generic/sysdep.h: Likewise.
83010         * sysdeps/i386/asm-syntax.h: Likewise.
83011         * sysdeps/s390/asm-syntax.h: Likewise.
83012         * sysdeps/unix/sysdep.h: Likewise.
83013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83016 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83018         * libio/libio.h: Remove __STDC__ conditionals.
83019         * malloc/obstack.h: Likewise.
83020         * math/complex.h: Likewise.
83021         * math/math.h: Likewise.
83022         * sysdeps/generic/_G_config.h: Likewise.
83023         * sysdeps/gnu/_G_config.h: Likewise.
83024         * sysdeps/mach/hurd/_G_config.h: Likewise.
83025         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83026         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83027         * sysdeps/sparc/bits/mathdef.h: Likewise.
83029 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83031         [BZ #13583]
83032         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83033         Clean up HAS_* macros.
83034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83035         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83036         possible.
83037         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83038         HAS_AVX.
83039         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83040         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83041         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83042         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83043         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83045 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83047         * elf/tst-unique3.cc (gets): Remove declaration.
83048         * elf/tst-unique3lib.cc (gets): Likewise.
83049         * elf/tst-unique3lib2.cc (gets): Likewise.
83050         * elf/tst-unique4.cc (gets): Likewise.
83052 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83054         * include/stdio.h: Add C++ protection.  Add gets declarations and
83055         definitions.
83056         * debug/tst-chk1.c: Don't declare gets here.
83057         * stdio-common/tst-gets.c: Likewise.
83059 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83061         * posix/glob: Remove directory.
83063 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83065         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83067 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83069         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83070         of the non-standard EPFNOSUPPORT.
83072 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83074         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83075         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83076         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83078 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83080         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83082 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83084         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83085         transient errors.
83086         * nscd/grpcache.c (cache_addgr): Likewise.
83087         * nscd/hstcache.c (cache_addhst): Likewise.
83088         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83089         * nscd/pwdcache.c (cache_addpw): Likewise.
83090         * nscd/servicescache.c (cache_addserv): Likewise.
83092 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83094         * malloc/malloc.c: Various cleanups.
83095         * malloc/hooks.c: Likewise.
83097         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83098         * stdlib/bug-fmtmsg1.c: New file.
83100         * stdlib/fmtmsg.c (init): Add missing unlock.
83101         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83103 2012-01-12  Marek Polacek  <polacek@redhat.com>
83105         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83106         and _GNU_SOURCE.
83108 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83110         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83111         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83112         macro to ensure uniqueness of label name.
83113         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83114         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83116 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83118         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83120         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83121         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83122         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83123         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83125 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83127         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83129         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83130         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83131         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83133         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83135         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83136         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83137         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83140         * math/bits/math-finite.h: Add ldexp support.
83142 2012-01-10  Marek Polacek  <polacek@redhat.com>
83144         * locale/programs/localedef.h (show_archive_content): Add noreturn
83145         attribute.
83147 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83149         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83151 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83153         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83155         * io/Makefile (headers): Add bits/poll2.h.
83157 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83160         typo #include statement.
83162 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83164         * include/sys/cdefs.h: Define __attribute_alloc_size.
83165         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83166         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83167         * elf/pldd.c: Likewise.
83168         * iconv/iconv_charmap.c: Likewise.
83169         * iconv/iconvconfig.c: Likewise.
83170         * iconv/strtab.c: Likewise.
83171         * locale/programs/locale.c: Likewise.
83172         * locale/programs/localedef.h: Likewise.
83173         * locale/programs/simple-hash.c: Likewise.
83174         * nscd/nscd.h: Likewise.
83175         * nss/makedb.c: Likewise.
83176         * sysdeps/generic/ldconfig.h: Likewise.
83177         * locale/programs/localedef.c: Remove xmalloc prototype.
83178         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83180 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83182         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83183         appropriate.
83185 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83187         * math/Makefile (tests): Add tst-CMPLX.
83188         * math/tst-CMPLX.c: New file.
83190         * math/complex.h (CMPLXL): Fix typo.
83192         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83193         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83194         GLIBC_2.16.
83195         * debug/tst-chk1.c: Add poll and ppoll tests.
83196         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83197         * include/sys/poll.h: Add hidden proto for ppoll.
83198         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83199         * sysdeps/mach/hurd/ppoll.c: Likewise.
83200         * io/ppoll.c: Likewise.
83201         * debug/poll_chk.c: New file.
83202         * debug/ppoll_chk.c: New file.
83203         * include/bits/poll2.h: New file.
83204         * io/bits/poll2.h: New file.
83206         [BZ #1350]
83207         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83209         * configure.in: static is always set to yes.  Remove.
83210         * config.make.in: Don't set build-static.
83211         * Makeconfig: Remove use of build-static.
83212         * dlfcn/Makefile: Likewise.
83213         * elf/Makefile: Likewise.
83214         * math/Makefile: Likewise.
83215         * misc/Makefile: Likewise.
83216         * nptl/Makefile: Likewise.
83217         * sysdeps/mach/hurd/Makefile: Likewise.
83219         * configure.in: PWD_P is not used anymore.
83220         * config.make.in: Remove PWD_P entry.
83222         * configure.in: Remove last remnants of RANLIB.
83223         No need to check for signed size_t anymore.
83224         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83225         and IA-64.
83226         Remove __builtin_expect test because we require at least gcc 3.4.
83227         * aclocal.m4: Likewise.
83229         * wcsmbs/mbrtoc16.c: Implement using towc function.
83230         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83231         * wcsmbs/wcsmbsload.c: Likewise.
83232         * iconv/gconv_simple.c: Likewise.
83233         * iconv/gconv_int.h: Likewise.
83234         * iconv/gconv_builtin.h: Likewise.
83235         * iconv/iconv_prog.c: Remove CHAR16 handling.
83237         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83239         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83241         * configure.in: Remove --with-elf and --enable-bounded options.
83242         Dont set base_machine for ia64.  More non-ELF conditions removed.
83243         Remove testing and setting of leading underscore information.
83244         * config.make.in (build-bounded): Set to no.
83245         * config.h.in: Remove NO_UNDERSCORES entry.
83246         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83247         them.
83248         * csu/start.c: Remove !NO_UNDERSCORE code.
83249         * locale/localeinfo.h: Likewise.
83250         * sysdeps/generic/machine-gmon.h: Likewise.
83251         * sysdeps/generic/sysdep.h: Likewise.
83252         * sysdeps/i386/sysdep.h: Likewise.
83253         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83254         * sysdeps/mach/sysdep.h: Likewise.
83255         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83256         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83257         * sysdeps/sh/sysdep.h: Likewise.
83258         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83259         * sysdeps/unix/i386/sysdep.S: Likewise.
83260         * sysdeps/unix/sparc/start.c: Likewise.
83261         * sysdeps/unix/sparc/sysdep.S: Likewise.
83262         * sysdeps/unix/sparc/sysdep.h: Likewise.
83263         * sysdeps/unix/start.c: Likewise.
83264         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83265         * sysdeps/x86_64/sysdep.h: Likewise.
83267 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83269         [BZ #13553]
83270         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83271         for non-gcc.
83272         * argp/argp-fmtstream.h: Use const instead __const.
83273         * argp/argp.h: Likewise.
83274         * assert/assert.h: Likewise.
83275         * bits/fenv.h: Likewise.
83276         * bits/sched.h: Likewise.
83277         * bits/sigset.h: Likewise.
83278         * bits/sigthread.h: Likewise.
83279         * catgets/nl_types.h: Likewise.
83280         * conform/data/pthread.h-data: Likewise.
83281         * crypt/crypt-private.h: Likewise.
83282         * crypt/crypt.h: Likewise.
83283         * crypt/crypt_util.c: Likewise.
83284         * ctype/ctype.h: Likewise.
83285         * debug/execinfo.h: Likewise.
83286         * debug/mbsnrtowcs_chk.c: Likewise.
83287         * debug/mbsrtowcs_chk.c: Likewise.
83288         * debug/wcsnrtombs_chk.c: Likewise.
83289         * debug/wcsrtombs_chk.c: Likewise.
83290         * debug/wcstombs_chk.c: Likewise.
83291         * dirent/dirent.h: Likewise.
83292         * dlfcn/dlfcn.h: Likewise.
83293         * elf/neededtest4.c: Likewise.
83294         * grp/grp.h: Likewise.
83295         * gshadow/gshadow.h: Likewise.
83296         * iconv/gconv.h: Likewise.
83297         * iconv/gconv_int.h: Likewise.
83298         * iconv/gconv_simple.c: Likewise.
83299         * iconv/iconv.h: Likewise.
83300         * iconv/loop.c: Likewise.
83301         * iconv/skeleton.c: Likewise.
83302         * include/aio.h: Likewise.
83303         * include/aliases.h: Likewise.
83304         * include/argz.h: Likewise.
83305         * include/arpa/inet.h: Likewise.
83306         * include/assert.h: Likewise.
83307         * include/dirent.h: Likewise.
83308         * include/dlfcn.h: Likewise.
83309         * include/execinfo.h: Likewise.
83310         * include/fcntl.h: Likewise.
83311         * include/fenv.h: Likewise.
83312         * include/glob.h: Likewise.
83313         * include/grp.h: Likewise.
83314         * include/libintl.h: Likewise.
83315         * include/mntent.h: Likewise.
83316         * include/netdb.h: Likewise.
83317         * include/pwd.h: Likewise.
83318         * include/rpc/netdb.h: Likewise.
83319         * include/sched.h: Likewise.
83320         * include/search.h: Likewise.
83321         * include/shadow.h: Likewise.
83322         * include/signal.h: Likewise.
83323         * include/stdio.h: Likewise.
83324         * include/stdlib.h: Likewise.
83325         * include/string.h: Likewise.
83326         * include/sys/socket.h: Likewise.
83327         * include/sys/stat.h: Likewise.
83328         * include/sys/statfs.h: Likewise.
83329         * include/sys/statvfs.h: Likewise.
83330         * include/sys/syslog.h: Likewise.
83331         * include/sys/time.h: Likewise.
83332         * include/sys/uio.h: Likewise.
83333         * include/time.h: Likewise.
83334         * include/unistd.h: Likewise.
83335         * include/utmp.h: Likewise.
83336         * include/wchar.h: Likewise.
83337         * include/wctype.h: Likewise.
83338         * inet/aliases.h: Likewise.
83339         * inet/arpa/inet.h: Likewise.
83340         * inet/netinet/ether.h: Likewise.
83341         * inet/netinet/in.h: Likewise.
83342         * intl/libintl.h: Likewise.
83343         * io/bits/fcntl2.h: Likewise.
83344         * io/fcntl.h: Likewise.
83345         * io/ftw.h: Likewise.
83346         * io/sys/poll.h: Likewise.
83347         * io/sys/stat.h: Likewise.
83348         * io/sys/statfs.h: Likewise.
83349         * io/sys/statvfs.h: Likewise.
83350         * io/utime.h: Likewise.
83351         * libio/bits/stdio.h: Likewise.
83352         * libio/bits/stdio2.h: Likewise.
83353         * libio/libio.h: Likewise.
83354         * libio/libioP.h: Likewise.
83355         * libio/stdio.h: Likewise.
83356         * locale/lc-ctype.c: Likewise.
83357         * locale/locale.h: Likewise.
83358         * login/utmp.h: Likewise.
83359         * malloc/arena.c: Likewise.
83360         * malloc/malloc.c: Likewise.
83361         * malloc/malloc.h: Likewise.
83362         * malloc/mcheck.c: Likewise.
83363         * malloc/mtrace.c: Likewise.
83364         * math/bits/mathcalls.h: Likewise.
83365         * math/fenv.h: Likewise.
83366         * math/math_private.h: Likewise.
83367         * misc/bits/error.h: Likewise.
83368         * misc/bits/syslog.h: Likewise.
83369         * misc/err.h: Likewise.
83370         * misc/error.h: Likewise.
83371         * misc/fstab.h: Likewise.
83372         * misc/mntent.h: Likewise.
83373         * misc/regexp.h: Likewise.
83374         * misc/search.h: Likewise.
83375         * misc/sgtty.h: Likewise.
83376         * misc/sys/mman.h: Likewise.
83377         * misc/sys/syslog.h: Likewise.
83378         * misc/sys/uio.h: Likewise.
83379         * misc/sys/xattr.h: Likewise.
83380         * misc/ttyent.h: Likewise.
83381         * nis/rpcsvc/ypclnt.h: Likewise.
83382         * nss/nss.h: Likewise.
83383         * posix/bits/unistd.h: Likewise.
83384         * posix/fnmatch.h: Likewise.
83385         * posix/glob.h: Likewise.
83386         * posix/sched.h: Likewise.
83387         * posix/spawn.h: Likewise.
83388         * posix/sys/wait.h: Likewise.
83389         * posix/unistd.h: Likewise.
83390         * posix/wordexp.h: Likewise.
83391         * pwd/pwd.h: Likewise.
83392         * resolv/netdb.h: Likewise.
83393         * resource/sys/resource.h: Likewise.
83394         * rt/aio.h: Likewise.
83395         * rt/bits/mqueue2.h: Likewise.
83396         * rt/mqueue.h: Likewise.
83397         * shadow/shadow.h: Likewise.
83398         * signal/signal.h: Likewise.
83399         * socket/send.c: Likewise.
83400         * socket/sendto.c: Likewise.
83401         * socket/sys/socket.h: Likewise.
83402         * stdio-common/printf.h: Likewise.
83403         * stdlib/bits/stdlib.h: Likewise.
83404         * stdlib/fmtmsg.h: Likewise.
83405         * stdlib/monetary.h: Likewise.
83406         * stdlib/stdlib.h: Likewise.
83407         * stdlib/ucontext.h: Likewise.
83408         * streams/stropts.h: Likewise.
83409         * string/argz.h: Likewise.
83410         * string/bits/string2.h: Likewise.
83411         * string/string.h: Likewise.
83412         * string/strings.h: Likewise.
83413         * sunrpc/rpc/auth.h: Likewise.
83414         * sunrpc/rpc/auth_des.h: Likewise.
83415         * sunrpc/rpc/clnt.h: Likewise.
83416         * sunrpc/rpc/netdb.h: Likewise.
83417         * sunrpc/rpc/pmap_clnt.h: Likewise.
83418         * sunrpc/rpc/xdr.h: Likewise.
83419         * sysdeps/generic/inttypes.h: Likewise.
83420         * sysdeps/generic/net/if.h: Likewise.
83421         * sysdeps/generic/sys/swap.h: Likewise.
83422         * sysdeps/gnu/net/if.h: Likewise.
83423         * sysdeps/gnu/utmpx.h: Likewise.
83424         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83425         * sysdeps/i386/i486/bits/string.h: Likewise.
83426         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83427         * sysdeps/s390/bits/string.h: Likewise.
83428         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83429         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83430         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83431         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83432         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83433         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83434         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83435         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83436         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83437         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83438         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83439         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83440         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83441         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83442         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83443         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83444         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83445         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83446         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83448         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83449         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83450         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83451         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83452         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83453         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83454         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83455         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83456         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83457         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83458         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83459         * sysvipc/sys/ipc.h: Likewise.
83460         * sysvipc/sys/msg.h: Likewise.
83461         * sysvipc/sys/sem.h: Likewise.
83462         * sysvipc/sys/shm.h: Likewise.
83463         * termios/termios.h: Likewise.
83464         * time/sys/time.h: Likewise.
83465         * time/time.h: Likewise.
83466         * wcsmbs/bits/wchar2.h: Likewise.
83467         * wcsmbs/uchar.h: Likewise.
83468         * wcsmbs/wchar.h: Likewise.
83469         * wctype/wctype.h: Likewise.
83471         [BZ #13551]
83472         * Makeconfig: Remove all but ELF support including AIX support.
83473         * Makerules: Likewise.
83474         * config.h.in: Likewise.
83475         * config.make.in: Likewise.
83476         * configure: Likewise.
83477         * configure.in: Likewise.
83478         * csu/Makefile: Likewise.
83479         * csu/version.c: Likewise.
83480         * debug/Makefile: Likewise.
83481         * dlfcn/Makefile: Likewise.
83482         * elf/Makefile: Likewise.
83483         * extra-lib.mk: Likewise.
83484         * iconv/Makefile: Likewise.
83485         * include/libc-symbols.h: Likewise.
83486         * include/shlib-compat.h: Likewise.
83487         * resolv/Makefile: Likewise.
83488         * resolv/res_libc.c: Likewise.
83489         * rt/Makefile: Likewise.
83490         * sysdeps/i386/asm-syntax.h: Likewise.
83491         * sysdeps/i386/sysdep.h: Likewise.
83492         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83493         * sysdeps/mach/sysdep.h: Likewise.
83494         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83495         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83496         * sysdeps/s390/asm-syntax.h: Likewise.
83497         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83498         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83499         * sysdeps/sh/sysdep.h: Likewise.
83500         * sysdeps/unix/sparc/sysdep.h: Likewise.
83501         * sysdeps/wordsize-32/divdi3.c: Likewise.
83502         * sysdeps/x86_64/sysdep.h: Likewise.
83504         * argp/Versions: Remove _argp_unlock_xxx.
83506         [BZ #13559]
83507         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83508         * abilist/libBrokenLocale.abilist: Likewise.
83509         * abilist/libanl.abilist: Likewise.
83510         * abilist/libc.abilist: Likewise.
83511         * abilist/libcrypt.abilist: Likewise.
83512         * abilist/libdl.abilist: Likewise.
83513         * abilist/libm.abilist: Likewise.
83514         * abilist/libnsl.abilist: Likewise.
83515         * abilist/libpthread.abilist: Likewise.
83516         * abilist/libresolv.abilist: Likewise.
83517         * abilist/librt.abilist: Likewise.
83518         * abilist/libthread_db.abilist: Likewise.
83519         * abilist/libutil.abilist: Likewise.
83520         * abilist/libnss_db.abilist: New file.
83522         * scripts/abilist.awk: Add support for indirect functions.
83524         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83526         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83528         * shlib-versions: Remove entries for ports architectures.
83530         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83531         files in ports.
83532         * elf/stackguard-macros.h: Remove support for IA-64.
83533         * elf/tst-auditmod1.c: Likewise.
83534         * sysdeps/generic/ldsodefs.h: Likewise.
83536         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83537         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83538         configure files.
83540         [BZ #13552]
83541         * configure.in: Remove --enable-omitfp support.
83542         * FAQ.in: Adjust.
83543         * config.make.in: Likewise.
83544         * Makeconfig: Likewise.
83545         * manual/install.texi: Likewise.
83547         In case anyone cares, the IA-64 architecture could move to ports.
83548         * sysdeps/ia64/*: Removed.
83549         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83550         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83552         [BZ #13555]
83553         * configure.in: Remove entries for unsupported architectures.
83555         [BZ #13533]
83556         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83557         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83558         routines.
83559         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83560         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83561         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83562         fall back to using wcrtomb.
83563         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83564         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83565         renaming.
83566         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83567         * wcsmbs/tst-c16c32-1.c: New file.
83569         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83570         local variable.
83572         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83574         * elf/tst-unique3.cc: Add explicit declaration of gets.
83575         * elf/tst-unique3lib.cc: Likewise.
83576         * elf/tst-unique3lib2.cc: Likewise.
83577         * elf/tst-unique4.cc: Likewise.
83579         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83581 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83583         [BZ #13566]
83584         * assert/assert.h (static_assert): Don't define for C++.
83585         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83586         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83588 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83590         * iconv/loop.c (single loop): Fix assertion in storing of
83591         remaining bytes.
83593         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83595 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83597         * posix/getconf.c: Update copyright year.
83598         * nss/getent.c: Likewise.
83599         * nss/makedb.c: Likewise.
83600         * iconv/iconvconfig.c: Likewise.
83601         * iconv/iconv_prog.c: Likewise.
83602         * elf/ldconfig.c: Likewise.
83603         * elf/pldd.c: Likewise.
83604         * elf/sotruss.ksh: Likewise.
83605         * catgets/gencat.c: Likewise.
83606         * csu/version.c: Likewise.
83607         * elf/ldd.bash.in: Likewise.
83608         * elf/sprof.c (print_version): Likewise.
83609         * locale/programs/locale.c: Likewise.
83610         * locale/programs/localedef.c: Likewise.
83611         * login/programs/pt_chown.c: Likewise.
83612         * nscd/nscd.c (print_version): Likewise.
83613         * debug/xtrace.sh: Likewise.
83614         * malloc/memusage.sh: Likewise.
83615         * malloc/mtrace.pl: Likewise.
83616         * debug/catchsegv.sh: Likewise.
83618 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83620         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83621         pure attribute.
83623 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83625         [BZ #13533]
83626         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83627         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83628         transformations.
83629         * iconv/gconv_int.h: Likewise.
83630         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83631         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83632         from libc for GLIBC_2.16.
83633         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83634         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83635         * wcsmbs/uchar.h: Really define mbstate_t.
83636         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83637         * wcsmbs/c16rtomb.c: New file.
83638         * wcsmbs/mbrtoc16.c: New file.
83639         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83640         for C/POSIX locale.
83641         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83642         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83644         * wcsmbs/wchar.h: Add missing __restrict.
83646 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83648         [BZ #13532]
83649         * time/Makefile (routines): Add timespec_get.
83650         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83651         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83652         timespec for ISO C11.
83653         * time/timespec_get.c: New file.
83654         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83655         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83657         [BZ #13531]
83658         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83659         * stdlib/stdlib.h: Declare aligned_alloc.
83660         * Versions.def: Add GLIBC_2.16 for libc.
83661         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83663         [BZ 13527]
83664         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83665         ISO C11.
83667         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83668         code.
83670         [BZ #13528]
83671         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83673         [BZ #13529]
83674         * assert/assert.h (static_assert): Define.
83676         * version.h: Update for 2.16 development version.
83678         [BZ #13526]
83679         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83680         _ISOC11_SOURCE.
83682         * version.h (RELEASE): Bump for 2.15 release.
83683         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83685         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83686         Patch by Marek Polacek <mpolacek@redhat.com>.
83688         * bits/byteswap.h: Protect long long constants with __extension__.
83689         * sysdeps/i386/bits/byteswap.h: Likewise.
83690         * sysdeps/ia64/bits/byteswap.h: Likewise.
83691         * sysdeps/s390/bits/byteswap.h: Likewise.
83692         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83694 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83696         [BZ #13540]
83697         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83698         destination buffer.
83699         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83701 2011-12-23  Marek Polacek  <polacek@redhat.com>
83703         * elf/dl-addr.c (determine_info): Add inline keyword.
83704         * elf/tst-auditmod4b.c (check_avx): Likewise.
83705         * elf/tst-auditmod6b.c (check_avx): Likewise.
83706         * elf/tst-auditmod6c.c (check_avx): Likewise.
83707         * elf/tst-auditmod7b.c (check_avx): Likewise.
83709 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83711         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83712         !__SSE_MATH__.
83714 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83716         [BZ #13540]
83717         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83718         processing for last bytes.
83720 2011-08-06  Bruno Haible  <bruno@clisp.org>
83722         [BZ #13061]
83723         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83724         U+0385, not to U+1FEE.
83726         [BZ #13062]
83727         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83728         entry for U+00A5 U+0301.
83730 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83732         [BZ #13166]
83733         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83734         buffer for the output is too small.
83736         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83737         optimization.
83739         [BZ #13185]
83740         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83741         SSE flags if possible.
83743 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83745         [BZ #13540]
83746         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83747         processing for last bytes.
83749 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83751         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83752         (syscall-list-default-options, syscall-list-default-condition)
83753         (syscall-list-includes): Define.
83754         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83755         list of ABIs and options and #if conditions for each ABI.  Do not
83756         handle common syscalls between ABIs specially.
83757         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83758         Remove.
83759         (syscall-list-variants, syscall-list-32bit-options)
83760         (syscall-list-32bit-condition, syscall-list-64bit-options)
83761         (syscall-list-64bit-condition): Define.
83762         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83763         (syscall-list-variants, syscall-list-32bit-options)
83764         (syscall-list-32bit-condition, syscall-list-64bit-options)
83765         (syscall-list-64bit-condition): Define.
83766         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83767         Remove.
83768         (syscall-list-variants, syscall-list-32bit-options)
83769         (syscall-list-32bit-condition, syscall-list-64bit-options)
83770         (syscall-list-64bit-condition): Define.
83771         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83772         Remove.
83773         (syscall-list-variants, syscall-list-32bit-options)
83774         (syscall-list-32bit-condition, syscall-list-64bit-options)
83775         (syscall-list-64bit-condition): Define.
83777 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83779         * locale/iso-639.def: Add brx entry.
83781         [BZ #13328]
83782         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83783         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83785         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83786         __feraiseexcept_renamed.
83788 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83790         [BZ #13538]
83791         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83792         EPOLLET with unsigned values.
83793         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83794         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83796         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83797         to large cancellation.
83798         * math/s_cacoshf.c: Likewise.
83799         * math/s_cacoshl.c: Likewise.
83801 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83803         [BZ #13305]
83804         [BZ #12786]
83805         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83806         * math/s_cacoshf.c: Likewise.
83807         * math/s_cacoshl.c: Likewise.
83809 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83811         [BZ #13439]
83812         * iconv/gconv.h: Define __GCONV_SWAP.
83813         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83814         * iconvdata/utf-16.c: Likewise.
83815         * iconvdata/utf-32.c: Likewise.
83817 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83819         [BZ #13524]
83820         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83821         numerator after shifting it by one limb.
83823 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83825         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83826         under [__USE_EXTERN_INLINES].
83828 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83830         [BZ #13446]
83831         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83833 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83835         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83836         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83837         optimized code.
83838         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83839         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83840         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83841         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83842         for strncasecmp/strncasecmp_l compilation.
83843         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83844         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83846 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83848         [BZ #13484]
83849         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83850         of __asm__.
83852 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83854         [BZ #13506]
83855         * time/tzfile.c (__tzfile_read): Check values from file header.
83857 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83859         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83860         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83861         * powerpc/powerpc32/dl-start.S: Likewise.
83862         * powerpc/powerpc32/elf/start.S: Likewise.
83863         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83864         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83865         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83866         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83867         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83868         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83869         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83870         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83871         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83872         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83873         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83874         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83875         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83876         * powerpc/powerpc32/memset.S: Likewise.
83877         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83878         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83879         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83880         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83881         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83882         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83883         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83884         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83885         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83886         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83887         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83888         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83889         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83891 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83893         * math/libm-test.inc: Added more nearbyint tests.
83894         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83896         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83899 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83901         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83902         FD_CLOEXEC.
83904 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83906         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83907         Add wcscpy-ssse3 wcscpy-c.
83908         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83909         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83910         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83911         * sysdeps/x86_64/wcschr.S: New file.
83912         * sysdeps/x86_64/wcsrchr.S: New file.
83913         * string/test-strcmp.c: Remove checking of wcscmp function for
83914         wrong alignments.
83915         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83916         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83917         wcsrchr-sse2 wcsrchr-c.
83918         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83919         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83920         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83921         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83922         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83923         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83924         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83925         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83926         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83927         * wcsmbc/wcschr.c (WCSCHR): New macro.
83929 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83931         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83932         * wcsmbs/test-wcsrchr.c: New file.
83933         * string/test-strrchr.c: Add wcsrchr support.
83934         (WIDE): New macro.
83935         * wcsmbs/test-wcscpy.c: New file.
83936         * string/test-strcpy.c: Add wcscpy support.
83937         (WIDE): New macro.
83939 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83941         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83942         the inner loop.
83944 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83946         [BZ #13472]
83947         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83949 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83951         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83952         Minor optimizations.
83954         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83955         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83956         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83958 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83960         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83961         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83962         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83963         for gcc to avoid warnings.
83964         * inet/Makefile (tests): Add tst-checks.
83965         * inet/tst-checks.c: New file.
83967         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83968         warning.
83970         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83971         __wmemcmp_sse2.
83973         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83974         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83976         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83978 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83980         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83981         problem.
83983         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83985 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83987         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83988         conditional on GCC version.
83989         (__arch_compare_and_exchange_val_8_acq)
83990         (__arch_compare_and_exchange_val_16_acq)
83991         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83992         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83993         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83995 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83997         * sysdeps/sh/backtrace.c: New file.
83999 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84001         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84002         parenthesis.
84004 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84006         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84007         falling back to utime.
84009 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84011         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84012         expectations for float.
84014 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84016         * locale/weight.h (findidx): Add parameter len.
84017         * locale/weightwc.h (findidx): Likewise.
84018         * posix/fnmatch_loop.c (FCT): Adjust caller.
84019         * posix/regcomp.c (build_equiv_class): Likewise.
84020         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84021         * posix/regexec.c (check_node_accept_bytes): Likewise.
84022         * string/strcoll_l.c (STRCOLL): Likewise.
84023         * string/strxfrm_l.c (STRXFRM): Likewise.
84025 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84027         * Makefile.in: Remove CVSOPT handling.
84028         * configure.in: Remove use of AC_REVISION.
84029         * iconvdata/Makefile (distribute): No need to filter out CVS.
84030         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84031         handling.
84033 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84035         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84036         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84037         [USE_AS_STRNCASECMP_L]: Likewise.
84038         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84039         NO_TLS_DIRECT_SEG_REFS.
84040         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84041         Fix argument offsets for non-PIC.
84042         [USE_AS_STRNCASECMP_L]: Likewise.
84043         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84044         NO_TLS_DIRECT_SEG_REFS.
84046 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84048         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84049         O_CLOEXEC.
84050         * locale/loadlocale.c (_nl_load_locale): Likewise.
84052 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84054         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84055         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84056         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84057         (SYSCALL_GETTIME): Set errno on error.
84059         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84060         count references to noai6ai_cached.
84062 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84064         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84066         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84067         FD_CLOEXEC for /proc/self/maps.
84069         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84070         FD_CLOEXEC for /proc/meminfo.
84072         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84073         gai.conf.
84075         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84076         FD_CLOEXEC for given file.
84078         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84080         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84081         FD_CLOEXEC for /etc/hosts.
84082         (_gethtent): Likewise.
84084         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84086         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84087         cancellation and set FD_CLOEXEC for /etc/netgroup.
84089         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84090         reading /etc/publickey.
84092         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84093         allow cancellation when reading /etc/group.
84095         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84096         cancellation.
84097         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84099         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84100         when using data file.
84102         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84104         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84105         (write_nis_obj): Use "c" and "e" in fopen.
84107         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84109         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84111         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84113         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84115         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84116         locale.alias.
84118         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84120         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84122         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84124         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84125         file parsing and set FD_CLOEXEC.
84127 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84129         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84131 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84133         * malloc/arena.c (arena_get2): Don't call reused_arena when
84134         _int_new_arena failed.
84136 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84138         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84139         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84140         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84141         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84142         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84143         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84144         to compile strcasecmp and strncasecmp.
84145         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84146         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84148         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84150 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84152         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84153         locale-defines.sym to gen-as-const-headers.
84154         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84155         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84157         to compile strcasecmp and strncasecmp.
84158         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84159         strcasecmp_l and strncasecmp_l.
84160         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84161         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84162         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84163         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84164         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84165         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84166         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84167         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84168         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84169         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84170         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84172 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84174         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84175         result of SYSDEP_GETTIME_CPU to retval.
84176         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84177         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84179         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84180         variable.
84182         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84183         mantissa words.
84184         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84186         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84187         from unused variable.
84189         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84190         DWARF definitions.
84191         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84192         for assembling.
84194         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84195         over namespaces.
84197         * sunrpc/rpc_prot.c (rejected): Fix case value.
84199         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84200         unsigned long long int to avoid warnings in shift.
84202         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84203         of use of trans.
84204         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84205         variable tmp.
84207         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84208         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84209         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84211         * nis/nis_table.c (nis_list): Use variable of correct type for
84212         result of __follow_path call.
84214 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84216         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84217         of math functions ceil, trunc, floor, round, and sqrt, when
84218         avaliable on the platform.
84219         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84220         name clash.
84221         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84222         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84223         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84225 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84227         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84228         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84230 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84232         * include/unistd.h: Fix __readlink return type.
84233         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84235 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84237         * stdlib/ucontext.h: Undo last change for makecontext.
84239 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84241         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84243         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84244         * setjmp/setjmp.h: Mark functions as non-leaf.
84245         * setjmp/bits/setjmp2.h: Likewise.
84246         * stdlib/ucontext.h: Likewise.
84248 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84250         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84251         (reused_arena): Don't check arena limit.
84252         (arena_get2): Atomically check arena limit.
84254 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84256         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84257         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84260         instructions.
84262 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84264         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84265         handler when locking.
84267         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84268         Fix size of allocated buffer.
84270 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84272         [BZ #10103]
84273         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84274         declarations for long double functions.
84275         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84277         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84279 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84281         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84282         installed.
84284         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84285         is disabled.
84287 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84289         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84291 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84293         * include/alloca.h (stackinfo_alloca_round): Define.
84294         (extend_alloca): Use it.
84295         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84296         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84297         here.
84299         * scripts/check-local-headers.sh: Ignore libaudit.h.
84301         * nscd/Makefile (extra-objs): Make recursively expanded.
84303 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84305         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84306         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84308         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84309         * posix/tst-rfc3484-2.c: Likewise.
84310         * posix/tst-rfc3484-3.c: Likewise.
84312         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84313         process_vm_writev.
84314         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84315         process_vm_writev.
84316         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84317         process_vm_writev from libc using GLIBC_2.15 version.
84319         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84321 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84323         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84324         stack usage.
84326 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84328         [BZ #13367]
84329         * nss/getent.c (initgroups_keys): Show error message in case no group
84330         names are given.
84332         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84333         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84334         __bump_nl_timestamp.
84335         * nscd/connections (nscd_init): When host database is served open
84336         netlink socket and request notification about configuration changes.
84337         (main_loop_poll): Track netlink file descriptor and bump timestamp
84338         in case data becomes available.
84339         (main_loop_epoll): Likewise.
84340         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84341         (database_pers_head): Add extra_data fileds.
84342         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84343         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84344         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84345         Adjust caller.
84346         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84347         in6ai data, call __free_in6ai.
84348         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84349         Add -DHAVE_NETLINK.
84350         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84351         interface information.  Reuse previous data if netlink timestamp
84352         is not changed.
84353         (__bump_nl_timestamp): New function.
84354         (__free_in6ai): New function.
84356 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84358         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84359         close_not_cancel_no_status here.
84360         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84362 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84364         [BZ #13276]
84365         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84366         return value.
84368         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84369         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84370         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84372 2011-07-03  Andreas Jaeger  <aj@suse.de>
84374         [BZ #10709]
84375         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84376         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84377         * math/libm-test.inc (sin_test): Add test case.
84379 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84381         [BZ #13337]
84382         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84383         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84385         * elf/chroot_canon.c (chroot_canon): Cleanups.
84387         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84389         [BZ #13335]
84390         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84391         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84393         * string/test-strchr.c: Make usable for strchrnul testing.
84394         * string/test-strchrnul.c: New file.
84395         * string/Makefile (strop-tests): Add strchrnul.
84397         * po/it.po: Update from translation team.
84398         * po/es.po: Likewise.
84400 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84402         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84403         the three constants needed as parameters.  Drop the others.
84404         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84405         __m128i_strloadu_tolower.
84406         Create and initialize variable zero and use it in all the places
84407         where _mm_setzero_si128 was used.
84409         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84410         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84411         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84412         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84413         anymore.
84414         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84415         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84416         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84417         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84418         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84419         __mpranred, __mptan.
84420         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84421         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84422         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84423         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84424         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84425         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84426         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84427         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84428         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84430 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84432         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84433         redefine if SHARED.
84434         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84437         wide char related routines to wcsmbs subdir.
84439 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84441         [BZ #13344]
84442         * misc/sys/cdefs.h (__THROWNL): Define.
84443         * posix/unistd.h: Use __THREADNL instead of __THREAD
84444         for memory synchronization functions.
84446 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84448         [BZ #13349]
84449         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84450         doesn't exist.
84451         * manual/stdio.texi (Obstack Streams): Node removed.
84453 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84455         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84456         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84457         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84459         * math/math_private.h (math_force_eval): Allow non-addressable
84460         arguments.
84461         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84463 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84465         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84466         file is not needed.
84468         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84469         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84470         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84471         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84472         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84473         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84474         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84475         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84476         Add AVX variants.
84477         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84478         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84479         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84480         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84481         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84482         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84483         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84484         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84485         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84486         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84487         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84488         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84489         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84490         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84491         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84492         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84493         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84494         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84495         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84497         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84498         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84500         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84501         place.  Use VEX encoding when compiling for AVX.
84503 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84505         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84506         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84508         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84510 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84512         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84513         useless if() expression.
84514         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84515         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84516         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84517         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84518         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84519         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84520         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84521         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84522         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84523         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84524         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84525         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84526         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84527         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84528         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84529         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84530         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84531         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84532         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84534         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84536 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84538         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84539         condition.
84540         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84542 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84544         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84545         .text section.  Avoid duplicate constants.
84546         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84547         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84548         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84549         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84550         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84551         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84552         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84554         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84555         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84556         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84557         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84558         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84559         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84560         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84561         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84562         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84563         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84564         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84565         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84566         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84567         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84568         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84569         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84570         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84571         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84572         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84573         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84574         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84575         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84576         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84577         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84578         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84579         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84580         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84581         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84582         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84583         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84584         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84585         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84586         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84587         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84588         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84589         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84590         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84592 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84594         * sysdeps/x86_64/dla.h: Move to ...
84595         * sysdeps/x86_64/fpu/dla.h: ...here.
84596         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84597         situations.  Use __builtin_fma only for gcc 4.6 and up.
84599         * config.make.in: Add have-mfma4 entry.
84600         * configure.in: Substitute libc_cv_cc_fma4.
84601         * math/Makefile (dbl-only-routines): Add sincostab.
84602         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84603         Use __sincostab not sincos.
84604         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84605         name is a macro.
84606         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84607         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84608         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84610         using __copysign.
84611         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84612         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84613         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84614         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84615         and __inv.
84616         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84617         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84618         __copysign.
84619         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84620         define aliases when function name is a macro.
84621         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84622         sysdeps/ieee754/dbl-64/sincos.tbl.
84623         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84624         fma4-enabled routines.
84625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84626         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84627         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84628         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84629         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84630         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84631         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84632         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84633         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84634         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84635         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84636         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84637         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84638         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84639         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84640         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84641         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84642         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84643         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84644         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84645         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84646         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84647         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84648         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84649         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84650         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84652         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84653         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84654         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84656         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84657         rename.
84658         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84660         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84661         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84662         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84663         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84664         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84665         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84667 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84669         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84671 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84673         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84675         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84676         prediction.
84677         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84679         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84680         Remove unused variable magic_bits.
84681         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84683         * string/strnlen.c: Define and use STRNLEN macro.
84684         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84685         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84686         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84687         * wcsmbs/wcslen.c: Define and use WCSLEN.
84688         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84689         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84690         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84691         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84692         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84693         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84694         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84696 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84699         strnlen-sse2-no-bsf.
84700         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84701         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84702         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84703         Add strnlen support.
84704         (USE_AS_STRNLEN): New macro.
84705         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84706         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84707         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84708         * sysdeps/x86_64/wcslen.S: New file.
84710 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84712         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84713         XMM-moves are used for copying on small sizes.
84715 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84717         * wcsmbs/Makefile (strop-tests): Add wcschr.
84718         * wcsmbs/test-wcschr.c: New file.
84719         * string/test-strchr.c: Update.
84720         Add wcschr support.
84721         (WIDE): New macro.
84723 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84725         * wcsmbs/Makefile (strop-tests): Add wcslen.
84726         * wcsmbs/test-wcslen.c: New file.
84727         * string/test-strlen.c: Update.
84728         Add wcslen support.
84729         (WIDE): New macro.
84731 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84733         * po/it.po: Update from translation team.
84735 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84737         * sysdeps/x86_64/wcscmp.S: Update.
84738         Fix wrong comparison semantics.
84739         wcscmp shall use signed comparison not unsigned.
84740         Don't use substraction to avoid overflow bug.
84741         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84742         * wcsmbc/wcscmp.c: Likewise.
84743         * string/test-strcmp.c: Likewise.
84744         Add new tests to check cases with negative values.
84746 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84748         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84749         * sysdeps/x86_64/dla.h: ...here.  New file.
84750         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84751         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84753         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84754         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84755         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84756         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84757         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84760 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84762         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84763         __ynl_finite aliases.
84765 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84769         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84770         define DLA_FMA.
84771         [DLA_FMA] (EMULV): Use DLA_FMA.
84772         [DLA_FMA] (MUL12): Use EMULV.
84773         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84774         that are not needed.
84775         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84778         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84779         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84780         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84783 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84785         * math/s_nan.c: Undef __nan.
84786         * math/s_nanf.c: Undef __nanf.
84787         * math/s_nanl.c: Undef __nanl.
84788         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84789         "math_private.h".
84791 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84793         * math/s_catan.c: Add branch predictions.
84794         * math/s_catanf.c: Likewise.
84795         * math/s_catanh.c: Likewise.
84796         * math/s_catanhf.c: Likewise.
84797         * math/s_catanhl.c: Likewise.
84798         * math/s_catanl.c: Likewise.
84799         * math/s_cexp.c: Likewise.
84800         * math/s_cexpf.c: Likewise.
84801         * math/s_cexpl.c: Likewise.
84802         * math/s_clog.c: Likewise.
84803         * math/s_clog10.c: Likewise.
84804         * math/s_clog10f.c: Likewise.
84805         * math/s_clog10l.c: Likewise.
84806         * math/s_clogf.c: Likewise.
84807         * math/s_clogl.c: Likewise.
84808         * math/s_csqrt.c: Likewise.
84809         * math/s_csqrtf.c: Likewise.
84810         * math/s_csqrtl.c: Likewise.
84811         * math/s_ctanf.c: Likewise.
84812         * math/s_ctanh.c: Likewise.
84813         * math/s_ctanhf.c: Likewise.
84814         * math/s_ctanhl.c: Likewise.
84815         * math/s_ctanl.c: Likewise.
84817         * math/math_private.h: Define __nan, __nanf, __nanl.
84818         * math/s_cacosh.c: Include <math_private.h>.
84819         * math/s_cacoshl.c: Likewise.
84820         * math/s_casinh.c: Likewise.
84821         * math/s_casinhf.c: Likewise.
84822         * math/s_casinhl.c: Likewise.
84823         * math/s_ccos.c: Rely entire on ccosh.
84824         * math/s_ccosf.c: Rely entire on ccoshf.
84825         * math/s_ccosl.c: Rely entirely on ccoshl.
84826         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84827         Remove tests for FE_INVALID.
84828         * math/s_ccoshf.c: Likewise.
84829         * math/s_ccoshl.c: Likewise.
84830         * math/s_csin.c: Likewise.
84831         * math/s_csinf.c: Likewise.
84832         * math/s_csinh.c Likewise.
84833         * math/s_csinhf.c: Likewise.
84834         * math/s_csinhl.c: Likewise.
84835         * math/s_csinl.c: Likewise.
84836         * math/s_ctan.c: Likewise.
84837         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84838         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84841 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84844         compilation problems.
84846         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84847         __builtin_expect.
84849 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84851         * sysdeps/i386/configure.in: Test for -mfma4 option.
84852         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84853         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84854         COMMON_CPUID_INDEX_80000001.
84855         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84856         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84857         use it if FMA3 is not supported.
84858         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84860         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84861         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84863 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84865         [BZ #12892]
84866         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84867         it would create a cycle with a link time dependency.
84869 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84871         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84872         instruction.
84873         * string/Makefile (strop-tests): Add rawmemchr.
84874         * string/test-rawmemchr.c: New file.
84876         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84877         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84878         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84879         when compiling str{,n}casecmp and when AVX is available.  Hook up
84880         new optimized code in initializers.
84882 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84884         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84885         __feraiseexcept instead of feraiseexcept.
84887 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84889         * math/math_private.h: Define defaults for libc_fetestexcept and
84890         libc_feupdateenv.
84891         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84892         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84893         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84894         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84895         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84896         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84897         libc_fetestexcept and libc_feupdateenv.
84899         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84900         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84901         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84902         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84903         libc_feholdexcept_setround.
84905         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84906         Add s_nearbyint-c and s_nearbyintf-c.
84907         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84908         nearbyintf inlines.
84909         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84910         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84911         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84912         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84914         * math/math_private.h: Define defaults for libc_fegetround,
84915         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84916         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84917         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84918         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84919         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84920         standard functions.
84921         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84922         Remove comments and hacks for old compiler versions.
84923         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84924         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84925         libc_feholdexceptl.
84927 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84929         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84930         (__feraiseexcept_renamed): Add __NTH.
84931         (feraiseexcept): Add __NTH.  Rename local variables to fix
84932         namespace violations.
84934 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84936         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84938         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84940         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84941         recently added interfaces.
84942         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84944         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84945         about macro parameter expansion.
84947         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84948         __NO_MATH_INLINES is defined.  Cleanups.
84950         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84951         and __floorf is target has SSE4.1.
84952         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84953         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84954         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84955         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84957         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84958         name.
84959         (floorf): Likewise.
84961         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84963 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84965         * misc/sys/cdefs.h: Fix last change.
84967         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84968         database lookup.
84970 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84972         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84974         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84975         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84976         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84977         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84978         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84979         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84980         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84981         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84982         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84983         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84984         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84985         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84986         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84987         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84988         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84989         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84990         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84991         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84992         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84993         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84994         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84995         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84997         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84998         ceil, ceilf, floor, floorf.
85000         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85001         Perform IRELATIVE relocations last.
85003         * elf/do-rel.h: Add another parameter nrelative, replacing the
85004         local variable with the same name.  Change name of the function
85005         to end in Rel or Rela (uppercase).
85006         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85007         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85008         elf_dynamic_do_##reloc function.
85010 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85012         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85013         is sufficient, at least on modern CPUs.
85015         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85017         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85018         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85020         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85021         __expl_finite.
85022         * math/bits/math-finite.h: Add entries for exp.
85023         * math/e_expl.c: Add __*_finite alias.
85024         * sysdeps/i386/fpu/e_exp.S: Likewise.
85025         * sysdeps/i386/fpu/e_expf.S: Likewise.
85026         * sysdeps/i386/fpu/e_expl.c: Likewise.
85027         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85028         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85029         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85030         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85031         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85032         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85033         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85035         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85036         is sufficient, at least on modern CPUs.
85038         * ctype/ctype-info.c (__ctype_init): Define.
85039         * include/ctype.h (__ctype_init): Declare.
85040         (__ctype_b_loc): The variable is always initialized.
85041         (__ctype_toupper_loc): Likewise.
85042         (__ctype_tolower_loc): Likewise.
85043         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85044         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85046 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85048         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85050         * configure.in: Also look in $cxxmachine/include for C++ system
85051         headers.
85053 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85055         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85056         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85057         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85058         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85060         (USE_AS_WMEMCMP): New macro.
85061         Fixing indents.
85062         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85063         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85064         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85065         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85066         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85067         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85068         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85069         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85070         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85071         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85072         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85073         (USE_AS_WMEMCMP): New macro.
85074         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85075         * sysdeps/string/test-memcmp.c: Update.
85076         Fix simple_wmemcmp.
85077         Add new tests.
85078         * wcsmbs/wmemcmp.c: Update.
85079         (WMEMCMP): New macro.
85080         Fix overflow bug.
85082 2011-10-12  Andreas Jaeger  <aj@suse.de>
85084         [BZ #13268]
85085         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85087 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85089         * libio/iofwide.c (do_length): Avoid warning.
85091         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85093 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85095         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85097         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85098         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85099         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85100         * sysdeps/i386/i686/fpu/e_log.S: New file.
85101         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85102         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85104         * ctype/ctype.h: Add support for inlined isXXX functions when
85105         compiling C++ code.
85107 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85109         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85111         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85113 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85115         [BZ #13291]
85116         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85118 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85120         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85121         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85122         feraiseexcept.
85124         * sysdeps/x86_64/memrchr.S: Check for zero size.
85126         * string/stratcliff.c: Add memrchr tests.
85128 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85130         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85131         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85132         rawmemchr-sse2 rawmemchr-sse2-bsf.
85133         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85134         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85135         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85136         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85137         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85138         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85139         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85140         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85141         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85142         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85143         * string/memrchr.c (MEMRCHR): New macro.
85145 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85147         Add integration with gcc's -ffinite-math-only and optimize wrapper
85148         functions in libm.
85149         * Versions.def: Define GLIBC_2.15 version for libm.
85150         * math/Makefile (headers): Add bits/math-finite.h.
85151         * math/bits/math-finite.h: New file.
85152         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85153         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85154         * math/e_acoshl.c: Add __*_finite alias.
85155         * math/e_acosl.c: Likewise.
85156         * math/e_asinl.c: Likewise.
85157         * math/e_atan2l.c: Likewise.
85158         * math/e_atanhl.c: Likewise.
85159         * math/e_coshl.c: Likewise.
85160         * math/e_exp10.c: Likewise.
85161         * math/e_exp10f.c: Likewise.
85162         * math/e_exp10l.c: Likewise.
85163         * math/e_exp2l.c: Likewise.
85164         * math/e_fmodl.c: Likewise.
85165         * math/e_gammal_r.c: Likewise.
85166         * math/e_hypotl.c: Likewise.
85167         * math/e_j0l.c: Likewise.
85168         * math/e_j1l.c: Likewise.
85169         * math/e_jnl.c: Likewise.
85170         * math/e_lgammal_r.c: Likewise.
85171         * math/e_log10l.c: Likewise.
85172         * math/e_log2l.c: Likewise.
85173         * math/e_logl.c: Likewise.
85174         * math/e_powl.c: Likewise.
85175         * math/e_sinhl.c: Likewise.
85176         * math/e_sqrtl.c: Likewise.
85177         * math/e_scalb.c: Completely rewritten and optimized.
85178         * math/e_scalbf.c: Likewise.
85179         * math/e_scalbl.c: Likewise.
85180         * math/w_acos.c: Likewise.
85181         * math/w_acosf.c: Likewise.
85182         * math/w_acosl.c: Likewise.
85183         * math/w_acosh.c: Likewise.
85184         * math/w_acoshf.c: Likewise.
85185         * math/w_acoshl.c: Likewise.
85186         * math/w_asin.c: Likewise.
85187         * math/w_asinf.c: Likewise.
85188         * math/w_asinl.c: Likewise.
85189         * math/w_atan2.c: Likewise.
85190         * math/w_atan2f.c: Likewise.
85191         * math/w_atan2l.c: Likewise.
85192         * math/w_atanh.c: Likewise.
85193         * math/w_atanhf.c: Likewise.
85194         * math/w_atanhl.c: Likewise.
85195         * math/w_exp10.c: Likewise.
85196         * math/w_exp10f.c: Likewise.
85197         * math/w_exp10l.c: Likewise.
85198         * math/w_fmod.c: Likewise.
85199         * math/w_fmodf.c: Likewise.
85200         * math/w_fmodl.c: Likewise.
85201         * math/w_j0.c: Likewise.
85202         * math/w_j0f.c: Likewise.
85203         * math/w_j0l.c: Likewise.
85204         * math/w_j1.c: Likewise.
85205         * math/w_j1f.c: Likewise.
85206         * math/w_j1l.c: Likewise.
85207         * math/w_jn.c: Likewise.
85208         * math/w_jnf.c: Likewise.
85209         * math/w_log.c: Likewise.
85210         * math/w_logf.c: Likewise.
85211         * math/w_logl.c: Likewise.
85212         * math/w_log10.c: Likewise.
85213         * math/w_log10f.c: Likewise.
85214         * math/w_log10l.c: Likewise.
85215         * math/w_log2.c: Likewise.
85216         * math/w_log2f.c: Likewise.
85217         * math/w_log2l.c: Likewise.
85218         * math/w_pow.c: Likewise.
85219         * math/w_powf.c: Likewise.
85220         * math/w_powl.c: Likewise.
85221         * math/w_remainder.c: Likewise.
85222         * math/w_remainderf.c: Likewise.
85223         * math/w_remainderl.c: Likewise.
85224         * math/w_scalb.c: Likewise.
85225         * math/w_scalbf.c: Likewise.
85226         * math/w_scalbl.c: Likewise.
85227         * math/w_sqrt.c: Likewise.
85228         * math/w_sqrtf.c: Likewise.
85229         * math/w_sqrtl.c: Likewise.
85230         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85231         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85232         used.
85233         * math/math_private.h: Declare __kernel_standard_f.
85234         * math/w_cosh.c: Remove cruft and optimize a bit.
85235         * math/w_coshf.c: Likewise.
85236         * math/w_coshl.c: Likewise.
85237         * math/w_exp2.c: Likewise.
85238         * math/w_exp2f.c: Likewise.
85239         * math/w_exp2l.c: Likewise.
85240         * math/w_hypot.c: Likewise.
85241         * math/w_hypotf.c: Likewise.
85242         * math/w_hypotl.c: Likewise.
85243         * math/w_lgamma.c: Likewise.
85244         * math/w_lgamma_r.c: Likewise.
85245         * math/w_lgammaf.c: Likewise.
85246         * math/w_lgammaf_r.c: Likewise.
85247         * math/w_lgammal.c: Likewise.
85248         * math/w_lgammal_r.c: Likewise.
85249         * math/w_sinh.c: Likewise.
85250         * math/w_sinhf.c: Likewise.
85251         * math/w_sinhl.c: Likewise.
85252         * math/w_tgamma.c: Likewise.
85253         * math/w_tgammaf.c: Likewise.
85254         * math/w_tgammal.c: Likewise.
85255         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85256         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85257         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85258         Minor optimizations.  Pretty printing.  Remove cruft.
85259         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85260         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85261         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85262         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85263         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85264         * sysdeps/i386/fpu/e_asin.S: Likewise.
85265         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85266         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85267         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85268         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85269         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85270         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85271         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85272         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85273         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85274         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85275         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85276         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85277         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85278         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85279         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85280         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85281         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85282         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85283         * sysdeps/i386/fpu/e_log.S: Likewise.
85284         * sysdeps/i386/fpu/e_log10.S: Likewise.
85285         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85286         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85287         * sysdeps/i386/fpu/e_log2.S: Likewise.
85288         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85289         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85290         * sysdeps/i386/fpu/e_logf.S: Likewise.
85291         * sysdeps/i386/fpu/e_logl.S: Likewise.
85292         * sysdeps/i386/fpu/e_pow.S: Likewise.
85293         * sysdeps/i386/fpu/e_powf.S: Likewise.
85294         * sysdeps/i386/fpu/e_powl.S: Likewise.
85295         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85296         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85297         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85298         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85299         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85300         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85301         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85302         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85303         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85308         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85309         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85310         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85311         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85317         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85318         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85320         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85321         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85322         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85323         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85324         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85325         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85326         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85327         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85328         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85329         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85330         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85331         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85332         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85333         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85334         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85335         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85336         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85337         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85338         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85339         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85340         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85341         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85342         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85343         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85344         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85345         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85346         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85347         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85348         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85349         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85350         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85351         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85352         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85353         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85354         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85355         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85356         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85357         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85358         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85359         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85360         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85361         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85362         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85363         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85364         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85365         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85366         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85367         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85368         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85369         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85370         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85372         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85373         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85374         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85375         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85376         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85377         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85378         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85379         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85380         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85381         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85382         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85383         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85384         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85385         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85386         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85387         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85388         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85389         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85390         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85391         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85392         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85393         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85394         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85395         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85396         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85397         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85398         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85399         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85400         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85401         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85402         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85403         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85404         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85405         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85406         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85407         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85408         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85409         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85410         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85411         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85412         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85413         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85414         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85415         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85416         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85417         (__isnanf): Likewise.
85418         (__isinf_ns): Likewise.
85419         (__isinf_nsf): Likewise.
85420         (__finite): Likewise.
85421         (__finitef): Likewise.
85422         (__ieee754_sqrt): Define as macro.
85423         (__ieee754_sqrtf): Define as macro.
85424         (__ieee754_sqrtl): Define as macro.
85425         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85426         inlined copy.
85427         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85428         __FINITE_MATH_ONLY__ consistent.
85429         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85431 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85433         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85434         of rawmemchr.
85436         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85438 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85440         * po/ja.po: Update from translation team.
85442 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85444         * locale/programs/locarchive.c (prepare_address_space): New function.
85445         (create_archive, enlarge_archive, open_archive): Use it.
85447         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85448         inside [SHARED], where it is used.
85450         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85452         * nss/getent.c (netgroup_keys): Remove unused variable.
85453         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85455 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85457         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85458         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85459         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85460         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85461         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85462         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85463         * math/Makefile (libm-calls): Add s_isinf_ns.
85464         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85465         * math/multc3.c: Likewise.
85466         * math/s_casin.c: Likewise.
85467         * math/s_casinf.c: Likewise.
85468         * math/s_casinl.c: Likewise.
85469         * math/s_ccos.c: Likewise.
85470         * math/s_ccosf.c: Likewise.
85471         * math/s_ccosl.c: Likewise.
85472         * math/s_ctan.c: Likewise.
85473         * math/s_ctanf.c: Likewise.
85474         * math/s_ctanh.c: Likewise.
85475         * math/s_ctanhf.c: Likewise.
85476         * math/s_ctanhl.c: Likewise.
85477         * math/s_ctanl.c: Likewise.
85478         * math/w_fmod.c: Likewise.
85479         * math/w_fmodf.c: Likewise.
85480         * math/w_fmodl.c: Likewise.
85481         * math/w_remainder.c: Likewise.
85482         * math/w_remainderf.c: Likewise.
85483         * math/w_remainderl.c: Likewise.
85484         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85485         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85486         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85487         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85488         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85489         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85490         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85491         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85493         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85494         of the number.
85495         * stdio-common/printf_fphex.c: Likewise.
85496         * stdio-common/printf_size.c: Likewise.
85498         * math/e_exp10.c: Include math_private.h using <...> not "...".
85499         * math/e_exp10f.c: Likewise.
85500         * math/e_exp10l.c: Likewise.
85501         * math/e_exp2l.c: Likewise.
85502         * math/e_j0l.c: Likewise.
85503         * math/e_j1l.c: Likewise.
85504         * math/e_jnl.c: Likewise.
85505         * math/e_lgammal_r.c: Likewise.
85506         * math/e_rem_pio2l.c: Likewise.
85507         * math/e_scalb.c: Likewise.
85508         * math/e_scalbf.c: Likewise.
85509         * math/e_scalbl.c: Likewise.
85510         * math/k_cosl.c: Likewise.
85511         * math/k_sinl.c: Likewise.
85512         * math/k_tanl.c: Likewise.
85513         * math/s_cacoshf.c: Likewise.
85514         * math/s_catan.c: Likewise.
85515         * math/s_catanf.c: Likewise.
85516         * math/s_catanh.c: Likewise.
85517         * math/s_catanhf.c: Likewise.
85518         * math/s_catanhl.c: Likewise.
85519         * math/s_catanl.c: Likewise.
85520         * math/s_ccosh.c: Likewise.
85521         * math/s_ccoshf.c: Likewise.
85522         * math/s_ccoshl.c: Likewise.
85523         * math/s_cexp.c: Likewise.
85524         * math/s_cexpf.c: Likewise.
85525         * math/s_cexpl.c: Likewise.
85526         * math/s_clog.c: Likewise.
85527         * math/s_clog10.c: Likewise.
85528         * math/s_clog10f.c: Likewise.
85529         * math/s_clog10l.c: Likewise.
85530         * math/s_clogf.c: Likewise.
85531         * math/s_clogl.c: Likewise.
85532         * math/s_csin.c: Likewise.
85533         * math/s_csinf.c: Likewise.
85534         * math/s_csinh.c: Likewise.
85535         * math/s_csinhf.c: Likewise.
85536         * math/s_csinhl.c: Likewise.
85537         * math/s_csinl.c: Likewise.
85538         * math/s_csqrt.c: Likewise.
85539         * math/s_csqrtf.c: Likewise.
85540         * math/s_csqrtl.c: Likewise.
85541         * math/s_ctan.c: Likewise.
85542         * math/s_ctanf.c: Likewise.
85543         * math/s_ctanh.c: Likewise.
85544         * math/s_ctanhf.c: Likewise.
85545         * math/s_ctanhl.c: Likewise.
85546         * math/s_ctanl.c: Likewise.
85547         * math/s_ldexp.c: Likewise.
85548         * math/s_ldexpf.c: Likewise.
85549         * math/s_ldexpl.c: Likewise.
85550         * math/s_significand.c: Likewise.
85551         * math/s_significandf.c: Likewise.
85552         * math/s_significandl.c: Likewise.
85553         * math/w_acos.c: Likewise.
85554         * math/w_acosf.c: Likewise.
85555         * math/w_acosh.c: Likewise.
85556         * math/w_acoshf.c: Likewise.
85557         * math/w_acoshl.c: Likewise.
85558         * math/w_acosl.c: Likewise.
85559         * math/w_asin.c: Likewise.
85560         * math/w_asinf.c: Likewise.
85561         * math/w_asinl.c: Likewise.
85562         * math/w_atan2.c: Likewise.
85563         * math/w_atan2f.c: Likewise.
85564         * math/w_atan2l.c: Likewise.
85565         * math/w_atanh.c: Likewise.
85566         * math/w_atanhf.c: Likewise.
85567         * math/w_atanhl.c: Likewise.
85568         * math/w_cosh.c: Likewise.
85569         * math/w_coshf.c: Likewise.
85570         * math/w_coshl.c: Likewise.
85571         * math/w_dremf.c: Likewise.
85572         * math/w_exp10.c: Likewise.
85573         * math/w_exp10f.c: Likewise.
85574         * math/w_exp10l.c: Likewise.
85575         * math/w_exp2.c: Likewise.
85576         * math/w_exp2f.c: Likewise.
85577         * math/w_fmod.c: Likewise.
85578         * math/w_fmodf.c: Likewise.
85579         * math/w_fmodl.c: Likewise.
85580         * math/w_hypot.c: Likewise.
85581         * math/w_hypotf.c: Likewise.
85582         * math/w_hypotl.c: Likewise.
85583         * math/w_j0.c: Likewise.
85584         * math/w_j0f.c: Likewise.
85585         * math/w_j0l.c: Likewise.
85586         * math/w_j1.c: Likewise.
85587         * math/w_j1f.c: Likewise.
85588         * math/w_j1l.c: Likewise.
85589         * math/w_jn.c: Likewise.
85590         * math/w_jnf.c: Likewise.
85591         * math/w_jnl.c: Likewise.
85592         * math/w_lgamma.c: Likewise.
85593         * math/w_lgamma_r.c: Likewise.
85594         * math/w_lgammaf.c: Likewise.
85595         * math/w_lgammaf_r.c: Likewise.
85596         * math/w_lgammal.c: Likewise.
85597         * math/w_lgammal_r.c: Likewise.
85598         * math/w_log.c: Likewise.
85599         * math/w_log10.c: Likewise.
85600         * math/w_log10f.c: Likewise.
85601         * math/w_log10l.c: Likewise.
85602         * math/w_log2.c: Likewise.
85603         * math/w_log2f.c: Likewise.
85604         * math/w_log2l.c: Likewise.
85605         * math/w_logf.c: Likewise.
85606         * math/w_logl.c: Likewise.
85607         * math/w_pow.c: Likewise.
85608         * math/w_powf.c: Likewise.
85609         * math/w_powl.c: Likewise.
85610         * math/w_remainder.c: Likewise.
85611         * math/w_remainderf.c: Likewise.
85612         * math/w_remainderl.c: Likewise.
85613         * math/w_scalb.c: Likewise.
85614         * math/w_scalbf.c: Likewise.
85615         * math/w_scalbl.c: Likewise.
85616         * math/w_sinh.c: Likewise.
85617         * math/w_sinhf.c: Likewise.
85618         * math/w_sinhl.c: Likewise.
85619         * math/w_sqrt.c: Likewise.
85620         * math/w_sqrtf.c: Likewise.
85621         * math/w_sqrtl.c: Likewise.
85622         * math/w_tgamma.c: Likewise.
85623         * math/w_tgammaf.c: Likewise.
85624         * math/w_tgammal.c: Likewise.
85626         * po/ja.po: Update from translation team.
85628 2011-09-29  Andreas Jaeger  <aj@suse.de>
85630         [BZ #13179]
85631         * sunrpc/netname.c (netname2host): Fix logic.
85633         [BZ #6779]
85634         [BZ #6783]
85635         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85636         correctly.
85637         * math/w_remainder.c (__remainder): Likewise.
85638         * math/w_remainderf.c (__remainderf): Likewise.
85639         * math/libm-test.inc (remainder_test): Add test cases.
85641 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85643         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85644         sdiv_qrnnd.
85646 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85648         * string/test-memcmp.c: Avoid unncessary #defines.
85649         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85651 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85653         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85654         Use new sse2 version for core i3 - i7 as it's faster
85655         than sse42 version.
85656         (bit_Prefer_PMINUB_for_stringop): New.
85657         * sysdeps/x86_64/rawmemchr.S: Update.
85658         Replace with faster SSE2 version.
85659         * sysdeps/x86_64/memrchr.S: New file.
85660         * sysdeps/x86_64/memchr.S: Update.
85661         Replace with faster SSE2 version.
85663 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85665         * elf/dl-load.c (lose): Add cast to avoid warning.
85667 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85669         * po/ca.po: Update from translation team.
85671         * inet/getnetgrent_r.c: Hook up nscd.
85672         * nscd/Makefile (routines): Add nscd_netgroup.
85673         (nscd-modules): Add netgroupcache.
85674         (CFLAGS-netgroupcache.c): Define.
85675         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85676         (cache_search): Add const to second parameter.
85677         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85678         INNETGR.
85679         (dbs): Add netgrdb entry.
85680         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85681         (verify_persistent_db): Handle netgrdb.
85682         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85683         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85684         GETFDNETGR.
85685         (netgroup_response_header): Define.
85686         (innetgroup_response_header): Define.
85687         (datahead): Add netgroup_response_header and innetgroup_response_header
85688         elements.
85689         * nscd/nscd.conf: Add entries for netgroup cache.
85690         * nscd/nscd.h (dbtype): Add netgrdb.
85691         (_PATH_NSCD_NETGROUP_DB): Define.
85692         (netgroup_iov_disabled): Declare.
85693         (xmalloc, xcalloc, xrealloc): Move declarations here.
85694         (cache_search): Adjust prototype.
85695         Add netgroup-related prototypes.
85696         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85697         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85698         (__nscd_innetgr): Declare.
85699         * nscd/selinux.c (perms): Use access_vector_t as element type and
85700         add netgroup-related initializers.
85701         * nscd/netgroupcache.c: New file.
85702         * nscd/nscd_netgroup.c: New file.
85703         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85704         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85705         For four parameters use innetgr.
85706         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85707         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85708         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85709         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85711         * nscd/connections.c (register_traced_file): Don't register file
85712         for disabled databases.
85714 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85716         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85718         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85719         from tree and freeing node.
85721 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85723         * nss/nsswitch.c (__nss_database_lookup): Handle
85724         nss_parse_service_list out of memory case.
85726 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85728         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85729         out of memory case.
85731 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85733         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85734         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85735         pass it down.
85736         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85737         elf_machine_rela, elf_machine_lazy_rel.
85738         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85739         (ELF_DYNAMIC_DO_REL): Likewise.
85740         (ELF_DYNAMIC_DO_RELA): Likewise.
85741         (ELF_DYNAMIC_RELOCATE): Likewise.
85742         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85743         to ELF_DYNAMIC_DO_REL.
85744         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85745         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85746         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85747         elf_machine_rela.
85748         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85749         skip_ifunc, don't call ifunc function if non-zero.
85750         (elf_machine_rela): Likewise.
85751         (elf_machine_lazy_rel): Likewise.
85752         (elf_machine_lazy_rela): Likewise.
85753         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85754         (elf_machine_lazy_rel): Likewise.
85755         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85756         Likewise.
85757         (elf_machine_lazy_rel): Likewise.
85758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85759         Likewise.
85760         (elf_machine_lazy_rel): Likewise.
85761         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85762         (elf_machine_lazy_rel): Likewise.
85763         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85764         (elf_machine_lazy_rel): Likewise.
85765         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85766         (elf_machine_lazy_rel): Likewise.
85767         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85768         (elf_machine_lazy_rel): Likewise.
85769         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85770         (elf_machine_lazy_rel): Likewise.
85771         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85772         (elf_machine_lazy_rel): Likewise.
85774 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85776         * nss/nss_files/files-init.c (_nss_files_init): Use static
85777         initialization for all the *_traced_file variables.
85779 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85781         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85783 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85785         [BZ #13226]
85786         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85788 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85790         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85791         Reread the line before reparsing it.
85793 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85795         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85797 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85798             Maxim Kuvyrkov  <maxim@codesourcery.com>
85799             Joseph Myers  <joseph@codesourcery.com>
85801         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85802         if needed for __stack_chk_guard.
85804 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85806         * sysdeps/posix/spawni.c (script_execute): Always define it.
85807         It will be optimized away if unused.
85808         (maybe_script_execute): New function.
85809         (__spawni): Call it.
85811         * Makerules: Don't include tls.make.
85812         (config-tls): Always set to thread.
85813         * tls.make.c: File removed.
85815 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85817         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85818         * config.make.in (CPPFLAGS-config): New substituted variable.
85820 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85822         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85824         [BZ #13192]
85825         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85826         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85828 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85830         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85831         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85832         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85833         (CALL_FAIL): Likewise.
85834         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85835         (CALL_FAIL): Macro removed.
85836         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85838 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85840         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85841         for __FINITE_MATH_ONLY__ == 1.
85843 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85845         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85846         __ieee754_sqrt instead of sqrt.
85847         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85848         __ieee754_sqrtf instead of sqrtf.
85849         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85850         __floorf instead of floorf.
85851         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85852         __floorf, __truncf instead of floorf, truncf.
85854 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85856         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85858         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85859         __extern_always_inline.
85860         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85861         32-bit.
85863 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85865         * elf/rtld.c (dl_main): Also relocate in dependency order when
85866         doing symbol dependency testing.
85868 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85870         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85871         Always define `refsym'.
85873 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85875         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85876         (__FD_ELT): Renamed from __FDELT.
85877         * misc/bits/select2.h (__FD_ELT): Likewise.
85878         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85879         __FD_MASK instead of __FDELT, __FDMASK.
85880         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85881         Likewise.
85882         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85883         Likewise.
85885         * elf/Makefile (gen-ldd): Fix pattern.
85887         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85888         (init_tls): Likewise.
85890 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85892         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85894 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85896         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85897         `struct cmsghdr *' instead of `void *'.
85898         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85899         Likewise.
85901 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85903         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85904         if non-absolute.
85905         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85906         ldd_rewrite_script.
85908 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85910         * configure.in: Remove --with-tls option.
85911         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85912         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85913         out in case it is missing.
85914         * sysdeps/ia64/elf/configure.in: Likewise.
85915         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85916         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85917         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85918         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85919         * sysdeps/sh/elf/configure.in: Likewise.
85920         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85921         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85922         * sysdeps/x86_64/elf/configure.in: Likewise.
85923         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85924         * sysdeps/mach/hurd/tls.h: Likewise.
85926         [BZ #13067]
85927         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85929         [BZ #13090]
85930         * configure.in: Fix use of AC_INIT.
85932         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85934 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85936         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85937         __set_errno.
85938         * malloc/hooks.c: Likewise.
85940         [BZ #11929]
85941         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85942         variables statically.
85943         (narenas): Initialize.
85944         (list_lock): Initialize.
85945         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85946         initializtion of main_arena and list_lock.  Small cleanups.
85947         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85948         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85949         Add initializers to main_arena and mp_.
85950         (malloc_state): Remove pagesize member.  Change all users to use
85951         GLRO(dl_pagesize).
85953         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85954         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85955         is always initialized.
85957         * malloc/malloc.c: Removed unused configurations and dead code.
85958         * malloc/arena.c: Likewise.
85959         * malloc/hooks.c: Likewise.
85960         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85962         * include/tls.h: Removed.  USE___THREAD must always be defined.
85963         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85964         * elf/dl-libc.c: Likewise.
85965         * elf/dl-tsd.c: Likewise.
85966         * include/errno.h: Likewise.
85967         * include/netdb.h: Likewise.
85968         * include/resolv.h: Likewise.
85969         * inet/herrno-loc.c: Likewise.
85970         * inet/herrno.c: Likewise.
85971         * malloc/arena.c: Likewise.
85972         * malloc/hooks.c: Likewise.
85973         * malloc/malloc.c: Likewise.
85974         * resolv/res-state.c: Likewise.
85975         * resolv/res_libc.c: Likewise.
85976         * sysdeps/i386/dl-machine.h: Likewise.
85977         * sysdeps/ia64/dl-machine.h: Likewise.
85978         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85979         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85980         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85981         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85982         * sysdeps/sh/dl-machine.h: Likewise.
85983         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85984         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85985         * sysdeps/unix/i386/sysdep.S: Likewise.
85986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85987         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85988         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85990         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85992         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85993         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85996         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85997         * sysdeps/x86_64/dl-machine.h: Likewise.
85998         * tls.make.c: Likewise.
86000         * configure.in: Remove --with-__thread option.  Make tests for
86001         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86002         tls_model attribute fail if no support is available.  Remove
86003         USE_IN_LIBIO.
86004         * Makeconfig: Adjust for dropped configure option.  All features are
86005         now mandatory.
86006         * Makerules: Likewise.
86007         * Versions.def: Likewise.
86008         * argp/argp-fmtstream.c: Likewise.
86009         * argp/argp-fmtstream.h: Likewise.
86010         * argp/argp-help.c: Likewise.
86011         * assert/assert.c: Likewise.
86012         * config.h.in: Likewise.
86013         * config.make.in: Likewise.
86014         * configure: Likewise.
86015         * configure.in: Likewise.
86016         * csu/Versions: Likewise.
86017         * csu/init.c: Likewise.
86018         * elf/tst-audit2.c: Likewise.
86019         * elf/tst-tls10.c: Likewise.
86020         * elf/tst-tls10.h: Likewise.
86021         * elf/tst-tls11.c: Likewise.
86022         * elf/tst-tls12.c: Likewise.
86023         * elf/tst-tls14.c: Likewise.
86024         * elf/tst-tlsmod11.c: Likewise.
86025         * elf/tst-tlsmod12.c: Likewise.
86026         * elf/tst-tlsmod13.c: Likewise.
86027         * elf/tst-tlsmod13a.c: Likewise.
86028         * elf/tst-tlsmod14a.c: Likewise.
86029         * elf/tst-tlsmod15b.c: Likewise.
86030         * elf/tst-tlsmod16a.c: Likewise.
86031         * elf/tst-tlsmod16b.c: Likewise.
86032         * elf/tst-tlsmod7.c: Likewise.
86033         * elf/tst-tlsmod8.c: Likewise.
86034         * elf/tst-tlsmod9.c: Likewise.
86035         * gmon/gmon.c: Likewise.
86036         * grp/fgetgrent_r.c: Likewise.
86037         * grp/putgrent.c: Likewise.
86038         * hurd/fopenport.c: Likewise.
86039         * include/libc-symbols.h: Likewise.
86040         * include/tls.h: Likewise.
86041         * intl/gettextP.h: Likewise.
86042         * intl/loadinfo.h: Likewise.
86043         * locale/global-locale.c: Likewise.
86044         * locale/localeinfo.h: Likewise.
86045         * mach/devstream.c: Likewise.
86046         * malloc/arena.c: Likewise.
86047         * malloc/set-freeres.c: Likewise.
86048         * misc/err.c: Likewise.
86049         * misc/getttyent.c: Likewise.
86050         * misc/mntent_r.c: Likewise.
86051         * posix/getopt.c: Likewise.
86052         * posix/wordexp.c: Likewise.
86053         * pwd/fgetpwent_r.c: Likewise.
86054         * resolv/Versions: Likewise.
86055         * resolv/res_hconf.c: Likewise.
86056         * shadow/fgetspent_r.c: Likewise.
86057         * shadow/putspent.c: Likewise.
86058         * stdio-common/printf_fphex.c: Likewise.
86059         * stdio-common/tmpfile.c: Likewise.
86060         * stdlib/abort.c: Likewise.
86061         * stdlib/fmtmsg.c: Likewise.
86062         * sunrpc/auth_unix.c: Likewise.
86063         * sunrpc/clnt_perr.c: Likewise.
86064         * sunrpc/clnt_tcp.c: Likewise.
86065         * sunrpc/clnt_udp.c: Likewise.
86066         * sunrpc/clnt_unix.c: Likewise.
86067         * sunrpc/openchild.c: Likewise.
86068         * sunrpc/svc_simple.c: Likewise.
86069         * sunrpc/svc_tcp.c: Likewise.
86070         * sunrpc/svc_udp.c: Likewise.
86071         * sunrpc/svc_unix.c: Likewise.
86072         * sunrpc/xdr.c: Likewise.
86073         * sunrpc/xdr_array.c: Likewise.
86074         * sunrpc/xdr_rec.c: Likewise.
86075         * sunrpc/xdr_ref.c: Likewise.
86076         * sunrpc/xdr_stdio.c: Likewise.
86078 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86080         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86082 2011-07-03  Andreas Jaeger  <aj@suse.de>
86084         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86085         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86086         regenerate with gen-libm-tests.pl.
86088 2010-05-12  Petr Baudis  <pasky@suse.cz>
86090         [BZ #11589]
86091         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86092         around j0() zero points by switching to j1().
86093         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86094         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86096         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86098 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86100         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86101         instead of 0.
86102         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86103         instead of 0.
86104         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86105         Patch in part by Pavel Roskin <proski@gnu.org>.
86107         [BZ #13138]
86108         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86109         realloc.
86110         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86111         Free memory block if necessary.
86113         [BZ #12847]
86114         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86115         be NULL.  Don't lock in this case.
86117 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86119         * elf/elf.h (ELFOSABI_GNU): New macro.
86120         (ELFOSABI_LINUX): Define to that.
86122 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86124         * string/strncat.c (strncat): Undef the symbol in case it has been
86125         defined in bits/string.h.
86127 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86129         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86131         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86132         link map.
86134 2011-08-17  Andreas Jaeger  <aj@suse.de>
86136         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86138 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86139             Ian Lance Taylor  <iant@google.com>
86141         * math/libm-test.inc (lround_test): New testcase.
86142         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86144 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86146         * Makefile: Remove support for automatic cvs check-ins.
86147         * Makerules: Likewise.
86148         * config.make.in: Likewise.
86149         * configure.in: Likewise.
86150         * intl/Makefile: Likewise.
86151         * locale/Makefile: Likewise.
86152         * po/Makefile: Likewise.
86153         * posix/Makefile: Likewise.
86154         * sysdeps/gnu/Makefile: Likewise.
86155         * sysdeps/mach/hurd/Makefile: Likewise.
86156         * sysdeps/sparc/sparc32/Makefile: Likewise.
86158         [BZ #13118]
86159         * posix/Makefile (bug-regex32-ENV): Define.
86160         Patch by John Stanley <jpsinthemix@verizon.net>.
86162         * misc/Makefile (headers): Add bits/select2.h.
86163         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86164         * misc/bits/select2.h: New file.
86165         * include/bits/select2.h: New file.
86166         * debug/Makefile (routines): Add fdelt_chk.
86167         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86168         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86169         FD_ISSET.
86170         * debug/fdelt_chk.c: New file.
86172         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86173         * wcsmbs/test-wmemcmp.c: Likewise.
86174         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86175         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86177 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86179         * string/Makefile (strop-tests): Add memcmp.
86180         * string/test-wmemcmp.c: New file.
86181         * string/test-memcmp.c: Add wmemcmp support.
86183 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86185         [BZ #13153]
86186         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86187         2011-07-19 change.
86189         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86190         garbage value in a __mach_port_mod_refs call in the cases of the
86191         task-self and thread-self ports.
86193 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86195         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86197 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86199         * elf/dl-load.c (lose): Check for non-null L.
86201 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86203         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86205         * elf/dl-libc.c (dlerror_run): Pass back error code from
86206         dl_catch_error.
86208         [BZ #13123]
86209         * elf/dl-load.c (lose): Free l_origin if it is valid.
86211         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86212         names.
86213         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86214         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86215         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86216         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86217         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86218         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86220 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86222         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86223         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86224         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86225         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86226         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86227         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86228         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86229         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86230         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86231         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86233 2011-08-15  Alan Modra  <amodra@gmail.com>
86235         [BZ #13092]
86236         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86237         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86238         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86239         ppc_mcount to static-only-routines.
86240         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86241         __mcount_internal.
86242         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86243         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86245 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86247         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86248         for finite and infinity parameters.
86250 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86253         and add nop instructions for throughput optimization.
86254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86256 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86258         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86259         aligned copy for power7 with vector-scalar instructions.
86260         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86262 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86264         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86265         AVX check.
86267 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86269         [BZ #13144]
86270         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86271         last change.
86273 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86275         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86276         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86277         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86278         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86279         clock_gettime.
86281 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86283         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86284         Forgot to demangle the pointer.
86286         * sysdeps/i386/sysdep.h: Define atom_text_section.
86287         * sysdeps/x86_64/sysdep.h: Likewise.
86288         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86289         section with atom_text_section.
86290         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86291         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86292         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86293         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86294         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86296         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86297         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86298         already be defined.  Change to take two parameters and don't assign
86299         result to variable.  Adjust all users.
86300         Define INTERNAL_GETTIME if not already defined.
86301         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86302         call.
86303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86304         HAVE_CLOCK_GETTIME_VSYSCALL.
86305         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86307         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86308         gettimeofday vsyscall, just use time.
86310 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86312         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86313         <errno.h>.
86315 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86317         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86318         syscall on x86-64.
86319         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86320         syscall.
86321         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86323         syscall if possible.
86325 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86327         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86328         e_ident.  Don't pass to find_mapsXX.
86329         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86331 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86334         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86335         * sysdeps/x86_64/multiarch/strchr.S: Update.
86336         Check bit_slow_BSF bit.
86337         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86338         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86339         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86341 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86343         [BZ #13134]
86344         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86345         before glibc 2.15.
86346         (tryshell): Define.
86347         (__spawni): Change last parameter to be flag.  Test
86348         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86349         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86350         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86351         * posix/spawni.c: Likewise.
86352         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86353         * posix/spawnp.c: Likewise.  Change normal version to use
86354         SPAWN_XFLAGS_USE_PATH.
86355         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86356         SPAWN_XFLAGS_TRY_SHELL.
86358         [BZ #13150]
86359         * posix/glob.h: Remove gcc 1.x support.
86361         [BZ #13068]
86362         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86364 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86366         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86367         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86368         strrchr-sse2-bsf
86369         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86370         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86371         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86372         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86373         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86374         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86376 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86378         * sysdeps/x86_64/wcscmp.S: New file.
86380         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86381         wcscmp-c wcscmp-sse2
86382         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86383         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86384         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86385         * wcsmbs/wcscmp.c: Allow renaming.
86387 2011-09-05  David S. Miller  <davem@davemloft.net>
86389         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86390         stack slot, rather than the struct return pointer slot.
86391         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86392         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86394         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86396 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86398         * po/ja.po: Update from translation team.
86400         [BZ #13144]
86401         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86402         kernel in 64-bit binaries.
86404 2011-09-01  David S. Miller  <davem@davemloft.net>
86406         * elf/elf.h (HWCAP_SPARC_*): Move to..
86407         * sysdeps/sparc/sysdep.h: this new file and add new values.
86408         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86409         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86410         _DL_HWCAP_COUNT to 24.
86411         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86412         entries.
86413         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86414         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86415         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86416         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86417         instead of magic constants.
86418         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86420 2011-08-31  David S. Miller  <davem@davemloft.net>
86422         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86423         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86424         Reimplement to do errno handling inline.
86425         (SYSCALL_ERROR_HANDLER): New macro.
86426         (__SYSCALL_STRING): Do not do errno handling in asm.
86427         (__CLONE_SYSCALL_STRING): Delete.
86428         (__INTERNAL_SYSCALL_STRING): Delete.
86429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86430         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86431         (PSEUDO): Reimplement to do errno handling inline.
86432         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86433         (SYSCALL_ERROR_HANDLER): New macro.
86434         (__SYSCALL_STRING): Do not do errno handling in asm.
86435         (__CLONE_SYSCALL_STRING): Delete.
86436         (__INTERNAL_SYSCALL_STRING): Delete.
86437         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86438         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86439         i386.
86440         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86441         (inline_syscall*): Add 'err' argument.
86442         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86443         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86444         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86445         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86447         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86448         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86450 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86452         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86454 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86456         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86457         directive.
86459 2011-08-24  David S. Miller  <davem@davemloft.net>
86461         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86463 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86465         * elf/Makefile: Add rules to build and run unload8 test.
86466         * elf/unload8.c: New file.
86467         * elf/unload8mod1.c: New file.
86468         * elf/unload8mod1x.c: New file.
86469         * elf/unload8mod2.c: New file.
86470         * elf/unload8mod3.c: New file.
86472         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86473         it wasn't used.
86475 2011-08-23  David S. Miller  <davem@davemloft.net>
86477         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86478         subtract stack bias.
86479         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86480         %sp not %fp in calculations.
86481         (_JMPBUF_UNWINDS_ADJ): Likewise.
86483         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86484         (aio_suspend): Call it to force an exception region around the
86485         AIO_MISC_WAIT() invocation.
86487 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86489         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86490         backslash.
86492 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86494         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86495         protection macro.
86496         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86497         and <dl-machine.h>.
86498         (Elf64_FuncDesc): Remove.
86500 2011-08-22  David S. Miller  <davem@davemloft.net>
86502         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86503         sigaltstack check, add missing cfi directives.
86504         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86505         missing cfi directives, and sigaltstack handling.
86507 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86509         [BZ #11724]
86510         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86511         object is seen twice.
86512         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86514         * elf/Makefile (distribute): Add tst-initorder2.c.
86515         (tests): Add tst-initorder2.
86516         (modules-names): Add tst-initorder2a tst-initorder2b
86517         tst-initorder2c tst-initorder2d.  Add rules to build them.
86518         ($(objpfx)tst-initorder2.out): New rule.
86519         * elf/tst-initorder2.c: New file.
86520         * elf/tst-initorder2.exp: New file.
86522 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86524         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86526         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86527         dependencies back to end of function.
86529         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86530         $(elfobjdir)/ld.so.
86532 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86534         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86535         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86536         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86537         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86538         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86539         of __vdso_gettimeofday.
86540         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86541         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86542         attribute_hidden.
86543         (_libc_vdso_platform_setup): Remove initialization of
86544         __vdso_gettimeofday and __vdso_time.
86546 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86548         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86549         and fgetc_unlocked.
86550         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86551         getc_unlocked.
86553         * elf/dl-open.c (add_to_global): Report additions to the global scope
86554         for LD_DEBUG=scopes.
86555         (dl_open_worker): Also print scope of newly loaded dependencies.
86556         (_dl_show_scope): Indicate if there is no scope.
86558         [BZ #13114]
86559         * stdio-common/Makefile (tests): Add bug24.
86560         * stdio-common/bug24.c: New file.
86562 2011-08-19  Andreas Jaeger  <aj@suse.de>
86564         [BZ #13114]
86565         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86566         non-existant file when using close-on-exec mode.
86568 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86571         the very first instruction.
86573         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86574         the CFI state in the end.
86575         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86576         inclusion of dl-trampoline.h.
86577         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86579 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86581         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86582         expectations for long double.
86584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86585         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86587 2011-08-14  David S. Miller  <davem@davemloft.net>
86589         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86590         artificual limit depends upon the system page size.
86592 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86594         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86595         * resolv/Makefile: Define CFLAGS-libresolv.
86597 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86599         * nss/makedb.c (compute_tables): Make variables used in nested
86600         function static.
86602 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86604         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86605         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86606         if buffer was too small.
86608         * elf/pldd.c (main): Attach to all threads in the process.
86609         Rewrite /proc handling to use *at functions.
86611 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86613         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86614         specifies first scope to show.
86615         (dl_open_worker): Update callers.  Move printing scope of new
86616         object to before the relocation.
86617         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86618         * sysdeps/generic/ldsodefs.h: Update declaration.
86620         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86621         string for the scope number.
86623 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86625         * nscd/servicescache.c (cache_addserv): Make sure written is always
86626         initialized.
86628 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86630         * sysdeps/i386/i486/bits/atomic.h
86631         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86632         statement expression, so as to suppress "set but not used" warning.
86633         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86635         * string/strncat.c (STRNCAT): Use prototype definition.
86637         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86638         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86639         -Iprograms here.
86640         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86641         (localedef-modules): Add localedef.
86642         (locale-modules): Add locale.
86644         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86645         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86646         to avoid a warning.
86648 2011-08-14  David S. Miller  <davem@davemloft.net>
86650         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86651         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86653 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86655         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86656         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86657         * elf/rtld.c (dl_main): Set l_name of vDSO.
86658         Call _dl_show_scope when DL_DEBUG_SCOPES.
86659         (process_dl_debug): Recognize scopes flag and also set it for all.
86660         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86661         Declare _dl_show_scope.
86663         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86664         (do_dlopen): Pass caller_dlopen to dl_open.
86665         (__libc_dlopen_mode): Initialize caller_dlopen.
86667         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86668         of libc.  Make tolower call locale-independent.  Optimize a bit by
86669         using isdigit instead of isalnum.
86670         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86672 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86674         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86675         was a dependency or dynamically loaded.
86677 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86679         * intl/l10nflist.c: Allow architecture-specific pop function.
86680         * sysdeps/x86_64/l10nflist.c: New file.
86682         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86683         classification.
86685 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86687         * include/dirent.h: Add libc_hidden_proto for scandirat and
86688         scandirat64.  Don't declare __scandirat64.
86689         * dirent/scandirat.c: Add libc_hidden_def.
86690         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86691         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86693 2011-08-10  David S. Miller  <davem@davemloft.net>
86695         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86696         enum.
86697         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86698         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86699         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86701 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86703         * Versions.def [libc]: Add GLIBC_2.15.
86704         * dirent/Makefile (routines): Add scandirat and scandirat64.
86705         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86706         GLIBC_2.15.
86707         * dirent/dirent.h: Declare scandirat and scandirat64.
86708         * dirent/scandirat.c: New file.
86709         * dirent/scandirat64.c: New file.
86710         * sysdeps/wordsize-64/scandirat.c: New file.
86711         * sysdeps/wordsize-64/scandirat64.c: New file.
86712         * dirent/opendir.c: Define opendirat.
86713         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86714         using scandirat.
86715         * dirent/scandir64.c: Adjust for scandir.c change.
86716         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86717         __scandirat64, and __scandir_cancel_handler.
86718         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86719         additional parameter and use openat instead of open (outside of ld.so).
86720         Add new __opendir as wrapper around __opendirat.
86721         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86722         here without requiring old scandirat implementation.
86724 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86726         * dirent/scandir.c (cancel_handler): Renamed to
86727         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86728         defined.  Adjust users.
86729         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86730         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86732 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86734         * string/test-string.h (IMPL): Use __STRING to expand name and then
86735         stringify it.
86737         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86738         of cleanups.
86740 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86742         * string/Makefile: Update.
86743         (strop-tests): Append strncat.
86744         * string/test-wcscmp.c: New file.
86745         New comprehensive test for wcscmp.
86746         * string/test-strcmp.c: Update.
86747         (WIDE): New define.
86749 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86751         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86752         line.
86754 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86757         encoding to ACE if AI_IDN.
86759 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86761         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86762         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86764 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86766         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86767         Fix overflow bug in strncat.
86768         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86770         * string/test-strncat.c: Update.
86771         Add new tests for checking overflow bugs.
86773 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86776         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86777         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86778         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86779         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86780         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86781         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86782         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86783         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86786         (USE_AS_STRCAT): Define.
86787         Add strcat and strncat support.
86788         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86790 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86792         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86793         __n bigger than INT_MAX+1.
86794         (__strncmp_g): Likewise.
86796 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86798         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86799         * libio/stido.h: Likewise.
86801         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86802         (AF_NFC): Define.
86803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86804         (AF_NFC): Define.
86806         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86807         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86808         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86809         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86810         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86812         [BZ #13021]
86813         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86814         installed.
86816         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86817         typo.
86818         (_dl_x86_64_save_sse): Likewise.
86820 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86823         OSXSAVE.
86824         (_dl_x86_64_save_sse): Likewise.
86826         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86828         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86830 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86833         change.
86834         (_dl_x86_64_save_sse): Use correct AVX check.
86836 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86838         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86839         bug in strncpy/strncat.
86840         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86842 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86844         * string/tester.c (test_strcat): Add tests for different alignments
86845         of source and destination.
86846         (test_strncat): Likewise.
86848 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86850         [BZ #12852]
86851         * posix/glob.c (glob): Check passed in values before using them in
86852         expressions to avoid some overflows.
86853         (glob_in_dir): Likewise.
86855         [BZ #13007]
86856         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86857         check for AVX enablement so that we don't crash with old kernels and
86858         new hardware.
86859         * elf/tst-audit4.c: Add same checks here.
86860         * elf/tst-audit6.c: Likewise.
86862         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86864 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86866         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86868 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86870         * po/cs.po: Update from translation team.
86871         * po/bg.po: Likewise.
86873 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86875         * misc/sys/cdefs.h: Add support for const attribute.
86876         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86877         to gnu_dev_{major,minor,makedev} functions.
86879 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86881         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86883 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86885         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86886         strlen results.
86888 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86890         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86891         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86892         register in order to avoid conflicts with the soft frame pointer
86893         being held in r11 when necessary.
86894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86895         (INTERNAL_VSYSCALL_NCS): Likewise.
86897 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86899         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86900         * elf/dl-fini.c (_dl_fini): Adjust caller.
86901         * elf/dl-close.c (_dl_close_worker): Likewise.
86902         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86904 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86906         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86907         "aux_cache->nlibs < 0".
86909         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86910         in the reload-count case.
86912 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86915         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86916         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86917         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86918         * sysdeps/x86_64/multiarch/strcat.S: New file.
86919         * sysdeps/x86_64/multiarch/strncat.S: New file.
86920         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86921         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86922         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86923         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86924         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86925         (USE_AS_STRCAT): Define.
86926         Add strcat and strncat support.
86927         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86928         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86929         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86930         * string/strncat.c: Update.
86931         (USE_AS_STRNCAT): Define.
86932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86933         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86934         and i7.
86935         * sysdeps/x86_64/multiarch/init-arch.h
86936         (bit_Prefer_PMINUB_for_stringop): New.
86937         (index_Prefer_PMINUB_for_stringop): Likewise.
86938         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86939         bit_Prefer_PMINUB_for_stringop.
86941 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86943         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86944         buffer64.
86945         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86946         of casting of buffer.
86947         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86948         buffer32 and buffer64.
86949         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86950         writes instead of casting of buffer.
86951         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86952         buffer32.
86953         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86954         casting of buffer.
86956 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86958         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86960 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86962         * nscd/nscd.c (termination_handler): Don't do anything for a database
86963         if it has not yet been initialized.
86965 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86967         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86969 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86971         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86973 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86975         * po/nl.po: Update from translation team.
86976         * po/sv.po: Likewise.
86978 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86980         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86981         now disallowed by GCC.
86983         * configure.in (use-default-link): Default to yes if a test -shared
86984         link meets our qualifications.
86985         * configure: Regenerated.
86987         * config.make.in (output-format): New variable.
86988         * configure.in: Check for ld --print-output-format support.
86989         * configure: Regenerated.
86990         * Makerules ($(common-objpfx)format.lds)
86991         [$(output-format) != unknown]: Just use $(output-format),
86992         instead of the linker-script munging.
86994 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86996         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86997         of $(common-objpfx)shlib.lds.
86998         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87000         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87001         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87003         * configure.in (-z relro check): Adjust test code to add a large
87004         writable data section after it.
87005         * configure: Regenerated.
87007 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87009         * configure.in (-z relro check): Fix test code to make the variable
87010         truly const.
87011         * configure: Regenerated.
87013 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87015         * nscd/nscd.h (struct traced_file): Define.
87016         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87017         elements.  Add traced_files.
87018         (inotify_fd): Declare.
87019         (register_traced_file): Declare.
87020         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87021         (inotify_fd): Export.
87022         (resolv_conf_descr): Remove.
87023         (nscd_init): Move inotify descriptor creation to main.
87024         Don't register files for notification here.
87025         (register_traced_file): New function.
87026         (invalidate_cache): Don't use reset_res to determine whether to call
87027         res_init, go through the list of registered files.
87028         (main_loop_poll): The inotify descriptors are now stored in the
87029         structures for the traced files.
87030         (main_loop_epoll): Likewise.
87031         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87032         to __nss_disable_nscd.
87033         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87034         for a database anymore.  Check the records for all the registered
87035         files instead.
87036         * nss/Makefile (libnss_files-routines): Add files-init.
87037         (libnss_db-routines): Add db-init.
87038         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87039         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87040         * nss/nss_db/db-init.c: New file.
87041         * nss/nss_files/files-init.c: New file.
87042         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87043         __nss_lookup_function.
87044         (__nss_lookup_function): Call nss_load_library.
87045         (nss_load_all_libraries): New function.
87046         (__nss_disable_nscd): Take parameter with callback function for files
87047         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87048         used for the cached services.
87049         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87050         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87051         options for features to all the files in nscd.
87053         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87055 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87057         * csu/elf-init.c (__libc_csu_init): Comment typo.
87059 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87061         * po/pl.po: Update from translation team.
87062         * po/ja.po: Likewise.
87063         * po/ru.po: Likewise.
87064         * po/ko.po: Likewise.
87065         * po/fr.po: Likewise.
87067 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87069         * configure.in (.ctors/.dtors header and trailer check):
87070         Use an empirical test on a built program.
87071         * configure: Regenerated.
87073         * configure.in (-z relro check): Use an empirical test on a built DSO.
87074         Detect, but do not require, on ia64.
87075         * configure: Regenerated.
87077         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87078         Update tests that use readelf to use $READELF instead.
87079         * configure: Regenerated.
87081 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87083         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87084         if the result is not used.
87086 2011-07-05  Andreas Jaeger  <aj@suse.de>
87088         [BZ #9696]
87089         * stdlib/tst-strtod.c: Add testcase.
87091 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87093         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87094         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87095         The latter has a higher limit.  Take additional parameter to pass to
87096         the new function.
87097         (__pathconf): Pass file to __statfs_link_max.
87098         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87099         __statfs_link_max.
87100         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87101         __statfs_link_max.
87103         [BZ #12868]
87104         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87105         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87106         Handle Lustre.
87107         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87108         (__statfs_filesize_max): Likewise.
87109         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87111 2011-07-05  Andreas Jaeger  <aj@suse.de>
87113         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87115 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87117         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87118         `status' variable.
87119         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87120         Likewise.
87122 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87124         * Makefile (strop-tests): Add strncat.
87125         * string/test-strncat.c: New file.
87127 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87129         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87131 2011-06-21  Andreas Jaeger  <aj@suse.de>
87133         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87134         Copy rule from iconvdata/Makefile.
87136 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87138         [BZ #12922]
87139         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87140         but no long options are defined, just return 'W'.
87142 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87144         [BZ #9696]
87145         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87147 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87149         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87150         netgroups to read.
87151         (innetgr): Likewise.
87153 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87155         * config.make.in (install_root): Default to $(DESTDIR).
87157 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87159         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87161 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87163         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87165         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87166         containing directory rather than embedding absolute directory names.
87168         * scripts/check-local-headers.sh: Rewritten using awk.
87169         Match by word, not by line.  Print error messages for matches.
87170         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87172         * Makerules [shlib-lds-flags empty]:
87173         ($(common-objpfx)libc_pic.opts): New target.
87174         ($(common-objpfx)libc_pic.os.clean): New target.
87175         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87177         * config.make.in (OBJCOPY): New variable.
87178         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87179         * configure: Regenerated.
87181         * config.make.in (use-default-link): New variable.
87182         * configure.in (use_default_link): Grok --with-default-link to set it.
87183         * configure: Regenerated.
87184         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87185         (shlib-lds, shlib-lds-flags): Define to empty.
87187         * Makerules (shlib-lds): New variable.
87188         (shlib-lds-flags): New variable.
87189         (build-shlib, build-moduile, build-module-asneeded): Use it.
87190         ($(common-objpfx)libc.so): Use $(shlib-lds).
87191         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87192         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87194         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87195         DT_FLAGS/DT_FLAGS_1 with zero flags.
87197         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87198         linker script munging.
87200 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87202         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87203         as 128-bit value.
87204         * crypt/sha512.c (sha512_process_block): Perform total addition using
87205         128-bit if possible.
87206         (__sha512_finish_ctx): Likewise.
87207         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87208         as 64-bit value.
87209         * crypt/sha256.c (SWAP64): Define.
87210         (sha256_process_block): Perform total addition using 64-bit if
87211         possible.
87212         (__sha256_finish_ctx): Likewise.
87214 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87216         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87218         * nscd/hstcache.c (cache_addhst): Likewise.
87219         * nscd/grpcache.c (cache_addgr): Likewise.
87220         * nscd/aicache.c (addhstaiX): Likewise.
87221         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87223 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87225         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87227         * nscd/hstcache.c (cache_addhst): Likewise.
87228         * nscd/grpcache.c (cache_addgr): Likewise.
87229         * nscd/aicache.c (addhstaiX): Likewise.
87231 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87233         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87234         domain only when needed.
87236 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87238         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87239         is always restored.
87241 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87243         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87244         are re-adding the entry.
87245         * nscd/servicescache.c (cache_addserv): Likewise.
87247 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87249         * sysdeps/generic/dl-irel.h: fix protection against multiple
87250         inclusions.
87251         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87253 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87255         [BZ #12935]
87256         * malloc/memusage.sh: Fix quoting in message.
87257         * debug/xtrace.sh: Likewise.
87259         * configure.in: Remove support for --experimental-malloc option, make
87260         it the default.
87261         * config.make.in: Likewise.
87262         * malloc/Makefile: Likewise.
87264 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87266         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87267         two-byte characters.
87269 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87271         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87272         AC_CACHE_CHECK invocation.
87273         * configure: Regenerated.
87275         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87277 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87279         [BZ #12350]
87280         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87281         bit from old_res_options.
87283         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87285         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87286         value type for setfct.
87288 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87291         __gettimeofday instead of gettimeofday.
87293 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87295         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87297 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87299         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87301         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87302         info.
87304 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87307         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87308         strcpy-sse2-unaligned strncpy-sse2-unaligned
87309         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87310         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87311         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87312         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87313         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87314         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87315         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87316         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87317         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87318         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87319         (STRCPY): Support SSE2 and SSSE3 versions.
87321 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87323         [BZ #12874]
87324         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87325         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87326         kernels which artificially limit size of requests.
87328 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87330         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87331         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87332         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87333         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87334         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87335         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87336         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87337         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87338         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87339         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87340         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87341         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87342         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87343         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87344         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87346         Enable unaligned load optimization for Intel Core i3, i5 and i7
87347         processors.
87348         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87349         Define.
87350         (index_Fast_Unaligned_Load): Define.
87351         (HAS_FAST_UNALIGNED_LOAD): Define.
87353 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87355         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87357 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87359         [BZ #12907]
87360         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87361         until it is clear that the information is realy needed.
87362         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87364 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87368 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87370         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87371         /sys/devices/system/cpu/online if it is usable.
87373         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87374         reading the information from the /proc filesystem to once a second.
87376 2011-06-21  Andreas Jaeger  <aj@suse.de>
87378         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87379         NULL after inclusion of kernel headers.
87381 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87383         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87384         calls to internal_setent.
87386         [BZ #12885]
87387         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87388         addresses using gethostbyname4_r ignore IPv4 addresses.
87390         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87391         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87393         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87395 2011-06-20  David S. Miller  <davem@davemloft.net>
87397         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87398         inclusions.
87399         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87401         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87402         (elf_irel): Use it.
87403         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87404         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87405         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87406         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87407         * sysdeps/x86_64/dl-irel.h: Likewise.
87409         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87410         * elf/dl-sym.c: Likewise.
87412 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87414         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87415         need to dereference resplen2.
87417 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87419         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87421 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87423         * Makeconfig: Define vardbdir and inst_vardbdir.
87424         * nss/Makefile: Add rules to install db-Makefile.
87426         * nss/nss_db/db-XXX.c: Cleanup.
87428         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87429         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87430         GLIBC_PRIVATE.
87431         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87432         * nss/makedb.c: Implement -g option to specify that value strings
87433         are generated and should not be added to table iterated over for
87434         get*ent calls.
87435         * nss/nss_db/db-initgroups.c: New file.
87437         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87438         interface.
87440         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87441         (internal_getgrouplist): Adjust to name change.
87442         Update use_initgroups_entry if this is not the first call.
87443         * nss/databases.def: Add initgroups entry.
87445         * nss/makedb.c (compute_tables): Check result of multiple hash table
87446         sizes to minimize maximum chain length.
87448 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87450         * Versions.def: Add entry for libnss_db.
87451         * shlib-versions: Likewise.
87452         * nss/Makefile: Add rules to build libnss_db.
87453         * nss/Versions: Add libnss_db information.  Organize libnss_files
87454         entries better.
87455         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87456         makedb progra.  Some minor improvements to generate smaller files.
87457         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87458         here from...
87459         * nss/makedb.c: ...here.
87460         Improve database format to be smaller and require less memory at
87461         runtime.
87462         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87463         db anymore.
87464         * nss/nss_db/db-netgrp.c: Likewise.
87465         * nss/nss_db/db-open.c: Likewise.
87466         * nss/nss_files/flies-XXX.x: Adjust comments.
87467         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87468         * nss/nss_files/files-grp.c: Likewise.
87469         * nss/nss_files/files-hosts.c: Likewise.
87470         * nss/nss_files/files-network.c: Likewise.
87471         * nss/nss_files/files-proto.c: Likewise.
87472         * nss/nss_files/files-pwd.c: Likewise.
87473         * nss/nss_files/files-rpc.c: Likewise.
87474         * nss/nss_files/files-service.c: Likewise.
87475         * nss/nss_files/files-sgrp.c: Likewise.
87476         * nss/nss_files/files-spwd.c: Likewise.
87477         * nss/nss_db/db-alias.c: Removed.
87478         * nss/nss_db/dummy-db.h: Removed.
87480 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87482         * nss/makedb.c: Rewritten to not use database library.
87483         * nss/Makefile: Update to build new makedb program.
87485 2011-06-14  Andreas Jaeger  <aj@suse.de>
87487         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87488         memset declaration.
87490 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87493         tmpbuf.
87495 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87497         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87498         * elf/Makefile ($(objpfx)ld.so): Likewise.
87500         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87501         Don't list ld.so twice in dependencies.
87503         * posix/bug-regex31.c: Include <stdlib.h>.
87505         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87507         * nis/nss_compat/compat-spwd.c
87508         (getspent_next_nss_netgr): Remove unused variable.
87509         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87511         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87512         nonmembers" output to use the right array.
87514         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87516         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87518         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87519         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87520         * catgets/gencat.c (read_input_file): Likewise.
87521         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87523         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87524         variable definition inside #if's controlling its use.
87526         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87528         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87530         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87532         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87533         unreachable code.
87535         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87537         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87538         * configure: Regenerated.
87540         * Makerules: Revert last change.
87541         * elf/Makefile: Likewise.
87543 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87545         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87546         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87547         (reloc-link): Likewise.
87549 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87551         * elf/Makefile: Add rules to build pldd.
87552         * elf/pldd.c: New file.
87553         * elf/pldd-xx.c: New file.
87555 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87557         * version.h: Update for 2.15 development version.
87559 2011-06-07  David S. Miller  <davem@davemloft.net>
87561         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87562         ifuncs.
87563         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87564         elf_machine_lazy_rel): Likewise.
87565         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87566         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87567         elf_machine_lazy_rel): Likewise.
87568         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87569         dl_hwcap via passed in argument.
87570         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87571         Likewise.
87573 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87575         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87577 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87579         [BZ #12849]
87580         * manual/fdl-1.1.texi: New file, verbatim from:
87581         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87582         * manual/lgpl-2.1.texi: New file, verbatim from:
87583         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87584         * manual/Makefile (licenses): New variable, list those new file names.
87585         (texis): Use it.
87586         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87588         * manual/fdl.texi: File removed.
87589         * manual/lesser.texi: File removed.
87590         * manual/libc.texinfo (Copying, Documentation License):
87591         Use new @include file names, put @appendix directive before @include.
87593 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87595         [BZ #12841]
87596         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87597         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87598         (mq_open): Add __NTH.
87600 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87603         Assume Intel Core i3/i5/i7 processor if AVX is available.
87605 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87607         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87608         typo.
87610 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87612         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87613         memory.  Use alloca_account.  Fix memory leak when retrying.
87615 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87617         * version.h (RELEASE): Bump for 2.14 release.
87618         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87620         * config.make.in (RANLIB): Remove entry.
87622 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87624         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87625         (libc.pot): Work around missing support for .ksh extension in xgettext.
87627         [BZ #12684]
87628         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87629         if both request failed.
87630         (send_dg): In case of server errors clear resplen or *resplen2.
87632         [BZ #12454]
87633         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87634         when there are multiple maps.
87635         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87636         (_dl_fini): Remove test here.
87638         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87640 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87642         [BZ #12350]
87643         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87644         bit from old_res_options.
87645         (gaih_inet): Likewise.
87647         [BZ #11099]
87648         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87649         as signed.
87651         * resolv/res_init.c (res_setoptions): Make the code more compact.
87653         [BZ #11558]
87654         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87655         set RES_USEVC.
87657         [BZ #11634]
87658         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87660         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87662         [BZ #11781]
87663         * malloc/malloc.h: Declare malloc hook variables as volatile.
87665         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87666         in last patch.
87668         [BZ #11799]
87669         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87670         raise in the comment.
87671         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87672         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87673         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87675 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87677         [BZ #12811]
87678         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87679         grow the buffers more if it already has to be sufficient.
87680         (build_wcs_upper_buffer): Likewise.
87681         * posix/regexec.c (check_matching): Likewise.
87682         (clean_state_log_if_needed): Likewise.
87683         (extend_buffers): Don't enlarge buffers beyond size of the input
87684         buffer.
87685         Patches mostly by Emil Wojak <emil@wojak.eu>.
87686         * posix/bug-regex32.c: New file.
87687         * posix/Makefile (tests): Add bug-regex32.
87689         * locale/findlocale.c (_nl_find_locale): Return right away if
87690         _nl_explode_name failed.
87691         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87693         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87695         * debug/xtrace.sh: Unify messages.
87696         * malloc/memusage.sh: Likewise.
87698         [BZ #12813]
87699         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87700         time symbol from vDSO.  Substitute with vsyscall if not available.
87701         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87702         __vdso_time.
87704         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87705         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87706         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87707         Add sendmmsg and internal_sendmmsg.
87708         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87709         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87710         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87712         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87713         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87714         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87716 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87718         [BZ #12813]
87719         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87720         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87721         available.
87722         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87723         __vdso_getcpu.
87725         [BZ #12814]
87726         * iconvdata/Makefile (tests): Add bug-iconv9.
87727         * iconvdata/bug-iconv9.c: New file.
87729 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87731         [BZ #12814]
87732         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87734 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87736         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87737         (struct user_regs_struct): Change intcs field back to cs.
87739 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87741         * po/ja.po: Update from translation team.
87743 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87745         [BZ #12795]
87746         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87747         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87749 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87751         * stdlib/longlong.h: Update from GCC.
87753 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87755         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87756         parameter name.
87757         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87758         Add parameter name.
87759         (__sysconf): Pass it down.
87761 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87763         [BZ #12671]
87764         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87765         some situations.
87766         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87767         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87768         add in in __libc_use_alloca calls.  Adjust callers.
87769         (glob): Use malloc in some situations.
87771         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87772         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87773         pltexit.
87775 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87777         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87778         and CLOCK_BOOTTIME_ALARM.
87780         [BZ #12782]
87781         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87782         is returned.
87784         * string/_strerror.c (__strerror_r): Print negative errors as signed
87785         numbers.
87787         [BZ #12777]
87788         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87789         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87790         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87792         * configure.in: Fix typo in redirection and correct removal of test
87793         files in two cases.
87795         [BZ #12788]
87796         * locale/setlocale.c (new_composite_name): Fix test to check for
87797         identical name of all categories.
87799         [BZ #12792]
87800         * libio/filedoalloc.c (local_isatty): New function.
87801         (_IO_file_doallocate): Use local_isatty.
87802         * stdio-common/perror.c (perror): In case a new stream is used
87803         forward the stream error.
87804         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87805         error flag.
87807 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87809         [BZ #11884]
87810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87811         alloca.
87812         * include/alloca.h (extend_alloca_account): Define.
87814         [BZ #11857]
87815         * posix/regex.h: Fix comments with documentation of user-accessible
87816         fields after compilation and describe correct free'ing of pattern
87817         after re_compile_pattern.
87818         Patch by Reuben Thomas <rrt@sc3d.org>.
87820 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87822         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87823         and -mno-altivec to prevent the compiler from using Altivec and/or
87824         VSX instructions when the corresponding registers are not available.
87826 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87828         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87830 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87832         * libio/freopen.c (freopen): Use __dup2, not dup2.
87833         * libio/freopen64.c (freopen64): Likewise.
87835 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87837         [BZ #12775]
87838         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87839         * math/Makefile (tests): Add test-powl.
87840         (CFLAGS-test-powl.c): Define.
87841         * math/test-powl.c: New file.
87843 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87845         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87847 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87849         [BZ #11837]
87850         * iconvdata/gb18030.c: Update to GB18020-2005.
87852 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87854         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87855         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87856         Patch by Aharon Robbins <arnold@skeeve.com>.
87858         [BZ #11892]
87859         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87860         on the stack.
87862         [BZ #11895]
87863         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87864         through underflows.
87866         [BZ #12766]
87867         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87868         point to strings before performing equality test for error_one_per_line
87869         mode.
87871         [BZ #11697]
87872         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87874         [BZ #11820]
87875         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87876         (struct user_fpregs_struct): Avoid __uint*_t types.
87878         [BZ #6420]
87879         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87880         symbol info.  Use it instead of calling _dl_addr locally.
87881         (lock_and_info): New function.
87882         (tr_freehook): Call lock_and_info and pass symbol info as additional
87883         parameter to tr_where.
87884         (tr_mallochook): Likewise.
87885         (tr_reallochook): Likewise.
87886         (tr_memalignhook): Likewise.
87888         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87889         used and couldn't be at all thread-safe.
87891 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87893         * libio/freopen.c (freopen): Don't close old file descriptor
87894         before the new one is opened.  Instead dup the new file descriptor
87895         to the old one after the new stream is created.
87896         * libio/freopen64.c (freopen64): Likewise.
87897         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87898         * libio/fileops.c (_IO_new_file_close_it): Handle new
87899         _IO_FLAGS2_NOCLOSE flag.
87900         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87901         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87902         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87903         _IO_FLAGS2_NOCLOSE flag.
87904         * include/unistd.h: Add hidden_proto for dup3.
87905         Define __have_dup3.
87906         * io/dup3.c: Define hidden symbol.
87907         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87909         [BZ #7101]
87910         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87911         when an incomplete long option is used.
87912         * posix/tst-getopt_long1.c: New file.
87913         * posix/Makefile (tests): Add tst-getopt_long1.
87915         [BZ #10138]
87916         * scripts/config.guess: Update from autoconf-2.68.
87917         * scripts/config.sub: Likewise.
87919         [BZ #10157]
87920         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87921         tests into ...
87922         (has_cpuclock): ...this.  New function.
87923         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87924         macro here based on has_cpuclock code.
87926         [BZ #10149]
87927         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87928         First byte (not low byte) is now always NUL.
87929         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87931         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87932         Use non-cancelable interfaces.
87934         [BZ #9809]
87935         * locale/iso-639.def: Add entry for Sorani.
87937         [BZ #11901]
87938         * include/stdlib.h: Move include protection to the right place.
87939         Define abort_msg_s.  Declare __abort_msg with it.
87940         * stdlib/abort.c (__abort_msg): Adjust type.
87941         * assert/assert.c (__assert_fail_base): New function.  Majority
87942         of code from __assert_fail.  Allocate memory for __abort_msg with
87943         mmap.
87944         (__assert_fail): Now call __assert_fail_base.
87945         * assert/assert-perr.c: Remove bulk of implementation.  Use
87946         __assert_fail_base.
87947         * include/assert.hL Declare __assert_fail_base.
87948         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87949         mmap.
87950         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87952 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87954         [BZ #11952]
87955         [BZ #12453]
87956         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87957         until all modules are registered in the DTV.
87958         * elf/Makefile: Add rules to build and run tst-tls19.
87959         * elf/tst-tls19.c: New file.
87960         * elf/tst-tls19mod1.c: New file.
87961         * elf/tst-tls19mod2.c: New file.
87962         * elf/tst-tls19mod3.c: New file.
87963         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87965         [BZ #12083]
87966         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87967         correctly.
87969         [BZ #12601]
87970         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87971         two-byte sequence errors.
87972         * iconvdata/Makefile (tests): Add bug-iconv8.
87973         * iconvdata/bug-iconv8.c: New file.
87975         [BZ #12626]
87976         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87977         buf2 definition.
87979         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87981         [BZ #12432]
87982         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87983         (dummy_getcfa): New function.
87984         (init): Get _Unwind_GetCFA address, use dummy if not found.
87985         (backtrace_helper): In recursion check, also check whether CFA changes.
87986         (__backtrace): Completely initialize arg.
87988         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87989         storing incomplete byte sequence in state object.  Avoid testing for
87990         guaranteed too small input if we know there is enough data available.
87992 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87994         * Makeconfig (+link-pie): Indent.
87995         * Rules (binaries-pie): Define if $(have-fpie) and
87996         $(build-shared).
87997         (binaries-shared): Also filter out $(binaries-pie).
87998         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87999         * nscd/Makefile (others-pie): Add nscd.
88000         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88001         ($(objpfx)nscd): Remove command override.
88002         * login/Makefile (others-pie): Add pt_chown.
88003         ($(objpfx)pt_chown): Remove command override.
88004         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88005         remove command overrides.
88007 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88009         * libio/tst_putwc.c: Fix error messages.
88011         [BZ #12724]
88012         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88013         currently writing and seek to current position when not.
88014         * libio/Makefile (tests): Add bug-fclose1.
88015         * libio/bug-fclose1.c: New file.
88017 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88019         [BZ #12511]
88020         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88021         don't set DF_1_NODELETE here.
88022         (do_lookup_x): When entering new entry test for copy relocation
88023         and if necessary set DF_1_NODELETE flag.
88024         * elf/tst-unique4.cc: New file.
88025         * elf/tst-unique4.h: New file.
88026         * elf/tst-unique4lib.cc: New file.
88027         * elf/Makefile: Add rules to build and run tst-unique4.
88028         Patch by Piotr Bury <pbury@goahead.com>.
88030 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88032         [BZ #12052]
88033         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88035         [BZ #12625]
88036         * misc/mntent_r.c (addmntent): Flush the stream after the output
88038         [BZ #12393]
88039         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88040         (is_trusted_path_normalize): Skip initial colon.  Append slash
88041         to empty buffer.  Duplicate is_trusted_path code but allow
88042         constructed patch to be prefix.
88043         (is_dst): Allow $ORIGIN followed by /.
88044         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88045         Correct testing of result of is_trusted_path_normalize
88046         (decompose_rpath): Fix warning.
88048 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88050         [BZ #11257]
88051         * grp/initgroups.c (internal_getgrouplist): When we found the service
88052         list through the initgroups entry in nsswitch.conf do not always
88053         continue on a successful lookup.  Don't always use the
88054         __nss_group_database value if it is set.
88055         * nss/nsswitch.conf (initgroups): Change action for successful db
88056         lookup to continue for compatibility.
88058 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88060         [BZ #11532]
88061         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88062         and CP774 modules.
88063         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88064         and CP774 modules.
88065         * iconvdata/tst-tables.sh: Likewise.
88066         * iconvdata/cp770.c: New file.
88067         * iconvdata/cp771.c: New file.
88068         * iconvdata/cp772.c: New file.
88069         * iconvdata/cp773.c: New file.
88070         * iconvdata/cp774.c: New file.
88071         * iconvdata/testdata/CP770: New file.
88072         * iconvdata/testdata/CP770..UTF8: New file.
88073         * iconvdata/testdata/CP771: New file.
88074         * iconvdata/testdata/CP771..UTF8: New file.
88075         * iconvdata/testdata/CP772: New file.
88076         * iconvdata/testdata/CP772..UTF8: New file.
88077         * iconvdata/testdata/CP773: New file.
88078         * iconvdata/testdata/CP773..UTF8: New file.
88079         * iconvdata/testdata/CP774: New file.
88080         * iconvdata/testdata/CP774..UTF8: New file.
88082         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88083         END CHARMAP line.
88084         * iconvdata/gen-8bit-gap.sh: Likewise.
88085         * iconvdata/gen-8bit.sh: Likewise.
88087         * locale/iso-639.def: Add ary entry.
88089         [BZ #11258]
88090         * locale/C-translit.h.in: Add U20A1 transliteration.
88092         [BZ #12178]
88093         * locale/iso-639.def: Add wae entry.
88094         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88096         [BZ #12545]
88097         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88098         for n.
88100         [BZ #12711]
88101         * locale/C-translit.h.in: Add entry for U20B9.
88102         Patch by pravin.d.s@gmail.com.
88104 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88106         [BZ #12713]
88107         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88108         ENAMETOOLONG use generic getcwd.
88109         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88110         in rtld.  Use *stat64.
88111         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88112         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88113         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88114         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88115         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88116         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88117         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88118         __fstatat64 macros.
88119         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88120         * dirent/rewinddir.c: Add libc_hidden_def.
88121         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88122         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88124         * include/dirent.h (__alloc_dir): Add flags parameter.
88125         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88126         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88127         __alloc_dir.
88128         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88129         from fdopendir if O_CLOEXEC is already set.
88131 2011-03-15  Alan Modra  <amodra@gmail.com>
88133         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88134         l_tls_firstbyte_offset non-zero.  Save padding offset in
88135         l_tls_firstbyte_offset for later use.
88136         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88137         freeing static tls block.
88139 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88141         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88142         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88143         being defined by the kernel headers.
88145 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88147         [BZ #12734]
88148         * resolv/resolv.h: Define RES_NOTLDQUERY.
88149         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88150         no-tld-query and set RES_NOTLDQUERY.
88151         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88152         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88153         modern BIND to search name as TLD unless forbidden.
88155 2011-05-07  Petr Baudis  <pasky@suse.cz>
88156             Ulrich Drepper  <drepper@gmail.com>
88158         [BZ #12393]
88159         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88160         (is_trusted_path): ...to here.
88161         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88162         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88163         using is_trusted_path_normalize() in setuid scripts.
88165 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88167         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88168         __BEGIN/__END_DECLS.
88170 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88172         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88173         NSS_STATUS_NOTFOUND if no record was found.
88175 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88177         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88178         (headers-not-in-tirpc): Remove rpc/netdb.h
88179         * resolv/netdb.h: Revert last change.
88181 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88183         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88184         circular dependency between libgcc.a and libc.a.
88186 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88188         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88189         * nis/Makefile: Don't install rpcsvc/*.
88190         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88191         instead of <rpc/types.h>.
88192         (MAXHOSTNAMELEN): Define.
88194 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88196         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88198 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88200         [BZ #12714]
88201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88202         gethostbyname4_r when IPv6 results are possible.
88204 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88206         [BZ #12723]
88207         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88208         _PC_PIPE_BUF handling.
88210 2011-04-30  Bruno Haible  <bruno@clisp.org>
88212         [BZ #12717]
88213         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88214         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88215         to 'int'.
88216         * inet/getnameinfo.c (getnameinfo): Likewise.
88218 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88220         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88221         to groups setting in database lookup.
88222         * nss/nsswitch.conf: Add initgroups entry.
88224 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88226         [BZ #12685]
88227         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88228         mode string.
88229         Patch by Eric Blake <eblake@redhat.com>.
88231 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88233         * sunrpc/Makefile (need-export-routines): Add svc_run.
88234         (routines): Remove svc_run.
88235         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88236         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88237         * sunrpc/svc_run.c (svc_run): Likewise.
88238         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88240 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88242         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88243         problem in reallocation in last patch.
88245 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88247         * sunrpc/Makefile: Move inclusion of Rules.
88249 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88251         * nss/nss_files/files-initgroups.c: New file.
88252         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88253         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88254         _nss_files_initgroups_dyn.
88256 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88258         * elf/elf.h (R_ARM_IRELATIVE): Define.
88260 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88262         * po/ru.po: Update from translation team.
88264 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88266         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88267         dependencies.
88269 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88271         [BZ #12653]
88272         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88273         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88274         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88275         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88276         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88278 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88280         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88281         differing bytes.
88282         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88283         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88284         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88286 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88288         [BZ #12420]
88289         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88290         storing it.
88291         * stdlib/bug-getcontext.c: New file.
88292         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88294 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88296         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88297         instructions into .machine "z9-109".
88298         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88299         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88301 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88303         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88304         between environment variables and auxiliary vector.
88306 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88308         * Makefile: Add rules to build linkobj/libc.so.
88309         * include/libc-symbols.h: Define libc_hidden_nolink.
88310         * include/rpc/auth.h: Mark functions which are to be hidden.
88311         * include/rpc/auth_des.h: Likewise.
88312         * include/rpc/auth_unix.h: Likewise.
88313         * include/rpc/clnt.h: Likewise.
88314         * include/rpc/des_crypt.h: Likewise.
88315         * include/rpc/key_prot.h: Likewise.
88316         * include/rpc/pmap_clnt.h: Likewise.
88317         * include/rpc/pmap_prot.h: Likewise.
88318         * include/rpc/pmap_rmt.h: Likewise.
88319         * include/rpc/rpc_msg.h: Likewise.
88320         * include/rpc/svc.h: Likewise.
88321         * include/rpc/svc_auth.h: Likewise.
88322         * include/rpc/xdr.h: Likewise.
88323         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88324         * nss/Makefile: Likewise.
88325         * sunrpc/Makefile: Don't install headers.  Build library with normal
88326         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88327         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88328         for the compat linking library.  Remove use of INTDEF/INTUSE.
88329         * sunrpc/auth_none.c: Likewise.
88330         * sunrpc/auth_unix.c: Likewise.
88331         * sunrpc/authdes_prot.c: Likewise.
88332         * sunrpc/authuxprot.c: Likewise.
88333         * sunrpc/clnt_gen.c: Likewise.
88334         * sunrpc/clnt_perr.c: Likewise.
88335         * sunrpc/clnt_raw.c: Likewise.
88336         * sunrpc/clnt_simp.c: Likewise.
88337         * sunrpc/clnt_tcp.c: Likewise.
88338         * sunrpc/clnt_udp.c: Likewise.
88339         * sunrpc/clnt_unix.c: Likewise.
88340         * sunrpc/des_crypt.c: Likewise.
88341         * sunrpc/des_soft.c: Likewise.
88342         * sunrpc/get_myaddr.c: Likewise.
88343         * sunrpc/key_call.c: Likewise.
88344         * sunrpc/key_prot.c: Likewise.
88345         * sunrpc/netname.c: Likewise.
88346         * sunrpc/pm_getmaps.c: Likewise.
88347         * sunrpc/pm_getport.c: Likewise.
88348         * sunrpc/pmap_clnt.c: Likewise.
88349         * sunrpc/pmap_prot.c: Likewise.
88350         * sunrpc/pmap_prot2.c: Likewise.
88351         * sunrpc/pmap_rmt.c: Likewise.
88352         * sunrpc/publickey.c: Likewise.
88353         * sunrpc/rpc_cmsg.c: Likewise.
88354         * sunrpc/rpc_common.c: Likewise.
88355         * sunrpc/rpc_dtable.c: Likewise.
88356         * sunrpc/rpc_prot.c: Likewise.
88357         * sunrpc/rpc_thread.c: Likewise.
88358         * sunrpc/rtime.c: Likewise.
88359         * sunrpc/svc.c: Likewise.
88360         * sunrpc/svc_auth.c: Likewise.
88361         * sunrpc/svc_authux.c: Likewise.
88362         * sunrpc/svc_raw.c: Likewise.
88363         * sunrpc/svc_run.c: Likewise.
88364         * sunrpc/svc_simple.c: Likewise.
88365         * sunrpc/svc_tcp.c: Likewise.
88366         * sunrpc/svc_udp.c: Likewise.
88367         * sunrpc/svc_unix.c: Likewise.
88368         * sunrpc/svcauth_des.c: Likewise.
88369         * sunrpc/xcrypt.c: Likewise.
88370         * sunrpc/xdr.c: Likewise.
88371         * sunrpc/xdr_array.c: Likewise.
88372         * sunrpc/xdr_float.c: Likewise.
88373         * sunrpc/xdr_intXX_t.c: Likewise.
88374         * sunrpc/xdr_mem.c: Likewise.
88375         * sunrpc/xdr_rec.c: Likewise.
88376         * sunrpc/xdr_ref.c: Likewise.
88377         * sunrpc/xdr_sizeof.c: Likewise.
88378         * sunrpc/xdr_stdio.c: Likewise.
88380 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88382         [BZ #12650]
88383         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88384         * sysdeps/ia64/dl-tls.h: Likewise.
88385         * sysdeps/powerpc/dl-tls.h: Likewise.
88386         * sysdeps/s390/dl-tls.h: Likewise.
88387         * sysdeps/sh/dl-tls.h: Likewise.
88388         * sysdeps/sparc/dl-tls.h: Likewise.
88389         * sysdeps/x86_64/dl-tls.h: Likewise.
88390         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88392 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88394         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88395         rpath element also skip the following colon.
88396         (expand_dynamic_string_token): Add is_path parameter and pass
88397         down to DL_DST_REQUIRED and _dl_dst_substitute.
88398         (decompose_rpath): Call expand_dynamic_string_token with
88399         non-zero is_path.  Ignore empty rpaths.
88400         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88401         with zero is_path.
88403 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88406         Make cancelable.
88408 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88410         [BZ #12655]
88411         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88412         Patch by Filipe David Manana <fdmanana@apache.org>.
88414 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88417         Maintain aligned stack.
88418         (CHECK_RSP): Remove unused macro.
88420 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88422         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88423         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88425 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88427         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88429         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88431 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88433         [BZ #12518]
88434         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88435         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88436         * sysdeps/x86_64/memmove.c: New file.
88437         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88438         (memcpy): Renamed to ...
88439         (__new_memcpy): This.
88440         (memcpy): Provide GLIBC_2_14 memcpy.
88441         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88442         (memcpy): Provide GLIBC_2_2_5 memcpy.
88444 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88446         [BZ #12631]
88447         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88449 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88451         * misc/syncfs.c: New file.
88452         * misc/Makefile (routines): Add syncfs.
88453         * posix/unistd.h: Declare syncfs.
88454         * sysdeps/unix/syscalls.list: Add syncfs.
88456 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88458         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88459         open_by_handle_at.
88460         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88461         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88463         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88464         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88465         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88466         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88468 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88470         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88471         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88472         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88473         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88474         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88475         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88476         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88478         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88479         sync_file_range.c with -fexceptions.
88480         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88481         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88482         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88483         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88484         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88485         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88486         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88487         sync_file_range as cancellation point
88488         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88489         now a wrapper around __call_sync_file_range with cancellation handling.
88490         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88491         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88492         function name to __call_sync_file_range.
88493         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88494         Add call_sync_file_range.
88496 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88499         bits/timex.h.
88501 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88503         * iconv/iconv.h: Fix typo in comment.
88504         * io/fcntl.h: Likewise.
88505         * libio/stdio.h: Likewise.
88506         * posix/spawn.h: Likewise.
88507         * posix/unistd.h: Likewise.
88508         * stdlib/stdlib.h: Likewise.
88509         * time/time.h: Likewise.
88510         * wcsmbs/wchar.h: Likewise.
88512         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88513         open_by_handle): Add.
88514         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88515         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88516         Augment a few comments.
88517         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88518         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88519         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88521         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88522         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88523         open_by_handle.
88525         * io/fcntl.h (AT_EMPTY_PATH): Define.
88527 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88529         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88530         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88531         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88532         to...
88533         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88534         * Versions.def: Add GLIBC_2.14.
88535         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88536         Export.
88538 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88540         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88541         round counter.
88542         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88544 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88546         [BZ #12597]
88547         * string/test-strncmp.c (do_page_test): New function.
88548         (check2): Likewise.
88549         (test_main): Call check2.
88550         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88552 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88554         [BZ #12587]
88555         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88556         Handle cache information in CPU leaf 4.
88557         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88559 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88561         [BZ #12583]
88562         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88563         character representation.
88564         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88566 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88568         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88569         END(__isnan) to END(__isnanf) to match function entry point/label
88570         EALIGN(__isnanf,...).
88572 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88574         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88576 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88578         [BZ #12510]
88579         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88580         copy from the symbol referenced in the relocation to initialize the
88581         used variable.
88582         Patch by Piotr Bury <pbury@goahead.com>.
88583         * elf/Makefile: Add rules to build and tst-unique3.
88584         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88585         * elf/tst-unique3.cc: New file.
88586         * elf/tst-unique3.h: New file.
88587         * elf/tst-unique3lib.cc: New file.
88588         * elf/tst-unique3lib2.cc: New file.
88590         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88592 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88594         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88595         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88596         to _start.
88598 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88600         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88601         to-be-loaded object along a path to loader is ld.so.
88603 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88604             Ulrich Drepper  <drepper@gmail.com>
88606         * sysdeps/x86_64/memset.S: After aligning destination, code
88607         branches to different locations depending on the value of
88608         misalignment, when multiarch is enabled. Fix this.
88610 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88612         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88613         Set _x86_64_preferred_memory_instruction for AMD processsors.
88614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88615         Set bit_Prefer_SSE_for_memop for AMD processors.
88617 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88619         * libio/fmemopen.c (fmemopen): Optimize a bit.
88621 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88623         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88625 2011-03-03  Roland McGrath  <roland@redhat.com>
88627         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88629 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88631         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88632         __bzero_ultra1 instead of __memset_ultra1.
88634 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88635             Ulrich Drepper  <drepper@gmail.com>
88637         [BZ #12509]
88638         * include/link.h (struct link_map): Add l_orig_initfini.
88639         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88640         returning unsuccessfully.
88641         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88642         close of a file loaded at startup, restore the original l_initfini
88643         list.
88644         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88645         list, store the pointer.
88646         * elf/Makefile ($(objpfx)noload-mem): New rule.
88647         (noload-ENV): Define.
88648         (tests): Add $(objpfx)noload-mem.
88649         * elf/noload.c: Include <memcheck.h>.
88650         (main): Call mtrace.  Close all opened handles.
88652 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88654         [BZ #12454]
88655         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88656         dependencies are missing.
88658 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88660         Fix __if_freereq crash: Unlike the generic version which uses free,
88661         Hurd needs munmap.
88662         * sysdeps/mach/hurd/ifreq.h: New file.
88664 2011-01-27  Petr Baudis  <pasky@suse.cz>
88665             Ulrich Drepper  <drepper@gmail.com>
88667         [BZ 12445]#
88668         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88669         to extend_alloca().
88670         * stdio-common/bug23.c: New file.
88671         * stdio-common/Makefile (tests): Add bug23.
88673 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88674             Ulrich Drepper  <drepper@gmail.com>
88676         [BZ #12489]
88677         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88678         before performing relro protection.  At old place add assertion
88679         to make sure nothing changed.
88681 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88682             Glauber de Oliveira Costa  <glommer@gmail.com>
88684         * elf/elf.h: Add new ARM TLS relocs.
88686 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88689         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88690         cast from r3.
88691         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88692         'tests' variable.
88693         * sysdeps/wordsize-64/tst-writev.c: New file.
88695 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88697         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88698         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88699         insns in _dl_start to prevent a TOC reference before relocs are
88700         resolved.
88702 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88704         [BZ #12469]
88705         * Makeconfig: Remove RANLIB definition.
88706         * Makerules: Don't use RANLIB.
88707         * aclocal.m4: Remove ranlib test.
88708         * configure.in: No need to check for ranlib.
88709         * elf/rtld-Rules: Don't use RANLIB.
88711 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88713         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88714         protection macro.
88715         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88716         inclusion protection macro.
88718         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88719         SIGRTMIN and SIGRTMAX and print information in that case only when
88720         SIGRTMIN is defined.
88722 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88724         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88725         arginfo fn returning -1.
88727         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88728         and thousands string is zero terminated.
88730 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88732         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88733         sysdeps/unix/sysv/linux/bits/socket.h.
88735 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88737         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88738         (__CPU_COUNT): Remove old macros.
88739         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88740         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88741         (__CPU_ALLOC, __CPU_FREE): Add macros.
88742         (__sched_cpualloc, __sched_cpufree): Add declarations.
88744 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88746         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88747         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88748         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88749         (readdhstai): Return value of addhstaiX call.
88750         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88751         (addgrbyX): Return value returned by cache_addgr.
88752         (readdgrbyname): Return value returned by addgrbyX.
88753         (readdgrbygid): Likewise.
88754         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88755         (addpwbyX): Return value returned by cache_addpw.
88756         (readdpwbyname): Return value returned by addhstbyX.
88757         (readdpwbyuid): Likewise.
88758         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88759         (addservbyX): Return value returned by cache_addserv.
88760         (readdservbyname): Return value returned by addservbyX:
88761         (readdservbyport): Likewise.
88762         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88763         (addhstbyX): Return value returned by cache_addhst.
88764         (readdhstbyname): Return value returned by addhstbyX.
88765         (readdhstbyaddr): Likewise.
88766         (readdhstbynamev6): Likewise.
88767         (readdhstbyaddrv6): Likewise.
88768         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88769         (readdinitgroups): Return value returned by addinitgroupsX.
88770         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88771         (prune_cache): Keep track of timeout value of re-added entries.
88772         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88773         * nscd/nscd.h: Adjust prototypes of readd* functions.
88775 2011-02-04  Roland McGrath  <roland@redhat.com>
88777         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88778         (nis_stats): Likewise.
88779         * nis/nis_modify.c (nis_modify): Likewise.
88780         * nis/nis_remove.c (nis_remove): Likewise.
88781         * nis/nis_add.c (nis_add): Likewise.
88783         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88785         * posix/fnmatch_loop.c: Add some consts.
88787         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88789 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88791         [BZ #12460]
88792         * config.make.in (config-cflags-novzeroupper): Define.
88793         * configure.in: Substitute libc_cv_cc_novzeroupper.
88794         * elf/Makefile (AVX-CFLAGS): Define.
88795         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88796         (CFLAGS-tst-auditmod4a.c): Likewise.
88797         (CFLAGS-tst-auditmod4b.c): Likewise.
88798         (CFLAGS-tst-auditmod6b.c): Likewise.
88799         (CFLAGS-tst-auditmod6c.c): Likewise.
88800         (CFLAGS-tst-auditmod7b.c): Likewise.
88801         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88803 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88805         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88806         function to the callback.
88807         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88809 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88811         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88812         of errno.
88814 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88816         [BZ #11724]
88817         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88818         of constructors.
88819         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88820         of destructors.
88821         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88823         [BZ #11724]
88824         * elf/Makefile: Add rules to build and run new test.
88825         * elf/tst-initorder.c: New file.
88826         * elf/tst-initorder.exp: New file.
88827         * elf/tst-initordera1.c: New file.
88828         * elf/tst-initordera2.c: New file.
88829         * elf/tst-initordera3.c: New file.
88830         * elf/tst-initordera4.c: New file.
88831         * elf/tst-initorderb1.c: New file.
88832         * elf/tst-initorderb2.c: New file.
88833         * elf/tst-order-a1.c: New file.
88834         * elf/tst-order-a2.c: New file.
88835         * elf/tst-order-a3.c: New file.
88836         * elf/tst-order-a4.c: New file.
88837         * elf/tst-order-b1.c: New file.
88838         * elf/tst-order-b2.c: New file.
88839         * elf/tst-order-main.c: New file.
88840         New test case by George Gensure <werkt0@gmail.com>.
88842 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88844         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88845         decoding ACE if AI_CANONIDN.
88847 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88849         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88851 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88853         * version.h (RELEASE): Bump for 2.13 release.
88854         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88856         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88858         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88859         MADV_NOHUGEPAGE.
88860         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88861         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88862         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88863         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88864         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88865         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88867         * posix/getconf.c: Update copyright year.
88868         * catgets/gencat.c: Likewise.
88869         * csu/version.c: Likewise.
88870         * debug/catchsegv.sh: Likewise.
88871         * debug/xtrace.sh: Likewise.
88872         * elf/ldconfig.c: Likewise.
88873         * elf/ldd.bash.in: Likewise.
88874         * elf/sprof.c (print_version): Likewise.
88875         * iconv/iconv_prog.c: Likewise.
88876         * iconv/iconvconfig.c: Likewise.
88877         * locale/programs/locale.c: Likewise.
88878         * locale/programs/localedef.c: Likewise.
88879         * malloc/memusage.sh: Likewise.
88880         * malloc/mtrace.pl: Likewise.
88881         * nscd/nscd.c (print_version): Likewise.
88882         * nss/getent.c: Likewise.
88884         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88885         PF_CAIF, and PF_ALG.
88886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88888 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88890         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88891         (modules-names): Use them.
88892         (ifunc-test-modules, ifunc-pie-tests): Define.
88893         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88894         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88895         (test-extras): Likewise.
88896         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88897         $(compile-command.c).
88898         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88899         (all-built-dso): Define.
88900         (check-textrel.out, check-execstack.out): Depend on it.
88902         * configure.in: Don't override --enable-multi-arch.
88904 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88906         [BZ #6812]
88907         * nscd/hstcache.c (tryagain): Define.
88908         (cache_addhst): Return tryagain not notfound for temporary errors.
88909         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88910         failed.
88912 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88914         [BZ #10563]
88915         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88916         to make the syscall.
88917         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88919         [BZ #12378]
88920         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88921         and fall back to matching as normal character if the string ends before
88922         the matching ']' is found.  This is what POSIX requires.
88923         * posix/testfnm.c: Adjust test result.
88924         * posix/globtest.sh: Adjust test result.  Add new test.
88925         * posix/tst-fnmatch.input: Likewise.
88926         * posix/tst-fnmatch2.c: Add new test.
88928 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88930         * elf/Makefile (check-execstack): Revert last change.  Depend on
88931         check-execstack.h.
88932         (check-execstack.h): New target.
88933         (generated): Add check-execstack.h.
88934         * elf/check-execstack.c: Include "check-execstack.h".
88935         (main): Revert last change.
88936         (handle_file): Return zero if GNU_STACK is absent and
88937         DEFAULT_STACK_PERMS doesn't include PF_X.
88939 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88941         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88942         in child fails because the descriptor is already closed.
88943         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88944         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88945         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88947         [BZ #12397]
88948         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88949         syscall.
88951         [BZ #10484]
88952         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88953         temporary buffer used to handle multi lookups locally.
88954         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88956 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88958         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88959         loader is ld.so.
88961 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88963         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88964         alignment for SSE2.
88966 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88968         [BZ #12394]
88969         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88970         characters.  When rounding increased number of integer digits recompute
88971         number of groups.
88972         * stdio-common/tst-grouping.c: New file.
88973         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88975 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88977         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88978         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88980         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88981         void.
88982         * bits/select.h: Likewise.
88984 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88986         * po/ja.po: Update from translation team.
88988 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88990         [BZ #11155]
88991         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88992         implementation just like for lxstat, fxstatat, et al.
88994 2010-12-27  Jim Meyering  <meyering@redhat.com>
88996         [BZ #12348]
88997         * posix/regexec.c (build_trtable): Return failure indication upon
88998         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89000 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89002         [BZ #12201]
89003         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89004         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89005         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89006         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89008         [BZ #12207]
89009         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89011         [BZ #12204]
89012         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89013         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89015 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89017         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89018         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89019         script has SORT_BY_INIT_PRIORITY.
89020         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89021         NO_CTORS_DTORS_SECTIONS is defined.
89022         * elf/soinit.c: Likewise.
89023         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89024         NO_CTORS_DTORS_SECTIONS is defined.
89025         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89026         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89027         * sysdeps/sh/init-first.c: Likewise.
89028         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89030 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89032         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89033         always use the slow path.
89035 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89037         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89038         similar rule which adds the sysdep directories to the header search in
89039         order to pick up the correct platform stackinfo.h.
89040         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89041         perform test if it is, otherwise return successfully without testing.
89042         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89043         DEFAULT_STACK_PERMS define in stackinfo.h.
89044         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89045         defined in stackinfo.h.
89046         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89047         DEFAULT_STACK_PERMS defined in stackinfo.h.
89048         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89049         * sysdeps/ia64/stackinfo.h: Likewise.
89050         * sysdeps/s390/stackinfo.h: Likewise.
89051         * sysdeps/sh/stackinfo.h: Likewise.
89052         * sysdeps/sparc/stackinfo.h: Likewise.
89053         * sysdeps/x86_64/stackinfo.h: Likewise.
89054         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89055         PF_X for powerpc64.  Retain PF_X for powerpc32.
89057 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89059         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89060         accurately.
89061         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89062         GETDENTS_64BIT_ALIGNED.
89064 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89066         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89068 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89070         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89071         _GNU_SOURCE.
89073         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89074         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89075         Remove __restrict.
89076         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89077         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89079 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89081         [BZ #11655]
89082         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89083         are initialized.
89085 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89087         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89089 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89091         * po/it.po: Update from translation team.
89093 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89095         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89096         unused codes.
89098 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89100         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89102 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89104         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89105         specially.
89106         (gaih_getanswer_slice): Likewise.
89108 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89112 2010-05-31  Petr Baudis  <pasky@suse.cz>
89114         [BZ #11149]
89115         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89116         silently even in the chroot mode.
89118 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89120         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89121         last patch a bit.  Pretty printing
89123 2010-05-31  Petr Baudis <pasky@suse.cz>
89125         [BZ #10085]
89126         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89127         initialization of skip_initgroups_dyn.
89129 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89131         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89132         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89134 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89136         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89138 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89140         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89141         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89142         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89143         ($(objpfx)tst-fnmatch-mem): New rule.
89144         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89145         * posix/tst-fnmatch.c (main): Call mtrace.
89147 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89150         Support Intel processor model 6 and model 0x2c.
89152 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89154         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89155           signed comparison.
89157 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89159         [BZ #12205]
89160         * string/test-strncasecmp.c (check_result): New function.
89161         (do_one_test): Use it.
89162         (check1): New function.
89163         (test_main): Use it.
89164         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89165         Support strcasecmp and strncasecmp.
89167 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89169         [BZ #12194]
89170         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89171         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89173 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89175         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89176         IFUNC support.
89177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89178         memset-x86-64.
89179         * sysdeps/x86_64/multiarch/bzero.S: New file.
89180         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89181         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89182         * sysdeps/x86_64/multiarch/memset.S: New file.
89183         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89184         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89185         Set bit_Prefer_SSE_for_memop for Intel processors.
89186         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89187         Define.
89188         (index_Prefer_SSE_for_memop): Define.
89189         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89191 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89194         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89196 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89198         [BZ #12191]
89199         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89200         (__x86_64_raw_data_cache_size_half): Likewise.
89201         (__x86_64_raw_shared_cache_size): Likewise.
89202         (__x86_64_raw_shared_cache_size_half): Likewise.
89204         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89205         (__x86_64_raw_data_cache_size_half): Likewise.
89206         (__x86_64_raw_shared_cache_size): Likewise.
89207         (__x86_64_raw_shared_cache_size_half): Likewise.
89208         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89209         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89210         and __x86_64_raw_shared_cache_size_half.  Round
89211         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89212         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89213         to multiple of 256 bytes.
89215 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89217         [BZ #12167]
89218         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89219         of inacessible symlinks.  Verify result of symlink before returning it.
89220         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89221         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89223 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89225         * math/math.h (isinf): Fix typo in comment.
89227 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89229         * po/da.po: Update from translation team.
89231 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89233         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89234         is added to the list.
89236 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89237             Ulrich Drepper  <drepper@gmail.com>
89239         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89240         the global list here.  Move code to...
89241         (_dl_add_to_namespace_list): ...here.  New function.
89242         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89243         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89244         * elf/dl-load.c (lose): Don't remove the element from the list.
89245         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89246         (_dl_map_object): Likewise.
89248 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89250         [BZ #12159]
89251         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89252         into all bytes of SSE register.
89253         Patch by Richard Li <richardpku@gmail.com>.
89255 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89257         [BZ #12140]
89258         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89259         perturbing.
89261 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89263         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89264         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89265         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89266         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89268         submachine.
89269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89271 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89273         * include/dlfcn.h (__RTLD_SECURE): Define.
89274         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89275         mode & __RTLD_SECURE instead.
89276         (open_path): Rename preloaded parameter to secure.
89277         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89278         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89279         * elf/dl-deps.c (openaux): Likewise.
89280         * elf/rtld.c (struct map_args): Remove is_preloaded.
89281         (map_doit): Don't use it.
89282         (dl_main): Likewise.
89283         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89284         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89286 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89288         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89289         (sysd-rules-targets): Remove duplicates.
89290         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89291         rtld-%.$o dependency.
89293 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89295         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89296         _dl_map_object do it.
89298 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89300         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89301         fast fma builtins, define the macros in the C99 standard.
89302         (FP_FAST_FMAF): Likewise.
89303         (FP_FAST_FMAL): Likewise.
89304         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89306         * bits/mathdef.h: Update copyright year.
89307         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89309 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89311         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89312         builtins, define the macros in the C99 standard.
89313         (FP_FAST_FMAF): Likewise.
89314         (FP_FAST_FMAL): Likewise.
89315         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89316         multiply/add.
89317         (FP_FAST_FMAF): Likewise.
89319 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89321         [BZ #3268]
89322         * math/libm-test.inc (fma_test): Some new testcases.
89323         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89324         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89325         y and infinite z.  Do multiplication by C already in long double.
89326         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89328         y and infinite z.  Do bitwise or of inexact bit into u.d.
89329         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89330         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89331         * sysdeps/i386/fpu/s_fma.S: Removed.
89332         * sysdeps/i386/fpu/s_fmal.S: Removed.
89334 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89336         [BZ #3268]
89337         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89339         computation is not scheduled after fetestexcept.  Fix value
89340         of minimum denormal long double.
89342 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89344         [BZ #3268]
89345         * math/libm-test.inc (fma_test): Add some more tests.
89346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89347         correctly.
89349 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89351         * scripts/data/localplt-s390-linux-gnu.data: New file.
89352         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89354 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89356         [BZ #3268]
89357         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89358         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89359         instead of dbl-64.
89360         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89361         inlines.
89362         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89364         if one of x and y is very large and the other is subnormal.
89365         * sysdeps/s390/fpu/s_fmaf.c: New file.
89366         * sysdeps/s390/fpu/s_fma.c: New file.
89367         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89368         * sysdeps/powerpc/fpu/s_fma.S: New file.
89369         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89370         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89371         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89373 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89375         [BZ #3268]
89376         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89377         fma tests.
89378         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89379         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89380         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89381         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89382         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89383         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89384         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89386 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89388         [BZ #12078]
89389         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89390         * posix/bug-regex31.input: Add test case.
89392 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89394         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89395         * posix/bug-regex31.input: New file.
89397         [BZ #12078]
89398         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89399         (parse_sub_exp): Fix last change, use postorder.
89401         * posix/bug-regex31.c: New file.
89402         * posix/Makefile: Add rules to build and run bug-regex31.
89404         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89406         [BZ #12078]
89407         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89409         [BZ #12108]
89410         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89411         to have entries in sys_siglist.
89413         [BZ #12093]
89414         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89415         be NULL.
89417 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89419         [BZ #3268]
89420         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89421         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89422         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89423         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89424         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89425         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89426         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89427         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89428         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89429         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89430         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89431         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89432         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89433         * math/ftestexcept.c (fetestexcept): Likewise.
89434         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89435         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89436         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89437         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89438         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89439         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89440         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89442 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89444         [BZ #12107]
89445         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89446         newline.
89448 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89450         * string/bug-strstr1.c: New file.
89451         * string/Makefile: Add rules to build and run bug-strstr1.
89453 2010-10-05  Eric Blake  <eblake@redhat.com>
89455         [BZ #12092]
89456         * string/str-two-way.h (two_way_long_needle): Always clear memory
89457         when skipping input due to the shift table.
89459 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89461         [BZ #12005]
89462         * malloc/mcheck.c: Handle large requests.
89464         [BZ #12077]
89465         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89466         for strncmp and strncasecmp.
89467         * string/stratcliff.c: Add tests for strcmp and strncmp.
89468         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89470 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89472         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89473         __set_fpscr.
89475 2010-09-30  Andreas Jaeger  <aj@suse.de>
89477         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89478         (CGROUP_SUPER_MAGIC): Define.
89479         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89480         Handle btrfs and cgroup file systems.
89481         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89482         Likewise.
89484 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89486         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89487         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89489 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89491         [BZ #12067]
89492         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89493         trying to locate the ELF header.
89495 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89497         [BZ #11611]
89498         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89499         Mask out sign-bit copies when constructing f_fsid.
89501 2010-09-24  Petr Baudis <pasky@suse.cz>
89503         * debug/stack_chk_fail_local.c: Add missing licence exception.
89504         * debug/warning-nop.c: Likewise.
89506 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89508         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89509         implementing getdents64 using getdents syscall, set d_type if
89510         __ASSUME_GETDENTS32_D_TYPE.
89512 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89514         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89515         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89517 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89519         [BZ #12037]
89520         * posix/unistd.h: Undo change of feature selection for ftruncate from
89521         2010-01-11.
89523 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89525         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89526         detection.
89528 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89530         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89531         fanotify_mark.
89532         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89534 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89536         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89537         variables after CHECK_SP call.
89538         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89540 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89541             Ulrich Drepper  <drepper@redhat.com>
89543         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89544         re-relocationg ld.so.
89545         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89546         _dl_init_paths call.
89547         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89548         here anymore.
89550 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89552         * resolv/res_init.c (__res_vinit): Count the default server we added.
89554 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89555             Ulrich Drepper  <drepper@redhat.com>
89557         [BZ #11968]
89558         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89559         (____longjmp_chk): Use %ebx for saving value across system call.
89560         Add unwind info.
89562 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89564         * manual/Makefile: Don't mix pattern rules with normal rules.
89566 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89568         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89569         operation.
89570         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89571         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89572         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89573         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89575         Likewise.
89577 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89579         [BZ #11979]
89580         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89581         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89583 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89585         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89586         * sysdeps/x86_64/addmul_1.S: Likewise.
89587         * sysdeps/x86_64/lshift.S: Likewise.
89588         * sysdeps/x86_64/mul_1.S: Likewise.
89589         * sysdeps/x86_64/rshift.S: Likewise.
89590         * sysdeps/x86_64/sub_n.S: Likewise.
89591         * sysdeps/x86_64/submul_1.S: Likewise.
89593 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89595         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89596         Define __sched_param instead of SCHED_* and sched_param when
89597         <bits/sched.h> is included with __need_schedparam defined.
89598         * bits/sched.h [__need_schedparam]
89599         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89600         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89601         (__defined_schedparam): Define to 1.
89602         (__sched_param): New structure, identical to sched_param.
89603         (__need_schedparam): Undefine.
89605 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89607         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89608         (epoll_create1): Declare.
89610         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89612 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89614         [BZ #7066]
89615         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89616         shifting retval into place.
89618 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89620         * nis/rpcsvc/nis.h: Update copyright notice.
89621         * nis/rpcsvc/nis.x: Likewise.
89622         * nis/rpcsvc/nis_callback.h: Likewise.
89623         * nis/rpcsvc/nis_callback.x: Likewise.
89624         * nis/rpcsvc/nis_object.x: Likewise.
89625         * nis/rpcsvc/nis_tags.h: Likewise.
89626         * nis/rpcsvc/yp.h: Likewise.
89627         * nis/rpcsvc/yp.x: Likewise.
89628         * nis/rpcsvc/ypupd.h: Likewise.
89629         * nis/yp_xdr.c: Likewise.
89630         * nis/ypupdate_xdr.c: Likewise.
89632         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89633         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89634         (pmap_getport): Use __libc_rpc_getport.
89635         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89636         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89637         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89639 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89642         fanotify_mark.
89644 2010-08-27  Roland McGrath  <roland@redhat.com>
89646         * sysdeps/i386/i686/multiarch/Makefile
89647         (CFLAGS-varshift.c): New variable.
89649 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89651         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89652         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89654         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89656         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89658 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89660         * sysdeps/x86_64/strlen.S: Unroll the loop.
89661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89662         strlen-sse2 strlen-sse2-bsf.
89663         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89664         __strlen_no_bsf if bit_Slow_BSF is set.
89665         (__strlen_sse42): Removed.
89666         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89667         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89669 2010-08-25  Roland McGrath  <roland@redhat.com>
89671         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89672         * sysdeps/x86_64/multiarch/varshift.c: New file.
89673         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89674         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89675         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89676         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89678 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89680         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89681         strlen-sse2 strlen-sse2-bsf.
89682         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89683         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89684         (__strlen_sse2): Removed.
89685         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89686         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89688         bit_Slow_BSF for Atom.
89689         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89690         (index_Slow_BSF): Define.
89691         (HAS_SLOW_BSF): Define.
89693 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89695         [BZ #10851]
89696         * resolv/res_init.c (__res_vinit): When no server address at all
89697         is given default to loopback.
89699 2010-08-24  Roland McGrath  <roland@redhat.com>
89701         * configure.in: Remove config-name.h generation.
89702         * configure: Regenerated.
89703         * config-name.in: File removed.
89704         * scripts/config-uname.sh: New file.
89705         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89706         ($(objdir)config-name.h): New target.
89708         * sunrpc/rpc_parse.h: Avoid nested comment.
89710 2010-08-24  Richard Henderson  <rth@redhat.com>
89711             Ulrich Drepper  <drepper@redhat.com>
89712             H.J. Lu  <hongjiu.lu@intel.com>
89714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89716         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89717         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89718         _mm_alignr_epi8 with _mm_loadu_si128.
89719         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89720         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89721         (__m128i_shift_right): Removed.
89722         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89723         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89724         * sysdeps/x86_64/multiarch/varshift.h: New file.
89725         * sysdeps/x86_64/multiarch/varshift.S: New file.
89727 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89729         * configure.in: Move assembler checks to before sysdep dir checking.
89731 2010-08-20  Petr Baudis  <pasky@suse.cz>
89733         * LICENSES: Sync the sunrpc license.
89735 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89737         * sunrpc/auth_des.c: Update copyright notice once again.
89738         * sunrpc/auth_none.c: Likewise.
89739         * sunrpc/auth_unix.c: Likewise.
89740         * sunrpc/authdes_prot.c: Likewise.
89741         * sunrpc/authuxprot.c: Likewise.
89742         * sunrpc/bindrsvprt.c: Likewise.
89743         * sunrpc/clnt_gen.c: Likewise.
89744         * sunrpc/clnt_perr.c: Likewise.
89745         * sunrpc/clnt_raw.c: Likewise.
89746         * sunrpc/clnt_simp.c: Likewise.
89747         * sunrpc/clnt_tcp.c: Likewise.
89748         * sunrpc/clnt_udp.c: Likewise.
89749         * sunrpc/clnt_unix.c: Likewise.
89750         * sunrpc/des_crypt.c: Likewise.
89751         * sunrpc/des_soft.c: Likewise.
89752         * sunrpc/get_myaddr.c: Likewise.
89753         * sunrpc/getrpcport.c: Likewise.
89754         * sunrpc/key_call.c: Likewise.
89755         * sunrpc/key_prot.c: Likewise.
89756         * sunrpc/openchild.c: Likewise.
89757         * sunrpc/pm_getmaps.c: Likewise.
89758         * sunrpc/pm_getport.c: Likewise.
89759         * sunrpc/pmap_clnt.c: Likewise.
89760         * sunrpc/pmap_prot.c: Likewise.
89761         * sunrpc/pmap_prot2.c: Likewise.
89762         * sunrpc/pmap_rmt.c: Likewise.
89763         * sunrpc/rpc/auth.h: Likewise.
89764         * sunrpc/rpc/auth_unix.h: Likewise.
89765         * sunrpc/rpc/clnt.h: Likewise.
89766         * sunrpc/rpc/des_crypt.h: Likewise.
89767         * sunrpc/rpc/key_prot.h: Likewise.
89768         * sunrpc/rpc/netdb.h: Likewise.
89769         * sunrpc/rpc/pmap_clnt.h: Likewise.
89770         * sunrpc/rpc/pmap_prot.h: Likewise.
89771         * sunrpc/rpc/pmap_rmt.h: Likewise.
89772         * sunrpc/rpc/rpc.h: Likewise.
89773         * sunrpc/rpc/rpc_des.h: Likewise.
89774         * sunrpc/rpc/rpc_msg.h: Likewise.
89775         * sunrpc/rpc/svc.h: Likewise.
89776         * sunrpc/rpc/svc_auth.h: Likewise.
89777         * sunrpc/rpc/types.h: Likewise.
89778         * sunrpc/rpc/xdr.h: Likewise.
89779         * sunrpc/rpc_clntout.c: Likewise.
89780         * sunrpc/rpc_cmsg.c: Likewise.
89781         * sunrpc/rpc_common.c: Likewise.
89782         * sunrpc/rpc_cout.c: Likewise.
89783         * sunrpc/rpc_dtable.c: Likewise.
89784         * sunrpc/rpc_hout.c: Likewise.
89785         * sunrpc/rpc_main.c: Likewise.
89786         * sunrpc/rpc_parse.c: Likewise.
89787         * sunrpc/rpc_parse.h: Likewise.
89788         * sunrpc/rpc_prot.c: Likewise.
89789         * sunrpc/rpc_sample.c: Likewise.
89790         * sunrpc/rpc_scan.c: Likewise.
89791         * sunrpc/rpc_scan.h: Likewise.
89792         * sunrpc/rpc_svcout.c: Likewise.
89793         * sunrpc/rpc_tblout.c: Likewise.
89794         * sunrpc/rpc_util.c: Likewise.
89795         * sunrpc/rpc_util.h: Likewise.
89796         * sunrpc/rpcinfo.c: Likewise.
89797         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89798         * sunrpc/rpcsvc/key_prot.x: Likewise.
89799         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89800         * sunrpc/rpcsvc/mount.x: Likewise.
89801         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89802         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89803         * sunrpc/rpcsvc/rex.x: Likewise.
89804         * sunrpc/rpcsvc/rstat.x: Likewise.
89805         * sunrpc/rpcsvc/rusers.x: Likewise.
89806         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89807         * sunrpc/rpcsvc/spray.x: Likewise.
89808         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89809         * sunrpc/rtime.c: Likewise.
89810         * sunrpc/svc.c: Likewise.
89811         * sunrpc/svc_auth.c: Likewise.
89812         * sunrpc/svc_authux.c: Likewise.
89813         * sunrpc/svc_raw.c: Likewise.
89814         * sunrpc/svc_run.c: Likewise.
89815         * sunrpc/svc_simple.c: Likewise.
89816         * sunrpc/svc_tcp.c: Likewise.
89817         * sunrpc/svc_udp.c: Likewise.
89818         * sunrpc/svc_unix.c: Likewise.
89819         * sunrpc/svcauth_des.c: Likewise.
89820         * sunrpc/xcrypt.c: Likewise.
89821         * sunrpc/xdr.c: Likewise.
89822         * sunrpc/xdr_array.c: Likewise.
89823         * sunrpc/xdr_float.c: Likewise.
89824         * sunrpc/xdr_mem.c: Likewise.
89825         * sunrpc/xdr_rec.c: Likewise.
89826         * sunrpc/xdr_ref.c: Likewise.
89827         * sunrpc/xdr_sizeof.c: Likewise.
89828         * sunrpc/xdr_stdio.c: Likewise.
89830         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89831         handling.
89833 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89835         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89837 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89839         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89840         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89841         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89842         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89843         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89844         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89845         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89846         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89847         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89848         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89849         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89850         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89851         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89852         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89854 2010-07-26  Anton Blanchard  <anton@samba.org>
89856         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89857         * malloc/arena.c (heap_trim): Likewise.
89859 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89861         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89862         here.  Not...
89863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89864         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89866 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89868         * sysdeps/i386/elf/Makefile: New file.
89870 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89872         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89873         from fanotify_init.
89874         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89877 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89879         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89880         of strncasecmp_l.
89881         * sysdeps/multiarch/strcmp.S: Likewise.
89883 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89885         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89886         strncase_l-nonascii.
89887         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89888         Add strncase_l-ssse3.
89889         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89890         * sysdeps/x86_64/strcmp.S: Likewise.
89891         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89892         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89893         * sysdeps/x86_64/strncase.S: New file.
89894         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89895         * sysdeps/x86_64/strncase_l.S: New file.
89896         * string/Makefile (strop-tests): Add strncasecmp.
89897         * string/test-strncasecmp.c: New file.
89899         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89900         warning.
89902         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89903         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89905 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89907         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89909 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89911         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89912         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89913         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89915 2010-05-01  Alan Modra  <amodra@gmail.com>
89917         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89918         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89919         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89920         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89921         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89922         tidying.  Don't tail-call __sigjmp_save for static lib.
89923         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89924         save location.
89925         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89926         (CALL_MCOUNT): Add eh info, and nop after bl.
89927         (TAIL_CALL_SYSCALL_ERROR): New macro.
89928         (PSEUDO_RET): Use it.
89929         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89930         Correct save location of integer regs and cr.
89931         (_dl_profile_resolve): Correct cr save location.  Delete nops
89932         after bl when SHARED.  Reduce cfi size a little by better
89933         placement of cfi directives.
89934         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89935         make a stack frame.  Instead use parm save area as a temp.
89936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89937         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89939         Don't make a stack frame for parent, use parm save area.
89940         Increase child stack frame to 112 bytes.  Don't save unused reg,
89941         and adjust reg usage.  Set up cfi on error recovery and
89942         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89944         (__makecontext): Add dummy nop after jump to exit.
89945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89946         Use correct parm save area and cr save, reduce stack frame.
89947         Correct cfi for possible PSEUDO_RET frame setup.
89948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89949         Branch to local label emitted by PSEUDO_RET rather than
89950         __syscall_error.
89952 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89954         [BZ #11904]
89955         * locale/programs/locale.c (print_assignment): New function.
89956         (show_locale_vars): Use it.
89958 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89960         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89961         field.
89962         (struct statfs64): Likewise.
89963         (_STATFS_F_FLAGS): Define.
89964         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89965         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89966         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89967         (ST_VALID): Define locally.
89968         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89969         __statvfs_getflags, use the provided value.
89970         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89971         __ASSUME_STATFS_F_FLAGS.
89973         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89975         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89976         Add sys/fanotify.h.
89977         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89978         fanotify_mask for GLIBC_2.13.
89979         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89980         fanotify_init and fanotify_mark.
89981         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89982         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89984         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89985         Add prlimit.
89986         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89987         prlimit64 for GLIBC_2.13.
89988         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89989         prlimit64.
89990         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89991         syscall.
89992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89993         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89994         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89995         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89996         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89997         add prlimit alias.
89998         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90000         [BZ #11903]
90001         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90002         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90004         * nss/Makefile: Add rules to build and run tst-nss-test1.
90005         * shlib-versions: Add entry for libnss_test1.
90006         * nss/nss_test1.c: New file.
90007         * nss/tst-nss-test1.c: New file.
90009         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90010         (__nss_configure_lookup): Set appropriate entry in
90011         __nss_configure_lookup to true.
90012         * nss/nsswitch.h: Define enum with indeces of databases in
90013         databases and __nss_database_custom arrays.  Declare
90014         __nss_database_custom.
90015         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90016         to avoid using nscd when custom rules are installed.
90017         * nss/getXXbyYY_r.c: Likewise.
90018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90020         * nss/nss_files/files-parse.c: Whitespace fixes.
90022 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90024         [BZ #11883]
90025         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90026         * posix/fnmatch_loop.c: Likewise.
90028 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90030         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90031         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90032         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90033         * Versions.def [GLIBC_2.13]: Add.
90035 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90037         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90038         Also fail if tpwd after pwuid call is NULL.
90040 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90042         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90043         when converting to ms.
90045 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90047         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90048         EOPNOTSUPP errors with ENOTTY.
90049         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90050         EOPNOTSUPP errors with ENOTTY.
90052 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90054         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90055         Add strcasecmp_l-ssse3.
90056         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90057         strcasecmp.
90058         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90059         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90060         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90062 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90064         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90066         * string/Makefile (strop-tests): Add strcasecmp.
90067         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90068         strcasecmp_l-nonascii.
90069         (gen-as-const-headers): Add locale-defines.sym.
90070         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90071         * sysdeps/x86_64/strcasecmp.S: New file.
90072         * sysdeps/x86_64/strcasecmp_l.S: New file.
90073         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90074         * sysdeps/x86_64/locale-defines.sym: New file.
90075         * string/test-strcasecmp.c: New file.
90077         * string/test-strcasestr.c: Test both ends of the range of characters.
90078         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90080 2010-07-29  Roland McGrath  <roland@redhat.com>
90082         [BZ #11856]
90083         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90085 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90087         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90088         for ld.so.
90090 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90092         * manual/memory.texi (Malloc Tunable Parameters): Document
90093         M_PERTURB.
90095 2010-07-26  Roland McGrath  <roland@redhat.com>
90097         [BZ #11840]
90098         * configure.in (-fgnu89-inline check): Set and substitute
90099         gnu89_inline, not libc_cv_gnu89_inline.
90100         * configure: Regenerated.
90101         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90103 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90105         * string/test-strnlen.c: New file.
90106         * string/Makefile (strop-tests): Add strnlen.
90107         * string/tester.c (test_strnlen): Add a few more test cases.
90108         * string/tst-strlen.c: Better error reporting.
90110         * sysdeps/x86_64/strnlen.S: New file.
90112 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90114         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90115         lower-latency instructions.
90117 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90119         * string/test-strcasestr.c: New file.
90120         * string/test-strstr.c: New file.
90121         * string/Makefile (strop-tests): Add strstr and strcasestr.
90122         * string/str-two-way.h: Don't undefine MAX.
90123         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90125 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90128         strcasestr-nonascii.
90129         (CFLAGS-strcasestr-nonascii.c): Define.
90130         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90131         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90132         Remove unused attribute.
90134 2010-07-20  Roland McGrath  <roland@redhat.com>
90136         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90137         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90138         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90139         like LD_HWCAP_MASK can disable hwcaps.
90141 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90143         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90145 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90147         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90148         call in strcasestr.
90149         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90150         __strcasestr_sse42_nonascii.
90151         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90152         strcasestr-nonascii.c.
90153         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90155 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90157         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90158         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90159         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90160         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90162 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90164         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90165         fcntl.
90167 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90169         [BZ #11577]
90170         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90171         dl_signal_cerror.
90173 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90175         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90176         _PC_PIPE_BUF using F_GETPIPE_SZ.
90178 2010-07-05  Roland McGrath  <roland@redhat.com>
90180         * manual/arith.texi (Rounding Functions): Fix rint description
90181         implicit in round description.
90183 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90185         * elf/Makefile: Fix linking for a few tests to make recent linker
90186         happy.
90188 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90190         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90191         $(common-objpfx)libc_nonshared.a.
90193 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90195         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90196         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90197         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90198         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90199         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90200         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90201         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90202         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90217         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90218         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90219         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90220         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90221         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90222         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90223         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90224         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90225         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90226         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90227         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90228         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90244 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90246         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90247         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90248         * string/memmove.c (memmove): Renamed to ...
90249         (MEMMOVE): ...this.  Default to memmove.
90250         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90251         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90252         (END_CHK): Define.
90253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90254         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90255         mempcpy-ssse3-back memmove-ssse3-back.
90256         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90257         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90258         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90259         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90260         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90261         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90262         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90263         * sysdeps/x86_64/multiarch/memmove.c: New file.
90264         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90265         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90266         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90267         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90268         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90269         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90270         Define.
90271         (index_Fast_Copy_Backward): Define.
90272         (HAS_ARCH_FEATURE): Define.
90273         (HAS_FAST_REP_STRING): Define.
90274         (HAS_FAST_COPY_BACKWARD): Define.
90276 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90278         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90279         Restore proper fallback handling.
90281 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90283         [BZ #11701]
90284         * posix/group_member.c (__group_member): Correct checking loop.
90286         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90287         OOM in getpwuid_r correctly.  Return error number when the caller
90288         should return, otherwise -1.
90289         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90290         call returning > 0 value.
90291         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90293 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90295         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90296         libc_nonshared.a from targets in modules-names.
90298 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90300         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90301         requires it.
90303 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90305         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90306         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90307         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90308         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90310 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90312         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90314 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90316         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90317         and F_GETPIPE_SZ.
90318         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90319         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90322         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90323         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90325 2010-06-14  Roland McGrath  <roland@redhat.com>
90327         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90329 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90331         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90332         __REDIRECT followed by __THROW.
90333         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90334         * posix/getopt.h (getopt): Likewise.
90336 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90338         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90339         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90340         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90341         in AT_FLAGS.
90342         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90343         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90345 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90347         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90349 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90351         [BZ #11640]
90352         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90353         Properly check family and model.
90355 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90357         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90359 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90361         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90363 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90365         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90366         symbol reference.
90368 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90370         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90371         symbol reference.
90373 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90375         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90376         and internal_recvmmsg.
90377         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90378         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90379         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90380         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90382         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90383         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90384         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90386 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90388         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90390 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90392         POWER7 optimizations.
90393         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90394         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90396 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90398         * version.h: Update for 2.13 development version.
90400 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90402         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90403         exceptions.  Return 0.
90405 2010-05-07  Roland McGrath  <roland@redhat.com>
90407         * elf/ldconfig.c (main): Add a const.
90409 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90411         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90412         (args_options): Add no-idn option.
90413         (ahosts_keys_int): Add idn_flags to ai_flags.
90414         (parse_option): Handle 'i' option to clear idn_flags.
90416         * malloc/malloc.c (_int_free): Possible race in the most recently
90417         added check.  Only act on the data if no current modification
90418         happened.
90420 See ChangeLog.17 for earlier changes.